/* WebGenAI — Design System */
/* Fonts: Space Grotesk + DM Sans — Tech/SaaS Dark Frontier */
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&family=DM+Sans:wght@400;500;600&display=swap');

:root {
  /* Typography */
  --font-display: 'Space Grotesk', system-ui, sans-serif;
  --font-body: 'DM Sans', system-ui, sans-serif;

  /* Type scale */
  --text-xs:   0.75rem;
  --text-sm:   0.875rem;
  --text-base: 1rem;
  --text-lg:   1.125rem;
  --text-xl:   1.25rem;
  --text-2xl:  1.5rem;
  --text-3xl:  2rem;
  --text-4xl:  2.5rem;
  --text-5xl:  3.5rem;
  --text-6xl:  4.5rem;

  /* Spacing */
  --space-1:  0.25rem;
  --space-2:  0.5rem;
  --space-3:  0.75rem;
  --space-4:  1rem;
  --space-6:  1.5rem;
  --space-8:  2rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-24: 6rem;
  --space-32: 8rem;

  /* Dark Palette — AI Frontier */
  --color-bg:            #07070F;
  --color-surface:       #0D0D1A;
  --color-surface-2:     #13131F;
  --color-surface-3:     #1A1A2E;
  --color-border:        #1E1E35;
  --color-border-bright: #2D2D55;

  /* Text */
  --color-text:          #EAEAF5;
  --color-text-secondary:#9090B8;
  --color-text-muted:    #5A5A80;

  /* Accent — Electric Violet → Cyan */
  --color-primary:       #7C3AED;
  --color-primary-hover: #6D28D9;
  --color-accent:        #06B6D4;
  --color-accent-2:      #A78BFA;

  /* Glows */
  --glow-purple: rgba(124, 58, 237, 0.35);
  --glow-cyan:   rgba(6, 182, 212, 0.25);

  /* Gradients */
  --grad-primary: linear-gradient(135deg, #7C3AED 0%, #06B6D4 100%);
  --grad-text:    linear-gradient(135deg, #A78BFA 0%, #06B6D4 100%);
  --grad-card:    linear-gradient(135deg, rgba(124,58,237,0.12) 0%, rgba(6,182,212,0.06) 100%);
}

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--color-bg);
  color: var(--color-text);
  font-size: 1rem;
  line-height: 1.7;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-accent-2); text-decoration: none; }
a:hover { color: var(--color-accent); }

/* ===== LAYOUT ===== */
.container       { max-width: 1200px; margin: 0 auto; padding: 0 var(--space-6); }
.container-narrow{ max-width: 720px;  margin: 0 auto; padding: 0 var(--space-6); }
.container-wide  { max-width: 1400px; margin: 0 auto; padding: 0 var(--space-6); }

.section    { padding: var(--space-24) 0; }
.section-sm { padding: var(--space-16) 0; }

@media (max-width: 768px) {
  .section    { padding: var(--space-12) 0; }
  .section-sm { padding: var(--space-8) 0; }
}

/* ===== NAV ===== */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: var(--space-4) var(--space-6);
  transition: background 0.3s, border-color 0.3s, backdrop-filter 0.3s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(7, 7, 15, 0.85);
  border-color: var(--color-border);
  backdrop-filter: blur(16px);
}
.nav-logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-xl);
  background: var(--grad-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-decoration: none;
}
.nav-links {
  display: flex; align-items: center; gap: var(--space-8);
  list-style: none;
}
.nav-links a {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-text-secondary);
  text-decoration: none;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--color-text); }
.nav-right { display: flex; align-items: center; gap: var(--space-4); }
.nav-sign-in {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-text-secondary);
  text-decoration: none;
  transition: color 0.2s;
}
.nav-sign-in:hover { color: var(--color-text); }

/* Mobile nav */
.nav-hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}
.nav-hamburger span {
  width: 24px; height: 2px;
  background: var(--color-text);
  transition: transform 0.3s, opacity 0.3s;
  display: block;
}
.nav-mobile {
  display: none;
  position: fixed; top: 64px; left: 0; right: 0;
  background: rgba(7, 7, 15, 0.97);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--color-border);
  padding: var(--space-6);
  flex-direction: column;
  gap: var(--space-6);
  z-index: 99;
}
.nav-mobile.open { display: flex; }
.nav-mobile a {
  font-size: var(--text-lg);
  font-weight: 500;
  color: var(--color-text-secondary);
  text-decoration: none;
  padding: var(--space-2) 0;
  border-bottom: 1px solid var(--color-border);
  transition: color 0.2s;
}
.nav-mobile a:hover { color: var(--color-text); }
.nav-mobile a:last-child { border-bottom: none; }

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-sign-in { display: none; }
  .nav-hamburger { display: flex; }
  .nav .btn { display: none; }
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2);
  padding: 0.875rem 2rem;
  border-radius: 8px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--text-base);
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s;
  min-height: 48px;
  border: none;
  white-space: nowrap;
}
.btn-primary {
  background: var(--grad-primary);
  color: white;
  box-shadow: 0 0 24px var(--glow-purple);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 36px var(--glow-purple), 0 8px 24px rgba(0,0,0,0.3);
  color: white;
}
.btn-ghost {
  background: transparent;
  color: var(--color-text);
  border: 1px solid var(--color-border-bright);
}
.btn-ghost:hover {
  background: var(--color-surface-2);
  border-color: var(--color-primary);
  color: var(--color-text);
}
.btn-sm {
  padding: 0.625rem 1.25rem;
  font-size: var(--text-sm);
  min-height: 38px;
}
.btn-lg {
  padding: 1.125rem 2.5rem;
  font-size: var(--text-lg);
  min-height: 56px;
}

/* ===== GRADIENT TEXT ===== */
.grad-text {
  background: var(--grad-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ===== BADGE ===== */
.badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 0.375rem 0.875rem;
  border-radius: 999px;
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border: 1px solid var(--color-border-bright);
  background: var(--color-surface-2);
  color: var(--color-accent-2);
}
.badge-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--color-accent);
  animation: pulse-dot 2s ease infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(0.8); }
}

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center;
  padding: 120px var(--space-6) var(--space-24);
  position: relative;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  pointer-events: none;
}
.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.45;
}
.hero-orb-1 {
  width: 600px; height: 600px;
  top: -100px; left: -200px;
  background: radial-gradient(circle, #7C3AED 0%, transparent 70%);
}
.hero-orb-2 {
  width: 500px; height: 500px;
  top: 100px; right: -150px;
  background: radial-gradient(circle, #06B6D4 0%, transparent 70%);
}
.hero-orb-3 {
  width: 300px; height: 300px;
  bottom: 100px; left: 50%;
  transform: translateX(-50%);
  background: radial-gradient(circle, #A78BFA 0%, transparent 70%);
}
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--color-border) 1px, transparent 1px),
    linear-gradient(90deg, var(--color-border) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, black 40%, transparent 100%);
  opacity: 0.35;
}
.hero-content { position: relative; z-index: 1; max-width: 820px; }
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 7vw, 5rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin: var(--space-6) 0 var(--space-6);
}
.hero-sub {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--color-text-secondary);
  max-width: 560px;
  margin: 0 auto var(--space-8);
  line-height: 1.7;
}
.hero-actions {
  display: flex; align-items: center; justify-content: center; gap: var(--space-4);
  flex-wrap: wrap;
}
.hero-proof {
  margin-top: var(--space-12);
  display: flex; align-items: center; justify-content: center; gap: var(--space-6);
  flex-wrap: wrap;
}
.hero-proof-item {
  display: flex; align-items: center; gap: var(--space-2);
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
}
.hero-proof-item svg { color: var(--color-accent); flex-shrink: 0; }

/* ===== HERO MOCKUP ===== */
.hero-mockup {
  position: relative; z-index: 1;
  margin-top: var(--space-16);
  max-width: 900px;
  width: 100%;
}
.mockup-frame {
  background: var(--color-surface);
  border: 1px solid var(--color-border-bright);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 0 80px var(--glow-purple), 0 40px 80px rgba(0,0,0,0.5);
}
.mockup-bar {
  background: var(--color-surface-2);
  border-bottom: 1px solid var(--color-border);
  padding: var(--space-3) var(--space-6);
  display: flex; align-items: center; gap: var(--space-3);
}
.mockup-dot {
  width: 12px; height: 12px;
  border-radius: 50%;
}
.mockup-dot:nth-child(1) { background: #FF5F57; }
.mockup-dot:nth-child(2) { background: #FFBD2E; }
.mockup-dot:nth-child(3) { background: #28CA41; }
.mockup-bar-url {
  flex: 1; margin-left: var(--space-2);
  background: var(--color-surface-3);
  border: 1px solid var(--color-border);
  border-radius: 6px;
  padding: 0.25rem 0.75rem;
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  font-family: monospace;
}
.mockup-content {
  padding: var(--space-8);
  min-height: 320px;
  background: var(--color-surface);
  position: relative;
  overflow: hidden;
}
.mockup-chat {
  display: flex; flex-direction: column; gap: var(--space-4);
}
.chat-bubble {
  max-width: 75%;
  padding: var(--space-3) var(--space-5);
  border-radius: 12px;
  font-size: var(--text-sm);
  line-height: 1.6;
}
.chat-bubble.user {
  align-self: flex-end;
  background: var(--grad-primary);
  color: white;
  border-radius: 12px 12px 4px 12px;
}
.chat-bubble.ai {
  align-self: flex-start;
  background: var(--color-surface-2);
  border: 1px solid var(--color-border);
  color: var(--color-text);
  border-radius: 12px 12px 12px 4px;
}
.chat-typing {
  align-self: flex-start;
  display: flex; align-items: center; gap: var(--space-2);
  padding: var(--space-3) var(--space-5);
  background: var(--color-surface-2);
  border: 1px solid var(--color-border);
  border-radius: 12px 12px 12px 4px;
}
.typing-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--color-accent-2);
  animation: typing-bounce 1.2s ease infinite;
}
.typing-dot:nth-child(2) { animation-delay: 0.15s; }
.typing-dot:nth-child(3) { animation-delay: 0.3s; }
@keyframes typing-bounce {
  0%, 80%, 100% { transform: translateY(0); opacity: 0.5; }
  40% { transform: translateY(-6px); opacity: 1; }
}
.mockup-website-preview {
  border-top: 1px solid var(--color-border);
  padding: var(--space-4) var(--space-8);
  background: var(--color-surface-3);
  display: flex; align-items: center; gap: var(--space-3);
}
.website-preview-thumb {
  width: 120px; height: 70px;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid var(--color-border);
  flex-shrink: 0;
}
.website-preview-info { flex: 1; }
.website-preview-title { font-size: var(--text-sm); font-weight: 600; margin-bottom: var(--space-1); }
.website-preview-url { font-size: var(--text-xs); color: var(--color-text-muted); font-family: monospace; }
.website-preview-actions { display: flex; gap: var(--space-2); }

/* ===== LOGOS / SOCIAL PROOF ===== */
.logos-section { padding: var(--space-12) 0; border-top: 1px solid var(--color-border); border-bottom: 1px solid var(--color-border); }
.logos-label { text-align: center; font-size: var(--text-sm); color: var(--color-text-muted); margin-bottom: var(--space-8); text-transform: uppercase; letter-spacing: 0.1em; }
.logos-grid {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: var(--space-8) var(--space-12);
}
.logo-item {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-lg);
  color: var(--color-text-muted);
  letter-spacing: -0.02em;
  transition: color 0.2s;
}
.logo-item:hover { color: var(--color-text-secondary); }

/* ===== FEATURES ===== */
.features-section {}
.section-label {
  display: block;
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: var(--space-3);
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-6);
}
.section-sub {
  font-size: var(--text-lg);
  color: var(--color-text-secondary);
  max-width: 52ch;
  line-height: 1.7;
}

/* Bento Features Grid */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: auto;
  gap: var(--space-4);
  margin-top: var(--space-12);
}
.bento-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  padding: var(--space-8);
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
}
.bento-card::before {
  content: '';
  position: absolute; inset: 0;
  background: var(--grad-card);
  opacity: 0;
  transition: opacity 0.3s;
}
.bento-card:hover {
  border-color: var(--color-primary);
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.3), 0 0 30px var(--glow-purple);
}
.bento-card:hover::before { opacity: 1; }
.bento-card-inner { position: relative; z-index: 1; }
.bento-card.span-2 { grid-column: span 2; }
.bento-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  margin-bottom: var(--space-5);
  background: var(--color-surface-2);
  border: 1px solid var(--color-border);
}
.bento-card h3 {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 600;
  margin-bottom: var(--space-3);
}
.bento-card p {
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  line-height: 1.7;
}
.bento-card.featured {
  background: linear-gradient(135deg, rgba(124,58,237,0.15) 0%, rgba(6,182,212,0.08) 100%);
  border-color: rgba(124,58,237,0.4);
}
.bento-card.featured:hover {
  box-shadow: 0 16px 40px rgba(0,0,0,0.3), 0 0 50px var(--glow-purple);
}
.bento-stat {
  font-family: var(--font-display);
  font-size: var(--text-6xl);
  font-weight: 700;
  background: var(--grad-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: var(--space-2);
}

@media (max-width: 1024px) {
  .bento-grid { grid-template-columns: repeat(2, 1fr); }
  .bento-card.span-2 { grid-column: span 1; }
}
@media (max-width: 640px) {
  .bento-grid { grid-template-columns: 1fr; }
}

/* ===== HOW IT WORKS ===== */
.how-section {
  background: var(--color-surface);
  position: relative;
  overflow: hidden;
}
.how-section::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--color-primary) 50%, transparent 100%);
}
.how-section::after {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--color-accent) 50%, transparent 100%);
}
.how-steps {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: var(--space-8);
  margin-top: var(--space-12);
  position: relative;
}
.how-steps::before {
  content: '';
  position: absolute;
  top: 32px; left: calc(16.66% + 24px); right: calc(16.66% + 24px);
  height: 1px;
  background: linear-gradient(90deg, var(--color-primary) 0%, var(--color-accent) 100%);
}
.how-step { text-align: center; position: relative; }
.step-num {
  width: 64px; height: 64px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-xl);
  margin: 0 auto var(--space-6);
  background: var(--color-bg);
  border: 2px solid var(--color-border-bright);
  position: relative;
  z-index: 1;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.how-step:nth-child(1) .step-num { background: linear-gradient(135deg, rgba(124,58,237,0.2), rgba(124,58,237,0.05)); border-color: var(--color-primary); color: var(--color-primary); box-shadow: 0 0 24px var(--glow-purple); }
.how-step:nth-child(2) .step-num { background: linear-gradient(135deg, rgba(167,139,250,0.2), rgba(167,139,250,0.05)); border-color: var(--color-accent-2); color: var(--color-accent-2); box-shadow: 0 0 24px rgba(167,139,250,0.3); }
.how-step:nth-child(3) .step-num { background: linear-gradient(135deg, rgba(6,182,212,0.2), rgba(6,182,212,0.05)); border-color: var(--color-accent); color: var(--color-accent); box-shadow: 0 0 24px var(--glow-cyan); }
.how-step h3 {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 600;
  margin-bottom: var(--space-3);
}
.how-step p { font-size: var(--text-base); color: var(--color-text-secondary); }

@media (max-width: 768px) {
  .how-steps { grid-template-columns: 1fr; }
  .how-steps::before { display: none; }
}

/* ===== DEMO SECTION ===== */
.demo-section { position: relative; overflow: hidden; }
.demo-section-orb {
  position: absolute;
  width: 700px; height: 700px;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(124,58,237,0.15) 0%, transparent 70%);
  pointer-events: none;
}
.demo-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: var(--space-12);
  align-items: center;
  margin-top: var(--space-12);
}
.demo-text {}
.demo-text h2 { margin-bottom: var(--space-6); }
.demo-text p { color: var(--color-text-secondary); margin-bottom: var(--space-8); }
.demo-features {
  display: flex; flex-direction: column; gap: var(--space-4);
  margin-bottom: var(--space-8);
}
.demo-feature {
  display: flex; align-items: flex-start; gap: var(--space-3);
  padding: var(--space-4) var(--space-5);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  transition: border-color 0.2s, background 0.2s;
}
.demo-feature:hover {
  border-color: var(--color-border-bright);
  background: var(--color-surface-2);
}
.demo-feature-icon { font-size: 1.3rem; flex-shrink: 0; margin-top: 2px; }
.demo-feature-text h4 { font-size: var(--text-base); font-weight: 600; margin-bottom: var(--space-1); }
.demo-feature-text p { font-size: var(--text-sm); color: var(--color-text-secondary); line-height: 1.6; }
.demo-visual { position: relative; }
.demo-visual-frame {
  background: var(--color-surface);
  border: 1px solid var(--color-border-bright);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 0 60px var(--glow-purple), 0 30px 60px rgba(0,0,0,0.4);
}

@media (max-width: 768px) {
  .demo-grid { grid-template-columns: 1fr; }
}

/* ===== PRICING ===== */
.pricing-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
  margin-top: var(--space-12);
  align-items: start;
}
.pricing-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  padding: var(--space-8);
  position: relative;
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s;
}
.pricing-card:hover {
  border-color: var(--color-border-bright);
  transform: translateY(-4px);
}
.pricing-card.featured {
  background: linear-gradient(135deg, rgba(124,58,237,0.12) 0%, rgba(6,182,212,0.06) 100%);
  border-color: var(--color-primary);
  box-shadow: 0 0 40px var(--glow-purple);
}
.pricing-card.featured:hover {
  box-shadow: 0 0 60px var(--glow-purple), 0 20px 40px rgba(0,0,0,0.3);
}
.pricing-badge {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  background: var(--grad-primary);
  color: white;
  margin-bottom: var(--space-4);
}
.pricing-name {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 600;
  margin-bottom: var(--space-2);
}
.pricing-desc {
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  margin-bottom: var(--space-6);
  line-height: 1.6;
}
.pricing-price {
  display: flex; align-items: baseline; gap: var(--space-1);
  margin-bottom: var(--space-6);
}
.pricing-price-amount {
  font-family: var(--font-display);
  font-size: var(--text-5xl);
  font-weight: 700;
  background: var(--grad-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}
.pricing-price-period {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}
.pricing-divider {
  height: 1px;
  background: var(--color-border);
  margin-bottom: var(--space-6);
}
.pricing-features {
  list-style: none;
  display: flex; flex-direction: column;
  gap: var(--space-3);
  margin-bottom: var(--space-8);
}
.pricing-features li {
  display: flex; align-items: flex-start; gap: var(--space-3);
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
}
.pricing-features li .check {
  color: var(--color-accent);
  flex-shrink: 0;
  margin-top: 3px;
}
.pricing-features li .cross {
  color: var(--color-text-muted);
  flex-shrink: 0;
  margin-top: 3px;
}

@media (max-width: 1024px) {
  .pricing-grid { grid-template-columns: 1fr; max-width: 480px; margin-left: auto; margin-right: auto; }
  .pricing-card.featured { transform: none; }
}

/* ===== TESTIMONIALS ===== */
.testimonials-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
  margin-top: var(--space-12);
}
.testimonial-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  padding: var(--space-8);
  transition: border-color 0.3s, transform 0.3s;
}
.testimonial-card:hover {
  border-color: var(--color-border-bright);
  transform: translateY(-4px);
}
.testimonial-stars {
  display: flex; gap: var(--space-1);
  margin-bottom: var(--space-4);
  color: #F59E0B;
  font-size: var(--text-sm);
}
.testimonial-quote {
  font-size: var(--text-base);
  color: var(--color-text-secondary);
  line-height: 1.7;
  margin-bottom: var(--space-6);
  font-style: italic;
}
.testimonial-author {
  display: flex; align-items: center; gap: var(--space-3);
}
.testimonial-avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--color-surface-3);
  border: 2px solid var(--color-border-bright);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
  overflow: hidden;
}
.testimonial-avatar img { width: 100%; height: 100%; object-fit: cover; }
.testimonial-name { font-weight: 600; font-size: var(--text-sm); }
.testimonial-role { font-size: var(--text-xs); color: var(--color-text-muted); }

@media (max-width: 1024px) {
  .testimonials-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .testimonials-grid { grid-template-columns: 1fr; }
}

/* ===== CTA SECTION ===== */
.cta-section {
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-card {
  background: linear-gradient(135deg, rgba(124,58,237,0.15) 0%, rgba(6,182,212,0.08) 100%);
  border: 1px solid rgba(124,58,237,0.35);
  border-radius: 24px;
  padding: var(--space-24) var(--space-12);
  position: relative;
  overflow: hidden;
}
.cta-card::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(124,58,237,0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(124,58,237,0.08) 1px, transparent 1px);
  background-size: 40px 40px;
}
.cta-card-inner { position: relative; z-index: 1; }
.cta-card h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: var(--space-6);
}
.cta-card p {
  font-size: var(--text-lg);
  color: var(--color-text-secondary);
  max-width: 52ch;
  margin: 0 auto var(--space-10);
}
.cta-actions {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: var(--space-4);
}

/* ===== FOOTER ===== */
.footer {
  border-top: 1px solid var(--color-border);
  padding: var(--space-16) 0 var(--space-8);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-12);
  margin-bottom: var(--space-12);
}
.footer-brand {}
.footer-logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-xl);
  background: var(--grad-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
  margin-bottom: var(--space-4);
}
.footer-brand p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  max-width: 30ch;
  line-height: 1.7;
  margin-bottom: var(--space-6);
}
.footer-col h4 {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text-secondary);
  margin-bottom: var(--space-5);
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: var(--space-3); }
.footer-col a {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--color-text-secondary); }
.footer-bottom {
  border-top: 1px solid var(--color-border);
  padding-top: var(--space-8);
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: var(--space-4);
}
.footer-copy { font-size: var(--text-sm); color: var(--color-text-muted); }
.footer-bottom-links {
  display: flex; gap: var(--space-6);
}
.footer-bottom-links a {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-bottom-links a:hover { color: var(--color-text-secondary); }

@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* ===== LEGAL PAGES ===== */
.legal-hero {
  padding: 140px var(--space-6) var(--space-16);
  text-align: center;
  border-bottom: 1px solid var(--color-border);
}
.legal-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  margin-bottom: var(--space-4);
}
.legal-hero p { color: var(--color-text-secondary); font-size: var(--text-lg); }
.legal-body {
  max-width: 800px;
  margin: 0 auto;
  padding: var(--space-16) var(--space-6);
}
.legal-body h2 {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 600;
  margin: var(--space-12) 0 var(--space-4);
  color: var(--color-text);
}
.legal-body h3 {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 600;
  margin: var(--space-8) 0 var(--space-3);
}
.legal-body p, .legal-body li {
  font-size: var(--text-base);
  color: var(--color-text-secondary);
  line-height: 1.8;
  margin-bottom: var(--space-4);
}
.legal-body ul, .legal-body ol {
  padding-left: var(--space-6);
  margin-bottom: var(--space-6);
}
.legal-body a { color: var(--color-accent-2); }
.legal-body a:hover { color: var(--color-accent); }

/* ===== PRICING PAGE ===== */
.pricing-hero {
  padding: 140px var(--space-6) var(--space-8);
  text-align: center;
}
.pricing-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: var(--space-4);
}
.pricing-hero p {
  font-size: var(--text-lg);
  color: var(--color-text-secondary);
  max-width: 50ch;
  margin: 0 auto;
}
.faq-list {
  max-width: 720px;
  margin: var(--space-12) auto 0;
}
.faq-item {
  border-bottom: 1px solid var(--color-border);
  padding: var(--space-6) 0;
}
.faq-question {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 600;
  margin-bottom: var(--space-3);
  cursor: pointer;
  display: flex; justify-content: space-between; align-items: center;
}
.faq-answer {
  font-size: var(--text-base);
  color: var(--color-text-secondary);
  line-height: 1.7;
}
.compare-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: var(--space-12);
}
.compare-table th {
  text-align: left;
  padding: var(--space-4);
  border-bottom: 2px solid var(--color-border);
  font-family: var(--font-display);
  font-size: var(--text-base);
  color: var(--color-text-secondary);
  font-weight: 600;
}
.compare-table th:first-child { color: var(--color-text-muted); }
.compare-table td {
  padding: var(--space-4);
  border-bottom: 1px solid var(--color-border);
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
}
.compare-table td:first-child { font-weight: 500; color: var(--color-text); }
.compare-table tr:hover td { background: var(--color-surface); }

/* ===== ANIMATIONS ===== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered delay for siblings */
.stagger > *:nth-child(1) { transition-delay: 0s; }
.stagger > *:nth-child(2) { transition-delay: 0.08s; }
.stagger > *:nth-child(3) { transition-delay: 0.16s; }
.stagger > *:nth-child(4) { transition-delay: 0.24s; }
.stagger > *:nth-child(5) { transition-delay: 0.32s; }
.stagger > *:nth-child(6) { transition-delay: 0.40s; }

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--color-bg); }
::-webkit-scrollbar-thumb { background: var(--color-border-bright); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--color-primary); }

/* ===== UTILS ===== */
.text-center { text-align: center; }
.mt-2 { margin-top: var(--space-2); }
.mt-4 { margin-top: var(--space-4); }
.mt-6 { margin-top: var(--space-6); }
.mt-8 { margin-top: var(--space-8); }
.mb-4 { margin-bottom: var(--space-4); }
.mb-8 { margin-bottom: var(--space-8); }
.space-y-2 > * + * { margin-top: var(--space-2); }
.space-y-4 > * + * { margin-top: var(--space-4); }
