/* ---------- Tilo — shared stylesheet ---------- */
:root {
  --bg: #07060d;
  --bg-2: #0f0a1f;
  --bg-3: #15102a;
  --surface: rgba(255, 255, 255, 0.04);
  --surface-2: rgba(255, 255, 255, 0.08);
  --border: rgba(255, 255, 255, 0.08);
  --text: #f5f3ff;
  --text-dim: #b7b1d1;
  --text-muted: #80789a;
  --accent: #ff3d8a;       /* neon magenta */
  --accent-2: #8a4dff;     /* electric purple */
  --accent-3: #00e5ff;     /* cyan glow */
  --grad: linear-gradient(135deg, #ff3d8a 0%, #8a4dff 50%, #00e5ff 100%);
  --grad-soft: linear-gradient(135deg, rgba(255,61,138,0.18), rgba(138,77,255,0.18), rgba(0,229,255,0.18));
  --shadow-glow: 0 0 40px rgba(255, 61, 138, 0.35), 0 0 80px rgba(138, 77, 255, 0.2);
  --radius: 16px;
  --radius-sm: 10px;
  --maxw: 1180px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body {
  background:
    radial-gradient(1200px 600px at 10% -10%, rgba(138, 77, 255, 0.25), transparent 60%),
    radial-gradient(1000px 600px at 90% 10%, rgba(255, 61, 138, 0.18), transparent 60%),
    radial-gradient(900px 600px at 50% 110%, rgba(0, 229, 255, 0.12), transparent 60%),
    var(--bg);
}

a { color: var(--accent-3); text-decoration: none; }
a:hover { color: var(--accent); }

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

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

/* ---------- Navigation ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  background: rgba(7, 6, 13, 0.6);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.02em;
  color: var(--text);
}
.brand-mark {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: var(--grad);
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-glow);
  color: #0b0816;
  font-weight: 900;
  font-size: 16px;
}
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a {
  color: var(--text-dim);
  font-size: 14px;
  font-weight: 500;
}
.nav-links a:hover { color: var(--text); }
.nav-cta {
  background: var(--grad);
  color: #0b0816 !important;
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
}
.nav-toggle { display: none; }

@media (max-width: 820px) {
  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    flex-direction: column;
    padding: 16px 24px;
    background: rgba(7, 6, 13, 0.95);
    border-bottom: 1px solid var(--border);
  }
  .nav-toggle {
    display: inline-grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    border: 1px solid var(--border);
    background: var(--surface);
    color: var(--text);
    cursor: pointer;
  }
}

/* ---------- Hero ---------- */
.hero {
  padding: 96px 0 64px;
  position: relative;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.eyebrow .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent);
}
h1, h2, h3, h4 {
  color: var(--text);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0;
}
h1 {
  font-size: clamp(40px, 6vw, 72px);
  margin: 18px 0 20px;
}
h1 .grad {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.lead {
  font-size: clamp(17px, 1.6vw, 20px);
  color: var(--text-dim);
  max-width: 620px;
  margin: 0 0 32px;
}
.cta-row { display: flex; gap: 14px; flex-wrap: wrap; }
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 24px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
}
.btn-primary {
  background: var(--grad);
  color: #0b0816;
  box-shadow: var(--shadow-glow);
}
.btn-primary:hover { transform: translateY(-1px); }
.btn-ghost {
  background: var(--surface);
  border-color: var(--border);
  color: var(--text);
}
.btn-ghost:hover { background: var(--surface-2); }

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 60px;
  align-items: center;
}
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
}

/* ---------- Phone mockup ---------- */
.phone-wrap { display: grid; place-items: center; }
.phone {
  width: 320px;
  height: 640px;
  border-radius: 44px;
  background: linear-gradient(180deg, #1a1230, #0a0717);
  border: 1px solid var(--border);
  padding: 18px;
  position: relative;
  box-shadow:
    0 30px 80px rgba(0,0,0,0.5),
    0 0 60px rgba(138, 77, 255, 0.25),
    inset 0 0 0 1px rgba(255,255,255,0.04);
}
.phone::before {
  content: '';
  position: absolute;
  top: 14px; left: 50%; transform: translateX(-50%);
  width: 110px; height: 22px; border-radius: 12px;
  background: #07060d;
}
.phone-screen {
  width: 100%; height: 100%;
  border-radius: 30px;
  background:
    radial-gradient(400px 200px at 50% 0%, rgba(255,61,138,0.18), transparent 60%),
    linear-gradient(180deg, #0e0a20, #07060d);
  padding: 48px 18px 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  overflow: hidden;
}
.chat-header {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 4px 14px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 6px;
}
.avatar {
  width: 36px; height: 36px; border-radius: 50%;
  background: linear-gradient(135deg, #ff3d8a, #8a4dff);
  position: relative;
}
.avatar::after {
  content: ''; position: absolute; right: -2px; bottom: -2px;
  width: 10px; height: 10px; border-radius: 50%;
  background: #2bd778; border: 2px solid #0e0a20;
}
.chat-name { font-weight: 700; font-size: 14px; }
.chat-sub { font-size: 11px; color: var(--text-muted); }
.bubble {
  max-width: 78%;
  padding: 10px 14px;
  font-size: 13px;
  border-radius: 16px;
  line-height: 1.4;
}
.bubble.them {
  background: var(--surface-2);
  color: var(--text);
  border-bottom-left-radius: 4px;
  align-self: flex-start;
}
.bubble.me {
  background: var(--grad);
  color: #0b0816;
  font-weight: 500;
  border-bottom-right-radius: 4px;
  align-self: flex-end;
}
.typing {
  width: 44px; padding: 10px 12px;
  background: var(--surface-2); border-radius: 16px;
  display: inline-flex; gap: 4px; align-self: flex-start;
}
.typing span {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--text-muted);
  animation: blink 1.4s infinite ease-in-out both;
}
.typing span:nth-child(2) { animation-delay: .2s; }
.typing span:nth-child(3) { animation-delay: .4s; }
@keyframes blink {
  0%, 80%, 100% { opacity: .3; transform: translateY(0); }
  40% { opacity: 1; transform: translateY(-2px); }
}

/* ---------- Sections ---------- */
section { padding: 80px 0; }
.section-head { text-align: center; margin: 0 auto 56px; max-width: 720px; }
.section-head h2 {
  font-size: clamp(30px, 4vw, 44px);
  margin-bottom: 14px;
}
.section-head p { color: var(--text-dim); font-size: 17px; }

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
@media (max-width: 900px) { .grid-3, .grid-4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}
.card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 61, 138, 0.4);
  background: var(--surface-2);
}
.card .ico {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--grad-soft);
  border: 1px solid var(--border);
  display: grid; place-items: center;
  margin-bottom: 16px;
  color: var(--accent);
  font-size: 22px;
}
.card h3 { font-size: 18px; margin-bottom: 8px; }
.card p { color: var(--text-dim); font-size: 14.5px; margin: 0; }

/* ---------- Profile cards ---------- */
.profile {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 3 / 4;
  border: 1px solid var(--border);
  background: #11091e;
}
.profile .pic {
  position: absolute; inset: 0;
}
.profile .pic::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,0.85));
}
.profile .meta {
  position: absolute; left: 16px; right: 16px; bottom: 14px;
  color: #fff;
  z-index: 2;
}
.profile .meta .name {
  font-weight: 700; font-size: 18px; display: flex; align-items: center; gap: 8px;
}
.profile .meta .tag {
  font-size: 12px; color: var(--text-dim); margin-top: 2px;
}
.profile .badge {
  position: absolute; top: 12px; left: 12px;
  background: rgba(0,0,0,0.55);
  border: 1px solid rgba(255,255,255,0.18);
  backdrop-filter: blur(8px);
  color: #fff; font-size: 11px; font-weight: 600;
  padding: 4px 10px; border-radius: 999px;
  z-index: 2;
}
.profile .badge .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: #2bd778; display: inline-block; margin-right: 6px;
  box-shadow: 0 0 8px #2bd778;
}
.ai-tag {
  position: absolute; top: 12px; right: 12px;
  background: var(--grad);
  color: #0b0816; font-size: 11px; font-weight: 700;
  padding: 4px 10px; border-radius: 999px;
  z-index: 2;
}

/* Abstract silhouette placeholders — 3 variants per profile */
.sil { position: relative; }
.sil::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 50% 38%, rgba(255,255,255,0.14) 0 16%, transparent 17%),
    radial-gradient(ellipse 60% 32% at 50% 78%, rgba(255,255,255,0.10) 0 80%, transparent 81%);
}
/* Marco — pink → purple */
.sil-marco-1 { background: linear-gradient(155deg, #ff3d8a 0%, #8a4dff 100%); }
.sil-marco-2 { background: linear-gradient(200deg, #ff5fa1 0%, #6e3dff 100%); }
.sil-marco-3 { background: linear-gradient(135deg, #c91f60 0%, #ff8ab5 60%, #4a1d8a 100%); }
/* Theo — cyan → purple */
.sil-theo-1  { background: linear-gradient(160deg, #00e5ff 0%, #8a4dff 100%); }
.sil-theo-2  { background: linear-gradient(210deg, #00b8d9 0%, #4a3eff 100%); }
.sil-theo-3  { background: linear-gradient(140deg, #1b6dff 0%, #00e5ff 70%, #2a1a5e 100%); }
/* Kai — purple → pink */
.sil-kai-1   { background: linear-gradient(160deg, #8a4dff 0%, #ff3d8a 100%); }
.sil-kai-2   { background: linear-gradient(200deg, #b76aff 0%, #ff6e8a 100%); }
.sil-kai-3   { background: linear-gradient(135deg, #6a2bff 0%, #ff3d8a 60%, #ffae6e 100%); }
/* Diego — orange → pink */
.sil-diego-1 { background: linear-gradient(160deg, #ff7a3d 0%, #ff3d8a 100%); }
.sil-diego-2 { background: linear-gradient(200deg, #ffb37a 0%, #d92e6e 100%); }
.sil-diego-3 { background: linear-gradient(135deg, #ff5733 0%, #ffb37a 60%, #8a1d4e 100%); }

/* ---------- Profile image carousel ---------- */
.carousel-track {
  position: absolute; inset: 0;
  display: flex;
  transition: transform .4s cubic-bezier(.4,0,.2,1);
  z-index: 0;
}
.carousel-slide {
  flex: 0 0 100%;
  height: 100%;
  position: relative;
}
.carousel-fade {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,0.85));
  pointer-events: none;
  z-index: 1;
}
.carousel-dots {
  position: absolute; left: 50%; bottom: 8px;
  transform: translateX(-50%);
  display: flex; gap: 5px;
  z-index: 3;
  padding: 6px 10px;
  background: rgba(0,0,0,0.35);
  border-radius: 999px;
  backdrop-filter: blur(8px);
}
.carousel-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: rgba(255,255,255,0.45);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: background .2s ease, width .25s ease;
}
.carousel-dot.active {
  background: #fff;
  width: 18px; border-radius: 999px;
}
.carousel-arrows {
  position: absolute; inset: 0;
  display: flex; justify-content: space-between; align-items: center;
  pointer-events: none;
  z-index: 2;
  padding: 0 8px;
  opacity: 0; transition: opacity .2s ease;
}
.profile:hover .carousel-arrows { opacity: 1; }
.carousel-arrow {
  pointer-events: auto;
  width: 32px; height: 32px; border-radius: 50%;
  background: rgba(0,0,0,0.55);
  border: 1px solid rgba(255,255,255,0.2);
  color: #fff;
  font-size: 16px;
  cursor: pointer;
  display: grid; place-items: center;
  backdrop-filter: blur(6px);
}
.carousel-arrow:hover { background: rgba(0,0,0,0.8); }
/* badge & meta need to sit above the carousel */
.profile .badge, .profile .ai-tag, .profile .meta { z-index: 4; }

/* ---------- Pricing ---------- */
.price-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
@media (max-width: 1080px) { .price-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px)  { .price-grid { grid-template-columns: 1fr; } }
.price-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  text-align: left;
}
.price-card.featured {
  border-color: transparent;
  background:
    linear-gradient(var(--bg-2), var(--bg-2)) padding-box,
    var(--grad) border-box;
  border: 1.5px solid transparent;
  box-shadow: var(--shadow-glow);
}
.price-card .pkg-name { font-size: 14px; color: var(--text-dim); font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; }
.price-card .pkg-price { font-size: 44px; font-weight: 800; margin: 12px 0 4px; letter-spacing: -0.02em; }
.price-card .pkg-price small { font-size: 16px; color: var(--text-muted); font-weight: 500; }
.price-card .pkg-credits { color: var(--accent); font-weight: 600; margin-bottom: 18px; }
.price-card ul { list-style: none; padding: 0; margin: 0 0 24px; }
.price-card li {
  padding: 8px 0;
  color: var(--text-dim);
  font-size: 14.5px;
  display: flex; gap: 10px; align-items: flex-start;
}
.price-card li::before {
  content: '✓';
  color: var(--accent-3);
  font-weight: 700;
}
.popular-tag {
  position: absolute; top: -12px; right: 24px;
  background: var(--grad);
  color: #0b0816; font-weight: 700; font-size: 11px;
  padding: 5px 12px; border-radius: 999px;
  letter-spacing: 0.06em;
}

/* ---------- FAQ ---------- */
.faq-list { max-width: 820px; margin: 0 auto; }
details {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 18px 22px;
  margin-bottom: 12px;
  transition: background .2s ease;
}
details[open] { background: var(--surface-2); }
summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 16px;
  list-style: none;
  display: flex; justify-content: space-between; align-items: center;
  gap: 12px;
  color: var(--text);
}
summary::-webkit-details-marker { display: none; }
summary::after {
  content: '+';
  font-size: 22px;
  font-weight: 300;
  color: var(--text-dim);
  transition: transform .2s ease;
}
details[open] summary::after { transform: rotate(45deg); }
details p { color: var(--text-dim); margin: 12px 0 0; font-size: 15px; }

/* ---------- CTA strip ---------- */
.cta-strip {
  margin: 40px auto;
  padding: 56px 40px;
  border-radius: 24px;
  background:
    radial-gradient(600px 200px at 50% 0%, rgba(255,61,138,0.25), transparent 60%),
    linear-gradient(180deg, #16102b, #0a0717);
  border: 1px solid var(--border);
  text-align: center;
}
.cta-strip h2 { font-size: clamp(26px, 3.5vw, 38px); margin-bottom: 12px; }
.cta-strip p { color: var(--text-dim); margin: 0 auto 28px; max-width: 540px; }

/* ---------- Footer ---------- */
footer {
  padding: 60px 0 32px;
  border-top: 1px solid var(--border);
  margin-top: 60px;
  color: var(--text-muted);
  font-size: 14px;
}
.foot-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
@media (max-width: 760px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
.foot-grid h4 {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text);
  margin-bottom: 14px;
}
.foot-grid ul { list-style: none; padding: 0; margin: 0; }
.foot-grid li { margin-bottom: 8px; }
.foot-grid a { color: var(--text-muted); font-size: 14px; }
.foot-grid a:hover { color: var(--text); }
.foot-bottom {
  padding-top: 24px;
  border-top: 1px solid var(--border);
  display: flex; justify-content: space-between; align-items: center;
  gap: 16px; flex-wrap: wrap;
  font-size: 13px;
}
.age-pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 10px; border-radius: 999px;
  background: rgba(255, 61, 138, 0.12);
  border: 1px solid rgba(255, 61, 138, 0.4);
  color: var(--accent);
  font-weight: 700; font-size: 12px;
}

/* ---------- Long-form (legal pages) ---------- */
.doc {
  max-width: 820px;
  margin: 0 auto;
  padding: 60px 24px 40px;
}
.doc h1 { font-size: clamp(32px, 4.5vw, 48px); margin-bottom: 8px; }
.doc .updated { color: var(--text-muted); font-size: 14px; margin-bottom: 32px; }
.doc h2 { font-size: 22px; margin: 36px 0 12px; }
.doc h3 { font-size: 17px; margin: 24px 0 8px; color: var(--text); }
.doc p, .doc li { color: var(--text-dim); font-size: 15.5px; }
.doc ul { padding-left: 22px; }
.doc strong { color: var(--text); }
.doc a { color: var(--accent-3); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Age gate ---------- */
.age-gate {
  position: fixed; inset: 0;
  background: rgba(7, 6, 13, 0.92);
  backdrop-filter: blur(12px);
  display: grid; place-items: center;
  z-index: 100;
  padding: 24px;
}
.age-gate-card {
  max-width: 460px;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 40px 32px;
  text-align: center;
  box-shadow: var(--shadow-glow);
}
.age-gate-card .mark {
  width: 56px; height: 56px;
  border-radius: 16px;
  background: var(--grad);
  margin: 0 auto 18px;
  display: grid; place-items: center;
  color: #0b0816; font-weight: 900; font-size: 24px;
}
.age-gate-card h2 { font-size: 24px; margin-bottom: 10px; }
.age-gate-card p { color: var(--text-dim); margin-bottom: 24px; font-size: 14.5px; }
.age-buttons { display: flex; gap: 10px; justify-content: center; }
.btn-secondary {
  background: transparent; border: 1px solid var(--border); color: var(--text-dim);
}
.btn-secondary:hover { color: var(--text); border-color: var(--text-dim); }

/* ---------- Misc helpers ---------- */
.center { text-align: center; }
.muted { color: var(--text-muted); }
.spacer-sm { height: 16px; }
.spacer { height: 40px; }
.divider { height: 1px; background: var(--border); margin: 40px 0; }
.notice {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  padding: 16px 20px;
  border-radius: var(--radius-sm);
  color: var(--text-dim);
  font-size: 14.5px;
  margin: 24px 0;
}
