/* ============================================================
   MIA — Premium Workflow Automation
   styles.css
   ============================================================ */

/* ── Root Variables ─────────────────────────────────────────── */
:root {
  --bg-deep:        #050914;
  --bg-card:        rgba(255,255,255,0.045);
  --bg-card-hover:  rgba(255,255,255,0.07);
  --border:         rgba(255,255,255,0.09);
  --border-strong:  rgba(255,255,255,0.16);
  --text:           #f0f4ff;
  --text-muted:     rgba(200,215,255,0.55);
  --text-subtle:    rgba(200,215,255,0.35);
  --accent-cyan:    #38d9f5;
  --accent-purple:  #9b7eff;
  --accent-teal:    #2de2c4;
  --shadow-card:    0 8px 40px rgba(0,0,0,0.45), 0 1px 0 rgba(255,255,255,0.06) inset;
  --radius-lg:      20px;
  --radius-md:      14px;
  --radius-sm:      10px;
  --radius-pill:    999px;
  --max-w:          1100px;
  --section-gap:    100px;
  --section-pad-top:    var(--section-gap);
  --section-pad-bottom: var(--section-gap);
}

/* ── Reset ──────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; }
body {
  font-family: 'Inter', sans-serif;
  background: var(--bg-deep);
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: inherit; }
img { display: block; max-width: 100%; }

/* ── Fixed Decorative Background ───────────────────────────── */
.bg-stage {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

/* Page gradient */
.bg-stage::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 20% 10%,  rgba(56,120,255,0.18) 0%, transparent 60%),
    radial-gradient(ellipse 70% 50% at 80% 5%,   rgba(155,126,255,0.14) 0%, transparent 55%),
    radial-gradient(ellipse 60% 40% at 50% 90%,  rgba(45,226,196,0.10) 0%, transparent 55%),
    linear-gradient(175deg, #07112b 0%, #050914 50%, #06101f 100%);
}

/* Aurora blobs */
.aurora-1, .aurora-2, .aurora-3 {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.18;
}
.aurora-1 {
  width: 800px; height: 600px;
  background: radial-gradient(circle, #4fa8f7 0%, #1e3a8a 60%, transparent 100%);
  top: -200px; left: -150px;
}
.aurora-2 {
  width: 700px; height: 500px;
  background: radial-gradient(circle, #9b7eff 0%, #4c2c8a 60%, transparent 100%);
  top: 30%; right: -200px;
  opacity: 0.14;
}
.aurora-3 {
  width: 600px; height: 500px;
  background: radial-gradient(circle, #2de2c4 0%, #0d6e5e 60%, transparent 100%);
  bottom: 5%; left: 10%;
  opacity: 0.12;
}

/* Glossy spheres */
.sphere {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.sphere-1 {
  width: 220px; height: 220px;
  top: 8%; right: 8%;
  background: radial-gradient(circle at 35% 35%, rgba(255,255,255,0.22), rgba(79,168,247,0.12) 50%, rgba(56,217,245,0.04) 100%);
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: inset 0 1px 30px rgba(255,255,255,0.06), 0 10px 60px rgba(56,217,245,0.15);
}
.sphere-2 {
  width: 140px; height: 140px;
  top: 42%; left: 3%;
  background: radial-gradient(circle at 35% 35%, rgba(255,255,255,0.18), rgba(155,126,255,0.10) 50%, rgba(155,126,255,0.03) 100%);
  border: 1px solid rgba(255,255,255,0.09);
  box-shadow: inset 0 1px 20px rgba(255,255,255,0.05), 0 8px 40px rgba(155,126,255,0.18);
}
.sphere-3 {
  width: 90px; height: 90px;
  bottom: 18%; right: 12%;
  background: radial-gradient(circle at 35% 35%, rgba(255,255,255,0.20), rgba(45,226,196,0.10) 50%, rgba(45,226,196,0.03) 100%);
  border: 1px solid rgba(255,255,255,0.10);
  box-shadow: inset 0 1px 14px rgba(255,255,255,0.05), 0 6px 30px rgba(45,226,196,0.18);
}
.sphere-4 {
  width: 60px; height: 60px;
  top: 62%; right: 22%;
  background: radial-gradient(circle at 35% 35%, rgba(255,255,255,0.16), rgba(79,168,247,0.08) 50%, transparent 100%);
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 4px 20px rgba(79,168,247,0.15);
}
.sphere-5 {
  width: 110px; height: 110px;
  top: 22%; left: 28%;
  background: radial-gradient(circle at 35% 35%, rgba(255,255,255,0.19), rgba(45,226,196,0.09) 50%, rgba(45,226,196,0.02) 100%);
  border: 1px solid rgba(255,255,255,0.09);
  box-shadow: inset 0 1px 18px rgba(255,255,255,0.05), 0 6px 34px rgba(45,226,196,0.14);
}



/* ── Layout Shell ───────────────────────────────────────────── */
.shell {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 32px;
}

/* ── Section helpers ────────────────────────────────────────── */
section {
  position: relative;
  z-index: 1;
  padding: var(--section-pad-top) 0 var(--section-pad-bottom);
}

.section-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-cyan);
  background: rgba(56,217,245,0.13);
  border: 1px solid rgba(56,217,245,0.30);
  border-radius: var(--radius-pill);
  padding: 5px 16px;
  margin-bottom: 22px;
}

.section-heading {
  font-size: clamp(1.65rem, 3vw, 2.25rem);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  max-width: 680px;
}

.section-sub {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 580px;
  margin-bottom: 32px;
  line-height: 1.7;
}

/* ── Section alt background ─────────────────────────────────── */
.section-alt {
  background: rgba(255,255,255,0.04);
  border-top: 1px solid var(--border-strong);
  border-bottom: 1px solid var(--border-strong);
}

/* Subtle dark overlay on fully-transparent sections to calm the fixed aurora behind them */
#how-it-works,
#example-results,
#pricing {
  background: rgba(5,9,20,0.30);
}

/* ── Glass Base ─────────────────────────────────────────────── */
.glass {
  background: var(--bg-card);
  border: 1px solid var(--border);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}

/* ── Header ─────────────────────────────────────────────────── */
#site-header {
  position: sticky;
  top: 16px;
  z-index: 100;
  padding: 0;
}
#site-header .shell {
  padding-top: 0;
  padding-bottom: 0;
}
.header-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 12px 22px 12px 16px;
  background: rgba(10,17,40,0.72);
  border: 1px solid var(--border-strong);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-radius: var(--radius-pill);
  box-shadow: 0 8px 40px rgba(0,0,0,0.5), 0 1px 0 rgba(255,255,255,0.07) inset;
  transition: padding 0.25s, background 0.25s;
}

/* Scroll progress bar */
.header-inner::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  height: 1.5px;
  width: 100%;
  background: linear-gradient(90deg, var(--accent-cyan), var(--accent-purple));
  border-radius: var(--radius-pill);
  transform-origin: left center;
  transform: scaleX(var(--scroll-progress, 0));
  opacity: 0.85;
  pointer-events: none;
  z-index: 1;
}

/* Logo block */
.logo-block {
  display: flex;
  align-items: center;
  gap: 11px;
  flex-shrink: 0;
}
.logo-icon {
  width: 48px; height: 38px;
  border-radius: 10px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 2px 12px rgba(0,0,0,0.3);
  flex-shrink: 0;
  transition: width 0.25s, height 0.25s, background 0.3s, border-color 0.3s;
}
.logo-icon svg {
  transition: width 0.25s, height 0.25s, filter 0.3s;
}
.logo-block:hover .logo-icon {
  background: rgba(56,217,245,0.08);
  border-color: rgba(56,217,245,0.28);
}
.logo-block:hover .logo-icon svg {
  filter: drop-shadow(0 0 5px rgba(56,217,245,0.55));
}
.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.logo-text .brand-name {
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: #fff;
}

/* Nav */
.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}
.site-nav a:not(.nav-cta) {
  position: relative;
  font-size: 13px;
  font-weight: 500;
  color: rgba(200,215,255,0.70);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  transition: color 0.2s, background 0.2s;
  white-space: nowrap;
}
.site-nav a:not(.nav-cta)::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 14px;
  right: 14px;
  height: 1.5px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--accent-cyan), var(--accent-purple));
  opacity: 0;
  transform: scaleX(0.4);
  transition: opacity 0.2s, transform 0.2s;
}
.site-nav a:not(.nav-cta):hover {
  color: #fff;
  background: rgba(255,255,255,0.07);
}
.site-nav a:not(.nav-cta):hover::after {
  opacity: 0.6;
  transform: scaleX(1);
}
.site-nav a:not(.nav-cta).is-active {
  color: #fff;
}
.site-nav a:not(.nav-cta).is-active::after {
  opacity: 1;
  transform: scaleX(1);
}

/* Per-section accent colors on active link */
.site-nav a[data-accent="cyan"].is-active  { color: var(--accent-cyan); }
.site-nav a[data-accent="teal"].is-active  { color: var(--accent-teal); }
.site-nav a[data-accent="purple"].is-active { color: var(--accent-purple); }
.site-nav a[data-accent="cyan"].is-active::after   { background: var(--accent-cyan); }
.site-nav a[data-accent="teal"].is-active::after   { background: var(--accent-teal); }
.site-nav a[data-accent="purple"].is-active::after { background: var(--accent-purple); }

.nav-cta { margin-left: 4px; flex-shrink: 0; }

/* Scroll-shrink state */
#site-header.scrolled .header-inner {
  padding-top: 8px;
  padding-bottom: 8px;
  background: rgba(10,17,40,0.85);
}
#site-header.scrolled .logo-icon {
  width: 40px;
  height: 32px;
}
#site-header.scrolled .logo-icon svg {
  width: 20px;
  height: 14px;
}

/* Nav toggle (hamburger) */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  padding: 8px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  flex-shrink: 0;
}
.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: rgba(200,215,255,0.70);
  border-radius: 2px;
  transition: transform 0.22s, opacity 0.22s;
  transform-origin: center;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ── Buttons ─────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.01em;
  border: none;
  transition: transform 0.18s, box-shadow 0.18s, background 0.18s, opacity 0.18s, border-color 0.18s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: #e8eeff;
  color: #07112b;
  box-shadow: 0 4px 24px rgba(232,238,255,0.18);
}
.btn-primary:hover {
  background: #fff;
  box-shadow: 0 6px 32px rgba(232,238,255,0.28);
}

.btn-secondary {
  background: rgba(56,217,245,0.07);
  color: rgba(220,230,255,0.92);
  border: 1px solid rgba(56,217,245,0.28);
}
.btn-secondary:hover {
  background: rgba(56,217,245,0.13);
  border-color: rgba(56,217,245,0.48);
}

.btn-sm {
  padding: 10px 20px;
  font-size: 13px;
}
.btn-full { width: 100%; }
.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

/* ── Hero ───────────────────────────────────────────────────── */
.hero-text .section-tag { margin-bottom: 20px; }

#hero {
  padding-top: 80px;
  padding-bottom: var(--section-gap);
}
.hero-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  margin-bottom: 48px;
}
.hero-headline {
  font-size: clamp(2.4rem, 5.5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.13;
  letter-spacing: -0.03em;
  margin: 0 0 24px;
}
.hero-headline em {
  font-style: normal;
  background: linear-gradient(95deg, var(--accent-cyan), var(--accent-purple));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-sub {
  color: var(--text-muted);
  font-size: 1.12rem;
  margin: 0 0 32px;
  line-height: 1.7;
}
.hero-ctas {
  display: flex;
  gap: 14px;
  justify-content: flex-start;
  flex-wrap: wrap;
  margin-bottom: 0;
}

/* Proof row */
.proof-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--border-strong);
  padding-top: 32px;
  max-width: 740px;
}
.proof-card {
  padding: 4px 28px 4px 20px;
  text-align: left;
  border-left: 2px solid rgba(56,217,245,0.25);
  transition: border-color 0.25s;
}
.proof-card:hover {
  border-color: rgba(56,217,245,0.55);
}
.proof-card-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--accent-cyan);
  margin-bottom: 6px;
  letter-spacing: 0.01em;
}
.proof-card-text {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.55;
}

/* ── Hero Mockup ────────────────────────────────────────────── */
.hero-mockup {
  margin: 0;
  max-width: none;
}
.mockup-window {
  border-radius: var(--radius-lg);
  overflow: hidden;
  text-align: left;
}
.mockup-titlebar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  background: rgba(255,255,255,0.03);
}
.mockup-dots {
  display: flex;
  gap: 5px;
  flex-shrink: 0;
}
.mockup-dots span {
  width: 9px; height: 9px;
  border-radius: 50%;
}
.mockup-dots span:nth-child(1) { background: rgba(248,113,113,0.55); }
.mockup-dots span:nth-child(2) { background: rgba(251,191,36,0.45); }
.mockup-dots span:nth-child(3) { background: rgba(52,211,153,0.45); }
.mockup-win-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.mockup-live {
  font-size: 10px;
  font-weight: 700;
  color: #34d399;
  background: rgba(52,211,153,0.10);
  border: 1px solid rgba(52,211,153,0.22);
  border-radius: var(--radius-pill);
  padding: 2px 9px;
  letter-spacing: 0.04em;
  flex-shrink: 0;
}
.mockup-steps { padding: 4px 0; }
.mockup-step {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 16px;
  border-bottom: 1px solid rgba(255,255,255,0.035);
}
.mockup-step:last-child { border-bottom: none; }
.mstep-icon {
  width: 24px; height: 24px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px;
  font-weight: 700;
  flex-shrink: 0;
  line-height: 1;
}
.is-done    .mstep-icon { background: rgba(52,211,153,0.12);  border: 1px solid rgba(52,211,153,0.25);  color: #34d399; }
.is-running .mstep-icon { background: rgba(56,217,245,0.12);  border: 1px solid rgba(56,217,245,0.28);  color: var(--accent-cyan); }
.is-waiting .mstep-icon { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.09); color: var(--text-subtle); }
.mstep-info { flex: 1; min-width: 0; }
.mstep-name {
  display: block;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.is-waiting .mstep-name { color: var(--text-subtle); }
.mstep-meta {
  display: block;
  font-size: 11px;
  color: var(--text-subtle);
  margin-top: 1px;
}
.mstep-tag {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
  border-radius: var(--radius-pill);
  padding: 2px 9px;
  flex-shrink: 0;
}
.tag-done    { background: rgba(52,211,153,0.10); border: 1px solid rgba(52,211,153,0.20); color: #34d399; }
.tag-running { background: rgba(56,217,245,0.10); border: 1px solid rgba(56,217,245,0.22); color: var(--accent-cyan); }
.tag-waiting { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08); color: var(--text-subtle); }
.mockup-footer-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  border-top: 1px solid var(--border);
  background: rgba(255,255,255,0.02);
}
.mockup-footer-bar span { font-size: 11px; color: var(--text-subtle); }
@keyframes spin-icon { to { transform: rotate(360deg); } }
.spin-icon { display: inline-block; animation: spin-icon 1.4s linear infinite; }

/* ── Grid Helpers ───────────────────────────────────────────── */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

/* ── Feature Cards ──────────────────────────────────────────── */
.feature-card {
  padding: 30px 28px;
  transition: background 0.25s, transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}

/* Glass variant (Why Mia, etc.) */
.feature-card.glass:hover {
  background: var(--bg-card-hover);
  transform: translateY(-4px);
  box-shadow: 0 12px 50px rgba(0,0,0,0.5), 0 1px 0 rgba(255,255,255,0.07) inset;
}
.feature-card.glass:has(.icon-cyan):hover   { box-shadow: 0 12px 50px rgba(0,0,0,0.5), 0 1px 0 rgba(255,255,255,0.07) inset, 0 0 50px rgba(56,217,245,0.10); }
.feature-card.glass:has(.icon-purple):hover { box-shadow: 0 12px 50px rgba(0,0,0,0.5), 0 1px 0 rgba(255,255,255,0.07) inset, 0 0 50px rgba(155,126,255,0.10); }
.feature-card.glass:has(.icon-teal):hover   { box-shadow: 0 12px 50px rgba(0,0,0,0.5), 0 1px 0 rgba(255,255,255,0.07) inset, 0 0 50px rgba(45,226,196,0.10); }

/* Open variant (What Mia Does) */
#what-mia-does .feature-card {
  padding: 24px 24px 24px 26px;
  border-left: 2px solid rgba(255,255,255,0.10);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  background: none;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
#what-mia-does .feature-card:hover {
  background: rgba(255,255,255,0.025);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.28);
}
#what-mia-does .feature-card:has(.icon-cyan):hover   { border-left-color: rgba(56,217,245,0.50); }
#what-mia-does .feature-card:has(.icon-purple):hover { border-left-color: rgba(155,126,255,0.50); }
#what-mia-does .feature-card:has(.icon-teal):hover   { border-left-color: rgba(45,226,196,0.50); }
.feature-card-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.feature-card-icon svg { width: 22px; height: 22px; }
.icon-cyan  { background: rgba(56,217,245,0.12);  border: 1px solid rgba(56,217,245,0.20); }
.icon-purple{ background: rgba(155,126,255,0.12); border: 1px solid rgba(155,126,255,0.20); }
.icon-teal  { background: rgba(45,226,196,0.12);  border: 1px solid rgba(45,226,196,0.20); }

.feature-card h3 {
  font-size: 15.5px;
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}
.feature-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ── Steps ──────────────────────────────────────────────────── */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  position: relative;
}
.step {
  padding: 28px 24px;
  position: relative;
  overflow: visible;
  transition: background 0.25s, transform 0.25s, border-color 0.25s;
  border-top: 2px solid rgba(45,226,196,0.22);
}
.step:hover {
  background: var(--bg-card-hover);
  transform: translateY(-3px);
  border-top-color: rgba(45,226,196,0.50);
}
.step-number {
  display: block;
  font-size: 3rem;
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1;
  color: rgba(56,217,245,0.13);
  margin-bottom: 14px;
}
/* Connector chevron between steps */
.step:not(:last-child)::after {
  content: '';
  position: absolute;
  right: -10px;
  top: 42px;
  width: 8px;
  height: 8px;
  border-right: 1.5px solid rgba(56,217,245,0.40);
  border-top: 1.5px solid rgba(56,217,245,0.40);
  transform: rotate(45deg);
  z-index: 2;
}
.step h3 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}
.step p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ── Case / Example Cards ───────────────────────────────────── */
.case-card {
  padding: 34px 32px;
  border-top: 2px solid rgba(56,217,245,0.35);
  transition: background 0.25s, transform 0.25s, border-color 0.25s;
}
.case-card:hover {
  background: var(--bg-card-hover);
  transform: translateY(-4px);
  border-top-color: rgba(56,217,245,0.65);
}
#example-results .case-card:nth-child(2) { border-top-color: rgba(155,126,255,0.35); }
#example-results .case-card:nth-child(2):hover { border-top-color: rgba(155,126,255,0.65); }
#example-results .case-card:nth-child(3) { border-top-color: rgba(45,226,196,0.35); }
#example-results .case-card:nth-child(3):hover { border-top-color: rgba(45,226,196,0.65); }

/* Company label color matches card top border accent */
#example-results .case-card:nth-child(1) .case-company {
  color: var(--accent-cyan);
  background: rgba(56,217,245,0.10);
  border-color: rgba(56,217,245,0.20);
}
#example-results .case-card:nth-child(3) .case-company {
  color: var(--accent-teal);
  background: rgba(45,226,196,0.10);
  border-color: rgba(45,226,196,0.20);
}
.case-company {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-purple);
  margin-bottom: 14px;
  background: rgba(155,126,255,0.10);
  border: 1px solid rgba(155,126,255,0.20);
  border-radius: var(--radius-pill);
  display: inline-block;
  padding: 3px 12px;
}
.case-card h3 {
  font-size: 15.5px;
  font-weight: 700;
  margin-bottom: 12px;
  line-height: 1.35;
  letter-spacing: -0.01em;
}
.case-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 18px;
}
.case-result {
  font-size: 13px;
  font-weight: 600;
  color: var(--accent-teal);
  background: rgba(45,226,196,0.08);
  border: 1px solid rgba(45,226,196,0.18);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
}

/* ── FAQ ─────────────────────────────────────────────────────── */
.faq-grid {
  display: flex;
  flex-direction: column;
  max-width: 760px;
}
.faq-item {
  padding: 26px 0;
  border-bottom: 1px solid var(--border);
}
.faq-item:first-child { border-top: 1px solid var(--border); }
.faq-item h3 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
  line-height: 1.35;
  color: var(--text);
}
.faq-item p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.65;
  max-width: 640px;
}

/* ── Pricing ─────────────────────────────────────────────────── */
#pricing { padding-bottom: var(--section-pad-bottom); }

.pricing-intro {
  font-size: 13.5px;
  color: var(--text-muted);
  margin-bottom: 30px;
  max-width: 560px;
}

.pricing-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  align-items: start;
}
.pricing-card {
  padding: 32px 28px;
  position: relative;
  transition: background 0.25s, transform 0.25s;
}
.pricing-card:hover {
  background: var(--bg-card-hover);
  transform: translateY(-4px);
}
.pricing-card-featured {
  border-top: 2px solid var(--accent-cyan);
  background: rgba(56,217,245,0.04);
  box-shadow: var(--shadow-card), 0 0 60px rgba(56,217,245,0.10);
}
.pricing-card-custom {
  border-top: 2px solid var(--accent-purple);
  background: rgba(155,126,255,0.03);
}
.pricing-card-badge {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--accent-cyan);
  background: rgba(56,217,245,0.10);
  border: 1px solid rgba(56,217,245,0.22);
  border-radius: var(--radius-pill);
  display: inline-block;
  padding: 3px 11px;
  margin-bottom: 16px;
}
.pricing-card:not(.pricing-card-featured):not(.pricing-card-custom) .pricing-card-name,
.pricing-card-custom .pricing-card-name {
  margin-top: 34px;
}
.pricing-card-name {
  font-size: 17px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}
.pricing-card-fit {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 28px;
  min-height: 40px;
}
.pricing-card-price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 6px;
}
.pricing-card-amount {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.03em;
  line-height: 1;
}
.pricing-card-period {
  font-size: 13px;
  color: var(--text-subtle);
}
.pricing-card-monthly {
  font-size: 13px;
  color: var(--text-muted);
  padding-top: 14px;
  border-top: 1px solid var(--border);
  margin-top: 14px;
}
.pricing-card-features {
  list-style: none;
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.pricing-card-features li {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
  padding-left: 20px;
  position: relative;
}
.pricing-card-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent-cyan);
  font-size: 11px;
  top: 1px;
}
.pricing-card-custom  .pricing-card-features li::before { color: var(--accent-purple); }

/* Custom tier CTA button uses purple ghost to match card accent */
.pricing-card-custom .pricing-card-btn {
  background: rgba(155,126,255,0.07);
  color: rgba(220,230,255,0.92);
  border: 1px solid rgba(155,126,255,0.28);
}
.pricing-card-custom .pricing-card-btn:hover {
  background: rgba(155,126,255,0.13);
  border-color: rgba(155,126,255,0.48);
}

.pricing-card-btn {
  display: flex;
  width: 100%;
  margin-top: 22px;
  justify-content: center;
}

.pricing-cta {
  margin-top: 44px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
}
.pricing-cta-note {
  font-size: 13.5px;
  color: var(--text-muted);
}

/* ── Contact ─────────────────────────────────────────────────── */
#contact { padding-bottom: var(--section-pad-bottom); }

.lead-grid {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 28px;
  align-items: start;
  max-width: 960px;
}

/* Form */
.contact-form-wrap {
  padding: 30px 28px;
}
.contact-form-title {
  font-size: 15.5px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 22px;
  color: var(--text);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 14px;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.field label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--text-muted);
}
.field input,
.field textarea {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 11px 14px;
  font-size: 13.5px;
  font-family: inherit;
  color: var(--text);
  transition: border-color 0.2s, background 0.2s;
  outline: none;
  resize: vertical;
}
.field input::placeholder,
.field textarea::placeholder { color: var(--text-subtle); }
.field input:focus,
.field textarea:focus {
  border-color: rgba(56,217,245,0.35);
  background: rgba(255,255,255,0.06);
}
.field-full { margin-bottom: 14px; }
.field-full textarea { min-height: 90px; }

.form-feedback {
  font-size: 13px;
  font-weight: 500;
  margin-top: 12px;
  min-height: 20px;
  transition: opacity 0.2s;
}
.form-feedback.success { color: var(--accent-teal); }
.form-feedback.error   { color: #f87171; }
.required-mark { color: #f87171; }

/* Contact info sidebar */
.contact-info-block { padding: 28px 26px; }
.contact-info-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 18px;
  letter-spacing: -0.01em;
}
.contact-info-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 22px;
}
.contact-info-list li {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.55;
  padding-left: 20px;
  position: relative;
}
.contact-info-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent-teal);
  font-size: 11px;
  top: 1px;
}
.contact-info-sep {
  width: 100%;
  height: 1px;
  background: var(--border);
  margin-bottom: 18px;
}
.contact-info-note {
  font-size: 12.5px;
  color: var(--text-subtle);
  line-height: 1.6;
  font-style: italic;
}

/* ── Why Mia grid row gap ───────────────────────────────────── */
#why-choose-mia .grid-3 { row-gap: 24px; }

/* ── Section tag accent variations ─────────────────────────── */
#how-it-works .section-tag  { color: var(--accent-teal);   background: rgba(45,226,196,0.10);  border-color: rgba(45,226,196,0.25); }
#why-choose-mia .section-tag { color: var(--accent-purple); background: rgba(155,126,255,0.10); border-color: rgba(155,126,255,0.25); }
#example-results .section-tag { color: var(--accent-teal);  background: rgba(45,226,196,0.10);  border-color: rgba(45,226,196,0.25); }
#pricing .section-tag  { color: var(--accent-purple); background: rgba(155,126,255,0.10); border-color: rgba(155,126,255,0.25); }
#contact .section-tag  { color: var(--accent-teal);   background: rgba(45,226,196,0.10);  border-color: rgba(45,226,196,0.25); }

/* ── Footer ──────────────────────────────────────────────────── */
footer {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 40px 32px;
  border-top: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, var(--accent-cyan) 25%, var(--accent-purple) 75%, transparent 100%);
}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 4px;
  opacity: 0.85;
  transition: opacity 0.2s;
}
.footer-logo:hover { opacity: 1; }
.footer-brand-name {
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: #fff;
}

.footer-cta {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 4px;
}
.footer-cta a {
  color: var(--accent-cyan);
  font-weight: 600;
}
.footer-cta a:hover { text-decoration: underline; }
.footer-copy {
  font-size: 13px;
  color: var(--text-subtle);
  line-height: 1.6;
}
.footer-nav {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: center;
}
.footer-nav a {
  font-size: 13px;
  font-weight: 500;
  color: rgba(200,215,255,0.50);
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  transition: color 0.2s, background 0.2s;
}
.footer-nav a:hover {
  color: #fff;
  background: rgba(255,255,255,0.07);
}

/* ── Reveal Animation ────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger children */
.reveal-stagger > * {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.reveal-stagger.visible > *:nth-child(1) { transition-delay: 0.05s; }
.reveal-stagger.visible > *:nth-child(2) { transition-delay: 0.13s; }
.reveal-stagger.visible > *:nth-child(3) { transition-delay: 0.21s; }
.reveal-stagger.visible > *:nth-child(4) { transition-delay: 0.29s; }
.reveal-stagger.visible > *:nth-child(5) { transition-delay: 0.37s; }
.reveal-stagger.visible > *:nth-child(6) { transition-delay: 0.45s; }
.reveal-stagger.visible > * {
  opacity: 1;
  transform: translateY(0);
}

/* ── Divider accent ──────────────────────────────────────────── */
.section-divider {
  width: 80px;
  height: 3px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--accent-cyan), var(--accent-purple));
  margin-bottom: 32px;
}

/* ── Responsive ──────────────────────────────────────────────── */
@media (max-width: 860px) {
  :root { --section-gap: 80px; }

  .nav-toggle { display: flex; }

  .header-inner {
    border-radius: var(--radius-lg);
    flex-wrap: nowrap;
    padding: 12px 16px;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    background: rgba(10,17,40,0.96);
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    padding: 10px;
    flex-direction: column;
    gap: 2px;
    box-shadow: 0 12px 40px rgba(0,0,0,0.55);
    z-index: 200;
  }
  .site-nav.is-open { display: flex; }
  .site-nav a {
    font-size: 14px;
    padding: 10px 16px;
    border-radius: var(--radius-md);
    text-align: center;
  }
  .nav-cta {
    padding: 8px 14px;
    font-size: 12px;
    margin-left: 0;
  }

  .hero-layout {
    grid-template-columns: 1fr;
    gap: 40px;
    margin-bottom: 44px;
    text-align: center;
  }
  .hero-ctas { justify-content: center; }

  .steps-grid    { grid-template-columns: repeat(2,1fr); }
  .step:not(:last-child)::after { display: none; }
  .pricing-cards { grid-template-columns: 1fr; }
  .lead-grid     { grid-template-columns: 1fr; }
  .form-row      { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  :root { --section-gap: 60px; }
  .shell { padding: 0 20px; }

  .grid-3,
  .proof-row { grid-template-columns: 1fr; }

  .grid-4,
  .steps-grid { grid-template-columns: 1fr 1fr; }
  .step:not(:last-child)::after { display: none; }

  .hero-headline { font-size: clamp(2rem, 8vw, 2.8rem); }
  .hero-ctas     { flex-direction: column; align-items: center; }
}

@media (max-width: 480px) {
  .grid-4,
  .steps-grid { grid-template-columns: 1fr; }

  .section-heading { font-size: 1.5rem; }
}
