/* ============================================================
   NEPALI DATEPICKER — SHOWCASE SITE DESIGN SYSTEM
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&family=JetBrains+Mono:wght@400;500&display=swap');

/* ── Tokens ───────────────────────────────────────────────── */
:root {
  --bg-primary: #06080f;
  --bg-secondary: #0d1117;
  --bg-card: rgba(17, 24, 39, 0.65);
  --bg-card-hover: rgba(25, 33, 52, 0.8);
  --bg-code: #0d1117;
  --bg-nav: rgba(6, 8, 15, 0.85);

  --border-subtle: rgba(148, 163, 184, 0.08);
  --border-card: rgba(148, 163, 184, 0.1);
  --border-glow: rgba(99, 102, 241, 0.25);

  --text-primary: #f1f5f9;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --text-code: #e2e8f0;

  --accent-blue: #6366f1;
  --accent-purple: #8b5cf6;
  --accent-pink: #ec4899;
  --accent-cyan: #06b6d4;
  --accent-green: #10b981;

  --gradient-brand: linear-gradient(135deg, #6366f1, #8b5cf6, #ec4899);
  --gradient-hero: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #ec4899 100%);
  --gradient-subtle: linear-gradient(135deg, rgba(99, 102, 241, 0.12), rgba(139, 92, 246, 0.08));
  --gradient-card: linear-gradient(135deg, rgba(99, 102, 241, 0.06), rgba(236, 72, 153, 0.04));

  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 40px rgba(99, 102, 241, 0.15);

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);

  --nav-height: 64px;
  --max-width: 1200px;
}

/* ── Reset / Base ─────────────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-sans);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.7;
  overflow-x: hidden;
}

a {
  color: var(--accent-blue);
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: var(--accent-purple);
}

img {
  max-width: 100%;
  display: block;
}

/* ── Background Ambience ──────────────────────────────────── */
.bg-grid {
  position: fixed;
  inset: 0;
  z-index: -2;
  background-image:
    linear-gradient(rgba(148, 163, 184, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, 0.03) 1px, transparent 1px);
  background-size: 64px 64px;
}

.bg-glow {
  position: fixed;
  z-index: -1;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.15;
  pointer-events: none;
}

.bg-glow--1 {
  top: -200px;
  left: -100px;
  background: var(--accent-blue);
}

.bg-glow--2 {
  top: 40%;
  right: -200px;
  background: var(--accent-purple);
  opacity: 0.1;
}

.bg-glow--3 {
  bottom: -100px;
  left: 30%;
  background: var(--accent-pink);
  opacity: 0.08;
}

/* ── Navigation ───────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  background: var(--bg-nav);
  backdrop-filter: blur(20px) saturate(1.8);
  -webkit-backdrop-filter: blur(20px) saturate(1.8);
  border-bottom: 1px solid var(--border-subtle);
  transition: box-shadow 0.3s;
}

.nav.scrolled {
  box-shadow: 0 1px 24px rgba(0, 0, 0, 0.4);
}

.nav__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 18px;
  color: var(--text-primary);
  white-space: nowrap;
}

.nav__logo-icon {
  width: 32px;
  height: 32px;
  background: var(--gradient-brand);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
}

.nav__link {
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  transition: all 0.2s;
}

.nav__link:hover {
  color: var(--text-primary);
  background: rgba(148, 163, 184, 0.08);
}

.nav__link.active {
  color: var(--text-primary);
  background: rgba(99, 102, 241, 0.12);
}

.nav__cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 16px;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 600;
  background: var(--gradient-brand);
  color: white;
  transition: opacity 0.2s, transform 0.2s;
}

.nav__cta:hover {
  opacity: 0.9;
  transform: translateY(-1px);
  color: white;
}

.nav__cta svg {
  width: 16px;
  height: 16px;
}

.nav__hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--text-primary);
}

.nav__hamburger svg {
  width: 24px;
  height: 24px;
}

.nav__menu {
  display: flex;
  gap: 1rem;
}

@media (max-width: 768px) {
  .nav__hamburger {
    display: block;
  }

  .nav__menu {
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border-subtle);
    padding: 16px 24px;
    display: none;
    flex-direction: column;
    gap: 8px;
  }

  .nav__menu.open {
    display: flex;
  }

  .nav__links {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }

  .nav__link {
    padding: 10px 14px;
  }

  .nav__cta {
    justify-content: center;
    margin-top: 8px;
  }
}

/* ── Layout ───────────────────────────────────────────────── */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.main {
  padding-top: var(--nav-height);
}

section {
  padding: 80px 0;
}

@media (max-width: 768px) {
  section {
    padding: 48px 0;
  }
}

/* ── Hero ─────────────────────────────────────────────────── */
.hero {
  min-height: calc(100vh - var(--nav-height));
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 0 60px;
  position: relative;
}

.hero__content {
  max-width: 800px;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  background: rgba(99, 102, 241, 0.1);
  border: 1px solid rgba(99, 102, 241, 0.2);
  font-size: 13px;
  font-weight: 500;
  color: var(--accent-blue);
  margin-bottom: 24px;
}

.hero__badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-green);
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.4;
  }
}

.hero__title {
  font-size: clamp(40px, 7vw, 72px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

.hero__title-gradient {
  background: var(--gradient-hero);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__subtitle {
  font-size: clamp(16px, 2.5vw, 20px);
  color: var(--text-secondary);
  max-width: 580px;
  margin: 0 auto 36px;
  line-height: 1.6;
}

.hero__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.hero__install {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px;
  background: var(--bg-code);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--text-secondary);
  cursor: pointer;
  transition: border-color 0.2s;
}

.hero__install:hover {
  border-color: var(--border-glow);
}

.hero__install code {
  color: var(--text-primary);
}

.hero__install-copy {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 4px;
  transition: color 0.2s;
}

.hero__install-copy:hover {
  color: var(--text-primary);
}

.hero__install-copy svg {
  width: 16px;
  height: 16px;
}

/* ── Buttons ──────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-md);
  font-size: 15px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all 0.25s var(--ease-out);
  text-decoration: none;
}

.btn--primary {
  background: var(--gradient-brand);
  color: white;
  box-shadow: 0 4px 16px rgba(99, 102, 241, 0.3);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(99, 102, 241, 0.4);
  color: white;
}

.btn--ghost {
  background: rgba(148, 163, 184, 0.06);
  color: var(--text-primary);
  border: 1px solid var(--border-card);
}

.btn--ghost:hover {
  background: rgba(148, 163, 184, 0.12);
  border-color: var(--border-glow);
  color: var(--text-primary);
}

.btn svg {
  width: 18px;
  height: 18px;
}

/* ── Section Headers ──────────────────────────────────────── */
.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 56px;
}

.section-label {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-blue);
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.section-desc {
  font-size: 17px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ── Feature Cards ────────────────────────────────────────── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

@media (max-width: 900px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .features-grid {
    grid-template-columns: 1fr;
  }
}

.feature-card {
  position: relative;
  padding: 28px;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(12px);
  transition: all 0.3s var(--ease-out);
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-card);
  opacity: 0;
  transition: opacity 0.3s;
}

.feature-card:hover {
  border-color: var(--border-glow);
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow);
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-card__icon {
  position: relative;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 18px;
  background: var(--gradient-subtle);
  border: 1px solid var(--border-subtle);
}

.feature-card__title {
  position: relative;
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 8px;
}

.feature-card__desc {
  position: relative;
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* ── Glass Card ───────────────────────────────────────────── */
.glass-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(12px);
  overflow: hidden;
}

/* ── Demo Sections ────────────────────────────────────────── */
.demo-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: start;
  margin-bottom: 48px;
}

.demo-row--reverse {
  direction: rtl;
}

.demo-row--reverse>* {
  direction: ltr;
}

@media (max-width: 900px) {
  .demo-row {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .demo-row--reverse {
    direction: ltr;
  }
}

.demo-panel {
  padding: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 320px;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
}

.demo-info {
  padding: 8px 0;
}

.demo-info__label {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent-blue);
  margin-bottom: 10px;
}

.demo-info__title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 12px;
}

.demo-info__desc {
  font-size: 15px;
  color: var(--text-secondary);
  margin-bottom: 20px;
  line-height: 1.65;
}

/* ── Code Blocks ──────────────────────────────────────────── */
.code-block {
  position: relative;
  background: var(--bg-code);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.code-block__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  background: rgba(148, 163, 184, 0.04);
  border-bottom: 1px solid var(--border-subtle);
}

.code-block__lang {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
}

.code-block__dots {
  display: flex;
  gap: 6px;
}

.code-block__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(148, 163, 184, 0.15);
}

.code-block__dot:nth-child(1) {
  background: #ff5f57;
}

.code-block__dot:nth-child(2) {
  background: #febc2e;
}

.code-block__dot:nth-child(3) {
  background: #28c840;
}

.code-block__copy {
  position: absolute;
  top: 8px;
  right: 8px;
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  background: rgba(148, 163, 184, 0.08);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  font-size: 12px;
  cursor: pointer;
  opacity: 0;
  transition: all 0.2s;
}

.code-block:hover .code-block__copy {
  opacity: 1;
}

.code-block__copy:hover {
  background: rgba(148, 163, 184, 0.15);
  color: var(--text-primary);
}

.code-block pre {
  padding: 16px 20px;
  overflow-x: auto;
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 1.7;
  color: var(--text-code);
  tab-size: 2;
}

.code-block code {
  font-family: inherit;
}

/* Syntax coloring tokens */
.tok-keyword {
  color: #c084fc;
}

.tok-string {
  color: #86efac;
}

.tok-function {
  color: #93c5fd;
}

.tok-comment {
  color: #64748b;
  font-style: italic;
}

.tok-number {
  color: #fbbf24;
}

.tok-operator {
  color: #94a3b8;
}

.tok-class {
  color: #fbbf24;
}

.tok-property {
  color: #7dd3fc;
}

.tok-tag {
  color: #f472b6;
}

.tok-punctuation {
  color: #94a3b8;
}

/* ── Example Cards ────────────────────────────────────────── */
.example-section {
  margin-bottom: 64px;
}

.example-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  /* overflow: hidden; -- Removed to allow datepicker panel to overflow */
  position: relative;
}

/* Ensure the demo container doesn't clip the picker */
.example-card__demo {
  overflow: visible;
}

/* Make sure the library's panel is above our cards */
.ndp-panel {
  z-index: 100 !important;
}

@media (max-width: 900px) {
  .example-card {
    grid-template-columns: 1fr;
  }
}

.example-card__code {
  border-right: 1px solid var(--border-subtle);
  overflow: hidden;
}

@media (max-width: 900px) {
  .example-card__code {
    border-right: none;
    border-bottom: 1px solid var(--border-subtle);
  }
}

.example-card__code .code-block {
  border: none;
  border-radius: 0;
  height: 100%;
}

.example-card__demo {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px;
  min-height: 300px;
}

.example-card__demo--column {
  flex-direction: column;
  gap: 16px;
  align-items: stretch;
}

.example-header {
  margin-bottom: 20px;
}

.example-header__num {
  font-size: 13px;
  font-weight: 600;
  color: var(--accent-blue);
  margin-bottom: 4px;
}

.example-header__title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 8px;
}

.example-header__desc {
  font-size: 15px;
  color: var(--text-secondary);
}

/* ── API Docs ─────────────────────────────────────────────── */
.docs-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 48px;
  align-items: start;
}

@media (max-width: 900px) {
  .docs-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

.docs-sidebar {
  position: sticky;
  top: calc(var(--nav-height) + 24px);
}

.docs-sidebar__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.docs-sidebar__link {
  display: block;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  color: var(--text-secondary);
  transition: all 0.15s;
}

.docs-sidebar__link:hover {
  color: var(--text-primary);
  background: rgba(148, 163, 184, 0.06);
}

.docs-sidebar__link.active {
  color: var(--accent-blue);
  background: rgba(99, 102, 241, 0.08);
  font-weight: 500;
}

.docs-content {
  min-width: 0;
}

.docs-section {
  margin-bottom: 56px;
  scroll-margin-top: calc(var(--nav-height) + 24px);
}

.docs-section__title {
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 8px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-subtle);
}

.docs-section__desc {
  font-size: 15px;
  color: var(--text-secondary);
  margin-bottom: 24px;
  line-height: 1.7;
}

.docs-method {
  margin-bottom: 28px;
  padding: 20px 24px;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
}

.docs-method__sig {
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--accent-cyan);
  margin-bottom: 6px;
  word-break: break-all;
}

.docs-method__desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.65;
}

.docs-method__returns {
  margin-top: 6px;
  font-size: 13px;
  color: var(--text-muted);
}

.docs-method__returns code {
  font-family: var(--font-mono);
  color: var(--accent-green);
  font-size: 12px;
}

table.docs-table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0;
  font-size: 14px;
}

table.docs-table th {
  text-align: left;
  padding: 10px 16px;
  background: rgba(148, 163, 184, 0.04);
  border-bottom: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  font-weight: 600;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

table.docs-table td {
  padding: 10px 16px;
  border-bottom: 1px solid var(--border-subtle);
  color: var(--text-secondary);
}

table.docs-table td code {
  font-family: var(--font-mono);
  font-size: 13px;
  padding: 2px 6px;
  border-radius: 4px;
  background: rgba(99, 102, 241, 0.08);
  color: var(--accent-cyan);
}

table.docs-table tr:last-child td {
  border-bottom: none;
}

/* ── Inline Code ──────────────────────────────────────────── */
:not(pre)>code {
  font-family: var(--font-mono);
  font-size: 0.875em;
  padding: 2px 7px;
  border-radius: 4px;
  background: rgba(99, 102, 241, 0.08);
  color: var(--accent-cyan);
}

/* ── Live Demo Overrides ──────────────────────────────────── */
.live-demo-wrapper {
  position: relative;
}

/* Ensure datepicker panel renders within demo panels */
.live-demo-wrapper .ndp-container {
  font-family: 'Roboto', var(--font-sans);
}

.live-demo-wrapper .ndp-panel {
  position: relative;
  box-shadow: var(--shadow-lg);
}

.live-demo-wrapper .ndp-input {
  background: var(--bg-secondary);
  border-color: var(--border-card);
  color: var(--text-primary);
  font-family: var(--font-mono);
  font-size: 14px;
  padding: 10px 14px;
  width: 260px;
}

/* ── Toggle Switch ────────────────────────────────────────── */
.locale-toggle {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.locale-toggle__label {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
}

.locale-toggle__label.active {
  color: var(--accent-blue);
}

.locale-toggle__switch {
  position: relative;
  width: 44px;
  height: 24px;
  background: rgba(148, 163, 184, 0.2);
  border-radius: var(--radius-full);
  cursor: pointer;
  border: none;
  transition: background 0.2s;
}

.locale-toggle__switch::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: white;
  transition: transform 0.2s var(--ease-spring);
}

.locale-toggle__switch.on {
  background: var(--accent-blue);
}

.locale-toggle__switch.on::after {
  transform: translateX(20px);
}

/* ── Converter Widget ─────────────────────────────────────── */
.converter-widget {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
  max-width: 360px;
}

.converter-widget__field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.converter-widget__label {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
}

.converter-widget__input {
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-card);
  background: var(--bg-secondary);
  color: var(--text-primary);
  font-family: var(--font-mono);
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s;
}

.converter-widget__input:focus {
  border-color: var(--accent-blue);
}

.converter-widget__arrow {
  text-align: center;
  font-size: 18px;
  color: var(--text-muted);
}

.converter-widget__result {
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  background: rgba(99, 102, 241, 0.06);
  border: 1px solid rgba(99, 102, 241, 0.12);
  font-family: var(--font-mono);
  font-size: 15px;
  color: var(--accent-cyan);
  text-align: center;
}

/* ── API Output ───────────────────────────────────────────── */
.api-output {
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  background: var(--bg-secondary);
  border: 1px solid var(--border-card);
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text-code);
  white-space: pre-wrap;
  line-height: 1.7;
}

/* ── Footer ───────────────────────────────────────────────── */
.footer {
  padding: 48px 0;
  border-top: 1px solid var(--border-subtle);
  text-align: center;
}

.footer__links {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-bottom: 16px;
}

.footer__link {
  font-size: 14px;
  color: var(--text-secondary);
  transition: color 0.2s;
}

.footer__link:hover {
  color: var(--text-primary);
}

.footer__copy {
  font-size: 13px;
  color: var(--text-muted);
}

/* ── Scroll Animations ────────────────────────────────────── */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-delay-1 {
  transition-delay: 0.1s;
}

.fade-in-delay-2 {
  transition-delay: 0.2s;
}

.fade-in-delay-3 {
  transition-delay: 0.3s;
}

.fade-in-delay-4 {
  transition-delay: 0.4s;
}

.fade-in-delay-5 {
  transition-delay: 0.5s;
}

/* ── Scrollbar ────────────────────────────────────────────── */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: rgba(148, 163, 184, 0.2);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(148, 163, 184, 0.3);
}

/* ── Misc ─────────────────────────────────────────────────── */
.text-gradient {
  background: var(--gradient-hero);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.mb-0 {
  margin-bottom: 0 !important;
}

/* ── Tab System ───────────────────────────────────────────── */
.tabs {
  display: flex;
  gap: 4px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 0;
}

.tab-btn {
  padding: 10px 18px;
  border: none;
  background: none;
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: all 0.2s;
}

.tab-btn:hover {
  color: var(--text-primary);
}

.tab-btn.active {
  color: var(--accent-blue);
  border-bottom-color: var(--accent-blue);
}

.tab-panel {
  display: none;
}

.tab-panel.active {
  display: block;
}