/* Fanslytics — site styles matching the Followers app theme */

:root {
  --ink: #151515;
  --paper: #ffffff;
  --purple: #6c3bff;
  --purple-bright: #8750ff;
  --coral: #ff6b57;
  --surface-muted: #f4f4f7;
  --accent-soft: #eae2ff;
  --accent-muted: #d1c0ff;
  --text-primary: var(--ink);
  --text-secondary: #4d4d57;
  --text-tertiary: #7a7a87;
  --border: rgba(21, 21, 21, 0.16);
  --separator: rgba(21, 21, 21, 0.12);
  --radius-card: 18px;
  --radius-btn: 16px;
  --font: "Nunito", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
}

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

html { scroll-behavior: smooth; }

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

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

a { color: var(--purple); text-decoration: none; }

.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

.narrow { max-width: 760px; }

/* ---------- Nav ---------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--separator);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: 16px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 17px;
  color: var(--text-primary);
}

.logo-mark {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: linear-gradient(135deg, #6c3bff, #8750ff);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  flex-shrink: 0;
}

.logo-mark svg { width: 18px; height: 18px; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
  font-weight: 700;
  font-size: 14.5px;
}

.nav-links a { color: var(--text-secondary); }
.nav-links a:hover { color: var(--purple); }

.nav-cta {
  background: var(--ink);
  color: #fff !important;
  padding: 9px 18px;
  border-radius: 999px;
  font-weight: 800;
}

.nav-cta:hover { background: #2b2b2b; }

@media (max-width: 720px) {
  .nav-links a:not(.nav-cta) { display: none; }
  .legal { padding-left: 6px; padding-right: 0; }
  .page-head { padding-left: 6px; padding-right: 0; }
}

/* ---------- Buttons ---------- */

.btn-appstore {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  background: var(--ink);
  color: #fff;
  padding: 13px 26px;
  border-radius: var(--radius-btn);
  font-weight: 800;
  font-size: 16px;
  transition: transform 0.15s ease, background 0.15s ease;
}

.btn-appstore:hover { background: #2b2b2b; transform: translateY(-1px); }

.btn-appstore svg { width: 22px; height: 22px; flex-shrink: 0; }

.btn-appstore .lines { display: flex; flex-direction: column; line-height: 1.15; text-align: left; }
.btn-appstore .lines small { font-size: 10.5px; font-weight: 600; opacity: 0.75; }

.btn-soft {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(234, 226, 255, 0.72);
  border: 1px solid rgba(108, 59, 255, 0.16);
  color: var(--text-primary);
  padding: 12px 24px;
  border-radius: var(--radius-btn);
  font-weight: 800;
  font-size: 15px;
}

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

/* ---------- Simple hero (landing) ---------- */

.hero-simple {
  padding: 72px 24px 56px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 22px;
}

.hero-simple h1 {
  font-size: clamp(34px, 5vw, 52px);
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: -0.5px;
  max-width: 18ch;
}

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

.hero-simple .sub {
  font-size: 17px;
  color: var(--text-secondary);
  font-weight: 600;
  max-width: 44ch;
}

.hero-simple .hero-note { justify-content: center; }

.hero-simple .hero-phone { margin-top: 18px; }

/* ---------- Hero ---------- */

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(234, 226, 255, 0.6);
  border: 1px solid rgba(108, 59, 255, 0.2);
  color: var(--purple);
  font-size: 12.5px;
  font-weight: 800;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 20px;
}

.hero h1 {
  font-size: clamp(34px, 5vw, 52px);
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: -0.5px;
  margin-bottom: 16px;
}

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

.hero p.sub {
  font-size: 17px;
  color: var(--text-secondary);
  font-weight: 600;
  max-width: 46ch;
  margin-bottom: 28px;
}

.hero-ctas { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 18px; }

.hero-note {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-tertiary);
  font-size: 13px;
  font-weight: 700;
}

.hero-note svg { width: 14px; height: 14px; color: var(--purple); }

.hero-phone { display: flex; justify-content: center; }

.phone-frame {
  width: min(300px, 78vw);
  border-radius: 42px;
  padding: 10px;
  background: var(--ink);
  box-shadow: 0 30px 70px rgba(108, 59, 255, 0.18);
}

.phone-frame img { border-radius: 34px; }

@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; padding-top: 48px; text-align: center; }
  .hero p.sub { margin-left: auto; margin-right: auto; }
  .hero-ctas, .hero-badge { justify-content: center; }
  .hero-note { justify-content: center; }
}

/* ---------- Sections ---------- */

.section { padding: 72px 0; }

.section.alt { background: var(--surface-muted); }

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

.section-head h2 {
  font-size: clamp(26px, 3.6vw, 36px);
  font-weight: 900;
  letter-spacing: -0.4px;
  margin-bottom: 10px;
}

.section-head p { color: var(--text-secondary); font-weight: 600; font-size: 16px; }

/* ---------- Feature grid (mirrors app stat cards) ---------- */

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

@media (max-width: 860px) { .feature-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .feature-grid { grid-template-columns: 1fr; } }

.feature-card {
  background: rgba(244, 244, 247, 0.72);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 20px;
}

.section.alt .feature-card { background: #fff; }

.feature-card .icon {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

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

.icon.purple { background: rgba(108, 59, 255, 0.12); color: var(--purple); }
.icon.coral { background: rgba(255, 107, 87, 0.13); color: var(--coral); }
.icon.ink { background: rgba(21, 21, 21, 0.08); color: var(--ink); }

.feature-card h3 { font-size: 16.5px; font-weight: 800; margin-bottom: 5px; }

.feature-card p { font-size: 13.5px; color: var(--text-secondary); font-weight: 600; }

/* ---------- Checklist (mirrors paywall) ---------- */

.checklist { list-style: none; display: grid; gap: 15px; }

.checklist li {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  font-size: 16px;
  font-weight: 700;
}

.checklist li svg {
  width: 17px;
  height: 17px;
  color: var(--purple);
  flex-shrink: 0;
  margin-top: 4px;
}

.checklist li small {
  display: block;
  font-size: 13px;
  color: var(--text-secondary);
  font-weight: 600;
}

/* ---------- Split section ---------- */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 36px; } }

/* ---------- Screenshots ---------- */

.screens {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  max-width: 860px;
  margin: 0 auto;
}

@media (max-width: 680px) { .screens { grid-template-columns: 1fr; max-width: 300px; } }

.screens img {
  border-radius: 26px;
  border: 1px solid var(--border);
  box-shadow: 0 16px 40px rgba(21, 21, 21, 0.1);
}

/* ---------- Steps ---------- */

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }

@media (max-width: 720px) { .steps { grid-template-columns: 1fr; } }

.step {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 24px;
  text-align: center;
}

.step .num {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--purple);
  font-weight: 900;
  font-size: 17px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
}

.step h3 { font-size: 16.5px; font-weight: 800; margin-bottom: 6px; }
.step p { font-size: 13.5px; color: var(--text-secondary); font-weight: 600; }

/* ---------- Premium (mirrors the in-app paywall) ---------- */

.premium-card {
  max-width: 560px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: 44px 34px;
  text-align: center;
  box-shadow: 0 24px 60px rgba(21, 21, 21, 0.07);
}

.premium-crown {
  width: 72px;
  height: 72px;
  border-radius: 999px;
  background: rgba(234, 226, 255, 0.55);
  color: var(--purple);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
}

.premium-crown svg { width: 28px; height: 28px; }

.premium-card h2 { font-size: 30px; font-weight: 900; margin-bottom: 6px; }

.premium-card > p { color: var(--text-secondary); font-weight: 600; margin-bottom: 26px; }

.premium-card .checklist {
  text-align: left;
  max-width: 330px;
  margin: 0 auto 28px;
  gap: 12px;
}

.premium-card .checklist li { font-size: 15.5px; }

.price-pill {
  display: inline-block;
  background: rgba(234, 226, 255, 0.45);
  padding: 10px 22px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 16px;
  margin-bottom: 6px;
}

.price-note { font-size: 13px; color: var(--text-secondary); font-weight: 600; margin-bottom: 22px; }

/* ---------- Legal pages ---------- */

.page-head { padding-top: 56px; padding-bottom: 8px; }

.page-head h1 { font-size: clamp(30px, 4vw, 40px); font-weight: 900; letter-spacing: -0.4px; }

.page-head .updated { color: var(--text-tertiary); font-weight: 700; font-size: 13.5px; margin-top: 8px; }

.legal { padding-top: 28px; padding-bottom: 80px; }

.legal h2 { font-size: 19px; font-weight: 800; margin: 30px 0 8px; }

.legal p, .legal li { color: var(--text-secondary); font-weight: 500; font-size: 15px; }

.legal ul { padding-left: 22px; margin-top: 6px; }

/* ---------- Contact / FAQ ---------- */

.contact-card {
  background: rgba(234, 226, 255, 0.4);
  border: 1px solid rgba(108, 59, 255, 0.18);
  border-radius: var(--radius-card);
  padding: 28px;
  text-align: center;
  margin-bottom: 44px;
}

.contact-card h2 { font-size: 21px; font-weight: 800; margin-bottom: 6px; }
.contact-card p { color: var(--text-secondary); font-weight: 600; margin-bottom: 16px; }

.contact-email {
  display: inline-block;
  background: var(--ink);
  color: #fff;
  font-weight: 800;
  padding: 12px 26px;
  border-radius: var(--radius-btn);
}

.contact-email:hover { background: #2b2b2b; color: #fff; }

.faq { display: grid; gap: 12px; }

.faq details {
  background: rgba(244, 244, 247, 0.72);
  border: 1px solid var(--border);
  border-radius: 15px;
  padding: 18px 20px;
}

.faq summary {
  font-weight: 800;
  font-size: 15.5px;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.faq summary::-webkit-details-marker { display: none; }

.faq summary::after { content: "+"; color: var(--purple); font-weight: 900; font-size: 19px; }

.faq details[open] summary::after { content: "–"; }

.faq details p { margin-top: 10px; color: var(--text-secondary); font-weight: 600; font-size: 14px; }

/* ---------- Footer ---------- */

.footer {
  border-top: 1px solid var(--separator);
  padding: 40px 0 46px;
  text-align: center;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 24px;
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}

.footer-links a { color: var(--text-secondary); }
.footer-links a:hover { color: var(--purple); }

.footer .copyright { color: var(--text-tertiary); font-size: 12.5px; font-weight: 600; }

.footer .disclaimer {
  color: var(--text-tertiary);
  font-size: 11.5px;
  font-weight: 600;
  max-width: 520px;
  margin: 8px auto 0;
}
