/* ── Reset & Base ─────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; color: #0f172a; background: #fff; line-height: 1.6; }
img { max-width: 100%; }
a { color: inherit; text-decoration: none; }

/* ── Nav ──────────────────────────────────────────────────────────── */
nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; background: rgba(255,255,255,0.95); backdrop-filter: blur(8px); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
nav.scrolled { border-color: #e2e8f0; box-shadow: 0 1px 12px rgba(0,0,0,.06); }
.nav-inner { max-width: 1120px; margin: 0 auto; padding: 0 24px; height: 64px; display: flex; align-items: center; gap: 32px; }
.nav-logo { font-size: 20px; font-weight: 700; color: #0f172a; letter-spacing: -0.5px; }
.nav-links { display: flex; gap: 24px; flex: 1; }
.nav-links a { font-size: 14px; color: #64748b; }
.nav-links a:hover { color: #0f172a; }
.nav-cta { background: #0f172a; color: #fff; padding: 9px 20px; border-radius: 6px; font-size: 14px; font-weight: 500; white-space: nowrap; }
.nav-cta:hover { background: #1e293b; }

/* ── Buttons ──────────────────────────────────────────────────────── */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 14px 28px; border-radius: 8px; font-size: 15px; font-weight: 600; cursor: pointer; border: none; transition: all .15s; text-align: center; }
.btn-primary { background: #10b981; color: #fff; }
.btn-primary:hover { background: #059669; transform: translateY(-1px); box-shadow: 0 4px 16px rgba(16,185,129,.3); }
.btn-dark { background: #0f172a; color: #fff; }
.btn-dark:hover { background: #1e293b; }
.btn-outline { background: transparent; color: #0f172a; border: 2px solid #e2e8f0; }
.btn-outline:hover { border-color: #0f172a; }
.btn-lg { padding: 16px 36px; font-size: 16px; }

/* ── Section Wrapper ──────────────────────────────────────────────── */
.section { padding: 96px 24px; }
.section-sm { padding: 64px 24px; }
.container { max-width: 1120px; margin: 0 auto; }
.container-sm { max-width: 780px; margin: 0 auto; }
.section-label { font-size: 12px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: #3b82f6; margin-bottom: 12px; }
h2.section-title { font-size: clamp(28px, 4vw, 40px); font-weight: 700; letter-spacing: -0.5px; line-height: 1.2; margin-bottom: 16px; }
p.section-sub { font-size: 17px; color: #64748b; line-height: 1.7; max-width: 600px; }

/* ── Hero ─────────────────────────────────────────────────────────── */
#hero { padding: 160px 24px 96px; background: linear-gradient(135deg, #f8fafc 0%, #eff6ff 100%); text-align: center; }
#hero h1 { font-size: clamp(36px, 5.5vw, 58px); font-weight: 800; letter-spacing: -1.5px; line-height: 1.1; margin-bottom: 24px; color: #0f172a; }
#hero h1 span { color: #3b82f6; }
#hero p.hero-sub { font-size: clamp(16px, 2.5vw, 19px); color: #475569; max-width: 620px; margin: 0 auto 36px; line-height: 1.7; }
.hero-cta-group { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.hero-trust { margin-top: 20px; font-size: 13px; color: #94a3b8; }
.hero-badges { display: flex; justify-content: center; gap: 32px; margin-top: 48px; flex-wrap: wrap; }
.hero-badge { display: flex; align-items: center; gap: 8px; font-size: 14px; color: #475569; }
.hero-badge .icon { width: 20px; height: 20px; background: #dbeafe; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 10px; }

/* ── Social Proof ─────────────────────────────────────────────────── */
#social-proof { padding: 32px 24px; background: #fff; border-top: 1px solid #f1f5f9; border-bottom: 1px solid #f1f5f9; }
.proof-inner { max-width: 1120px; margin: 0 auto; display: flex; justify-content: center; gap: 64px; flex-wrap: wrap; }
.proof-stat { text-align: center; }
.proof-stat .num { font-size: 28px; font-weight: 700; color: #0f172a; }
.proof-stat .lbl { font-size: 13px; color: #64748b; margin-top: 2px; }

/* ── How It Works ─────────────────────────────────────────────────── */
#how-it-works { background: #fff; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; margin-top: 56px; }
.step { text-align: center; }
.step-num { width: 48px; height: 48px; background: #eff6ff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 18px; font-weight: 700; color: #3b82f6; margin: 0 auto 20px; }
.step h3 { font-size: 17px; font-weight: 600; margin-bottom: 8px; }
.step p { font-size: 14px; color: #64748b; }
.step-connector { display: none; }

/* ── Pain Section ─────────────────────────────────────────────────── */
#pain { background: #0f172a; color: #fff; }
#pain .section-title { color: #fff; }
#pain .section-sub { color: #94a3b8; }
.pain-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 48px; }
.pain-card { background: #1e293b; border-radius: 10px; padding: 24px; border: 1px solid #334155; }
.pain-card .amount { font-size: 32px; font-weight: 700; color: #ef4444; margin-bottom: 8px; }
.pain-card h3 { font-size: 15px; font-weight: 600; color: #e2e8f0; margin-bottom: 8px; }
.pain-card p { font-size: 13px; color: #94a3b8; line-height: 1.6; }

/* ── Features ─────────────────────────────────────────────────────── */
#features { background: #f8fafc; }
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 48px; }
.feature-card { background: #fff; border-radius: 10px; padding: 28px; border: 1px solid #e2e8f0; }
.feature-icon { font-size: 24px; margin-bottom: 14px; }
.feature-card h3 { font-size: 16px; font-weight: 600; margin-bottom: 8px; }
.feature-card p { font-size: 14px; color: #64748b; line-height: 1.6; }

/* ── Sample Brief ─────────────────────────────────────────────────── */
#sample { background: #fff; }
.brief-preview { background: #fff; border: 1px solid #e2e8f0; border-radius: 12px; max-width: 680px; margin: 48px auto 0; box-shadow: 0 4px 32px rgba(0,0,0,.08); overflow: hidden; }
.brief-header { background: #0f172a; padding: 20px 28px; }
.brief-header .brand { color: #fff; font-weight: 700; font-size: 16px; }
.brief-header .meta { color: #64748b; font-size: 12px; margin-top: 4px; }
.brief-banner { background: #1e3a5f; padding: 16px 28px; }
.brief-banner .label { color: #93c5fd; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 8px; }
.brief-bullet { display: flex; gap: 8px; margin-bottom: 6px; color: #e2e8f0; font-size: 13px; }
.brief-bullet::before { content: '›'; color: #60a5fa; flex-shrink: 0; }
.brief-body { padding: 20px 28px; }
.brief-section-label { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; color: #64748b; margin-bottom: 12px; padding-bottom: 8px; border-bottom: 1px solid #f1f5f9; }
.brief-item { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 10px; }
.badge-red { background: #fee2e2; color: #dc2626; font-size: 10px; font-weight: 700; padding: 2px 6px; border-radius: 3px; white-space: nowrap; flex-shrink: 0; }
.badge-yellow { background: #fef3c7; color: #d97706; font-size: 10px; font-weight: 700; padding: 2px 6px; border-radius: 3px; white-space: nowrap; flex-shrink: 0; }
.badge-green { background: #d1fae5; color: #059669; font-size: 10px; font-weight: 700; padding: 2px 6px; border-radius: 3px; white-space: nowrap; flex-shrink: 0; }
.brief-item-text { font-size: 13px; color: #374151; }
.brief-item-text strong { display: block; font-size: 13px; color: #0f172a; }

/* ── Pricing ──────────────────────────────────────────────────────── */
#pricing { background: #f8fafc; }
.billing-toggle { display: flex; align-items: center; justify-content: center; gap: 12px; margin-bottom: 48px; }
.billing-toggle span { font-size: 14px; color: #64748b; }
.billing-toggle span.active { color: #0f172a; font-weight: 600; }
.toggle-switch { width: 48px; height: 26px; background: #3b82f6; border-radius: 13px; cursor: pointer; position: relative; transition: background .2s; border: none; }
.toggle-switch::after { content:''; position: absolute; width: 20px; height: 20px; background: #fff; border-radius: 50%; top: 3px; left: 3px; transition: transform .2s; }
.toggle-switch.annual::after { transform: translateX(22px); }
.annual-badge { background: #d1fae5; color: #065f46; font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 12px; }
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; max-width: 960px; margin: 0 auto; }
.pricing-card { background: #fff; border: 1px solid #e2e8f0; border-radius: 12px; padding: 32px; position: relative; transition: transform .15s, box-shadow .15s; }
.pricing-card:hover { transform: translateY(-2px); box-shadow: 0 8px 32px rgba(0,0,0,.08); }
.pricing-card.featured { border: 2px solid #3b82f6; }
.popular-badge { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: #3b82f6; color: #fff; font-size: 11px; font-weight: 700; padding: 4px 14px; border-radius: 12px; white-space: nowrap; }
.tier-name { font-size: 14px; font-weight: 600; color: #64748b; text-transform: uppercase; letter-spacing: .5px; margin-bottom: 8px; }
.tier-price { font-size: 44px; font-weight: 700; color: #0f172a; letter-spacing: -1px; line-height: 1; }
.tier-price span { font-size: 16px; font-weight: 400; color: #94a3b8; }
.tier-desc { font-size: 13px; color: #64748b; margin: 12px 0 24px; }
.pricing-card .btn { width: 100%; justify-content: center; margin-bottom: 24px; }
.feature-list { list-style: none; }
.feature-list li { display: flex; align-items: flex-start; gap: 10px; font-size: 13px; color: #374151; margin-bottom: 10px; }
.feature-list li::before { content: '✓'; color: #10b981; font-weight: 700; flex-shrink: 0; margin-top: 1px; }
.pricing-note { text-align: center; margin-top: 24px; font-size: 13px; color: #94a3b8; }

/* ── FAQ ──────────────────────────────────────────────────────────── */
#faq { background: #fff; }
.faq-list { margin-top: 48px; }
.faq-item { border-bottom: 1px solid #f1f5f9; }
.faq-question { display: flex; justify-content: space-between; align-items: center; padding: 20px 0; cursor: pointer; font-size: 16px; font-weight: 500; }
.faq-question:hover { color: #3b82f6; }
.faq-arrow { font-size: 18px; color: #94a3b8; transition: transform .2s; }
.faq-item.open .faq-arrow { transform: rotate(180deg); }
.faq-answer { display: none; padding-bottom: 20px; font-size: 15px; color: #475569; line-height: 1.7; }
.faq-item.open .faq-answer { display: block; }

/* ── CTA Banner ───────────────────────────────────────────────────── */
#cta-banner { background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 100%); color: #fff; text-align: center; }
#cta-banner h2 { color: #fff; margin-bottom: 16px; }
#cta-banner p { color: #94a3b8; margin-bottom: 32px; }

/* ── Footer ───────────────────────────────────────────────────────── */
footer { background: #0f172a; color: #475569; padding: 48px 24px 32px; }
.footer-inner { max-width: 1120px; margin: 0 auto; }
.footer-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 40px; flex-wrap: wrap; gap: 24px; }
.footer-brand { font-size: 18px; font-weight: 700; color: #fff; margin-bottom: 6px; }
.footer-brand-desc { font-size: 13px; color: #64748b; }
.footer-links { display: flex; gap: 48px; flex-wrap: wrap; }
.footer-col h4 { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .5px; color: #64748b; margin-bottom: 12px; }
.footer-col a { display: block; font-size: 13px; color: #475569; margin-bottom: 8px; }
.footer-col a:hover { color: #94a3b8; }
.footer-bottom { border-top: 1px solid #1e293b; padding-top: 24px; display: flex; justify-content: space-between; font-size: 12px; flex-wrap: wrap; gap: 8px; }
.footer-disclaimer { color: #334155; font-size: 11px; max-width: 600px; margin-top: 8px; }

/* ── Responsive ───────────────────────────────────────────────────── */
@media (max-width: 768px) {
  .steps { grid-template-columns: 1fr; gap: 32px; }
  .pain-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr 1fr; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 400px; }
  .nav-links { display: none; }
  .hero-badges { gap: 16px; }
  .proof-inner { gap: 32px; }
  .footer-top { flex-direction: column; }
}
@media (max-width: 480px) {
  .features-grid { grid-template-columns: 1fr; }
  .section { padding: 64px 16px; }
}
