﻿:root {
  --bg: #120f1f;
  --card: rgba(255, 255, 255, 0.08);
  --line: rgba(255, 255, 255, 0.14);
  --text: #fffaf2;
  --muted: #c7bed0;
  --pink: #ff3d8b;
  --orange: #ff9f1f;
  --cyan: #00d4ff;
  --purple: #7c4dff;
  --lime: #b8ff3d;
  --green: #31e981;
  --shadow: 0 26px 70px rgba(0, 0, 0, 0.35);
  --radius: 28px;
}

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

body {
  min-height: 100vh;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 8% 10%, rgba(255, 61, 139, 0.3), transparent 28%),
    radial-gradient(circle at 88% 8%, rgba(0, 212, 255, 0.24), transparent 24%),
    radial-gradient(circle at 50% 100%, rgba(184, 255, 61, 0.14), transparent 36%),
    var(--bg);
  line-height: 1.5;
}

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

.app {
  width: min(1220px, 94%);
  margin: 0 auto;
  padding: 24px 0 64px;
}

header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 30px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 950;
  letter-spacing: -0.04em;
  font-size: 1.25rem;
}

.mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--pink), var(--orange));
}

.top-nav {
  display: flex;
  gap: 20px;
  color: var(--muted);
  font-weight: 800;
  flex-wrap: wrap;
}

.top-nav a:hover { color: var(--text); }

.panel {
  background: linear-gradient(180deg, rgba(255,255,255,0.12), rgba(255,255,255,0.06));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-bottom: 44px;
}

.hero-copy,
.hero-dashboard {
  padding: 30px;
}

.hero-dashboard {
  position: relative;
  overflow: hidden;
}

.hero-dashboard::after {
  content: "";
  position: absolute;
  width: 220px;
  height: 220px;
  right: -70px;
  top: -80px;
  border-radius: 50%;
  background: rgba(255, 61, 139, 0.16);
  pointer-events: none;
}

.eyebrow {
  display: inline-flex;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(184, 255, 61, 0.14);
  color: var(--lime);
  font-weight: 900;
  margin-bottom: 18px;
}

h1 {
  font-size: clamp(2.8rem, 6vw, 5.8rem);
  line-height: 0.88;
  letter-spacing: -0.07em;
  margin-bottom: 16px;
}

.gradient-text {
  background: linear-gradient(135deg, var(--lime), var(--cyan), var(--pink));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lead {
  color: var(--muted);
  max-width: 640px;
  margin-bottom: 24px;
  font-size: 1.04rem;
}

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

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-badges span {
  padding: 8px 11px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.08);
  font-weight: 800;
  font-size: 0.86rem;
}

.dash-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.live-pill {
  padding: 7px 11px;
  border-radius: 999px;
  background: rgba(49,233,129,.15);
  color: var(--green);
  border: 1px solid rgba(49,233,129,.3);
  font-weight: 900;
  animation: livePulse 2.6s ease-in-out infinite;
}

.dash-score-ring {
  width: 180px;
  height: 180px;
  margin: 4px auto 18px;
  border-radius: 50%;
  background: conic-gradient(var(--lime) 0 34%, var(--cyan) 34% 66%, var(--pink) 66% 100%);
  padding: 14px;
}

.dash-score-ring > div {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: #1a1430;
  display: grid;
  place-items: center;
}

.dash-score-ring b {
  font-size: 2.5rem;
  line-height: 1;
  letter-spacing: -0.06em;
}

.dash-score-ring small {
  color: var(--muted);
  font-weight: 700;
  font-size: 0.84rem;
}

.dash-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-bottom: 14px;
}

.dash-grid article {
  background: rgba(255,255,255,.07);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 12px;
}

.dash-grid small { color: var(--muted); display: block; font-size: 0.78rem; }
.dash-grid strong { display: block; margin: 2px 0 8px; }

.meter {
  display: block;
  height: 8px;
  border-radius: 999px;
  background: rgba(255,255,255,.15);
  overflow: hidden;
}

.meter::after {
  content: "";
  display: block;
  height: 100%;
  border-radius: 999px;
  transform-origin: left center;
  transform: scaleX(0);
  animation: barFill 1s ease-out forwards;
}
.m1::after { width: 96%; background: linear-gradient(90deg, var(--green), var(--lime)); }
.m2::after { width: 84%; background: linear-gradient(90deg, var(--cyan), var(--purple)); }
.m3::after { width: 73%; background: linear-gradient(90deg, var(--orange), var(--pink)); }
.m4::after { width: 81%; background: linear-gradient(90deg, var(--purple), var(--cyan)); }
.m1::after { animation-delay: .16s; }
.m2::after { animation-delay: .28s; }
.m3::after { animation-delay: .4s; }
.m4::after { animation-delay: .52s; }

.dash-events p {
  display: flex;
  gap: 8px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,.08);
  color: var(--muted);
  font-weight: 700;
  font-size: 0.88rem;
  opacity: 0;
  transform: translateY(5px);
  animation: eventReveal .6s ease forwards;
}

.dash-events p:last-child { border-bottom: 0; }
.dash-events span { color: var(--lime); font-weight: 900; }
.dash-events p:nth-child(1) { animation-delay: .22s; }
.dash-events p:nth-child(2) { animation-delay: .42s; }
.dash-events p:nth-child(3) { animation-delay: .62s; }

.scores,
.incident-flow,
.how-grid,
.reco-grid,
.pack-grid,
.target-grid,
.trust-grid {
  display: grid;
  gap: 14px;
}

.incident,
.how,
.reco,
.before-after,
.packs,
.limits,
.trust,
.targets,
.final-cta {
  margin-bottom: 44px;
}

.page-hero {
  padding: 30px;
  margin-bottom: 28px;
}

.form-panel {
  padding: 24px;
  max-width: 760px;
}

.form-panel form {
  display: grid;
  gap: 10px;
}

.form-panel label {
  font-weight: 800;
  color: var(--text);
}

.form-panel input,
.form-panel textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  border-radius: 12px;
  padding: 12px;
  font: inherit;
}

.form-panel input::placeholder,
.form-panel textarea::placeholder {
  color: var(--muted);
}

.form-note {
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 700;
  margin-top: 4px;
}

.scores { grid-template-columns: repeat(4, 1fr); }
.incident-flow { grid-template-columns: repeat(4, 1fr); }
.how-grid { grid-template-columns: repeat(3, 1fr); }
.how-grid.four { grid-template-columns: repeat(4, 1fr); }
.reco-grid { grid-template-columns: repeat(3, 1fr); }
.pack-grid { grid-template-columns: repeat(4, 1fr); }
.target-grid { grid-template-columns: repeat(4, 1fr); }
.trust-grid { grid-template-columns: repeat(3, 1fr); }

.score-card,
.step-card,
.reco-card,
.pack-card,
.compare-card,
.target-grid article,
.incident-flow article,
.limits-grid article,
.trust-grid article {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 20px;
}

.incident,
.interventions {
  padding: 26px;
}

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

.interventions-grid article {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.06);
  padding: 16px;
}

.interventions-grid span {
  display: inline-block;
  margin-bottom: 6px;
  font-size: 0.82rem;
  font-weight: 900;
  color: var(--lime);
}

.interventions-grid p {
  color: var(--muted);
  font-weight: 700;
  font-size: 0.94rem;
}

.simplicity-note {
  margin: -20px 0 36px;
  color: var(--text);
  font-weight: 800;
  font-size: 1.08rem;
  letter-spacing: -0.01em;
}

.section-headline {
  margin: 8px 0 14px;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.4rem);
  letter-spacing: -0.05em;
  line-height: .95;
  margin-bottom: 8px;
}

.section-headline p { color: var(--muted); max-width: 720px; }

.score-label {
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-weight: 900;
  margin-bottom: 10px;
}

.score {
  font-size: 2.8rem;
  font-weight: 950;
  letter-spacing: -0.07em;
}

.score small { font-size: 1rem; color: var(--muted); }

.progress {
  margin: 10px 0;
  height: 10px;
  border-radius: 999px;
  background: rgba(255,255,255,.12);
  overflow: hidden;
}

.progress span { display: block; height: 100%; border-radius: 999px; }
.p-health { width: 96%; background: linear-gradient(90deg, var(--green), var(--lime)); }
.p-perf { width: 84%; background: linear-gradient(90deg, var(--cyan), var(--purple)); }
.p-seo { width: 73%; background: linear-gradient(90deg, var(--orange), var(--pink)); }
.p-geo { width: 81%; background: linear-gradient(90deg, var(--purple), var(--cyan)); }
.scores .progress span {
  transform-origin: left center;
  transform: scaleX(0);
  animation: barFill 1.1s ease-out forwards;
}
.scores .score-card:nth-child(1) .progress span { animation-delay: .2s; }
.scores .score-card:nth-child(2) .progress span { animation-delay: .32s; }
.scores .score-card:nth-child(3) .progress span { animation-delay: .44s; }
.scores .score-card:nth-child(4) .progress span { animation-delay: .56s; }

.score-note { color: var(--muted); font-size: 0.9rem; }

.incident-flow b,
.step-card span,
.reco-card b {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-weight: 900;
  background: linear-gradient(135deg, var(--pink), var(--orange));
  margin-bottom: 10px;
}

.incident-flow h3,
.step-card h3,
.reco-card h3,
.pack-card h3,
.compare-card h3,
.limits-grid h3 {
  font-size: 1.15rem;
  letter-spacing: -0.03em;
  margin-bottom: 6px;
}

.incident-flow p,
.step-card p,
.reco-card p,
.compare-card li,
.target-grid article,
.pack-card li,
.final-cta p,
.limits-grid li,
.trust-grid article {
  color: var(--muted);
  font-weight: 700;
}

.compare-grid,
.limits-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.compare-card ul,
.pack-card ul,
.limits-grid ul {
  list-style: none;
  display: grid;
  gap: 8px;
  margin-top: 6px;
}

.compare-card li::before,
.pack-card li::before,
.limits-grid li::before {
  content: "✓ ";
  color: var(--lime);
  font-weight: 900;
}

.compare-card.before { border-color: rgba(255,159,31,.35); }
.compare-card.after { border-color: rgba(49,233,129,.35); }

.pack-tag {
  display: inline-block;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,.1);
  color: var(--muted);
  font-size: .78rem;
  font-weight: 900;
  margin-bottom: 8px;
}

.price {
  font-size: 2rem;
  font-weight: 950;
  letter-spacing: -0.05em;
  margin-bottom: 10px;
}

.price small { font-size: .95rem; color: var(--muted); }

.pack-card.featured {
  border-color: rgba(255,61,139,.62);
  box-shadow: 0 18px 60px rgba(255,61,139,.22);
  transform: translateY(-6px);
}

.final-cta {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  align-items: center;
  gap: 14px;
  border-radius: 28px;
  border: 1px solid var(--line);
  background: linear-gradient(135deg, rgba(255,61,139,.14), rgba(0,212,255,.14));
  padding: 28px;
}

.final-cta-actions {
  display: grid;
  gap: 10px;
}

.cta {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 12px 18px;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-weight: 900;
  transition: .2s ease;
}

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

.cta-hot {
  background: linear-gradient(135deg, var(--pink), var(--orange));
  color: white;
  border: 0;
}

.cta-soft { background: rgba(255,255,255,.11); }
.cta-ghost { background: rgba(255,255,255,.06); }

footer {
  text-align: center;
  color: var(--muted);
  font-size: .9rem;
  padding-top: 16px;
  display: grid;
  gap: 6px;
}

.footer-slogan {
  color: var(--text);
  font-weight: 850;
}

.footer-note,
.footer-contact {
  color: #d5cce0;
}

.footer-legal {
  color: #b7acc4;
  font-size: 0.84rem;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--lime);
  outline-offset: 3px;
  border-radius: 12px;
}

@keyframes livePulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(49, 233, 129, 0.25); }
  50% { box-shadow: 0 0 0 10px rgba(49, 233, 129, 0); }
}

@keyframes barFill {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

@keyframes eventReveal {
  from { opacity: 0; transform: translateY(5px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 1100px) {
  .scores,
  .incident-flow,
  .how-grid.four,
  .pack-grid,
  .target-grid,
  .trust-grid,
  .interventions-grid { grid-template-columns: repeat(2, 1fr); }
  .hero { grid-template-columns: 1fr; }
}

@media (max-width: 980px) {
  .top-nav {
    width: 100%;
    gap: 10px;
    font-size: 0.92rem;
  }
  .reco-grid,
  .how-grid,
  .compare-grid,
  .limits-grid,
  .final-cta { grid-template-columns: 1fr; }
  .hero-copy,
  .hero-dashboard,
  .incident,
  .interventions { padding: 24px; }
}

@media (max-width: 640px) {
  h1 { font-size: 3rem; }
  .scores,
  .incident-flow,
  .how-grid,
  .how-grid.four,
  .reco-grid,
  .pack-grid,
  .target-grid,
  .trust-grid,
  .interventions-grid { grid-template-columns: 1fr; }
  .score-card,
  .step-card,
  .reco-card,
  .pack-card,
  .compare-card,
  .target-grid article,
  .incident-flow article,
  .limits-grid article,
  .trust-grid article,
  .final-cta { padding: 18px; }
  .score { font-size: 2.35rem; }
  .dash-score-ring { width: 160px; height: 160px; }
  header { flex-wrap: wrap; }
  .top-nav {
    gap: 8px;
    font-size: 0.84rem;
  }
  .top-nav a {
    padding: 4px 0;
  }
  .cta-soft { width: 100%; }
  .simplicity-note {
    margin: -8px 0 30px;
    font-size: 1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .live-pill,
  .meter::after,
  .scores .progress span,
  .dash-events p {
    animation: none;
    transform: none;
    opacity: 1;
  }
}
