/* ============================================
   FREEGPTSEO.COM — Design System
   Light Theme · Premium 2026 · Emerald Accent
   ============================================ */

/* ── Reset ── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

/* ── Design Tokens ── */
:root {
  /* Base */
  --bg:              #ffffff;
  --bg-secondary:    #f9fafb;
  --bg-tertiary:     #f3f4f6;
  --bg-hero:         linear-gradient(180deg, #f0fdf4 0%, #ffffff 50%, #f9fafb 100%);

  /* Text */
  --text-primary:    #111827;
  --text-secondary:  #4b5563;
  --text-tertiary:   #6b7280;
  --text-muted:      #9ca3af;
  --text-inverse:    #ffffff;

  /* Brand — Emerald */
  --accent:          #10b981;
  --accent-hover:    #059669;
  --accent-dark:     #047857;
  --accent-light:    #d1fae5;
  --accent-lighter:  #ecfdf5;
  --accent-glow:     rgba(16, 185, 129, 0.12);
  --accent-glow-md:  rgba(16, 185, 129, 0.20);
  --accent-glow-strong: rgba(16, 185, 129, 0.35);

  /* Supporting palette */
  --indigo:          #6366f1;
  --indigo-light:    #e0e7ff;
  --cyan:            #06b6d4;
  --cyan-light:      #cffafe;
  --purple:          #8b5cf6;
  --purple-light:    #ede9fe;
  --amber:           #f59e0b;
  --amber-light:     #fef3c7;
  --rose:            #f43f5e;
  --rose-light:      #ffe4e6;

  /* Surface / Cards */
  --card-bg:         #ffffff;
  --card-border:     #e5e7eb;
  --card-border-hover: rgba(16, 185, 129, 0.35);
  --card-shadow:     0 1px 3px rgba(0, 0, 0, 0.04), 0 1px 2px rgba(0, 0, 0, 0.02);
  --card-shadow-hover: 0 20px 40px rgba(0, 0, 0, 0.06), 0 0 0 1px rgba(16, 185, 129, 0.10);
  --card-radius:     16px;

  /* Navigation */
  --nav-bg:          rgba(255, 255, 255, 0.88);
  --nav-border:      rgba(0, 0, 0, 0.06);
  --nav-height:      72px;

  /* Footer */
  --footer-bg:       #111827;
  --footer-surface:  #1f2937;
  --footer-text:     #d1d5db;
  --footer-muted:    #6b7280;

  /* Layout */
  --container:       1200px;
  --container-wide:  1320px;
  --section-pad:     7rem;
  --section-pad-sm:  4rem;

  /* Transitions */
  --ease-out:        cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring:     cubic-bezier(0.34, 1.56, 0.64, 1);
  --duration:        0.4s;
  --duration-fast:   0.2s;
  --duration-slow:   0.6s;

  /* Typography scale */
  --fs-xs:   0.75rem;
  --fs-sm:   0.875rem;
  --fs-base: 1rem;
  --fs-md:   1.125rem;
  --fs-lg:   1.25rem;
  --fs-xl:   1.5rem;
  --fs-2xl:  2rem;
  --fs-3xl:  2.5rem;
  --fs-4xl:  3rem;
  --fs-5xl:  3.5rem;
  --fs-hero: clamp(2.5rem, 5vw, 4rem);
}


/* ── Typography ── */
html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Outfit', system-ui, sans-serif;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

p { color: var(--text-secondary); }

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--duration-fast) ease;
}

img { max-width: 100%; height: auto; display: block; }

::selection {
  background: rgba(16, 185, 129, 0.15);
  color: var(--text-primary);
}


/* ── Scrollbar ── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-secondary); }
::-webkit-scrollbar-thumb { background: var(--accent); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--accent-hover); }


/* ── Container ── */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.container-wide {
  max-width: var(--container-wide);
  margin: 0 auto;
  padding: 0 1.5rem;
}


/* ── Section Pattern ── */
.section {
  padding: var(--section-pad) 0;
  position: relative;
}

.section-alt {
  background: var(--bg-secondary);
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 4rem;
}

.section-label {
  display: inline-block;
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
  padding: 0.35rem 1rem;
  background: var(--accent-lighter);
  border-radius: 100px;
  border: 1px solid var(--accent-light);
}

.section-header h2 {
  font-size: var(--fs-3xl);
  margin-bottom: 1.25rem;
}

.section-header p {
  font-size: var(--fs-md);
  line-height: 1.7;
  max-width: 600px;
  margin: 0 auto;
}


/* ── Gradient Text ── */
.gradient-text {
  background: linear-gradient(135deg, var(--accent) 0%, var(--cyan) 50%, var(--indigo) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.gradient-text-accent {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-hover) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}


/* ============================================
   BUTTONS — All variants, ALWAYS visible text
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  border-radius: 12px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: var(--fs-base);
  border: none;
  cursor: pointer;
  transition: all var(--duration) var(--ease-out);
  text-decoration: none;
  line-height: 1;
  white-space: nowrap;
  position: relative;
  isolation: isolate;
}

.btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  transition: transform var(--duration-fast) ease;
}

/* Primary: white text on emerald, STAYS white on hover */
.btn-primary {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-hover) 100%);
  color: #ffffff;
  box-shadow:
    0 4px 12px rgba(16, 185, 129, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--accent-hover) 0%, var(--accent-dark) 100%);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow:
    0 8px 24px rgba(16, 185, 129, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.btn-primary:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(16, 185, 129, 0.2);
}

.btn-primary svg { color: #ffffff; }

/* Large primary */
.btn-lg {
  padding: 1.1rem 2.25rem;
  font-size: var(--fs-md);
  border-radius: 14px;
}

/* Secondary: dark text on white border, darkens on hover */
.btn-secondary {
  background: var(--bg);
  color: var(--text-primary);
  border: 1.5px solid var(--card-border);
  box-shadow: var(--card-shadow);
}

.btn-secondary:hover {
  background: var(--bg-secondary);
  color: var(--text-primary);
  border-color: var(--accent);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
  transform: translateY(-2px);
}

.btn-secondary svg { color: var(--text-secondary); }
.btn-secondary:hover svg { color: var(--accent); }

/* Ghost: transparent, text-accent */
.btn-ghost {
  background: transparent;
  color: var(--accent);
  padding: 0.875rem 1rem;
}

.btn-ghost:hover {
  background: var(--accent-lighter);
  color: var(--accent-hover);
}

/* Arrow nudge on hover */
.btn:hover svg.icon-arrow { transform: translateX(3px); }


/* ============================================
   CARDS
   ============================================ */
.card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--card-radius);
  padding: 2rem;
  transition: all var(--duration) var(--ease-out);
  position: relative;
}

.card:hover {
  border-color: var(--card-border-hover);
  box-shadow: var(--card-shadow-hover);
  transform: translateY(-4px);
}

/* Accent bottom line animation */
.card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--cyan));
  border-radius: 0 0 var(--card-radius) var(--card-radius);
  transition: width 0.5s var(--ease-out);
}

.card:hover::after {
  width: 100%;
}

/* Card icon container */
.card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  transition: transform var(--duration-fast) ease, background var(--duration) ease;
}

.card:hover .card-icon { transform: scale(1.1); }

.card-icon svg {
  width: 24px;
  height: 24px;
}

.card-icon.emerald { background: var(--accent-light); color: var(--accent); }
.card-icon.indigo  { background: var(--indigo-light); color: var(--indigo); }
.card-icon.cyan    { background: var(--cyan-light); color: var(--cyan); }
.card-icon.purple  { background: var(--purple-light); color: var(--purple); }
.card-icon.amber   { background: var(--amber-light); color: var(--amber); }
.card-icon.rose    { background: var(--rose-light); color: var(--rose); }

.card h3 {
  font-size: var(--fs-lg);
  margin-bottom: 0.5rem;
}

.card p {
  font-size: var(--fs-sm);
  line-height: 1.7;
}


/* ============================================
   NAVIGATION — Fixed, glass
   ============================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  background: var(--nav-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  z-index: 1000;
  transition: all var(--duration) ease;
}

.nav.scrolled {
  background: rgba(255, 255, 255, 0.96);
  border-bottom-color: var(--nav-border);
  box-shadow: 0 1px 8px rgba(0, 0, 0, 0.04);
}

.nav-inner {
  max-width: var(--container-wide);
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'Outfit', sans-serif;
  font-size: var(--fs-lg);
  font-weight: 700;
  color: var(--text-primary);
}

.nav-logo span {
  font-weight: 400;
  color: var(--text-tertiary);
}

.nav-logo .logo-icon {
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, var(--accent), var(--cyan));
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

.nav-logo .logo-icon svg {
  width: 18px;
  height: 18px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
}

.nav-links a {
  padding: 0.5rem 1rem;
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: 8px;
  transition: all var(--duration-fast) ease;
}

.nav-links a:hover {
  color: var(--text-primary);
  background: var(--bg-tertiary);
}

.nav-cta {
  margin-left: 1rem;
}

.nav-cta .btn {
  padding: 0.6rem 1.25rem;
  font-size: var(--fs-sm);
}

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }


/* ============================================
   HERO
   ============================================ */
.hero {
  padding: calc(var(--nav-height) + 4rem) 0 5rem;
  background: var(--bg-hero);
  position: relative;
  overflow: hidden;
}

/* Decorative radial glow */
.hero::before {
  content: '';
  position: absolute;
  top: -40vh;
  right: -15%;
  width: 60%;
  height: 130vh;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.06) 0%, transparent 60%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -20vh;
  left: -10%;
  width: 40%;
  height: 80vh;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.04) 0%, transparent 60%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  background: var(--accent-lighter);
  color: var(--accent-dark);
  border: 1px solid var(--accent-light);
  border-radius: 100px;
  font-size: var(--fs-xs);
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.hero-badge svg {
  width: 14px;
  height: 14px;
}

.hero h1 {
  font-size: var(--fs-hero);
  margin-bottom: 1.25rem;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.hero-subtitle {
  font-size: var(--fs-md);
  color: var(--text-secondary);
  margin-bottom: 2rem;
  max-width: 520px;
  line-height: 1.7;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.hero-trust {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: var(--fs-sm);
  color: var(--text-tertiary);
}

.hero-trust svg {
  width: 16px;
  height: 16px;
  color: var(--accent);
  flex-shrink: 0;
}

.hero-stats {
  display: flex;
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.stat-card {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.stat-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-lighter);
  color: var(--accent);
}

.stat-icon.amber { background: var(--amber-light); color: var(--amber); }
.stat-icon.indigo { background: var(--indigo-light); color: var(--indigo); }

.stat-icon svg { width: 18px; height: 18px; }

.stat-value {
  font-family: 'Outfit', sans-serif;
  font-size: var(--fs-xl);
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1;
}

.stat-label {
  font-size: var(--fs-xs);
  color: var(--text-muted);
  margin-top: 2px;
}


/* ── Hero Visual (Right Side) ── */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-mockup {
  width: 100%;
  max-width: 480px;
  background: var(--bg);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.06),
    0 1px 3px rgba(0, 0, 0, 0.04);
  overflow: hidden;
  position: relative;
}

.mockup-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 16px;
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--card-border);
}

.mockup-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--card-border);
}

.mockup-dot.red { background: #f87171; }
.mockup-dot.yellow { background: #fbbf24; }
.mockup-dot.green { background: #34d399; }

.mockup-url {
  flex: 1;
  margin-left: 8px;
  background: var(--bg);
  border-radius: 6px;
  padding: 4px 10px;
  font-size: 11px;
  color: var(--text-muted);
  border: 1px solid var(--card-border);
}

.mockup-content {
  padding: 2rem;
}

/* Floating badges around hero visual */
.floating-badge {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1rem;
  background: var(--bg);
  border: 1px solid var(--card-border);
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
  font-size: var(--fs-xs);
  font-weight: 600;
  white-space: nowrap;
  z-index: 2;
}

.floating-badge svg {
  width: 16px;
  height: 16px;
}

.floating-badge.pos-1 { top: 10%; left: -5%; animation: float-1 6s ease-in-out infinite; }
.floating-badge.pos-2 { top: 5%; right: -8%; animation: float-2 5s ease-in-out infinite 0.5s; }
.floating-badge.pos-3 { bottom: 15%; left: -8%; animation: float-3 7s ease-in-out infinite 1s; }


/* ============================================
   TRUST BAR
   ============================================ */
.trust-bar {
  padding: 1.5rem 0;
  background: var(--bg-secondary);
  border-top: 1px solid var(--card-border);
  border-bottom: 1px solid var(--card-border);
}

.trust-content {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2rem;
}

.trust-content > p {
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--text-muted);
}

.trust-items {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--text-secondary);
}

.trust-item svg {
  width: 18px;
  height: 18px;
  color: var(--accent);
  flex-shrink: 0;
}


/* ============================================
   TOOL SECTION (Embedded Audit Tool)
   ============================================ */
.tool-section {
  padding: var(--section-pad) 0;
  background: var(--bg);
}

.tool-box {
  max-width: 800px;
  margin: 0 auto;
  background: var(--bg);
  border: 1px solid var(--card-border);
  border-radius: 20px;
  padding: 2.5rem;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.04);
  position: relative;
}

.tool-input-group {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.tool-input {
  flex: 1;
  padding: 0.95rem 1.25rem;
  font-family: 'Inter', sans-serif;
  font-size: var(--fs-base);
  border: 1.5px solid var(--card-border);
  border-radius: 12px;
  background: var(--bg-secondary);
  color: var(--text-primary);
  outline: none;
  transition: all var(--duration-fast) ease;
}

.tool-input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
  background: var(--bg);
}

.tool-input::placeholder {
  color: var(--text-muted);
}

/* Results area */
.tool-results {
  margin-top: 2rem;
  display: none;
}

.tool-results.active {
  display: block;
  animation: fadeInUp 0.5s var(--ease-out);
}

.score-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 2rem;
}

.score-card {
  background: var(--bg-secondary);
  border: 1px solid var(--card-border);
  border-radius: 12px;
  padding: 1.25rem;
  text-align: center;
}

.score-card .score-value {
  font-family: 'Outfit', sans-serif;
  font-size: var(--fs-2xl);
  font-weight: 700;
  line-height: 1;
  margin-bottom: 0.25rem;
}

.score-card .score-label {
  font-size: var(--fs-xs);
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.score-good { color: var(--accent); }
.score-warn { color: var(--amber); }
.score-bad  { color: var(--rose); }

.check-list {
  list-style: none;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--bg-tertiary);
  font-size: var(--fs-sm);
  color: var(--text-secondary);
}

.check-list li:last-child { border-bottom: none; }

.check-list svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 1px;
}

.check-pass { color: var(--accent); }
.check-fail { color: var(--rose); }
.check-warn { color: var(--amber); }


/* ============================================
   FEATURES GRID
   ============================================ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}


/* ============================================
   TOOLS GRID (Mini tool cards)
   ============================================ */
.tools-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.tool-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--card-radius);
  padding: 2rem;
  transition: all var(--duration) var(--ease-out);
  text-decoration: none;
  display: block;
  position: relative;
}

.tool-card:hover {
  border-color: var(--card-border-hover);
  box-shadow: var(--card-shadow-hover);
  transform: translateY(-4px);
}

.tool-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--cyan));
  border-radius: 0 0 var(--card-radius) var(--card-radius);
  transition: width 0.5s var(--ease-out);
}

.tool-card:hover::after { width: 100%; }

.tool-card h3 {
  font-size: var(--fs-lg);
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.tool-card p {
  font-size: var(--fs-sm);
  line-height: 1.7;
}

.tool-card .card-arrow {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 1rem;
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--accent);
}

.tool-card .card-arrow svg {
  width: 16px;
  height: 16px;
  transition: transform var(--duration-fast) ease;
}

.tool-card:hover .card-arrow svg { transform: translateX(4px); }


/* ============================================
   STATS ROW (Why AI SEO Matters)
   ============================================ */
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.stat-block {
  text-align: center;
  padding: 2rem 1.5rem;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--card-radius);
}

.stat-block .stat-number {
  font-family: 'Outfit', sans-serif;
  font-size: var(--fs-3xl);
  font-weight: 700;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-block .stat-desc {
  font-size: var(--fs-sm);
  color: var(--text-tertiary);
  line-height: 1.5;
}


/* ============================================
   PROCESS / HOW IT WORKS
   ============================================ */
.process-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  position: relative;
}

/* Connector line */
.process-steps::before {
  content: '';
  position: absolute;
  top: 36px;
  left: calc(16.67% + 24px);
  right: calc(16.67% + 24px);
  height: 2px;
  background: linear-gradient(90deg, var(--accent-light), var(--accent), var(--accent-light));
  z-index: 0;
}

.step-card {
  text-align: center;
  position: relative;
  z-index: 1;
}

.step-number {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-hover));
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Outfit', sans-serif;
  font-size: var(--fs-lg);
  font-weight: 700;
  margin: 0 auto 1.25rem;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.25);
}

.step-card h3 {
  font-size: var(--fs-lg);
  margin-bottom: 0.5rem;
}

.step-card p {
  font-size: var(--fs-sm);
  line-height: 1.7;
  max-width: 280px;
  margin: 0 auto;
}


/* ============================================
   CROSS-PROMO
   ============================================ */
.promo-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.promo-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--card-radius);
  padding: 2.5rem;
  transition: all var(--duration) var(--ease-out);
}

.promo-card:hover {
  border-color: var(--card-border-hover);
  box-shadow: var(--card-shadow-hover);
  transform: translateY(-3px);
}

.promo-card h3 {
  font-size: var(--fs-xl);
  margin-bottom: 0.5rem;
}


/* ============================================
   BLOG PREVIEW
   ============================================ */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.blog-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--card-radius);
  overflow: hidden;
  transition: all var(--duration) var(--ease-out);
  text-decoration: none;
  display: block;
}

.blog-card:hover {
  border-color: var(--card-border-hover);
  box-shadow: var(--card-shadow-hover);
  transform: translateY(-4px);
}

.blog-card-img {
  height: 160px;
  overflow: hidden;
}

.blog-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--duration-slow) var(--ease-out);
}

.blog-card:hover .blog-card-img img {
  transform: scale(1.05);
}

.blog-card-body {
  padding: 1.25rem;
}

.blog-card-tag {
  font-size: var(--fs-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.blog-card-body h3 {
  font-size: var(--fs-base);
  line-height: 1.4;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.blog-card-body p {
  font-size: var(--fs-xs);
  color: var(--text-muted);
}


/* ============================================
   FAQ ACCORDION
   ============================================ */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid var(--card-border);
  border-radius: 12px;
  margin-bottom: 0.75rem;
  overflow: hidden;
  transition: border-color var(--duration-fast) ease;
}

.faq-item.active {
  border-color: var(--accent);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: 'Inter', sans-serif;
  font-size: var(--fs-base);
  font-weight: 600;
  color: var(--text-primary);
  transition: color var(--duration-fast) ease;
}

.faq-question:hover { color: var(--accent); }

.faq-chevron {
  width: 20px;
  height: 20px;
  color: var(--text-muted);
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.faq-item.active .faq-chevron {
  transform: rotate(180deg);
  color: var(--accent);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-item.active .faq-answer {
  max-height: 400px;
}

.faq-answer-inner {
  padding: 0 1.5rem 1.25rem;
  font-size: var(--fs-sm);
  color: var(--text-secondary);
  line-height: 1.8;
}


/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
  padding: var(--section-pad) 0;
  text-align: center;
  background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--accent-lighter) 100%);
  position: relative;
  overflow: hidden;
}

.cta-section h2 {
  font-size: var(--fs-3xl);
  margin-bottom: 1rem;
}

.cta-section p {
  font-size: var(--fs-md);
  max-width: 540px;
  margin: 0 auto 2rem;
}

.cta-badges {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.cta-badge {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: var(--fs-sm);
  color: var(--text-tertiary);
}

.cta-badge svg {
  width: 16px;
  height: 16px;
  color: var(--accent);
}


/* ============================================
   FOOTER — Dark
   ============================================ */
.footer {
  background: var(--footer-bg);
  padding: 4rem 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
}

.footer-brand p {
  color: var(--footer-text);
  font-size: var(--fs-sm);
  line-height: 1.7;
  margin-top: 1rem;
  max-width: 280px;
}

.footer-col h4 {
  font-family: 'Outfit', sans-serif;
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--text-inverse);
  margin-bottom: 1.25rem;
  letter-spacing: 0.02em;
}

.footer-col ul {
  list-style: none;
}

.footer-col li {
  margin-bottom: 0.6rem;
}

.footer-col a {
  font-size: var(--fs-sm);
  color: var(--footer-text);
  transition: color var(--duration-fast) ease;
}

.footer-col a:hover {
  color: var(--accent);
}

.footer-bottom {
  border-top: 1px solid var(--footer-surface);
  padding: 1.5rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-bottom p {
  font-size: var(--fs-xs);
  color: var(--footer-muted);
}

.footer-bottom a {
  color: var(--accent);
}

.footer-socials {
  display: flex;
  gap: 1rem;
}

.footer-socials a {
  color: var(--footer-muted);
  transition: color var(--duration-fast) ease;
}

.footer-socials a:hover { color: var(--accent); }

.footer-socials svg {
  width: 20px;
  height: 20px;
}


/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes float-1 {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50%      { transform: translateY(-10px) rotate(1deg); }
}

@keyframes float-2 {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50%      { transform: translateY(-8px) rotate(-1deg); }
}

@keyframes float-3 {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-12px); }
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.5; transform: scale(1.3); }
}

@keyframes score-fill {
  from { width: 0; }
}

/* Scroll Reveal */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.7s var(--ease-out);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered reveal children */
.reveal-stagger > * {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.5s var(--ease-out);
}

.reveal-stagger.visible > *:nth-child(1) { transition-delay: 0.05s; opacity: 1; transform: translateY(0); }
.reveal-stagger.visible > *:nth-child(2) { transition-delay: 0.10s; opacity: 1; transform: translateY(0); }
.reveal-stagger.visible > *:nth-child(3) { transition-delay: 0.15s; opacity: 1; transform: translateY(0); }
.reveal-stagger.visible > *:nth-child(4) { transition-delay: 0.20s; opacity: 1; transform: translateY(0); }
.reveal-stagger.visible > *:nth-child(5) { transition-delay: 0.25s; opacity: 1; transform: translateY(0); }
.reveal-stagger.visible > *:nth-child(6) { transition-delay: 0.30s; opacity: 1; transform: translateY(0); }
.reveal-stagger.visible > *:nth-child(7) { transition-delay: 0.35s; opacity: 1; transform: translateY(0); }
.reveal-stagger.visible > *:nth-child(8) { transition-delay: 0.40s; opacity: 1; transform: translateY(0); }
.reveal-stagger.visible > *:nth-child(9) { transition-delay: 0.45s; opacity: 1; transform: translateY(0); }


/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 3rem; }
  .hero-visual { order: -1; }
  .hero { text-align: center; }
  .hero-subtitle { margin: 0 auto 2rem; }
  .hero-cta { justify-content: center; }
  .hero-trust { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero-mockup { max-width: 400px; margin: 0 auto; }
  .floating-badge { display: none; }

  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .tools-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .promo-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  :root {
    --section-pad: 4rem;
    --fs-hero: 2.25rem;
    --fs-3xl: 2rem;
  }

  .nav-links { display: none; }
  .nav-cta { display: none; }
  .nav-toggle { display: flex; }

  /* Mobile menu */
  .nav-links.mobile-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--card-border);
    padding: 1rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
  }

  .nav-links.mobile-open a {
    padding: 0.75rem 1rem;
    font-size: var(--fs-base);
  }

  .nav-links.mobile-open .nav-cta {
    display: block;
    margin: 0.5rem 0 0;
  }

  .nav-links.mobile-open .nav-cta .btn {
    width: 100%;
    justify-content: center;
  }

  .features-grid { grid-template-columns: 1fr; }
  .tools-grid { grid-template-columns: 1fr; }
  .stats-row { grid-template-columns: 1fr 1fr; }
  .process-steps { grid-template-columns: 1fr; gap: 1.5rem; }
  .process-steps::before { display: none; }
  .score-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
  .tool-input-group { flex-direction: column; }
  .hero-stats { flex-direction: column; align-items: center; gap: 1rem; }
  .trust-content { flex-direction: column; gap: 1rem; }
  .trust-items { justify-content: center; }
  .cta-badges { flex-direction: column; align-items: center; }
}

@media (max-width: 480px) {
  :root {
    --section-pad: 3rem;
    --fs-hero: 2rem;
  }

  .container { padding: 0 1rem; }
  .hero { padding-top: calc(var(--nav-height) + 2rem); }
  .stats-row { grid-template-columns: 1fr; }
}


/* ============================================
   ACCESSIBILITY
   ============================================ */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal { opacity: 1; transform: none; }
  .reveal-stagger > * { opacity: 1; transform: none; }
}

/* Print */
@media print {
  .nav, .footer, .cta-section { display: none; }
  .hero { padding-top: 2rem; }
  body { color: #000; background: #fff; }
}
