:root {
  --bg: #0d0d0d;
  --accent: #ef4444;
  --text: #ffffff;
  --muted: rgba(255,255,255,0.45);
  --card-bg: rgba(255,255,255,0.04);
  --card-border: rgba(255,255,255,0.09);
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

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

html { scroll-behavior: smooth; }

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

a { color: inherit; text-decoration: none; }

/* NAV */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 48px;
  border-bottom: 1px solid var(--card-border);
  position: sticky;
  top: 0;
  background: rgba(13,13,13,0.92);
  backdrop-filter: blur(12px);
  z-index: 100;
}

.logo {
  font-size: 22px;
  font-weight: 900;
  letter-spacing: -0.5px;
}
.logo span { color: var(--accent); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-links a {
  color: var(--muted);
  font-size: 14px;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--text); }

.nav-badge {
  background: rgba(239,68,68,0.15);
  border: 1px solid rgba(239,68,68,0.3);
  color: var(--accent);
  font-size: 12px;
  padding: 4px 12px;
  border-radius: 20px;
  font-weight: 600;
}

/* HERO */
.hero {
  max-width: 820px;
  margin: 0 auto;
  padding: 80px 24px 60px;
  text-align: center;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(239,68,68,0.1);
  border: 1px solid rgba(239,68,68,0.25);
  color: var(--accent);
  font-size: 13px;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: 20px;
  margin-bottom: 28px;
}
.pill::before {
  content: '';
  display: inline-block;
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
  animation: blink 1.5s infinite;
}
@keyframes blink {
  0%,100% { opacity:1; }
  50% { opacity:0.3; }
}

.hero-h1 {
  font-size: clamp(36px, 6vw, 64px);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -1.5px;
  margin-bottom: 12px;
}
.hero-h1 .red { color: var(--accent); }

.hero-divider {
  width: 60px;
  height: 3px;
  background: var(--accent);
  margin: 20px auto;
  border-radius: 2px;
}

.hero-h2 {
  font-size: clamp(22px, 4vw, 38px);
  font-weight: 700;
  margin-bottom: 16px;
  color: rgba(255,255,255,0.9);
}

.hero-sub {
  color: var(--muted);
  font-size: 16px;
  margin-bottom: 36px;
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
}

/* FORM */
.scan-form {
  display: flex;
  gap: 12px;
  max-width: 580px;
  margin: 0 auto 16px;
}

.scan-input {
  flex: 1;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--card-border);
  color: var(--text);
  font-size: 15px;
  padding: 14px 18px;
  border-radius: 10px;
  outline: none;
  transition: border-color 0.2s;
}
.scan-input::placeholder { color: var(--muted); }
.scan-input:focus { border-color: rgba(239,68,68,0.5); }

.btn-scan {
  background: var(--accent);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  padding: 14px 28px;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s, transform 0.1s;
}
.btn-scan:hover { background: #dc2626; }
.btn-scan:active { transform: scale(0.98); }
.btn-scan:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }

.form-consent {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 12px auto 20px;
  font-size: 12px;
  color: var(--muted);
  max-width: 400px;
}
.form-consent input[type=checkbox] { accent-color: var(--accent); width: 14px; height: 14px; cursor: pointer; }

.trust-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 12px;
  color: var(--muted);
}
.trust-row span::before { content: '·'; margin-right: 20px; }
.trust-row span:first-child::before { display: none; }

/* PROGRESS */
.progress-wrap {
  max-width: 580px;
  margin: 24px auto 0;
  display: none;
}
.progress-wrap.active { display: block; }

.progress-text {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 12px;
  min-height: 20px;
  transition: opacity 0.3s;
}

.progress-bar-outer {
  background: rgba(255,255,255,0.08);
  border-radius: 8px;
  height: 6px;
  overflow: hidden;
}
.progress-bar-inner {
  height: 100%;
  background: linear-gradient(90deg, var(--accent), #f97316);
  border-radius: 8px;
  width: 0%;
  transition: width 0.8s ease;
}

/* RESULT BLOCK */
.result-block {
  max-width: 620px;
  margin: 32px auto 0;
  display: none;
}
.result-block.active { display: block; }

.score-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 32px;
  text-align: center;
  margin-bottom: 20px;
}

.score-big {
  font-size: 72px;
  font-weight: 900;
  line-height: 1;
  margin-bottom: 8px;
}
.score-big.red { color: #ef4444; }
.score-big.yellow { color: #f59e0b; }
.score-big.green { color: #22c55e; }

.score-label { color: var(--muted); font-size: 14px; margin-bottom: 20px; }

.score-counts {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.score-count-item { font-size: 14px; color: var(--muted); }
.score-count-item strong { color: var(--text); }

.fine-amount {
  font-size: 28px;
  font-weight: 900;
  color: var(--accent);
  margin-bottom: 4px;
}
.fine-label { font-size: 12px; color: var(--muted); }

.top-issues {
  background: rgba(239,68,68,0.05);
  border: 1px solid rgba(239,68,68,0.15);
  border-radius: 12px;
  padding: 20px 24px;
  margin-bottom: 20px;
}
.top-issues h3 { font-size: 13px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 12px; }
.issue-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  font-size: 14px;
}
.issue-row:last-child { border-bottom: none; }
.issue-row::before { content: '⚠'; color: var(--accent); flex-shrink: 0; }

.result-note {
  color: var(--muted);
  font-size: 13px;
  text-align: center;
  margin-bottom: 20px;
}

.btn-full-report {
  display: block;
  width: 100%;
  background: var(--accent);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  padding: 16px;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  transition: background 0.2s;
}
.btn-full-report:hover { background: #dc2626; }

/* SECTIONS */
.section {
  padding: 80px 24px;
  max-width: 1100px;
  margin: 0 auto;
}

.section-title {
  font-size: clamp(24px, 4vw, 36px);
  font-weight: 800;
  margin-bottom: 12px;
  text-align: center;
}
.section-sub {
  color: var(--muted);
  text-align: center;
  margin-bottom: 48px;
  font-size: 16px;
}

/* CHECKS GRID */
.checks-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}

.check-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 12px;
  padding: 20px;
  transition: border-color 0.2s;
}
.check-card:hover { border-color: rgba(239,68,68,0.3); }

.check-card-icon {
  font-size: 24px;
  margin-bottom: 10px;
}
.check-card-title {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 6px;
}
.check-card-desc {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 10px;
  line-height: 1.5;
}
.check-card-fine {
  font-size: 13px;
  color: var(--accent);
  font-weight: 600;
}

/* HOW IT WORKS */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
@media (max-width: 640px) {
  .steps { grid-template-columns: 1fr; }
}
.step {
  text-align: center;
  padding: 32px 24px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 16px;
}
.step-num {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: rgba(239,68,68,0.15);
  border: 2px solid rgba(239,68,68,0.4);
  color: var(--accent);
  font-size: 18px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}
.step h3 { font-size: 17px; margin-bottom: 8px; }
.step p { font-size: 14px; color: var(--muted); }

/* FOOTER */
footer {
  border-top: 1px solid var(--card-border);
  padding: 32px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-disclaimer {
  font-size: 12px;
  color: var(--muted);
  max-width: 500px;
}
.footer-links {
  display: flex;
  gap: 24px;
  font-size: 13px;
  color: var(--muted);
}
.footer-links a:hover { color: var(--text); }

/* PRECHECK PAGE */
.precheck-page {
  max-width: 640px;
  margin: 0 auto;
  padding: 60px 24px;
}
.precheck-title { font-size: 28px; font-weight: 800; margin-bottom: 8px; }
.precheck-sub { color: var(--muted); font-size: 15px; margin-bottom: 32px; }

.what-included {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 28px;
}
.what-included h3 { font-size: 14px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 16px; }
.included-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  font-size: 14px;
}
.included-item:last-child { border-bottom: none; }
.included-check { color: #22c55e; flex-shrink: 0; font-size: 16px; }

.email-block { margin-bottom: 20px; }
.email-block label { display: block; font-size: 13px; color: var(--muted); margin-bottom: 8px; }
.email-input {
  width: 100%;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--card-border);
  color: var(--text);
  font-size: 15px;
  padding: 14px 18px;
  border-radius: 10px;
  outline: none;
  transition: border-color 0.2s;
}
.email-input:focus { border-color: rgba(239,68,68,0.5); }
.email-input::placeholder { color: var(--muted); }

.consent-block {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 24px;
  font-size: 13px;
  color: var(--muted);
}
.consent-block input[type=checkbox] { accent-color: var(--accent); margin-top: 2px; flex-shrink: 0; }

.btn-pay {
  display: block;
  width: 100%;
  background: var(--accent);
  color: #fff;
  font-size: 17px;
  font-weight: 700;
  padding: 18px;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  text-align: center;
  transition: background 0.2s;
}
.btn-pay:hover { background: #dc2626; }
.btn-pay:disabled { opacity: 0.6; cursor: not-allowed; }

.pay-note {
  text-align: center;
  font-size: 12px;
  color: var(--muted);
  margin-top: 12px;
}

/* THANKS PAGE */
.thanks-page {
  max-width: 520px;
  margin: 0 auto;
  padding: 120px 24px;
  text-align: center;
}
.thanks-icon { font-size: 64px; margin-bottom: 24px; }
.thanks-title { font-size: 32px; font-weight: 800; margin-bottom: 16px; }
.thanks-text { font-size: 16px; color: var(--muted); margin-bottom: 32px; line-height: 1.7; }
.btn-home {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  padding: 14px 32px;
  border-radius: 10px;
  transition: background 0.2s;
}
.btn-home:hover { background: #dc2626; }

.error-msg {
  color: var(--accent);
  font-size: 13px;
  margin-top: 8px;
  display: none;
}
.error-msg.visible { display: block; }

/* ABOUT SECTION */
.about-block { max-width: 1100px; margin: 0 auto; }
.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px;
}
.about-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 12px;
  padding: 24px;
}
.about-card-num {
  font-size: 13px;
  font-weight: 800;
  color: var(--accent);
  background: rgba(239,68,68,0.1);
  border: 1px solid rgba(239,68,68,0.2);
  display: inline-block;
  padding: 3px 10px;
  border-radius: 6px;
  margin-bottom: 12px;
  letter-spacing: 0.5px;
}
.about-card-title {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 8px;
}
.about-card-desc {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
}

/* FAQ */
.faq-list {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq-item {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 12px;
  overflow: hidden;
  transition: border-color 0.2s;
}
.faq-item[open] {
  border-color: rgba(239,68,68,0.3);
}
.faq-q {
  font-size: 15px;
  font-weight: 600;
  padding: 18px 22px;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  user-select: none;
}
.faq-q::-webkit-details-marker { display: none; }
.faq-q::after {
  content: '+';
  color: var(--accent);
  font-size: 20px;
  font-weight: 400;
  flex-shrink: 0;
  transition: transform 0.2s;
}
.faq-item[open] .faq-q::after {
  transform: rotate(45deg);
}
.faq-a {
  padding: 0 22px 18px;
  font-size: 14px;
  color: rgba(255,255,255,0.75);
  line-height: 1.7;
  border-top: 1px solid var(--card-border);
  padding-top: 14px;
}
.faq-a ul {
  padding-left: 18px;
  margin: 10px 0;
}
.faq-a li {
  margin-bottom: 6px;
}
.faq-a p + p { margin-top: 10px; }

@media (max-width: 768px) {
  .nav { padding: 16px 20px; }
  .nav-links { display: none; }
  .hero { padding: 48px 20px 40px; }
  .scan-form { flex-direction: column; }
  footer { flex-direction: column; text-align: center; padding: 24px 20px; }
  .footer-links { justify-content: center; }
}
