:root {
  --bg: #0a0a0f;
  --bg-surface: #12121a;
  --bg-card: #1a1a26;
  --fg: #e8e8ed;
  --fg-muted: #8888a0;
  --accent: #7c5cff;
  --accent-glow: rgba(124, 92, 255, 0.3);
  --green: #34d399;
  --pink: #f472b6;
  --orange: #fb923c;
  --red: #ef4444;
  --cyan: #22d3ee;
  --radius: 12px;
  --max-width: 1100px;
}

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

body {
  background: var(--bg);
  color: var(--fg);
  font-family: 'Space Grotesk', sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

/* ---- HERO ---- */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 80px 24px 60px;
  text-align: center;
  position: relative;
  background: radial-gradient(ellipse at 50% 0%, rgba(124, 92, 255, 0.12) 0%, transparent 60%);
}

.hero-badge {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 3px;
  color: var(--accent);
  border: 1px solid rgba(124, 92, 255, 0.3);
  padding: 6px 16px;
  border-radius: 20px;
  margin-bottom: 32px;
}

.hero h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 20px;
  letter-spacing: -1px;
}

.gradient-text {
  background: linear-gradient(135deg, var(--accent) 0%, var(--pink) 50%, var(--orange) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.lede {
  font-size: 1.15rem;
  color: var(--fg-muted);
  max-width: 560px;
  margin: 0 auto 48px;
  line-height: 1.7;
}

/* ---- CTA BUTTON ---- */
.cta-btn {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  padding: 14px 32px;
  border-radius: 50px;
  text-decoration: none;
  margin-bottom: 48px;
  transition: opacity 0.2s, transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 0 24px var(--accent-glow);
}
.cta-btn:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 0 40px var(--accent-glow);
}

/* ---- CHAT DEMO ---- */
.hero-demo {
  width: 100%;
  max-width: 460px;
}

.chat-window {
  background: var(--bg-surface);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 16px;
  padding: 24px;
  text-align: left;
}

.chat-bubble {
  margin-bottom: 16px;
}

.chat-bubble .chat-name {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--fg-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.chat-bubble p {
  background: var(--bg-card);
  display: inline-block;
  padding: 10px 16px;
  border-radius: 16px 16px 16px 4px;
  margin-top: 4px;
  font-size: 1.05rem;
}

.chat-analysis {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: rgba(124, 92, 255, 0.08);
  border-left: 3px solid var(--accent);
  padding: 12px 16px;
  border-radius: 0 var(--radius) var(--radius) 0;
  margin-bottom: 16px;
}

.analysis-icon { font-size: 1.2rem; flex-shrink: 0; }

.chat-analysis p {
  font-size: 0.9rem;
  color: var(--fg-muted);
  line-height: 1.5;
}

.reply-options {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.reply-option {
  background: var(--bg-card);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: var(--radius);
  padding: 12px 16px;
  transition: border-color 0.2s;
}

.reply-option:hover {
  border-color: var(--accent);
}

.reply-tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 2px 8px;
  border-radius: 4px;
  display: inline-block;
  margin-bottom: 6px;
}

.tag-funny { background: rgba(251, 146, 60, 0.15); color: var(--orange); }
.tag-confident { background: rgba(124, 92, 255, 0.15); color: var(--accent); }
.tag-flirty { background: rgba(244, 114, 182, 0.15); color: var(--pink); }

.reply-option p {
  font-size: 0.95rem;
  color: var(--fg);
  line-height: 1.4;
}

/* ---- HOW IT WORKS ---- */
.how-it-works {
  padding: 100px 24px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.how-it-works h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  margin-bottom: 60px;
  text-align: center;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.step {
  padding: 32px;
  background: var(--bg-surface);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 16px;
}

.step-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 16px;
}

.step h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
}

.step p {
  font-size: 0.95rem;
  color: var(--fg-muted);
  line-height: 1.6;
}

/* ---- PERSONALITY MODES ---- */
.modes {
  padding: 100px 24px;
  max-width: var(--max-width);
  margin: 0 auto;
  text-align: center;
}

.modes h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  margin-bottom: 12px;
}

.modes-sub {
  color: var(--fg-muted);
  font-size: 1.1rem;
  max-width: 500px;
  margin: 0 auto 48px;
}

.modes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.mode-card {
  background: var(--bg-surface);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 16px;
  padding: 28px 20px;
  text-align: left;
  transition: border-color 0.2s, transform 0.2s;
}

.mode-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}

.mode-emoji {
  font-size: 1.8rem;
  margin-bottom: 12px;
}

.mode-card h3 {
  font-size: 1.1rem;
  margin-bottom: 6px;
}

.mode-card p {
  font-size: 0.9rem;
  color: var(--fg-muted);
  line-height: 1.5;
}

/* ---- FEATURES ---- */
.features {
  padding: 60px 24px 100px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  margin-bottom: 80px;
}

.feature-row.reverse {
  direction: rtl;
}

.feature-row.reverse > * {
  direction: ltr;
}

.feature-text h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  margin-bottom: 14px;
}

.feature-text p {
  font-size: 1rem;
  color: var(--fg-muted);
  line-height: 1.7;
}

.feature-card {
  background: var(--bg-surface);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 16px;
  padding: 28px;
  text-align: center;
}

.feature-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 2px;
  color: var(--accent);
  display: block;
  margin-bottom: 16px;
}

.feature-before {
  color: var(--fg-muted);
  font-size: 0.95rem;
  text-decoration: line-through;
  opacity: 0.6;
}

.feature-arrow {
  color: var(--accent);
  font-size: 1.2rem;
  margin: 8px 0;
}

.feature-after {
  color: var(--green);
  font-size: 1rem;
  font-style: italic;
}

.caption-stack {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.caption-card {
  background: var(--bg-surface);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 12px;
  padding: 20px;
  font-size: 0.95rem;
  color: var(--fg);
  line-height: 1.5;
  font-style: italic;
}

.analysis-card {
  background: var(--bg-surface);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 16px;
  padding: 28px;
}

.analysis-header {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 2px;
  color: var(--accent);
  margin-bottom: 20px;
}

.analysis-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.bar-label {
  font-size: 0.85rem;
  color: var(--fg-muted);
  min-width: 70px;
}

.bar {
  flex: 1;
  height: 8px;
  background: var(--bg-card);
  border-radius: 4px;
  overflow: hidden;
}

.bar-fill {
  height: 100%;
  background: var(--accent);
  border-radius: 4px;
  transition: width 0.6s ease;
}

.bar-fill.high { background: var(--orange); }
.bar-fill.low { background: var(--red); }

/* ---- CLOSING ---- */
.closing {
  padding: 120px 24px;
  text-align: center;
  background: radial-gradient(ellipse at 50% 100%, rgba(124, 92, 255, 0.1) 0%, transparent 60%);
}

.closing h2 {
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
}

.closing-sub {
  color: var(--fg-muted);
  font-size: 1.1rem;
  max-width: 540px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ---- FOOTER ---- */
footer {
  padding: 40px 24px;
  border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-brand {
  font-weight: 700;
  font-size: 1.1rem;
}

.footer-tagline {
  color: var(--fg-muted);
  font-size: 0.85rem;
}

/* ---- MOBILE ---- */
@media (max-width: 768px) {
  .steps {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .modes-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  .feature-row,
  .feature-row.reverse {
    grid-template-columns: 1fr;
    gap: 24px;
    direction: ltr;
  }
  .footer-inner {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .modes-grid {
    grid-template-columns: 1fr;
  }
  .hero {
    padding: 60px 16px 40px;
  }
}