/* ============================================================
   SCION MEDIA — Premium SaaS Stylesheet
   Final version. Linear/Vercel/Stripe tier polish.
============================================================ */

/* ---------- Design Tokens ---------- */
:root {
  /* Brand Colors */
  --cyan: #00B4D8;
  --cyan-dark: #0096B8;
  --cyan-light: #5FD4F0;
  --green: #2ECC71;
  --orange: #FB8C00;
  --gold: #FFD700;
  --red: #E53935;
  --navy: #0D1B3E;
  --navy-light: #1a2a52;
  --black: #000000;
  --white: #ffffff;

  /* Neutrals */
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #475569;
  --gray-700: #334155;
  --gray-800: #1e293b;
  --gray-900: #0f172a;

  --border: #e5e7eb;
  --border-light: #eef0f3;

  /* Type Scale */
  --text-xs: 13px;
  --text-sm: 15px;
  --text-base: 17px;
  --text-lg: 20px;
  --text-xl: 24px;
  --text-2xl: 32px;
  --text-3xl: 44px;
  --text-4xl: 60px;
  --text-5xl: 84px;

  /* Spacing */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-8: 32px;
  --space-10: 40px;
  --space-12: 48px;
  --space-16: 64px;
  --space-20: 80px;
  --space-24: 96px;
  --space-32: 128px;
  --space-36: 144px;

  /* Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --radius-2xl: 28px;
  --radius-full: 999px;

  /* Shadows */
  --shadow-xs: 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.05), 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 8px 24px rgba(15, 23, 42, 0.06), 0 2px 6px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 20px 48px rgba(15, 23, 42, 0.1), 0 8px 16px rgba(15, 23, 42, 0.06);
  --shadow-xl: 0 32px 80px rgba(15, 23, 42, 0.14), 0 12px 24px rgba(15, 23, 42, 0.08);
  --shadow-cyan: 0 8px 32px rgba(0, 180, 216, 0.25), 0 2px 8px rgba(0, 180, 216, 0.15);
  --shadow-cyan-lg: 0 24px 64px rgba(0, 180, 216, 0.35), 0 8px 16px rgba(0, 180, 216, 0.2);

  /* Transitions */
  --t-fast: 150ms ease-out;
  --t-base: 200ms ease-out;
  --t-slow: 300ms ease-out;
  --t-slower: 500ms cubic-bezier(0.16, 1, 0.3, 1);

  /* Layout */
  --container: 1280px;
  --container-sm: 1100px;
  --nav-h: 72px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: var(--text-base);
  line-height: 1.7;
  color: var(--gray-600);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: 'cv11', 'ss01', 'ss03';
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, button, textarea, select { font: inherit; color: inherit; }

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5 {
  font-family: 'Bricolage Grotesque', 'Inter', sans-serif;
  font-variation-settings: 'wdth' 100, 'opsz' 32;
  color: var(--navy);
  margin: 0;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.025em;
}

h1 {
  font-size: clamp(40px, 8vw, 84px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.04em;
  font-variation-settings: 'wdth' 100, 'opsz' 96;
}

h2 {
  font-size: clamp(32px, 5vw, 56px);
  letter-spacing: -0.025em;
  font-variation-settings: 'wdth' 100, 'opsz' 60;
}

h3 {
  font-size: 28px;
  font-weight: 600;
  line-height: 1.2;
}

h4 {
  font-size: var(--text-lg);
  font-weight: 600;
  line-height: 1.3;
}

p {
  margin: 0 0 var(--space-4);
  line-height: 1.7;
}

.eyebrow {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--cyan);
  margin-bottom: var(--space-5);
}

.gradient-text {
  background: linear-gradient(120deg, #00B4D8 0%, #2ECC71 50%, #7C5CFA 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.lede {
  font-size: clamp(17px, 2vw, 22px);
  line-height: 1.6;
  color: var(--gray-600);
  max-width: 720px;
  margin: 0 auto var(--space-10);
}

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

section { padding: 140px 0; position: relative; }
.section-light { background: var(--white); }
.section-gray { background: var(--gray-50); }
.section-dark { background: var(--navy); color: rgba(255,255,255,0.75); }
.section-dark h1, .section-dark h2, .section-dark h3 { color: var(--white); }
.section-gradient {
  background:
    radial-gradient(ellipse at top, rgba(0, 180, 216, 0.06), transparent 60%),
    radial-gradient(ellipse at bottom right, rgba(124, 92, 250, 0.04), transparent 50%),
    var(--white);
}

.section-head { text-align: center; max-width: 760px; margin: 0 auto var(--space-20); }

/* ---------- Navigation ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  height: var(--nav-h);
  border-bottom: 1px solid transparent;
  transition: border-color var(--t-base), box-shadow var(--t-base), background var(--t-base);
}
.nav.scrolled {
  background: rgba(255,255,255,0.95);
  border-bottom-color: var(--border);
  box-shadow: 0 1px 0 rgba(15,23,42,0.02), 0 4px 16px rgba(15,23,42,0.04);
}
.nav-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-8);
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 700;
  font-size: 19px;
  color: var(--navy);
  letter-spacing: -0.02em;
}
.nav-logo img { max-height: 36px; width: auto; }
.nav-links {
  display: flex;
  gap: var(--space-8);
  align-items: center;
  list-style: none;
  margin: 0; padding: 0;
}
.nav-links a {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--gray-700);
  position: relative;
  transition: color var(--t-base);
}
.nav-links a:hover { color: var(--navy); }
.nav-links a::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -6px;
  height: 2px;
  background: var(--cyan);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t-slow);
}
.nav-links a:hover::after { transform: scaleX(1); }
.nav-cta {
  display: flex;
  align-items: center;
  gap: var(--space-5);
}
.nav-cta .signin {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--gray-700);
}
.nav-cta .signin:hover { color: var(--navy); }

.hamburger {
  display: none;
  width: 40px; height: 40px;
  position: relative;
  border-radius: var(--radius-sm);
}
.hamburger span {
  position: absolute;
  left: 10px; right: 10px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: transform var(--t-base), opacity var(--t-base), top var(--t-base);
}
.hamburger span:nth-child(1) { top: 14px; }
.hamburger span:nth-child(2) { top: 19px; }
.hamburger span:nth-child(3) { top: 24px; }
.hamburger.open span:nth-child(1) { top: 19px; transform: rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { top: 19px; transform: rotate(-45deg); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 32px;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.01em;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: transform var(--t-base), box-shadow var(--t-base), background var(--t-base);
  white-space: nowrap;
  user-select: none;
}
.btn svg { transition: transform var(--t-base); }
.btn:hover svg { transform: translateX(3px); }

.btn-primary {
  background: var(--navy);
  color: var(--white);
  box-shadow: 0 2px 8px rgba(13,27,62,0.18), 0 1px 2px rgba(13,27,62,0.1);
}
.btn-primary:hover {
  transform: translateY(-2px);
  background: var(--navy-light);
  box-shadow: 0 12px 28px rgba(13,27,62,0.25), 0 4px 8px rgba(13,27,62,0.12);
}

.btn-cyan {
  background: linear-gradient(135deg, #00B4D8 0%, #0096B8 100%);
  color: var(--white);
  box-shadow: 0 2px 12px rgba(0,180,216,0.3), 0 1px 2px rgba(0,180,216,0.15);
}
.btn-cyan:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-cyan-lg);
}

.btn-ghost {
  background: var(--white);
  color: var(--navy);
  border: 1px solid var(--border);
}
.btn-ghost:hover {
  border-color: var(--gray-300);
  box-shadow: var(--shadow-sm);
  transform: translateY(-1px);
}

.btn-large {
  padding: 20px 40px;
  font-size: 18px;
  border-radius: 14px;
}

.btn-sm {
  padding: 10px 18px;
  font-size: var(--text-sm);
  border-radius: 10px;
}

/* ---------- Glass Card ---------- */
.glass-card {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.6);
  box-shadow: 0 8px 32px rgba(0,0,0,0.06), 0 2px 8px rgba(0,0,0,0.04);
  border-radius: var(--radius-xl);
}

.glass-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(255,255,255,0.8);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(0,180,216,0.18);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--navy);
  box-shadow: 0 4px 16px rgba(0,180,216,0.08), 0 1px 3px rgba(15,23,42,0.04);
}
.glass-pill .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 3px rgba(0,180,216,0.18);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(0,180,216,0.18); }
  50% { box-shadow: 0 0 0 6px rgba(0,180,216,0.08); }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: calc(var(--nav-h) + 100px) 0 100px;
  overflow: hidden;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(0,180,216,0.07), transparent 60%),
    radial-gradient(ellipse 60% 40% at 20% 30%, rgba(124,92,250,0.04), transparent 60%),
    var(--white);
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(13,27,62,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(13,27,62,0.025) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 60% 50% at 50% 30%, black 40%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 60% 50% at 50% 30%, black 40%, transparent 100%);
  pointer-events: none;
}
.hero-inner { position: relative; text-align: center; max-width: 1100px; margin: 0 auto; padding: 0 32px; }
.hero h1 { margin: 24px 0 24px; }
.hero .lede { margin-bottom: 48px; }

/* Scan Form */
.scan-form-wrapper { max-width: 600px; margin: 0 auto; }
.scan-form {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(0,180,216,0.18);
  border-radius: var(--radius-lg);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.6) inset,
    0 24px 60px rgba(13,27,62,0.12),
    0 8px 24px rgba(0,180,216,0.08),
    0 2px 6px rgba(15,23,42,0.04);
  transition: box-shadow var(--t-slow), border-color var(--t-slow), transform var(--t-slow);
}
.scan-form:focus-within {
  border-color: var(--cyan);
  box-shadow:
    0 0 0 4px rgba(0,180,216,0.15),
    0 24px 60px rgba(13,27,62,0.14),
    0 8px 24px rgba(0,180,216,0.18);
}
.scan-input {
  flex: 1;
  padding: 18px 22px;
  border: none;
  background: transparent;
  font-size: 17px;
  color: var(--navy);
  outline: none;
  min-width: 0;
}
.scan-input::placeholder { color: var(--gray-400); }
.scan-btn {
  padding: 18px 28px;
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 16px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: transform var(--t-base), background var(--t-base), box-shadow var(--t-base);
}
.scan-btn:hover {
  background: var(--navy-light);
  box-shadow: 0 8px 24px rgba(13,27,62,0.25);
}
.scan-btn .arrow { transition: transform var(--t-base); }
.scan-btn:hover .arrow { transform: translateX(4px); }
.scan-helper {
  margin-top: 16px;
  font-size: var(--text-sm);
  color: var(--gray-500);
}
.trust-row {
  margin-top: 32px;
  font-size: var(--text-sm);
  color: var(--gray-500);
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}
.trust-row span { display: inline-flex; align-items: center; gap: 6px; }

.spinner {
  width: 18px; height: 18px;
  border: 2px solid rgba(255,255,255,0.3);
  border-top-color: var(--white);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Hero Dashboard Mockup ---------- */
.hero-mockup {
  margin: 100px auto 0;
  max-width: 1100px;
  position: relative;
  animation: float 6s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
.hero-mockup svg {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 40px 80px rgba(13,27,62,0.18)) drop-shadow(0 16px 32px rgba(13,27,62,0.1));
}

/* ---------- Logo Marquee ---------- */
.marquee-section {
  padding: 80px 0;
  background: var(--white);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}
.marquee-label {
  text-align: center;
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--gray-500);
  margin-bottom: 40px;
}
.marquee {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
}
.marquee-track {
  display: flex;
  gap: 80px;
  width: max-content;
  animation: scroll-x 40s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes scroll-x {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.marquee-logo {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.05em;
  color: var(--gray-400);
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: color var(--t-base);
}
.marquee-logo:hover { color: var(--navy); }
.marquee-logo .mlogo-mark {
  width: 22px; height: 22px;
  border-radius: 6px;
  background: linear-gradient(135deg, var(--gray-300), var(--gray-200));
  display: inline-block;
}

/* ---------- Stats ---------- */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.stat {
  padding: 60px 32px;
  text-align: center;
  border-right: 1px solid var(--border);
}
.stat:last-child { border-right: none; }
.stat-number {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-variation-settings: 'wdth' 100, 'opsz' 96;
  font-size: clamp(56px, 8vw, 80px);
  font-weight: 700;
  color: var(--navy);
  line-height: 1;
  letter-spacing: -0.04em;
  font-feature-settings: 'tnum' 1;
}
.stat-number .accent { color: var(--cyan); }
.stat-label {
  margin-top: 12px;
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--gray-500);
  text-transform: none;
  letter-spacing: 0;
}

/* ---------- Problem Cards ---------- */
.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.problem-card {
  padding: 40px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  transition: transform var(--t-slow), box-shadow var(--t-slow), border-color var(--t-slow);
  box-shadow: var(--shadow-xs);
}
.problem-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(0,180,216,0.3);
}
.problem-icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(0,180,216,0.12), rgba(0,180,216,0.04));
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 28px;
  color: var(--cyan);
}
.problem-card h3 { color: var(--navy); margin-bottom: 12px; font-size: 22px; }
.problem-card p { color: var(--gray-600); margin: 0; font-size: 16px; }

/* ---------- Bento Services Grid ---------- */
.bento-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  grid-template-rows: auto auto auto;
  gap: 24px;
  grid-template-areas:
    "feat feat ai"
    "seo reviews ai"
    "web web report";
}
.bento-card {
  position: relative;
  padding: 36px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  transition: transform var(--t-slow), box-shadow var(--t-slow), border-color var(--t-slow);
  box-shadow: var(--shadow-xs);
  overflow: hidden;
}
.bento-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(0,180,216,0.3);
}
.bento-card h3 { color: var(--navy); font-size: 22px; margin-bottom: 10px; }
.bento-card p { color: var(--gray-600); font-size: 15px; line-height: 1.6; margin: 0; }
.bento-icon {
  width: 52px; height: 52px;
  border-radius: 13px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 24px;
  color: var(--white);
  box-shadow: 0 6px 16px rgba(0,180,216,0.2);
}
.bi-cyan   { background: linear-gradient(135deg, #00B4D8, #0096B8); }
.bi-purple { background: linear-gradient(135deg, #7C5CFA, #5B3FE0); box-shadow: 0 6px 16px rgba(124,92,250,0.25); }
.bi-green  { background: linear-gradient(135deg, #2ECC71, #25A85A); box-shadow: 0 6px 16px rgba(46,204,113,0.22); }
.bi-orange { background: linear-gradient(135deg, #FB8C00, #E07600); box-shadow: 0 6px 16px rgba(251,140,0,0.22); }
.bi-navy   { background: linear-gradient(135deg, #1a2a52, #0D1B3E); box-shadow: 0 6px 16px rgba(13,27,62,0.22); }
.bi-pink   { background: linear-gradient(135deg, #F472B6, #DB2777); box-shadow: 0 6px 16px rgba(244,114,182,0.22); }

.bento-feat {
  grid-area: feat;
  background: linear-gradient(135deg, #0D1B3E 0%, #1a2a52 60%, #0a1530 100%);
  color: rgba(255,255,255,0.78);
  border-color: transparent;
  padding: 48px;
}
.bento-feat::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 40% at 80% 0%, rgba(0,180,216,0.25), transparent 60%);
  pointer-events: none;
}
.bento-feat h3 { color: var(--white); font-size: 28px; margin-bottom: 14px; }
.bento-feat p { color: rgba(255,255,255,0.7); font-size: 17px; max-width: 480px; }
.bento-ai      { grid-area: ai; background: linear-gradient(180deg, #f7f5ff, #ffffff); }
.bento-seo     { grid-area: seo; }
.bento-reviews { grid-area: reviews; }
.bento-web     { grid-area: web; background: linear-gradient(180deg, #f0fbff, #ffffff); }
.bento-report  { grid-area: report; }

.badge-new {
  position: absolute;
  top: 20px; right: 20px;
  padding: 4px 10px;
  background: var(--cyan);
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  border-radius: var(--radius-full);
  text-transform: uppercase;
}

/* ---------- How It Works ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  position: relative;
}
.steps::before {
  content: '';
  position: absolute;
  top: 50px;
  left: 16%;
  right: 16%;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(0,180,216,0.4), rgba(124,92,250,0.4), transparent);
}
.step {
  text-align: center;
  position: relative;
  z-index: 1;
}
.step-num {
  width: 100px; height: 100px;
  margin: 0 auto 28px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 44px;
  font-weight: 700;
  color: var(--navy);
  box-shadow: var(--shadow-md);
  position: relative;
}
.step-num::after {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(0,180,216,0.2), rgba(124,92,250,0.15));
  z-index: -1;
  filter: blur(12px);
}
.step h3 { color: var(--navy); margin-bottom: 12px; font-size: 22px; }
.step p { color: var(--gray-600); font-size: 16px; max-width: 320px; margin: 0 auto; }
.step-illo { margin-top: 24px; display: flex; justify-content: center; color: var(--cyan); }

/* ---------- Results ---------- */
.results-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.result-card {
  padding: 36px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm);
  transition: transform var(--t-slow), box-shadow var(--t-slow);
}
.result-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.result-tag {
  display: inline-block;
  padding: 5px 12px;
  background: rgba(0,180,216,0.1);
  color: var(--cyan-dark);
  font-size: 12px;
  font-weight: 600;
  border-radius: var(--radius-full);
  margin-bottom: 20px;
  letter-spacing: 0.02em;
}
.result-card h3 { font-size: 20px; margin-bottom: 24px; color: var(--navy); }
.before-after {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}
.ba-box {
  flex: 1;
  padding: 16px;
  border-radius: var(--radius-md);
  text-align: center;
  font-size: 13px;
}
.ba-before { background: var(--gray-100); color: var(--gray-600); }
.ba-after { background: linear-gradient(135deg, rgba(0,180,216,0.12), rgba(46,204,113,0.12)); color: var(--navy); font-weight: 600; }
.ba-arrow { color: var(--cyan); display: flex; }
.result-meta {
  display: flex; justify-content: space-between;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  font-size: 14px;
}
.result-meta strong { color: var(--navy); font-weight: 600; }
.result-meta .duration { color: var(--gray-500); }

.results-link { text-align: center; margin-top: 60px; }
.results-link a {
  font-weight: 600;
  color: var(--cyan-dark);
  font-size: 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: gap var(--t-base);
}
.results-link a:hover { gap: 12px; }

/* ---------- Trust Pillars (Dark) ---------- */
.pillars {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 980px;
  margin: 0 auto;
}
.pillar {
  padding: 36px;
  background: rgba(255,255,255,0.04);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-xl);
  display: flex;
  gap: 20px;
  align-items: flex-start;
  transition: transform var(--t-slow), background var(--t-slow), border-color var(--t-slow);
}
.pillar:hover {
  transform: translateY(-4px);
  background: rgba(255,255,255,0.06);
  border-color: rgba(0,180,216,0.3);
}
.pillar-check {
  width: 44px; height: 44px;
  flex-shrink: 0;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(0,180,216,0.25), rgba(0,180,216,0.1));
  display: flex; align-items: center; justify-content: center;
  color: var(--cyan);
}
.pillar h3 { color: var(--white); font-size: 19px; margin-bottom: 6px; }
.pillar p { color: rgba(255,255,255,0.65); font-size: 15px; margin: 0; line-height: 1.6; }

/* ---------- Final CTA ---------- */
.final-cta {
  text-align: center;
  background:
    radial-gradient(ellipse 60% 50% at 50% 0%, rgba(0,180,216,0.08), transparent 60%),
    var(--white);
}
.final-cta h2 { margin-bottom: 16px; }
.final-cta .lede { margin-bottom: 40px; }
.cta-call {
  margin-top: 28px;
  font-size: var(--text-sm);
  color: var(--gray-500);
}
.cta-call a { color: var(--navy); font-weight: 600; border-bottom: 1px solid rgba(13,27,62,0.2); }

/* ---------- Footer ---------- */
.footer {
  background: var(--navy);
  color: rgba(255,255,255,0.6);
  padding: 100px 0 40px;
  position: relative;
  overflow: hidden;
}
.footer::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 20% 0%, rgba(0,180,216,0.08), transparent 60%),
    radial-gradient(ellipse 60% 40% at 80% 100%, rgba(124,92,250,0.06), transparent 60%);
  pointer-events: none;
}
.footer-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 60px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand img { max-height: 40px; margin-bottom: 20px; filter: brightness(0) invert(1); }
.footer-brand p { font-size: 14px; line-height: 1.6; max-width: 320px; }
.footer h5 {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--white);
  margin-bottom: 20px;
}
.footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.footer a {
  color: rgba(255,255,255,0.6);
  font-size: 14px;
  transition: color var(--t-base);
}
.footer a:hover { color: var(--cyan); }
.footer-bottom {
  position: relative;
  padding-top: 32px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 13px;
  color: rgba(255,255,255,0.5);
}
.footer-bottom .tagline {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 600;
  color: rgba(255,255,255,0.7);
}

/* ---------- Animations ---------- */
.fade-in-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 700ms cubic-bezier(0.16,1,0.3,1), transform 700ms cubic-bezier(0.16,1,0.3,1);
}
.fade-in-up.visible { opacity: 1; transform: translateY(0); }

.scale-in {
  opacity: 0;
  transform: scale(0.96);
  transition: opacity 700ms cubic-bezier(0.16,1,0.3,1), transform 700ms cubic-bezier(0.16,1,0.3,1);
}
.scale-in.visible { opacity: 1; transform: scale(1); }

.fade-in-up[data-delay="1"] { transition-delay: 80ms; }
.fade-in-up[data-delay="2"] { transition-delay: 160ms; }
.fade-in-up[data-delay="3"] { transition-delay: 240ms; }
.fade-in-up[data-delay="4"] { transition-delay: 320ms; }
.fade-in-up[data-delay="5"] { transition-delay: 400ms; }

/* ---------- Focus ---------- */
:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 4px;
  border-radius: 4px;
}

/* ---------- Mobile Nav Drawer ---------- */
.mobile-drawer {
  position: fixed;
  top: var(--nav-h);
  left: 0; right: 0;
  background: rgba(255,255,255,0.98);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 24px 32px 32px;
  transform: translateY(-110%);
  transition: transform var(--t-slow);
  z-index: 99;
  box-shadow: 0 16px 32px rgba(15,23,42,0.08);
}
.mobile-drawer.open { transform: translateY(0); }
.mobile-drawer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.mobile-drawer ul a {
  display: block;
  padding: 14px 4px;
  font-size: 18px;
  font-weight: 600;
  color: var(--navy);
  border-bottom: 1px solid var(--border-light);
}
.mobile-drawer .btn { margin-top: 20px; width: 100%; }

body.no-scroll { overflow: hidden; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  section { padding: 100px 0; }
  .bento-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "feat feat"
      "ai seo"
      "reviews web"
      "report report";
  }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: none; }
  .stat:nth-child(1), .stat:nth-child(2) { border-bottom: 1px solid var(--border); }
  .problem-grid { grid-template-columns: 1fr; }
  .results-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
}

@media (max-width: 768px) {
  section { padding: 80px 0; }
  .container, .container-sm, .nav-inner { padding: 0 24px; }
  .nav-links, .nav-cta .signin { display: none; }
  .hamburger { display: block; }
  .hero { padding: calc(var(--nav-h) + 60px) 0 60px; }
  .scan-form { flex-direction: column; padding: 12px; gap: 8px; }
  .scan-input { width: 100%; padding: 16px 18px; }
  .scan-btn { width: 100%; justify-content: center; }
  .steps { grid-template-columns: 1fr; gap: 60px; }
  .steps::before { display: none; }
  .pillars { grid-template-columns: 1fr; }
  .bento-grid {
    grid-template-columns: 1fr;
    grid-template-areas:
      "feat"
      "ai"
      "seo"
      "reviews"
      "web"
      "report";
  }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; padding-bottom: 40px; }
  .hero-mockup { margin-top: 60px; }
}

@media (max-width: 480px) {
  .container, .container-sm, .nav-inner { padding: 0 20px; }
  .stats-grid { grid-template-columns: 1fr; }
  .stat { border-right: none; border-bottom: 1px solid var(--border); }
  .stat:last-child { border-bottom: none; }
  .footer-grid { grid-template-columns: 1fr; }
  .trust-row { font-size: 13px; gap: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  .hero-mockup { animation: none; }
  .marquee-track { animation: none; }
}
