/* DarkSocial landing — palette matches the app itself (neutral-950 base, green accent from
   the DS icon) so the site and the product don't look like two different brands. */
:root {
  --bg: #09090b;
  --bg-alt: #0d0d10;
  --surface: #111114;
  --surface-2: #17171b;
  --line: #26262b;
  --line-soft: #1c1c21;
  --ink: #fafafa;
  --ink-2: #a1a1aa;
  --ink-3: #71717a;
  --accent: #22c55e;
  --accent-dim: #16a34a;
  --radius: 14px;
  --wrap: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

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

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; gap: 20px;
  padding: 14px 22px;
  background: rgba(9, 9, 11, .72);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, background .2s ease;
}
.nav.scrolled { border-bottom-color: var(--line-soft); background: rgba(9, 9, 11, .92); }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; }
.brand-mark {
  display: grid; place-items: center;
  width: 30px; height: 30px; border-radius: 8px;
  background: linear-gradient(180deg, #1c1c20, #09090b);
  border: 1px solid var(--line);
  color: var(--accent); font-size: 13px; font-weight: 800; letter-spacing: -.5px;
}
.brand-name { font-size: 16px; letter-spacing: -.2px; }
.nav-links { display: flex; gap: 22px; margin-left: 18px; font-size: 14px; color: var(--ink-2); }
.nav-links a:hover { color: var(--ink); }
.nav-cta { margin-left: auto; display: flex; gap: 10px; align-items: center; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 10px 18px; border-radius: 10px;
  font-size: 14px; font-weight: 600; white-space: nowrap;
  border: 1px solid transparent; transition: all .18s ease;
}
.btn-primary { background: var(--accent); color: #052e12; }
.btn-primary:hover { background: #2ee06b; transform: translateY(-1px); }
.btn-outline { border-color: var(--line); color: var(--ink); }
.btn-outline:hover { border-color: #3f3f46; background: var(--surface); }
.btn-ghost { color: var(--ink-2); }
.btn-ghost:hover { color: var(--ink); }
.btn-lg { padding: 14px 26px; font-size: 15px; border-radius: 12px; }
.btn-block { display: flex; width: 100%; }

/* ---------- hero ---------- */
.hero { position: relative; padding: 76px 0 40px; overflow: hidden; }
.hero-glow {
  position: absolute; top: -320px; left: 50%; transform: translateX(-50%);
  width: 900px; height: 620px; pointer-events: none;
  background: radial-gradient(circle, rgba(34, 197, 94, .16) 0%, rgba(34, 197, 94, 0) 68%);
}
.hero-inner { position: relative; text-align: center; }
.eyebrow {
  display: inline-block; margin: 0 0 18px;
  padding: 6px 14px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--surface);
  font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2);
}
h1 {
  margin: 0 0 20px;
  font-size: clamp(34px, 6vw, 62px);
  line-height: 1.08; letter-spacing: -.03em; font-weight: 800;
}
.grad {
  background: linear-gradient(100deg, var(--accent), #86efac);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lead {
  max-width: 640px; margin: 0 auto 30px;
  font-size: clamp(15px, 2vw, 18px); color: var(--ink-2);
}
.hero-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.hero-note { margin: 16px 0 0; font-size: 13px; color: var(--ink-3); }

/* ---------- screenshot frames ---------- */
.shot {
  margin: 0; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line); background: var(--surface);
  box-shadow: 0 24px 60px -24px rgba(0, 0, 0, .9);
}
.shot-hero { margin-top: 54px; }
.shot-bar {
  display: flex; align-items: center; gap: 6px;
  padding: 10px 14px; background: var(--surface-2);
  border-bottom: 1px solid var(--line-soft);
}
.shot-bar span { width: 10px; height: 10px; border-radius: 50%; background: #3f3f46; }
.shot img { width: 100%; }

/* ---------- strip ---------- */
.strip { border-block: 1px solid var(--line-soft); background: var(--bg-alt); }
.strip-inner {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
  padding-block: 26px; text-align: center;
}
.strip-inner strong { display: block; font-size: 18px; letter-spacing: -.01em; }
.strip-inner span { font-size: 13px; color: var(--ink-3); }

/* ---------- sections ---------- */
.section { padding: 84px 0; }
.section-alt { background: var(--bg-alt); border-block: 1px solid var(--line-soft); }
.section-title {
  margin: 0 0 10px; text-align: center;
  font-size: clamp(26px, 4vw, 40px); letter-spacing: -.025em; font-weight: 800;
}
.section-sub {
  margin: 0 auto 56px; max-width: 620px; text-align: center;
  color: var(--ink-2); font-size: 16px;
}

/* ---------- feature rows ---------- */
.feature {
  display: grid; grid-template-columns: 1fr 1.15fr; gap: 48px;
  align-items: center; margin-bottom: 84px;
}
.feature-rev .feature-copy { order: 2; }
.tag {
  display: inline-block; margin-bottom: 14px;
  padding: 5px 11px; border-radius: 999px;
  background: rgba(34, 197, 94, .1); border: 1px solid rgba(34, 197, 94, .28);
  color: var(--accent); font-size: 12px; font-weight: 600;
}
.feature h3 {
  margin: 0 0 14px; font-size: clamp(21px, 2.6vw, 28px);
  letter-spacing: -.02em; line-height: 1.25; font-weight: 700;
}
.feature p { margin: 0 0 20px; color: var(--ink-2); }
.ticks { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.ticks li {
  position: relative; padding-left: 26px;
  font-size: 14.5px; color: var(--ink-2);
}
.ticks li::before {
  content: ""; position: absolute; left: 0; top: 8px;
  width: 14px; height: 8px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent);
  transform: rotate(-45deg);
}

/* ---------- mini cards ---------- */
.mini-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.mini {
  padding: 26px; border-radius: var(--radius);
  border: 1px solid var(--line); background: var(--surface);
}
.mini h4 { margin: 0 0 8px; font-size: 19px; letter-spacing: -.01em; }
.mini p { margin: 0; color: var(--ink-2); font-size: 14.5px; }

/* ---------- steps ---------- */
.steps {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px;
}
.steps li {
  padding: 30px 26px; border-radius: var(--radius);
  border: 1px solid var(--line); background: var(--surface);
}
.step-n {
  display: grid; place-items: center; width: 34px; height: 34px; margin-bottom: 16px;
  border-radius: 10px; background: rgba(34, 197, 94, .12);
  border: 1px solid rgba(34, 197, 94, .3);
  color: var(--accent); font-weight: 800; font-size: 15px;
}
.steps h3 { margin: 0 0 8px; font-size: 19px; letter-spacing: -.01em; }
.steps p { margin: 0; color: var(--ink-2); font-size: 14.5px; }

/* ---------- pricing ---------- */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 44px; }
.plan {
  position: relative; padding: 32px 26px; text-align: center;
  border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface);
}
.plan-featured { border-color: rgba(34, 197, 94, .45); background: var(--surface-2); }
.plan-badge {
  position: absolute; top: -11px; left: 50%; transform: translateX(-50%);
  padding: 4px 12px; border-radius: 999px;
  background: var(--accent); color: #052e12; font-size: 11px; font-weight: 700; white-space: nowrap;
}
.plan-credits { margin: 0 0 6px; font-size: 14px; color: var(--ink-2); }
.plan-price { margin: 0 0 4px; font-size: 44px; font-weight: 800; letter-spacing: -.03em; line-height: 1; }
.plan-price span { font-size: 20px; font-weight: 600; color: var(--ink-2); margin-right: 2px; }
.plan-eq { margin: 0 0 22px; font-size: 13px; color: var(--ink-3); }

.costs {
  max-width: 620px; margin: 0 auto; padding: 28px;
  border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface);
}
.costs h3 { margin: 0 0 16px; font-size: 17px; }
.costs table { width: 100%; border-collapse: collapse; }
.costs th, .costs td { padding: 12px 0; border-bottom: 1px solid var(--line-soft); font-size: 14.5px; }
.costs th { text-align: left; font-weight: 500; color: var(--ink-2); }
.costs td { text-align: right; font-weight: 600; white-space: nowrap; }
.costs tr:last-child th, .costs tr:last-child td { border-bottom: 0; }
.costs-note { margin: 16px 0 0; font-size: 13px; color: var(--ink-3); }

/* ---------- faq ---------- */
.faq-wrap { max-width: 780px; }
.faq { display: grid; gap: 12px; }
.faq details {
  border-radius: 12px; border: 1px solid var(--line); background: var(--surface);
  padding: 4px 20px;
}
.faq summary {
  padding: 16px 0; cursor: pointer; font-weight: 600; font-size: 15.5px;
  list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 14px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; color: var(--accent); font-size: 20px; font-weight: 400; line-height: 1;
  transition: transform .2s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p { margin: 0 0 18px; color: var(--ink-2); font-size: 14.5px; }

/* ---------- final cta ---------- */
.cta-final { padding: 90px 0; text-align: center; }
.cta-final h2 { margin: 0 0 12px; font-size: clamp(25px, 4vw, 38px); letter-spacing: -.025em; font-weight: 800; }
.cta-final p { margin: 0 0 28px; color: var(--ink-2); }

/* ---------- footer ---------- */
.footer { border-top: 1px solid var(--line-soft); padding: 34px 0; background: var(--bg-alt); }
.footer-inner { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.footer-links { display: flex; gap: 20px; font-size: 14px; color: var(--ink-2); }
.footer-links a:hover { color: var(--ink); }
.footer-note { margin: 0 0 0 auto; font-size: 13px; color: var(--ink-3); }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .feature { grid-template-columns: 1fr; gap: 28px; margin-bottom: 60px; }
  .feature-rev .feature-copy { order: 0; }
  .steps, .plans, .mini-grid { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .strip-inner { grid-template-columns: 1fr; gap: 14px; }
  .section { padding: 62px 0; }
  .hero { padding-top: 54px; }
  .shot-hero { margin-top: 38px; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .footer-note { margin: 0; }
}
@media (max-width: 560px) {
  .nav { padding: 12px 16px; gap: 10px; }
  .btn-ghost { display: none; }
  .wrap { padding: 0 16px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
