/* Tokens measured from candy.ai (palette) and replika.com (type scale, CTA shape) */
:root {
  --bg: #0d0a0f;
  --surface: #131313;
  --surface-2: #1a1a1a;
  --border: rgba(255, 255, 255, 0.08);
  --text: #ffffff;
  --text-muted: rgba(255, 255, 255, 0.64);
  --text-faint: rgba(255, 255, 255, 0.4);
  --accent: #f53b70;
  --accent-hover: #ee5876;
  --accent-soft: rgba(245, 59, 112, 0.12);
  --container: 1180px;
  --radius-pill: 100px;
  --radius-lg: 28px;
  --radius-md: 16px;
  font-size: 16px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Poppins", -apple-system, "system-ui", Helvetica, Arial, sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: var(--radius-pill);
  padding: 16px 32px;
  font-weight: 600;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease;
  white-space: nowrap;
}

.btn:hover { transform: translateY(-1px); }

.btn-primary {
  background: var(--accent);
  color: #fff;
}

.btn-primary:hover { background: var(--accent-hover); }

.btn-ghost {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  padding: 12px 24px;
  font-weight: 500;
}

.btn-ghost:hover { background: rgba(255, 255, 255, 0.14); }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  background: rgba(13, 10, 15, 0.75);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.25rem;
  font-weight: 700;
}

.logo .tag {
  background: var(--accent);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 3px 8px;
  border-radius: 6px;
}

.logo .accent { color: var(--accent); }

.nav-links {
  display: flex;
  gap: 32px;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.nav-links a:hover { color: #fff; }

.header-actions { display: flex; align-items: center; gap: 12px; }

.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
}

/* Hero */
.hero {
  padding: 88px 0 64px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: -20%;
  right: -10%;
  width: 640px;
  height: 640px;
  background: radial-gradient(circle, rgba(245, 59, 112, 0.22) 0%, rgba(245, 59, 112, 0) 70%);
  pointer-events: none;
}

.hero .container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent-soft);
  color: var(--accent-hover);
  border: 1px solid rgba(245, 59, 112, 0.3);
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 24px;
}

.hero h1 {
  font-size: 4.5rem;
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: -0.03em;
  margin: 0 0 24px;
}

.hero h1 .accent { color: var(--accent); }

.hero-sub {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 480px;
  margin: 0 0 36px;
}

.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-bottom: 28px; }

.store-badges { display: flex; flex-wrap: wrap; gap: 12px; }

.store-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 10px 18px;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.store-badge:hover { background: #202020; border-color: rgba(255, 255, 255, 0.18); }

.store-badge svg { width: 22px; height: 22px; flex-shrink: 0; }

.store-badge .store-text { display: flex; flex-direction: column; line-height: 1.1; }

.store-badge .store-text small { font-size: 0.62rem; color: var(--text-faint); }

.store-badge .store-text strong { font-size: 0.95rem; font-weight: 600; }

.hero-visual { position: relative; display: flex; justify-content: center; }

.hero-card {
  position: relative;
  width: 100%;
  max-width: 400px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.6);
}

.hero-card img { aspect-ratio: 3 / 4; object-fit: cover; width: 100%; }

.chat-bubble {
  position: absolute;
  bottom: 24px;
  left: -24px;
  background: #fff;
  color: #16121a;
  padding: 14px 18px;
  border-radius: 18px 18px 18px 4px;
  font-size: 0.9rem;
  font-weight: 500;
  max-width: 240px;
  box-shadow: 0 20px 40px -12px rgba(0, 0, 0, 0.5);
}

.online-pill {
  position: absolute;
  top: 20px;
  right: -12px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  padding: 8px 14px;
  font-size: 0.78rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
}

.online-dot { width: 8px; height: 8px; border-radius: 50%; background: #3ddc84; box-shadow: 0 0 0 3px rgba(61, 220, 132, 0.2); }

/* Section shared */
section { padding: 96px 0; }

.section-head { text-align: center; max-width: 620px; margin: 0 auto 56px; }

.section-head .eyebrow { margin-bottom: 16px; }

.section-head h2 {
  font-size: 2.75rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 16px;
}

.section-head p { color: var(--text-muted); font-size: 1.05rem; margin: 0; }

/* Features */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.features-grid.grid-2 { grid-template-columns: repeat(2, 1fr); }

.feature-card.compact { padding: 28px; }

.feature-card .protection-level {
  display: inline-block;
  margin-top: 14px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--accent-hover);
  background: var(--accent-soft);
  padding: 4px 10px;
  border-radius: 6px;
}

.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--accent-soft);
  color: var(--accent-hover);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.feature-icon svg { width: 24px; height: 24px; }

.feature-card h3 { font-size: 1.2rem; font-weight: 600; margin: 0 0 10px; }

.feature-card p { color: var(--text-muted); font-size: 0.95rem; margin: 0; line-height: 1.6; }

/* Split (customize) */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }

.split-media { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border); }

.split-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }

.split-list { list-style: none; margin: 28px 0 36px; padding: 0; display: flex; flex-direction: column; gap: 18px; }

.split-list li { display: flex; gap: 14px; align-items: flex-start; color: var(--text-muted); }

.split-list li svg { flex-shrink: 0; width: 22px; height: 22px; color: var(--accent-hover); margin-top: 2px; }

.split h2 { font-size: 2.25rem; font-weight: 700; letter-spacing: -0.02em; margin: 0 0 16px; }

.split > p { color: var(--text-muted); font-size: 1.05rem; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; counter-reset: step; }

.step { position: relative; padding-top: 8px; }

.step .step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  margin-bottom: 20px;
}

.step h3 { font-size: 1.15rem; font-weight: 600; margin: 0 0 10px; }

.step p { color: var(--text-muted); font-size: 0.95rem; margin: 0; }

/* FAQ */
.faq-list { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }

.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: none;
  border: none;
  color: #fff;
  text-align: left;
  font-size: 1rem;
  font-weight: 600;
  padding: 20px 24px;
  cursor: pointer;
  font-family: inherit;
}

.faq-question .chevron { transition: transform 0.2s ease; flex-shrink: 0; color: var(--text-faint); }

.faq-item.open .faq-question .chevron { transform: rotate(180deg); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

.faq-answer p { margin: 0; padding: 0 24px 20px; }

/* Final CTA */
.cta-banner {
  background: linear-gradient(135deg, var(--surface-2), var(--surface));
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 72px 48px;
  text-align: center;
  margin: 0 24px;
  max-width: calc(var(--container) - 48px);
  margin-left: auto;
  margin-right: auto;
}

.cta-banner h2 { font-size: 2.5rem; font-weight: 700; letter-spacing: -0.02em; margin: 0 0 16px; }

.cta-banner p { color: var(--text-muted); font-size: 1.05rem; margin: 0 0 32px; }

.cta-banner .hero-cta { justify-content: center; }

/* Footer */
.site-footer { padding: 56px 0 40px; border-top: 1px solid var(--border); }

.footer-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 32px; flex-wrap: wrap; margin-bottom: 32px; }

.footer-links { display: flex; gap: 28px; flex-wrap: wrap; color: var(--text-muted); font-size: 0.9rem; }

.footer-links a:hover { color: #fff; }

.footer-disclaimer { color: var(--text-faint); font-size: 0.82rem; line-height: 1.7; max-width: 760px; }

.footer-bottom { color: var(--text-faint); font-size: 0.82rem; margin-top: 24px; }

/* Responsive */
@media (max-width: 960px) {
  .hero .container { grid-template-columns: 1fr; }
  .hero-visual { order: -1; }
  .hero h1 { font-size: 3rem; }
  .split { grid-template-columns: 1fr; gap: 32px; }
  .features-grid, .features-grid.grid-2 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .menu-toggle { display: block; }
  .cta-banner { padding: 48px 24px; }
  .cta-banner h2, .section-head h2 { font-size: 2rem; }
}

@media (max-width: 480px) {
  .hero { padding: 56px 0 40px; }
  .hero h1 { font-size: 2.4rem; }
  .chat-bubble { left: 12px; }
  .online-pill { right: 12px; }
}
