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

:root {
  --bg: #0a0a0f;
  --bg2: #12121a;
  --bg3: #1a1a26;
  --accent: #ff4d8d;
  --accent2: #c44fff;
  --text: #f0e6ff;
  --muted: #8a7fa0;
  --border: rgba(255,255,255,0.08);
  --glow: rgba(255, 77, 141, 0.15);
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

.hidden { display: none !important; }

/* ── Age Gate / Password Gate ── */
#age-gate, #password-gate {
  position: fixed; inset: 0;
  background: #0a0a0f;
  display: flex; align-items: center; justify-content: center;
  z-index: 9999;
}

.pw-field-wrap { margin-bottom: 28px; }

.pw-input {
  width: 100%; padding: 14px 18px;
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 12px;
  color: var(--text); font-family: 'Inter', sans-serif; font-size: 16px;
  outline: none; text-align: center; letter-spacing: 2px;
  transition: border-color .2s;
}
.pw-input:focus { border-color: rgba(255,77,141,0.5); }

.pw-error {
  color: var(--accent); font-size: 13px; margin-top: 10px;
}

.gate-box {
  text-align: center;
  padding: 60px 48px;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 20px;
  max-width: 480px;
  width: 90%;
  box-shadow: 0 0 80px rgba(196,79,255,0.15);
}

.gate-logo {
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  color: var(--accent);
  margin-bottom: 24px;
  letter-spacing: 1px;
}

.gate-sub { color: var(--muted); font-size: 14px; margin-bottom: 12px; }
.gate-question { font-size: 20px; font-weight: 500; margin-bottom: 32px; }

.gate-buttons { display: flex; gap: 16px; justify-content: center; }

.btn-yes {
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #fff;
  border: none; border-radius: 50px;
  padding: 14px 40px; font-size: 16px; font-weight: 500;
  cursor: pointer; transition: opacity .2s;
}
.btn-yes:hover { opacity: 0.85; }

.btn-no {
  background: transparent;
  color: var(--muted);
  border: 1px solid var(--border);
  border-radius: 50px;
  padding: 14px 40px; font-size: 16px;
  cursor: pointer; transition: color .2s;
}
.btn-no:hover { color: var(--text); }

/* ── Header ── */
header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(10,10,15,0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  max-width: 1200px; margin: auto;
  padding: 0 32px;
  height: 64px;
  display: flex; align-items: center; justify-content: space-between;
}

.logo {
  font-family: 'Playfair Display', serif;
  font-size: 20px; color: var(--accent);
  letter-spacing: .5px;
}
.logo span { color: var(--text); }

nav { display: flex; align-items: center; gap: 32px; }

nav a {
  color: var(--muted); text-decoration: none;
  font-size: 14px; font-weight: 500;
  transition: color .2s;
}
nav a:hover { color: var(--text); }

.nav-cta {
  background: linear-gradient(135deg, var(--accent), var(--accent2)) !important;
  color: #fff !important;
  padding: 8px 24px; border-radius: 50px;
  font-size: 14px !important;
}
.nav-cta:hover { opacity: 0.85; }

/* ── Hero ── */
.hero {
  position: relative; overflow: hidden;
  min-height: 92vh;
  display: flex; align-items: center;
  max-width: 1200px; margin: auto;
  padding: 80px 32px;
  gap: 60px;
}

.hero-glow {
  position: absolute;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(196,79,255,0.2) 0%, transparent 70%);
  top: -100px; left: -100px;
  pointer-events: none;
}

.hero-content { flex: 1; max-width: 560px; }

.hero-eyebrow {
  font-size: 12px; font-weight: 500;
  letter-spacing: 2px; text-transform: uppercase;
  color: var(--accent); margin-bottom: 16px;
}

h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(48px, 6vw, 80px);
  line-height: 1.1;
  margin-bottom: 24px;
}
h1 em { font-style: italic; color: var(--accent); }

.hero-sub {
  font-size: 18px; color: var(--muted);
  margin-bottom: 40px; max-width: 480px;
}

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

.btn-primary {
  display: inline-block;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #fff; text-decoration: none;
  padding: 16px 36px; border-radius: 50px;
  font-weight: 600; font-size: 16px;
  transition: transform .2s, box-shadow .2s;
  box-shadow: 0 4px 30px rgba(255,77,141,0.35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 40px rgba(255,77,141,0.5); }
.btn-primary.large { padding: 20px 52px; font-size: 18px; }

.btn-ghost {
  color: var(--muted); text-decoration: none;
  font-size: 15px; font-weight: 500;
  transition: color .2s;
}
.btn-ghost:hover { color: var(--text); }

.hero-note { font-size: 12px; color: var(--muted); }

/* ── Chat Preview ── */
.hero-visual { flex: 1; display: flex; justify-content: center; }

.chat-preview {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 20px;
  width: 320px;
  box-shadow: 0 0 60px rgba(196,79,255,0.12), 0 20px 60px rgba(0,0,0,0.4);
  overflow: hidden;
}

.chat-header-bar {
  display: flex; align-items: center; gap: 10px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  font-size: 14px; font-weight: 500;
}

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

.online-badge { margin-left: auto; color: #4ade80; font-size: 12px; }

.chat-messages { padding: 20px; display: flex; flex-direction: column; gap: 12px; }

.msg {
  max-width: 85%; padding: 12px 16px;
  border-radius: 18px; font-size: 14px; line-height: 1.5;
}
.msg.ai {
  background: var(--bg3);
  border-bottom-left-radius: 4px;
  align-self: flex-start;
}
.msg.user {
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  border-bottom-right-radius: 4px;
  align-self: flex-end;
  color: #fff;
}

.typing-dots { letter-spacing: 2px; }

/* ── Sections shared ── */
section { padding: 100px 32px; }

h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(32px, 4vw, 52px);
  text-align: center;
  margin-bottom: 16px;
}

.section-sub {
  text-align: center; color: var(--muted);
  font-size: 17px; max-width: 540px;
  margin: 0 auto 60px;
}

/* ── Features ── */
.features { max-width: 1200px; margin: auto; }

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px; margin-top: 60px;
}

.feature-card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px;
  transition: border-color .2s, transform .2s;
}
.feature-card:hover { border-color: rgba(255,77,141,0.3); transform: translateY(-4px); }

.feat-icon { font-size: 32px; margin-bottom: 16px; }
.feature-card h3 { font-size: 18px; font-weight: 600; margin-bottom: 10px; }
.feature-card p { color: var(--muted); font-size: 14px; }

/* ── Characters ── */
.characters { background: var(--bg2); }
.characters > * { max-width: 1200px; margin-left: auto; margin-right: auto; }
.characters h2, .characters .section-sub { max-width: 100%; }

.characters-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px; max-width: 1000px; margin: 0 auto;
}

.character-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 36px 28px;
  text-align: center;
  transition: transform .2s, box-shadow .2s;
}
.character-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(255,77,141,0.1);
}

.char-avatar {
  width: 80px; height: 80px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Playfair Display', serif;
  font-size: 36px; color: #fff;
  margin: 0 auto 20px;
}

.character-card h3 { font-size: 22px; margin-bottom: 6px; }
.char-vibe { color: var(--accent); font-size: 13px; margin-bottom: 14px; letter-spacing: .5px; }
.character-card p { color: var(--muted); font-size: 14px; margin-bottom: 24px; }

.btn-char {
  display: inline-block;
  border: 1px solid var(--accent);
  color: var(--accent);
  text-decoration: none;
  padding: 10px 28px; border-radius: 50px;
  font-size: 14px; font-weight: 500;
  transition: background .2s, color .2s;
}
.btn-char:hover { background: var(--accent); color: #fff; }

/* ── Pricing ── */
.pricing { max-width: 1100px; margin: auto; }

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px; align-items: start;
}

.price-card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 40px 32px;
  position: relative;
}
.price-card.featured {
  border-color: var(--accent);
  box-shadow: 0 0 40px rgba(255,77,141,0.15);
}

.badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #fff; font-size: 12px; font-weight: 600;
  padding: 4px 20px; border-radius: 50px; white-space: nowrap;
}

.price-card h3 { font-size: 20px; margin-bottom: 12px; }
.price { font-size: 48px; font-weight: 700; margin-bottom: 28px; }
.price span { font-size: 18px; font-weight: 400; color: var(--muted); }

.price-card ul { list-style: none; margin-bottom: 32px; }
.price-card li { padding: 8px 0; font-size: 14px; border-bottom: 1px solid var(--border); }
.price-card li.dim { color: var(--muted); }

.btn-price {
  display: block; text-align: center;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #fff; text-decoration: none;
  padding: 14px; border-radius: 50px;
  font-weight: 600; font-size: 15px;
  transition: opacity .2s;
}
.btn-price:hover { opacity: 0.85; }

.btn-price-free {
  display: block; text-align: center;
  border: 1px solid var(--border);
  color: var(--text); text-decoration: none;
  padding: 14px; border-radius: 50px;
  font-weight: 500; font-size: 15px;
  transition: border-color .2s;
}
.btn-price-free:hover { border-color: var(--accent); }

/* ── CTA ── */
.cta-section {
  background: linear-gradient(135deg, rgba(255,77,141,0.08), rgba(196,79,255,0.08));
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.cta-inner {
  max-width: 600px; margin: auto; text-align: center;
  padding: 100px 32px;
}
.cta-inner h2 { margin-bottom: 12px; }
.cta-inner p { color: var(--muted); margin-bottom: 36px; font-size: 17px; }

/* ── Footer ── */
footer {
  padding: 48px 32px;
  border-top: 1px solid var(--border);
}
.footer-inner {
  max-width: 1200px; margin: auto;
  display: flex; flex-direction: column;
  align-items: center; gap: 20px; text-align: center;
}
.footer-logo { font-family: 'Playfair Display', serif; color: var(--accent); font-size: 18px; }
.footer-links { display: flex; gap: 28px; flex-wrap: wrap; justify-content: center; }
.footer-links a { color: var(--muted); text-decoration: none; font-size: 13px; }
.footer-links a:hover { color: var(--text); }
.footer-legal { color: var(--muted); font-size: 12px; max-width: 600px; }

/* ── Responsive ── */
@media (max-width: 768px) {
  .hero { flex-direction: column; text-align: center; padding: 60px 24px; min-height: auto; }
  .hero-actions { justify-content: center; }
  .hero-visual { width: 100%; }
  .chat-preview { width: 100%; max-width: 360px; }
  nav { gap: 16px; }
  nav a:not(.nav-cta) { display: none; }
}
