/* ============================================================
   FolioTalk Landing Page
   Dark theme, glass-morphism, gradient accents, scroll animations
   ============================================================ */

/* ---------- Theme Variables ---------- */
:root {
  --l-bg: #030712;
  --l-text: #e2e8f0;
  --l-text-bright: #f8fafc;
  --l-text-muted: #94a3b8;
  --l-text-dim: #64748b;
  --l-text-subtle: #475569;
  --l-text-faint: #334155;
  --l-accent: #60a5fa;
  --l-accent-blue: #3b82f6;
  --l-border: rgba(255, 255, 255, 0.06);
  --l-border-medium: rgba(255, 255, 255, 0.08);
  --l-border-strong: rgba(255, 255, 255, 0.10);
  --l-border-stronger: rgba(255, 255, 255, 0.12);
  --l-border-accent: rgba(255, 255, 255, 0.2);
  --l-glass: rgba(255, 255, 255, 0.03);
  --l-glass-hover: rgba(255, 255, 255, 0.06);
  --l-glass-faint: rgba(255, 255, 255, 0.02);
  --l-glass-subtle: rgba(255, 255, 255, 0.04);
  --l-nav-bg: rgba(3, 7, 18, 0.8);
  --l-nav-mobile-bg: rgba(3, 7, 18, 0.95);
  --l-signin-bg: rgba(255, 255, 255, 0.08);
  --l-signin-hover: rgba(255, 255, 255, 0.14);
  --l-shadow: rgba(0, 0, 0, 0.5);
  --l-shadow-light: rgba(0, 0, 0, 0.3);
  --l-shadow-heavy: rgba(0, 0, 0, 0.4);
  --l-orb-opacity: 0.15;
  --l-dot-bg: #334155;
  --l-chat-user-bg: linear-gradient(135deg, rgba(var(--l-accent-rgb),0.2), rgba(124, 58, 237, 0.15));
  --l-chat-user-border: rgba(var(--l-accent-rgb),0.2);
  --l-chat-ai-bg: rgba(255, 255, 255, 0.04);
  --l-chat-ai-border: rgba(255, 255, 255, 0.06);
  --l-chat-ai-text: #cbd5e1;
  --l-mobile-span-bg: #94a3b8;
  --l-accent-rgb: 59, 130, 246;
}

[data-theme="light"] {
  --l-bg: #eef1f5;
  --l-text: #334155;
  --l-text-bright: #0f172a;
  --l-text-muted: #5a6a80;
  --l-text-dim: #7c8aa3;
  --l-text-subtle: #7c8aa3;
  --l-text-faint: #b0bac8;
  --l-accent: #0d9488;
  --l-accent-blue: #0d9488;
  --l-border: rgba(0, 0, 0, 0.08);
  --l-border-medium: rgba(0, 0, 0, 0.10);
  --l-border-strong: rgba(0, 0, 0, 0.12);
  --l-border-stronger: rgba(0, 0, 0, 0.14);
  --l-border-accent: rgba(0, 0, 0, 0.16);
  --l-glass: rgba(0, 0, 0, 0.03);
  --l-glass-hover: rgba(0, 0, 0, 0.05);
  --l-glass-faint: rgba(0, 0, 0, 0.02);
  --l-glass-subtle: rgba(0, 0, 0, 0.04);
  --l-nav-bg: rgba(238, 241, 245, 0.90);
  --l-nav-mobile-bg: rgba(238, 241, 245, 0.97);
  --l-signin-bg: rgba(0, 0, 0, 0.06);
  --l-signin-hover: rgba(0, 0, 0, 0.10);
  --l-shadow: rgba(0, 0, 0, 0.14);
  --l-shadow-light: rgba(0, 0, 0, 0.08);
  --l-shadow-heavy: rgba(0, 0, 0, 0.12);
  --l-orb-opacity: 0.06;
  --l-dot-bg: #b0bac8;
  --l-chat-user-bg: linear-gradient(135deg, rgba(13, 148, 136, 0.12), rgba(5, 150, 105, 0.10));
  --l-chat-user-border: rgba(13, 148, 136, 0.18);
  --l-chat-ai-bg: rgba(0, 0, 0, 0.04);
  --l-chat-ai-border: rgba(0, 0, 0, 0.07);
  --l-chat-ai-text: #475569;
  --l-mobile-span-bg: #5a6a80;
  --l-accent-rgb: 13, 148, 136;
}

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

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

body {
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--l-bg);
  color: var(--l-text);
  line-height: 1.6;
  overflow-x: hidden;
  transition: background-color 0.3s ease, color 0.3s ease;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }

/* ---------- Animated Background Orbs ---------- */
.bg-orbs {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: var(--l-orb-opacity);
  will-change: transform;
}

.orb-1 {
  width: 600px; height: 600px;
  background: var(--l-accent-blue);
  top: -10%; left: -5%;
  animation: orb-float-1 20s ease-in-out infinite;
}

.orb-2 {
  width: 500px; height: 500px;
  background: #8b5cf6;
  top: 30%; right: -10%;
  animation: orb-float-2 25s ease-in-out infinite;
}

.orb-3 {
  width: 400px; height: 400px;
  background: #ec4899;
  bottom: -5%; left: 30%;
  animation: orb-float-3 22s ease-in-out infinite;
}

@keyframes orb-float-1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(80px, 60px) scale(1.1); }
  66% { transform: translate(-40px, 100px) scale(0.95); }
}

@keyframes orb-float-2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(-60px, -80px) scale(1.05); }
  66% { transform: translate(50px, 40px) scale(0.9); }
}

@keyframes orb-float-3 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(70px, -50px) scale(1.1); }
  66% { transform: translate(-80px, -30px) scale(0.95); }
}

/* ---------- Scroll Reveal Animations ---------- */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.reveal-delay-1 { transition-delay: 0.15s; }
.reveal-delay-2 { transition-delay: 0.3s; }
.reveal-delay-3 { transition-delay: 0.45s; }

/* ---------- Container ---------- */
section, .nav-inner, .footer-inner, .footer-bottom {
  position: relative;
  z-index: 1;
}

/* ---------- Navigation ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 0 24px;
  transition: background 0.3s, border-color 0.3s, backdrop-filter 0.3s;
  border-bottom: 1px solid transparent;
}

.nav.scrolled {
  background: var(--l-nav-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom-color: var(--l-border);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 700;
  color: var(--l-text-bright);
  letter-spacing: -0.02em;
}

.logo-icon {
  border-radius: 8px;
}

.nav-links {
  display: flex;
  gap: 32px;
}

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--l-text-muted);
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--l-text-bright); }

.btn-signin {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 20px;
  font-size: 14px;
  font-weight: 600;
  color: var(--l-text-bright);
  background: var(--l-signin-bg);
  border: 1px solid var(--l-border-stronger);
  border-radius: 10px;
  transition: all 0.2s;
}

.btn-signin:hover {
  background: var(--l-signin-hover);
  border-color: var(--l-border-accent);
}

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

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

.mobile-menu {
  display: none;
  position: fixed;
  top: 72px; left: 0; right: 0;
  z-index: 99;
  background: var(--l-nav-mobile-bg);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--l-border);
  padding: 16px 24px 24px;
  flex-direction: column;
  gap: 16px;
}

.mobile-menu a {
  font-size: 16px;
  font-weight: 500;
  color: var(--l-text-muted);
  padding: 8px 0;
}

.mobile-menu a:hover { color: var(--l-text-bright); }

.mobile-menu .btn-signin.mobile {
  margin-top: 8px;
  text-align: center;
  justify-content: center;
}

.mobile-menu.open { display: flex; }

/* ---------- Buttons ---------- */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(135deg, var(--l-accent-blue), #7c3aed);
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s;
  box-shadow: 0 0 20px rgba(var(--l-accent-rgb),0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(var(--l-accent-rgb),0.5), 0 8px 24px rgba(0, 0, 0, 0.3);
}

.btn-primary.btn-large {
  padding: 16px 36px;
  font-size: 16px;
  border-radius: 14px;
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 14px 28px;
  font-size: 15px;
  font-weight: 600;
  color: var(--l-text-muted);
  background: transparent;
  border: 1px solid var(--l-border-strong);
  border-radius: 12px;
  transition: all 0.2s;
}

.btn-ghost:hover {
  color: var(--l-text-bright);
  border-color: var(--l-border-accent);
  background: var(--l-glass-subtle);
}

/* ---------- Gradient Text ---------- */
.gradient-text {
  background: linear-gradient(135deg, #60a5fa, #a78bfa, #f472b6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ---------- Section Headers ---------- */
.section-label {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--l-accent);
  margin-bottom: 16px;
}

.section-header h2 {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  line-height: 1.2;
  color: var(--l-text-bright);
  letter-spacing: -0.02em;
}

.section-desc {
  margin-top: 16px;
  font-size: 17px;
  color: var(--l-text-muted);
  max-width: 560px;
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-header .section-desc {
  margin-left: auto;
  margin-right: auto;
}

/* ---------- Hero ---------- */
.hero {
  max-width: 1200px;
  margin: 0 auto;
  padding: 160px 24px 80px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  min-height: 100vh;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  font-size: 13px;
  font-weight: 600;
  color: var(--l-accent);
  background: rgba(var(--l-accent-rgb),0.1);
  border: 1px solid rgba(var(--l-accent-rgb),0.2);
  border-radius: 100px;
  margin-bottom: 24px;
}

.badge-dot {
  width: 6px; height: 6px;
  background: var(--l-accent-blue);
  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(36px, 5vw, 60px);
  font-weight: 800;
  line-height: 1.1;
  color: var(--l-text-bright);
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}

.hero-subtitle {
  font-size: 18px;
  color: var(--l-text-muted);
  line-height: 1.7;
  max-width: 480px;
  margin-bottom: 32px;
}

.hero-cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.hero-note {
  font-size: 13px;
  color: var(--l-text-dim);
}

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

.hero-screenshot-wrapper {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  inset: -30%;
  background: radial-gradient(ellipse at center, rgba(var(--l-accent-rgb),0.2) 0%, transparent 70%);
  z-index: -1;
  animation: hero-glow-pulse 4s ease-in-out infinite;
}

@keyframes hero-glow-pulse {
  0%, 100% { opacity: 0.6; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.05); }
}

.hero-screenshot {
  border-radius: 16px;
  border: 1px solid var(--l-border-strong);
  box-shadow: 0 20px 60px var(--l-shadow), 0 0 40px rgba(var(--l-accent-rgb),0.1);
  animation: hero-float 6s ease-in-out infinite;
}

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

/* ---------- Institutions Strip ---------- */
.institutions {
  padding: 40px 24px;
  text-align: center;
  border-top: 1px solid var(--l-border);
  border-bottom: 1px solid var(--l-border);
  overflow: hidden;
}

.institutions-label {
  font-size: 13px;
  font-weight: 500;
  color: var(--l-text-subtle);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 20px;
}

.institution-scroll {
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  overflow: hidden;
}

.institution-track {
  display: flex;
  align-items: center;
  gap: 0;
  white-space: nowrap;
  animation: scroll-institutions 30s linear infinite;
  width: max-content;
}

.institution-track span {
  font-size: 15px;
  font-weight: 600;
  color: var(--l-text-subtle);
  padding: 0 16px;
  flex-shrink: 0;
}

.inst-dot {
  width: 4px !important;
  height: 4px;
  min-width: 4px;
  background: var(--l-dot-bg);
  border-radius: 50%;
  display: inline-block;
  padding: 0 !important;
}

.inst-more {
  color: #60a5fa !important;
}

@keyframes scroll-institutions {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ============================================================
   Showcase Sections (Features / Account Insights / AI Analytics)
   ============================================================ */
.showcase-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 120px 24px;
}

/* ---------- Features: Hero Image ---------- */
.showcase-hero {
  margin-bottom: 48px;
}

.showcase-hero-img {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--l-border-medium);
  box-shadow: 0 20px 60px var(--l-shadow-heavy), 0 0 40px rgba(var(--l-accent-rgb),0.06);
  transition: all 0.4s;
}

.showcase-hero-img:hover {
  border-color: rgba(var(--l-accent-rgb),0.2);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.5), 0 0 50px rgba(var(--l-accent-rgb),0.1);
}

.showcase-hero-img img {
  width: 100%;
  display: block;
}

/* ---------- Feature Pills ---------- */
.feature-pills {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.pill {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 20px;
  background: var(--l-glass);
  border: 1px solid var(--l-border);
  border-radius: 14px;
  transition: all 0.3s;
}

.pill:hover {
  background: var(--l-glass-hover);
  border-color: var(--l-border-strong);
  transform: translateY(-2px);
}

.pill svg {
  flex-shrink: 0;
  color: var(--l-accent);
  margin-top: 2px;
}

.pill div {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.pill strong {
  font-size: 14px;
  font-weight: 700;
  color: var(--l-text-bright);
}

.pill span {
  font-size: 13px;
  color: var(--l-text-dim);
}

/* ---------- Showcase Split (two cards side-by-side) ---------- */
.showcase-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.showcase-split:last-child {
  margin-bottom: 0;
}

.showcase-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--l-border);
  background: var(--l-glass-faint);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.showcase-card img {
  width: 100%;
  display: block;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.showcase-card:hover {
  border-color: rgba(var(--l-accent-rgb),0.25);
  box-shadow: 0 0 40px rgba(var(--l-accent-rgb),0.08);
}

.showcase-card:hover img {
  transform: scale(1.03);
}

.showcase-card-caption {
  padding: 20px 24px;
  border-top: 1px solid var(--l-border);
}

.showcase-card-caption h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--l-text-bright);
  margin-bottom: 6px;
}

.showcase-card-caption p {
  font-size: 13px;
  color: var(--l-text-muted);
  line-height: 1.5;
}

/* ============================================================
   AI Analytics — Chat Mockup + Feature List
   ============================================================ */
.ai-showcase {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 32px;
  align-items: start;
}

/* Chat mockup */
.ai-chat-mockup {
  border-radius: 16px;
  border: 1px solid var(--l-border-medium);
  background: var(--l-glass);
  overflow: hidden;
  box-shadow: 0 16px 48px var(--l-shadow-light);
}

.chat-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--l-border);
  font-size: 14px;
  font-weight: 600;
  color: var(--l-text-bright);
}

.chat-messages {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-height: 520px;
  overflow-y: auto;
}

.chat-msg {
  padding: 12px 16px;
  border-radius: 12px;
  font-size: 13px;
  line-height: 1.6;
}

.chat-msg.user {
  background: var(--l-chat-user-bg);
  border: 1px solid var(--l-chat-user-border);
  color: var(--l-text);
  align-self: flex-end;
  max-width: 85%;
}

.chat-msg.ai {
  background: var(--l-glass-subtle);
  border: 1px solid var(--l-border);
  color: var(--l-chat-ai-text);
  align-self: flex-start;
  max-width: 90%;
}

.chat-msg.ai strong {
  color: var(--l-text-bright);
}

.chat-input-mock {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 20px;
  border-top: 1px solid var(--l-border);
  font-size: 13px;
  color: var(--l-text-subtle);
}

.chat-chip {
  display: inline-block;
  padding: 3px 10px;
  background: rgba(var(--l-accent-rgb),0.15);
  border: 1px solid rgba(var(--l-accent-rgb),0.25);
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  color: var(--l-accent);
  white-space: nowrap;
}

/* AI feature list */
.ai-features {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.ai-feature {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 20px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.04);
  background: var(--l-glass-faint);
  transition: all 0.3s;
}

.ai-feature:hover {
  background: var(--l-glass-subtle);
  border-color: rgba(255, 255, 255, 0.08);
}

.ai-feature-icon {
  width: 40px; height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(var(--l-accent-rgb),0.1);
  border-radius: 10px;
  flex-shrink: 0;
  color: var(--l-accent);
}

.ai-feature strong {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--l-text-bright);
  margin-bottom: 4px;
}

.ai-feature p {
  font-size: 13px;
  color: var(--l-text-muted);
  line-height: 1.5;
  margin: 0;
}

/* ---------- Stats ---------- */
.stats {
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 24px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

.stat {
  padding: 32px 16px;
  border: 1px solid var(--l-border);
  border-radius: 16px;
  background: var(--l-glass-faint);
}

.stat-number {
  display: block;
  font-size: 32px;
  font-weight: 800;
  color: var(--l-text-bright);
  letter-spacing: -0.03em;
  margin-bottom: 4px;
  background: linear-gradient(135deg, #60a5fa, #a78bfa);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  font-size: 14px;
  color: var(--l-text-dim);
  font-weight: 500;
}

/* ---------- Final CTA ---------- */
.final-cta {
  position: relative;
  text-align: center;
  padding: 120px 24px 140px;
  overflow: hidden;
}

.cta-glow {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 600px; height: 400px;
  background: radial-gradient(ellipse, rgba(var(--l-accent-rgb),0.12), transparent 70%);
  pointer-events: none;
}

.cta-content {
  position: relative;
  z-index: 1;
}

.final-cta h2 {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  line-height: 1.2;
  color: var(--l-text-bright);
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.final-cta > .cta-content > p {
  font-size: 17px;
  color: var(--l-text-muted);
  margin-bottom: 32px;
}

.cta-fine {
  margin-top: 16px;
  font-size: 13px;
  color: var(--l-text-subtle);
}

/* ---------- Footer ---------- */
.footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--l-border);
  padding: 0 24px;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 64px 0 48px;
  display: flex;
  justify-content: space-between;
  gap: 48px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 18px;
  font-weight: 700;
  color: var(--l-text-bright);
}

.footer-tagline {
  margin-top: 12px;
  font-size: 14px;
  color: var(--l-text-subtle);
}

.footer-columns {
  display: flex;
  gap: 64px;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col h4 {
  font-size: 13px;
  font-weight: 600;
  color: var(--l-text-dim);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 4px;
}

.footer-col a {
  font-size: 14px;
  color: var(--l-text-muted);
  transition: color 0.2s;
}

.footer-col a:hover { color: var(--l-text-bright); }

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px 0;
  border-top: 1px solid var(--l-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-bottom p {
  font-size: 13px;
  color: var(--l-text-faint);
}

.footer-powered strong {
  color: var(--l-text-subtle);
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
    padding-top: 120px;
    min-height: auto;
    gap: 48px;
  }

  .hero-subtitle { margin-left: auto; margin-right: auto; }
  .hero-cta { justify-content: center; }

  .feature-pills { grid-template-columns: repeat(2, 1fr); }
  .ai-showcase { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-actions { display: none; }
  .nav-mobile-toggle { display: flex; }

  .hero { padding-top: 100px; }
  .hero h1 { font-size: 36px; }
  .hero-subtitle { font-size: 16px; }

  .feature-pills { grid-template-columns: 1fr; }
  .showcase-split { grid-template-columns: 1fr; }

  .stats-grid { grid-template-columns: repeat(2, 1fr); }

  .footer-inner { flex-direction: column; }
  .footer-columns { flex-direction: column; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
}

@media (max-width: 480px) {
  .hero-cta { flex-direction: column; align-items: center; }
  .btn-primary.btn-large { width: 100%; justify-content: center; }
  .btn-ghost { width: 100%; justify-content: center; }
  .stats-grid { grid-template-columns: 1fr; }
}

/* ---------- Theme Toggle Icons ---------- */
[data-theme="light"] .theme-icon-sun { display: none !important; }
[data-theme="light"] .theme-icon-moon { display: inline-block !important; }
.theme-icon-moon { display: none !important; }
.theme-icon-sun { display: inline-block !important; }

/* ---------- Light Mode Enhancements ---------- */
[data-theme="light"] .hero-screenshot {
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12), 0 0 40px rgba(var(--l-accent-rgb),0.08);
}

[data-theme="light"] .showcase-hero-img {
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1), 0 0 40px rgba(var(--l-accent-rgb),0.04);
}

[data-theme="light"] .ai-chat-mockup {
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .pill,
[data-theme="light"] .stat,
[data-theme="light"] .ai-feature,
[data-theme="light"] .showcase-card {
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}
