/* GEO Scout — dark, clean SaaS aesthetic (Stripe/Linear/Vercel style) */
* { margin: 0; padding: 0; box-sizing: border-box; }
:root { color-scheme: dark; }
html { scroll-behavior: smooth; }
body {
  background: #0a0a0a;
  color: #ffffff;
  font-family: system-ui, -apple-system, 'Segoe UI', sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
.container { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 720px; }
.center { text-align: center; }
.green { color: #4ade80; }
.tiny { font-size: 13px; color: #8b8f98; margin-top: 16px; }

/* Nav */
.nav { position: sticky; top: 0; background: rgba(10,10,10,0.92); border-bottom: 1px solid #1d1d1f; z-index: 50; backdrop-filter: blur(8px); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 60px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 18px; text-decoration: none; letter-spacing: -0.3px; }
.nav-links { display: flex; align-items: center; gap: 24px; }
.nav-links a { color: #b8bcc4; text-decoration: none; font-size: 14px; }
.nav-links a:hover { color: #ffffff; }

/* Buttons */
.btn { display: inline-block; border: none; border-radius: 8px; font-size: 16px; font-weight: 700; cursor: pointer; text-decoration: none; text-align: center; padding: 13px 26px; font-family: inherit; transition: transform .12s ease, background .12s ease, color .12s ease; }
.btn:hover { transform: translateY(-1px); }
.btn-lg { font-size: 17px; padding: 16px 32px; }
.btn-sm { font-size: 13px; padding: 8px 16px; }
.btn-green { background: #4ade80; color: #052e16; }
.btn-green:hover { background: #6ee7a0; }
.btn-outline { background: transparent; color: #ffffff; border: 1px solid #34343a; }
.btn-outline:hover { border-color: #4ade80; color: #4ade80; }
.btn.full { width: 100%; margin-top: 20px; }
.btn[disabled] { opacity: 0.6; cursor: wait; transform: none; }

/* Hero */
.hero { padding: 110px 0 80px; text-align: center; }
.hero h1 { font-size: clamp(34px, 5.4vw, 60px); font-weight: 800; letter-spacing: -1.5px; line-height: 1.12; }
.hero .sub { font-size: clamp(16px, 2.2vw, 20px); color: #b8bcc4; max-width: 660px; margin: 24px auto 0; }
.hero-ctas { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 36px; }

/* Stats */
.stats { padding: 30px 0 60px; border-top: 1px solid #1d1d1f; border-bottom: 1px solid #1d1d1f; background: #0e0e10; }
.stats-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; padding-top: 30px; }
.stat { text-align: center; }
.stat-num { font-size: clamp(36px, 5vw, 54px); font-weight: 800; color: #4ade80; letter-spacing: -1px; }
.stat-label { font-size: 14px; color: #b8bcc4; max-width: 260px; margin: 6px auto 0; }
.source { text-align: center; font-size: 11px; color: #55585f; margin-top: 24px; }

/* Sections */
.section { padding: 90px 0; }
.section.alt { background: #0e0e10; border-top: 1px solid #1d1d1f; border-bottom: 1px solid #1d1d1f; }
.section h2 { font-size: clamp(26px, 3.6vw, 38px); font-weight: 800; letter-spacing: -0.8px; margin-bottom: 28px; text-align: center; }
.section p { color: #b8bcc4; margin-bottom: 16px; font-size: 16px; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 44px; }
.step { background: #131316; border: 1px solid #232328; border-radius: 14px; padding: 30px 26px; }
.step-icon { font-size: 30px; margin-bottom: 14px; }
.step h3 { font-size: 17px; margin-bottom: 10px; letter-spacing: -0.2px; }
.step p { font-size: 14px; color: #9a9ea6; margin: 0; }

/* Checklist */
.checklist { list-style: none; }
.checklist li { padding: 7px 0 7px 30px; position: relative; color: #d4d7dc; font-size: 14px; }
.checklist li::before { content: "✓"; position: absolute; left: 4px; color: #4ade80; font-weight: 800; }
.checklist.big li { font-size: 17px; padding: 11px 0 11px 34px; }

/* Pricing */
.pricing-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 44px; align-items: start; }
.price-card { background: #131316; border: 1px solid #232328; border-radius: 16px; padding: 30px 26px; position: relative; }
.price-card.popular { border-color: #4ade80; }
.price-card .badge { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: #4ade80; color: #052e16; font-size: 11px; font-weight: 800; letter-spacing: 1px; padding: 4px 14px; border-radius: 12px; }
.price-card h3 { font-size: 20px; letter-spacing: -0.3px; }
.price-card .tagline { font-size: 13px; color: #9a9ea6; margin: 6px 0 18px; min-height: 20px; }
.price-card .price { font-size: 38px; font-weight: 800; letter-spacing: -1px; }
.price-card .price span { font-size: 15px; font-weight: 500; color: #9a9ea6; }
.price-card hr { border: none; border-top: 1px solid #232328; margin: 20px 0 12px; }
.annual-note { text-align: center; font-size: 13px; color: #8b8f98; margin-top: 34px; }
.annual-note a { color: #4ade80; text-decoration: none; }

/* FAQ */
details { background: #131316; border: 1px solid #232328; border-radius: 12px; margin-bottom: 12px; padding: 0 22px; }
details summary { cursor: pointer; font-weight: 600; font-size: 15.5px; padding: 18px 0; list-style: none; position: relative; padding-right: 30px; }
details summary::-webkit-details-marker { display: none; }
details summary::after { content: "+"; position: absolute; right: 2px; top: 14px; font-size: 22px; color: #4ade80; }
details[open] summary::after { content: "–"; }
details p { padding: 0 0 18px; font-size: 14.5px; }

/* Footer */
.footer { border-top: 1px solid #1d1d1f; padding: 36px 0; text-align: center; font-size: 13px; color: #8b8f98; }
.footer a { color: #4ade80; text-decoration: none; }

/* ---------- Onboarding + success (light cards on dark bg) ---------- */
.center-wrap { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 40px 20px; }
.card { background: #131316; border: 1px solid #232328; border-radius: 18px; padding: 44px 40px; width: 100%; max-width: 560px; }
.card h1 { font-size: 26px; letter-spacing: -0.5px; margin-bottom: 8px; }
.card .lede { color: #9a9ea6; font-size: 15px; margin-bottom: 30px; }
.field { margin-bottom: 20px; }
.field label { display: block; font-size: 13px; font-weight: 600; color: #d4d7dc; margin-bottom: 7px; }
.field input[type="text"], .field input[type="url"], .field input[type="email"] {
  width: 100%; background: #0a0a0a; border: 1px solid #34343a; color: #ffffff; border-radius: 8px; padding: 13px 14px; font-size: 15px; font-family: inherit;
}
.field input:focus { outline: none; border-color: #4ade80; }
.hint { font-size: 12px; color: #8b8f98; margin-top: 6px; min-height: 16px; }
.toggle { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.toggle input { display: none; }
.toggle label { display: block; text-align: center; border: 1px solid #34343a; border-radius: 10px; padding: 14px 8px; cursor: pointer; font-size: 14.5px; font-weight: 600; color: #b8bcc4; margin: 0; }
.toggle input:checked + label { border-color: #4ade80; color: #4ade80; background: rgba(74, 222, 128, 0.08); }
.spinner { display: inline-block; width: 18px; height: 18px; border: 2px solid rgba(5,46,22,.4); border-top-color: #052e16; border-radius: 50%; animation: spin .7s linear infinite; vertical-align: -4px; margin-right: 8px; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Success page */
.pulse-dots { display: flex; gap: 10px; justify-content: center; margin: 30px 0; }
.pulse-dots span { width: 12px; height: 12px; border-radius: 50%; background: #4ade80; animation: pulse 1.2s ease-in-out infinite; }
.pulse-dots span:nth-child(2) { animation-delay: .2s; }
.pulse-dots span:nth-child(3) { animation-delay: .4s; }
@keyframes pulse { 0%, 100% { opacity: .25; transform: scale(.85); } 50% { opacity: 1; transform: scale(1.1); } }
.score-reveal { font-size: 52px; font-weight: 800; color: #4ade80; letter-spacing: -1px; }

/* Responsive */
@media (max-width: 960px) {
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .nav-links a { display: none; }
  .steps { grid-template-columns: 1fr; }
  .stats-row { grid-template-columns: 1fr; gap: 30px; }
  .hero { padding: 70px 0 60px; }
  .section { padding: 60px 0; }
}
@media (max-width: 560px) {
  .pricing-grid { grid-template-columns: 1fr; }
  .card { padding: 32px 22px; }
}
