/* ============================================================
   CSS VARIABLES — DARK THEME (default)
============================================================ */
:root {
  --bg: #09090F;
  --bg-2: #0F0F1A;
  --bg-3: #16162A;
  --border: rgba(255,255,255,0.08);
  --border-hover: rgba(255,255,255,0.16);
  --accent: #4DFFA4;
  --accent-dim: rgba(77,255,164,0.12);
  --text-primary: #F0F0FF;
  --text-secondary: #8888AA;
  --text-tertiary: #555577;
  --glow: rgba(77,255,164,0.25);
  --danger: #FF5555;
  color-scheme: dark;
}

/* ============================================================
   CSS VARIABLES — LIGHT THEME
============================================================ */
[data-theme="light"] {
  --bg: #F5F5F8;
  --bg-2: #EEEEF4;
  --bg-3: #E4E4EE;
  --border: rgba(0,0,0,0.1);
  --border-hover: rgba(0,0,0,0.2);
  --accent: #0B8F57;
  --accent-dim: rgba(11,143,87,0.1);
  --text-primary: #0A0A14;
  --text-secondary: #3A3A52;
  --text-tertiary: #7A7A96;
  --glow: rgba(11,143,87,0.2);
  --danger: #CC2222;
  color-scheme: light;
}

/* ============================================================
   THEME TRANSITION
============================================================ */
.theme-transitioning *,
.theme-transitioning *::before,
.theme-transitioning *::after {
  transition:
    background-color 0.25s ease,
    border-color 0.25s ease,
    color 0.25s ease,
    box-shadow 0.25s ease !important;
}

/* ============================================================
   RESET & BASE
============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text-primary);
  font-family: 'DM Sans', sans-serif;
  font-weight: 400;
  line-height: 1.5;
  overflow-x: hidden;
  cursor: none;
}
@media (max-width: 640px) { body { cursor: auto; } }
img, svg { display: block; }
a { text-decoration: none; color: inherit; }
button { font-family: 'DM Sans', sans-serif; cursor: none; border: none; outline: none; }
@media (max-width: 640px) { button { cursor: pointer; } }
input { font-family: 'DM Sans', sans-serif; outline: none; border: none; }

/* ============================================================
   CUSTOM CURSOR
============================================================ */
#cursor {
  position: fixed;
  top: 0; left: 0;
  width: 8px; height: 8px;
  background: var(--accent);
  border-radius: 50%;
  pointer-events: none;
  z-index: 99999;
  transform: translate(-50%, -50%);
  transition: transform 0.08s ease, opacity 0.2s ease;
  opacity: 0;
}
#cursor.visible { opacity: 1; }
#cursor.clicking { transform: translate(-50%,-50%) scale(1.6); }
@media (max-width: 640px) { #cursor { display: none; } }

/* ============================================================
   UTILITIES
============================================================ */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 32px;
}
@media (max-width: 640px) { .container { padding: 0 20px; } }

/* Eyebrow with flanking lines */
.eyebrow-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 20px;
}
.eyebrow-row::before,
.eyebrow-row::after {
  content: '';
  display: block;
  width: 40px;
  height: 1px;
  background: var(--accent);
  opacity: 0.35;
  flex-shrink: 0;
}

.eyebrow {
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  text-align: center;
}

.section-headline {
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  font-size: 44px;
  color: var(--text-primary);
  text-align: center;
  line-height: 1.15;
}
@media (max-width: 1024px) { .section-headline { font-size: 36px; } }
@media (max-width: 640px)  { .section-headline { font-size: 30px; } }

.section-sub {
  font-family: 'DM Sans', sans-serif;
  font-weight: 400;
  font-size: 17px;
  color: var(--text-secondary);
  text-align: center;
  line-height: 1.65;
  margin-top: 16px;
}
@media (max-width: 640px) { .section-sub { font-size: 15px; } }

.section-header { text-align: center; }
.section-header .section-headline { margin: 0 auto; }
.section-header .section-sub { max-width: 520px; margin: 16px auto 0; }

.icon-box {
  width: 52px; height: 52px;
  background: var(--accent-dim);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.icon-box svg { color: var(--accent); width: 26px; height: 26px; }

/* ============================================================
   ANIMATIONS & KEYFRAMES
============================================================ */
@keyframes hero-fadein {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}


@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(8px); }
}

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  20%, 60%  { transform: translateX(-6px); }
  40%, 80%  { transform: translateX(6px); }
}

@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ============================================================
   BUTTONS
============================================================ */
.btn-accent {
  background: var(--accent);
  color: #09090F;
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
  font-size: 15px;
  border-radius: 10px;
  padding: 12px 22px;
  border: none;
  cursor: none;
  transition: filter 0.15s ease, box-shadow 0.15s ease;
  white-space: nowrap;
}
.btn-accent:hover  { filter: brightness(1.1); box-shadow: 0 0 28px var(--glow); }
.btn-accent:active { transform: scale(0.98); }
@media (max-width: 640px) { .btn-accent { cursor: pointer; } }

.btn-ghost {
  background: transparent;
  color: var(--text-primary);
  font-family: 'DM Sans', sans-serif;
  font-weight: 400;
  font-size: 14px;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px 24px;
  cursor: none;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
  width: 100%;
}
.btn-ghost:hover  { background: rgba(128,128,128,0.06); border-color: var(--border-hover); }
.btn-ghost:active { transform: scale(0.98); }
@media (max-width: 640px) { .btn-ghost { cursor: pointer; } }

/* Light mode: accent buttons need white text on green background */
[data-theme="light"] .btn-accent,
[data-theme="light"] .nav-cta,
[data-theme="light"] .pricing-cta-accent,
[data-theme="light"] .mobile-cta-btn,
[data-theme="light"] .toggle-btn.active {
  color: #fff;
}
/* Light mode: ghost buttons get a stronger border */
[data-theme="light"] .btn-ghost {
  border-color: rgba(0,0,0,0.15);
}
[data-theme="light"] .btn-ghost:hover {
  border-color: rgba(0,0,0,0.25);
  background: rgba(0,0,0,0.04);
}

/* ============================================================
   NAVIGATION
============================================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  background: rgba(9,9,15,0.85);
  border-bottom: 1px solid var(--border);
  transition: background 0.3s ease, border-color 0.3s ease;
}
[data-theme="light"] .nav {
  background: rgba(247,247,252,0.88);
}
.nav.scrolled {
  background: rgba(9,9,15,0.95);
  border-bottom-color: rgba(255,255,255,0.12);
}
[data-theme="light"] .nav.scrolled {
  background: rgba(247,247,252,0.97);
  border-bottom-color: rgba(0,0,0,0.12);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 32px;
}
@media (max-width: 640px) { .nav-inner { padding: 0 20px; } }

/* Logo images — invert on dark mode since the logo is black on transparent */
.nav-logo-img {
  height: 28px;
  width: auto;
  display: block;
  filter: invert(1);
}
[data-theme="light"] .nav-logo-img {
  filter: none;
}

.footer-logo-img {
  height: 22px;
  width: auto;
  display: block;
  filter: invert(1);
  opacity: 0.7;
}
[data-theme="light"] .footer-logo-img {
  filter: none;
  opacity: 1;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 9px;
  text-decoration: none;
}
.nav-logo-icon {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
  filter: invert(1);
}
[data-theme="light"] .nav-logo-icon {
  filter: none;
}
.nav-logo-text {
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  font-size: 18px;
  color: var(--text-primary);
  letter-spacing: -0.01em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
}
.nav-links a {
  font-size: 14px;
  color: var(--text-secondary);
  transition: color 0.2s ease;
}
.nav-links a:hover { color: var(--text-primary); }

.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-login {
  font-size: 14px;
  color: var(--text-secondary);
  background: none;
  border: none;
  padding: 8px 12px;
  cursor: none;
  transition: color 0.2s ease;
}
.nav-login:hover { color: var(--text-primary); }
@media (max-width: 640px) { .nav-login { cursor: pointer; } }

.nav-cta {
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
  font-size: 14px;
  background: var(--accent);
  color: #09090F;
  border: none;
  border-radius: 8px;
  padding: 10px 20px;
  cursor: none;
  transition: filter 0.15s ease, box-shadow 0.15s ease;
}
.nav-cta:hover  { filter: brightness(1.1); box-shadow: 0 0 20px var(--glow); }
.nav-cta:active { transform: scale(0.98); }
@media (max-width: 640px) { .nav-cta { cursor: pointer; } }

/* Theme toggle */
.theme-toggle {
  background: none;
  border: 1px solid var(--border);
  color: var(--text-secondary);
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: none;
  flex-shrink: 0;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.theme-toggle:hover {
  border-color: var(--border-hover);
  color: var(--text-primary);
  background: rgba(128,128,128,0.08);
}
.theme-toggle svg { width: 16px; height: 16px; pointer-events: none; }
@media (max-width: 640px) { .theme-toggle { cursor: pointer; } }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 101;
}
.hamburger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  display: none;
  position: absolute;
  top: 64px; left: 0; right: 0;
  background: rgba(9,9,15,0.98);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.35s ease;
}
[data-theme="light"] .mobile-menu {
  background: rgba(247,247,252,0.98);
}
.mobile-menu.open { max-height: 420px; }
.mobile-menu-inner {
  padding: 20px 20px 28px;
  display: flex;
  flex-direction: column;
}
.mobile-menu a,
.mobile-menu button {
  font-size: 16px;
  color: var(--text-secondary);
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  text-align: left;
  background: none;
  width: 100%;
  transition: color 0.2s;
}
.mobile-menu a:hover,
.mobile-menu button:hover { color: var(--text-primary); }
.mobile-menu .mobile-cta-btn {
  margin-top: 16px;
  background: var(--accent);
  color: #09090F;
  font-weight: 500;
  border-radius: 10px;
  padding: 14px;
  text-align: center;
  cursor: pointer;
  border-bottom: none;
}
.mobile-theme-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}
.mobile-theme-label {
  font-size: 16px;
  color: var(--text-secondary);
}
.mobile-theme-toggle {
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text-secondary);
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
}
.mobile-theme-toggle svg { width: 16px; height: 16px; pointer-events: none; }

@media (max-width: 1024px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .mobile-menu { display: block; }
  .nav-actions .nav-cta   { display: none; }
  .nav-actions .nav-login { display: none; }
}

/* ============================================================
   HERO SECTION — split layout
============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding-top: 64px;
}

/* blobs removed */

/* Split container */
.hero-split {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 80px 32px 120px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
@media (max-width: 900px) {
  .hero-split {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 60px 20px 100px;
    gap: 40px;
  }
}

/* Left column text */
.hero-text { animation: hero-fadein 0.6s ease-out 0ms both; }

.hero-kicker {
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}

.hero-h1 { animation: hero-fadein 0.6s ease-out 100ms both; }
.hero-sub { animation: hero-fadein 0.6s ease-out 200ms both; }
.hero-cta { animation: hero-fadein 0.6s ease-out 350ms both; }

.hero-h1-inner {
  font-family: 'Sora', sans-serif;
  font-weight: 800;
  font-size: 70px;
  color: var(--text-primary);
  line-height: 1.08;
  margin-bottom: 20px;
  text-align: left;
}
@media (max-width: 1200px) { .hero-h1-inner { font-size: 58px; } }
@media (max-width: 900px)  { .hero-h1-inner { font-size: 48px; text-align: center; } }
@media (max-width: 640px)  { .hero-h1-inner { font-size: 36px; } }

.gradient-text {
  color: var(--accent);
}

.hero-sub-inner {
  font-size: 18px;
  color: var(--text-secondary);
  max-width: 440px;
  margin: 0 0 36px;
  line-height: 1.65;
  text-align: left;
}
@media (max-width: 900px) { .hero-sub-inner { font-size: 16px; max-width: 100%; text-align: center; margin: 0 auto 36px; } }

.hero-cta-block {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}
@media (max-width: 900px) { .hero-cta-block { align-items: center; } }

.email-row {
  display: flex;
  align-items: stretch;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--border);
}
.email-input {
  background: var(--bg-3);
  border: none;
  padding: 12px 16px;
  font-size: 15px;
  color: var(--text-primary);
  width: 280px;
  border-radius: 10px 0 0 10px;
  transition: border-color 0.2s ease;
}
.email-input::placeholder { color: var(--text-tertiary); }
.email-input.error {
  border: 1px solid var(--danger);
  border-right: none;
}
.email-input.shake { animation: shake 0.4s ease; }
.email-row .btn-accent { border-radius: 0 10px 10px 0; }

.email-error {
  font-size: 12px;
  color: var(--danger);
  margin-top: -6px;
  display: none;
}
.email-error.visible { display: block; }

/* Meta row: 200+ members · No credit card · 12K+ captures */
.hero-meta-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-tertiary);
  margin-top: 4px;
  flex-wrap: wrap;
}
.hero-meta-dot { opacity: 0.4; }
@media (max-width: 900px) { .hero-meta-row { justify-content: center; } }

/* Right column canvas */
.hero-visual {
  position: relative;
  height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
}
#hero-canvas {
  width: 100%;
  height: 100%;
  display: block;
}
@media (max-width: 900px) { .hero-visual { display: none; } }

.scroll-indicator {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  cursor: pointer;
  color: var(--text-tertiary);
  animation: bounce 1.5s ease-in-out infinite;
}
.scroll-indicator svg { width: 24px; height: 24px; }

@media (max-width: 640px) {
  .email-row {
    flex-direction: column;
    border-radius: 10px;
    overflow: visible;
    border: none;
    width: 100%;
  }
  .email-input {
    width: 100%;
    border-radius: 10px;
    border: 1px solid var(--border);
    margin-bottom: 8px;
  }
  .email-row .btn-accent {
    border-radius: 10px;
    width: 100%;
    text-align: center;
  }
}

/* ============================================================
   PROBLEM SECTION — numbered staggered list
============================================================ */
.problem-section {
  background: var(--bg);
  padding: 120px 0;
}
@media (max-width: 640px) { .problem-section { padding: 64px 0; } }

.problem-list {
  margin-top: 60px;
  border-bottom: 1px solid var(--border);
}

.problem-item {
  display: grid;
  grid-template-columns: 72px 1fr auto;
  align-items: center;
  padding: 40px 0;
  border-top: 1px solid var(--border);
  gap: 0;
  transition: background 0.15s ease;
}
.problem-item:hover .problem-num { color: var(--accent); }

.problem-num {
  font-family: 'Sora', sans-serif;
  font-weight: 800;
  font-size: 13px;
  color: var(--text-tertiary);
  letter-spacing: 0.05em;
  transition: color 0.2s ease;
  flex-shrink: 0;
}

.problem-body { padding-right: 32px; }

.problem-item-title {
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  font-size: 20px;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.problem-item-body {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.6;
  max-width: 560px;
}

.problem-icon {
  color: var(--accent);
  flex-shrink: 0;
  opacity: 0.85;
}
.problem-icon svg { width: 24px; height: 24px; }

@media (max-width: 640px) {
  .problem-item {
    grid-template-columns: 48px 1fr;
  }
  .problem-icon { display: none; }
  .problem-body { padding-right: 0; }
}

/* ============================================================
   HOW IT WORKS SECTION
============================================================ */
.hiw-section {
  background: var(--bg-2);
  padding: 120px 0;
}
@media (max-width: 640px) { .hiw-section { padding: 64px 0; } }

.steps-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  position: relative;
  align-items: start;
  margin-top: 60px;
}
@media (max-width: 1024px) {
  .steps-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
}


.step-item { padding: 0 16px; text-align: left; }
@media (max-width: 1024px) {
  .step-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    padding: 24px 0;
    border-bottom: 1px solid var(--border);
  }
  .step-item:last-child { border-bottom: none; }
  .step-item-content { flex: 1; }
}

.step-number {
  font-family: 'Sora', sans-serif;
  font-weight: 800;
  font-size: 13px;
  color: var(--accent);
  letter-spacing: 0.05em;
  margin-bottom: 16px;
}
.step-title {
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  font-size: 20px;
  color: var(--text-primary);
  margin-top: 16px;
}
.step-body {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-top: 8px;
}

/* Product Mockup */
.mockup-wrap {
  margin-top: 80px;
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
}
@media (max-width: 640px) { .mockup-wrap { overflow-x: auto; } }

.mockup {
  border-radius: 16px;
  border: 1px solid var(--border);
  background: var(--bg-2);
  box-shadow: 0 40px 120px rgba(0,0,0,0.5), 0 0 0 1px var(--border);
  overflow: hidden;
  min-width: 700px;
}
[data-theme="light"] .mockup {
  box-shadow: 0 20px 60px rgba(0,0,0,0.12), 0 0 0 1px var(--border);
}

.mockup-chrome {
  height: 44px;
  background: var(--bg-3);
  display: flex;
  align-items: center;
  padding: 0 16px;
  gap: 16px;
  border-bottom: 1px solid var(--border);
}
.mockup-dots { display: flex; gap: 6px; }
.mockup-dot  { width: 12px; height: 12px; border-radius: 50%; }
.mockup-urlbar {
  flex: 1;
  display: flex;
  justify-content: center;
}
.mockup-urlbar-inner {
  background: rgba(128,128,128,0.07);
  border-radius: 6px;
  width: 280px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  color: var(--text-tertiary);
}

.mockup-body {
  display: flex;
  height: 340px;
}
.mockup-sidebar {
  width: 200px;
  border-right: 1px solid var(--border);
  background: var(--bg-2);
  flex-shrink: 0;
  overflow: hidden;
}
.sidebar-header {
  padding: 12px 16px;
  font-size: 11px;
  font-weight: 500;
  color: var(--text-tertiary);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--border);
}
.sidebar-item {
  padding: 10px 16px;
  border-bottom: 1px solid rgba(128,128,128,0.06);
  cursor: default;
  transition: background 0.15s;
}
.sidebar-item:hover { background: rgba(128,128,128,0.04); }
.sidebar-item-top {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--text-secondary);
  font-weight: 500;
}
.sidebar-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}
.sidebar-item-date {
  font-size: 11px;
  color: var(--text-tertiary);
  margin-top: 3px;
  padding-left: 14px;
}

.mockup-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 20px;
  gap: 12px;
  overflow: hidden;
  min-height: 0;
}
.chat-bubble {
  max-width: 80%;
  border-radius: 12px;
  padding: 12px 16px;
  font-size: 13px;
  line-height: 1.55;
}
.chat-user {
  align-self: flex-end;
  background: var(--accent-dim);
  border: 1px solid rgba(77,255,164,0.2);
  border-radius: 12px 12px 0 12px;
  color: var(--text-primary);
}
[data-theme="light"] .chat-user {
  border-color: rgba(0,150,91,0.2);
}
.chat-ai {
  align-self: flex-start;
  background: var(--bg-3);
  border-radius: 0 12px 12px 12px;
  color: var(--text-secondary);
}
.citation-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: var(--accent-dim);
  border: 1px solid rgba(77,255,164,0.15);
  border-radius: 6px;
  padding: 4px 10px;
  font-size: 11px;
  color: var(--accent);
  margin-top: 8px;
}
[data-theme="light"] .citation-chip {
  border-color: rgba(0,150,91,0.15);
}
.mockup-messages {
  flex: 1;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-bottom: 4px;
  scrollbar-width: none;
}
.mockup-messages::-webkit-scrollbar { display: none; }

/* Message enter animation */
.chat-new { opacity: 0; transform: translateY(6px); transition: opacity 0.25s ease, transform 0.25s ease; }
.chat-visible { opacity: 1; transform: none; }

/* Typing indicator */
.chat-typing { display: flex; gap: 5px; align-items: center; padding: 12px 16px; }
.typing-dot {
  width: 6px; height: 6px;
  background: var(--text-tertiary);
  border-radius: 50%;
  animation: typingBounce 1.2s ease-in-out infinite;
}
.typing-dot:nth-child(2) { animation-delay: 0.2s; }
.typing-dot:nth-child(3) { animation-delay: 0.4s; }
@keyframes typingBounce {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.4; }
  30% { transform: translateY(-5px); opacity: 1; }
}

.sidebar-item { cursor: pointer; transition: background 0.15s ease; }
.sidebar-item.active { background: var(--bg-3); border-radius: 8px; }
.sidebar-item:hover:not(.active) { background: var(--bg-2); border-radius: 8px; }

.mockup-input-bar {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px 14px;
}
.mockup-input {
  flex: 1;
  background: none;
  border: none;
  outline: none;
  font-size: 13px;
  font-family: 'DM Sans', sans-serif;
  color: var(--text-primary);
}
.mockup-input::placeholder { color: var(--text-tertiary); }
.mockup-send {
  width: 28px; height: 28px;
  background: var(--accent-dim);
  border: none;
  cursor: pointer;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.mockup-send svg { color: var(--accent); width: 14px; height: 14px; }

/* ============================================================
   FEATURES SECTION — asymmetric grid
============================================================ */
.features-section {
  background: var(--bg);
  padding: 120px 0;
}
@media (max-width: 640px) { .features-section { padding: 64px 0; } }

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 60px;
}
@media (max-width: 1024px) {
  .features-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .features-grid { grid-template-columns: 1fr; }
}

.feature-card {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px;
  transition: border-color 0.25s ease, transform 0.25s ease;
}
.feature-card:hover { border-color: var(--border-hover); transform: translateY(-3px); }

.feature-card-right {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Platform tags inside Universal capture card */
.feature-platforms {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}
.fp {
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 6px;
  border: 1px solid var(--c, var(--border));
  color: var(--c, var(--text-secondary));
  background: transparent;
  letter-spacing: 0.02em;
}

.feature-icon-box {
  width: 44px; height: 44px;
  background: var(--accent-dim);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
}
.feature-icon-box svg { color: var(--accent); width: 22px; height: 22px; }

.feature-title {
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  font-size: 17px;
  color: var(--text-primary);
  margin-top: 18px;
}
.feature-body {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-top: 6px;
}

/* ============================================================
   TESTIMONIALS — infinite marquee
============================================================ */
.testimonials-section {
  background: #0A0A12;
  padding: 100px 0;
}
[data-theme="light"] .testimonials-section {
  background: #F0F0F8;
}
@media (max-width: 640px) { .testimonials-section { padding: 64px 0; } }

.marquee-outer {
  width: 100%;
  overflow: hidden;
  margin-top: 52px;
  margin-bottom: 64px;
  -webkit-mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
}

.marquee-track {
  display: flex;
  gap: 20px;
  width: max-content;
  animation: marquee 32s linear infinite;
  padding: 4px 0;
}
.marquee-track:hover { animation-play-state: paused; }

.testimonial-card {
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px;
  width: 360px;
  flex-shrink: 0;
}
[data-theme="light"] .testimonial-card {
  background: var(--bg-2);
}

.stars {
  color: var(--accent);
  font-size: 14px;
  margin-bottom: 14px;
  letter-spacing: 2px;
}
.testimonial-quote {
  font-size: 15px;
  color: var(--text-primary);
  line-height: 1.65;
  font-style: italic;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 20px;
}
.avatar {
  width: 44px; height: 44px;
  background: var(--accent-dim);
  border: 1px solid rgba(77,255,164,0.2);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
  flex-shrink: 0;
}
[data-theme="light"] .avatar {
  border-color: rgba(0,150,91,0.2);
}
.author-name  { font-size: 14px; font-weight: 500; color: var(--text-primary); }
.author-sub   { font-size: 13px; color: var(--text-tertiary); margin-top: 2px; }

.stats-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--bg-2);
  overflow: hidden;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}
.stat-item {
  flex: 1;
  text-align: center;
  padding: 28px 20px;
  border-right: 1px solid var(--border);
}
.stat-item:last-child { border-right: none; }
.stat-num {
  font-family: 'Sora', sans-serif;
  font-weight: 800;
  font-size: 40px;
  color: var(--accent);
  line-height: 1;
}
.stat-label { font-size: 14px; color: var(--text-secondary); margin-top: 6px; }

/* ============================================================
   PRICING SECTION
============================================================ */
.pricing-section {
  background: var(--bg-2);
  padding: 120px 0;
}
@media (max-width: 640px) { .pricing-section { padding: 64px 0; } }

.pricing-toggle-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 28px;
}
.pricing-toggle {
  display: flex;
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 4px;
}
.toggle-btn {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  padding: 7px 18px;
  border-radius: 100px;
  background: transparent;
  border: none;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}
.toggle-btn.active { background: var(--accent); color: #09090F; }

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 48px;
  align-items: stretch;
}
@media (max-width: 1200px) {
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 640px) {
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin-left: auto;
    margin-right: auto;
  }
}

.pricing-card {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 40px;
  position: relative;
  display: flex;
  flex-direction: column;
}
.pricing-card .pricing-features {
  flex: 1;
}
.pricing-card .founding-counter {
  margin-top: auto;
  padding-top: 20px;
}
.pricing-card.featured {
  background: var(--bg-3);
  border: 2px solid var(--accent);
  box-shadow: 0 0 60px var(--accent-dim), 0 0 0 1px var(--accent-dim);
}

.pricing-badge {
  position: absolute;
  top: -16px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #09090F;
  font-size: 12px;
  font-weight: 600;
  padding: 5px 16px;
  border-radius: 100px;
  white-space: nowrap;
}
.pricing-plan {
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  font-size: 18px;
  color: var(--text-secondary);
}
.pricing-card.featured .pricing-plan { color: var(--accent); }

.pricing-price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-top: 14px;
}
.price-num {
  font-family: 'Sora', sans-serif;
  font-weight: 800;
  font-size: 48px;
  color: var(--text-primary);
  transition: opacity 0.25s ease;
}
.price-period { font-size: 15px; color: var(--text-tertiary); }
.pricing-tagline { font-size: 14px; color: var(--text-tertiary); margin-top: 6px; }
.pricing-team-note { font-size: 13px; color: var(--text-tertiary); margin-top: 2px; }
.pricing-divider { border: none; border-top: 1px solid var(--border); margin: 24px 0; }

.pricing-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 28px;
}
.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.4;
}
.check-mark { color: var(--text-tertiary); font-size: 14px; flex-shrink: 0; margin-top: 1px; }
.pricing-card.featured .check-mark { color: var(--accent); }

.pricing-cta-accent {
  width: 100%;
  background: var(--accent);
  color: #09090F;
  font-family: 'Sora', sans-serif;
  font-weight: 600;
  font-size: 15px;
  border: none;
  border-radius: 10px;
  padding: 14px;
  cursor: pointer;
  transition: filter 0.15s ease, box-shadow 0.15s ease;
}
.pricing-cta-accent:hover  { filter: brightness(1.1); box-shadow: 0 0 28px var(--glow); }
.pricing-cta-accent:active { transform: scale(0.98); }

/* Founding Member card */
.pricing-card.founding {
  border: 1px solid rgba(255, 189, 46, 0.5);
  box-shadow: 0 0 40px rgba(255, 189, 46, 0.1);
}
.pricing-badge.amber {
  background: #FFBD2E;
  color: #09090F;
}
.pricing-cta-amber {
  width: 100%;
  background: #FFBD2E;
  color: #09090F;
  font-family: 'Sora', sans-serif;
  font-weight: 600;
  font-size: 15px;
  border: none;
  border-radius: 10px;
  padding: 14px;
  cursor: pointer;
  transition: filter 0.15s ease, transform 0.1s ease;
}
.pricing-cta-amber:hover  { filter: brightness(1.1); }
.pricing-cta-amber:active { transform: scale(0.98); }
.founding-counter {
  font-size: 13px;
  color: #FFBD2E;
  text-align: center;
  margin-bottom: 20px;
}
.price-annual-note {
  font-size: 12px;
  color: var(--text-tertiary);
  margin-top: 4px;
  display: none;
}
.price-annual-note.visible { display: block; }
.lock-mark { color: var(--text-tertiary); font-size: 14px; flex-shrink: 0; margin-top: 1px; }
.pricing-features li.locked { color: var(--text-tertiary); opacity: 0.45; text-decoration: line-through; }

.pricing-reassurance {
  text-align: center;
  font-size: 13px;
  color: var(--text-tertiary);
  margin-top: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.reassurance-icon { width: 13px; height: 13px; color: var(--text-tertiary); flex-shrink: 0; }

/* ============================================================
   FAQ SECTION
============================================================ */
.faq-section {
  background: var(--bg);
  padding: 100px 0;
}
@media (max-width: 640px) { .faq-section { padding: 64px 0; } }

.faq-list {
  max-width: 680px;
  margin: 52px auto 0;
}
.faq-item { border-bottom: 1px solid var(--border); }

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
  background: none;
  border: none;
  padding: 24px 0;
  cursor: pointer;
  text-align: left;
}
.faq-question-text {
  font-family: 'Sora', sans-serif;
  font-weight: 600;
  font-size: 16px;
  color: var(--text-primary);
  line-height: 1.4;
}
.faq-icon {
  flex-shrink: 0;
  color: var(--text-secondary);
  transition: transform 0.3s ease, color 0.2s ease;
}
.faq-icon svg { width: 18px; height: 18px; }
.faq-item.open .faq-icon { transform: rotate(45deg); color: var(--accent); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}
.faq-item.open .faq-answer { max-height: 300px; }

.faq-answer-inner {
  padding-bottom: 24px;
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ============================================================
   FINAL CTA SECTION
============================================================ */
.final-cta {
  position: relative;
  background: var(--bg-2);
  padding: 140px 0;
  overflow: hidden;
  text-align: center;
  border-top: 1px solid var(--border);
}
@media (max-width: 640px) { .final-cta { padding: 80px 0; } }

.final-cta-bg {
  display: none;
}

.final-cta-content {
  position: relative;
  z-index: 2;
  max-width: 680px;
  margin: 0 auto;
  padding: 0 32px;
}
@media (max-width: 640px) { .final-cta-content { padding: 0 20px; } }

.final-cta h2 {
  font-family: 'Sora', sans-serif;
  font-weight: 800;
  font-size: 56px;
  color: var(--text-primary);
  line-height: 1.1;
}
@media (max-width: 640px) { .final-cta h2 { font-size: 36px; } }

.final-cta-sub {
  font-size: 18px;
  color: var(--text-secondary);
  margin: 16px auto 0;
  line-height: 1.65;
  max-width: 480px;
}
@media (max-width: 640px) { .final-cta-sub { font-size: 16px; } }

.final-cta-form {
  margin-top: 36px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.final-cta-note { font-size: 13px; color: var(--text-tertiary); margin-top: 4px; }

/* ============================================================
   FOOTER
============================================================ */
.footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 60px 0 40px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
}
@media (max-width: 1024px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px)  { .footer-grid { grid-template-columns: 1fr; } }

.footer-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  font-size: 18px;
  color: var(--text-primary);
  margin-bottom: 12px;
}
.footer-tagline { font-size: 14px; color: var(--text-tertiary); margin-bottom: 20px; line-height: 1.5; }

.footer-socials { display: flex; gap: 14px; }
.footer-social-link { color: var(--text-tertiary); transition: color 0.15s ease; }
.footer-social-link:hover { color: var(--text-primary); }
.footer-social-link svg { width: 18px; height: 18px; }

.footer-col-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 16px;
  letter-spacing: 0.04em;
}
.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-links a { font-size: 14px; color: var(--text-tertiary); transition: color 0.15s ease; }
.footer-links a:hover { color: var(--text-primary); }

.footer-bottom {
  border-top: 1px solid var(--border);
  margin-top: 48px;
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
@media (max-width: 640px) { .footer-bottom { flex-direction: column; text-align: center; } }
.footer-copy, .footer-made { font-size: 13px; color: var(--text-tertiary); }
.footer-made { display: flex; align-items: center; gap: 6px; }
.footer-heart { width: 13px; height: 13px; color: var(--accent); }

/* ============================================================
   COMPARISON TABLE
============================================================ */
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
  background: var(--bg);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
}
.comparison-table th,
.comparison-table td {
  padding: 14px 20px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}
.comparison-table th {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  background: var(--bg-2);
  letter-spacing: 0.03em;
}
.comparison-table tbody tr:last-child td { border-bottom: none; }
.comparison-table tbody tr:hover td { background: var(--bg-2); }
.comparison-no  { color: var(--text-tertiary); }
.comparison-yes { color: var(--accent); font-weight: 600; }
.comparison-highlight { background: var(--accent-dim) !important; }
.comparison-table th.comparison-highlight { color: var(--accent); }
@media (max-width: 640px) {
  .comparison-table th, .comparison-table td { padding: 10px 12px; font-size: 13px; }
}
