:root {
  --bg-primary: #050507;
  --bg-secondary: #0a0a0f;
  --bg-card: rgba(15, 15, 25, 0.6);
  --bg-glass: rgba(20, 20, 35, 0.4);
  --text-primary: #f0f0f5;
  --text-secondary: #8888a0;
  --text-muted: #55556a;
  --accent-blue: #3b82f6;
  --accent-purple: #a855f7;
  --accent-cyan: #06b6d4;
  --glow-blue: rgba(59, 130, 246, 0.15);
  --glow-purple: rgba(168, 85, 247, 0.15);
  --border-subtle: rgba(255, 255, 255, 0.06);
  --radius: 16px;
  --radius-sm: 10px;
  --font-display: 'Space Grotesk', sans-serif;
  --font-body: 'DM Sans', sans-serif;
}

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

body {
  background: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* =================== HERO =================== */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  padding: 80px 64px;
  position: relative;
  gap: 40px;
}

.hero-glow {
  position: absolute;
  top: -200px;
  left: -100px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--glow-purple) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 600px;
}

.badge {
  display: inline-block;
  padding: 6px 16px;
  border: 1px solid var(--accent-purple);
  border-radius: 100px;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  color: var(--accent-purple);
  margin-bottom: 32px;
  background: rgba(168, 85, 247, 0.08);
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(48px, 6vw, 80px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -2px;
  margin-bottom: 28px;
}

.gradient-text {
  background: linear-gradient(135deg, var(--accent-blue), var(--accent-purple), var(--accent-cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.lede {
  font-size: 18px;
  line-height: 1.7;
  color: var(--text-secondary);
  max-width: 480px;
  margin-bottom: 48px;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 32px;
}

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

.stat-value {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  color: var(--text-primary);
}

.stat-label {
  font-size: 13px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border-subtle);
}

/* Phone Mockup */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 1;
}

.phone-mockup {
  width: 300px;
  background: var(--bg-secondary);
  border-radius: 32px;
  border: 1px solid var(--border-subtle);
  padding: 16px;
  box-shadow:
    0 0 80px rgba(168, 85, 247, 0.08),
    0 40px 80px rgba(0, 0, 0, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.phone-screen {
  background: var(--bg-primary);
  border-radius: 20px;
  padding: 20px 16px;
  min-height: 420px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.chat-header-mock {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 4px;
}

.avatar-dot {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-blue), var(--accent-purple));
}

.chat-name-mock {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
}

.online-indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 6px #22c55e;
}

.msg {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.msg-them { align-items: flex-start; }
.msg-you { align-items: flex-end; }

.msg-bubble {
  padding: 10px 14px;
  border-radius: 14px;
  font-size: 13px;
  line-height: 1.5;
  max-width: 85%;
}

.msg-them .msg-bubble {
  background: var(--bg-glass);
  border: 1px solid var(--border-subtle);
  border-bottom-left-radius: 4px;
}

.msg-you .msg-bubble {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.25), rgba(168, 85, 247, 0.2));
  border: 1px solid rgba(59, 130, 246, 0.2);
  border-bottom-right-radius: 4px;
}

.msg-timer {
  font-size: 10px;
  color: var(--text-muted);
  font-family: var(--font-display);
  letter-spacing: 0.5px;
}

.msg.fading .msg-bubble {
  opacity: 0.35;
  border-color: rgba(239, 68, 68, 0.2);
}

.msg.fading .msg-timer {
  color: #ef4444;
}

/* =================== FEATURES =================== */
.features {
  padding: 120px 64px;
  position: relative;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1100px;
  margin: 0 auto;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
  padding: 36px 28px;
  backdrop-filter: blur(20px);
  transition: border-color 0.3s ease, transform 0.3s ease;
}

.feature-card:hover {
  border-color: rgba(168, 85, 247, 0.2);
  transform: translateY(-2px);
}

.feature-large {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  gap: 0 24px;
  padding: 48px 40px;
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.06), rgba(59, 130, 246, 0.04));
}

.feature-large .feature-icon {
  grid-row: 1 / 3;
  font-size: 48px;
  align-self: center;
}

.feature-icon {
  font-size: 32px;
  margin-bottom: 20px;
  filter: grayscale(0.2);
}

.feature-card h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 12px;
  letter-spacing: -0.3px;
}

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

/* =================== HOW SECTION =================== */
.how {
  padding: 120px 64px;
  display: flex;
  justify-content: center;
}

.how-content {
  max-width: 700px;
  text-align: center;
}

.how h2 {
  font-family: var(--font-display);
  font-size: clamp(36px, 4.5vw, 56px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -1.5px;
  margin-bottom: 28px;
}

.how-text {
  font-size: 17px;
  line-height: 1.75;
  color: var(--text-secondary);
  margin-bottom: 56px;
}

.comparison-strip {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.comp-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 100px;
  backdrop-filter: blur(12px);
}

.comp-label {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 500;
}

.comp-check {
  color: #22c55e;
  font-weight: 700;
  font-size: 16px;
}

/* =================== CLOSING =================== */
.closing {
  padding: 160px 64px;
  position: relative;
  text-align: center;
  overflow: hidden;
}

.closing-glow {
  position: absolute;
  bottom: -200px;
  right: -100px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, var(--glow-blue) 0%, transparent 70%);
  pointer-events: none;
}

.closing-content {
  position: relative;
  z-index: 1;
  max-width: 650px;
  margin: 0 auto;
}

.closing h2 {
  font-family: var(--font-display);
  font-size: clamp(36px, 4.5vw, 56px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -1.5px;
  margin-bottom: 24px;
}

.closing-text {
  font-size: 17px;
  line-height: 1.75;
  color: var(--text-secondary);
  margin-bottom: 48px;
}

.closing-tagline {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  background: linear-gradient(135deg, var(--accent-blue), var(--accent-purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.3px;
}

/* =================== FOOTER =================== */
.site-footer {
  padding: 48px 64px;
  border-top: 1px solid var(--border-subtle);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
}

.footer-tagline {
  font-size: 13px;
  color: var(--text-muted);
}

.footer-links {
  font-size: 13px;
  color: var(--text-muted);
}

.footer-link {
  color: var(--accent-purple);
  text-decoration: none;
}

.footer-link:hover {
  text-decoration: underline;
}

/* =================== RESPONSIVE =================== */
@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    padding: 60px 28px;
    min-height: auto;
    gap: 48px;
  }
  .hero-content { max-width: 100%; }
  .hero-visual { order: -1; }
  .phone-mockup { width: 260px; }
  .features { padding: 80px 28px; }
  .features-grid {
    grid-template-columns: 1fr;
  }
  .feature-large {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }
  .feature-large .feature-icon {
    grid-row: auto;
    margin-bottom: 16px;
  }
  .how { padding: 80px 28px; }
  .closing { padding: 100px 28px; }
  .site-footer { padding: 36px 28px; }
  .footer-content { flex-direction: column; gap: 12px; text-align: center; }
  .hero-stats { gap: 20px; }
  .comparison-strip { gap: 8px; }
  .comp-item { padding: 10px 16px; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 40px; letter-spacing: -1px; }
  .lede { font-size: 16px; }
  .phone-mockup { width: 240px; }
  .hero-stats { flex-wrap: wrap; gap: 16px; }
  .stat-divider { display: none; }
}

/* ── CTA Buttons (landing page) ── */
.hero-cta-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.hero-cta-btn {
  display: inline-block;
  background: linear-gradient(135deg, #7c3aed 0%, #a855f7 100%);
  color: #fff;
  text-decoration: none;
  padding: 14px 28px;
  border-radius: 12px;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.2px;
  box-shadow: 0 4px 24px rgba(124, 58, 237, 0.45);
  transition: transform 0.15s, box-shadow 0.15s;
}
.hero-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(124, 58, 237, 0.6);
}

.hero-cta-secondary {
  color: #a78bfa;
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 500;
  opacity: 0.8;
  transition: opacity 0.15s;
}
.hero-cta-secondary:hover { opacity: 1; }