/* ============================================================
   ApeXa Marketing Site — style.css  (Premium Edition)
   ============================================================ */

/* ── Design tokens ────────────────────────────────────────── */
:root {
  --navy:        #0d1a1c;
  --navy-mid:    #15282a;
  --navy-deep:   #081214;
  --blue:        #0f766e;
  --blue-hover:  #0c5d57;
  --blue-bright: #14b8a6;
  --blue-light:  #ecfdf9;
  --teal:        #0e7490;
  --gold:        #f59e0b;
  --gold-light:  #fef3c7;
  --white:       #ffffff;
  --gray-50:     #f8fafc;
  --gray-100:    #f1f5f9;
  --gray-200:    #e2e8f0;
  --gray-400:    #94a3b8;
  --gray-500:    #64748b;
  --gray-600:    #475569;
  --gray-700:    #334155;
  --gray-800:    #1e293b;
  --gray-900:    #0f172a;
  --green:       #16a34a;
  --green-bg:    #f0fdf4;
  --red:         #dc2626;
  --font:      'IBM Plex Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'IBM Plex Mono', ui-monospace, 'SF Mono', Menlo, monospace;
  --radius:      10px;
  --radius-lg:   16px;
  --shadow:      0 2px 8px rgba(0,0,0,.08), 0 8px 32px rgba(0,0,0,.10);
  --shadow-lg:   0 8px 16px rgba(0,0,0,.10), 0 32px 64px rgba(0,0,0,.18);
  --shadow-blue: 0 4px 24px rgba(15,118,110,.30);
  --container:   1100px;
  --pad-section: 96px;
  --pad-mobile:  56px;
}

/* ── Reset ────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--gray-800);
  line-height: 1.65;
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration: none; }
ul { list-style: none; }

/* ── Utilities ────────────────────────────────────────────── */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
section[id] { scroll-margin-top: 72px; }

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .10em;
  text-transform: uppercase;
  color: var(--blue-bright);
  background: rgba(20,184,166,.10);
  border: 1px solid rgba(20,184,166,.20);
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 16px;
}

.section-label.gold {
  color: var(--gold);
  background: rgba(245,158,11,.10);
  border-color: rgba(245,158,11,.20);
}

.section-label.light {
  color: rgba(255,255,255,.90);
  background: rgba(255,255,255,.10);
  border-color: rgba(255,255,255,.20);
}

.section-headline {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 800;
  color: var(--gray-900);
  line-height: 1.15;
  letter-spacing: -.025em;
  margin-bottom: 16px;
}
.section-headline.light { color: var(--white); }

.section-sub {
  font-size: 1.0625rem;
  color: var(--gray-500);
  max-width: 600px;
  line-height: 1.75;
}
.section-sub.light { color: rgba(255,255,255,.68); }

.text-center { text-align: center; }
.text-center .section-sub { margin: 0 auto; }

.check { color: var(--green); font-weight: 700; }
.cross  { color: var(--red);   font-weight: 700; }

/* ── Language blocks — hidden until JS sets the active lang ── */
.lang-az, .lang-en { display: none; }

/* ── Section bg helpers ───────────────────────────────────── */
.bg-gray { background: var(--gray-50); }


/* ── Buttons ──────────────────────────────────────────────── */
.btn-primary {
  display: inline-block;
  background: linear-gradient(135deg, var(--blue) 0%, #0e7490 100%);
  color: var(--white);
  font-family: var(--font);
  font-weight: 700;
  font-size: 1rem;
  padding: 14px 30px;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: box-shadow .2s, transform .15s, background .2s;
  text-align: center;
  box-shadow: var(--shadow-blue);
}
.btn-primary:hover {
  background: linear-gradient(135deg, var(--blue-hover) 0%, #0c5d57 100%);
  box-shadow: 0 6px 32px rgba(15,118,110,.45);
  transform: translateY(-1px);
  color: var(--white);
}

.btn-outline {
  display: inline-block;
  background: transparent;
  color: var(--white);
  font-family: var(--font);
  font-weight: 600;
  font-size: 1rem;
  padding: 13px 28px;
  border-radius: var(--radius);
  border: 1.5px solid rgba(255,255,255,.35);
  cursor: pointer;
  transition: border-color .18s, background .18s;
}
.btn-outline:hover { border-color: var(--white); background: rgba(255,255,255,.08); }

/* ── Header ───────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(11,22,40,.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.logo {
  color: var(--white);
  font-size: 1.375rem;
  font-weight: 800;
  letter-spacing: -.03em;
}
.logo span {
  background: linear-gradient(135deg, var(--blue-bright), var(--teal));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.header-right { display: flex; align-items: center; gap: 20px; }

.lang-toggle {
  display: flex;
  align-items: center;
  gap: 2px;
  background: rgba(255,255,255,.08);
  border-radius: 6px;
  padding: 3px;
}
.lang-toggle button {
  background: none;
  border: none;
  color: rgba(255,255,255,.55);
  font-family: var(--font);
  font-size: .8125rem;
  font-weight: 600;
  padding: 4px 11px;
  border-radius: 4px;
  cursor: pointer;
  transition: background .15s, color .15s;
}
.lang-toggle button.active {
  background: var(--white);
  color: var(--navy);
}

.header-cta {
  font-size: .875rem;
  padding: 9px 20px;
}

/* ── Hero ─────────────────────────────────────────────────── */
#hero {
  padding: 96px 0 80px;
  background:
    radial-gradient(ellipse 80% 60% at 60% 40%, rgba(15,118,110,.18) 0%, transparent 70%),
    radial-gradient(ellipse 50% 40% at 20% 80%, rgba(8,145,178,.10) 0%, transparent 60%),
    linear-gradient(160deg, #0d1a1c 0%, #10211f 50%, #081214 100%);
  position: relative;
  overflow: hidden;
}
#hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}
.hero-content { max-width: 760px; position: relative; }

.hero-content h1 {
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.08;
  letter-spacing: -.03em;
  margin-bottom: 24px;
}
.hero-content h1 .accent {
  background: linear-gradient(135deg, var(--blue-bright) 0%, var(--teal) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subhead {
  font-size: 1.1875rem;
  color: rgba(255,255,255,.72);
  line-height: 1.75;
  max-width: 640px;
  margin-bottom: 40px;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 20px;
}
.hero-supporting {
  font-size: .875rem;
  color: rgba(255,255,255,.40);
  letter-spacing: .01em;
}

/* Hero image */
.hero-visual {
  margin-top: 64px;
  position: relative;
  perspective: 1400px;
}
.hero-visual::before {
  content: '';
  position: absolute;
  inset: -30px -60px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(15,118,110,.55), rgba(8,145,178,.30));
  filter: blur(60px);
  z-index: 0;
  opacity: .55;
}
.hero-visual img {
  display: block;
  max-width: 100%;
  height: auto;
}

/* ── Browser window chrome frame ─────────────────────────── */
.browser-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.12);
  background: #0d1a30;   /* dark fallback — covers any edge bleed from screenshots */
  line-height: 0;        /* prevents descender gap below the image */
  transform: translateZ(0); /* GPU compositing — sharpens border-radius clipping */
  box-shadow:
    0 4px 12px rgba(0,0,0,.18),
    0 20px 52px rgba(0,0,0,.40),
    0 40px 80px rgba(0,0,0,.18);
}

.browser-chrome {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 38px;
  padding: 0 16px;
  background: #1c2d4a;
  border-bottom: 1px solid rgba(255,255,255,.07);
  flex-shrink: 0;
  line-height: normal;   /* restore from parent's line-height:0 */
}

/* Three neutral dots: one element + box-shadows */
.browser-dots {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,.18);
  flex-shrink: 0;
  box-shadow: 16px 0 0 rgba(255,255,255,.18), 32px 0 0 rgba(255,255,255,.18);
  margin-right: 20px;
}

.browser-address {
  flex: 1;
  max-width: 200px;
  margin: 0 auto;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 5px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .6875rem;
  color: rgba(255,255,255,.38);
  letter-spacing: .03em;
  font-family: var(--font);
  user-select: none;
}

.browser-frame img {
  display: block;
  width: 100%;
  height: auto;
  vertical-align: top;   /* belt-and-suspenders: no inline baseline gap */
}

/* Hero frame — 3-D perspective tilt */
.hero-frame {
  position: relative;
  z-index: 1;
  transform: rotateX(12deg) rotateY(-5deg) scale(0.97);
  transform-origin: center 65%;
  will-change: transform;
  transition: transform .5s cubic-bezier(.22,.61,.36,1);
  box-shadow:
    0 24px 60px rgba(0,0,0,.55),
    0 56px 100px rgba(0,0,0,.30);
}
.hero-frame:hover {
  transform: rotateX(6deg) rotateY(-2deg) scale(0.99);
}

/* ── Problem ──────────────────────────────────────────────── */
#problem {
  padding: var(--pad-section) 0;
  background: var(--gray-50);
}
.problem-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  margin-top: 40px;
}
.problem-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.problem-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 1rem;
  color: var(--gray-700);
  line-height: 1.55;
}
.problem-list li::before {
  content: '—';
  color: var(--red);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 2px;
}
.problem-closing {
  margin-top: 28px;
  font-size: 1rem;
  color: var(--gray-600);
  line-height: 1.7;
}
.problem-closing strong { color: var(--gray-800); font-weight: 600; }

/* ── How It Works ─────────────────────────────────────────── */
#how-it-works {
  padding: var(--pad-section) 0;
  background:
    radial-gradient(ellipse 70% 50% at 80% 50%, rgba(15,118,110,.12) 0%, transparent 70%),
    linear-gradient(160deg, #0d1a1c 0%, #13211f 100%);
}
.steps-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-top: 48px;
}
.pdca-figure {
  margin: 56px 0 0;
}
.pdca-figure img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255,255,255,.08);
}
.pdca-figure figcaption {
  margin-top: 14px;
  font-size: 0.9375rem;
  color: rgba(255,255,255,.50);
  text-align: center;
  font-style: italic;
}
.step-card {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: var(--radius-lg);
  padding: 32px;
  position: relative;
  transition: background .2s, border-color .2s;
}
.step-card:hover {
  background: rgba(255,255,255,.08);
  border-color: rgba(20,184,166,.35);
}
.step-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--blue) 0%, var(--teal) 100%);
  color: var(--white);
  font-weight: 800;
  font-size: 1.0625rem;
  border-radius: 50%;
  margin-bottom: 18px;
  flex-shrink: 0;
  box-shadow: 0 4px 16px rgba(15,118,110,.35);
}
.step-card h3 {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
}
.step-card p { font-size: .9375rem; color: rgba(255,255,255,.60); line-height: 1.65; }

/* Screenshots — "See it in action" */
#screenshots {
  padding: var(--pad-section) 0;
  background:
    radial-gradient(ellipse 60% 50% at 30% 50%, rgba(8,145,178,.08) 0%, transparent 70%),
    linear-gradient(160deg, #081214 0%, #0d1a1c 100%);
  border-top: 1px solid rgba(255,255,255,.06);
}
.screenshots-stack {
  display: flex;
  flex-direction: column;
  gap: 64px;
  margin-top: 48px;
}
.screenshot-item {
  margin: 0;
}
.screenshot-item img {
  display: block;
  width: 100%;
  height: auto;
}
.screenshot-item figcaption {
  margin-top: 16px;
  font-size: 1rem;
  color: rgba(255,255,255,.55);
  text-align: center;
  font-style: italic;
  line-height: 1.6;
}

/* ── Benefits ─────────────────────────────────────────────── */
#benefits {
  padding: var(--pad-section) 0;
  background: var(--white);
}
.benefits-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-top: 48px;
}
.benefit-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: box-shadow .2s, transform .2s, border-color .2s;
}
.benefit-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
  border-color: rgba(15,118,110,.20);
}
.benefit-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(15,118,110,.12) 0%, rgba(8,145,178,.10) 100%);
  color: var(--blue);
  margin-bottom: 20px;
}
.benefit-icon svg { display: block; }
.benefit-card h3 {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 10px;
  line-height: 1.3;
}
.benefit-card p { font-size: .9375rem; color: var(--gray-600); line-height: 1.7; }

/* ── Built For ────────────────────────────────────────────── */
#built-for {
  padding: var(--pad-section) 0;
  background: var(--gray-50);
}
.personas-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-top: 48px;
}
.persona-card {
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 32px;
  background: var(--white);
  border-top: 3px solid transparent;
  background-clip: padding-box;
  position: relative;
  transition: box-shadow .2s, transform .2s;
}
.persona-card::before {
  content: '';
  position: absolute;
  top: -1px; left: -1px; right: -1px;
  height: 3px;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  background: linear-gradient(90deg, var(--blue) 0%, var(--teal) 100%);
}
.persona-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}
.persona-role {
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .09em;
  color: var(--blue);
  margin-bottom: 10px;
}
.persona-card h3 {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 10px;
}
.persona-card p { font-size: .9375rem; color: var(--gray-600); line-height: 1.7; }

/* ── Comparison ───────────────────────────────────────────── */
#comparison {
  padding: var(--pad-section) 0;
  background: var(--white);
}
.comparison-sub {
  font-size: 1rem;
  color: var(--gray-500);
  margin-top: 10px;
  max-width: 560px;
}
.table-wrap {
  margin-top: 40px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  background: var(--white);
  box-shadow: var(--shadow);
}
table {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
  font-size: .9375rem;
}
thead th {
  background: var(--navy);
  color: rgba(255,255,255,.70);
  font-weight: 600;
  padding: 16px 20px;
  text-align: center;
  font-size: .8125rem;
  text-transform: uppercase;
  letter-spacing: .06em;
}
thead th:first-child { text-align: left; color: var(--white); }
thead th.apexa-col {
  background: linear-gradient(135deg, var(--blue) 0%, #0e7490 100%);
  color: var(--white);
  position: relative;
}
tbody tr { border-bottom: 1px solid var(--gray-100); }
tbody tr:last-child { border-bottom: none; }
tbody tr:nth-child(even) { background: var(--gray-50); }
tbody td {
  padding: 14px 20px;
  color: var(--gray-500);
  text-align: center;
  vertical-align: middle;
}
tbody td:first-child {
  text-align: left;
  font-weight: 500;
  color: var(--gray-800);
}
tbody td.apexa-col {
  background: rgba(15,118,110,.06);
  color: var(--blue);
  font-weight: 600;
}

/* ── Pricing ──────────────────────────────────────────────── */
#pricing {
  padding: var(--pad-section) 0;
  background:
    radial-gradient(ellipse 60% 50% at 50% 0%, rgba(15,118,110,.20) 0%, transparent 70%),
    linear-gradient(160deg, #0d1a1c 0%, #081214 100%);
}
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-top: 48px;
}
.pricing-card {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: var(--radius-lg);
  padding: 36px;
  color: var(--white);
  transition: background .2s, border-color .2s;
}
.pricing-card:hover {
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.18);
}
.pricing-card.featured {
  background: rgba(15,118,110,.15);
  border-color: rgba(15,118,110,.45);
  position: relative;
  box-shadow: 0 0 0 1px rgba(15,118,110,.30), var(--shadow-blue);
}
.featured-badge {
  display: inline-block;
  background: linear-gradient(135deg, var(--blue), var(--teal));
  color: var(--white);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 14px;
}
.pricing-tier {
  font-size: .8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .10em;
  color: rgba(255,255,255,.45);
  margin-bottom: 8px;
}
.pricing-price {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -.03em;
  line-height: 1;
  margin-bottom: 4px;
}
.pricing-price span {
  font-size: 1rem;
  font-weight: 500;
  color: rgba(255,255,255,.55);
}
.pricing-desc {
  font-size: .9rem;
  color: rgba(255,255,255,.60);
  line-height: 1.65;
  margin: 16px 0 24px;
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: 16px;
}
.pricing-card .btn-primary {
  width: 100%;
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.20);
  box-shadow: none;
}
.pricing-card .btn-primary:hover {
  background: linear-gradient(135deg, var(--blue) 0%, #0e7490 100%);
  border-color: transparent;
  box-shadow: var(--shadow-blue);
}
.pricing-card.featured .btn-primary {
  background: linear-gradient(135deg, var(--blue) 0%, #0e7490 100%);
  border-color: transparent;
  box-shadow: var(--shadow-blue);
}
.pricing-card.featured .btn-primary:hover {
  background: linear-gradient(135deg, var(--blue-hover) 0%, #0c5d57 100%);
}

.pricing-note {
  margin-top: 40px;
  text-align: center;
  font-size: .9375rem;
  color: rgba(255,255,255,.45);
  line-height: 1.65;
}
.pricing-note strong { color: rgba(255,255,255,.80); }

/* ── FAQ ──────────────────────────────────────────────────── */
#faq {
  padding: var(--pad-section) 0;
  background: var(--gray-50);
}
.faq-list {
  margin-top: 48px;
  max-width: 760px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.faq-item {
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
  transition: box-shadow .15s;
}
.faq-item:hover { box-shadow: var(--shadow); }
.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 20px 24px;
  background: var(--white);
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 600;
  color: var(--gray-800);
  gap: 16px;
  transition: background .15s;
}
.faq-question:hover { background: var(--gray-50); }
.faq-question > span:first-child { flex: 1; }
.faq-toggle {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--gray-100);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--gray-500);
  line-height: 1;
  transition: background .2s, color .2s, transform .2s;
}
.faq-item.open .faq-toggle {
  background: linear-gradient(135deg, var(--blue), #0e7490);
  color: var(--white);
  transform: rotate(45deg);
}
.faq-answer {
  display: none;
  padding: 16px 24px 22px;
  font-size: .9375rem;
  color: var(--gray-600);
  line-height: 1.75;
  border-top: 1px solid var(--gray-100);
}
.faq-item.open .faq-answer { display: block; }

/* ── Demo / Final CTA ─────────────────────────────────────── */
#demo {
  padding: var(--pad-section) 0;
  background: var(--white);
}
.demo-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 52px;
  margin-top: 0;
}
.demo-copy h2 {
  font-size: clamp(1.625rem, 3vw, 2.25rem);
  font-weight: 800;
  color: var(--gray-900);
  line-height: 1.15;
  letter-spacing: -.025em;
  margin-bottom: 16px;
}
.demo-copy p {
  font-size: .9375rem;
  color: var(--gray-600);
  line-height: 1.75;
  margin-bottom: 14px;
}
.demo-copy p:last-child { margin-bottom: 0; }
.demo-copy .early-badge {
  display: inline-block;
  background: var(--gold-light);
  color: #92400e;
  font-size: .8125rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 20px;
  border: 1px solid rgba(245,158,11,.25);
}

/* Contact form */
.contact-form {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-lg);
}
.contact-form h3 {
  font-size: 1.375rem;
  font-weight: 800;
  color: var(--gray-900);
  margin-bottom: 28px;
  letter-spacing: -.02em;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 18px;
}
.form-group label {
  font-size: .875rem;
  font-weight: 600;
  color: var(--gray-700);
}
.form-group input,
.form-group textarea {
  font-family: var(--font);
  font-size: .9375rem;
  color: var(--gray-800);
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 12px 14px;
  width: 100%;
  outline: none;
  transition: border-color .15s, box-shadow .15s, background .15s;
}
.form-group input:focus,
.form-group textarea:focus {
  background: var(--white);
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(15,118,110,.12);
}
.form-group textarea { resize: vertical; min-height: 100px; }
.contact-form .btn-primary { width: 100%; font-size: 1rem; padding: 16px; }

.form-result {
  margin-top: 14px;
  padding: 12px 16px;
  border-radius: var(--radius);
  font-size: .9rem;
  display: none;
}
.form-result.success {
  display: block;
  background: var(--green-bg);
  color: var(--green);
  border: 1px solid #bbf7d0;
}
.form-result.error {
  display: block;
  background: #fef2f2;
  color: var(--red);
  border: 1px solid #fecaca;
}

/* ── Footer ───────────────────────────────────────────────── */
.site-footer {
  background: var(--navy-deep);
  padding: 40px 0;
  border-top: 1px solid rgba(255,255,255,.06);
}
.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
  text-align: center;
}
.footer-logo {
  color: var(--white);
  font-size: 1.125rem;
  font-weight: 800;
  letter-spacing: -.025em;
  margin-bottom: 4px;
}
.footer-logo span {
  background: linear-gradient(135deg, var(--blue-bright), var(--teal));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.footer-tagline {
  font-size: .875rem;
  color: rgba(255,255,255,.38);
}
.footer-copy {
  font-size: .8125rem;
  color: rgba(255,255,255,.22);
  margin-top: 8px;
}
.footer-dev-link {
  color: rgba(255,255,255,.35);
  text-decoration: none;
  transition: color .15s;
}
.footer-dev-link:hover { color: rgba(255,255,255,.70); }

/* ── Mobile: flatten hero tilt ──────────────────────────────── */
@media (max-width: 639px) {
  .hero-frame {
    transform: none;
    box-shadow: 0 8px 32px rgba(0,0,0,.40);
  }
  .hero-visual::before {
    inset: -10px;
    filter: blur(20px);
  }
}

/* ── Responsive: tablet ────────────────────────────────────── */
@media (min-width: 640px) {
  .steps-grid        { grid-template-columns: 1fr 1fr; }
  .benefits-grid     { grid-template-columns: 1fr 1fr; }
  .personas-grid     { grid-template-columns: 1fr 1fr; }
  .pricing-grid      { grid-template-columns: 1fr 1fr; }
  .footer-inner      { flex-direction: row; justify-content: space-between; text-align: left; }
}

/* ── Responsive: desktop ──────────────────────────────────── */
@media (min-width: 1024px) {
  :root { --pad-section: 112px; }
  .steps-grid    { grid-template-columns: 1fr 1fr 1fr; }
  .pricing-grid  { grid-template-columns: 1fr 1fr 1fr; }
  .personas-grid { grid-template-columns: 1fr 1fr 1fr; }
  .demo-grid     { grid-template-columns: 1fr 1fr; align-items: start; }
  .faq-list      { max-width: none; }
}

/* ── Print / accessibility ────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

/* ── Punch-up overrides — type + restrained accents ── */
.section-label, .section-label.light, .section-label.gold {
  font-family: var(--font-mono); font-weight: 600;
  font-size: .7rem; letter-spacing: .16em;
  border-radius: 4px; padding: 5px 10px;
}
.section-headline { letter-spacing: -.035em; line-height: 1.08; font-weight: 700; }
.hero-content h1  { letter-spacing: -.04em;  line-height: 1.05; }
.demo-copy h2     { letter-spacing: -.035em; }
.logo, .footer-logo { letter-spacing: -.02em; }
.btn-primary,
.pricing-card .btn-primary,
.pricing-card.featured .btn-primary {
  background: var(--blue);
  box-shadow: 0 1px 2px rgba(0,0,0,.08), 0 6px 20px rgba(15,118,110,.28);
}
.btn-primary:hover,
.pricing-card .btn-primary:hover,
.pricing-card.featured .btn-primary:hover { background: var(--blue-hover); }
.featured-badge { font-family: var(--font-mono); font-weight: 600; letter-spacing: .12em; }
.price-amount, tbody td { font-feature-settings: 'tnum' 1, 'cv05' 1; }
/* fade the seam where a dark section meets the light one below it */
#problem, #benefits { background: linear-gradient(180deg, #0d1a1c 0%, var(--gray-50) 88px) !important; }
#faq { background: linear-gradient(180deg, #0d1a1c 0%, var(--white) 88px); }
