:root {
  --bg: #07110f;
  --bg-soft: #0b1815;
  --panel: #10211d;
  --panel-strong: #142a25;
  --line: rgba(219, 255, 237, 0.14);
  --text: #f1fff8;
  --muted: #9bb5aa;
  --green: #64f6ad;
  --green-dark: #082c20;
  --yellow: #ffd875;
  --red: #ff8f8f;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.34);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--bg);
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  background:
    radial-gradient(circle at 78% 4%, rgba(55, 180, 123, 0.16), transparent 28rem),
    radial-gradient(circle at 5% 35%, rgba(39, 113, 87, 0.12), transparent 24rem), var(--bg);
  color: var(--text);
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px);
  background-size: 48px 48px;
  content: "";
  mask-image: linear-gradient(to bottom, black, transparent 70%);
}

a {
  color: inherit;
}

button,
input,
textarea {
  font: inherit;
}

button {
  color: inherit;
}

.site-header {
  display: flex;
  width: min(1180px, calc(100% - 40px));
  min-height: 78px;
  margin: 0 auto;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--text);
  font-weight: 750;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid rgba(100, 246, 173, 0.55);
  border-radius: 10px;
  background: rgba(100, 246, 173, 0.1);
  color: var(--green);
  font-size: 0.72rem;
  letter-spacing: -0.05em;
}

nav {
  display: flex;
  gap: 28px;
}

nav a,
.footer-links a {
  color: var(--muted);
  font-size: 0.9rem;
  text-decoration: none;
}

nav a:hover,
.footer-links a:hover {
  color: var(--green);
}

main {
  overflow: hidden;
}

.hero,
.scanner-section,
.method-section,
.services-section,
.order-section,
footer {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

.hero {
  display: grid;
  min-height: 690px;
  padding: 98px 0 80px;
  align-items: center;
  grid-template-columns: minmax(0, 1.15fr) minmax(360px, 0.85fr);
  gap: 90px;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--green);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 720px;
  margin-bottom: 24px;
  font-size: clamp(3.2rem, 6.7vw, 6.7rem);
  line-height: 0.93;
  letter-spacing: -0.065em;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2.2rem, 4.7vw, 4.4rem);
  line-height: 1;
  letter-spacing: -0.055em;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.18rem;
  letter-spacing: -0.025em;
}

.hero-lede {
  max-width: 650px;
  margin-bottom: 34px;
  color: #b9cec5;
  font-size: clamp(1.05rem, 2vw, 1.28rem);
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  min-height: 50px;
  padding: 0 22px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 12px;
  cursor: pointer;
  font-weight: 750;
  text-decoration: none;
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    background 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button:disabled {
  cursor: wait;
  opacity: 0.65;
  transform: none;
}

.button-primary {
  background: var(--green);
  color: #04130d;
  box-shadow: 0 12px 36px rgba(100, 246, 173, 0.14);
}

.button-secondary {
  border-color: rgba(100, 246, 173, 0.44);
  background: rgba(100, 246, 173, 0.08);
  color: var(--green);
}

.button-quiet {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.02);
  color: var(--text);
}

.microcopy {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 0.83rem;
}

.signal-card {
  position: relative;
  padding: 26px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 24px;
  background:
    linear-gradient(145deg, rgba(100, 246, 173, 0.08), transparent 48%), var(--panel);
  box-shadow: var(--shadow);
  transform: rotate(1.4deg);
}

.signal-card::before {
  position: absolute;
  width: 220px;
  height: 220px;
  top: -120px;
  right: -80px;
  border: 1px solid rgba(100, 246, 173, 0.18);
  border-radius: 50%;
  content: "";
}

.signal-card-top,
.signal-row {
  display: grid;
  align-items: center;
}

.signal-card-top {
  grid-template-columns: 1fr auto;
  color: var(--muted);
  font-size: 0.8rem;
}

.live-dot {
  padding: 6px 9px;
  border-radius: 999px;
  background: rgba(100, 246, 173, 0.1);
  color: var(--green);
}

.sample-score {
  display: flex;
  margin: 42px 0 34px;
  align-items: baseline;
}

.sample-score strong {
  font-size: 6.6rem;
  line-height: 0.8;
  letter-spacing: -0.09em;
}

.sample-score span {
  margin-left: 10px;
  color: var(--muted);
}

.signal-row {
  padding: 14px 0;
  border-top: 1px solid var(--line);
  grid-template-columns: 28px 1fr auto;
  gap: 10px;
  color: #c4d8d0;
  font-size: 0.91rem;
}

.signal-icon {
  display: grid;
  width: 23px;
  height: 23px;
  place-items: center;
  border-radius: 50%;
  font-size: 0.73rem;
}

.good .signal-icon {
  background: rgba(100, 246, 173, 0.13);
  color: var(--green);
}

.warn .signal-icon {
  background: rgba(255, 216, 117, 0.13);
  color: var(--yellow);
}

.bad .signal-icon {
  background: rgba(255, 143, 143, 0.13);
  color: var(--red);
}

.sample-caption {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 0.79rem;
}

.scanner-section,
.method-section,
.services-section,
.order-section {
  padding: 110px 0;
  border-top: 1px solid var(--line);
}

.section-heading {
  margin-bottom: 38px;
}

.section-heading.narrow {
  max-width: 760px;
}

.section-heading > p:not(.eyebrow) {
  max-width: 720px;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.65;
}

.scan-form {
  max-width: 930px;
}

.scan-form > label,
.order-form > label:not(.checkbox-row),
.payment-label {
  display: block;
  margin-bottom: 9px;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.scan-input-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  outline: none;
  background: rgba(255, 255, 255, 0.035);
  color: var(--text);
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease;
}

input {
  height: 52px;
  padding: 0 16px;
}

textarea {
  padding: 14px 16px;
  resize: vertical;
}

input:focus,
textarea:focus {
  border-color: rgba(100, 246, 173, 0.65);
  box-shadow: 0 0 0 4px rgba(100, 246, 173, 0.07);
}

input::placeholder,
textarea::placeholder {
  color: #6e887d;
}

.form-error {
  margin: 12px 0 0;
  color: var(--red);
  font-size: 0.9rem;
}

.results {
  margin-top: 62px;
}

.results-summary {
  display: flex;
  margin-bottom: 32px;
  align-items: center;
  gap: 24px;
}

.results-summary h3 {
  margin-bottom: 7px;
  font-size: 1.7rem;
}

.results-summary p:last-child {
  max-width: 680px;
  margin: 0;
  overflow: hidden;
  color: var(--muted);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.score-ring {
  --score: 0;
  display: grid;
  width: 112px;
  height: 112px;
  flex: 0 0 112px;
  place-content: center;
  border-radius: 50%;
  background:
    radial-gradient(circle closest-side, var(--bg-soft) 78%, transparent 80% 100%),
    conic-gradient(var(--green) calc(var(--score) * 1%), rgba(255, 255, 255, 0.08) 0);
}

.score-ring strong {
  font-size: 2.15rem;
  line-height: 1;
  letter-spacing: -0.07em;
}

.score-ring span {
  color: var(--muted);
  font-size: 0.73rem;
  text-align: center;
}

.priority-panel,
.result-upsell {
  display: grid;
  padding: 30px;
  border: 1px solid rgba(100, 246, 173, 0.2);
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(100, 246, 173, 0.07), rgba(255, 255, 255, 0.02));
  grid-template-columns: minmax(220px, 0.42fr) 1fr;
  gap: 36px;
}

.priority-panel ol {
  margin: 0;
  padding-left: 24px;
}

.priority-panel li {
  padding: 7px 0 7px 8px;
  color: #c8dbd3;
  line-height: 1.45;
}

.priority-panel li::marker {
  color: var(--green);
  font-weight: 800;
}

.checks-header {
  display: flex;
  margin: 48px 0 18px;
  align-items: center;
  justify-content: space-between;
}

.checks-header h3 {
  margin: 0;
  font-size: 1.45rem;
}

.text-button {
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--green);
  cursor: pointer;
}

.checks-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.check-card {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.018);
}

.check-top {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 10px;
}

.status-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
}

.status-pass {
  background: var(--green);
  box-shadow: 0 0 14px rgba(100, 246, 173, 0.5);
}

.status-warn {
  background: var(--yellow);
}

.status-fail {
  background: var(--red);
}

.check-top strong {
  font-size: 0.94rem;
}

.check-points {
  color: var(--muted);
  font-size: 0.78rem;
}

.check-evidence {
  margin: 12px 0 0 19px;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.5;
}

.checks-grid.compact .check-evidence {
  display: none;
}

.result-disclaimer,
.terms-note {
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.55;
}

.result-upsell {
  margin-top: 36px;
  align-items: center;
  grid-template-columns: 1fr auto;
}

.result-upsell p:last-child {
  margin-bottom: 0;
  color: var(--muted);
}

.method-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.method-grid article {
  min-height: 230px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--bg-soft);
}

.method-grid article > span {
  display: block;
  margin-bottom: 55px;
  color: var(--green);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.78rem;
}

.method-grid article p,
.plan > p:not(.plan-label, .delivery),
.terms-note {
  color: var(--muted);
  line-height: 1.55;
}

.plans {
  display: grid;
  max-width: 940px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.plan {
  position: relative;
  display: flex;
  min-height: 570px;
  padding: 32px;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--bg-soft);
}

.plan.featured {
  border-color: rgba(100, 246, 173, 0.34);
  background:
    linear-gradient(145deg, rgba(100, 246, 173, 0.07), transparent 46%), var(--panel);
}

.plan-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(100, 246, 173, 0.1);
  color: var(--green);
  font-size: 0.7rem;
  font-weight: 750;
}

.plan-label {
  margin-bottom: 20px;
  font-weight: 800;
}

.price {
  display: flex;
  margin-bottom: 20px;
  align-items: flex-end;
  gap: 10px;
}

.price strong {
  font-size: 5rem;
  line-height: 0.85;
  letter-spacing: -0.08em;
}

.price span {
  color: var(--muted);
  font-size: 0.78rem;
}

.plan ul {
  padding: 20px 0 0;
  border-top: 1px solid var(--line);
  margin: 18px 0 24px;
  list-style: none;
}

.plan li {
  position: relative;
  padding: 7px 0 7px 24px;
  color: #c3d8cf;
  font-size: 0.91rem;
}

.plan li::before {
  position: absolute;
  left: 0;
  color: var(--green);
  content: "✓";
}

.delivery {
  margin-top: auto;
  color: var(--green);
  font-size: 0.82rem;
}

.checkout-grid {
  display: grid;
  max-width: 1040px;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 22px;
}

.payment-card,
.order-form {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--bg-soft);
}

.payment-amount {
  display: flex;
  margin-bottom: 28px;
  align-items: baseline;
  gap: 9px;
}

.payment-amount strong {
  font-size: 4rem;
  line-height: 1;
  letter-spacing: -0.08em;
}

.network-value {
  margin-bottom: 26px;
  font-weight: 700;
}

.wallet-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
}

.wallet-row code {
  padding: 14px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.18);
  color: var(--green);
  font-size: 0.77rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.copy-button {
  padding: 0 15px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
}

.payment-warning {
  margin-top: 22px;
  padding: 14px;
  border: 1px solid rgba(255, 216, 117, 0.25);
  border-radius: 10px;
  background: rgba(255, 216, 117, 0.06);
  color: #e8d69f;
  font-size: 0.8rem;
  line-height: 1.55;
}

.order-form > input,
.order-form > textarea {
  margin-bottom: 18px;
}

.checkbox-row {
  display: grid;
  margin: 2px 0 22px;
  align-items: start;
  grid-template-columns: auto 1fr;
  gap: 10px;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.45;
}

.checkbox-row input {
  width: 17px;
  height: 17px;
  margin: 2px 0 0;
  accent-color: var(--green);
}

.order-form .button {
  width: 100%;
}

.honeypot {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.order-success {
  max-width: 700px;
  margin-top: 24px;
  padding: 28px;
  border: 1px solid rgba(100, 246, 173, 0.34);
  border-radius: 18px;
  background: rgba(100, 246, 173, 0.06);
}

.order-success p {
  color: #c0d6cd;
  line-height: 1.6;
}

.order-success a {
  color: var(--green);
}

footer {
  display: grid;
  padding: 54px 0 70px;
  align-items: start;
  border-top: 1px solid var(--line);
  grid-template-columns: 1fr auto;
  gap: 26px;
}

footer > div:first-child p,
.footer-legal {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 0.8rem;
}

.footer-links {
  display: flex;
  gap: 20px;
}

.footer-legal {
  max-width: 760px;
  grid-column: 1 / -1;
  line-height: 1.55;
}

[hidden] {
  display: none !important;
}

@media (max-width: 900px) {
  .hero {
    min-height: auto;
    padding-top: 80px;
    grid-template-columns: 1fr;
    gap: 55px;
  }

  .signal-card {
    max-width: 590px;
    transform: none;
  }

  .method-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .checkout-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .site-header {
    width: min(100% - 28px, 1180px);
  }

  nav {
    display: none;
  }

  .hero,
  .scanner-section,
  .method-section,
  .services-section,
  .order-section,
  footer {
    width: min(100% - 28px, 1180px);
  }

  .hero {
    padding: 68px 0;
  }

  h1 {
    font-size: clamp(3rem, 16vw, 4.5rem);
  }

  .scanner-section,
  .method-section,
  .services-section,
  .order-section {
    padding: 78px 0;
  }

  .scan-input-row,
  .checks-grid,
  .method-grid,
  .plans,
  .priority-panel,
  .result-upsell {
    grid-template-columns: 1fr;
  }

  .scan-input-row .button {
    width: 100%;
  }

  .results-summary {
    align-items: flex-start;
    flex-direction: column;
  }

  .results-summary p:last-child {
    white-space: normal;
  }

  .priority-panel,
  .result-upsell,
  .payment-card,
  .order-form {
    padding: 22px;
  }

  .result-upsell .button {
    width: 100%;
  }

  .plan {
    min-height: auto;
  }

  .wallet-row {
    grid-template-columns: 1fr;
  }

  .copy-button {
    min-height: 42px;
  }

  footer {
    grid-template-columns: 1fr;
  }

  .footer-links {
    flex-wrap: wrap;
  }
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #06060f;
  --surface: #0f0f1e;
  --border: rgba(255,255,255,0.08);
  --text: #e8e8f0;
  --muted: #8888a8;
  --accent: #6366f1;
  --accent2: #a855f7;
  --green: #22c55e;
  --yellow: #eab308;
  --red: #ef4444;
  --gradient: linear-gradient(135deg, #6366f1, #a855f7, #ec4899);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  line-height: 1.6;
  overflow-x: hidden;
}

.bg-grid {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background-image: linear-gradient(rgba(99,102,241,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(99,102,241,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
}

.bg-glow {
  position: fixed; top: -200px; left: 50%; transform: translateX(-50%);
  width: 800px; height: 600px; z-index: 0; pointer-events: none;
  background: radial-gradient(ellipse, rgba(99,102,241,0.15) 0%, transparent 70%);
}

header {
  position: relative; z-index: 10;
  display: flex; justify-content: space-between; align-items: center;
  padding: 1.5rem 2rem; max-width: 1100px; margin: 0 auto;
}

.logo { font-size: 1.4rem; font-weight: 800; letter-spacing: -0.02em; }
.logo span { background: var(--gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }

nav { display: flex; gap: 2rem; }
nav a { color: var(--muted); text-decoration: none; font-size: 0.9rem; font-weight: 500; transition: color 0.2s; }
nav a:hover { color: var(--text); }

main { position: relative; z-index: 1; max-width: 1100px; margin: 0 auto; padding: 0 2rem 4rem; }

.hero { text-align: center; padding: 4rem 0 3rem; }

.badge {
  display: inline-block; padding: 0.4rem 1rem; border-radius: 999px;
  background: rgba(99,102,241,0.12); border: 1px solid rgba(99,102,241,0.25);
  font-size: 0.85rem; color: var(--accent); margin-bottom: 1.5rem;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); font-weight: 800; line-height: 1.15; letter-spacing: -0.03em; }
.gradient { background: var(--gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }

.subtitle {
  max-width: 560px; margin: 1.2rem auto 2.5rem; color: var(--muted);
  font-size: 1.1rem;
}

.scan-box {
  max-width: 600px; margin: 0 auto;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 16px; padding: 1.5rem;
}

.scan-input-wrap { display: flex; gap: 0.75rem; }
.scan-input-wrap input {
  flex: 1; padding: 0.85rem 1rem; border-radius: 10px;
  border: 1px solid var(--border); background: var(--bg);
  color: var(--text); font-size: 1rem; font-family: 'JetBrains Mono', monospace;
  outline: none; transition: border-color 0.2s;
}
.scan-input-wrap input:focus { border-color: var(--accent); }

.scan-input-wrap button {
  padding: 0.85rem 1.5rem; border-radius: 10px; border: none;
  background: var(--gradient); color: white; font-weight: 600;
  font-size: 0.95rem; cursor: pointer; white-space: nowrap;
  transition: opacity 0.2s, transform 0.1s;
}
.scan-input-wrap button:hover { opacity: 0.9; }
.scan-input-wrap button:active { transform: scale(0.98); }
.scan-input-wrap button:disabled { opacity: 0.5; cursor: not-allowed; }

.scan-hint { margin-top: 0.75rem; font-size: 0.8rem; color: var(--muted); }

.hidden { display: none !important; }

.results { margin: 3rem 0; }

.score-card {
  display: flex; gap: 2.5rem; align-items: center;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 20px; padding: 2rem; flex-wrap: wrap;
}

.score-ring { position: relative; width: 140px; height: 140px; flex-shrink: 0; }
.score-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ring-bg { fill: none; stroke: rgba(255,255,255,0.06); stroke-width: 8; }
.ring-fill {
  fill: none; stroke: url(#grad); stroke-width: 8;
  stroke-linecap: round; stroke-dasharray: 327; stroke-dashoffset: 327;
  transition: stroke-dashoffset 1s ease;
}

.score-inner {
  position: absolute; inset: 0; display: flex; flex-direction: column;
  align-items: center; justify-content: center;
}
.score-num { font-size: 2.2rem; font-weight: 800; line-height: 1; }
.score-label { font-size: 0.7rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.05em; }

.score-details { flex: 1; min-width: 250px; }
.grade {
  display: inline-block; padding: 0.25rem 0.75rem; border-radius: 6px;
  font-weight: 700; font-size: 0.85rem; margin-bottom: 0.5rem;
}
.grade-A { background: rgba(34,197,94,0.15); color: var(--green); }
.grade-B { background: rgba(99,102,241,0.15); color: var(--accent); }
.grade-C { background: rgba(234,179,8,0.15); color: var(--yellow); }
.grade-D, .grade-F { background: rgba(239,68,68,0.15); color: var(--red); }

.score-details h2 { font-size: 1.4rem; margin-bottom: 0.5rem; }
.score-details p { color: var(--muted); font-size: 0.95rem; }

.issues { margin-top: 1rem; display: flex; flex-direction: column; gap: 0.5rem; }
.issue-item {
  display: flex; align-items: flex-start; gap: 0.5rem;
  padding: 0.6rem 0.8rem; border-radius: 8px;
  background: rgba(239,68,68,0.06); border: 1px solid rgba(239,68,68,0.12);
  font-size: 0.85rem;
}
.issue-item .icon { color: var(--red); flex-shrink: 0; }

.upsell {
  margin-top: 2rem; text-align: center;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 20px; padding: 2rem;
}
.upsell h3 { font-size: 1.3rem; margin-bottom: 0.5rem; }
.upsell > p { color: var(--muted); margin-bottom: 1.5rem; }

.upsell-plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.5rem; }

.plan-card {
  position: relative; background: var(--bg); border: 1px solid var(--border);
  border-radius: 16px; padding: 1.5rem; text-align: left;
}
.plan-card.featured { border-color: var(--accent); box-shadow: 0 0 30px rgba(99,102,241,0.15); }
.plan-tag {
  position: absolute; top: -10px; right: 16px;
  background: var(--gradient); color: white; font-size: 0.7rem;
  font-weight: 600; padding: 0.2rem 0.6rem; border-radius: 999px;
}
.plan-price { font-size: 2rem; font-weight: 800; }
.plan-price small { font-size: 0.9rem; color: var(--muted); font-weight: 500; }
.plan-name { font-weight: 600; margin: 0.3rem 0 1rem; }
.plan-card ul { list-style: none; margin-bottom: 1.2rem; }
.plan-card li { font-size: 0.85rem; color: var(--muted); padding: 0.25rem 0; }
.plan-card li::before { content: '✓ '; color: var(--green); }
.plan-card button {
  width: 100%; padding: 0.75rem; border-radius: 10px; border: none;
  background: var(--gradient); color: white; font-weight: 600; cursor: pointer;
}
.plan-card:not(.featured) button { background: transparent; border: 1px solid var(--border); color: var(--text); }

.features { padding: 4rem 0; }
.features h2, .pricing-section h2 { text-align: center; font-size: 2rem; margin-bottom: 2rem; }
.section-sub { text-align: center; color: var(--muted); margin: -1rem 0 2rem; }

.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.5rem; }
.feature {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 16px; padding: 1.5rem;
}
.feature-icon { font-size: 1.8rem; margin-bottom: 0.75rem; }
.feature h3 { font-size: 1rem; margin-bottom: 0.4rem; }
.feature p { font-size: 0.85rem; color: var(--muted); }

.pricing-section { padding: 2rem 0 4rem; }
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.5rem; }
.price-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 16px; padding: 2rem; text-align: center;
}
.price-card.highlight { border-color: var(--accent); }
.price-card h3 { font-size: 1rem; color: var(--muted); margin-bottom: 0.5rem; }
.price-card .price { font-size: 2.5rem; font-weight: 800; margin-bottom: 1rem; }
.price-card .price small { font-size: 1rem; color: var(--muted); }
.price-card ul { list-style: none; text-align: left; margin-bottom: 1.5rem; }
.price-card li { font-size: 0.85rem; color: var(--muted); padding: 0.3rem 0; }
.price-card li::before { content: '✓ '; color: var(--green); }
.price-card button {
  width: 100%; padding: 0.75rem; border-radius: 10px; border: 1px solid var(--border);
  background: transparent; color: var(--text); font-weight: 600; cursor: pointer;
}
.price-card.highlight button { background: var(--gradient); border: none; color: white; }

.modal {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(0,0,0,0.7); backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center; padding: 1rem;
}
.modal-content {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 20px; padding: 2rem; max-width: 480px; width: 100%;
  max-height: 90vh; overflow-y: auto; position: relative;
}
.modal-close {
  position: absolute; top: 1rem; right: 1rem; background: none;
  border: none; color: var(--muted); font-size: 1.5rem; cursor: pointer;
}
.modal h2 { margin-bottom: 1rem; }

.order-summary {
  background: var(--bg); border-radius: 10px; padding: 1rem;
  margin-bottom: 1.5rem; font-size: 0.9rem;
}
.order-summary strong { color: var(--accent); }

.payment-box {
  background: rgba(99,102,241,0.08); border: 1px solid rgba(99,102,241,0.2);
  border-radius: 12px; padding: 1rem; margin-bottom: 1.5rem;
}
.payment-box h3 { font-size: 0.9rem; margin-bottom: 0.75rem; }
.wallet-row { display: flex; justify-content: space-between; padding: 0.3rem 0; font-size: 0.85rem; }
.wallet-row label { color: var(--muted); }
.wallet-row code {
  font-family: 'JetBrains Mono', monospace; font-size: 0.75rem;
  color: var(--accent); cursor: pointer; word-break: break-all; text-align: right; max-width: 60%;
}
.wallet-hint { font-size: 0.75rem; color: var(--muted); margin-top: 0.5rem; }

#orderForm label { display: block; font-size: 0.85rem; color: var(--muted); margin: 0.75rem 0 0.3rem; }
#orderForm input {
  width: 100%; padding: 0.7rem; border-radius: 8px;
  border: 1px solid var(--border); background: var(--bg); color: var(--text);
  font-size: 0.9rem; outline: none;
}
.submit-btn {
  width: 100%; margin-top: 1rem; padding: 0.85rem; border-radius: 10px;
  border: none; background: var(--gradient); color: white; font-weight: 600;
  font-size: 1rem; cursor: pointer;
}
.delivery-note { font-size: 0.8rem; color: var(--muted); text-align: center; margin-top: 0.75rem; }

.toast {
  position: fixed; bottom: 2rem; left: 50%; transform: translateX(-50%);
  background: var(--surface); border: 1px solid var(--green); color: var(--green);
  padding: 0.75rem 1.5rem; border-radius: 10px; z-index: 200;
  font-size: 0.9rem; font-weight: 500;
}

footer {
  position: relative; z-index: 1; text-align: center;
  padding: 2rem; color: var(--muted); font-size: 0.85rem;
  border-top: 1px solid var(--border);
}
footer a { color: var(--accent); }

@media (max-width: 640px) {
  header { padding: 1rem; }
  nav { display: none; }
  .scan-input-wrap { flex-direction: column; }
  .score-card { flex-direction: column; text-align: center; }
}
