:root {
  --bg: #0B1829;
  --bg-card: #0F1F33;
  --bg-card-hover: #132540;
  --fg: #E8EEF4;
  --fg-muted: #8BA3BC;
  --accent: #F5A623;
  --accent-dim: rgba(245, 166, 35, 0.15);
  --green: #2ECC71;
  --red: #E84040;
  --border: rgba(255,255,255,0.07);
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Source Sans 3', system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* HEADER */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11,24,41,0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--fg);
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
}
nav { display: flex; gap: 24px; }
nav a {
  color: var(--fg-muted);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s;
}
nav a:hover { color: var(--fg); }

/* HERO */
.hero {
  position: relative;
  padding: 80px 24px 100px;
  overflow: hidden;
}
.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero-eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}
.hero-text h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  color: var(--fg);
  margin-bottom: 20px;
}
.lede {
  font-size: 1.05rem;
  color: var(--fg-muted);
  line-height: 1.7;
  max-width: 440px;
}

/* HERO FORM CARD */
.hero-form-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 32px 80px rgba(0,0,0,0.4), 0 0 0 1px rgba(245,166,35,0.08);
}
.form-card-header {
  background: #162032;
  padding: 12px 16px;
  display: flex;
  gap: 8px;
  align-items: center;
}
.form-card-dot {
  width: 12px; height: 12px; border-radius: 50%;
}
.form-card-dot.green { background: #2ECC71; }
.form-card-dot.amber { background: #F5A623; }
.form-card-dot.red { background: #E84040; }
.form-card-body { padding: 28px; }
.form-label {
  font-size: 0.85rem;
  color: var(--fg-muted);
  margin-bottom: 12px;
  font-weight: 500;
}
.input-group { display: flex; gap: 10px; }
.input-group input {
  flex: 1;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px 16px;
  color: var(--fg);
  font-size: 0.95rem;
  font-family: var(--font-body);
  outline: none;
  transition: border-color 0.2s;
}
.input-group input:focus { border-color: var(--accent); }
.input-group input::placeholder { color: var(--fg-muted); }
#run-audit {
  background: var(--accent);
  color: #0B1829;
  border: none;
  border-radius: 8px;
  padding: 12px 20px;
  font-size: 0.9rem;
  font-weight: 600;
  font-family: var(--font-body);
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s, transform 0.1s;
}
#run-audit:hover { background: #e09010; }
#run-audit:active { transform: scale(0.98); }
.form-footer {
  display: flex;
  gap: 8px;
  margin-top: 12px;
  font-size: 0.78rem;
  color: var(--fg-muted);
}
.form-footer .sep { opacity: 0.4; }

/* AUDIT PREVIEW */
.audit-preview {
  margin-top: 20px;
  border-top: 1px solid var(--border);
  padding-top: 20px;
}
.preview-score {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 12px;
}
.score-label { font-size: 0.8rem; color: var(--fg-muted); }
.score-number { font-family: var(--font-display); font-size: 2.5rem; font-weight: 800; color: var(--accent); }
.preview-issues { margin-bottom: 16px; }
.issue-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--accent-dim);
  color: var(--accent);
  border-radius: 100px;
  padding: 4px 10px;
  font-size: 0.75rem;
  margin: 4px 4px 4px 0;
  font-weight: 500;
}
.issue-pill .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.issue-pill.high { background: rgba(232,64,64,0.15); color: #E84040; }
.issue-pill.high .dot { background: #E84040; }
.preview-cta { margin-top: 12px; }
.btn-primary {
  display: inline-block;
  background: var(--accent);
  color: #0B1829;
  padding: 10px 24px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  transition: background 0.2s;
}
.btn-primary:hover { background: #e09010; }

/* HERO BG ART */
.hero-bg-art { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.bg-circle { position: absolute; border-radius: 50%; filter: blur(80px); }
.circle-1 { width: 500px; height: 500px; background: rgba(245,166,35,0.04); top: -100px; right: -100px; }
.circle-2 { width: 400px; height: 400px; background: rgba(46,204,113,0.03); bottom: -80px; left: 10%; }
.bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at 50% 0%, black 30%, transparent 80%);
}

/* TRUST BAR */
.trust-bar {
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 32px 24px;
}
.trust-inner {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
}
.trust-stat { text-align: center; }
.trust-number {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  color: var(--fg);
}
.trust-label { font-size: 0.8rem; color: var(--fg-muted); margin-top: 4px; }
.trust-sep { width: 1px; height: 40px; background: var(--border); }

/* SECTION SHARED */
.section-inner { max-width: 1100px; margin: 0 auto; padding: 80px 24px; }
.section-header { text-align: center; margin-bottom: 56px; }
.section-header h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 16px;
}
.section-sub { font-size: 1rem; color: var(--fg-muted); max-width: 520px; margin: 0 auto; }

/* WHAT YOU GET */
.what-you-get { background: var(--bg); }
.issues-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.issue-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
  display: flex;
  gap: 16px;
  transition: border-color 0.2s;
}
.issue-card:hover { border-color: rgba(245,166,35,0.2); }
.issue-icon {
  width: 40px; height: 40px;
  background: var(--accent-dim);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--accent);
}
.issue-content h3 {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--fg);
}
.issue-content p { font-size: 0.82rem; color: var(--fg-muted); line-height: 1.5; }
.free-note {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 40px;
  padding: 16px 20px;
  background: rgba(46,204,113,0.08);
  border: 1px solid rgba(46,204,113,0.2);
  border-radius: 10px;
  font-size: 0.9rem;
  color: var(--fg-muted);
}
.free-badge {
  background: var(--green);
  color: #0B1829;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 100px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* RESULTS */
.results-section { background: #08111F; }
.report-preview {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  max-width: 680px;
  margin: 0 auto;
}
.report-header {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 28px 32px;
  border-bottom: 1px solid var(--border);
}
.report-score-circle {
  position: relative;
  width: 80px; height: 80px;
  flex-shrink: 0;
}
.report-score-circle svg { width: 80px; height: 80px; }
.score-ring { transition: stroke-dashoffset 1s ease; }
.score-center {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}
.preview-score-val {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--fg);
  line-height: 1;
}
.preview-score-max { font-size: 0.65rem; color: var(--fg-muted); }
.report-meta h3 { font-size: 0.95rem; font-weight: 600; margin-bottom: 4px; }
.report-tagline { font-size: 0.8rem; color: var(--fg-muted); }

.report-issues-list { padding: 8px 0; }
.report-issue {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 32px;
  border-bottom: 1px solid var(--border);
}
.report-issue:last-child { border-bottom: none; }
.issue-severity { flex-shrink: 0; }
.issue-details { flex: 1; }
.issue-name { display: block; font-size: 0.85rem; font-weight: 500; color: var(--fg); margin-bottom: 2px; }
.issue-fix { font-size: 0.78rem; color: var(--fg-muted); }
.no-fix { color: var(--green); }
.issue-score {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  flex-shrink: 0;
}
.issue-score.low { color: var(--red); }
.issue-score.med { color: var(--accent); }
.issue-score.good { color: var(--green); }
.report-footer {
  padding: 20px 32px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.report-footer-note { font-size: 0.8rem; color: var(--fg-muted); }
.report-cta {
  color: var(--accent);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  transition: opacity 0.2s;
}
.report-cta:hover { opacity: 0.8; }

/* PRICING */
.pricing-section { background: var(--bg); }
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: start;
}
.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px 28px;
  position: relative;
  transition: border-color 0.2s;
}
.pricing-card:hover { border-color: rgba(245,166,35,0.2); }
.pricing-card.popular {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px rgba(245,166,35,0.2), 0 20px 60px rgba(245,166,35,0.1);
}
.popular-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #0B1829;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 3px 12px;
  border-radius: 100px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}
.plan-name {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--fg);
}
.plan-price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 12px;
}
.price-amount {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--fg);
}
.price-note { font-size: 0.85rem; color: var(--fg-muted); }
.plan-desc { font-size: 0.85rem; color: var(--fg-muted); margin-bottom: 24px; line-height: 1.5; }
.plan-features { list-style: none; margin-bottom: 28px; }
.plan-features li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--fg-muted);
  margin-bottom: 10px;
}
.plan-features li svg { flex-shrink: 0; margin-top: 2px; }
.plan-cta {
  display: block;
  text-align: center;
  padding: 12px;
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s;
}
.plan-cta-ghost {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--fg-muted);
}
.plan-cta-ghost:hover { border-color: var(--accent); color: var(--accent); }
.plan-cta-primary {
  background: var(--accent);
  color: #0B1829;
}
.plan-cta-primary:hover { background: #e09010; }

/* CLOSING */
.closing-section {
  background: var(--bg);
  padding: 100px 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.closing-inner { max-width: 640px; margin: 0 auto; position: relative; z-index: 1; }
.closing-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 300px;
  background: radial-gradient(ellipse, rgba(245,166,35,0.08) 0%, transparent 70%);
  pointer-events: none;
}
.closing-section h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 20px;
  line-height: 1.2;
}
.closing-body { font-size: 1rem; color: var(--fg-muted); margin-bottom: 40px; line-height: 1.7; }
.closing-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--accent);
  color: #0B1829;
  padding: 14px 32px;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s, transform 0.1s;
}
.closing-cta:hover { background: #e09010; }
.closing-cta:active { transform: scale(0.98); }

/* FOOTER */
.site-footer {
  background: #060E1A;
  border-top: 1px solid var(--border);
  padding: 60px 24px 32px;
}
.footer-inner { max-width: 1100px; margin: 0 auto; }
.footer-brand { margin-bottom: 32px; }
.footer-brand p { font-size: 0.82rem; color: var(--fg-muted); margin-top: 8px; max-width: 280px; }
.footer-links { display: flex; gap: 48px; margin-bottom: 40px; }
.footer-col { display: flex; flex-direction: column; gap: 8px; }
.col-title { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--fg-muted); margin-bottom: 4px; }
.footer-col a { font-size: 0.85rem; color: var(--fg-muted); text-decoration: none; transition: color 0.2s; }
.footer-col a:hover { color: var(--fg); }
.footer-bottom { border-top: 1px solid var(--border); padding-top: 24px; font-size: 0.78rem; color: var(--fg-muted); }

/* RESPONSIVE */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-text h1 { font-size: 2rem; }
  .issues-grid { grid-template-columns: 1fr 1fr; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
  .pricing-card.popular { order: -1; }
  .trust-inner { flex-direction: column; gap: 24px; }
  .trust-sep { display: none; }
  .report-header { flex-direction: column; align-items: flex-start; gap: 16px; }
}
@media (max-width: 600px) {
  .issues-grid { grid-template-columns: 1fr; }
  .input-group { flex-direction: column; }
  .form-card-body { padding: 20px; }
  nav { display: none; }
  .section-inner { padding: 60px 16px; }
  .footer-links { flex-direction: column; gap: 24px; }
}

/* Scrollbar */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: #1E3A5F; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #2A4F73; }

/* Email capture */
.email-label {
  font-size: 0.85rem;
  color: var(--fg-muted);
  margin-bottom: 12px;
  font-weight: 500;
}
#send-report {
  background: var(--accent);
  color: #0B1829;
  border: none;
  border-radius: 8px;
  padding: 12px 20px;
  font-size: 0.9rem;
  font-weight: 600;
  font-family: var(--font-body);
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s, transform 0.1s;
}
#send-report:hover { background: #e09010; }
#send-report:active { transform: scale(0.98); }
#send-report:disabled { opacity: 0.6; cursor: not-allowed; }
.email-success-box {
  display: flex;
  align-items: center;
  gap: 16px;
  background: rgba(46,204,113,0.08);
  border: 1px solid rgba(46,204,113,0.2);
  border-radius: 12px;
  padding: 16px 20px;
  margin-top: 12px;
}
.email-success-icon {
  width: 36px;
  height: 36px;
  background: var(--green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: #0B1829;
  flex-shrink: 0;
}
.email-success-title {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--green);
  margin-bottom: 2px;
}
.email-success-sub {
  font-size: 0.8rem;
  color: var(--fg-muted);
}
.email-success-sub strong { color: var(--fg); }

/* Selection */
::selection { background: var(--accent); color: #0B1829; }
