:root {
  --bg: #0f0f0f;
  --bg-nav: rgba(15,15,15,0.85);
  --text-primary: #ffffff;
  --text-secondary: #d1d1d1;
  --text-muted: #a3a3a3;
  --border: #2a2a2a;
  --card-bg: #161616;
  --card-hover: #1f1f1f;
}

body.light-mode {
  --bg: #ffffff;
  --bg-nav: rgba(255,255,255,0.92);
  --text-primary: #000000;
  --text-secondary: #333333;
  --text-muted: #555555;
  --border: #e5e5e5;
  --card-bg: #f8f8f8;
  --card-hover: #f0f0f0;
}

html {
  scroll-behavior: smooth;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Inter', 'Space Grotesk', sans-serif;
  background: var(--bg);
  color: var(--text-secondary);
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  min-height: 100vh;
  font-size: 16px;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transition: background .3s, color .3s;
  -webkit-text-size-adjust: 100%;
}

@media (max-width: 768px) {
  input, textarea, select, button { font-size: 16px; }
  input[type="text"], input[type="email"], input[type="password"], textarea { -webkit-appearance: none; appearance: none; }
}

.grid-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image:
    linear-gradient(rgba(139, 92, 246, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(139, 92, 246, 0.02) 1px, transparent 1px);
  background-size: 72px 72px;
  pointer-events: none;
  z-index: 0;
}

.grid-bg::after {
  content: '';
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 900px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.06) 0%, transparent 65%);
  pointer-events: none;
}

nav {
  position: relative;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 40px;
  border-bottom: 1px solid var(--border);
  background: var(--bg-nav);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.nav-logo {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 22px;
  color: var(--text-primary);
  letter-spacing: 1px;
  display: flex;
  align-items: center;
}

.nav-logo-img {
  width: 36px;
  height: 36px;
  vertical-align: middle;
  margin-right: 12px;
  border-radius: 8px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 4px;
  background: rgba(139, 92, 246, 0.04);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 4px;
}

.nav-menu-item {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 15px;
  color: var(--text-muted);
  text-decoration: none;
  letter-spacing: 0.8px;
  padding: 11px 24px;
  border-radius: 9px;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
  font-weight: 500;
}

.nav-menu-item::after {
  content: '';
  position: absolute;
  bottom: 6px;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 16px;
  height: 2px;
  background: linear-gradient(90deg, #8b5cf6, #06b6d4);
  border-radius: 2px;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-menu-item:hover {
  color: var(--text-primary);
  background: rgba(139, 92, 246, 0.1);
  box-shadow: 0 0 20px rgba(139, 92, 246, 0.06);
}

.nav-menu-item:hover::after {
  transform: translateX(-50%) scaleX(1);
}

.nav-menu-item.active {
  color: var(--text-primary);
  background: rgba(139, 92, 246, 0.12);
}

.nav-menu-item.active::after {
  transform: translateX(-50%) scaleX(1);
}

.nav-menu-cta {
  background: linear-gradient(135deg, #8b5cf6, #7c3aed) !important;
  color: #fff !important;
  font-weight: 600;
  font-size: 13px !important;
  letter-spacing: 0.3px;
}
.nav-menu-cta::after { display: none !important; }
.nav-menu-cta:hover { opacity: 0.9; box-shadow: none !important; }

.nav-menu-login {
  font-size: 13px !important;
  color: #8b97ab !important;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 6px;
}

@media (max-width: 900px) {
  .hero-split {
    grid-template-columns: 1fr;
    gap: 36px;
    text-align: center;
  }
  .hero-split .tagline {
    margin: 0 auto 40px;
  }
  .hero-split .hero-cta-row {
    justify-content: center;
  }
  .advanced-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  nav { padding: 12px 20px; }
  .nav-toggle { display: block; padding: 10px; margin: -4px -4px -4px 0; }
  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--bg-nav);
    border-radius: 0;
    border: none;
    border-bottom: 1px solid var(--border);
    padding: 16px 20px;
    gap: 2px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.3);
    max-height: 80vh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  nav.nav-open .nav-menu { display: flex; }
  .nav-menu-item {
    padding: 14px 16px;
    font-size: 16px;
    border-radius: 10px;
    min-height: 48px;
    display: flex;
    align-items: center;
  }
  .nav-menu-item::after { display: none; }
  .nav-menu-item:active { background: rgba(139, 92, 246, 0.12); }
  .nav-menu-cta {
    text-align: center;
    margin-top: 8px;
    padding: 14px 16px !important;
    min-height: 48px;
    display: flex !important;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
  }
  .nav-menu-login {
    text-align: center;
    min-height: 48px;
    display: flex !important;
    align-items: center;
    justify-content: center;
  }
  .nav-logo { font-size: 20px; }
  .nav-logo-img { width: 32px; height: 32px; margin-right: 10px; }
  .features-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* ═══════════════════════════════════════════════════════════
   LANDING PAGE — DESIGN SYSTEM (lp-*)
   Apple / Notion / Vercel inspired — calm, premium, clean
   ═══════════════════════════════════════════════════════════ */

.lp-container {
  position: relative;
  z-index: 10;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 40px;
}
.lp-center { text-align: center; }

.lp-overline {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 13px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #8b5cf6;
  margin-bottom: 16px;
  font-weight: 500;
}

.lp-h1 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 68px;
  font-weight: 700;
  line-height: 1.05;
  color: var(--text-primary);
  margin-bottom: 32px;
  letter-spacing: -2.5px;
}

.lp-h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 42px;
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: -1.2px;
  line-height: 1.15;
  margin-bottom: 56px;
}

.lp-body {
  font-size: 17px;
  line-height: 1.85;
  color: var(--text-muted);
  max-width: 520px;
  font-weight: 400;
}

.gradient-text {
  background: linear-gradient(135deg, #8b5cf6 0%, #06b6d4 50%, #8b5cf6 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradient-shift 5s ease-in-out infinite;
}
@keyframes gradient-shift {
  0%, 100% { background-position: 0% center; }
  50% { background-position: 100% center; }
}

.lp-section {
  padding: 140px 0;
  position: relative;
}
.lp-section-alt {
  background: rgba(139, 92, 246, 0.015);
  border-top: 1px solid rgba(139, 92, 246, 0.04);
  border-bottom: 1px solid rgba(139, 92, 246, 0.04);
}

.lp-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 15px;
  padding: 14px 36px;
  border-radius: 10px;
  text-decoration: none;
  cursor: pointer;
  transition: all .3s ease;
  border: none;
  letter-spacing: 0.2px;
}
.lp-btn-primary {
  background: #7c3aed;
  color: var(--text-primary);
  box-shadow: 0 1px 2px rgba(0,0,0,.1), 0 4px 16px rgba(124,58,237,.2);
}
.lp-btn-primary:hover {
  background: #6d28d9;
  box-shadow: 0 2px 4px rgba(0,0,0,.12), 0 8px 28px rgba(124,58,237,.28);
  transform: translateY(-1px);
}
.lp-btn-outline {
  background: transparent;
  color: #c4b5fd;
  border: 1px solid rgba(139, 92, 246, 0.2);
}
.lp-btn-outline:hover {
  border-color: rgba(139, 92, 246, 0.4);
  background: rgba(139, 92, 246, 0.04);
  color: var(--text-primary);
  transform: translateY(-1px);
}
.lp-btn-sm {
  font-size: 14px;
  padding: 11px 24px;
  border-radius: 9px;
}
.lp-btn-lg {
  font-size: 17px;
  padding: 18px 48px;
  border-radius: 12px;
}

.lp-link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 15px;
  font-weight: 500;
  color: #8b5cf6;
  text-decoration: none;
  transition: all .2s;
}
.lp-link-arrow:hover { color: #a78bfa; }
.lp-link-arrow svg { transition: transform .2s; }
.lp-link-arrow:hover svg { transform: translateX(4px); }


/* ═══════════════════════════════════════════════════════════
   SECTION 1 — HERO
   ═══════════════════════════════════════════════════════════ */
.lp-hero {
  position: relative;
  z-index: 1;
  padding: 100px 0 100px;
  overflow: hidden;
}
.lp-hero-glow {
  position: absolute;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 1000px;
  height: 600px;
  background: radial-gradient(ellipse at center, rgba(139,92,246,0.12) 0%, rgba(6,182,212,0.06) 40%, transparent 70%);
  pointer-events: none;
  animation: hero-glow-pulse 8s ease-in-out infinite;
}
@keyframes hero-glow-pulse {
  0%, 100% { opacity: 0.7; transform: translateX(-50%) scale(1); }
  50% { opacity: 1; transform: translateX(-50%) scale(1.08); }
}
.lp-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: #a78bfa;
  background: rgba(139,92,246,0.08);
  border: 1px solid rgba(139,92,246,0.15);
  border-radius: 100px;
  padding: 6px 16px;
  margin-bottom: 28px;
  letter-spacing: 0.3px;
}
.lp-hero-badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #22c55e;
  animation: badge-dot-pulse 2s ease-in-out infinite;
}
@keyframes badge-dot-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}
body.light-mode .lp-hero-badge {
  color: #7c3aed;
  background: rgba(139,92,246,0.06);
  border-color: rgba(139,92,246,0.12);
}
.lp-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 80px;
  align-items: center;
}
.lp-hero-text {
  position: relative;
  z-index: 2;
  animation: hero-text-in 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.lp-hero-preview {
  position: relative;
  z-index: 2;
  animation: hero-preview-in 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.15s both;
}
@keyframes hero-text-in {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes hero-preview-in {
  from { opacity: 0; transform: translateY(24px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.lp-hero-sub {
  font-size: 19px;
  line-height: 1.75;
  color: var(--text-muted);
  margin-bottom: 44px;
  max-width: 460px;
}
.lp-hero-actions {
  display: flex;
  gap: 14px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.lp-hero-trust {
  font-size: 14px;
  color: var(--text-muted);
  letter-spacing: 0.3px;
}

.lp-preview-window {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  box-shadow:
    0 1px 2px rgba(0,0,0,0.2),
    0 8px 32px rgba(0,0,0,0.25),
    0 24px 60px rgba(0,0,0,0.15);
}
.lp-preview-chrome {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 11px 16px;
  background: rgba(255,255,255,0.025);
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.lp-chrome-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
}
.lp-dot-red { background: #ef4444; }
.lp-dot-yellow { background: #f59e0b; }
.lp-dot-green { background: #22c55e; }
.lp-chrome-title {
  margin-left: auto;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 1px;
  text-transform: uppercase;
  font-weight: 500;
}

.lp-preview-body {
  padding: 28px;
}
.lp-preview-section {
  margin-bottom: 24px;
}
.lp-preview-label {
  display: block;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.lp-label-accent { color: #06b6d4; }
.lp-preview-thought {
  font-size: 16px;
  color: var(--text-secondary);
  font-style: italic;
  line-height: 1.55;
  margin: 0;
}

.lp-preview-metrics {
  display: flex;
  gap: 24px;
  margin-bottom: 24px;
  align-items: flex-start;
}
.lp-preview-score-col {
  text-align: center;
  flex-shrink: 0;
}
.lp-preview-score-ring {
  position: relative;
  display: inline-block;
}
.lp-score-num {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: 'Space Grotesk', sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: #f59e0b;
}
.lp-score-caption {
  display: block;
  font-size: 10px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 4px;
  font-weight: 500;
}
.lp-preview-insight-col {
  flex: 1;
}
.lp-preview-insight-col p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
  margin: 0;
}

.lp-preview-evolved {
  background: rgba(6, 182, 212, 0.04);
  border: 1px solid rgba(6, 182, 212, 0.1);
  border-radius: 10px;
  padding: 16px 20px;
  margin-bottom: 20px;
}
.lp-preview-evolved p {
  font-size: 14px;
  color: #67e8f9;
  line-height: 1.65;
  margin: 0;
}
.lp-preview-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  float: right;
  font-size: 13px;
  font-weight: 500;
  color: #06b6d4;
  text-decoration: none;
  transition: all .2s;
}
.lp-preview-link:hover { color: #22d3ee; }
.lp-preview-link svg { transition: transform .2s; }
.lp-preview-link:hover svg { transform: translateX(3px); }

.lp-carousel-track { position: relative; min-height: 280px; }
.lp-carousel-slide {
  position: absolute; top: 0; left: 0; width: 100%; opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.5s ease, transform 0.5s ease;
  pointer-events: none;
}
.lp-carousel-slide.lp-carousel-active {
  position: relative; opacity: 1; transform: translateY(0);
  pointer-events: auto;
}
.lp-carousel-dots {
  display: flex; justify-content: center; gap: 8px;
  padding-top: 14px; clear: both;
}
.lp-dot {
  width: 8px; height: 8px; border-radius: 50%; border: none; padding: 0;
  background: rgba(255,255,255,0.15); cursor: pointer;
  transition: all 0.3s ease;
}
.lp-dot:hover { background: rgba(139,92,246,0.5); }
.lp-dot.lp-dot-active {
  background: #8b5cf6; width: 24px; border-radius: 4px;
}
body.light-mode .lp-dot { background: rgba(0,0,0,0.12); }
body.light-mode .lp-dot:hover { background: rgba(139,92,246,0.35); }
body.light-mode .lp-dot.lp-dot-active { background: #7c3aed; }


/* ═══════════════════════════════════════════════════════════
   SECTION 2 — TOOLKIT
   ═══════════════════════════════════════════════════════════ */
.lp-toolkit-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 24px;
}
.lp-toolkit-secondary {
  max-width: 680px;
  margin: 0 auto;
}

.lp-tool-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 40px 36px;
  display: flex;
  flex-direction: column;
  transition: all .35s ease;
}
.lp-tool-card:hover {
  border-color: rgba(255,255,255,0.08);
  box-shadow: 0 8px 40px rgba(0,0,0,0.15);
  transform: translateY(-3px);
}
.lp-tool-primary {
  min-height: 320px;
}
.lp-tool-compact {
  flex-direction: row;
  align-items: center;
  gap: 28px;
  padding: 28px 36px;
}
.lp-tool-compact h3 {
  margin-bottom: 4px !important;
}
.lp-tool-compact-text {
  flex: 1;
}
.lp-tool-compact-text p {
  margin-bottom: 0 !important;
}

.lp-tool-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 28px;
  flex-shrink: 0;
}
.lp-tool-compact .lp-tool-icon {
  margin-bottom: 0;
}
.lp-tool-icon-violet { background: rgba(139, 92, 246, 0.08); color: #a78bfa; }
.lp-tool-icon-cyan { background: rgba(6, 182, 212, 0.08); color: #22d3ee; }
.lp-tool-icon-amber { background: rgba(245, 158, 11, 0.08); color: #fbbf24; }

.lp-tool-card h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 22px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 10px;
  letter-spacing: -0.3px;
}
.lp-tool-card p {
  font-size: 16px;
  line-height: 1.75;
  color: var(--text-muted);
  flex: 1;
  margin-bottom: 28px;
}

.lp-tool-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: auto;
}
.lp-tool-sample {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--text-muted);
  text-decoration: none;
  transition: all .2s;
  font-weight: 500;
}
.lp-tool-sample:hover { color: #a78bfa; }
.lp-tool-sample svg { transition: transform .2s; }
.lp-tool-sample:hover svg { transform: translateX(3px); }

/* ═══════════════════════════════════════════════════════════
   EXAMPLE THOUGHTS GRID
   ═══════════════════════════════════════════════════════════ */
.lp-examples-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 960px;
  margin: 0 auto;
}
.lp-example-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-decoration: none;
  transition: all .3s ease;
  cursor: pointer;
}
.lp-example-card:hover {
  border-color: rgba(139,92,246,0.3);
  box-shadow: 0 8px 32px rgba(139,92,246,0.08);
  transform: translateY(-4px);
}
.lp-example-cat {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 3px 10px;
  border-radius: 6px;
  width: fit-content;
}
.lp-example-cat-violet { color: #c4b5fd; background: rgba(139,92,246,0.15); }
.lp-example-cat-cyan { color: #67e8f9; background: rgba(6,182,212,0.15); }
.lp-example-cat-amber { color: #fcd34d; background: rgba(245,158,11,0.15); }
.lp-example-cat-emerald { color: #6ee7b7; background: rgba(16,185,129,0.15); }
.lp-example-thought {
  color: var(--text-primary);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
  margin: 0;
  flex: 1;
  font-family: 'Space Grotesk', sans-serif;
}
.lp-example-cta {
  color: #8b5cf6;
  font-size: 13px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  transition: color .2s;
}
.lp-example-card:hover .lp-example-cta { color: #a78bfa; }
.lp-example-cta svg { transition: transform .2s; }
.lp-example-card:hover .lp-example-cta svg { transform: translateX(3px); }

body.light-mode .lp-example-card {
  background: rgba(255,255,255,0.7);
  border-color: rgba(0,0,0,0.08);
}
body.light-mode .lp-example-card:hover {
  border-color: rgba(139,92,246,0.25);
  box-shadow: 0 8px 32px rgba(139,92,246,0.06);
}
body.light-mode .lp-example-cat-violet { color: #7c3aed; background: rgba(139,92,246,0.1); }
body.light-mode .lp-example-cat-cyan { color: #0891b2; background: rgba(6,182,212,0.1); }
body.light-mode .lp-example-cat-amber { color: #d97706; background: rgba(245,158,11,0.1); }
body.light-mode .lp-example-cat-emerald { color: #059669; background: rgba(16,185,129,0.1); }
body.light-mode .lp-example-thought { color: #1e293b; }


/* ═══════════════════════════════════════════════════════════
   SECTION 3 — HOW IT WORKS
   ═══════════════════════════════════════════════════════════ */
.lp-steps {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  max-width: 900px;
  margin: 0 auto;
}
.lp-step {
  flex: 1;
  text-align: center;
  padding: 0 28px;
}
.lp-step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(139, 92, 246, 0.06);
  border: 1px solid rgba(139, 92, 246, 0.1);
  font-family: 'Space Grotesk', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: #8b5cf6;
  margin-bottom: 24px;
}
.lp-step-text h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 18px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 10px;
  letter-spacing: -0.2px;
}
.lp-step-text p {
  font-size: 15px;
  line-height: 1.75;
  color: var(--text-muted);
  margin: 0;
}
.lp-step-divider {
  flex-shrink: 0;
  padding-top: 14px;
  color: rgba(139, 92, 246, 0.2);
}


/* ═══════════════════════════════════════════════════════════
   SECTION 4 — SIGNATURE FEATURE
   ═══════════════════════════════════════════════════════════ */
.lp-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.lp-split-text .lp-body {
  margin-bottom: 0;
}
.lp-split-demo {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.lp-evo-card {
  width: 100%;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 28px 28px;
  text-align: left;
}
.lp-evo-card p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-muted);
  font-style: italic;
  margin: 0;
}
.lp-evo-before {
  border-left: 3px solid rgba(139, 92, 246, 0.25);
}
.lp-evo-after {
  border-left: 3px solid rgba(6, 182, 212, 0.35);
  background: rgba(6, 182, 212, 0.03);
}
.lp-evo-after p { color: #a5d8e6; }

.lp-evo-label {
  display: block;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 10px;
}
.lp-evo-label-accent { color: #06b6d4; }

.lp-evo-connector {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 4px 0;
}


/* ═══════════════════════════════════════════════════════════
   SECTION 5 — REASONING MODULES
   ═══════════════════════════════════════════════════════════ */
.lp-modules-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.lp-mod-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  transition: all .3s ease;
}
.lp-mod-card:hover {
  border-color: rgba(255,255,255,0.07);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(0,0,0,0.12);
}
.lp-mod-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(139, 92, 246, 0.06);
  color: #a78bfa;
  margin-bottom: 20px;
}
.lp-mod-card h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 17px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
  letter-spacing: -0.2px;
}
.lp-mod-card p {
  font-size: 14px;
  line-height: 1.75;
  color: var(--text-muted);
  flex: 1;
  margin-bottom: 18px;
}
.lp-mod-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-top: 14px;
  border-top: 1px solid rgba(255,255,255,0.03);
}
.lp-mod-link {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: #8b5cf6;
  text-decoration: none;
  transition: color .2s;
}
.lp-mod-link:hover { color: #a78bfa; }
.lp-mod-more {
  font-size: 13px;
  color: var(--text-muted);
  text-decoration: none;
  transition: color .2s;
}
.lp-mod-more:hover { color: var(--text-muted); }


/* ═══════════════════════════════════════════════════════════
   SECTION 6 — INSIDE THE PRODUCT
   ═══════════════════════════════════════════════════════════ */
.lp-product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.lp-product-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  transition: all .3s ease;
}
.lp-product-card:hover {
  border-color: rgba(255,255,255,0.07);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(0,0,0,0.12);
}
.lp-product-screen {
  background: rgba(15, 15, 15, 0.4);
  padding: 20px;
  border-bottom: 1px solid rgba(255,255,255,0.03);
  min-height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lp-product-info {
  padding: 28px;
}
.lp-product-card h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 17px;
  font-weight: 500;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.lp-product-card p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-muted);
  margin: 0;
}


/* ═══════════════════════════════════════════════════════════
   SECTION 7 — FINAL CTA
   ═══════════════════════════════════════════════════════════ */
.lp-final {
  padding: 160px 0 100px;
  position: relative;
  overflow: hidden;
}
.lp-final-heading {
  font-size: 52px;
  letter-spacing: -1.5px;
}
.lp-final-body {
  margin: 0 auto 44px;
  max-width: 460px;
}
.lp-final-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-bottom: 8px;
  flex-wrap: wrap;
}

footer {
  text-align: center;
  padding: 48px 0 56px;
  position: relative;
  z-index: 10;
}
.footer-line {
  width: 40px;
  height: 1px;
  background: rgba(139, 92, 246, 0.15);
  margin: 0 auto 24px;
}


/* ═══════════════════════════════════════════════════════════
   SCROLL REVEAL ANIMATIONS
   ═══════════════════════════════════════════════════════════ */
.lp-reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.lp-reveal.lp-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ═══════════════════════════════════════════════════════════
   LANDING PAGE — RESPONSIVE
   ═══════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .lp-hero-grid {
    grid-template-columns: 1fr;
    gap: 56px;
    text-align: center;
  }
  .lp-hero-sub { margin-left: auto; margin-right: auto; }
  .lp-hero-actions { justify-content: center; }
  .lp-hero-trust { text-align: center; }
  .lp-hero-badge { margin-left: auto; margin-right: auto; }
  .lp-split {
    grid-template-columns: 1fr;
    gap: 56px;
  }
  .lp-split-text { text-align: center; }
  .lp-split-text .lp-body { margin: 0 auto; }
  .lp-split-text .lp-btn { margin-top: 24px; }
}

@media (max-width: 768px) {
  .lp-h1 { font-size: 40px; letter-spacing: -1.2px; line-height: 1.1; }
  .lp-h2 { font-size: 30px; margin-bottom: 36px; line-height: 1.2; }
  .lp-section { padding: 80px 0; }
  .lp-hero { padding: 80px 0 60px; }
  .lp-container { padding: 0 20px; }
  .lp-hero-sub { font-size: 16px; line-height: 1.6; }
  .lp-body { font-size: 15px; line-height: 1.7; }
  .lp-toolkit-row { grid-template-columns: 1fr; }
  .lp-examples-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .lp-tool-compact { flex-direction: column; text-align: center; }
  .lp-tool-compact .lp-tool-icon { margin-bottom: 16px; }
  .lp-steps { flex-direction: column; gap: 8px; }
  .lp-step { text-align: left; padding: 20px; background: rgba(15,23,42,0.3); border: 1px solid var(--border); border-radius: 14px; display: flex; flex-direction: row; gap: 16px; align-items: flex-start; }
  .lp-step-num { margin-bottom: 0; flex-shrink: 0; }
  .lp-step-text { flex: 1; }
  .lp-step-divider { display: none; }
  .lp-modules-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .lp-product-grid { grid-template-columns: 1fr; gap: 16px; }
  .lp-final-heading { font-size: 32px; }
  .lp-final { padding: 80px 0 60px; }
  .lp-btn { min-height: 48px; padding: 14px 28px; font-size: 15px; }
  .lp-tool-card { padding: 28px 20px; }
  .lp-tool-card h3 { font-size: 18px; }
  .lp-split { gap: 40px; }
}

@media (max-width: 560px) {
  .lp-h1 { font-size: 32px; letter-spacing: -0.8px; }
  .lp-h2 { font-size: 26px; }
  .lp-hero-sub { font-size: 15px; }
  .lp-section { padding: 60px 0; }
  .lp-hero { padding: 64px 0 40px; }
  .lp-container { padding: 0 16px; }
  .lp-modules-grid { grid-template-columns: 1fr; }
  .lp-examples-grid { grid-template-columns: 1fr; }
  .lp-hero-actions { flex-direction: column; align-items: stretch; }
  .lp-btn { justify-content: center; min-height: 52px; font-size: 16px; }
  .lp-final-actions { flex-direction: column; align-items: stretch; }
  .lp-final-actions .lp-btn { width: 100%; }
  .lp-preview-metrics { flex-direction: column; }
  .lp-tool-card { padding: 24px 18px; }
  .lp-final-heading { font-size: 28px; }
  .lp-step { padding: 18px 16px; gap: 14px; }
}


/* ═══════════════════════════════════════════════════════════
   LANDING PAGE — LIGHT MODE OVERRIDES
   ═══════════════════════════════════════════════════════════ */
body.light-mode .lp-h1 { color: var(--text-primary); }
body.light-mode .lp-h2 { color: var(--text-primary); }
body.light-mode .lp-hero-sub,
body.light-mode .lp-body { color: var(--text-muted); }
body.light-mode .lp-hero-trust { color: #9ca3af; }
body.light-mode .lp-btn-outline { color: #7c3aed; border-color: rgba(139,92,246,0.18); }
body.light-mode .lp-btn-outline:hover { background: rgba(139,92,246,0.03); border-color: rgba(139,92,246,0.3); color: #6d28d9; }

body.light-mode .lp-preview-window { background: var(--card-bg); border-color: rgba(0,0,0,0.08); box-shadow: 0 1px 2px rgba(0,0,0,0.04), 0 8px 32px rgba(0,0,0,0.06), 0 24px 60px rgba(0,0,0,0.05); }
body.light-mode .lp-preview-chrome { background: #fafafa; border-bottom-color: rgba(0,0,0,0.05); }
body.light-mode .lp-chrome-title { color: #9ca3af; }
body.light-mode .lp-preview-label { color: #9ca3af; }
body.light-mode .lp-preview-thought { color: #374151; }
body.light-mode .lp-score-num { color: #d97706; }
body.light-mode .lp-preview-insight-col p { color: #6b7280; }
body.light-mode .lp-preview-evolved { background: rgba(6,182,212,0.03); border-color: rgba(6,182,212,0.1); }
body.light-mode .lp-preview-evolved p { color: #0e7490; }
body.light-mode .lp-preview-link { color: #0891b2; }

body.light-mode .lp-section-alt { background: rgba(248,250,252,0.6); border-color: rgba(0,0,0,0.04); }
body.light-mode .lp-tool-card { background: var(--card-bg); border-color: rgba(0,0,0,0.06); box-shadow: 0 1px 3px rgba(0,0,0,0.03); }
body.light-mode .lp-tool-card:hover { box-shadow: 0 8px 32px rgba(0,0,0,0.06); border-color: rgba(0,0,0,0.08); }
body.light-mode .lp-tool-card h3 { color: #1e293b; }
body.light-mode .lp-tool-card p { color: #6b7280; }
body.light-mode .lp-tool-sample { color: #9ca3af; }
body.light-mode .lp-tool-sample:hover { color: #7c3aed; }

body.light-mode .lp-step { background: var(--card-bg); border-color: rgba(0,0,0,0.06); }
body.light-mode .lp-step-num { background: rgba(139,92,246,0.05); border-color: rgba(139,92,246,0.08); }
body.light-mode .lp-step-text h3 { color: #1e293b; }
body.light-mode .lp-step-text p { color: #6b7280; }

body.light-mode .lp-evo-card { background: var(--card-bg); border-color: rgba(0,0,0,0.06); }
body.light-mode .lp-evo-card p { color: #6b7280; }
body.light-mode .lp-evo-before { border-left-color: rgba(139,92,246,0.18); }
body.light-mode .lp-evo-after { border-left-color: rgba(6,182,212,0.25); background: rgba(6,182,212,0.02); }
body.light-mode .lp-evo-after p { color: #0e7490; }
body.light-mode .lp-evo-label { color: #9ca3af; }
body.light-mode .lp-evo-label-accent { color: #0891b2; }

body.light-mode .lp-mod-card { background: var(--card-bg); border-color: rgba(0,0,0,0.06); }
body.light-mode .lp-mod-card:hover { border-color: rgba(0,0,0,0.1); box-shadow: 0 6px 20px rgba(0,0,0,0.05); }
body.light-mode .lp-mod-icon { background: rgba(139,92,246,0.04); }
body.light-mode .lp-mod-card h3 { color: #1e293b; }
body.light-mode .lp-mod-card p { color: #6b7280; }
body.light-mode .lp-mod-actions { border-color: rgba(0,0,0,0.04); }
body.light-mode .lp-mod-link { color: #7c3aed; }
body.light-mode .lp-mod-more { color: #9ca3af; }
body.light-mode .lp-mod-more:hover { color: #6b7280; }
body.light-mode .lp-link-arrow { color: #7c3aed; }

body.light-mode .lp-product-card { background: var(--card-bg); border-color: rgba(0,0,0,0.06); }
body.light-mode .lp-product-card:hover { border-color: rgba(0,0,0,0.1); box-shadow: 0 6px 20px rgba(0,0,0,0.05); }
body.light-mode .lp-product-screen { background: #fafafa; border-bottom-color: rgba(0,0,0,0.04); }
body.light-mode .lp-product-card h3 { color: #374151; }
body.light-mode .lp-product-card p { color: #6b7280; }

/* ── Legacy compat (used by other pages that reference old classes) ── */
.container { position:relative; z-index:10; max-width:1060px; margin:auto; padding:0 24px; }
.hero-cta-btn { padding:16px 40px; border:none; border-radius:10px; background:linear-gradient(135deg,#7c3aed,#8b5cf6); color:white; font-family:'Space Grotesk',sans-serif; font-weight:600; font-size:16px; cursor:pointer; letter-spacing:.3px; transition:all .35s cubic-bezier(.16,1,.3,1); box-shadow:0 2px 16px rgba(139,92,246,.25); text-decoration:none; display:inline-block; }
.hero-cta-btn:hover { background:linear-gradient(135deg,#6d28d9,#7c3aed); box-shadow:0 4px 28px rgba(139,92,246,.4); transform:translateY(-2px); }
.section-eyebrow { font-family:'Space Grotesk',sans-serif; font-size:13px; letter-spacing:3px; text-transform:uppercase; color:#8b5cf6; margin-bottom:16px; font-weight:500; }
.section-heading { font-family:'Space Grotesk',sans-serif; font-size:32px; font-weight:600; color:var(--text-primary); letter-spacing:-.5px; line-height:1.25; margin-bottom:20px; }
.section-body { font-size:17px; line-height:1.85; color:#94a0b4; max-width:620px; font-weight:400; }
.landing-section { margin-bottom:100px; }
.feature-try-btn { display:inline-block; font-family:'Space Grotesk',sans-serif; font-size:13px; font-weight:500; color:#8b5cf6; background:rgba(139,92,246,.08); border:1px solid rgba(139,92,246,.15); border-radius:8px; padding:8px 16px; text-decoration:none; transition:all .3s ease; white-space:nowrap; }
.feature-try-btn:hover { background:rgba(139,92,246,.15); border-color:rgba(139,92,246,.3); color:#a78bfa; transform:translateY(-1px); }
.feature-learn-link { font-family:'Inter',sans-serif; font-size:13px; color:#64748b; text-decoration:none; transition:color .2s; }
.feature-learn-link:hover { color:#94a3b8; }
.feature-card-actions { display:flex; align-items:center; gap:16px; margin-top:16px; padding-top:12px; border-top:1px solid rgba(139,92,246,.06); }
.feature-see-all { font-family:'Space Grotesk',sans-serif; font-size:14px; font-weight:500; color:#8b5cf6; text-decoration:none; letter-spacing:.3px; transition:color .2s; }
.feature-see-all:hover { color:#a78bfa; }
.cta-note { font-size:14px; color:#7b8698; letter-spacing:.5px; }
.overline { font-family:'Space Grotesk',sans-serif; font-size:13px; letter-spacing:4px; text-transform:uppercase; color:#94a3b8; margin-bottom:32px; font-weight:500; }
h1 { font-family:'Space Grotesk',sans-serif; font-size:56px; font-weight:700; line-height:1.15; color:#f8fafc; margin-bottom:28px; letter-spacing:-1.5px; }
.tagline { font-size:18px; line-height:1.85; color:#94a0b4; max-width:600px; margin:0 auto 48px; font-weight:400; }
.hero-cta-row { display:flex; justify-content:center; align-items:center; gap:20px; margin-bottom:20px; flex-wrap:wrap; }
.hero-cta-secondary { padding:16px 36px; border:1px solid rgba(139,92,246,.25); border-radius:10px; background:transparent; color:#c4b5fd; font-family:'Space Grotesk',sans-serif; font-weight:500; font-size:16px; cursor:pointer; letter-spacing:.3px; transition:all .35s cubic-bezier(.16,1,.3,1); text-decoration:none; }
.hero-cta-secondary:hover { border-color:rgba(139,92,246,.5); background:rgba(139,92,246,.08); color:#e2e8f0; transform:translateY(-2px); }

footer { text-align:center; padding-bottom:40px; position:relative; z-index:10; }

.login-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--bg-nav);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 1000;
  justify-content: center;
  align-items: center;
}

.login-overlay.active {
  display: flex;
}

.login-modal {
  background: linear-gradient(145deg, rgba(25, 35, 65, 0.99), rgba(15, 22, 48, 0.99));
  border: 1px solid rgba(139, 92, 246, 0.25);
  border-radius: 24px;
  padding: 52px 44px;
  width: 100%;
  max-width: 440px;
  position: relative;
  box-shadow:
    0 0 100px rgba(139, 92, 246, 0.15),
    0 0 200px rgba(6, 182, 212, 0.08),
    0 30px 80px rgba(0, 0, 0, 0.7),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
  overflow: hidden;
  animation: modal-appear 0.5s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes modal-appear {
  from {
    transform: translateY(30px) scale(0.96);
    opacity: 0;
  }
  to {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
}

.login-modal::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 20%;
  right: 20%;
  height: 2px;
  background: linear-gradient(90deg, transparent, #8b5cf6, #06b6d4, transparent);
  border-radius: 2px;
}

.login-modal::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at 50% 0%, rgba(139, 92, 246, 0.06) 0%, transparent 50%);
  pointer-events: none;
}

.login-close {
  position: absolute;
  top: 18px;
  right: 22px;
  background: rgba(139, 92, 246, 0.06);
  border: 1px solid rgba(139, 92, 246, 0.1);
  color: var(--text-muted);
  width: 36px;
  height: 36px;
  font-size: 20px;
  cursor: pointer;
  transition: all 0.3s;
  line-height: 1;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.login-close:hover {
  color: var(--text-primary);
  background: rgba(139, 92, 246, 0.15);
  border-color: rgba(139, 92, 246, 0.3);
}

.login-logo {
  text-align: center;
  margin-bottom: 28px;
  position: relative;
  z-index: 1;
}

.login-logo-img {
  width: 80px;
  height: 80px;
  border-radius: 20px;
  filter: drop-shadow(0 0 20px rgba(139, 92, 246, 0.25));
  animation: login-logo-pulse 3s ease-in-out infinite alternate;
}

@keyframes login-logo-pulse {
  0% { filter: drop-shadow(0 0 15px rgba(139, 92, 246, 0.2)); }
  100% { filter: drop-shadow(0 0 30px rgba(139, 92, 246, 0.35)); }
}

.login-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 30px;
  color: var(--text-primary);
  text-align: center;
  margin-bottom: 8px;
  font-weight: 600;
  position: relative;
  z-index: 1;
  letter-spacing: -0.5px;
}

.login-subtitle {
  text-align: center;
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: 36px;
  position: relative;
  z-index: 1;
  line-height: 1.5;
}

.login-form {
  display: flex;
  flex-direction: column;
  gap: 22px;
  position: relative;
  z-index: 1;
}

.login-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.login-field label {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 12px;
  color: #a78bfa;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 500;
}

.login-field input {
  padding: 15px 18px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: rgba(15, 15, 15, 0.7);
  color: var(--text-primary);
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  outline: none;
  transition: all 0.3s;
  width: 100%;
}

.login-field input::placeholder {
  color: #5e6f84;
}

.login-field input:focus {
  border-color: rgba(139, 92, 246, 0.5);
  background: rgba(15, 15, 15, 0.9);
  box-shadow: 0 0 20px rgba(139, 92, 246, 0.08), inset 0 0 20px rgba(139, 92, 246, 0.03);
}

.login-submit {
  padding: 16px;
  border: none;
  border-radius: 12px;
  background: linear-gradient(135deg, #7c3aed, #8b5cf6, #6d28d9);
  background-size: 200% auto;
  color: white;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  letter-spacing: 0.5px;
  transition: all 0.4s;
  margin-top: 8px;
  position: relative;
  overflow: hidden;
}

.login-submit::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  transition: left 0.6s;
}

.login-submit:hover {
  background-position: right center;
  box-shadow: 0 8px 32px rgba(139, 92, 246, 0.35), 0 0 60px rgba(139, 92, 246, 0.1);
  transform: translateY(-1px);
}

.login-submit:hover::before {
  left: 100%;
}

.login-submit:active {
  transform: translateY(0);
}

.login-error {
  color: #f87171;
  font-size: 13px;
  text-align: center;
  min-height: 20px;
  font-weight: 400;
}

.login-divider {
  text-align: center;
  margin: 28px 0;
  position: relative;
  z-index: 1;
}

.login-divider::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(139, 92, 246, 0.15), transparent);
}

.login-divider span {
  position: relative;
  background: rgba(16, 24, 46, 0.98);
  padding: 0 20px;
  font-size: 12px;
  color: var(--text-muted);
  letter-spacing: 1px;
  text-transform: uppercase;
}

.login-note {
  text-align: center;
  font-size: 14px;
  color: var(--text-muted);
  position: relative;
  z-index: 1;
}

.login-note a {
  color: #8b5cf6;
  text-decoration: none;
  transition: all 0.3s;
  font-weight: 500;
  border-bottom: 1px solid transparent;
}

.login-note a:hover {
  color: #a78bfa;
  border-bottom-color: rgba(167, 139, 250, 0.3);
}

.login-particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}

.login-particle {
  position: absolute;
  width: 2px;
  height: 2px;
  background: rgba(139, 92, 246, 0.4);
  border-radius: 50%;
  animation: float-particle linear infinite;
}

.login-particle:nth-child(1) { left: 15%; animation-duration: 8s; animation-delay: 0s; }
.login-particle:nth-child(2) { left: 35%; animation-duration: 6s; animation-delay: 1s; width: 3px; height: 3px; background: rgba(6, 182, 212, 0.3); }
.login-particle:nth-child(3) { left: 55%; animation-duration: 10s; animation-delay: 2s; }
.login-particle:nth-child(4) { left: 75%; animation-duration: 7s; animation-delay: 0.5s; width: 3px; height: 3px; background: rgba(6, 182, 212, 0.3); }
.login-particle:nth-child(5) { left: 90%; animation-duration: 9s; animation-delay: 3s; }
.login-particle:nth-child(6) { left: 5%; animation-duration: 11s; animation-delay: 1.5s; width: 1px; height: 1px; }

@keyframes float-particle {
  0% { bottom: -5%; opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { bottom: 105%; opacity: 0; }
}

.waitlist-success {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 16px;
  color: #22c55e;
  padding: 16px 28px;
  text-align: center;
  animation: fade-in-up 0.5s ease;
}

.waitlist-check {
  display: inline-block;
  font-size: 18px;
  margin-right: 6px;
}

@keyframes fade-in-up {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

.shake {
  animation: shake 0.4s ease;
}

.signup-modal {
  max-width: 520px;
}

.signup-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.signup-row-3 {
  grid-template-columns: 1fr 1fr 1fr;
}

.login-field select {
  padding: 15px 18px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: rgba(15, 15, 15, 0.7);
  color: var(--text-primary);
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  outline: none;
  transition: all 0.3s;
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%2364748b' d='M1.41 0L6 4.58 10.59 0 12 1.41l-6 6-6-6z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  cursor: pointer;
}

.login-field select:focus {
  border-color: rgba(139, 92, 246, 0.5);
  background-color: rgba(15, 15, 15, 0.9);
  box-shadow: 0 0 20px rgba(139, 92, 246, 0.08), inset 0 0 20px rgba(139, 92, 246, 0.03);
}

.login-field select option {
  background: #0f172a;
  color: var(--text-primary);
}

.signup-success {
  text-align: center;
  padding: 20px 0;
  position: relative;
  z-index: 1;
}

.signup-success-icon {
  font-size: 48px;
  margin-bottom: 16px;
  display: block;
}

.signup-success-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 24px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.signup-success-text {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 20px;
}

.signup-success-text strong {
  color: #8b5cf6;
}

.signup-success-btn {
  padding: 14px 32px;
  border: none;
  border-radius: 12px;
  background: linear-gradient(135deg, #7c3aed, #8b5cf6);
  color: white;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  letter-spacing: 0.5px;
  transition: all 0.3s;
}

.signup-success-btn:hover {
  background: linear-gradient(135deg, #6d28d9, #7c3aed);
  box-shadow: 0 8px 32px rgba(139, 92, 246, 0.35);
  transform: translateY(-1px);
}

.signup-success-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.verify-code-wrap {
  margin: 0 0 12px;
}

.verify-code-input {
  width: 180px;
  text-align: center;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 8px;
  padding: 14px 20px;
  border: 2px solid rgba(139, 92, 246, 0.3);
  border-radius: 12px;
  background: rgba(30, 41, 59, 0.8);
  color: #06b6d4;
  font-family: 'Space Grotesk', monospace;
  outline: none;
  transition: border-color 0.2s;
}

.verify-code-input:focus {
  border-color: #8b5cf6;
}

.verify-code-input::placeholder {
  color: #334155;
  letter-spacing: 8px;
}

.verify-resend-text {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 16px;
}

.verify-resend-text a {
  color: #06b6d4;
  text-decoration: none;
  font-weight: 600;
}

.verify-resend-text a:hover {
  text-decoration: underline;
}

@media (max-width: 640px) {
  .signup-row,
  .signup-row-3 {
    grid-template-columns: 1fr;
  }

  .signup-modal {
    max-width: calc(100% - 32px);
  }

  .hero {
    padding: 80px 0 60px;
  }

  h1 {
    font-size: 36px;
  }

  .hero-cta-row {
    flex-direction: column;
    gap: 12px;
  }

  .hero-cta-secondary {
    padding: 14px 32px;
  }

  .hero-split {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 80px 0 40px;
    text-align: center;
  }

  .hero-split .tagline {
    margin: 0 auto 36px;
  }

  .hero-split .hero-cta-row {
    justify-content: center;
  }

  .hero-preview-results {
    flex-direction: column;
  }

  .advanced-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .tools-grid {
    grid-template-columns: 1fr;
  }

  .tool-card:nth-child(3) {
    grid-column: auto;
    max-width: none;
  }

  .tool-card {
    padding: 24px 20px;
  }

  .tool-card-btn {
    width: 100%;
    text-align: center;
    justify-content: center;
  }

  .feature-card-actions {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}

.analysis-locked {
  display: none;
}

.analysis-section {
  margin-bottom: 90px;
}

.analysis-header {
  text-align: center;
  margin-bottom: 40px;
}

.analysis-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 32px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 14px;
  letter-spacing: -0.5px;
}

.analysis-subtitle {
  font-size: 16px;
  color: var(--text-muted);
  max-width: 480px;
  margin: 0 auto;
  line-height: 1.8;
  font-weight: 400;
}

.analysis-input-area {
  background: rgba(12, 18, 32, 0.7);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 28px;
  transition: border-color 0.35s, box-shadow 0.35s;
}

.analysis-input-area:focus-within {
  border-color: rgba(139, 92, 246, 0.25);
  box-shadow: 0 0 0 4px rgba(139, 92, 246, 0.04);
}

.analysis-textarea {
  width: 100%;
  background: transparent;
  border: none;
  color: var(--text-primary);
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  line-height: 1.75;
  resize: vertical;
  min-height: 110px;
  max-height: 300px;
  outline: none;
}

.analysis-textarea::placeholder {
  color: #5e6f84;
}

.analysis-input-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(139, 92, 246, 0.10);
}

.analysis-char-count {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 12px;
  color: var(--text-muted);
  letter-spacing: 0.5px;
}

.analysis-btn {
  padding: 13px 32px;
  border: none;
  border-radius: 12px;
  background: linear-gradient(135deg, #7c3aed, #8b5cf6);
  color: white;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  letter-spacing: 0.5px;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 2px 12px rgba(139, 92, 246, 0.2);
}

.analysis-btn:hover:not(:disabled) {
  background: linear-gradient(135deg, #6d28d9, #7c3aed);
  box-shadow: 0 4px 24px rgba(139, 92, 246, 0.35);
  transform: translateY(-1px);
}

.analysis-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  box-shadow: none;
}

.analysis-btn:active:not(:disabled) {
  transform: translateY(0);
  box-shadow: 0 1px 8px rgba(139, 92, 246, 0.2);
}

.analysis-btn-loader {
  display: none;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: var(--text-primary);
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
}

.analysis-btn.loading .analysis-btn-loader {
  display: block;
}

.analysis-btn.loading .analysis-btn-text {
  display: none;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.analysis-error {
  color: #f87171;
  font-size: 14px;
  text-align: center;
  margin-top: 16px;
  min-height: 0;
  transition: all 0.3s;
}

.analysis-error:empty {
  margin-top: 0;
}

.analysis-loading {
  display: none;
  text-align: center;
  padding: 48px 24px;
  margin-top: 32px;
}

.analysis-loading.active {
  display: block;
}

.analysis-loading-text {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 16px;
  color: var(--text-muted);
  letter-spacing: 0.5px;
}

.analysis-loading-dots {
  display: inline-flex;
  gap: 4px;
  margin-left: 4px;
}

.analysis-loading-dots span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #8b5cf6;
  animation: loadingDot 1.4s ease-in-out infinite;
}

.analysis-loading-dots span:nth-child(2) {
  animation-delay: 0.2s;
}

.analysis-loading-dots span:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes loadingDot {
  0%, 80%, 100% { opacity: 0.2; transform: scale(0.8); }
  40% { opacity: 1; transform: scale(1.2); }
}

.key-insight-card {
  margin-top: 24px;
  padding: 28px 32px;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.06), rgba(6, 182, 212, 0.03));
  border: 1px solid var(--border);
  border-radius: 18px;
  position: relative;
  overflow: hidden;
  animation: card-appear 0.5s cubic-bezier(0.16, 1, 0.3, 1) both;
  animation-delay: 0.15s;
}

.key-insight-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(to bottom, #8b5cf6, #06b6d4);
  border-radius: 3px;
}

.key-insight-label {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 11px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 10px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 8px;
}

.key-insight-text {
  font-size: 16px;
  line-height: 1.85;
  color: var(--text-primary);
  font-weight: 400;
}

.analysis-results {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 24px;
}

.analysis-results:empty {
  margin-top: 0;
}

#analysis-results .analysis-card:only-child {
  grid-column: 1 / -1;
}

.deeper-analysis-expandable {
  display: none;
}

.deeper-analysis-expandable.visible {
  display: block;
}

.deeper-toggle-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 14px 24px;
  margin-top: 28px;
  border: 1px solid rgba(139, 92, 246, 0.1);
  border-radius: 12px;
  background: rgba(139, 92, 246, 0.03);
  cursor: pointer;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  font-family: 'Space Grotesk', sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.8px;
}

.deeper-toggle-btn:hover {
  background: rgba(139, 92, 246, 0.06);
  border-color: rgba(139, 92, 246, 0.2);
  color: var(--text-muted);
}

.deeper-toggle-btn .toggle-arrow {
  transition: transform 0.3s;
  font-size: 10px;
  opacity: 0.7;
}

.deeper-toggle-btn.expanded .toggle-arrow {
  transform: rotate(180deg);
}

.analysis-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 30px 28px;
  position: relative;
  overflow: hidden;
  animation: card-appear 0.5s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.analysis-card:nth-child(1) { animation-delay: 0s; }
.analysis-card:nth-child(2) { animation-delay: 0.1s; }
.analysis-card:nth-child(3) { animation-delay: 0.2s; }
.analysis-card:nth-child(4) { animation-delay: 0.3s; }
.analysis-card:nth-child(5) { animation-delay: 0.4s; }
.analysis-card:nth-child(6) { animation-delay: 0.5s; }

@keyframes card-appear {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.analysis-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  border-radius: 2px 2px 0 0;
}

.card-violet::before { background: linear-gradient(90deg, #8b5cf6, transparent); }
.card-cyan::before { background: linear-gradient(90deg, #06b6d4, transparent); }
.card-amber::before { background: linear-gradient(90deg, #f59e0b, transparent); }
.card-emerald::before { background: linear-gradient(90deg, #10b981, transparent); }

.analysis-card-icon {
  font-size: 20px;
  margin-bottom: 14px;
  opacity: 0.85;
}

.analysis-card-number {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 11px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  margin-bottom: 8px;
  font-weight: 500;
}

.card-violet .analysis-card-number { color: #a78bfa; }
.card-cyan .analysis-card-number { color: #22d3ee; }
.card-amber .analysis-card-number { color: #fbbf24; }
.card-emerald .analysis-card-number { color: #34d399; }

.analysis-card-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 18px;
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: 16px;
  letter-spacing: -0.2px;
}

.analysis-card-content {
  font-size: 15px;
  line-height: 1.8;
  color: var(--text-muted);
  font-weight: 400;
}

.analysis-card-content ul {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.analysis-card-content li {
  padding-left: 18px;
  position: relative;
}

.analysis-card-content li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
}

.card-violet .analysis-card-content li::before { background: #8b5cf6; }
.card-cyan .analysis-card-content li::before { background: #06b6d4; }
.card-amber .analysis-card-content li::before { background: #f59e0b; }
.card-emerald .analysis-card-content li::before { background: #10b981; }

.analysis-footer-left {
  display: flex;
  align-items: center;
  gap: 20px;
}

.perspective-select-wrapper {
  display: flex;
  align-items: center;
  gap: 8px;
}

.perspective-label {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 12px;
  color: var(--text-muted);
  letter-spacing: 1px;
  text-transform: uppercase;
  white-space: nowrap;
}

.perspective-select {
  padding: 8px 32px 8px 12px;
  border: 1px solid rgba(139, 92, 246, 0.15);
  border-radius: 8px;
  background: rgba(15, 15, 15, 0.8);
  color: var(--text-primary);
  font-family: 'Space Grotesk', sans-serif;
  font-size: 13px;
  outline: none;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath fill='%2364748b' d='M0 0l5 6 5-6z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  transition: border-color 0.3s;
}

.perspective-select:focus {
  border-color: rgba(139, 92, 246, 0.4);
}

.perspective-select option {
  background: #0f172a;
  color: var(--text-primary);
}

.score-section {
  display: flex;
  align-items: flex-start;
  gap: 36px;
  margin-top: 36px;
  padding: 36px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 20px;
  animation: card-appear 0.5s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.score-display {
  flex-shrink: 0;
}

.score-ring {
  width: 110px;
  height: 110px;
}

.score-ring-progress {
  transition: stroke-dashoffset 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.score-meta {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.simplified-label {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 11px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 6px;
  font-weight: 500;
}

.simplified-text {
  font-size: 15px;
  line-height: 1.8;
  color: var(--text-secondary);
  font-weight: 400;
}

.thought-history {
  display: none;
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}

.thought-history-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.thought-history-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 16px;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.5px;
}

.thought-history-clear {
  background: none;
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-family: 'Space Grotesk', sans-serif;
  font-size: 12px;
  padding: 6px 14px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s;
  letter-spacing: 0.5px;
}

.thought-history-clear:hover {
  color: #f87171;
  border-color: rgba(248, 113, 113, 0.3);
}

.thought-history-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.history-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 14px 18px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.3s;
  text-align: left;
  width: 100%;
  font-family: 'Inter', sans-serif;
  color: inherit;
}

.history-item:hover {
  background: var(--card-hover);
  border-color: rgba(139, 92, 246, 0.15);
}

.history-item-text {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.5;
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.history-item-date {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 11px;
  color: var(--text-muted);
  white-space: nowrap;
  flex-shrink: 0;
}

@media (max-width: 640px) {
  h1 {
    font-size: 44px;
  }

  .features {
    grid-template-columns: 1fr;
  }

  .steps-grid {
    flex-direction: column;
    gap: 16px;
  }

  .step-connector {
    display: none;
  }

  .example-output-grid {
    grid-template-columns: 1fr;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .evolution-demo {
    flex-direction: column;
  }

  .evolution-demo-arrow {
    transform: rotate(90deg);
  }

  .section-heading {
    font-size: 26px;
  }

  .landing-section {
    margin-bottom: 72px;
  }

  nav {
    padding: 16px 20px;
  }

  .login-overlay {
    padding: 16px;
    align-items: flex-start;
    padding-top: 10vh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .login-modal {
    margin: 0 auto;
    padding: 36px 20px;
    max-width: 100%;
    border-radius: 20px;
  }

  .login-modal h2 { font-size: 22px; }
  .login-modal input {
    font-size: 16px;
    padding: 14px 16px;
    min-height: 48px;
    border-radius: 10px;
  }
  .login-modal button[type="submit"],
  .login-modal .login-btn {
    min-height: 52px;
    font-size: 16px;
    border-radius: 10px;
  }

  .analysis-results {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .deeper-analysis-expandable .analysis-results {
    grid-template-columns: 1fr;
  }

  .key-insight-card {
    padding: 20px 16px;
    border-radius: 12px;
  }

  .analysis-title {
    font-size: 24px;
    line-height: 1.2;
  }

  .analysis-input-footer {
    flex-direction: column;
    gap: 12px;
    align-items: stretch;
  }

  .analysis-footer-left {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .analysis-btn {
    justify-content: center;
  }

  .score-section {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .perspective-select-wrapper {
    justify-content: flex-start;
  }

  .debate-grid {
    grid-template-columns: 1fr !important;
  }

  .tree-steps {
    padding-left: 16px !important;
  }

  .share-card {
    padding: 28px 20px !important;
  }

  .share-card-metrics {
    flex-direction: column !important;
    gap: 16px !important;
  }

  .share-card-divider {
    width: 100% !important;
    height: 1px !important;
  }

  .debate-toggle {
    justify-content: flex-start;
  }

  .evolution-cards {
    grid-template-columns: 1fr !important;
  }
}

.debate-toggle {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  user-select: none;
}

.debate-toggle input {
  display: none;
}

.debate-toggle-slider {
  position: relative;
  width: 38px;
  height: 20px;
  background: rgba(139, 92, 246, 0.12);
  border: 1px solid rgba(139, 92, 246, 0.2);
  border-radius: 20px;
  transition: all 0.3s;
  flex-shrink: 0;
}

.debate-toggle-slider::after {
  content: '';
  position: absolute;
  top: 2px;
  left: 2px;
  width: 14px;
  height: 14px;
  background: #64748b;
  border-radius: 50%;
  transition: all 0.3s;
}

.debate-toggle input:checked + .debate-toggle-slider {
  background: rgba(139, 92, 246, 0.3);
  border-color: #8b5cf6;
}

.debate-toggle input:checked + .debate-toggle-slider::after {
  left: 20px;
  background: #8b5cf6;
}

.debate-toggle-label {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 12px;
  color: var(--text-muted);
  letter-spacing: 1px;
  text-transform: uppercase;
  white-space: nowrap;
  transition: color 0.3s;
}

.debate-toggle input:checked ~ .debate-toggle-label {
  color: #a78bfa;
}

.section-label-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
}

.section-label-icon {
  font-size: 20px;
  opacity: 0.85;
}

.section-label {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 18px;
  font-weight: 500;
  color: var(--text-primary);
  letter-spacing: -0.2px;
}

.debate-area {
  margin-top: 28px;
  animation: card-appear 0.5s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.debate-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.debate-card {
  background: var(--card-bg);
  border-radius: 16px;
  padding: 28px 26px;
  position: relative;
  overflow: hidden;
}

.debate-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  border-radius: 2px 2px 0 0;
}

.debate-for {
  border: 1px solid rgba(16, 185, 129, 0.15);
}

.debate-for::before {
  background: linear-gradient(90deg, #10b981, transparent);
}

.debate-against {
  border: 1px solid rgba(248, 113, 113, 0.15);
}

.debate-against::before {
  background: linear-gradient(90deg, #f87171, transparent);
}

.debate-card-header {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.debate-for .debate-card-header {
  color: #34d399;
}

.debate-against .debate-card-header {
  color: #fca5a5;
}

.debate-card-content {
  font-size: 15px;
  line-height: 1.8;
  color: var(--text-muted);
}

.debate-card-content ul {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.debate-card-content li {
  padding-left: 16px;
  position: relative;
}

.debate-card-content li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
}

.debate-for .debate-card-content li::before {
  background: #10b981;
}

.debate-against .debate-card-content li::before {
  background: #f87171;
}

.debate-tension {
  margin-top: 16px;
  padding: 20px 24px;
  background: var(--card-bg);
  border: 1px solid rgba(251, 191, 36, 0.15);
  border-radius: 12px;
  position: relative;
  overflow: hidden;
}

.debate-tension::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, #fbbf24, transparent);
}

.debate-tension-label {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #fbbf24;
  font-weight: 600;
  display: block;
  margin-bottom: 10px;
}

.debate-tension p {
  font-size: 15px;
  line-height: 1.75;
  color: var(--text-secondary);
}

.evolution-area {
  margin-top: 32px;
  padding: 32px;
  background: linear-gradient(145deg, rgba(16, 22, 40, 0.5), rgba(10, 14, 30, 0.5));
  border: 1px solid rgba(139, 92, 246, 0.1);
  border-radius: 20px;
  position: relative;
  overflow: hidden;
  animation: card-appear 0.6s cubic-bezier(0.16, 1, 0.3, 1) both;
  animation-delay: 0.2s;
}

.evolution-area::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 15%;
  right: 15%;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(139, 92, 246, 0.5), rgba(6, 182, 212, 0.5), transparent);
  border-radius: 2px;
}

.evolution-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.evolution-card {
  padding: 24px;
  border-radius: 14px;
  position: relative;
  overflow: hidden;
}

.evolution-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 3px;
  border-radius: 3px;
}

.evo-improved {
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.08), rgba(15, 23, 42, 0.5));
  border: 1px solid var(--border);
}

.evo-improved::before {
  background: linear-gradient(to bottom, #8b5cf6, #06b6d4);
}

.evo-reframe {
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.08), rgba(15, 23, 42, 0.5));
  border: 1px solid rgba(6, 182, 212, 0.12);
}

.evo-reframe::before {
  background: linear-gradient(to bottom, #06b6d4, #8b5cf6);
}

.evo-question {
  background: linear-gradient(135deg, rgba(251, 191, 36, 0.06), rgba(15, 23, 42, 0.5));
  border: 1px solid rgba(251, 191, 36, 0.1);
}

.evo-question::before {
  background: linear-gradient(to bottom, #fbbf24, #f59e0b);
}

.evo-card-label {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 10px;
}

.evo-improved .evo-card-label { color: #a78bfa; }
.evo-reframe .evo-card-label { color: #22d3ee; }
.evo-question .evo-card-label { color: #fbbf24; }

.evo-card-text {
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-primary);
  font-weight: 400;
}

.thought-tree-area {
  margin-top: 40px;
  animation: card-appear 0.6s cubic-bezier(0.16, 1, 0.3, 1) both;
  animation-delay: 0.3s;
}

.tree-steps {
  padding-left: 24px;
}

.tree-step {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  position: relative;
  padding-bottom: 24px;
}

.tree-step:last-child {
  padding-bottom: 0;
}

.tree-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 5px;
  box-shadow: 0 0 12px currentColor;
  position: relative;
  z-index: 1;
}

.tree-line {
  position: absolute;
  left: 5px;
  top: 17px;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, rgba(139, 92, 246, 0.3), rgba(139, 92, 246, 0.05));
}

.tree-content {
  flex: 1;
  min-width: 0;
}

.tree-label {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 6px;
}

.tree-text {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-secondary);
}

.share-card-area {
  margin-top: 40px;
  animation: card-appear 0.6s cubic-bezier(0.16, 1, 0.3, 1) both;
  animation-delay: 0.4s;
}

.share-card {
  background: linear-gradient(145deg, rgba(25, 35, 65, 0.95), rgba(15, 22, 48, 0.95));
  border: 1px solid rgba(139, 92, 246, 0.2);
  border-radius: 20px;
  padding: 36px 32px;
  position: relative;
  overflow: hidden;
}

.share-card::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 15%;
  right: 15%;
  height: 2px;
  background: linear-gradient(90deg, transparent, #8b5cf6, #06b6d4, transparent);
  border-radius: 2px;
}

.share-card-brand {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 13px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #a78bfa;
  margin-bottom: 20px;
  font-weight: 600;
}

.share-card-thought {
  font-size: 17px;
  line-height: 1.7;
  color: var(--text-primary);
  margin-bottom: 24px;
  font-weight: 400;
  font-style: italic;
}

.share-card-metrics {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 24px;
  padding: 20px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.share-card-score {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.share-score-num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 36px;
  font-weight: 700;
}

.share-score-label {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
}

.share-card-divider {
  width: 1px;
  height: 48px;
  background: rgba(139, 92, 246, 0.15);
}

.share-card-bias {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.share-bias-label {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
}

.share-bias-value {
  font-size: 15px;
  color: #fbbf24;
  font-weight: 500;
}

.share-card-question {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-muted);
}

.share-actions {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.share-btn {
  padding: 10px 24px;
  border: 1px solid rgba(139, 92, 246, 0.15);
  border-radius: 10px;
  background: rgba(139, 92, 246, 0.05);
  color: var(--text-muted);
  font-family: 'Space Grotesk', sans-serif;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  letter-spacing: 0.5px;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.share-btn:hover {
  background: rgba(139, 92, 246, 0.1);
  border-color: rgba(139, 92, 246, 0.25);
  color: #c4b5fd;
  transform: translateY(-1px);
}
.share-btn-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  background: rgba(6, 182, 212, 0.08);
  border-color: rgba(6, 182, 212, 0.2);
  color: #06b6d4;
}
.share-btn-link:hover {
  background: rgba(6, 182, 212, 0.15);
  border-color: rgba(6, 182, 212, 0.3);
  color: #22d3ee;
}

.explore-area {
  margin-top: 40px;
  animation: card-appear 0.5s cubic-bezier(0.16, 1, 0.3, 1) both;
  animation-delay: 0.5s;
}

.explore-btn {
  width: 100%;
  padding: 22px;
  border: 1px solid rgba(139, 92, 246, 0.1);
  border-radius: 14px;
  background: rgba(139, 92, 246, 0.03);
  cursor: pointer;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  text-align: center;
}

.explore-btn:hover:not(:disabled) {
  background: rgba(139, 92, 246, 0.06);
  border-color: rgba(139, 92, 246, 0.2);
  transform: translateY(-1px);
}

.explore-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.explore-btn-text {
  display: block;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.5px;
}

.explore-btn-sub {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 4px;
}

.explore-btn.loading .explore-btn-text {
  color: var(--text-muted);
}

.explore-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 20px;
  animation: card-appear 0.5s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.explore-card {
  background: var(--card-bg);
  border: 1px solid rgba(6, 182, 212, 0.1);
  border-radius: 14px;
  padding: 24px 20px;
  position: relative;
  overflow: hidden;
}

.explore-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, #06b6d4, transparent);
}

.explore-card-label {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #22d3ee;
  margin-bottom: 10px;
  font-weight: 600;
}

.explore-card p {
  font-size: 15px;
  line-height: 1.75;
  color: var(--text-secondary);
}

.daily-challenge {
  margin-bottom: 80px;
}

.challenge-card {
  background: linear-gradient(145deg, rgba(20, 28, 48, 0.6), rgba(12, 18, 36, 0.6));
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 48px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.challenge-card::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 20%;
  right: 20%;
  height: 2px;
  background: linear-gradient(90deg, transparent, #fbbf24, #f59e0b, transparent);
  border-radius: 2px;
}

.challenge-icon {
  font-size: 40px;
  margin-bottom: 16px;
}

.challenge-heading {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 20px;
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: 20px;
  letter-spacing: -0.3px;
}

.challenge-text {
  font-size: 17px;
  line-height: 1.85;
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto 28px;
  font-weight: 400;
  font-style: italic;
}

.challenge-btn {
  padding: 12px 28px;
  border: 1px solid rgba(251, 191, 36, 0.15);
  border-radius: 10px;
  background: rgba(251, 191, 36, 0.05);
  color: #d4a72c;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 500;
  font-size: 13px;
  cursor: pointer;
  letter-spacing: 0.5px;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.challenge-btn:hover {
  background: rgba(251, 191, 36, 0.1);
  border-color: rgba(251, 191, 36, 0.25);
  transform: translateY(-1px);
}

.deep-analysis-area {
  margin-top: 40px;
  animation: card-appear 0.6s cubic-bezier(0.16, 1, 0.3, 1) both;
  animation-delay: 0.6s;
}

.deep-analysis-btn {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 22px 26px;
  border: 1px solid rgba(6, 182, 212, 0.12);
  border-radius: 14px;
  background: rgba(6, 182, 212, 0.03);
  cursor: pointer;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  text-align: left;
}

.deep-analysis-btn:hover:not(:disabled) {
  background: rgba(6, 182, 212, 0.06);
  border-color: rgba(6, 182, 212, 0.2);
  transform: translateY(-1px);
  box-shadow: 0 4px 24px rgba(6, 182, 212, 0.06);
}

.deep-analysis-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.deep-btn-icon {
  font-size: 28px;
  flex-shrink: 0;
}

.deep-btn-content {
  flex: 1;
}

.deep-btn-text {
  display: block;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.3px;
}

.deep-btn-sub {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 3px;
  line-height: 1.4;
}

.deep-btn-loader {
  display: none;
  width: 20px;
  height: 20px;
  border: 2px solid rgba(6, 182, 212, 0.2);
  border-top-color: #22d3ee;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
  flex-shrink: 0;
}

.deep-analysis-btn.loading .deep-btn-loader {
  display: block;
}

.deep-analysis-btn.loading .deep-btn-text {
  color: var(--text-muted);
}

.deep-analysis-btn.loading .deep-btn-icon {
  opacity: 0.4;
}

.deep-results-inner {
  margin-top: 28px;
  animation: card-appear 0.5s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.deep-card {
  background: var(--card-bg);
  border-radius: 16px;
  padding: 28px 26px;
  margin-bottom: 16px;
  position: relative;
  overflow: hidden;
}

.deep-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  border-radius: 2px 2px 0 0;
}

.deep-philosophical {
  border: 1px solid rgba(139, 92, 246, 0.15);
}

.deep-philosophical::before {
  background: linear-gradient(90deg, #8b5cf6, #06b6d4);
}

.deep-assumptions {
  border: 1px solid rgba(6, 182, 212, 0.12);
}

.deep-assumptions::before {
  background: linear-gradient(90deg, #06b6d4, transparent);
}

.deep-systemic {
  border: 1px solid rgba(16, 185, 129, 0.12);
}

.deep-systemic::before {
  background: linear-gradient(90deg, #10b981, transparent);
}

.deep-longterm {
  border: 1px solid rgba(251, 191, 36, 0.12);
}

.deep-longterm::before {
  background: linear-gradient(90deg, #fbbf24, transparent);
}

.deep-contradictions {
  border: 1px solid rgba(248, 113, 113, 0.12);
}

.deep-contradictions::before {
  background: linear-gradient(90deg, #f87171, transparent);
}

.deep-card-label {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 14px;
}

.deep-philosophical .deep-card-label { color: #a78bfa; }
.deep-assumptions .deep-card-label { color: #22d3ee; }
.deep-systemic .deep-card-label { color: #34d399; }
.deep-longterm .deep-card-label { color: #fbbf24; }
.deep-contradictions .deep-card-label { color: #fca5a5; }

.deep-card-text {
  font-size: 15px;
  line-height: 1.85;
  color: var(--text-secondary);
  font-weight: 400;
}

.deep-card-content {
  font-size: 15px;
  line-height: 1.8;
  color: var(--text-muted);
}

.deep-card-content ul {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.deep-card-content li {
  padding-left: 16px;
  position: relative;
}

.deep-card-content li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
}

.deep-assumptions .deep-card-content li::before { background: #06b6d4; }
.deep-systemic .deep-card-content li::before { background: #10b981; }
.deep-longterm .deep-card-content li::before { background: #f59e0b; }
.deep-contradictions .deep-card-content li::before { background: #f87171; }

@keyframes meter-card-in {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes timeline-step-in {
  from { opacity: 0; transform: translateX(-8px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes bq-card-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes spin-small {
  to { transform: rotate(360deg); }
}

.better-questions-area {
  margin-top: 40px;
  padding: 32px;
  background: linear-gradient(145deg, rgba(139, 92, 246, 0.04), rgba(12, 18, 32, 0.55));
  border: 1px solid rgba(139, 92, 246, 0.1);
  border-radius: 20px;
  position: relative;
  overflow: hidden;
  animation: card-appear 0.5s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.better-questions-area::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 20%;
  right: 20%;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(139, 92, 246, 0.35), transparent);
  border-radius: 2px;
}

.bq-featured {
  border-left-color: rgba(139, 92, 246, 0.3);
  background: var(--card-bg);
}

.better-questions-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.better-question-card {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-left: 2px solid rgba(139, 92, 246, 0.15);
  border-radius: 12px;
  padding: 20px 24px;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  animation: bq-card-in 0.4s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.better-question-card:hover {
  border-left-color: rgba(139, 92, 246, 0.4);
  background: var(--card-bg);
  transform: translateX(4px);
}

.bq-number {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 12px;
  font-weight: 700;
  color: rgba(139, 92, 246, 0.35);
  line-height: 1;
  flex-shrink: 0;
  min-width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(139, 92, 246, 0.06);
  border-radius: 8px;
  letter-spacing: 0.5px;
  margin-top: 1px;
}

.bq-text {
  font-size: 15px;
  line-height: 1.8;
  color: var(--text-secondary);
  font-style: italic;
}

.arg-strength-area {
  margin-top: 40px;
  animation: card-appear 0.5s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.arg-overall-row {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 24px 28px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  margin-bottom: 16px;
}

.arg-overall-ring-wrap {
  flex-shrink: 0;
}

.arg-overall-ring {
  width: 96px;
  height: 96px;
}

.arg-ring-progress {
  transition: stroke-dashoffset 1.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.arg-overall-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.arg-overall-label {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.3px;
}

.arg-overall-subtitle {
  font-size: 13px;
  color: var(--text-muted);
}

.arg-dims-grid {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 12px;
}

.arg-dim-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  background: var(--card-bg);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  transition: border-color 0.2s;
}

.arg-dim-row:hover {
  border-color: rgba(139, 92, 246, 0.12);
}

.arg-dim-row.arg-dim-weakest {
  border-color: rgba(248, 113, 113, 0.2);
  background: rgba(248, 113, 113, 0.04);
}

.arg-dim-info {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 130px;
  flex-shrink: 0;
}

.arg-dim-icon {
  font-size: 14px;
}

.arg-dim-label {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
}

.arg-dim-bar-wrap {
  flex: 1;
}

.arg-dim-bar-bg {
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 6px;
  overflow: hidden;
}

.arg-dim-bar-fill {
  height: 100%;
  border-radius: 6px;
  transition: width 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.arg-dim-score {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 15px;
  font-weight: 700;
  width: 32px;
  text-align: right;
  flex-shrink: 0;
}

.arg-weakness-card {
  padding: 20px 24px;
  background: rgba(248, 113, 113, 0.04);
  border: 1px solid rgba(248, 113, 113, 0.12);
  border-radius: 14px;
  margin-bottom: 12px;
}

.arg-weakness-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.arg-weakness-icon {
  font-size: 16px;
}

.arg-weakness-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #f87171;
}

.arg-weakness-text {
  font-size: 14px;
  line-height: 1.65;
  color: var(--text-secondary);
  margin: 0;
}

.arg-suggestions {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid rgba(248, 113, 113, 0.08);
}

.arg-suggestions-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 10px;
}

.arg-suggestions-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.arg-suggestions-list li {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-secondary);
  padding-left: 18px;
  position: relative;
}

.arg-suggestions-list li::before {
  content: '\2192';
  position: absolute;
  left: 0;
  color: #8b5cf6;
  font-weight: 600;
}

.arg-expand-btn,
.bq-expand-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 11px;
  margin-top: 8px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: transparent;
  color: var(--text-muted);
  font-family: 'Space Grotesk', sans-serif;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  letter-spacing: 0.3px;
}

.arg-expand-btn:hover,
.bq-expand-btn:hover {
  background: rgba(139, 92, 246, 0.03);
  border-color: rgba(139, 92, 246, 0.12);
  color: var(--text-muted);
}

.arg-expand-btn .toggle-arrow,
.bq-expand-btn .toggle-arrow {
  font-size: 9px;
  opacity: 0.5;
  transition: transform 0.3s;
}

.arg-detail-wrap {
  animation: card-appear 0.4s cubic-bezier(0.16, 1, 0.3, 1) both;
  margin-top: 12px;
}

.bq-more-wrap {
  display: flex;
  flex-direction: column;
  gap: 10px;
  animation: card-appear 0.4s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.arg-meters {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.arg-meter-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 22px 24px;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  animation: meter-card-in 0.45s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.arg-meter-card:hover {
  border-color: rgba(139, 92, 246, 0.12);
  transform: translateY(-2px);
}

.arg-meter-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.arg-meter-icon {
  font-size: 15px;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 8px;
}

.arg-meter-label {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  flex: 1;
}

.arg-meter-score {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 22px;
  font-weight: 700;
  line-height: 1;
}

.arg-meter-bar-bg {
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 6px;
  overflow: hidden;
  margin-bottom: 12px;
}

.arg-meter-bar-fill {
  height: 100%;
  border-radius: 6px;
  transition: width 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.arg-meter-footer {
  margin-bottom: 8px;
}

.arg-meter-badge {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.arg-meter-reason {
  font-size: 13px;
  line-height: 1.7;
  color: var(--text-muted);
}

.persp-expansion-area {
  margin-top: 40px;
  animation: card-appear 0.5s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.persp-subtitle {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-muted);
  margin: -4px 0 20px 0;
}

.persp-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.persp-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px 26px;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  animation: meter-card-in 0.45s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.persp-card:hover {
  border-color: rgba(139, 92, 246, 0.12);
  transform: translateY(-2px);
}

.persp-card-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.persp-icon-wrap {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}

.persp-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.3px;
}

.persp-insights {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.persp-insights li {
  font-size: 14px;
  line-height: 1.75;
  color: var(--text-muted);
  padding-left: 16px;
  position: relative;
}

.persp-insights li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent, rgba(139, 92, 246, 0.3));
  opacity: 0.5;
}

.thinking-timeline-area {
  margin-top: 40px;
  padding: 32px;
  background: linear-gradient(160deg, rgba(16, 22, 40, 0.6), rgba(10, 14, 30, 0.45));
  border: 1px solid var(--border);
  border-radius: 22px;
  position: relative;
  overflow: hidden;
  animation: card-appear 0.5s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.thinking-timeline-area::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 10%;
  right: 10%;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(139, 92, 246, 0.3), rgba(6, 182, 212, 0.25), rgba(52, 211, 153, 0.2), transparent);
  border-radius: 2px;
}

.timeline-compact {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 4px;
}

.timeline-endpoint {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 12px 0;
}

.timeline-dot-sm {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 4px;
}

.timeline-ep-content {
  flex: 1;
  min-width: 0;
}

.timeline-ep-label {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--text-muted);
  display: block;
  margin-bottom: 4px;
}

.timeline-ep-text {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-muted);
  margin: 0;
}

.timeline-bridge {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 4px 0 4px 24px;
}

.timeline-bridge-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, rgba(139, 92, 246, 0.1), rgba(139, 92, 246, 0.05));
}

.timeline-bridge-label {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 11px;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.5px;
  white-space: nowrap;
}

.timeline-expand-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 11px;
  margin-top: 4px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: transparent;
  color: var(--text-muted);
  font-family: 'Space Grotesk', sans-serif;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  letter-spacing: 0.3px;
}

.timeline-expand-btn:hover {
  background: rgba(139, 92, 246, 0.03);
  border-color: rgba(139, 92, 246, 0.12);
  color: var(--text-muted);
}

.timeline-expand-btn .toggle-arrow {
  font-size: 9px;
  opacity: 0.5;
  transition: transform 0.3s;
}

.timeline-full-steps {
  animation: card-appear 0.4s cubic-bezier(0.16, 1, 0.3, 1) both;
  margin-bottom: 8px;
}

.timeline-steps {
  position: relative;
  padding-left: 36px;
}

.timeline-step {
  display: flex;
  gap: 16px;
  position: relative;
  padding-bottom: 28px;
  animation: timeline-step-in 0.4s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.timeline-step:last-child {
  padding-bottom: 0;
}

.timeline-marker {
  position: absolute;
  left: -36px;
  top: 3px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.timeline-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

.timeline-connector {
  width: 2px;
  position: absolute;
  top: 16px;
  left: -31px;
  bottom: 0;
}

.timeline-content {
  flex: 1;
  min-width: 0;
}

.timeline-phase-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 5px;
}

.timeline-label {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.timeline-step-num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.5px;
}

.timeline-text {
  font-size: 14px;
  line-height: 1.75;
  color: var(--text-muted);
}

.timeline-history-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  margin-top: 24px;
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: rgba(139, 92, 246, 0.03);
  color: var(--text-muted);
  font-family: 'Space Grotesk', sans-serif;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  text-align: center;
}

.timeline-history-btn:hover {
  background: rgba(139, 92, 246, 0.06);
  border-color: rgba(139, 92, 246, 0.15);
  color: var(--text-muted);
  transform: translateY(-1px);
}

.timeline-history-icon {
  font-size: 14px;
}

.timeline-history-list {
  margin-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  animation: card-appear 0.4s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.timeline-past-entry {
  background: var(--card-bg);
  border: 1px solid rgba(139, 92, 246, 0.05);
  border-radius: 14px;
  padding: 18px 22px;
  transition: border-color 0.3s;
}

.timeline-past-entry:hover {
  border-color: rgba(139, 92, 246, 0.1);
}

.timeline-past-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.timeline-past-score {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 20px;
  font-weight: 700;
}

.timeline-past-date {
  font-size: 12px;
  color: var(--text-muted);
  font-family: 'Space Grotesk', sans-serif;
  letter-spacing: 0.3px;
}

.timeline-past-text {
  font-size: 14px;
  line-height: 1.65;
  color: var(--text-muted);
}

.timeline-past-improved {
  font-size: 13px;
  line-height: 1.65;
  color: #34d399;
  margin-top: 8px;
  opacity: 0.7;
  padding-left: 16px;
  border-left: 2px solid rgba(52, 211, 153, 0.15);
}

.assumption-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.assumption-item {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 14px 18px;
  border-radius: 12px;
  background: var(--card-bg);
  border: 1px solid rgba(6, 182, 212, 0.04);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.assumption-item:hover {
  background: var(--card-hover);
  border-color: rgba(6, 182, 212, 0.1);
}

.assumption-item.exploring {
  border-color: rgba(6, 182, 212, 0.2);
  background: rgba(6, 182, 212, 0.03);
}

.assumption-item.explored {
  border-color: rgba(6, 182, 212, 0.1);
}

.assumption-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.assumption-num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 11px;
  font-weight: 600;
  color: rgba(6, 182, 212, 0.3);
  min-width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(6, 182, 212, 0.05);
  border-radius: 6px;
  flex-shrink: 0;
  margin-top: 3px;
}

.assumption-text {
  flex: 1;
  min-width: 0;
  font-size: 14px;
  line-height: 1.75;
  color: var(--text-muted);
}

.assumption-explore-btn {
  flex-shrink: 0;
  padding: 5px 14px;
  border: 1px solid rgba(6, 182, 212, 0.15);
  border-radius: 8px;
  background: rgba(6, 182, 212, 0.04);
  color: #22d3ee;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  letter-spacing: 0.3px;
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 1px;
}

.assumption-explore-btn:hover:not(:disabled) {
  background: rgba(6, 182, 212, 0.1);
  border-color: rgba(6, 182, 212, 0.3);
  transform: translateX(2px);
}

.assumption-explore-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.assumption-explore-icon {
  font-size: 12px;
  display: inline-block;
}

.assumption-explore-spinner {
  display: inline-block;
  width: 12px;
  height: 12px;
  border: 2px solid rgba(34, 211, 238, 0.2);
  border-top-color: #22d3ee;
  border-radius: 50%;
  animation: spin-small 0.6s linear infinite;
}

.assumption-detail {
  margin-top: 14px;
  padding: 22px 24px;
  background: linear-gradient(145deg, rgba(6, 182, 212, 0.04), rgba(6, 182, 212, 0.01));
  border: 1px solid rgba(6, 182, 212, 0.1);
  border-radius: 14px;
  animation: card-appear 0.45s cubic-bezier(0.16, 1, 0.3, 1) both;
  position: relative;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s, padding 0.4s;
}

.assumption-detail::before {
  content: '';
  position: absolute;
  top: 0;
  left: 20%;
  right: 20%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(6, 182, 212, 0.2), transparent);
}

.assumption-detail.collapsed {
  max-height: 0;
  opacity: 0;
  padding-top: 0;
  padding-bottom: 0;
  margin-top: 0;
  border-color: transparent;
  overflow: hidden;
}

.assumption-detail-section {
  margin-bottom: 18px;
}

.assumption-detail-section:last-child {
  margin-bottom: 0;
}

.assumption-detail-label {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #22d3ee;
  margin-bottom: 8px;
  opacity: 0.8;
}

.assumption-detail p {
  font-size: 14px;
  line-height: 1.75;
  color: var(--text-muted);
}

.assumption-detail ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.assumption-detail li {
  font-size: 14px;
  line-height: 1.75;
  color: var(--text-muted);
  padding-left: 16px;
  position: relative;
}

.assumption-detail li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #22d3ee;
  opacity: 0.5;
}

@media (max-width: 640px) {
  .arg-overall-row {
    padding: 18px 20px;
    gap: 16px;
  }
  .arg-overall-ring {
    width: 76px;
    height: 76px;
  }
  .arg-dim-info {
    width: 100px;
  }
  .arg-dim-label {
    font-size: 12px;
  }
  .arg-meters {
    grid-template-columns: 1fr;
  }
  .persp-grid {
    grid-template-columns: 1fr;
  }
  .better-questions-area {
    padding: 24px 20px;
  }
  .thinking-timeline-area {
    padding: 24px 20px;
  }
  .timeline-steps {
    padding-left: 28px;
  }
  .timeline-marker {
    left: -28px;
  }
  .timeline-connector {
    left: -23px;
  }
  .assumption-row {
    flex-wrap: wrap;
  }
  .assumption-explore-btn {
    margin-left: 32px;
  }
}

.feedback-widget {
  text-align: center;
  padding: 24px 20px;
  margin-top: 20px;
  background: var(--card-bg);
  border: 1px solid rgba(139, 92, 246, 0.1);
  border-radius: 16px;
}

.feedback-prompt {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.feedback-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
}

.feedback-btn {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  border: 1px solid rgba(139, 92, 246, 0.15);
  background: rgba(15, 15, 15, 0.5);
  font-size: 22px;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feedback-btn:hover {
  border-color: #8b5cf6;
  background: rgba(139, 92, 246, 0.1);
  transform: scale(1.1);
}

.feedback-btn.selected {
  border-color: #8b5cf6;
  background: rgba(139, 92, 246, 0.2);
  box-shadow: 0 0 12px rgba(139, 92, 246, 0.3);
}

.feedback-comment-area {
  margin-top: 14px;
}

.feedback-comment-input {
  width: 100%;
  max-width: 400px;
  background: var(--bg);
  border: 1px solid rgba(139, 92, 246, 0.2);
  border-radius: 10px;
  padding: 10px 14px;
  color: #e0e6ef;
  font-size: 13px;
  font-family: inherit;
  outline: none;
  resize: none;
  margin-bottom: 10px;
}

.feedback-comment-input:focus {
  border-color: #8b5cf6;
}

.feedback-submit-btn {
  background: linear-gradient(135deg, #8b5cf6, #7c3aed);
  color: var(--text-primary);
  border: none;
  border-radius: 8px;
  padding: 8px 24px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  font-family: 'Space Grotesk', sans-serif;
  transition: opacity 0.2s;
}

.feedback-submit-btn:hover {
  opacity: 0.9;
}

.feedback-thanks {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 15px;
  color: #22c55e;
  font-weight: 500;
}
.theme-toggle{background:none;border:1px solid rgba(139,92,246,0.2);border-radius:8px;cursor:pointer;padding:6px;display:flex;align-items:center;justify-content:center;color:#8b97ab;transition:all .2s;margin-left:8px}
.theme-toggle:hover{border-color:rgba(139,92,246,0.5);color:#c4b5fd}
.theme-icon-moon{display:none}
body.light-mode .theme-icon-sun{display:none}
body.light-mode .theme-icon-moon{display:block}

body.light-mode{background:var(--bg);color:var(--text-secondary)}
body.light-mode .grid-bg{background-image:linear-gradient(rgba(139,92,246,0.04) 1px,transparent 1px),linear-gradient(90deg,rgba(139,92,246,0.04) 1px,transparent 1px)}
body.light-mode .grid-bg::after{background:radial-gradient(circle,rgba(139,92,246,0.06) 0%,transparent 65%)}

body.light-mode nav{background:var(--bg-nav);border-bottom:1px solid var(--border);box-shadow:0 1px 3px rgba(0,0,0,0.04)}
body.light-mode .nav-logo{color:var(--text-primary)}
body.light-mode .nav-menu-item{color:var(--text-secondary)}
body.light-mode .nav-menu-item:hover{color:var(--text-primary)}
body.light-mode .nav-menu-login{color:var(--text-secondary)!important}
body.light-mode .nav-menu-login:hover{color:var(--text-primary)!important}
body.light-mode .nav-toggle{color:var(--text-secondary)}
body.light-mode .theme-toggle{border-color:var(--border);color:var(--text-secondary)}
body.light-mode .theme-toggle:hover{border-color:#7c3aed;color:#7c3aed}

body.light-mode h1,body.light-mode h2,body.light-mode h3,body.light-mode h4{color:var(--text-primary)}
body.light-mode .overline{color:#6366f1}
body.light-mode .tagline{color:var(--text-secondary)}
body.light-mode .hero-title{color:var(--text-primary)}
body.light-mode .hero-sub{color:var(--text-secondary)}
body.light-mode .cta-note{color:var(--text-muted)}
body.light-mode .hero-cta-secondary{color:#7c3aed;border-color:rgba(139,92,246,0.3)}
body.light-mode .hero-cta-secondary:hover{color:#6d28d9;border-color:rgba(139,92,246,0.5);background:rgba(139,92,246,0.06)}
body.light-mode .section-title{color:var(--text-primary)}
body.light-mode .section-sub,.body.light-mode .section-body{color:var(--text-secondary)}

body.light-mode .cta-group input{background:var(--card-bg);border-color:var(--border);color:var(--text-primary)}
body.light-mode .cta-group input::placeholder{color:var(--text-muted)}
body.light-mode .cta-group input:focus{border-color:#8b5cf6}

body.light-mode .feature{background:var(--card-bg);border-color:var(--border);box-shadow:0 1px 3px rgba(0,0,0,0.04)}
body.light-mode .feature:hover{background:var(--card-bg);border-color:rgba(139,92,246,0.25);box-shadow:0 4px 20px rgba(139,92,246,0.08)}
body.light-mode .feature::before{background:linear-gradient(90deg,transparent,rgba(139,92,246,0.15),transparent)}
body.light-mode .feature-number{color:#8b5cf6}
body.light-mode .feature h3{color:var(--text-primary)}
body.light-mode .feature p{color:var(--text-muted)}

body.light-mode .step-card{background:var(--card-bg);border-color:var(--border);box-shadow:0 1px 3px rgba(0,0,0,0.04)}
body.light-mode .step-card:hover{background:var(--card-bg);border-color:rgba(139,92,246,0.2);box-shadow:0 4px 16px rgba(139,92,246,0.08)}
body.light-mode .step-number{color:rgba(139,92,246,0.4)}
body.light-mode .step-title{color:var(--text-primary)}
body.light-mode .step-desc{color:var(--text-muted)}

body.light-mode .example-input-card{background:var(--card-bg);border-color:var(--border)}
body.light-mode .example-label{color:var(--text-muted)}
body.light-mode .example-thought{color:var(--text-primary)}
body.light-mode .example-arrow{color:rgba(139,92,246,0.4)}
body.light-mode .example-output-card{background:var(--card-bg);border-color:var(--border)}
body.light-mode .example-output-text{color:var(--text-muted)}
body.light-mode .example-score-max{color:var(--text-muted)}

body.light-mode .evolution-demo-card{background:var(--card-bg);border-color:var(--border)}
body.light-mode .evolution-demo-card p{color:var(--text-muted)}
body.light-mode .evolution-before{border-color:rgba(139,92,246,0.15)}
body.light-mode .evolution-after{border-color:rgba(6,182,212,0.2);background:rgba(6,182,212,0.04)}
body.light-mode .evolution-after p{color:#0e7490}
body.light-mode .evolution-demo-label{color:var(--text-muted)}
body.light-mode .evolution-after .evolution-demo-label{color:#0891b2}
body.light-mode .evolution-demo-arrow{color:rgba(139,92,246,0.4)}

body.light-mode .feature-card{background:var(--card-bg);border-color:var(--border);box-shadow:0 1px 3px rgba(0,0,0,0.04)}
body.light-mode .feature-card:hover{background:var(--card-bg);border-color:rgba(139,92,246,0.25);box-shadow:0 4px 20px rgba(139,92,246,0.08)}
body.light-mode .feature-card h3{color:var(--text-primary)}
body.light-mode .feature-card p{color:var(--text-muted)}
body.light-mode .feature-card .feature-icon{background:rgba(139,92,246,0.06);color:#7c3aed}
body.light-mode .tool-card{background:var(--card-bg);border-color:var(--border);box-shadow:0 1px 3px rgba(0,0,0,0.04)}
body.light-mode .tool-card:hover{background:var(--card-bg);border-color:rgba(139,92,246,0.25);box-shadow:0 4px 20px rgba(139,92,246,0.08)}
body.light-mode .tool-card h3{color:var(--text-primary)}
body.light-mode .tool-card p{color:var(--text-muted)}
body.light-mode .tool-card-icon{background:rgba(139,92,246,0.06)}
body.light-mode .feature-see-all{color:#7c3aed}
body.light-mode .feature-see-all:hover{color:#6d28d9}

body.light-mode .final-cta-section{border-top-color:rgba(0,0,0,0.06)}

body.light-mode .hero-preview-card{background:var(--card-bg);border-color:var(--border);box-shadow:0 2px 12px rgba(0,0,0,0.06)}
body.light-mode .hero-preview-card::before{background:linear-gradient(90deg,transparent,rgba(139,92,246,0.25),rgba(6,182,212,0.25),transparent)}
body.light-mode .hero-preview-header{border-bottom-color:rgba(0,0,0,0.06)}
body.light-mode .hero-preview-label{color:var(--text-muted)}
body.light-mode .hero-preview-input p{color:var(--text-primary)}
body.light-mode .hero-preview-tag{color:var(--text-muted)}
body.light-mode .hero-preview-tag-accent{color:#0891b2}
body.light-mode .hero-preview-metric{background:rgba(139,92,246,0.04);border-color:rgba(139,92,246,0.1)}
body.light-mode .hero-preview-score-label{color:var(--text-muted)}
body.light-mode .hero-preview-insight p{color:var(--text-muted)}
body.light-mode .hero-preview-evolution{background:rgba(6,182,212,0.03);border-color:rgba(6,182,212,0.12)}
body.light-mode .hero-preview-evolution p{color:#0e7490}

body.light-mode .feature-try-btn{color:#7c3aed;background:rgba(139,92,246,0.05);border-color:rgba(139,92,246,0.15)}
body.light-mode .feature-try-btn:hover{background:rgba(139,92,246,0.1);border-color:rgba(139,92,246,0.25);color:#6d28d9}
body.light-mode .feature-learn-link{color:var(--text-muted)}
body.light-mode .feature-learn-link:hover{color:var(--text-muted)}

body.light-mode .advanced-card{background:var(--card-bg);border-color:var(--border);box-shadow:0 1px 3px rgba(0,0,0,0.03)}
body.light-mode .advanced-card:hover{border-color:rgba(0,0,0,0.1)}
body.light-mode .advanced-icon{background:rgba(100,116,139,0.05);color:var(--text-muted)}
body.light-mode .advanced-card h3{color:var(--text-secondary)}
body.light-mode .advanced-card p{color:var(--text-muted)}
body.light-mode .advanced-card-preview{background:rgba(0,0,0,0.02);border-color:var(--border)}
body.light-mode .hero-preview-link{color:#0891b2}
body.light-mode .hero-preview-link:hover{color:#0e7490}
body.light-mode .tool-card-sample{color:var(--text-muted)}
body.light-mode .tool-card-sample:hover{color:#0891b2}

body.light-mode .playground-entry-glow{background:radial-gradient(circle,rgba(139,92,246,0.04) 0%,transparent 70%)}

body.light-mode .card{background:var(--card-bg);border-color:var(--border);box-shadow:0 1px 3px rgba(0,0,0,0.04)}
body.light-mode .card:hover{border-color:rgba(139,92,246,0.25);box-shadow:0 4px 20px rgba(139,92,246,0.08)}
body.light-mode .card-title{color:var(--text-primary)}
body.light-mode .card-desc{color:var(--text-muted)}

body.light-mode .waitlist-section{background:var(--card-bg);border-color:var(--border);box-shadow:0 1px 3px rgba(0,0,0,0.04)}
body.light-mode .waitlist-title{color:var(--text-primary)}
body.light-mode .waitlist-text{color:var(--text-muted)}
body.light-mode .waitlist-input{background:var(--card-bg);border-color:var(--border);color:var(--text-primary)}
body.light-mode .waitlist-input::placeholder{color:var(--text-muted)}
body.light-mode .waitlist-input:focus{border-color:#8b5cf6;background:#fff}
body.light-mode .waitlist-success{color:var(--text-primary)}

body.light-mode .login-overlay{background:rgba(0,0,0,0.4);backdrop-filter:blur(8px)}
body.light-mode .login-modal{background:var(--card-bg);border-color:var(--border);box-shadow:0 20px 60px rgba(0,0,0,0.15)}
body.light-mode .login-modal::after{background:radial-gradient(circle at 50% 0%,rgba(139,92,246,0.04) 0%,transparent 50%)}
body.light-mode .login-title{color:var(--text-primary)}
body.light-mode .login-close{color:var(--text-muted)}
body.light-mode .login-close:hover{color:var(--text-primary)}
body.light-mode .login-label{color:var(--text-secondary)}
body.light-mode .login-input{background:var(--card-bg);border-color:var(--border);color:var(--text-primary)}
body.light-mode .login-input::placeholder{color:var(--text-muted)}
body.light-mode .login-input:focus{border-color:#8b5cf6;background:#fff}
body.light-mode .login-divider{color:var(--text-muted)}
body.light-mode .login-divider::before,body.light-mode .login-divider::after{background:rgba(0,0,0,0.08)}
body.light-mode .login-particles{opacity:0.3}
body.light-mode .login-error{color:#dc2626}

body.light-mode .signup-modal{background:var(--card-bg);border-color:var(--border);box-shadow:0 20px 60px rgba(0,0,0,0.15)}

body.light-mode .how-title{color:var(--text-primary)}
body.light-mode .how-step-title,.body.light-mode .step-title{color:var(--text-primary)}
body.light-mode .how-step-desc,.body.light-mode .step-desc{color:var(--text-muted)}
body.light-mode .social-title{color:var(--text-primary)}
body.light-mode .social-text{color:var(--text-muted)}

body.light-mode .footer-section{background:rgba(248,250,252,0.8);border-top-color:rgba(0,0,0,0.06)}
body.light-mode .footer-title{color:var(--text-primary)}
body.light-mode .footer-desc{color:var(--text-muted)}
body.light-mode .footer-link{color:var(--text-muted)}
body.light-mode .footer-link:hover{color:#7c3aed}
body.light-mode .footer-bottom{color:var(--text-muted)}
body.light-mode .footer-line{background:rgba(139,92,246,0.2)}
body.light-mode footer p{color:var(--text-muted)}

body.light-mode .analysis-section{color:var(--text-secondary)}
body.light-mode .analysis-textarea{background:var(--card-bg);border-color:var(--border);color:var(--text-primary)}
body.light-mode .analysis-textarea::placeholder{color:var(--text-muted)}
body.light-mode .analysis-textarea:focus{border-color:#8b5cf6}
body.light-mode .analysis-char-count{color:var(--text-muted)}
body.light-mode .analysis-btn:disabled{opacity:0.5}
body.light-mode .analysis-loading-text{color:var(--text-muted)}
body.light-mode .analysis-loading-dots span{background:#8b5cf6}

body.light-mode .key-insight-card{background:rgba(139,92,246,0.04);border-color:rgba(139,92,246,0.12)}
body.light-mode .key-insight-label{color:#7c3aed}
body.light-mode .key-insight-text{color:var(--text-primary)}

body.light-mode .analysis-card{background:var(--card-bg);border-color:var(--border);box-shadow:0 1px 3px rgba(0,0,0,0.04)}
body.light-mode .analysis-card .card-violet{border-left-color:#8b5cf6}
body.light-mode .analysis-card .card-cyan{border-left-color:#06b6d4}
body.light-mode .analysis-card .card-amber{border-left-color:#f59e0b}
body.light-mode .analysis-card .card-emerald{border-left-color:#10b981}
body.light-mode .analysis-label{color:var(--text-muted)}
body.light-mode .analysis-value{color:var(--text-primary)}

body.light-mode .score-section{color:var(--text-secondary)}
body.light-mode .score-ring{border-color:var(--border)}
body.light-mode .score-meta{color:var(--text-muted)}

body.light-mode .perspective-select-wrapper{color:var(--text-secondary)}
body.light-mode .perspective-label{color:var(--text-muted)}
body.light-mode .perspective-select{background:var(--card-bg);border-color:var(--border);color:var(--text-primary)}
body.light-mode .perspective-select:focus{border-color:#8b5cf6}
body.light-mode .perspective-select option{background:#fff;color:var(--text-primary)}
body.light-mode .persp-card{background:var(--card-bg);border-color:var(--border)}
body.light-mode .persp-card h4{color:var(--text-primary)}
body.light-mode .persp-card p{color:var(--text-muted)}
body.light-mode .persp-icon-wrap{opacity:0.8}

body.light-mode .debate-toggle-slider{background:rgba(0,0,0,0.08)}
body.light-mode .debate-toggle-slider::after{background:#fff;box-shadow:0 1px 3px rgba(0,0,0,0.12)}
body.light-mode .debate-toggle input:checked+.debate-toggle-slider{background:#8b5cf6}
body.light-mode .debate-toggle-label{color:var(--text-muted)}
body.light-mode .debate-toggle input:checked~.debate-toggle-label{color:#7c3aed}
body.light-mode .debate-card{background:var(--card-bg);border-color:var(--border)}
body.light-mode .debate-card-header{color:var(--text-primary)}
body.light-mode .debate-card-content{color:var(--text-muted)}
body.light-mode .debate-for{border-color:rgba(34,197,94,0.2)}
body.light-mode .debate-for .debate-card-header{color:#15803d}
body.light-mode .debate-against{border-color:rgba(239,68,68,0.2)}
body.light-mode .debate-against .debate-card-header{color:#dc2626}
body.light-mode .debate-tension{background:rgba(245,158,11,0.04);border-color:rgba(245,158,11,0.15)}
body.light-mode .debate-tension .debate-card-header{color:#d97706}
body.light-mode .debate-tension p{color:var(--text-muted)}

body.light-mode .evolution-area,.body.light-mode .evolution-cards{color:var(--text-secondary)}
body.light-mode .evolution-card{background:var(--card-bg);border-color:var(--border)}
body.light-mode .evolution-card h4,.body.light-mode .evo-improved h4,.body.light-mode .evo-reframe h4,.body.light-mode .evo-question h4{color:var(--text-primary)}
body.light-mode .evolution-card p{color:var(--text-muted)}

body.light-mode .share-card-area{color:var(--text-secondary)}
body.light-mode .share-card{background:var(--card-bg);border-color:var(--border);box-shadow:0 2px 8px rgba(0,0,0,0.06)}
body.light-mode .share-card-brand{color:#7c3aed}
body.light-mode .share-card-thought{color:var(--text-primary)}
body.light-mode .share-card-metrics{color:var(--text-muted)}
body.light-mode .share-score-num{color:var(--text-primary)}
body.light-mode .share-card-divider{background:rgba(0,0,0,0.06)}
body.light-mode .share-btn{background:var(--card-bg);border-color:var(--border);color:var(--text-secondary)}
body.light-mode .share-btn:hover{background:#e2e8f0;border-color:var(--border)}

body.light-mode .feedback-widget{background:var(--card-bg);border-color:var(--border);box-shadow:0 1px 3px rgba(0,0,0,0.04)}
body.light-mode .feedback-prompt{color:var(--text-muted)}
body.light-mode .feedback-btn{background:var(--card-bg);border-color:var(--border);color:var(--text-secondary)}
body.light-mode .feedback-btn:hover{background:#e2e8f0}
body.light-mode .feedback-btn.active{border-color:#8b5cf6;background:rgba(139,92,246,0.06)}
body.light-mode .feedback-comment-input{background:var(--card-bg);border-color:var(--border);color:var(--text-primary)}
body.light-mode .feedback-comment-input::placeholder{color:var(--text-muted)}
body.light-mode .feedback-submit-btn{color:#fff}

body.light-mode .thought-history{background:var(--card-bg);border-color:var(--border)}
body.light-mode .thought-history-title{color:var(--text-primary)}
body.light-mode .thought-history-clear{color:#6b7280;border-color:var(--border)}
body.light-mode .thought-history-clear:hover{color:#dc2626;border-color:rgba(220,38,38,0.2)}
body.light-mode .history-item{background:var(--card-bg);border-color:var(--border)}
body.light-mode .history-item:hover{border-color:rgba(139,92,246,0.2);background:#f1f5f9}
body.light-mode .history-item-text{color:var(--text-primary)}
body.light-mode .history-item-date{color:var(--text-muted)}

body.light-mode .challenge-card{background:var(--card-bg);border-color:var(--border);box-shadow:0 1px 3px rgba(0,0,0,0.04)}
body.light-mode .challenge-heading{color:var(--text-primary)}
body.light-mode .challenge-text{color:var(--text-muted)}

body.light-mode .daily-challenge{background:var(--card-bg);border-color:var(--border)}
body.light-mode .daily-challenge h3{color:var(--text-primary)}
body.light-mode .daily-challenge p{color:var(--text-muted)}

body.light-mode .thinking-timeline-area{color:var(--text-secondary)}
body.light-mode .timeline-step{background:var(--card-bg);border-color:var(--border)}
body.light-mode .timeline-step p{color:var(--text-muted)}
body.light-mode .timeline-dot{border-color:var(--border)}
body.light-mode .timeline-connector{background:rgba(0,0,0,0.06)}

body.light-mode .deeper-analysis-expandable{background:var(--card-bg);border-color:var(--border)}
body.light-mode .deeper-analysis-expandable summary{color:var(--text-primary)}

body.light-mode .result-section{background:var(--card-bg);border-color:var(--border);box-shadow:0 1px 3px rgba(0,0,0,0.04)}
body.light-mode .result-title{color:var(--text-primary)}
body.light-mode .result-text{color:var(--text-secondary)}
body.light-mode .stat-value{color:var(--text-primary)}
body.light-mode .stat-label{color:var(--text-muted)}

body.light-mode .tab-btn{color:#6b7280;border-color:var(--border)}
body.light-mode .tab-btn:hover{color:#374151;background:rgba(0,0,0,0.02)}
body.light-mode .tab-btn.active{color:#7c3aed;border-color:#7c3aed;background:rgba(139,92,246,0.04)}

body.light-mode .playground-input{background:var(--card-bg);border-color:var(--border);color:var(--text-primary)}
body.light-mode .playground-input::placeholder{color:var(--text-muted)}
body.light-mode .playground-input:focus{border-color:#8b5cf6}

body.light-mode .toast{background:#fff;color:#1e293b;border-color:var(--border);box-shadow:0 4px 20px rgba(0,0,0,0.1)}
body.light-mode .toast.success{border-left-color:#10b981}
body.light-mode .toast.error{border-left-color:#ef4444}

body.light-mode .arg-overall-row{background:var(--card-bg);border-color:var(--border);box-shadow:0 1px 3px rgba(0,0,0,0.04)}
body.light-mode .arg-overall-subtitle{color:var(--text-muted)}
body.light-mode .arg-dim-row{background:#fafbfc;border-color:var(--border)}
body.light-mode .arg-dim-row:hover{border-color:rgba(139,92,246,0.15)}
body.light-mode .arg-dim-row.arg-dim-weakest{background:rgba(248,113,113,0.04);border-color:rgba(248,113,113,0.15)}
body.light-mode .arg-dim-label{color:var(--text-secondary)}
body.light-mode .arg-dim-bar-bg{background:rgba(0,0,0,0.06)}
body.light-mode .arg-weakness-card{background:rgba(248,113,113,0.04);border-color:rgba(248,113,113,0.12)}
body.light-mode .arg-weakness-text{color:var(--text-muted)}
body.light-mode .arg-suggestions-title{color:var(--text-muted)}
body.light-mode .arg-suggestions-list li{color:var(--text-secondary)}
body.light-mode .arg-meter-card{background:var(--card-bg);border-color:var(--border)}
body.light-mode .arg-meter-reason{color:var(--text-muted)}
body.light-mode .arg-meter-label{color:var(--text-secondary)}
body.light-mode .arg-meter-bar-bg{background:rgba(0,0,0,0.06)}

body.light-mode .divider{background:rgba(0,0,0,0.06)}
body.light-mode .divider-label{color:var(--text-muted);background:var(--bg)}
