/* Fanovate.io landing — design tokens match the dashboard. */

:root {
  --bg-0: #0F0B0E;
  --bg-1: #15101A;
  --bg-2: #1B1623;
  --text-0: #F5F2F7;
  --text-1: #C8C3D2;
  --text-2: #908A9C;
  --text-3: #6B6577;
  --accent: #E8B4D2;
  --accent-2: #B89BD6;
  --line: #2A2333;
  --radius: 14px;
  --w-max: 1180px;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Inter, sans-serif;
  background: var(--bg-0);
  color: var(--text-0);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

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

/* ── Nav ──────────────────────────────────────────────────────────── */
.nav {
  border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 10;
  background: rgba(15, 11, 14, 0.85);
  backdrop-filter: saturate(140%) blur(8px);
}
.nav-row {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}
.brand { display: inline-flex; align-items: center; }
.brand-img {
  height: 42px; width: auto; display: block;
  filter: drop-shadow(0 2px 8px rgba(232, 180, 210, 0.15));
}

.nav-links { display: flex; gap: 22px; align-items: center; font-size: 14px; }
.nav-links a { color: var(--text-1); }

/* ── Buttons ──────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 9px 18px; border-radius: 10px;
  font-size: 14px; font-weight: 500; cursor: pointer; border: 0;
  transition: transform 0.05s ease, background 0.15s ease;
}
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
  color: var(--bg-0);
}
.btn-primary:hover { color: var(--bg-0); filter: brightness(1.05); }
.btn-ghost { background: transparent; color: var(--text-1); border: 1px solid var(--line); }
.btn-ghost:hover { background: var(--bg-1); color: var(--text-0); }

/* ── Hero ─────────────────────────────────────────────────────────── */
.hero { padding: 96px 0 80px; }
.hero-grid {
  display: grid; gap: 56px;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
}
.eyebrow {
  display: inline-block; font-size: 13px; color: var(--accent);
  text-transform: uppercase; letter-spacing: 0.12em; margin: 0 0 16px;
}
h1 {
  margin: 0; font-size: clamp(40px, 6vw, 64px); line-height: 1.05;
  letter-spacing: -0.025em; font-weight: 600;
}
.accent { color: var(--accent); }
.lede {
  margin: 24px 0 28px;
  font-size: 18px; color: var(--text-1); max-width: 56ch;
}
.waitlist {
  display: flex; gap: 8px; max-width: 460px;
}
.waitlist input {
  flex: 1; padding: 12px 14px; font-size: 14px;
  background: var(--bg-1); color: var(--text-0);
  border: 1px solid var(--line); border-radius: 10px;
  outline: none; transition: border 0.15s ease;
}
.waitlist input:focus { border-color: var(--accent); }
.waitlist input::placeholder { color: var(--text-3); }
.micro { color: var(--text-3); font-size: 13px; margin: 12px 0 0; }

.hero-art { display: flex; justify-content: center; }
.hero-card {
  background: linear-gradient(180deg, var(--bg-1) 0%, var(--bg-2) 100%);
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; width: 100%; max-width: 380px; box-shadow: var(--shadow);
}
.hc-row {
  display: flex; align-items: center; gap: 10px; padding: 14px 0;
  border-bottom: 1px solid var(--line); color: var(--text-1); font-size: 14px;
}
.hc-row:last-child { border-bottom: 0; }
.hc-pill {
  font-size: 11px; padding: 3px 8px; border-radius: 99px;
  background: var(--bg-2); color: var(--accent);
  text-transform: uppercase; letter-spacing: 0.06em; font-weight: 500;
}
.hc-num { color: var(--accent); font-weight: 600; }

/* ── Sections ─────────────────────────────────────────────────────── */
section { padding: 80px 0; border-top: 1px solid var(--line); }
section h2 {
  margin: 0 0 40px; font-size: clamp(28px, 4vw, 40px);
  font-weight: 600; letter-spacing: -0.02em;
}

.grid {
  display: grid; gap: 24px;
  grid-template-columns: repeat(3, 1fr);
}
.grid article {
  background: var(--bg-1); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 24px;
}
.grid article h3 { margin: 0 0 8px; font-size: 17px; font-weight: 600; }
.grid article p { margin: 0; color: var(--text-1); font-size: 14px; line-height: 1.6; }

/* ── Security checklist ───────────────────────────────────────────── */
.security .checklist {
  list-style: none; padding: 0; margin: 0;
  display: grid; gap: 14px;
  grid-template-columns: repeat(2, 1fr);
}
.security .checklist li {
  position: relative; padding-left: 28px;
  color: var(--text-1); font-size: 15px; line-height: 1.5;
}
.security .checklist li::before {
  content: ""; position: absolute; left: 0; top: 7px;
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(232, 180, 210, 0.15);
}
.muted { color: var(--text-2); font-size: 14px; margin-top: 32px; }
.muted a { color: var(--accent); }

/* ── Pricing ──────────────────────────────────────────────────────── */
.pricing .card { text-align: left; }
.pricing .card.highlight {
  border-color: var(--accent);
  background: linear-gradient(180deg, var(--bg-1) 0%, var(--bg-2) 100%);
}
.price {
  font-size: 32px; font-weight: 600; margin: 12px 0 16px;
  letter-spacing: -0.02em;
}
.price span { font-size: 14px; color: var(--text-2); font-weight: 400; }
.pricing .card ul {
  list-style: none; padding: 0; margin: 0;
  display: grid; gap: 8px; color: var(--text-1); font-size: 14px;
}
.pricing .card ul li { padding-left: 18px; position: relative; }
.pricing .card ul li::before {
  content: "•"; color: var(--accent); position: absolute; left: 0;
}

/* ── CTA ──────────────────────────────────────────────────────────── */
.cta { text-align: center; padding: 96px 0; }
.cta h2 { margin-bottom: 8px; }
.cta p { color: var(--text-2); margin: 0 0 24px; }

/* ── Footer ───────────────────────────────────────────────────────── */
footer { border-top: 1px solid var(--line); padding: 28px 0 40px; color: var(--text-3); font-size: 13px; }
.footer-row {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  flex-wrap: wrap;
}
.footer-links { display: flex; gap: 18px; }
.footer-links a { color: var(--text-2); }
.footer-links a:hover { color: var(--accent); }

/* ── Mobile ───────────────────────────────────────────────────────── */
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .grid { grid-template-columns: 1fr; }
  .security .checklist { grid-template-columns: 1fr; }
  .nav-links a:not(.btn) { display: none; }
}
