/* ============================================================
   WebGenAI — Design System
   Strategy: Deep obsidian + indigo-to-electric-blue gradient system
   Fonts: Inter (body) + Cal Sans / Sora (display headings)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Sora:wght@600;700;800&display=swap');

/* ── Tokens ── */
:root {
  /* Backgrounds */
  --bg-base:       #080B14;
  --bg-surface:    #0D1120;
  --bg-elevated:   #131929;
  --bg-card:       #161E30;
  --bg-card-hover: #1C2540;

  /* Borders */
  --border-subtle:  rgba(99, 120, 255, 0.10);
  --border-default: rgba(99, 120, 255, 0.18);
  --border-strong:  rgba(99, 120, 255, 0.35);

  /* Primary gradient — indigo → electric blue */
  --grad-primary: linear-gradient(135deg, #6366F1 0%, #3B82F6 50%, #06B6D4 100%);
  --grad-glow:    linear-gradient(135deg, rgba(99,102,241,0.25) 0%, rgba(59,130,246,0.20) 50%, rgba(6,182,212,0.15) 100%);
  --grad-text:    linear-gradient(90deg, #818CF8 0%, #60A5FA 50%, #22D3EE 100%);

  /* Accent solids */
  --accent-indigo: #6366F1;
  --accent-blue:   #3B82F6;
  --accent-cyan:   #06B6D4;
  --accent-violet: #8B5CF6;

  /* Text */
  --text-primary:   #F1F5FF;
  --text-secondary: #94A3C4;
  --text-muted:     #4E5A7A;
  --text-inverse:   #080B14;

  /* Semantic */
  --success: #10B981;
  --warning: #F59E0B;
  --error:   #EF4444;

  /* Spacing scale (8pt) */
  --sp-1: 4px;
  --sp-2: 8px;
  --sp-3: 12px;
  --sp-4: 16px;
  --sp-5: 24px;
  --sp-6: 32px;
  --sp-7: 48px;
  --sp-8: 64px;
  --sp-9: 96px;
  --sp-10: 128px;

  /* Radius */
  --r-sm:  6px;
  --r-md:  10px;
  --r-lg:  16px;
  --r-xl:  24px;
  --r-full: 9999px;

  /* Shadows */
  --shadow-sm:  0 1px 3px rgba(0,0,0,0.4), 0 1px 2px rgba(0,0,0,0.3);
  --shadow-md:  0 4px 20px rgba(0,0,0,0.5), 0 0 0 1px rgba(99,102,241,0.08);
  --shadow-lg:  0 10px 40px rgba(0,0,0,0.6), 0 0 0 1px rgba(99,102,241,0.12);
  --shadow-glow: 0 0 30px rgba(99,102,241,0.25), 0 0 60px rgba(59,130,246,0.15);

  /* Transitions */
  --t-fast:   150ms ease-out;
  --t-base:   250ms ease-out;
  --t-slow:   400ms ease-out;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--bg-base);
  color: var(--text-primary);
  line-height: 1.6;
  font-size: 16px;
  min-height: 100dvh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul, ol { list-style: none; }
input, textarea, select { font-family: inherit; }

/* ── Typography ── */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Sora', 'Inter', sans-serif;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}
h1 { font-size: clamp(2.5rem, 5vw + 1rem, 4.5rem); }
h2 { font-size: clamp(1.8rem, 3vw + 0.5rem, 3rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.75rem); }
h4 { font-size: 1.125rem; font-weight: 600; }
p  { line-height: 1.7; }

.text-gradient {
  background: var(--grad-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-muted   { color: var(--text-secondary); }
.text-dimmed  { color: var(--text-muted); }

/* ── Layout ── */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 var(--sp-5);
}
@media (min-width: 768px) {
  .container { padding: 0 var(--sp-6); }
}

.section {
  padding: var(--sp-9) 0;
}
@media (max-width: 767px) {
  .section { padding: var(--sp-7) 0; }
}

/* ── Navigation ── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: var(--sp-4) 0;
  transition: background var(--t-base), border-color var(--t-base);
}
.nav.scrolled {
  background: rgba(8, 11, 20, 0.85);
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  border-bottom: 1px solid var(--border-subtle);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-5);
}
.nav-logo {
  font-family: 'Sora', sans-serif;
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  display: flex;
  align-items: center;
  gap: 2px;
}
.nav-logo .logo-accent { background: var(--grad-text); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.nav-links {
  display: flex;
  align-items: center;
  gap: var(--sp-5);
}
.nav-links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color var(--t-fast);
}
.nav-links a:hover { color: var(--text-primary); }
.nav-actions {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
}
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: var(--sp-2);
  cursor: pointer;
  background: none;
  border: none;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
}
.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-secondary);
  border-radius: 2px;
  transition: transform var(--t-base), opacity var(--t-fast);
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 99;
  background: rgba(8,11,20,0.97);
  backdrop-filter: blur(24px);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--sp-5);
  padding: var(--sp-10) var(--sp-5) var(--sp-7);
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-family: 'Sora', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-secondary);
  transition: color var(--t-fast);
}
.mobile-menu a:hover { color: var(--text-primary); }

@media (max-width: 767px) {
  .nav-links, .nav-actions .btn-ghost { display: none; }
  .nav-hamburger { display: flex; }
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  padding: 0.65rem 1.4rem;
  border-radius: var(--r-md);
  font-size: 0.9rem;
  font-weight: 600;
  min-height: 44px;
  transition: opacity var(--t-fast), transform var(--t-fast), box-shadow var(--t-base);
  white-space: nowrap;
}
.btn:active { transform: scale(0.97); }

.btn-primary {
  background: var(--grad-primary);
  color: #fff;
  box-shadow: 0 4px 20px rgba(99,102,241,0.35);
}
.btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-1px);
  box-shadow: 0 8px 30px rgba(99,102,241,0.45);
}

.btn-ghost {
  background: transparent;
  color: var(--text-secondary);
  border: 1px solid var(--border-default);
}
.btn-ghost:hover {
  color: var(--text-primary);
  border-color: var(--border-strong);
  background: rgba(99,102,241,0.06);
}

.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-strong);
}
.btn-outline:hover {
  background: rgba(99,102,241,0.1);
  border-color: var(--accent-indigo);
}

.btn-lg {
  padding: 0.9rem 2rem;
  font-size: 1rem;
  font-weight: 700;
  border-radius: var(--r-lg);
  min-height: 52px;
}

.btn-xl {
  padding: 1.1rem 2.5rem;
  font-size: 1.1rem;
  font-weight: 700;
  border-radius: var(--r-lg);
  min-height: 58px;
}

/* ── Badge ── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  padding: 0.3rem 0.85rem;
  border-radius: var(--r-full);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 1px solid var(--border-strong);
  color: var(--accent-indigo);
  background: rgba(99,102,241,0.08);
}
.badge-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent-cyan);
  box-shadow: 0 0 6px var(--accent-cyan);
  animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(0.85); }
}

/* ── Cards ── */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-xl);
  padding: var(--sp-6);
  transition: border-color var(--t-base), box-shadow var(--t-base), transform var(--t-base);
}
.card:hover {
  border-color: var(--border-default);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.card-glow:hover {
  border-color: rgba(99,102,241,0.35);
  box-shadow: var(--shadow-glow);
}

/* ── Hero ── */
.hero {
  padding-top: calc(var(--sp-10) + 60px);
  padding-bottom: var(--sp-10);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero-bg-glow {
  position: absolute;
  top: -200px; left: 50%;
  transform: translateX(-50%);
  width: 800px; height: 600px;
  background: radial-gradient(ellipse at center, rgba(99,102,241,0.18) 0%, rgba(59,130,246,0.10) 40%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}
.hero-content { position: relative; z-index: 1; }
.hero h1 { margin: var(--sp-5) 0 var(--sp-5); max-width: 820px; margin-left: auto; margin-right: auto; }
.hero p.hero-sub {
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto var(--sp-7);
  line-height: 1.75;
}
.hero-cta-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-4);
  flex-wrap: wrap;
}

/* ── Hero demo grid (responsive) ── */
.hero-demo-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 20px;
  max-width: 900px;
  margin: 0 auto;
  align-items: start;
}
@media (max-width: 767px) {
  .hero-demo-grid {
    grid-template-columns: 1fr;
  }
  .hero-demo-grid .demo-strip {
    display: none; /* hide browser preview on mobile, keep chat */
  }
}

/* ── How it works two-col grid ── */
.how-it-works-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-9);
  align-items: center;
}
@media (max-width: 767px) {
  .how-it-works-grid {
    grid-template-columns: 1fr;
    gap: var(--sp-7);
  }
}

/* ── Stats strip ── */
.stats-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-7);
  flex-wrap: wrap;
  margin-top: var(--sp-8);
  padding: var(--sp-6) 0;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}
.stat-item { text-align: center; }
.stat-item strong {
  display: block;
  font-family: 'Sora', sans-serif;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 800;
  background: var(--grad-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.1;
}
.stat-item span {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: var(--sp-1);
  display: block;
}

/* ── Section headers ── */
.section-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-indigo);
  margin-bottom: var(--sp-3);
}
.section-title {
  margin-bottom: var(--sp-5);
}
.section-desc {
  color: var(--text-secondary);
  font-size: 1.05rem;
  max-width: 560px;
  line-height: 1.75;
}

/* ── Feature grid ── */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--sp-5);
  margin-top: var(--sp-7);
}
.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-xl);
  padding: var(--sp-6);
  transition: border-color var(--t-base), box-shadow var(--t-base), transform var(--t-base);
}
.feature-card:hover {
  border-color: rgba(99,102,241,0.3);
  box-shadow: 0 0 30px rgba(99,102,241,0.12);
  transform: translateY(-3px);
}
.feature-icon {
  width: 48px; height: 48px;
  border-radius: var(--r-md);
  background: rgba(99,102,241,0.12);
  border: 1px solid rgba(99,102,241,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--sp-5);
}
.feature-icon svg { width: 22px; height: 22px; stroke: var(--accent-indigo); }
.feature-card h3 { font-size: 1.1rem; margin-bottom: var(--sp-3); }
.feature-card p { color: var(--text-secondary); font-size: 0.9rem; line-height: 1.65; }

/* ── Pricing ── */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--sp-5);
  margin-top: var(--sp-7);
  align-items: start;
}
.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-xl);
  padding: var(--sp-7) var(--sp-6);
  position: relative;
  transition: border-color var(--t-base), box-shadow var(--t-base);
}
.pricing-card.featured {
  border-color: rgba(99,102,241,0.45);
  background: linear-gradient(160deg, rgba(99,102,241,0.08) 0%, rgba(8,11,20,1) 60%);
  box-shadow: 0 0 40px rgba(99,102,241,0.2);
}
.pricing-card.featured:hover {
  box-shadow: 0 0 60px rgba(99,102,241,0.3);
}
.pricing-popular {
  position: absolute;
  top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--grad-primary);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.25rem 1rem;
  border-radius: var(--r-full);
  white-space: nowrap;
}
.pricing-price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin: var(--sp-5) 0 var(--sp-5);
}
.pricing-price .amount {
  font-family: 'Sora', sans-serif;
  font-size: 3rem;
  font-weight: 800;
  line-height: 1;
  background: var(--grad-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.pricing-price .currency {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-secondary);
  align-self: flex-start;
  margin-top: 8px;
}
.pricing-price .period {
  font-size: 0.875rem;
  color: var(--text-muted);
}
.pricing-features {
  margin: var(--sp-6) 0 var(--sp-7);
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
}
.pricing-feature {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  font-size: 0.9rem;
  color: var(--text-secondary);
}
.pricing-feature svg { width: 16px; height: 16px; stroke: var(--success); flex-shrink: 0; }

/* ── Chat preview UI ── */
.chat-preview {
  background: var(--bg-surface);
  border: 1px solid var(--border-default);
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  max-width: 680px;
  margin: 0 auto;
}
.chat-header {
  background: var(--bg-elevated);
  padding: var(--sp-4) var(--sp-5);
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  gap: var(--sp-3);
}
.chat-status-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 8px var(--success);
  animation: pulse-dot 2s ease-in-out infinite;
}
.chat-messages {
  padding: var(--sp-5);
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
  min-height: 280px;
}
.chat-bubble {
  max-width: 80%;
  padding: var(--sp-3) var(--sp-5);
  border-radius: 18px;
  font-size: 0.9rem;
  line-height: 1.55;
}
.chat-bubble.ai {
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  align-self: flex-start;
  border-bottom-left-radius: 4px;
}
.chat-bubble.user {
  background: var(--grad-primary);
  color: #fff;
  align-self: flex-end;
  border-bottom-right-radius: 4px;
  box-shadow: 0 4px 14px rgba(99,102,241,0.3);
}
.chat-typing {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: var(--sp-3) var(--sp-5);
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: 18px;
  border-bottom-left-radius: 4px;
  width: fit-content;
}
.chat-typing span {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--text-muted);
  animation: typing-bounce 1.2s ease-in-out infinite;
}
.chat-typing span:nth-child(2) { animation-delay: 0.2s; }
.chat-typing span:nth-child(3) { animation-delay: 0.4s; }
@keyframes typing-bounce {
  0%, 60%, 100% { transform: translateY(0); }
  30% { transform: translateY(-8px); background: var(--accent-indigo); }
}
.chat-input-bar {
  padding: var(--sp-4) var(--sp-5);
  border-top: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  gap: var(--sp-3);
}
.chat-input-bar input {
  flex: 1;
  background: var(--bg-elevated);
  border: 1px solid var(--border-default);
  border-radius: var(--r-md);
  padding: 0.65rem 1rem;
  color: var(--text-primary);
  font-size: 0.875rem;
  outline: none;
  transition: border-color var(--t-fast);
}
.chat-input-bar input:focus { border-color: var(--accent-indigo); }
.chat-send {
  width: 40px; height: 40px;
  border-radius: var(--r-md);
  background: var(--grad-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: opacity var(--t-fast), transform var(--t-fast);
}
.chat-send:hover { opacity: 0.85; transform: scale(1.05); }
.chat-send svg { width: 16px; height: 16px; stroke: #fff; }

/* ── URL reveal ── */
.url-reveal {
  background: var(--bg-elevated);
  border: 1px solid rgba(16,185,129,0.3);
  border-radius: var(--r-md);
  padding: var(--sp-3) var(--sp-5);
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  max-width: 420px;
}
.url-reveal .url-icon { color: var(--success); }
.url-reveal .url-text {
  font-size: 0.85rem;
  font-family: 'Inter', monospace;
  color: var(--success);
  flex: 1;
}
.url-reveal .url-open {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-secondary);
  border: 1px solid var(--border-default);
  padding: 0.25rem 0.6rem;
  border-radius: var(--r-sm);
  transition: border-color var(--t-fast), color var(--t-fast);
}
.url-reveal .url-open:hover { border-color: var(--success); color: var(--success); }

/* ── How it works ── */
.steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
  margin-top: var(--sp-7);
  max-width: 700px;
}
.step {
  display: flex;
  gap: var(--sp-6);
  position: relative;
}
.step:not(:last-child)::before {
  content: '';
  position: absolute;
  left: 23px;
  top: 52px;
  bottom: 0;
  width: 1px;
  background: linear-gradient(to bottom, rgba(99,102,241,0.4), rgba(99,102,241,0.05));
}
.step-number {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: rgba(99,102,241,0.1);
  border: 2px solid rgba(99,102,241,0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-family: 'Sora', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--accent-indigo);
}
.step-body {
  padding-bottom: var(--sp-7);
}
.step-body h3 { font-size: 1.15rem; margin-bottom: var(--sp-2); }
.step-body p { color: var(--text-secondary); font-size: 0.9rem; line-height: 1.65; }

/* ── FAQ ── */
.faq-list { margin-top: var(--sp-7); }
.faq-item {
  border-bottom: 1px solid var(--border-subtle);
}
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--sp-5) 0;
  text-align: left;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  background: none;
  border: none;
  cursor: pointer;
  gap: var(--sp-4);
  min-height: 44px;
  transition: color var(--t-fast);
}
.faq-question:hover { color: var(--accent-indigo); }
.faq-chevron {
  width: 20px; height: 20px;
  flex-shrink: 0;
  stroke: var(--text-muted);
  transition: transform var(--t-base), stroke var(--t-fast);
}
.faq-item.open .faq-chevron {
  transform: rotate(180deg);
  stroke: var(--accent-indigo);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--t-slow) ease-out;
}
.faq-answer p {
  color: var(--text-secondary);
  font-size: 0.925rem;
  line-height: 1.75;
  padding-bottom: var(--sp-5);
}
.faq-item.open .faq-answer { max-height: 300px; }

/* ── CTA Band ── */
.cta-band {
  background: var(--bg-card);
  border: 1px solid var(--border-default);
  border-radius: var(--r-xl);
  padding: var(--sp-9) var(--sp-6);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% -30%, rgba(99,102,241,0.18) 0%, transparent 65%);
  pointer-events: none;
}
.cta-band h2 { position: relative; z-index: 1; }
.cta-band p { position: relative; z-index: 1; color: var(--text-secondary); margin: var(--sp-4) auto var(--sp-7); max-width: 480px; }
.cta-band .cta-row { position: relative; z-index: 1; display: flex; gap: var(--sp-4); justify-content: center; flex-wrap: wrap; }

/* ── Footer ── */
.footer {
  border-top: 1px solid var(--border-subtle);
  padding: var(--sp-9) 0 var(--sp-6);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--sp-8);
  margin-bottom: var(--sp-8);
}
@media (max-width: 767px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--sp-7);
  }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
}
.footer-brand-name {
  font-family: 'Sora', sans-serif;
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: var(--sp-3);
}
.footer-brand-name .logo-accent { background: var(--grad-text); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.footer-brand p { color: var(--text-secondary); font-size: 0.875rem; line-height: 1.65; max-width: 280px; }
.footer-col h4 {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: var(--sp-4);
}
.footer-col ul { display: flex; flex-direction: column; gap: var(--sp-3); }
.footer-col a {
  font-size: 0.875rem;
  color: var(--text-secondary);
  transition: color var(--t-fast);
}
.footer-col a:hover { color: var(--text-primary); }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--sp-4);
  padding-top: var(--sp-6);
  border-top: 1px solid var(--border-subtle);
}
.footer-bottom p { color: var(--text-muted); font-size: 0.8rem; }
.footer-legal { display: flex; gap: var(--sp-5); }
.footer-legal a { font-size: 0.8rem; color: var(--text-muted); transition: color var(--t-fast); }
.footer-legal a:hover { color: var(--text-secondary); }

/* ── Divider ── */
.divider {
  height: 1px;
  background: linear-gradient(to right, transparent, var(--border-default), transparent);
  border: none;
  margin: 0;
}

/* ── Glow orbs (decorative) ── */
.orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(80px);
  opacity: 0.12;
}
.orb-indigo { background: var(--accent-indigo); }
.orb-blue   { background: var(--accent-blue); }
.orb-cyan   { background: var(--accent-cyan); }

/* ── Bento grid ── */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--sp-4);
  margin-top: var(--sp-7);
}
.bento-cell {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-xl);
  padding: var(--sp-6);
  overflow: hidden;
  position: relative;
  transition: border-color var(--t-base), box-shadow var(--t-base);
}
.bento-cell:hover {
  border-color: var(--border-default);
  box-shadow: var(--shadow-md);
}
.bento-1 { grid-column: span 7; }
.bento-2 { grid-column: span 5; }
.bento-3 { grid-column: span 4; }
.bento-4 { grid-column: span 4; }
.bento-5 { grid-column: span 4; }
@media (max-width: 1024px) {
  .bento-1, .bento-2 { grid-column: span 12; }
  .bento-3, .bento-4, .bento-5 { grid-column: span 6; }
}
@media (max-width: 640px) {
  .bento-1, .bento-2, .bento-3, .bento-4, .bento-5 { grid-column: span 12; }
}

/* ── Scroll-reveal ── */
.reveal {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
  }
  .reveal.visible {
    opacity: 1;
    transform: none;
  }
}

/* ── Utility ── */
.text-center { text-align: center; }
.mt-2 { margin-top: var(--sp-2); }
.mt-4 { margin-top: var(--sp-4); }
.mt-5 { margin-top: var(--sp-5); }
.mt-6 { margin-top: var(--sp-6); }
.mt-7 { margin-top: var(--sp-7); }
.gap-3 { gap: var(--sp-3); }
.flex { display: flex; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }

/* ── Focus visible ── */
:focus-visible {
  outline: 2px solid var(--accent-indigo);
  outline-offset: 3px;
  border-radius: var(--r-sm);
}
