/* ===== CSS VARIABLES ===== */
:root {
  --bg-primary: #ffffff;
  --bg-secondary: #f8fafc;
  --bg-dark: #0a1628;
  --bg-dark-2: #111d33;
  --bg-dark-3: #1a2744;

  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #94a3b8;
  --text-white: #f1f5f9;

  --blue: #3b82f6;
  --blue-dark: #2563eb;
  --blue-light: #60a5fa;
  --green: #10b981;
  --green-dark: #059669;
  --amber: #f59e0b;
  --amber-dark: #d97706;
  --purple: #8b5cf6;
  --purple-dark: #7c3aed;
  --red: #ef4444;

  --border: #e2e8f0;
  --border-light: #f1f5f9;

  --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.07), 0 2px 4px -2px rgba(0,0,0,0.05);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.08), 0 4px 6px -4px rgba(0,0,0,0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.08), 0 8px 10px -6px rgba(0,0,0,0.04);
  --shadow-glow: 0 0 40px rgba(59,130,246,0.15);

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --container: 1200px;
  --section-padding: 100px;
}

/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font);
  color: var(--text-primary);
  background: var(--bg-primary);
  line-height: 1.7;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: var(--section-padding) 0;
}

.section-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 64px;
}

.section-tag {
  display: inline-block;
  background: linear-gradient(135deg, rgba(59,130,246,0.1), rgba(139,92,246,0.1));
  color: var(--blue);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 16px;
  letter-spacing: 0.02em;
}

.section-header h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.section-sub {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ===== HEADER ===== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-light);
  transition: all 0.3s ease;
}

.site-header.scrolled {
  background: rgba(255,255,255,0.95);
  box-shadow: var(--shadow-md);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 32px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.15rem;
  flex-shrink: 0;
}

.logo-text {
  background: linear-gradient(135deg, var(--blue), var(--purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.main-nav {
  display: flex;
  gap: 28px;
  align-items: center;
}

.main-nav a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color 0.2s;
  white-space: nowrap;
}

.main-nav a:hover { color: var(--blue); }

.header-actions {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-shrink: 0;
}

.btn-primary-sm, .btn-secondary-sm {
  padding: 8px 18px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 600;
  transition: all 0.2s;
  white-space: nowrap;
}

.btn-primary-sm {
  background: linear-gradient(135deg, var(--blue), var(--purple));
  color: white;
}

.btn-primary-sm:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(59,130,246,0.3);
}

.btn-secondary-sm {
  border: 1px solid var(--border);
  color: var(--text-secondary);
}

.btn-secondary-sm:hover {
  border-color: var(--blue);
  color: var(--blue);
}

/* Language Switcher */
.lang-switch {
  display: flex;
  gap: 4px;
  align-items: center;
  margin-left: 8px;
  flex-shrink: 0;
}

.lang-switch a {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 8px;
  border-radius: 4px;
  color: var(--text-muted);
  transition: all 0.2s;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.lang-switch a:hover {
  color: var(--blue);
  background: rgba(59,130,246,0.06);
}

.lang-switch .lang-active {
  color: var(--blue);
  background: rgba(59,130,246,0.1);
}

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.mobile-menu-btn span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all 0.3s;
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--bg-dark) 0%, var(--bg-dark-2) 50%, var(--bg-dark-3) 100%);
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(59,130,246,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(59,130,246,0.05) 1px, transparent 1px);
  background-size: 60px 60px;
}

.hero-glow {
  position: absolute;
  top: 20%;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(59,130,246,0.15) 0%, transparent 70%);
  border-radius: 50%;
  filter: blur(60px);
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.hero-content { color: var(--text-white); }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(59,130,246,0.15);
  border: 1px solid rgba(59,130,246,0.25);
  color: var(--blue-light);
  padding: 6px 16px;
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 24px;
}

.badge-dot {
  width: 8px;
  height: 8px;
  background: var(--green);
  border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: -0.03em;
}

.gradient-text {
  background: linear-gradient(135deg, var(--green), var(--amber), var(--purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 32px;
  max-width: 540px;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.btn-primary {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 16px 32px;
  background: linear-gradient(135deg, var(--blue), var(--purple));
  color: white;
  font-size: 1.05rem;
  font-weight: 700;
  border-radius: var(--radius-md);
  transition: all 0.3s;
  border: none;
  cursor: pointer;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(59,130,246,0.35);
}

.btn-primary .btn-sub {
  font-size: 0.75rem;
  font-weight: 400;
  opacity: 0.8;
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 24px;
  color: var(--text-muted);
  font-size: 1rem;
  font-weight: 500;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-md);
  transition: all 0.2s;
}

.btn-ghost:hover {
  border-color: rgba(255,255,255,0.35);
  color: white;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border: 2px solid var(--border);
  color: var(--text-primary);
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  transition: all 0.2s;
  width: 100%;
}

.btn-secondary:hover {
  border-color: var(--blue);
  color: var(--blue);
}

.btn-large {
  padding: 20px 40px;
  font-size: 1.15rem;
}

.hero-proof {
  display: flex;
  gap: 24px;
  align-items: center;
}

.proof-item {
  text-align: center;
}

.proof-item strong {
  display: block;
  font-size: 1.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--blue-light), var(--purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.proof-item span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.proof-divider {
  width: 1px;
  height: 32px;
  background: rgba(255,255,255,0.1);
}

/* Score Rings */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.score-rings-container {
  display: flex;
  gap: 24px;
  align-items: flex-end;
}

.score-ring {
  position: relative;
  width: 140px;
  height: 140px;
}

.score-ring:nth-child(2) {
  width: 160px;
  height: 160px;
  margin-bottom: 20px;
}

.score-ring svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.ring-bg {
  fill: none;
  stroke: rgba(255,255,255,0.08);
  stroke-width: 6;
}

.ring-progress {
  fill: none;
  stroke-width: 6;
  stroke-linecap: round;
  stroke-dasharray: 327;
  stroke-dashoffset: 327;
  transition: stroke-dashoffset 2s ease-out;
}

.score-ring[data-color="#10b981"] .ring-progress { stroke: var(--green); filter: drop-shadow(0 0 8px rgba(16,185,129,0.4)); }
.score-ring[data-color="#f59e0b"] .ring-progress { stroke: var(--amber); filter: drop-shadow(0 0 8px rgba(245,158,11,0.4)); }
.score-ring[data-color="#8b5cf6"] .ring-progress { stroke: var(--purple); filter: drop-shadow(0 0 8px rgba(139,92,246,0.4)); }

.ring-label {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}

.ring-score {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  color: white;
  line-height: 1;
}

.ring-name {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-top: 4px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* Hero Orbs */
.hero-orbs {
  position: absolute;
  inset: -20px;
  pointer-events: none;
}

.orb {
  position: absolute;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: orbit 8s ease-in-out infinite;
}

.orb-1 {
  top: 2%;
  right: 8%;
  background: rgba(16,185,129,0.15);
  border: 1px solid rgba(16,185,129,0.25);
  color: var(--green);
  box-shadow: 0 0 20px rgba(16,185,129,0.2), 0 0 60px rgba(16,185,129,0.05);
  animation-delay: 0s;
}

.orb-2 {
  top: 30%;
  left: -4%;
  background: rgba(245,158,11,0.15);
  border: 1px solid rgba(245,158,11,0.25);
  color: var(--amber);
  box-shadow: 0 0 20px rgba(245,158,11,0.2), 0 0 60px rgba(245,158,11,0.05);
  animation-delay: 1.6s;
}

.orb-3 {
  bottom: 30%;
  right: -4%;
  background: rgba(139,92,246,0.15);
  border: 1px solid rgba(139,92,246,0.25);
  color: var(--purple);
  box-shadow: 0 0 20px rgba(139,92,246,0.2), 0 0 60px rgba(139,92,246,0.05);
  animation-delay: 3.2s;
}

.orb-4 {
  bottom: 2%;
  left: 12%;
  background: rgba(59,130,246,0.15);
  border: 1px solid rgba(59,130,246,0.25);
  color: var(--blue);
  box-shadow: 0 0 20px rgba(59,130,246,0.2), 0 0 60px rgba(59,130,246,0.05);
  animation-delay: 4.8s;
}

.orb-5 {
  top: 50%;
  right: 15%;
  width: 28px;
  height: 28px;
  background: rgba(16,185,129,0.1);
  border: 1px solid rgba(16,185,129,0.15);
  color: var(--green);
  box-shadow: 0 0 15px rgba(16,185,129,0.15);
  animation-delay: 6s;
}

.orb-5 svg { width: 12px; height: 12px; }

@keyframes orbit {
  0%, 100% {
    transform: translateY(0) scale(1);
    opacity: 0.6;
  }
  25% {
    transform: translateY(-8px) scale(1.05);
    opacity: 1;
  }
  50% {
    transform: translateY(4px) scale(0.95);
    opacity: 0.5;
  }
  75% {
    transform: translateY(-12px) scale(1.08);
    opacity: 0.9;
  }
}

/* Animated connectors between rings */
.connector {
  position: absolute;
  height: 1px;
  border-radius: 1px;
  animation: pulse-line 4s ease-in-out infinite;
}

.connector-1 {
  top: 45%;
  left: 15%;
  width: 70%;
  background: linear-gradient(90deg, transparent, rgba(59,130,246,0.2), rgba(139,92,246,0.2), transparent);
  animation-delay: 0s;
}

.connector-2 {
  top: 55%;
  left: 20%;
  width: 60%;
  background: linear-gradient(90deg, transparent, rgba(16,185,129,0.15), rgba(245,158,11,0.15), transparent);
  animation-delay: 2s;
}

@keyframes pulse-line {
  0%, 100% { opacity: 0; transform: scaleX(0.3); }
  50% { opacity: 1; transform: scaleX(1); }
}

.hero-wave {
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  z-index: 2;
}

.hero-wave svg {
  display: block;
  width: 100%;
  height: 80px;
}

/* ===== PROBLEM ===== */
.problem-section { background: var(--bg-primary); }

.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.problem-card {
  padding: 32px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: all 0.3s;
  opacity: 0;
  transform: translateY(20px);
}

.problem-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.problem-card:hover {
  border-color: var(--red);
  box-shadow: 0 0 0 1px var(--red), var(--shadow-lg);
}

.problem-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.problem-icon-red {
  background: rgba(239,68,68,0.1);
  color: var(--red);
}

.problem-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.problem-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

/* ===== PILLARS ===== */
.pillars-section { background: var(--bg-secondary); }

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.pillar-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 36px;
  border: 1px solid var(--border);
  transition: all 0.3s;
  opacity: 0;
  transform: translateY(20px);
}

.pillar-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.pillar-card:hover {
  box-shadow: var(--shadow-xl);
  transform: translateY(-4px);
}

.pillar-card.visible:hover {
  transform: translateY(-4px);
}

.pillar-ring-mini {
  position: relative;
  width: 72px;
  height: 72px;
  margin-bottom: 20px;
}

.pillar-ring-mini svg { width: 100%; height: 100%; transform: rotate(-90deg); }

.ring-bg-mini {
  fill: none;
  stroke: #e2e8f0;
  stroke-width: 5;
}

.ring-fg-mini {
  fill: none;
  stroke-width: 5;
  stroke-linecap: round;
}

.pillar-score {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text-primary);
}

.pillar-badge {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-right: 6px;
}

.seo-badge { background: rgba(16,185,129,0.12); color: var(--green-dark); }
.aeo-badge { background: rgba(245,158,11,0.12); color: var(--amber-dark); }
.geo-badge { background: rgba(139,92,246,0.12); color: var(--purple-dark); }

.pillar-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.pillar-text {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 20px;
}

.pillar-checks {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.pillar-checks li {
  position: relative;
  padding-left: 24px;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.pillar-checks li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 6px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: rgba(16,185,129,0.12);
}

.pillar-seo .pillar-checks li::before { background: rgba(16,185,129,0.15); }
.pillar-aeo .pillar-checks li::before { background: rgba(245,158,11,0.15); }
.pillar-geo .pillar-checks li::before { background: rgba(139,92,246,0.15); }

.pillar-checks li::after {
  content: '✓';
  position: absolute;
  left: 2px;
  top: 4px;
  font-size: 0.65rem;
  font-weight: 700;
}

.pillar-seo .pillar-checks li::after { color: var(--green); }
.pillar-aeo .pillar-checks li::after { color: var(--amber); }
.pillar-geo .pillar-checks li::after { color: var(--purple); }

/* ===== RESULTS / BEFORE-AFTER ===== */
.results-section {
  background: var(--bg-dark);
  color: var(--text-white);
}

.results-section .section-tag {
  background: rgba(16,185,129,0.15);
  color: var(--green);
}

.results-section .section-sub { color: var(--text-muted); }

.results-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.result-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  padding: 32px;
  opacity: 0;
  transform: translateY(20px);
}

.result-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.result-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 28px;
}

.result-type {
  font-size: 1.25rem;
  font-weight: 700;
}

.result-label {
  font-size: 0.8rem;
  color: var(--green);
  background: rgba(16,185,129,0.12);
  padding: 4px 12px;
  border-radius: 100px;
  font-weight: 500;
}

.result-scores { display: flex; flex-direction: column; gap: 20px; }

.result-row {
  display: flex;
  align-items: center;
  gap: 16px;
}

.result-name {
  font-size: 0.85rem;
  font-weight: 700;
  width: 36px;
  flex-shrink: 0;
}

.seo-color { color: var(--green); }
.aeo-color { color: var(--amber); }
.geo-color { color: var(--purple); }

.result-bar-wrap {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.result-bar {
  height: 24px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: 10px;
  font-size: 0.75rem;
  font-weight: 700;
  width: var(--width);
  transition: width 1.5s ease-out;
}

.result-bar-before {
  background: rgba(255,255,255,0.08);
  color: var(--text-muted);
}

.seo-bar { background: linear-gradient(90deg, var(--green-dark), var(--green)); color: white; }
.aeo-bar { background: linear-gradient(90deg, var(--amber-dark), var(--amber)); color: white; }
.geo-bar { background: linear-gradient(90deg, var(--purple-dark), var(--purple)); color: white; }

.result-total {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.result-total > span {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.result-total-numbers {
  display: flex;
  align-items: center;
  gap: 12px;
}

.total-before {
  color: var(--text-muted);
  font-size: 1.1rem;
  font-weight: 600;
}

.total-after {
  color: var(--green);
  font-size: 1.3rem;
  font-weight: 800;
}

.result-total svg { color: var(--text-muted); }

/* ===== FEATURES ===== */
.features-section { background: var(--bg-primary); }

.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.feature-card {
  padding: 32px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  position: relative;
  transition: all 0.3s;
  opacity: 0;
  transform: translateY(20px);
}

.feature-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.feature-card:hover {
  border-color: var(--blue);
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.feature-card.visible:hover {
  transform: translateY(-2px);
}

.feature-highlight {
  background: linear-gradient(135deg, rgba(59,130,246,0.03), rgba(139,92,246,0.03));
  border-color: rgba(59,130,246,0.2);
}

.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.fi-autofix { background: rgba(59,130,246,0.1); color: var(--blue); }
.fi-ai { background: rgba(139,92,246,0.1); color: var(--purple); }
.fi-scan { background: rgba(16,185,129,0.1); color: var(--green); }
.fi-bulk { background: rgba(245,158,11,0.1); color: var(--amber); }
.fi-woo { background: rgba(139,92,246,0.1); color: var(--purple); }
.fi-schema { background: rgba(59,130,246,0.1); color: var(--blue); }
.fi-report { background: rgba(16,185,129,0.1); color: var(--green); }
.fi-compat { background: rgba(245,158,11,0.1); color: var(--amber); }

.feature-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.feature-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.feature-tag {
  position: absolute;
  top: 16px;
  right: 16px;
  background: linear-gradient(135deg, var(--blue), var(--purple));
  color: white;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ===== HOW IT WORKS ===== */
.howto-section { background: var(--bg-secondary); }

.steps-grid {
  display: flex;
  align-items: flex-start;
  gap: 0;
  justify-content: center;
}

.step-card {
  flex: 0 1 200px;
  text-align: center;
  padding: 24px 16px;
  opacity: 0;
  transform: translateY(20px);
}

.step-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.step-number {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--purple));
  color: white;
  font-size: 1.2rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.step-card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.step-card p {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.step-connector {
  flex: 0 0 40px;
  height: 2px;
  background: linear-gradient(90deg, var(--blue), var(--purple));
  margin-top: 40px;
  border-radius: 2px;
  opacity: 0.3;
}

/* ===== AI TRAFFIC ===== */
.ai-traffic-section {
  background: linear-gradient(135deg, var(--bg-dark) 0%, #0d1f38 100%);
  color: var(--text-white);
}

.ai-traffic-section .section-tag {
  background: rgba(245,158,11,0.15);
  color: var(--amber);
}

.ai-traffic-section .section-sub { color: var(--text-muted); }

.ai-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-bottom: 48px;
}

.ai-stat-card {
  text-align: center;
  padding: 40px 24px;
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,0.03);
  opacity: 0;
  transform: translateY(20px);
}

.ai-stat-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.ai-stat-icon {
  color: var(--amber);
  margin-bottom: 16px;
  display: flex;
  justify-content: center;
}

.ai-stat-number {
  font-size: 3rem;
  font-weight: 900;
  background: linear-gradient(135deg, var(--amber), var(--purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 12px;
}

.ai-stat-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.ai-traffic-cta {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.ai-traffic-cta p {
  color: var(--text-muted);
  font-size: 0.95rem;
  font-style: italic;
}

/* ===== SCREENSHOTS ===== */
.screenshots-section { background: var(--bg-secondary); }

.screenshots-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.screenshot-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  background: white;
  transition: all 0.3s;
  opacity: 0;
  transform: translateY(20px);
}

.screenshot-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.screenshot-card:hover {
  box-shadow: var(--shadow-xl);
  transform: translateY(-4px);
}

.screenshot-card.visible:hover {
  transform: translateY(-4px);
}

.screenshot-main {
  grid-column: 1 / -1;
}

.screenshot-label {
  padding: 12px 20px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border);
}

.screenshot-card img {
  width: 100%;
  height: auto;
  display: block;
}

.screenshot-card:nth-child(2) { transition-delay: 0.1s; }
.screenshot-card:nth-child(3) { transition-delay: 0.15s; }
.screenshot-card:nth-child(4) { transition-delay: 0.2s; }

/* Proof screenshots in AI section */
.proof-screenshots {
  margin-top: 48px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.proof-screenshots-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.proof-screenshot {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.03);
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease;
}

.proof-screenshot.visible {
  opacity: 1;
  transform: translateY(0);
}

.proof-screenshot .screenshot-label {
  background: rgba(255,255,255,0.05);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  color: var(--text-muted);
}

.proof-screenshot img {
  width: 100%;
  height: auto;
  display: block;
}

@media (max-width: 768px) {
  .screenshots-grid { grid-template-columns: 1fr; }
  .proof-screenshots-row { grid-template-columns: 1fr; }
}

/* ===== COMPARISON TABLE ===== */
.comparison-section { background: var(--bg-primary); }

.comparison-table-wrap {
  overflow-x: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  opacity: 0;
  transform: translateY(20px);
}

.comparison-table-wrap.visible {
  opacity: 1;
  transform: translateY(0);
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 700px;
}

.comparison-table th,
.comparison-table td {
  padding: 16px 20px;
  text-align: left;
  border-bottom: 1px solid var(--border-light);
  font-size: 0.9rem;
}

.comparison-table thead th {
  background: var(--bg-secondary);
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.col-highlight {
  background: rgba(59,130,246,0.04) !important;
}

.comparison-table thead .col-highlight {
  background: rgba(59,130,246,0.08) !important;
  color: var(--blue) !important;
}

.check { font-weight: 600; }
.check.green { color: var(--green); }
.check.gray { color: var(--text-muted); }
.cross { color: var(--red); font-weight: 500; opacity: 0.7; }

.price-highlight {
  color: var(--green);
  font-weight: 800;
  font-size: 1.05rem;
}

.price-compare {
  color: var(--text-muted);
  font-weight: 500;
}

.pricing-row td {
  border-bottom: none;
  padding-top: 20px;
  padding-bottom: 20px;
}

/* ===== USE CASES ===== */
.usecases-section { background: var(--bg-secondary); }

.usecases-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.usecase-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  transition: all 0.3s;
  opacity: 0;
  transform: translateY(20px);
}

.usecase-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.usecase-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.usecase-card.visible:hover {
  transform: translateY(-4px);
}

.usecase-emoji {
  font-size: 2.5rem;
  margin-bottom: 16px;
}

.usecase-card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.usecase-card p {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

/* ===== PRICING ===== */
.pricing-section { background: var(--bg-primary); }

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  max-width: 800px;
  margin: 0 auto 64px;
}

.pricing-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 40px;
  position: relative;
  transition: all 0.3s;
  opacity: 0;
  transform: translateY(20px);
}

.pricing-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.pricing-pro {
  border: 2px solid var(--blue);
  box-shadow: var(--shadow-glow);
}

.pricing-popular {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--blue), var(--purple));
  color: white;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 6px 20px;
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.pricing-header-card {
  margin-bottom: 16px;
}

.pricing-header-card h3 {
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.pricing-price {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.price-amount {
  font-size: 3rem;
  font-weight: 900;
  letter-spacing: -0.03em;
}

.price-period {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.pricing-desc {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 24px;
}

.pricing-features {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
}

.pricing-features li {
  padding-left: 28px;
  position: relative;
  font-size: 0.9rem;
}

.pricing-features li.included::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: 700;
}

.pricing-features li.excluded {
  color: var(--text-muted);
}

.pricing-features li.excluded::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--text-muted);
}

.pricing-features li.highlight {
  font-weight: 600;
  color: var(--text-primary);
}

.pricing-note {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  font-size: 0.8rem;
  color: var(--text-muted);
  justify-content: center;
}

.pricing-comparison {
  text-align: center;
}

.pricing-comparison h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 24px;
}

.math-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 700px;
  margin: 0 auto;
}

.math-card {
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  text-align: center;
}

.math-highlight {
  border: 2px solid var(--green);
  background: rgba(16,185,129,0.04);
}

.math-label {
  display: block;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.math-value {
  display: block;
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 4px;
}

.math-highlight .math-value { color: var(--green); }

.math-detail {
  display: block;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ===== FAQ ===== */
.faq-section { background: var(--bg-secondary); }

.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all 0.3s;
  opacity: 0;
  transform: translateY(10px);
}

.faq-item.visible {
  opacity: 1;
  transform: translateY(0);
}

.faq-item[open] {
  border-color: var(--blue);
  box-shadow: var(--shadow-md);
}

.faq-question {
  padding: 20px 24px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.faq-question::-webkit-details-marker { display: none; }

.faq-question::after {
  content: '+';
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--text-muted);
  flex-shrink: 0;
  margin-left: 16px;
  transition: transform 0.3s;
}

.faq-item[open] .faq-question::after {
  content: '−';
  color: var(--blue);
}

.faq-answer {
  padding: 0 24px 24px;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
}

.faq-answer p { margin-bottom: 12px; }
.faq-answer p:last-child { margin-bottom: 0; }

.faq-answer ul {
  margin: 12px 0;
  padding-left: 20px;
}

.faq-answer li {
  list-style: disc;
  margin-bottom: 6px;
}

/* ===== FINAL CTA ===== */
.final-cta-section {
  background: linear-gradient(135deg, var(--bg-dark), var(--bg-dark-3));
  color: var(--text-white);
  padding: 120px 0;
}

.cta-inner {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.cta-inner h2 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 900;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.cta-inner p {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 40px;
  line-height: 1.7;
}

.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.cta-trust {
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-trust span {
  font-size: 0.8rem;
  color: var(--text-muted);
  padding: 4px 12px;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 100px;
}

/* ===== FOOTER ===== */
.site-footer {
  background: #060d18;
  color: var(--text-muted);
  padding: 64px 0 0;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 64px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.footer-brand .logo { margin-bottom: 16px; }
.footer-brand .logo-text {
  color: white;
  background: none;
  -webkit-text-fill-color: white;
}

.footer-desc {
  font-size: 0.9rem;
  line-height: 1.6;
  max-width: 300px;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.footer-col h3 {
  color: white;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.footer-col a {
  display: block;
  font-size: 0.9rem;
  margin-bottom: 10px;
  transition: color 0.2s;
}

.footer-col a:hover { color: var(--blue-light); }

.footer-bottom {
  padding: 24px 0;
}

.footer-bottom p {
  font-size: 0.8rem;
  text-align: center;
}

/* ===== ANIMATIONS ===== */
[data-animate] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-animate].visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger delays */
.problem-card:nth-child(2) { transition-delay: 0.1s; }
.problem-card:nth-child(3) { transition-delay: 0.2s; }

.pillar-card:nth-child(2) { transition-delay: 0.1s; }
.pillar-card:nth-child(3) { transition-delay: 0.2s; }

.feature-card:nth-child(2) { transition-delay: 0.05s; }
.feature-card:nth-child(3) { transition-delay: 0.1s; }
.feature-card:nth-child(4) { transition-delay: 0.15s; }
.feature-card:nth-child(5) { transition-delay: 0.2s; }
.feature-card:nth-child(6) { transition-delay: 0.25s; }
.feature-card:nth-child(7) { transition-delay: 0.3s; }
.feature-card:nth-child(8) { transition-delay: 0.35s; }

.step-card:nth-child(2) { transition-delay: 0.1s; }
.step-card:nth-child(4) { transition-delay: 0.2s; }
.step-card:nth-child(6) { transition-delay: 0.3s; }
.step-card:nth-child(8) { transition-delay: 0.4s; }
.step-card:nth-child(10) { transition-delay: 0.5s; }

.ai-stat-card:nth-child(2) { transition-delay: 0.1s; }
.ai-stat-card:nth-child(3) { transition-delay: 0.2s; }

.usecase-card:nth-child(2) { transition-delay: 0.1s; }
.usecase-card:nth-child(3) { transition-delay: 0.2s; }
.usecase-card:nth-child(4) { transition-delay: 0.3s; }

.faq-item:nth-child(2) { transition-delay: 0.05s; }
.faq-item:nth-child(3) { transition-delay: 0.1s; }
.faq-item:nth-child(4) { transition-delay: 0.15s; }
.faq-item:nth-child(5) { transition-delay: 0.2s; }
.faq-item:nth-child(6) { transition-delay: 0.25s; }
.faq-item:nth-child(7) { transition-delay: 0.3s; }
.faq-item:nth-child(8) { transition-delay: 0.35s; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 48px;
    text-align: center;
  }

  .subtitle { margin: 0 auto 32px; }
  .hero-ctas { justify-content: center; }
  .hero-proof { justify-content: center; }

  .pillars-grid { grid-template-columns: 1fr; max-width: 500px; margin: 0 auto; }
  .results-grid { grid-template-columns: 1fr; }
  .usecases-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 768px) {
  :root {
    --section-padding: 64px;
  }

  .main-nav, .header-actions { display: none; }
  .mobile-menu-btn { display: flex; }

  .main-nav.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: white;
    padding: 24px;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
    gap: 16px;
  }

  .header-actions.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: calc(72px + var(--nav-height, 200px));
    left: 0;
    right: 0;
    background: white;
    padding: 0 24px 24px;
    border-bottom: 1px solid var(--border);
  }

  .hero h1 { font-size: 1.8rem; }
  .subtitle { font-size: 1rem; }

  .problem-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .ai-stats-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .math-grid { grid-template-columns: 1fr; }
  .usecases-grid { grid-template-columns: 1fr; }
  .footer-links { grid-template-columns: 1fr; }

  .steps-grid {
    flex-direction: column;
    align-items: center;
  }

  .step-connector {
    width: 2px;
    height: 32px;
    margin-top: 0;
  }

  .score-rings-container {
    flex-direction: row;
    gap: 16px;
  }

  .score-ring { width: 100px !important; height: 100px !important; }
  .score-ring:nth-child(2) { margin-bottom: 10px; }
  .ring-score { font-size: 1.4rem !important; }

  .hero-proof { flex-wrap: wrap; gap: 16px; }
  .proof-divider { display: none; }

  .comparison-table th, .comparison-table td {
    padding: 12px 14px;
    font-size: 0.8rem;
  }
}

@media (max-width: 480px) {
  .hero-ctas { flex-direction: column; align-items: center; }
  .btn-primary, .btn-ghost { width: 100%; justify-content: center; }
  .cta-buttons { flex-direction: column; align-items: center; }
  .cta-trust { gap: 8px; }
}

/* ===== STICKY CTA ===== */
.sticky-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 999;
  background: rgba(10,22,40,0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid rgba(59,130,246,0.2);
  padding: 12px 0;
  transform: translateY(100%);
  transition: transform 0.4s ease;
}

.sticky-cta.visible {
  transform: translateY(0);
}

.sticky-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.sticky-cta-text {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.sticky-cta-text strong {
  color: white;
}

@media (max-width: 600px) {
  .sticky-cta-text { display: none; }
  .sticky-cta-inner { justify-content: center; }
}

/* ===== PRINT ===== */
@media print {
  .site-header, .hero-bg, .floating-checks, .hero-wave { display: none; }
  .hero { padding-top: 40px; min-height: auto; }
  [data-animate] { opacity: 1; transform: none; }
}
