/* ============================================================
   نیک نگار — لندینگ پیج
   Palette is drawn from the app seal (deep navy + azure) with a
   restrained gold accent for the legal/official tone.
   ============================================================ */

/* ---------- Fonts (self-hosted, no CDN) ---------- */
@font-face {
  font-family: 'Vazir';
  src: url('../fonts/Vazir.ttf') format('truetype');
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: 'Sahel';
  src: url('../fonts/Sahel.ttf') format('truetype');
  font-weight: 100 900;
  font-display: swap;
}

/* ---------- Design tokens ---------- */
:root {
  --navy-900: #062f47;
  --navy-800: #0a4a6e;
  --navy-700: #0d5c88;
  --azure-600: #0078d4;
  --azure-500: #1f8fe0;
  --azure-100: #e3f0fb;
  --cyan-400: #29abe2;
  --gold: #c8a45c;

  --ink: #10222e;
  --ink-soft: #43596a;
  --ink-faint: #7a8c99;

  --bg: #ffffff;
  --bg-muted: #f4f8fb;
  --line: #e3ebf1;

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;

  --shadow-sm: 0 2px 10px rgba(10, 74, 110, .06);
  --shadow: 0 12px 32px rgba(10, 74, 110, .10);
  --shadow-lg: 0 28px 70px rgba(6, 47, 71, .18);

  --container: 1180px;
  --header-h: 76px;

  --font: 'Vazir', 'Sahel', 'Segoe UI', Tahoma, sans-serif;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 2;
  color: var(--ink);
  background: var(--bg);
  overflow-x: hidden;
}

h1, h2, h3, h4 { line-height: 1.6; margin: 0; font-weight: 700; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }

svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }

.skip-link {
  position: absolute;
  inset-inline-start: -9999px;
  top: 8px;
  z-index: 200;
  background: var(--navy-800);
  color: #fff;
  padding: 10px 18px;
  border-radius: var(--radius-sm);
}
.skip-link:focus { inset-inline-start: 16px; }

:focus-visible { outline: 3px solid var(--azure-500); outline-offset: 3px; border-radius: 6px; }

/* ---------- Layout helpers ---------- */
.container {
  width: min(100% - 40px, var(--container));
  margin-inline: auto;
}
.container-narrow { width: min(100% - 40px, 860px); }

.section { padding: clamp(64px, 9vw, 118px) 0; }
.section-muted { background: var(--bg-muted); }

.section-head { max-width: 720px; margin: 0 auto clamp(40px, 5vw, 64px); text-align: center; }
.section-head h2 { font-size: clamp(24px, 3.4vw, 38px); margin-bottom: 16px; letter-spacing: -.01em; }
.section-head p { color: var(--ink-soft); font-size: clamp(15px, 1.6vw, 17px); }

.section-tag {
  display: inline-block;
  margin-bottom: 18px;
  padding: 6px 16px;
  border-radius: 999px;
  background: var(--azure-100);
  color: var(--navy-700);
  font-size: 13px;
  font-weight: 700;
}
.section-tag.light { background: rgba(255, 255, 255, .12); color: #cfe6f6; }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--azure-600);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--btn-bg);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.6;
  white-space: nowrap;
  transition: transform .18s ease, box-shadow .22s ease, background .22s ease, color .22s ease;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: linear-gradient(135deg, var(--azure-600), var(--navy-700));
  box-shadow: 0 10px 24px rgba(0, 120, 212, .28);
}
.btn-primary:hover { box-shadow: 0 16px 34px rgba(0, 120, 212, .36); }

.btn-ghost {
  background: transparent;
  color: var(--navy-800);
  border-color: rgba(10, 74, 110, .22);
}
.btn-ghost:hover { background: #fff; border-color: var(--azure-600); color: var(--azure-600); box-shadow: var(--shadow-sm); }

.btn-light { background: #fff; color: var(--navy-800); box-shadow: var(--shadow); }
.btn-light:hover { color: var(--azure-600); }

.btn-sm { padding: 9px 18px; font-size: 14px; }
.btn-lg { padding: 15px 30px; font-size: 16px; }
.btn-block { display: flex; width: 100%; }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: fixed;
  inset-block-start: 0;
  inset-inline: 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, .82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .25s ease, border-color .25s ease, background .25s ease;
}
.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 6px 24px rgba(10, 74, 110, .07);
}

.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; }

.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark { width: 46px; height: 46px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.5; }
.brand-text strong { font-size: 18px; color: var(--navy-800); }
.brand-text small { font-size: 12px; color: var(--ink-faint); }

.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav > a {
  position: relative;
  padding: 8px 13px;
  border-radius: 10px;
  font-size: 15px;
  color: var(--ink-soft);
  transition: color .2s ease, background .2s ease;
}
.main-nav > a:not(.btn):hover { color: var(--azure-600); background: var(--azure-100); }
.main-nav > a.is-active:not(.btn) { color: var(--navy-800); font-weight: 700; }
.main-nav .nav-cta { display: none; }

.header-actions { display: flex; align-items: center; gap: 10px; }

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 11px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  flex-direction: column;
  justify-content: space-between;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--navy-800);
  border-radius: 2px;
  transition: transform .25s ease, opacity .2s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  padding: calc(var(--header-h) + clamp(40px, 7vw, 84px)) 0 clamp(56px, 7vw, 90px);
  background:
    radial-gradient(1100px 520px at 85% -10%, #eaf4fc 0%, rgba(234, 244, 252, 0) 62%),
    linear-gradient(180deg, #fbfdff 0%, #ffffff 100%);
  overflow: hidden;
}
.hero-glow {
  position: absolute;
  inset-block-start: -180px;
  inset-inline-end: -140px;
  width: 620px;
  height: 620px;
  background: radial-gradient(circle, rgba(41, 171, 226, .20), rgba(41, 171, 226, 0) 68%);
  filter: blur(10px);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.02fr);
  align-items: center;
  gap: clamp(36px, 5vw, 64px);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
  padding: 7px 18px;
  border: 1px solid rgba(10, 74, 110, .14);
  border-radius: 999px;
  background: rgba(255, 255, 255, .8);
  color: var(--navy-700);
  font-size: 13.5px;
  font-weight: 700;
  box-shadow: var(--shadow-sm);
}
.eyebrow-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 4px rgba(200, 164, 92, .22);
}

.hero h1 {
  font-size: clamp(30px, 4.6vw, 54px);
  line-height: 1.45;
  letter-spacing: -.02em;
  margin-bottom: 22px;
  color: var(--navy-900);
}
/* هایلایت با background روی خود inline box کشیده می‌شود تا مستقل از
   line-height، دقیقاً زیر گلیف‌ها بنشیند و پشت متن بماند. */
.hero h1 .hl {
  color: var(--azure-600);
  white-space: nowrap;
  padding-inline: .08em;
  background-image: linear-gradient(90deg, rgba(41, 171, 226, .30), rgba(200, 164, 92, .30));
  background-repeat: no-repeat;
  background-size: 100% .22em;
  background-position: 0 76%;
}

.hero-lead {
  max-width: 620px;
  margin-bottom: 32px;
  color: var(--ink-soft);
  font-size: clamp(15px, 1.7vw, 18px);
}
.hero-lead b { color: var(--ink); font-weight: 700; }

.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 30px; }
.hero-cta .btn svg { transition: transform .22s ease; }
.hero-cta .btn:hover svg { transform: translateX(-4px); }

.hero-badges { display: flex; flex-wrap: wrap; gap: 10px 24px; }
.hero-badges li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink-soft);
  font-size: 14.5px;
}
.hero-badges svg {
  width: 18px; height: 18px;
  padding: 3px;
  border-radius: 50%;
  background: rgba(16, 124, 16, .12);
  color: #107c10;
  stroke-width: 2.6;
}

/* ---------- Stats ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  margin-top: clamp(48px, 6vw, 74px);
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, #fff, #fbfdff);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.stat {
  padding: 20px 18px;
  text-align: center;
  border-inline-start: 1px solid var(--line);
}
.stat:first-child { border-inline-start: 0; }
.stat b {
  display: block;
  font-size: clamp(22px, 2.8vw, 32px);
  color: var(--navy-800);
  line-height: 1.5;
}
.stat span { color: var(--ink-faint); font-size: 14px; }

/* ============================================================
   HERO MOCK-UP
   ============================================================ */
.hero-visual { perspective: 1400px; }

.mock-window {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  transform: rotateY(4deg) rotateX(2deg);
  transition: transform .6s cubic-bezier(.2, .7, .3, 1);
}
.mock-window:hover { transform: rotateY(0) rotateX(0); }

.mock-titlebar {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 18px;
  background: linear-gradient(90deg, var(--navy-800), var(--navy-700));
  color: #eaf4fc;
}
.mock-dots { display: flex; gap: 6px; }
.mock-dots i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, .35); }
.mock-title { font-size: 13px; }

.mock-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 16px;
  border-bottom: 1px solid var(--line);
  background: #fafcfe;
}
.mock-tab {
  padding: 6px 14px;
  border-radius: 8px 8px 0 0;
  border-bottom: 3px solid var(--azure-600);
  color: var(--azure-600);
  font-size: 12.5px;
  font-weight: 700;
}
.mock-chip {
  padding: 4px 12px;
  border: 1px solid rgba(16, 124, 16, .25);
  border-radius: 8px;
  background: rgba(16, 124, 16, .08);
  color: #107c10;
  font-size: 12px;
  font-weight: 700;
}

.mock-body {
  display: grid;
  grid-template-columns: 1.25fr .85fr;
  gap: 16px;
  padding: 18px;
  background: #f7fafc;
}

.mock-form { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; align-content: start; }
.mock-field { display: flex; flex-direction: column; gap: 6px; }
.mock-field-wide { grid-column: 1 / -1; }
.mock-field label { color: var(--ink-faint); font-size: 11.5px; }
.mock-input {
  display: block;
  min-height: 34px;
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font-size: 12.5px;
  line-height: 1.7;
  white-space: nowrap;
  overflow: hidden;
}
.mock-input.is-typing { border-color: var(--azure-500); box-shadow: 0 0 0 3px rgba(31, 143, 224, .14); }
.mock-input.is-typing::after {
  content: '';
  display: inline-block;
  width: 1.5px;
  height: 12px;
  margin-inline-start: 2px;
  background: var(--azure-600);
  vertical-align: -2px;
  animation: caret .8s steps(1) infinite;
}
@keyframes caret { 50% { opacity: 0; } }

.mock-generate {
  grid-column: 1 / -1;
  margin-top: 4px;
  padding: 10px;
  border: 0;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--azure-600), var(--navy-700));
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 8px 18px rgba(0, 120, 212, .26);
}
.mock-generate.is-pressed { animation: press .45s ease; }
@keyframes press {
  40% { transform: scale(.95); filter: brightness(.92); }
  100% { transform: scale(1); }
}

.mock-output { position: relative; display: flex; align-items: center; justify-content: center; }
.mock-doc {
  position: relative;
  width: 100%;
  max-width: 190px;
  padding: 18px 16px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(18px) scale(.96);
  transition: opacity .5s ease, transform .5s cubic-bezier(.2, .8, .3, 1);
}
.mock-doc.is-ready { opacity: 1; transform: none; }
.mock-doc-badge {
  position: absolute;
  inset-block-start: -10px;
  inset-inline-start: 12px;
  padding: 3px 10px;
  border-radius: 6px;
  background: #2b579a; /* Word blue */
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .04em;
}
.mock-doc-lines { display: grid; gap: 7px; margin-bottom: 14px; }
.mock-doc-lines i { display: block; height: 6px; border-radius: 3px; background: #e8eef3; }
.mock-doc-lines i:nth-child(1) { background: var(--navy-800); height: 8px; }
.mock-doc-foot { color: var(--ink-faint); font-size: 11px; text-align: center; }

.mock-toast {
  position: absolute;
  inset-block-end: 4px;
  inset-inline-start: 0;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 13px;
  border-radius: 10px;
  background: #107c10;
  color: #fff;
  font-size: 11.5px;
  font-weight: 700;
  box-shadow: 0 10px 22px rgba(16, 124, 16, .3);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .4s ease, transform .4s ease;
}
.mock-toast svg { width: 14px; height: 14px; stroke-width: 3; }
.mock-toast.is-shown { opacity: 1; transform: none; }

/* ============================================================
   CARDS
   ============================================================ */
.cards-3, .cards-4 { display: grid; gap: 22px; }
.cards-3 { grid-template-columns: repeat(3, 1fr); }
.cards-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  padding: 30px 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-sm);
  transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: rgba(0, 120, 212, .28); }
.card h3 { font-size: 18px; margin-bottom: 10px; color: var(--navy-900); }
.card p { color: var(--ink-soft); font-size: 14.5px; line-height: 1.95; }

.card-icon {
  display: grid;
  place-items: center;
  width: 50px; height: 50px;
  margin-bottom: 18px;
  padding: 12px;
  border-radius: 14px;
  background: var(--azure-100);
  color: var(--navy-700);
}
.card-icon.accent { background: linear-gradient(135deg, var(--azure-100), #f1f7fd); color: var(--azure-600); }
.card-problem .card-icon { background: rgba(200, 164, 92, .14); color: #a8802e; }

/* ============================================================
   STEPS
   ============================================================ */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  counter-reset: step;
}
.step {
  position: relative;
  padding: 34px 28px 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-sm);
}
.step::before {
  content: '';
  position: absolute;
  inset-block-start: 0;
  inset-inline: 26px;
  height: 3px;
  border-radius: 0 0 3px 3px;
  background: linear-gradient(90deg, var(--azure-600), var(--cyan-400));
}
.step-num {
  display: grid;
  place-items: center;
  width: 46px; height: 46px;
  margin-bottom: 16px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--navy-800), var(--azure-600));
  color: #fff;
  font-size: 19px;
  font-weight: 700;
  box-shadow: 0 8px 18px rgba(10, 74, 110, .22);
}
.step h3 { font-size: 18.5px; margin-bottom: 10px; color: var(--navy-900); }
.step p { color: var(--ink-soft); font-size: 14.5px; }

/* ============================================================
   FIELD GRID
   ============================================================ */
.field-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 14px;
}
.field-item {
  position: relative;
  padding-block: 16px;
  padding-inline: 46px 18px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
  font-size: 15px;
  font-weight: 600;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.field-item::before {
  content: '';
  position: absolute;
  inset-inline-start: 16px;
  inset-block-start: 50%;
  width: 20px; height: 20px;
  margin-block-start: -10px;
  border-radius: 50%;
  background: var(--azure-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230078d4' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.field-item:hover {
  transform: translateY(-3px);
  border-color: rgba(0, 120, 212, .3);
  box-shadow: var(--shadow-sm);
}

/* ============================================================
   AUDIENCE (dark band)
   ============================================================ */
.section-dark {
  background:
    radial-gradient(900px 420px at 12% 0%, rgba(41, 171, 226, .22), transparent 60%),
    linear-gradient(135deg, var(--navy-900), var(--navy-800));
  color: #eaf4fc;
}
.section-dark h2 { font-size: clamp(24px, 3.2vw, 36px); margin-bottom: 18px; color: #fff; }
.audience-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}
.audience-lead { color: #b9d6e9; font-size: 16.5px; margin-bottom: 26px; }

.check-list { display: grid; gap: 12px; }
.check-list li {
  position: relative;
  padding-inline-start: 34px;
  font-size: 15.5px;
}
.check-list li::before {
  content: '';
  position: absolute;
  inset-inline-start: 0;
  inset-block-start: 50%;
  width: 22px; height: 22px;
  margin-block-start: -11px;
  border-radius: 50%;
  background: rgba(41, 171, 226, .18) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2329abe2' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E") center / 13px no-repeat;
}

.audience-quote {
  margin: 0;
  padding: 34px 30px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, .06);
  backdrop-filter: blur(6px);
}
.audience-quote blockquote {
  margin: 0 0 22px;
  font-size: clamp(16px, 1.9vw, 19px);
  line-height: 2.1;
  color: #f0f8ff;
}
.audience-quote figcaption {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-block-start: 18px;
  border-block-start: 1px solid rgba(255, 255, 255, .14);
  color: var(--gold);
  font-weight: 700;
}
.audience-quote figcaption img { border-radius: 50%; background: #fff; padding: 4px; }

/* ============================================================
   PRICING
   ============================================================ */
.pricing-wrap {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 28px;
  align-items: start;
}
.price-card {
  position: relative;
  padding: 36px 32px;
  border: 1px solid rgba(0, 120, 212, .28);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, #fff, #f8fcff);
  box-shadow: var(--shadow);
}
.price-badge {
  display: inline-block;
  margin-bottom: 14px;
  padding: 5px 14px;
  border-radius: 999px;
  background: var(--navy-800);
  color: #fff;
  font-size: 12.5px;
  font-weight: 700;
}
.price-card h3 { font-size: 22px; color: var(--navy-900); margin-bottom: 14px; }
.price {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding-block: 8px 22px;
  margin-bottom: 22px;
  border-block-end: 1px solid var(--line);
}
.price b { font-size: clamp(32px, 4.4vw, 44px); color: var(--azure-600); line-height: 1.3; }
.price span { color: var(--ink-faint); font-size: 15px; }

.price-card .check-list { margin-bottom: 28px; }
.price-card .check-list li { color: var(--ink-soft); font-size: 15px; }
.price-card .check-list li::before {
  background: var(--azure-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230078d4' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E") center / 13px no-repeat;
}
.price-note { margin-top: 14px; color: var(--ink-faint); font-size: 13px; text-align: center; }

.pricing-side { display: grid; gap: 16px; }
.side-item {
  padding: 24px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-sm);
}
.side-item h4 { font-size: 16.5px; margin-bottom: 8px; color: var(--navy-900); }
.side-item p { color: var(--ink-soft); font-size: 14.5px; }

/* ============================================================
   FAQ
   ============================================================ */
.faq { display: grid; gap: 12px; }
.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  overflow: hidden;
  transition: border-color .22s ease, box-shadow .22s ease;
}
.faq-item.is-open { border-color: rgba(0, 120, 212, .34); box-shadow: var(--shadow-sm); }

.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  padding: 20px 24px;
  border: 0;
  background: transparent;
  color: var(--navy-900);
  font-size: 16px;
  font-weight: 700;
  text-align: start;
}
.faq-icon {
  width: 22px; height: 22px;
  flex: none;
  color: var(--azure-600);
  transition: transform .28s ease;
}
.faq-item.is-open .faq-icon { transform: rotate(180deg); }

.faq-a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .32s cubic-bezier(.3, .8, .4, 1);
}
.faq-item.is-open .faq-a { grid-template-rows: 1fr; }
.faq-a-inner {
  overflow: hidden;
  padding-inline: 24px;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 2.1;
}
.faq-item.is-open .faq-a-inner { padding-block-end: 22px; }

/* ============================================================
   CTA BAND + FOOTER
   ============================================================ */
.cta-band {
  padding: clamp(48px, 6vw, 76px) 0;
  background:
    radial-gradient(700px 300px at 80% 20%, rgba(41, 171, 226, .28), transparent 62%),
    linear-gradient(120deg, var(--navy-800), var(--azure-600));
  color: #fff;
}
.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
}
.cta-inner h2 { font-size: clamp(22px, 3vw, 32px); margin-bottom: 8px; }
.cta-inner p { color: #d7ebf8; font-size: 16px; }

.site-footer {
  padding: clamp(48px, 6vw, 70px) 0 26px;
  background: var(--navy-900);
  color: #b9d0de;
  font-size: 14.5px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr .8fr .9fr;
  gap: 36px;
  padding-block-end: 34px;
  border-block-end: 1px solid rgba(255, 255, 255, .1);
}
.footer-brand { display: flex; gap: 16px; align-items: flex-start; }
.footer-brand img { flex: none; background: #fff; border-radius: 50%; padding: 5px; }
.footer-brand strong { display: block; margin-bottom: 8px; color: #fff; font-size: 16px; }
.footer-brand p { max-width: 46ch; line-height: 2; }

.site-footer h4 { margin-bottom: 14px; color: #fff; font-size: 15px; }
.footer-links, .footer-contact { display: grid; gap: 10px; align-content: start; }
.footer-links a, .footer-contact a:not(.btn) { transition: color .2s ease; width: fit-content; }
.footer-links a:hover, .footer-contact a:not(.btn):hover { color: var(--cyan-400); }
.footer-contact .btn { margin-top: 8px; width: fit-content; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  padding-block-start: 22px;
  color: #7e9cae;
  font-size: 13.5px;
}

/* ============================================================
   REVEAL ANIMATION
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .7s cubic-bezier(.2, .7, .3, 1), transform .7s cubic-bezier(.2, .7, .3, 1);
  will-change: opacity, transform;
}
.reveal.is-visible { opacity: 1; transform: none; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { order: 2; max-width: 640px; }
  .mock-window { transform: none; }
  .cards-4 { grid-template-columns: repeat(2, 1fr); }
  .audience-grid, .pricing-wrap { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 860px) {
  .header-cta { display: none; }
  .nav-toggle { display: flex; }

  .main-nav {
    position: fixed;
    inset-block-start: var(--header-h);
    inset-inline: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 16px 20px 26px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 20px 40px rgba(10, 74, 110, .12);
    transform: translateY(-14px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .24s ease, transform .24s ease, visibility .24s;
  }
  .main-nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .main-nav > a { padding: 13px 14px; font-size: 16px; border-radius: 12px; }
  .main-nav .nav-cta { display: flex; margin-top: 12px; }

  .cards-3, .steps { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(odd) { border-inline-start: 0; }
  .stat:nth-child(n+3) { border-block-start: 1px solid var(--line); }
  .mock-body { grid-template-columns: 1fr; }
  .mock-output { padding-block: 8px 26px; }
  .mock-toast { inset-inline-start: 50%; transform: translate(50%, 10px); }
  .mock-toast.is-shown { transform: translate(50%, 0); }
}

@media (max-width: 560px) {
  body { font-size: 15px; }
  .cards-4 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .brand-text small { display: none; }
  .mock-form { grid-template-columns: 1fr; }
  .price { flex-wrap: wrap; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
}

/* ---------- Accessibility: reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .mock-doc { opacity: 1; transform: none; }
}

/* ---------- Print ---------- */
@media print {
  .site-header, .nav-toggle, .cta-band, .hero-visual { display: none; }
  body { color: #000; }
}
