/* =====================
   GOTCHI — Landing Page v2
   Dark theme, cute & playful, tamagotchi-inspired
   ===================== */

:root {
  --bg: #080810;
  --bg-card: #0f0f1a;
  --bg-card-hover: #161625;
  --fg: #f0eeff;
  --fg-muted: #8888aa;
  --fg-dim: #5555720;
  --accent: #a78bfa;
  --accent-bright: #c4b5fd;
  --accent-dim: rgba(167, 139, 250, 0.12);
  --accent-border: rgba(167, 139, 250, 0.25);
  --highlight: #fb923c;
  --highlight-dim: rgba(251, 146, 60, 0.12);
  --green: #4ade80;
  --green-dim: rgba(74, 222, 128, 0.12);
  --border: rgba(240, 238, 255, 0.07);
  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Figtree', system-ui, sans-serif;
  --radius: 16px;
  --radius-sm: 10px;
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--accent); color: var(--bg); }

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--accent); border-radius: 3px; }

/* =====================
   SHARED LOGO COMPONENT
   Used in both nav and footer
   ===================== */
.gotchi-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.gotchi-logo__icon {
  height: 28px;
  width: auto;
  flex-shrink: 0;
}

/* =====================
   NAV
   ===================== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 18px 32px;
  background: rgba(8, 8, 16, 0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-badge {
  font-size: 0.75rem;
  color: var(--fg-muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: 1px solid var(--border);
  padding: 4px 10px;
  border-radius: 20px;
}

/* =====================
   HERO
   ===================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 140px 24px 80px;
  text-align: center;
  overflow: hidden;
}

/* Atmospheric glow blobs */
.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.glow-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.18;
}
.glow-blob--purple {
  width: 700px; height: 700px;
  background: radial-gradient(circle, #7c3aed 0%, transparent 70%);
  top: -250px; left: 50%; transform: translateX(-50%);
}
.glow-blob--pink {
  width: 400px; height: 400px;
  background: radial-gradient(circle, #ec4899 0%, transparent 70%);
  bottom: -100px; right: 8%;
  opacity: 0.12;
}
.glow-blob--blue {
  width: 350px; height: 350px;
  background: radial-gradient(circle, #3b82f6 0%, transparent 70%);
  top: 30%; left: -5%;
  opacity: 0.1;
}

.hero-badge {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent-dim);
  border: 1px solid var(--accent-border);
  padding: 8px 18px;
  border-radius: 24px;
  font-size: 0.82rem;
  color: var(--accent-bright);
  margin-bottom: 36px;
  font-weight: 500;
  flex-wrap: wrap;
  justify-content: center;
}
.badge-sep {
  color: var(--accent);
  opacity: 0.5;
}
.badge-dot {
  width: 7px; height: 7px;
  background: var(--accent);
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 8px var(--accent);
  animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; box-shadow: 0 0 8px var(--accent); }
  50% { opacity: 0.6; box-shadow: 0 0 16px var(--accent); }
}

.hero-headline {
  position: relative;
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 9vw, 7rem);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.04em;
  margin-bottom: 24px;
  max-width: 900px;
  color: var(--fg);
}
.hero-headline em {
  font-style: italic;
  color: var(--accent);
  font-weight: 400;
}

.hero-sub {
  position: relative;
  font-size: clamp(0.95rem, 1.8vw, 1.15rem);
  color: var(--fg-muted);
  max-width: 560px;
  line-height: 1.7;
  margin-bottom: 28px;
}

/* Value prop pills */
.hero-pills {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 40px;
}
.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--green);
  background: var(--green-dim);
  border: 1px solid rgba(74, 222, 128, 0.2);
  padding: 6px 14px;
  border-radius: 20px;
}
.hero-pill svg {
  stroke: var(--green);
  flex-shrink: 0;
}

.hero-signup {
  position: relative;
  width: 100%;
  max-width: 500px;
  margin-bottom: 16px;
}
.signup-counter {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 16px;
}
.counter-label {
  font-size: 0.72rem;
  color: var(--fg-muted);
  letter-spacing: 0.04em;
}
.counter-number {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--green);
  text-shadow: 0 0 24px rgba(74, 222, 128, 0.35);
}
.signup-form {
  display: flex;
  gap: 8px;
}
.email-input {
  flex: 1;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(240, 238, 255, 0.12);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  font-size: 1rem;
  font-family: var(--font-body);
  color: var(--fg);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.email-input::placeholder { color: var(--fg-muted); }
.email-input:focus {
  border-color: rgba(167,139,250,0.5);
  box-shadow: 0 0 0 4px rgba(167,139,250,0.12);
}

.submit-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-sm);
  padding: 14px 28px;
  font-size: 1rem;
  font-family: var(--font-body);
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s, background 0.15s;
  white-space: nowrap;
  letter-spacing: -0.01em;
}
.submit-btn:hover {
  transform: translateY(-2px);
  background: #b99afc;
  box-shadow: 0 8px 32px rgba(167,139,250,0.5);
}
.submit-btn:active { transform: translateY(0); }

.signup-trust {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 0.75rem;
  color: var(--fg-muted);
  margin-top: 10px;
  opacity: 0.8;
}
.signup-trust svg { stroke: var(--fg-muted); flex-shrink: 0; }

.signup-meta {
  font-size: 0.78rem;
  color: var(--fg-muted);
  margin-top: 10px;
  text-align: center;
}

/* Progress bar under signup counter */
.signup-progress {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.progress-bar {
  height: 5px;
  background: rgba(255,255,255,0.07);
  border-radius: 99px;
  overflow: hidden;
  margin-top: 14px;
}
.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #4ade80, #a78bfa);
  border-radius: 99px;
  transition: width 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  min-width: 2px;
}
.progress-pct {
  font-size: 0.72rem;
  color: var(--fg-muted);
  white-space: nowrap;
}
.counter-sep {
  font-size: 1rem;
  color: var(--fg-muted);
}
.counter-goal {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--fg-muted);
}

/* Social proof — testimonials */
.hero-testimonials {
  position: relative;
  width: 100%;
  max-width: 860px;
  margin: 0 auto;
}
.testimonials-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 14px;
  align-items: stretch;
}
.testimonial-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  text-align: left;
  transition: border-color 0.2s, background 0.2s;
}
.testimonial-card:hover {
  border-color: var(--accent-border);
  background: rgba(167,139,250,0.04);
}
.testimonial-card--featured {
  border-color: rgba(167,139,250,0.3);
  background: rgba(167,139,250,0.06);
}
.testimonial-card--featured:hover {
  border-color: var(--accent);
  background: rgba(167,139,250,0.1);
}
.testimonial-quote {
  font-size: 0.82rem;
  color: var(--fg-muted);
  line-height: 1.55;
  margin-bottom: 14px;
  font-style: italic;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 10px;
}
.testimonial-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  flex-shrink: 0;
}
.testimonial-avatar--blue { background: rgba(59,130,246,0.25); color: #93c5fd; }
.testimonial-avatar--pink { background: rgba(236,72,153,0.25); color: #f9a8d4; }
.testimonial-avatar--green { background: rgba(74,222,128,0.2); color: #86efac; }
.testimonial-name {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--fg);
}
.testimonial-meta {
  font-size: 0.72rem;
  color: var(--fg-muted);
}

/* Responsive — testimonials */
@media (max-width: 768px) {
  .testimonials-row { grid-template-columns: 1fr; gap: 10px; }
}

/* =====================
   HERO PHONE MOCKUP (CSS-only, no image)
   ===================== */
.phone-mockup {
  position: relative;
  margin: 0 auto 48px;
  animation: float-phone 4s ease-in-out infinite;
}
@keyframes float-phone {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-12px); }
}

/* Frame — dark bezel with rounded corners */
.phone-frame {
  width: 320px;
  height: 660px;
  background: #0d0d1a;
  border-radius: 48px;
  position: relative;
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.06),
    0 0 0 8px #0a0a12,
    0 0 0 9px rgba(255,255,255,0.04),
    0 32px 80px rgba(0,0,0,0.6),
    0 0 60px rgba(139,92,246,0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Dynamic Island / notch pill */
.phone-notch {
  width: 100px;
  height: 28px;
  background: #06060f;
  border-radius: 20px;
  margin-top: 14px;
  flex-shrink: 0;
  position: relative;
  z-index: 2;
  box-shadow: 0 1px 3px rgba(0,0,0,0.5);
}

/* Screen — dark gradient inside frame */
.phone-screen {
  flex: 1;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(139,92,246,0.12) 0%, transparent 70%),
    radial-gradient(ellipse 60% 50% at 50% 100%, rgba(236,72,153,0.06) 0%, transparent 60%),
    #0d0d1a;
  position: relative;
}

/* Egg character — built from CSS shapes */
.phone-egg {
  position: relative;
  width: 140px;
  height: 170px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Main egg body */
.egg-shell {
  width: 130px;
  height: 160px;
  background: radial-gradient(ellipse at 38% 32%, #e8d5ff 0%, #c4a0ff 25%, #a78bfa 60%, #7c3aed 100%);
  border-radius: 50% 50% 50% 50% / 58% 58% 42% 42%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -52%);
  box-shadow:
    inset 0 -8px 20px rgba(124,58,237,0.4),
    inset 0 8px 20px rgba(255,255,255,0.2),
    0 8px 32px rgba(139,92,246,0.3),
    0 0 48px rgba(139,92,246,0.15);
}

/* Eyes */
.egg-eye {
  position: absolute;
  width: 16px;
  height: 20px;
  background: #1a1030;
  border-radius: 50%;
  top: 42%;
}
.egg-eye::after {
  content: '';
  position: absolute;
  width: 5px;
  height: 5px;
  background: #fff;
  border-radius: 50%;
  top: 4px;
  right: 3px;
}
.egg-eye--left  { left: 32%; }
.egg-eye--right { right: 32%; }

/* Cheeks */
.egg-cheek {
  position: absolute;
  width: 18px;
  height: 10px;
  background: rgba(236,72,153,0.35);
  border-radius: 50%;
  top: 56%;
}
.egg-cheek--left  { left: 24%; }
.egg-cheek--right { right: 24%; }

/* Smile */
.egg-mouth {
  position: absolute;
  width: 22px;
  height: 11px;
  border: 2.5px solid #1a1030;
  border-top: none;
  border-radius: 0 0 12px 12px;
  top: 60%;
  left: 50%;
  transform: translateX(-50%);
}

/* Side buttons (outside the frame, on the right edge) */
.phone-btn {
  position: absolute;
  right: -10px;
  background: #0d0d1a;
  border-radius: 4px;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.04);
}
.phone-btn--silent {
  width: 3px; height: 28px;
  top: 160px;
}
.phone-btn--volume-up {
  width: 3px; height: 50px;
  top: 200px;
}
.phone-btn--volume-down {
  width: 3px; height: 50px;
  top: 258px;
}

/* =====================
   CHARACTER SHOWCASE
   ===================== */
.showcase {
  padding: 100px 24px;
  max-width: 1200px;
  margin: 0 auto;
}
.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 12px;
  color: var(--fg);
}
.section-sub {
  font-size: 1.05rem;
  color: var(--fg-muted);
  max-width: 500px;
  line-height: 1.7;
  margin-bottom: 56px;
}

.char-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}
.char-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 16px 20px;
  text-align: center;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
  cursor: default;
}
.char-card:hover {
  border-color: var(--accent-border);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(167,139,250,0.12);
}
.char-img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 14px;
  background: var(--bg);
}
.char-label {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 4px;
}
.char-tagline {
  font-size: 0.75rem;
  color: var(--fg-muted);
  line-height: 1.4;
}

/* =====================
   COMPARISON TABLE
   ===================== */
.compare {
  padding: 80px 24px 100px;
  max-width: 1100px;
  margin: 0 auto;
}
.compare-table-wrap {
  overflow-x: auto;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}
.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}
.compare-table th {
  padding: 16px 20px;
  text-align: left;
  font-weight: 600;
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
}
.compare-table th:first-child { color: var(--fg-muted); }
.compare-table th:nth-child(2) {
  background: var(--accent-dim);
  color: var(--accent-bright);
  text-align: center;
  font-family: var(--font-display);
  font-size: 1rem;
}
.compare-table th:nth-child(n+3) {
  text-align: center;
  color: var(--fg-muted);
}
.compare-table td {
  padding: 14px 20px;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
}
.compare-table tr:last-child td { border-bottom: none; }
.compare-table td:nth-child(2) {
  background: var(--accent-dim);
  text-align: center;
}
.compare-table td:nth-child(n+3) {
  text-align: center;
}
.feature-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
}
.feature-check--yes {
  background: var(--green-dim);
  color: var(--green);
}
.feature-check--no {
  background: rgba(255,255,255,0.04);
  color: var(--fg-muted);
}
.compare-table tr:hover td {
  background: rgba(255,255,255,0.02);
}
.compare-table td:nth-child(2):hover {
  background: rgba(167,139,250,0.15);
}
.badge-new {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  background: var(--accent);
  color: #fff;
  padding: 2px 7px;
  border-radius: 10px;
  vertical-align: middle;
  margin-left: 6px;
}

/* =====================
   KOSMI CROSS-PROMO
   ===================== */
.kosmi-promo {
  padding: 80px 24px;
  background: linear-gradient(160deg, #1a0a2e 0%, #0d0820 50%, #0a0618 100%);
  position: relative;
  overflow: hidden;
}
.kosmi-promo::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 100%, rgba(139, 92, 246, 0.15) 0%, transparent 70%);
  pointer-events: none;
}
.kosmi-inner {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  position: relative;
}
.kosmi-eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  color: #a78bfa;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 20px;
  opacity: 0.7;
}
.kosmi-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
  background: linear-gradient(135deg, #f0eeff 0%, #c4b5fd 50%, #a78bfa 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.kosmi-sub {
  font-size: 1.05rem;
  color: var(--fg-muted);
  line-height: 1.7;
  max-width: 560px;
  margin: 0 auto 44px;
}
.kosmi-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #7c3aed, #a855f7);
  color: #fff;
  border: none;
  border-radius: 12px;
  padding: 16px 32px;
  font-size: 1rem;
  font-family: var(--font-body);
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s, box-shadow 0.15s;
  margin-bottom: 52px;
}
.kosmi-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(139, 92, 246, 0.45);
}
.kosmi-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}
.kosmi-logos span {
  font-size: 0.78rem;
  color: var(--fg-muted);
  margin-right: 8px;
}
.backer-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 5px 12px;
  font-size: 0.75rem;
  color: var(--fg-muted);
  font-weight: 500;
}

/* =====================
   FOOTER
   ===================== */
.footer {
  padding: 60px 24px 32px;
  border-top: 1px solid var(--border);
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 60px;
  margin-bottom: 48px;
}
.footer-brand .gotchi-logo {
  margin-bottom: 16px;
}
.footer-brand p {
  font-size: 0.88rem;
  color: var(--fg-muted);
  line-height: 1.65;
}
.footer-links {
  display: flex;
  gap: 48px;
}
.footer-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-col-label {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--fg-muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.footer-col a {
  font-size: 0.88rem;
  color: var(--fg-muted);
  text-decoration: none;
  transition: color 0.15s;
}
.footer-col a:hover { color: var(--fg); }
.footer-bottom {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  font-size: 0.8rem;
  color: var(--fg-muted);
}

/* =====================
   ONBOARDING GUIDE
   ===================== */
.onboarding {
  padding: 80px 24px 100px;
  background:
    radial-gradient(ellipse 70% 50% at 50% 0%, rgba(139, 92, 246, 0.06) 0%, transparent 60%),
    #0a0a12;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.onboarding-inner {
  max-width: 900px;
  margin: 0 auto;
}
.onboarding-header {
  text-align: center;
  margin-bottom: 64px;
}
.onboarding-eyebrow {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.onboarding-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--fg);
  line-height: 1.2;
}

.onboarding-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.onboarding-step {
  display: grid;
  grid-template-columns: 48px 1fr 180px;
  gap: 24px;
  align-items: start;
  padding: 32px 0;
}

.step-number {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent);
  opacity: 0.35;
  line-height: 1;
  padding-top: 4px;
}

.step-content {}

.step-heading {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 10px;
  letter-spacing: -0.02em;
}

.step-body {
  font-size: 0.92rem;
  color: var(--fg-muted);
  line-height: 1.75;
  margin-bottom: 16px;
}

.step-body strong {
  color: var(--fg);
  font-weight: 600;
}

.step-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.step-tag {
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--accent-bright);
  background: var(--accent-dim);
  border: 1px solid var(--accent-border);
  padding: 4px 10px;
  border-radius: 20px;
}

.step-tag--highlight {
  background: rgba(251, 146, 60, 0.12);
  border-color: rgba(251, 146, 60, 0.25);
  color: var(--highlight);
}

.step-visual {
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  padding-top: 8px;
}

.step-device {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.step-device-icon {
  width: 72px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-dim);
  border: 1px solid var(--accent-border);
  border-radius: var(--radius);
}

.step-device-label {
  font-size: 0.72rem;
  color: var(--fg-muted);
  text-align: center;
  max-width: 80px;
  line-height: 1.3;
}

/* Step divider */
.step-divider {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
  padding: 0;
}
.step-divider-line {
  height: 1px;
  background: var(--border);
}
.step-divider-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.4;
  flex-shrink: 0;
}

/* CTA nudge */
.onboarding-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-top: 56px;
  padding-top: 48px;
  border-top: 1px solid var(--border);
}

.onboarding-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  padding: 14px 28px;
  font-size: 0.95rem;
  font-family: var(--font-body);
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s, box-shadow 0.15s;
}
.onboarding-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(167, 139, 250, 0.4);
}

.onboarding-cta-meta {
  font-size: 0.8rem;
  color: var(--fg-muted);
}

/* =====================
   FEATURES CARD GRID
   ===================== */
.features {
  padding: 80px 24px;
  background:
    radial-gradient(ellipse 60% 40% at 50% 0%, rgba(139, 92, 246, 0.05) 0%, transparent 60%),
    #080810;
}
.features-inner {
  max-width: 1100px;
  margin: 0 auto;
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.feature-card {
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(139, 92, 246, 0.2);
  border-radius: 14px;
  padding: 24px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.feature-card:hover {
  border-color: rgba(139, 92, 246, 0.6);
  box-shadow: 0 0 24px rgba(139, 92, 246, 0.12), 0 4px 12px rgba(0, 0, 0, 0.3);
}
.feature-icon-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(139, 92, 246, 0.12);
  border: 1px solid rgba(139, 92, 246, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.feature-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: #f0eeff;
  margin-bottom: 10px;
  letter-spacing: -0.02em;
}
.feature-body {
  font-size: 0.85rem;
  color: #8888aa;
  line-height: 1.65;
}

@media (max-width: 900px) {
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .feature-grid { grid-template-columns: 1fr; }
  .features { padding: 60px 20px; }
}

/* =====================
   DEMO SCREENSHOTS SECTION
   ===================== */
.demos {
  padding: 80px 24px 100px;
  max-width: 1200px;
  margin: 0 auto;
}
.demos-header {
  text-align: center;
  margin-bottom: 56px;
}
.demos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
}
@media (max-width: 900px) {
  .demos-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .demos-grid { grid-template-columns: 1fr; }
}

/* Individual demo card */
.demo-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.demo-label {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: center;
}
.demo-label::before,
.demo-label::after {
  content: '—';
  margin: 0 8px;
  opacity: 0.4;
}

/* Phone screenshot mockup — matches hero phone-frame aesthetic */
.demo-phone {
  position: relative;
  width: 100%;
  max-width: 280px;
  margin: 0 auto;
}
.demo-phone-frame {
  width: 100%;
  aspect-ratio: 9/19;
  background: #0d0d1a;
  border-radius: 36px;
  position: relative;
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.06),
    0 0 0 6px #0a0a12,
    0 0 0 7px rgba(255,255,255,0.04),
    0 20px 60px rgba(0,0,0,0.5),
    0 0 40px rgba(139,92,246,0.06);
  display: flex;
  flex-direction: column;
}
.demo-phone-notch {
  width: 70px;
  height: 22px;
  background: #06060f;
  border-radius: 14px;
  margin: 10px auto 0;
  flex-shrink: 0;
  z-index: 2;
}
.demo-phone-screen {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 12px;
  gap: 8px;
  overflow: hidden;
}

/* Chat bubbles inside screenshot */
.chat-row {
  display: flex;
  gap: 6px;
  align-items: flex-end;
}
.chat-row--them {
  flex-direction: row;
}
.chat-row--me {
  flex-direction: row-reverse;
}
.chat-avatar {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.6rem;
  font-weight: 700;
}
.chat-avatar--egg {
  background: linear-gradient(135deg, #c4a0ff, #7c3aed);
  color: #fff;
}
.chat-avatar--user {
  background: rgba(74,222,128,0.25);
  color: var(--green);
}
.chat-bubble {
  max-width: 75%;
  padding: 7px 10px;
  font-size: 0.62rem;
  line-height: 1.5;
  border-radius: 12px;
}
.chat-bubble--them {
  background: rgba(255,255,255,0.07);
  color: var(--fg);
  border-bottom-left-radius: 4px;
}
.chat-bubble--me {
  background: var(--accent-dim);
  color: var(--accent-bright);
  border-bottom-right-radius: 4px;
}

/* Voice mode screen */
.voice-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 16px 12px 8px;
}
.voice-egg {
  width: 56px;
  height: 68px;
  background: radial-gradient(ellipse at 38% 32%, #e8d5ff 0%, #c4a0ff 25%, #a78bfa 60%, #7c3aed 100%);
  border-radius: 50% 50% 50% 50% / 58% 58% 42% 42%;
  position: relative;
  box-shadow: 0 0 20px rgba(139,92,246,0.4);
}
.voice-egg::before {
  content: '';
  position: absolute;
  inset: -12px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(139,92,246,0.2) 0%, transparent 70%);
  animation: voice-pulse 2s ease-in-out infinite;
}
@keyframes voice-pulse {
  0%, 100% { transform: scale(1); opacity: 0.8; }
  50%       { transform: scale(1.15); opacity: 0.4; }
}
.voice-wave {
  display: flex;
  align-items: center;
  gap: 3px;
  height: 20px;
}
.voice-bar {
  width: 3px;
  background: var(--accent);
  border-radius: 2px;
  animation: voice-bar-anim 1.2s ease-in-out infinite;
}
.voice-bar:nth-child(1) { animation-delay: 0s;    height: 8px; }
.voice-bar:nth-child(2) { animation-delay: 0.15s; height: 14px; }
.voice-bar:nth-child(3) { animation-delay: 0.3s;  height: 20px; }
.voice-bar:nth-child(4) { animation-delay: 0.45s; height: 14px; }
.voice-bar:nth-child(5) { animation-delay: 0.6s;  height: 8px; }
@keyframes voice-bar-anim {
  0%, 100% { opacity: 0.3; transform: scaleY(0.5); }
  50%       { opacity: 1;   transform: scaleY(1);   }
}
.voice-label {
  font-size: 0.68rem;
  color: var(--accent);
  font-weight: 500;
}
.voice-hint {
  font-size: 0.58rem;
  color: var(--fg-muted);
  text-align: center;
}

/* Character creation screen */
.char-create-header {
  padding: 10px 12px 6px;
  border-bottom: 1px solid var(--border);
}
.char-create-title {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--fg);
}
.char-create-sub {
  font-size: 0.58rem;
  color: var(--fg-muted);
  margin-top: 2px;
}
.char-create-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  padding: 10px 12px;
}
.char-create-option {
  aspect-ratio: 1;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.char-create-option--selected {
  border-color: var(--accent);
  box-shadow: 0 0 8px rgba(139,92,246,0.3);
}
.char-create-emoji {
  font-size: 1rem;
}
.char-create-footer {
  padding: 8px 12px;
  margin-top: auto;
}
.char-create-btn {
  width: 100%;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 8px;
  font-size: 0.68rem;
  font-weight: 600;
  font-family: var(--font-body);
  cursor: pointer;
}

/* Demo card caption */
.demo-caption {
  text-align: center;
  padding: 0 8px;
}
.demo-caption-title {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 4px;
}
.demo-caption-body {
  font-size: 0.78rem;
  color: var(--fg-muted);
  line-height: 1.55;
}

/* =====================
   RESPONSIVE
   ===================== */
@media (max-width: 768px) {
  .hero-pills { gap: 8px; }
  .hero-pill { font-size: 0.72rem; padding: 5px 12px; }
}

@media (max-width: 480px) {
  .hero-pills { gap: 6px; }
}

@media (max-width: 1024px) {
  .char-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
  .hero { padding-top: 120px; }
  .signup-form { flex-direction: column; }
  .char-grid { grid-template-columns: repeat(2, 1fr); }
  .compare-table th, .compare-table td { padding: 12px 14px; font-size: 0.82rem; }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .footer-links { flex-direction: column; gap: 24px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  .nav-badge { display: none; }
}
@media (max-width: 480px) {
  .char-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .compare-table-wrap { font-size: 0.78rem; }
}