/* ==========================================================================
   R.K. Typing Tutor — Promo & Lead Generation Site
   Brand: Jhunjhunu Steno And Typing Classes
   ========================================================================== */

:root {
  /* Brand colours pulled from the Deep Design System */
  --bg: #FFFFFF;
  --bg-alt: #F5F7FA;
  --bg-soft: #F5F7FA;
  --surface: #FFFFFF;
  --surface-2: #F5F7FA;
  --border: #d8e1ec;
  --text: #1A1A2E;
  --text-muted: #566b85;
  --text-invert: #ffffff;

  --accent-primary: #1A3A6B;
  --accent-secondary: #FF6B00;
  --success: #22C55E;
  --error: #EF4444;
  --warning: #F59E0B;

  --accent: var(--accent-secondary);
  --accent-ink: #ffffff;

  /* Retaining some old variable names mapped to new colors to avoid breaking everything */
  --navy-900: var(--accent-primary);
  --navy-800: var(--accent-primary);
  --navy-700: var(--accent-primary);
  --navy-600: var(--accent-primary);
  --orange-500: var(--accent-secondary);
  --orange-600: var(--accent-secondary);
  --green-500: var(--success);

  --shadow-sm: 0 1px 2px rgba(16, 34, 60, .06), 0 2px 8px rgba(16, 34, 60, .05);
  --shadow-md: 0 8px 28px rgba(16, 34, 60, .10);
  --shadow-lg: 0 24px 64px rgba(10, 24, 51, .18);
  --radius: 14px;
  --radius-sm: 9px;
  --maxw: 1180px;
  --header-h: 64px;
}

html[data-theme="dark"] {
  --bg: #0A0A0A;
  --bg-alt: #111111;
  --bg-soft: #111111;
  --surface: #111111;
  --surface-2: #1a1a1a;
  --border: #26364f;
  --text: #E8E8E8;
  --text-muted: #9db0cd;

  --accent-primary: #3B82F6;
  --accent-secondary: #FF8C3A;

  --accent: var(--accent-secondary);

  --shadow-sm: 0 1px 2px rgba(0, 0, 0, .4);
  --shadow-md: 0 8px 28px rgba(0, 0, 0, .45);
  --shadow-lg: 0 24px 64px rgba(0, 0, 0, .6);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 14px); }

@font-face {
  font-family: 'KrutiDev010';
  src: url('../public/KrutiDev010.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.hindi-text {
  font-family: 'KrutiDev010', 'Noto Sans Devanagari', Mangal, serif;
}

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

h1, h2, h3, h4 { line-height: 1.22; margin: 0 0 .5rem; font-weight: 800; letter-spacing: -.02em; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }

.section { padding: 72px 0; }
.section--soft { background: var(--bg-soft); }
.section--alt { background: var(--bg-alt); }

.section-head { text-align: center; max-width: 720px; margin: 0 auto 40px; }
.section-title { font-size: clamp(1.55rem, 3.4vw, 2.25rem); margin-bottom: .5rem; }
.section-title::after {
  content: "";
  display: block;
  width: 62px; height: 4px;
  margin: 14px auto 0;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--orange-500), var(--navy-700));
}
.section-sub { color: var(--text-muted); font-size: 1.02rem; margin: 0; }

.eyebrow {
  display: inline-block;
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--orange-600);
  background: rgba(255, 122, 24, .12);
  border: 1px solid rgba(255, 122, 24, .32);
  border-radius: 999px;
  padding: 5px 14px;
  margin-bottom: 14px;
}

/* ── Skip link ─────────────────────────────────────────────────────────── */
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--navy-700); color: #fff; padding: 10px 16px; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* ── Header ────────────────────────────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 90;
  height: var(--header-h);
  background: var(--navy-700);
  color: #fff;
  box-shadow: 0 2px 14px rgba(10, 24, 51, .25);
}
html[data-theme="dark"] .site-header { background: #0d1728; border-bottom: 1px solid var(--border); }

.header-inner { display: flex; align-items: center; gap: 16px; height: 100%; }

.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; flex-shrink: 0; }
.brand img { width: 34px; height: 34px; border-radius: 8px; background: #fff; padding: 2px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name { font-weight: 800; font-size: .98rem; letter-spacing: -.01em; }
.brand-sub { font-size: .66rem; color: rgba(255, 255, 255, .62); text-transform: uppercase; letter-spacing: .08em; }

.nav { margin-left: auto; display: flex; align-items: center; gap: 2px; }
.nav a {
  color: rgba(255, 255, 255, .84);
  text-decoration: none;
  font-size: .875rem;
  font-weight: 500;
  padding: 8px 11px;
  border-radius: 8px;
  transition: background .16s, color .16s;
  white-space: nowrap;
}
.nav a:hover { background: rgba(255, 255, 255, .12); color: #fff; }

.header-actions { display: flex; align-items: center; gap: 8px; margin-left: 12px; }

.theme-btn {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .26);
  background: rgba(255, 255, 255, .1);
  color: #fff;
  display: grid; place-items: center;
  cursor: pointer;
  transition: transform .16s, background .16s;
}
.theme-btn:hover { background: rgba(255, 255, 255, .2); transform: scale(1.06); }
.theme-btn svg { width: 17px; height: 17px; }

.menu-btn {
  display: none;
  width: 38px; height: 36px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, .26);
  background: rgba(255, 255, 255, .1);
  color: #fff;
  cursor: pointer;
}

/* ── Buttons ───────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: inherit;
  font-size: .94rem;
  font-weight: 700;
  padding: 13px 26px;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform .16s, box-shadow .16s, background .16s, color .16s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }

.btn--primary {
  background: linear-gradient(135deg, var(--orange-500), var(--orange-600));
  color: #fff;
  box-shadow: 0 8px 22px rgba(255, 122, 24, .34);
}
.btn--primary:hover { box-shadow: 0 12px 30px rgba(255, 122, 24, .46); }

.btn--nav { padding: 9px 19px; font-size: .84rem; }

.btn--ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}
.btn--ghost:hover { border-color: var(--orange-500); color: var(--orange-600); }

.btn--dark { background: var(--navy-700); color: #fff; }
.btn--dark:hover { background: var(--navy-600); }

.btn--green { background: linear-gradient(135deg, #1db954, #128c3c); color: #fff; box-shadow: 0 8px 22px rgba(22, 163, 74, .3); }

.btn--block { width: 100%; }
.btn--sm { padding: 10px 18px; font-size: .84rem; }

.btn[disabled], .btn.is-disabled { opacity: .55; cursor: not-allowed; transform: none !important; }

/* ── Hero ──────────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  padding: 78px 0 66px;
  background:
    repeating-linear-gradient(135deg,transparent,transparent 40px,rgba(255,255,255,.02) 40px,rgba(255,255,255,.02) 80px), linear-gradient(160deg, var(--navy-700) 0%, var(--navy-800) 58%, var(--navy-900) 100%);
  color: #fff;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute; inset: auto -10% -55% 40%;
  height: 420px;
  background: radial-gradient(circle, rgba(255, 122, 24, .22), transparent 66%);
  pointer-events: none;
}
.hero-grid {
  position: relative; z-index: 2;
  display: grid;
  grid-template-columns: 1.06fr .94fr;
  gap: 48px;
  align-items: center;
}
.hero-logo {
  width: 78px; height: 78px;
  border-radius: 20px;
  background: #fff;
  padding: 8px;
  box-shadow: var(--shadow-lg);
  margin-bottom: 18px;
}
.hero h1 {
  font-size: clamp(2rem, 4.6vw, 3.15rem);
  margin-bottom: 10px;
}
.hero h1 .accent {
  background: linear-gradient(120deg, #ffb347, var(--orange-500));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-hindi {
  display: block;
  font-size: clamp(.95rem, 2vw, 1.18rem);
  font-weight: 600;
  color: #ffc078;
  margin-top: 8px;
  letter-spacing: 0;
}
.hero-lead {
  font-size: 1.03rem;
  color: rgba(255, 255, 255, .8);
  max-width: 560px;
  margin: 0 0 26px;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 26px; }

.hero-stats {
  display: flex; flex-wrap: wrap; gap: 10px 26px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, .14);
}
.hero-stat strong { display: block; font-size: 1.4rem; color: #fff; line-height: 1.2; }
.hero-stat span { font-size: .78rem; color: rgba(255, 255, 255, .6); text-transform: uppercase; letter-spacing: .06em; }

.hero-shot {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, .14);
  background: #0d1728;
  transform: perspective(1200px) rotateY(-7deg) rotateX(2deg);
  transition: transform .4s ease;
}
.hero-shot:hover { transform: perspective(1200px) rotateY(-2deg) rotateX(0); }
.hero-shot-bar {
  display: flex; align-items: center; gap: 6px;
  padding: 9px 12px;
  background: #1b2942;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.hero-shot-bar i { width: 9px; height: 9px; border-radius: 50%; background: #43506b; }
.hero-shot-bar i:first-child { background: #ff5f57; }
.hero-shot-bar i:nth-child(2) { background: #ffbd2e; }
.hero-shot-bar i:nth-child(3) { background: #28c840; }
.hero-shot-bar span { margin-left: 8px; font-size: .72rem; color: rgba(255, 255, 255, .5); }

/* ── OS availability badges ────────────────────────────────────────────── */
.os-strip { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.os-pill {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: .78rem; font-weight: 700;
  padding: 6px 13px;
  border-radius: 999px;
  border: 1px solid;
}
.os-pill--live { background: rgba(22, 163, 74, .16); border-color: rgba(34, 197, 94, .45); color: #6ee7a0; }
.os-pill--soon { background: rgba(255, 255, 255, .07); border-color: rgba(255, 255, 255, .2); color: rgba(255, 255, 255, .68); }

/* ── Download cards ───────────────────────────────────────────────────── */
.dl-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 22px; }

.dl-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 26px;
  box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column;
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.dl-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.dl-card--live { border-color: rgba(22, 163, 74, .45); border-top: 4px solid var(--green-500); }
.dl-card--soon { border-top: 4px solid var(--text-muted); }

.dl-tag {
  position: absolute; top: 14px; right: 14px;
  font-size: .66rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase;
  padding: 4px 10px; border-radius: 999px;
}
.dl-tag--live { background: var(--green-500); color: #fff; }
.dl-tag--soon { background: var(--surface-2); color: var(--text-muted); border: 1px solid var(--border); }

.dl-os-icon { width: 44px; height: 44px; color: var(--navy-700); margin-bottom: 14px; }
html[data-theme="dark"] .dl-os-icon { color: #7fa5e0; }

.dl-card h3 { font-size: 1.18rem; margin-bottom: 4px; }
.dl-card .dl-meta { font-size: .84rem; color: var(--text-muted); margin: 0 0 16px; }

.dl-list { list-style: none; padding: 0; margin: 0 0 20px; font-size: .875rem; color: var(--text-muted); }
.dl-list li { display: flex; gap: 8px; padding: 4px 0; }
.dl-list li::before { content: "✓"; color: var(--green-500); font-weight: 800; flex-shrink: 0; }

.dl-actions { margin-top: auto; display: grid; gap: 10px; }

.dl-version {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: .78rem; font-weight: 700;
  color: var(--text-muted);
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 5px 13px;
  margin-bottom: 14px;
}
.dl-version .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green-500); animation: pulse 1.8s infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }

.dl-note {
  margin-top: 26px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 4px solid var(--orange-500);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  font-size: .88rem;
  color: var(--text-muted);
}
.dl-note strong { color: var(--text); }

/* ── Feature grid ─────────────────────────────────────────────────────── */
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(238px, 1fr)); gap: 20px; }
.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-top: 3px solid var(--orange-500);
  border-radius: var(--radius-sm);
  padding: 24px 22px;
  box-shadow: var(--shadow-sm);
  transition: transform .2s, box-shadow .2s;
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.feature-icon { width: 34px; height: 34px; color: var(--orange-600); margin-bottom: 12px; }
.feature-card h3 { font-size: 1.02rem; margin-bottom: 6px; }
.feature-card p { margin: 0; font-size: .875rem; color: var(--text-muted); }

/* ── Exam info cards ──────────────────────────────────────────────────── */
.info-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(258px, 1fr)); gap: 20px; }
.info-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 26px 24px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}
.info-card .info-icon {
  width: 52px; height: 52px;
  margin: 0 auto 14px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(255, 122, 24, .16), rgba(26, 58, 107, .14));
  display: grid; place-items: center;
  color: var(--navy-700);
}
html[data-theme="dark"] .info-card .info-icon { color: #ffb066; }
.info-card .info-icon svg { width: 26px; height: 26px; }
.info-card h3 { font-size: 1.05rem; }
.info-card p { margin: 0; font-size: .875rem; color: var(--text-muted); }

/* ── Screenshot gallery ───────────────────────────────────────────────── */
.shot-filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 28px; }
.chip {
  font-family: inherit; font-size: .82rem; font-weight: 600;
  padding: 8px 17px; border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text-muted);
  cursor: pointer;
  transition: all .16s;
}
.chip:hover { border-color: var(--orange-500); color: var(--orange-600); }
.chip.is-active { background: var(--navy-700); border-color: var(--navy-700); color: #fff; }

.shot-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 22px; }

.shot-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  cursor: zoom-in;
  transition: transform .2s, box-shadow .2s;
}
.shot-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.shot-card.is-hidden { display: none; }
.shot-frame { position: relative; background: var(--navy-900); aspect-ratio: 16 / 9; overflow: hidden; }
.shot-frame img { width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform .5s; }
.shot-card:hover .shot-frame img { transform: scale(1.045); }
.shot-zoom {
  position: absolute; bottom: 10px; right: 10px;
  width: 34px; height: 34px; border-radius: 50%;
  background: rgba(10, 24, 51, .8);
  color: #fff; display: grid; place-items: center;
  opacity: 0; transition: opacity .2s;
}
.shot-card:hover .shot-zoom { opacity: 1; }
.shot-body { padding: 16px 18px 18px; }
.shot-badge {
  display: inline-block; font-size: .66rem; font-weight: 800;
  letter-spacing: .08em; text-transform: uppercase;
  color: var(--orange-600); background: rgba(255, 122, 24, .12);
  border-radius: 999px; padding: 3px 10px; margin-bottom: 8px;
}
.shot-body h3 { font-size: 1rem; margin-bottom: 5px; }
.shot-body p { margin: 0; font-size: .845rem; color: var(--text-muted); }

/* ── Lightbox ─────────────────────────────────────────────────────────── */
.lightbox {
  position: fixed; inset: 0; z-index: 300;
  background: rgba(6, 14, 28, .93);
  display: none;
  align-items: center; justify-content: center;
  padding: 24px;
}
.lightbox.is-open { display: flex; }
.lightbox-figure { max-width: 1120px; width: 100%; margin: 0; }
.lightbox-figure img { width: 100%; border-radius: 10px; box-shadow: var(--shadow-lg); max-height: 78vh; object-fit: contain; background: #0a1833; }
.lightbox-figure figcaption { color: rgba(255, 255, 255, .8); text-align: center; margin-top: 14px; font-size: .9rem; }
.lb-close, .lb-prev, .lb-next {
  position: absolute;
  width: 46px; height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .28);
  background: rgba(255, 255, 255, .1);
  color: #fff; font-size: 1.3rem;
  cursor: pointer; display: grid; place-items: center;
  transition: background .16s;
}
.lb-close:hover, .lb-prev:hover, .lb-next:hover { background: rgba(255, 255, 255, .24); }
.lb-close { top: 20px; right: 22px; }
.lb-prev { left: 18px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 18px; top: 50%; transform: translateY(-50%); }

/* ── Steps ────────────────────────────────────────────────────────────── */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(216px, 1fr)); gap: 20px; counter-reset: s; }
.step {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 24px 20px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}
.step-num {
  width: 42px; height: 42px; margin: 0 auto 12px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--orange-500), var(--orange-600));
  color: #fff; font-weight: 800;
  display: grid; place-items: center;
  box-shadow: 0 6px 16px rgba(255, 122, 24, .32);
}
.step h3 { font-size: .98rem; }
.step p { margin: 0; font-size: .845rem; color: var(--text-muted); }

/* ── Lead form ────────────────────────────────────────────────────────── */
.lead-section {
  background:
    repeating-linear-gradient(135deg, rgba(255, 255, 255, .025) 0 2px, transparent 2px 12px),
    linear-gradient(150deg, var(--navy-700), var(--navy-900));
  color: #fff;
}
.lead-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: 42px; align-items: start; }
.lead-copy h2 { font-size: clamp(1.5rem, 3.2vw, 2.1rem); color: #fff; }
.lead-copy p { color: rgba(255, 255, 255, .78); }
.lead-benefits { list-style: none; padding: 0; margin: 22px 0 0; }
.lead-benefits li { display: flex; gap: 11px; padding: 7px 0; font-size: .92rem; color: rgba(255, 255, 255, .84); }
.lead-benefits li span:first-child { color: #6ee7a0; font-weight: 800; }

.lead-card {
  background: var(--surface);
  color: var(--text);
  border-radius: var(--radius);
  padding: 30px 28px;
  box-shadow: var(--shadow-lg);
}
.lead-card h3 { font-size: 1.22rem; margin-bottom: 4px; }
.lead-card > p { font-size: .875rem; color: var(--text-muted); margin: 0 0 20px; }

.field { margin-bottom: 15px; }
.field label { display: block; font-size: .8rem; font-weight: 700; margin-bottom: 6px; color: var(--text); }
.field label .req { color: #e0483c; }
.field input, .field select, .field textarea {
  width: 100%;
  font-family: inherit; font-size: .92rem;
  padding: 11px 13px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--surface-2);
  color: var(--text);
  transition: border-color .16s, box-shadow .16s;
}
.field textarea { resize: vertical; min-height: 78px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--orange-500);
  box-shadow: 0 0 0 3px rgba(255, 122, 24, .17);
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

.form-note { font-size: .76rem; color: var(--text-muted); margin: 12px 0 0; text-align: center; }

.form-status {
  display: none;
  margin-top: 14px; padding: 12px 15px;
  border-radius: var(--radius-sm);
  font-size: .875rem; font-weight: 600;
}
.form-status.is-visible { display: block; }
.form-status--ok { background: rgba(22, 163, 74, .13); color: #128c3c; border: 1px solid rgba(22, 163, 74, .35); }
.form-status--err { background: rgba(224, 72, 60, .12); color: #c0392b; border: 1px solid rgba(224, 72, 60, .35); }
html[data-theme="dark"] .form-status--ok { color: #6ee7a0; }
html[data-theme="dark"] .form-status--err { color: #ff9c92; }

/* ── Keyboard section ─────────────────────────────────────────────────── */
.keyboard-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow-sm);
}
.keyboard-box img { border-radius: 8px; }

/* ── FAQ ──────────────────────────────────────────────────────────────── */
.faq-list { max-width: 860px; margin: 0 auto; display: grid; gap: 12px; }
.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.faq-q {
  width: 100%;
  display: flex; align-items: flex-start; gap: 14px;
  font-family: inherit; text-align: left;
  background: none; border: none;
  padding: 17px 20px;
  cursor: pointer;
  color: var(--text);
}
.faq-q-text { flex: 1; }
.faq-q-hi { display: block; font-weight: 700; font-size: .96rem; }
.faq-q-en { display: block; font-size: .8rem; color: var(--text-muted); margin-top: 3px; }
.faq-arrow { flex-shrink: 0; width: 20px; height: 20px; color: var(--orange-600); transition: transform .22s; margin-top: 3px; }
.faq-item.is-open .faq-arrow { transform: rotate(180deg); }
.faq-a { display: none; padding: 0 20px 18px; border-top: 1px solid var(--border); }
.faq-item.is-open .faq-a { display: block; padding-top: 14px; }
.faq-a p { margin: 0 0 10px; font-size: .89rem; color: var(--text-muted); }
.faq-a p:last-child { margin-bottom: 0; }

/* ── Platform CTA band ────────────────────────────────────────────────── */
.band {
  background: linear-gradient(120deg, var(--orange-500), #ff9d4d);
  color: #fff;
  border-radius: var(--radius);
  padding: 38px 34px;
  display: flex; flex-wrap: wrap; align-items: center; gap: 22px;
  box-shadow: var(--shadow-md);
}
.band-copy { flex: 1 1 380px; }
.band h2 { color: #fff; font-size: clamp(1.35rem, 2.8vw, 1.85rem); margin-bottom: 6px; }
.band p { margin: 0; color: rgba(255, 255, 255, .93); font-size: .95rem; }
.band .btn--ghost { background: rgba(255, 255, 255, .16); border-color: rgba(255, 255, 255, .6); color: #fff; }
.band .btn--ghost:hover { background: #fff; color: var(--orange-600); border-color: #fff; }
.band-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.band .btn--dark { background: #fff; color: var(--orange-600); }
.band .btn--dark:hover { background: var(--navy-900); color: #fff; }

/* ── Footer ───────────────────────────────────────────────────────────── */
.site-footer {
  background: var(--navy-900);
  color: rgba(255, 255, 255, .74);
  padding: 54px 0 0;
  font-size: .885rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.1fr;
  gap: 34px;
  padding-bottom: 34px;
}
.footer-brand-row { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.footer-brand-row img { width: 46px; height: 46px; border-radius: 10px; background: #fff; padding: 3px; }
.footer-brand-name { font-weight: 800; font-size: 1.05rem; color: #fff; }
.footer-brand-tag { font-size: .78rem; color: rgba(255, 255, 255, .55); }
.footer-about { margin: 0 0 14px; color: rgba(255, 255, 255, .64); font-size: .855rem; }
.footer-institute { font-size: .82rem; color: #ffb066; font-weight: 600; margin: 0 0 16px; }

.social-row { display: flex; gap: 10px; flex-wrap: wrap; }
.social-btn {
  width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .2);
  background: rgba(255, 255, 255, .07);
  color: rgba(255, 255, 255, .84);
  display: grid; place-items: center;
  text-decoration: none;
  transition: all .18s;
}
.social-btn:hover { background: var(--orange-500); border-color: var(--orange-500); color: #fff; transform: translateY(-3px); }
.social-btn svg { width: 18px; height: 18px; }

.site-footer h4 {
  color: #fff; font-size: .82rem; text-transform: uppercase; letter-spacing: .1em;
  margin: 0 0 15px; padding-bottom: 9px;
  border-bottom: 2px solid rgba(255, 122, 24, .5);
  display: inline-block;
}
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer-links a { color: rgba(255, 255, 255, .7); text-decoration: none; transition: color .16s, padding-left .16s; font-size: .875rem; }
.footer-links a:hover { color: var(--orange-500); padding-left: 4px; }

.footer-contact { list-style: none; padding: 0; margin: 0; display: grid; gap: 11px; }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; font-size: .865rem; }
.footer-contact svg { width: 16px; height: 16px; color: var(--orange-500); flex-shrink: 0; margin-top: 3px; }
.footer-contact a { color: rgba(255, 255, 255, .78); text-decoration: none; }
.footer-contact a:hover { color: var(--orange-500); }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .1);
  padding: 20px 0 26px;
  text-align: center;
}
.footer-bottom p { margin: 0 0 6px; font-size: .82rem; color: rgba(255, 255, 255, .6); }
.footer-dev { font-size: .85rem !important; color: rgba(255, 255, 255, .82) !important; }
.footer-dev strong { color: #ffb066; }
.footer-disclaimer { font-size: .74rem !important; color: rgba(255, 255, 255, .42) !important; max-width: 780px; margin: 10px auto 0 !important; }

/* ── Floating WhatsApp ────────────────────────────────────────────────── */
.wa-float {
  position: fixed; bottom: 22px; right: 22px; z-index: 80;
  width: 54px; height: 54px; border-radius: 50%;
  background: #25d366; color: #fff;
  display: grid; place-items: center;
  box-shadow: 0 8px 24px rgba(37, 211, 102, .45);
  text-decoration: none;
  transition: transform .18s;
}
.wa-float:hover { transform: scale(1.09); }
.wa-float svg { width: 27px; height: 27px; }

/* ── Reveal on scroll ─────────────────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .55s ease, transform .55s ease; }
.reveal.is-in { opacity: 1; transform: none; }

/* ── Responsive ───────────────────────────────────────────────────────── */
@media (max-width: 1080px) {
  .nav a { padding: 8px 8px; font-size: .82rem; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .footer-contact-col { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero-shot { transform: none; }
  .lead-grid { grid-template-columns: 1fr; gap: 30px; }
  .menu-btn { display: grid; place-items: center; }
  .nav {
    position: absolute; top: var(--header-h); left: 0; right: 0;
    flex-direction: column; align-items: stretch;
    background: var(--navy-800);
    padding: 10px 16px 16px;
    gap: 2px;
    box-shadow: var(--shadow-md);
    display: none;
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 11px 12px; font-size: .95rem; }
  .header-actions { margin-left: auto; }
  .nav-cta-desktop { display: none; }
}

@media (max-width: 620px) {
  .section { padding: 54px 0; }
  .hero { padding: 56px 0 46px; }
  .field-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 26px; }
  .band { padding: 28px 22px; }
  .lead-card { padding: 24px 20px; }
  .hero-stats { gap: 14px 20px; }
  .lb-prev { left: 6px; } .lb-next { right: 6px; }
  .brand-sub { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* ── Toast Notifications ───────────────────────────────────────────────────────────── */
.font-toast {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: var(--surface);
  color: var(--text);
  padding: 16px;
  border-left: 4px solid var(--warning);
  border-radius: 8px;
  box-shadow: var(--shadow-md);
  z-index: 10000;
  font-family: inherit;
  animation: slideIn 0.3s ease-out forwards;
}

@keyframes slideIn {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}
