/* OnlineShotBoard — shared stylesheet */

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

:root {
  --bg: #0e1116;
  --bg-card: #161b22;
  --border: #21262d;
  --text: #c9d1d9;
  --text-bright: #f0f6fc;
  --text-muted: #8b949e;
  --text-faint: #6e7681;
  --accent: #58a6ff;
  --green: #238636;
  --green-hover: #2ea043;
}

html { -webkit-text-size-adjust: 100%; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

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

/* ---------- Header / nav ---------- */
.site-header {
  border-bottom: 1px solid var(--border);
  background: rgba(14, 17, 22, 0.9);
}
.nav {
  max-width: 960px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.logo {
  font-size: 20px;
  font-weight: 700;
  color: var(--accent);
}
.logo:hover { text-decoration: none; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}
.nav-links a {
  color: var(--text);
  font-size: 15px;
}
.nav-links a:hover { color: var(--text-bright); text-decoration: none; }
.nav-links a.nav-cta {
  background: var(--green);
  color: #fff;
  padding: 7px 16px;
  border-radius: 6px;
  font-weight: 500;
}
.nav-links a.nav-cta:hover { background: var(--green-hover); }

/* ---------- Layout ---------- */
.main { flex: 1; }
.container {
  max-width: 960px;
  margin: 0 auto;
  padding: 56px 24px;
}
.container-narrow {
  max-width: 680px;
  margin: 0 auto;
  padding: 56px 24px;
}

/* ---------- Hero ---------- */
.hero { text-align: center; padding-bottom: 24px; }
.hero h1 {
  font-size: 42px;
  line-height: 1.2;
  color: var(--text-bright);
  margin-bottom: 18px;
}
.hero .subtitle {
  font-size: 19px;
  color: var(--text-muted);
  max-width: 620px;
  margin: 0 auto 32px;
}
.hero-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.hero-note {
  margin-top: 18px;
  font-size: 14px;
  color: var(--text-faint);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  background: var(--green);
  color: #fff;
  padding: 11px 26px;
  border-radius: 6px;
  font-weight: 500;
  font-size: 15px;
  border: 1px solid transparent;
  cursor: pointer;
}
.btn:hover { background: var(--green-hover); text-decoration: none; }
.btn-secondary {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
}
.btn-secondary:hover { background: var(--bg-card); border-color: #30363d; }
.btn-block { display: block; width: 100%; text-align: center; }

/* ---------- Section headings ---------- */
.section { padding: 48px 0; border-top: 1px solid var(--border); }
.section h2 {
  font-size: 28px;
  color: var(--text-bright);
  text-align: center;
  margin-bottom: 8px;
}
.section .section-lead {
  text-align: center;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto 36px;
}

/* ---------- Feature grid ---------- */
.features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.feature {
  padding: 22px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
}
.feature .icon { font-size: 26px; }
.feature h3 { font-size: 17px; color: var(--text-bright); margin: 10px 0 6px; }
.feature p { font-size: 14px; color: var(--text-muted); }

/* ---------- How it works ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.step {
  padding: 22px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
}
.step .step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(88, 166, 255, 0.12);
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 12px;
}
.step h3 { font-size: 16px; color: var(--text-bright); margin-bottom: 6px; }
.step p { font-size: 14px; color: var(--text-muted); }

/* ---------- Testimonials ---------- */
.testimonials {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.testimonial {
  padding: 22px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
}
.testimonial blockquote {
  font-size: 15px;
  color: var(--text);
  font-style: italic;
}
.testimonial .who {
  margin-top: 14px;
  font-size: 13px;
  color: var(--text-muted);
}
.testimonial .who strong { color: var(--text-bright); font-style: normal; }

/* ---------- Pricing teaser / tiers ---------- */
.pricing {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: stretch;
}
.tier {
  padding: 26px 22px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  display: flex;
  flex-direction: column;
}
.tier.featured { border-color: var(--accent); }
.tier h3 { font-size: 18px; color: var(--text-bright); margin-bottom: 4px; }
.tier .price { font-size: 32px; color: var(--text-bright); margin: 8px 0; }
.tier .price span { font-size: 14px; color: var(--text-muted); font-weight: 400; }
.tier .tier-desc { font-size: 14px; color: var(--text-muted); margin-bottom: 16px; }
.tier ul { list-style: none; margin-bottom: 20px; flex: 1; }
.tier ul li {
  font-size: 14px;
  padding: 6px 0 6px 22px;
  position: relative;
  color: var(--text);
}
.tier ul li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--green);
}
.badge {
  display: inline-block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: rgba(88, 166, 255, 0.12);
  color: var(--accent);
  padding: 3px 8px;
  border-radius: 999px;
  margin-bottom: 10px;
}

/* ---------- Built-in AI section ---------- */
.ai-eyebrow {
  display: block;
  text-align: center;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin-bottom: 8px;
}
.ai-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.ai-card {
  padding: 22px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
}
.ai-card .icon { font-size: 24px; }
.ai-card h3 { font-size: 16px; color: var(--text-bright); margin: 10px 0 6px; }
.ai-card p { font-size: 14px; color: var(--text-muted); }
.ai-note {
  margin-top: 24px;
  background: linear-gradient(180deg, rgba(88, 166, 255, 0.08), rgba(88, 166, 255, 0.03));
  border: 1px solid rgba(88, 166, 255, 0.3);
  border-radius: 10px;
  padding: 20px 22px;
}
.ai-note p { font-size: 14px; color: var(--text); margin: 0; }
.ai-note strong { color: var(--text-bright); }

/* ---------- AI credits / pricing add-on ---------- */
.credit-pricing {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 24px;
}
.credit-pack {
  padding: 22px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  text-align: center;
}
.credit-pack .credit-amount {
  font-size: 22px;
  color: var(--text-bright);
  font-weight: 700;
}
.credit-pack .credit-price {
  font-size: 28px;
  color: var(--accent);
  margin: 6px 0 4px;
}
.credit-pack .credit-sub { font-size: 13px; color: var(--text-muted); }
.cost-table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 14px;
  font-size: 14px;
}
.cost-table th,
.cost-table td {
  text-align: left;
  padding: 9px 12px;
  border-bottom: 1px solid var(--border);
}
.cost-table th { color: var(--text-bright); font-weight: 600; }
.cost-table td { color: var(--text); }
.cost-table td:last-child,
.cost-table th:last-child { text-align: right; white-space: nowrap; }

/* ---------- Beta CTA box ---------- */
.beta-note {
  background: #1c2128;
  border: 1px solid #30363d;
  padding: 18px 20px;
  border-radius: 8px;
  color: var(--text-muted);
  font-size: 14px;
}
.cta-band {
  text-align: center;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 40px 24px;
}
.cta-band h2 { color: var(--text-bright); font-size: 26px; margin-bottom: 10px; }
.cta-band p { color: var(--text-muted); margin-bottom: 22px; }

/* ---------- Content pages ---------- */
.page-title { font-size: 34px; color: var(--text-bright); margin-bottom: 8px; }
.page-intro { color: var(--text-muted); font-size: 17px; margin-bottom: 32px; }
.prose h2 {
  font-size: 22px;
  color: var(--text-bright);
  margin: 32px 0 10px;
}
.prose h3 {
  font-size: 17px;
  color: var(--text-bright);
  margin: 22px 0 8px;
}
.prose p { margin-bottom: 14px; }
.prose ul { margin: 0 0 14px 22px; }
.prose ul li { margin-bottom: 6px; }
.prose .meta { color: var(--text-faint); font-size: 14px; margin-bottom: 24px; }

/* ---------- Forms ---------- */
.auth-card {
  max-width: 380px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 28px;
}
.auth-card h1 { font-size: 22px; color: var(--text-bright); margin-bottom: 6px; }
.auth-card .auth-sub { font-size: 14px; color: var(--text-muted); margin-bottom: 22px; }
.field { margin-bottom: 16px; }
.field label {
  display: block;
  font-size: 13px;
  color: var(--text-bright);
  margin-bottom: 6px;
}
.field input,
.field textarea,
.field select {
  width: 100%;
  background: #0e1116;
  border: 1px solid #30363d;
  border-radius: 6px;
  padding: 9px 11px;
  color: var(--text);
  font-size: 14px;
  font-family: inherit;
}
.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 2px rgba(88, 166, 255, 0.25);
}
.field textarea { resize: vertical; min-height: 80px; }
.form-msg {
  display: none;
  font-size: 14px;
  padding: 10px 12px;
  border-radius: 6px;
  margin-bottom: 16px;
}
.form-msg.error {
  display: block;
  background: rgba(248, 81, 73, 0.1);
  border: 1px solid rgba(248, 81, 73, 0.4);
  color: #ff7b72;
}
.form-msg.success {
  display: block;
  background: rgba(35, 134, 54, 0.12);
  border: 1px solid rgba(46, 160, 67, 0.4);
  color: #3fb950;
}
.auth-foot {
  margin-top: 18px;
  font-size: 13px;
  color: var(--text-muted);
  text-align: center;
}
.auth-foot + .auth-foot { margin-top: 8px; }

/* ---------- Consent checkbox ---------- */
.field-check {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin-bottom: 18px;
}
.field-check input[type="checkbox"] {
  margin-top: 3px;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  accent-color: var(--green);
  cursor: pointer;
}
.field-check label {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
  cursor: pointer;
}

/* ---------- Signup confirmation block ---------- */
.auth-done {
  display: none;
  background: rgba(35, 134, 54, 0.1);
  border: 1px solid rgba(46, 160, 67, 0.4);
  border-radius: 8px;
  padding: 20px;
}
.auth-done.is-visible { display: block; }
.auth-done h2 {
  font-size: 17px;
  color: var(--text-bright);
  margin-bottom: 10px;
}
.auth-done p {
  font-size: 14px;
  color: var(--text);
  margin-bottom: 12px;
}
.auth-done .auth-done-resend {
  font-size: 13px;
  margin-bottom: 0;
}

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 28px 24px;
  text-align: center;
  color: var(--text-faint);
  font-size: 14px;
}
.site-footer a { color: var(--accent); }
.site-footer .footer-links { margin-top: 6px; }
.site-footer .footer-links a { margin: 0 6px; }

/* ---------- 404 ---------- */
.notfound { text-align: center; padding: 80px 24px; }
.notfound .code {
  font-size: 64px;
  font-weight: 700;
  color: var(--accent);
}
.notfound h1 { font-size: 26px; color: var(--text-bright); margin: 12px 0 10px; }
.notfound p { color: var(--text-muted); margin-bottom: 24px; }

/* ---------- Responsive ---------- */
@media (max-width: 720px) {
  .hero h1 { font-size: 32px; }
  .features,
  .steps,
  .testimonials,
  .pricing,
  .ai-grid,
  .credit-pricing {
    grid-template-columns: 1fr;
  }
  .nav { justify-content: center; }
}
