:root {
  --bg: #09111a;
  --bg-2: #0f1d2d;
  --panel: rgba(10, 21, 33, 0.7);
  --panel-strong: rgba(9, 18, 30, 0.92);
  --line: rgba(115, 225, 255, 0.13);
  --text: #f4f8fc;
  --muted: #9ab0c7;
  --cold: #80d9ff;
  --mint: #8bf3c7;
  --amber: #ffd493;
  --crimson: #ff6a78;
  --violet: #8f9dff;
  --shadow: 0 30px 90px rgba(0, 0, 0, 0.36);
  --radius-xl: 36px;
  --radius-lg: 24px;
  --radius-md: 18px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  font-family: "Segoe UI Variable Display", "Aptos", "Franklin Gothic Medium", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(128, 217, 255, 0.12), transparent 22%),
    radial-gradient(circle at 85% 10%, rgba(143, 157, 255, 0.12), transparent 18%),
    linear-gradient(180deg, #06101a 0%, #0b1724 44%, #09111a 100%);
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.9), transparent 96%);
}

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

button {
  font: inherit;
}

.grid-glow,
.orb {
  position: fixed;
  pointer-events: none;
}

.grid-glow {
  inset: 0;
  background:
    radial-gradient(circle at 18% 22%, rgba(139, 243, 199, 0.08), transparent 18%),
    radial-gradient(circle at 82% 68%, rgba(255, 106, 120, 0.09), transparent 21%);
}

.orb {
  width: 380px;
  height: 380px;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.18;
}

.orb-a {
  top: -120px;
  right: -80px;
  background: #57c5ff;
}

.orb-b {
  bottom: -120px;
  left: -100px;
  background: #7f84ff;
}

.shell {
  position: relative;
  z-index: 2;
  width: min(1320px, calc(100% - 28px));
  margin: 0 auto;
  padding-bottom: 80px;
}

.topbar {
  position: sticky;
  top: 12px;
  z-index: 20;
  margin-top: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 20px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(7, 14, 24, 0.68);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-mark {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  font-weight: 800;
  color: #07121f;
  background: linear-gradient(145deg, var(--mint), var(--cold));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55);
}

.brand-copy {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.brand-copy strong {
  font-size: 1rem;
}

.brand-copy span {
  color: var(--muted);
  font-size: 0.84rem;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  color: var(--muted);
  font-size: 0.95rem;
}

.nav a:hover,
.nav a:focus-visible {
  color: var(--text);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  color: #07121f;
  font-weight: 700;
  background: linear-gradient(135deg, var(--mint), var(--cold));
  box-shadow: 0 16px 36px rgba(59, 181, 255, 0.22);
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button-ghost,
.button-secondary {
  color: var(--text);
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: none;
}

.hero {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 28px;
  padding: 88px 0 42px;
}

.hero-copy,
.hero-panel,
.stats,
.section,
.contact-card {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible,
.hero-copy.is-visible,
.hero-panel.is-visible,
.stats.is-visible,
.section.is-visible,
.contact-card.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--mint);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.78rem;
}

.hero h1,
.section-heading h2,
.contact-card h2 {
  margin: 0;
  line-height: 0.98;
  letter-spacing: -0.05em;
}

.hero h1 {
  max-width: 11ch;
  font-size: clamp(3.3rem, 8vw, 6.3rem);
}

.hero h1 span {
  color: var(--mint);
}

.hero-text,
.section-heading p,
.contact-card p,
.engine-card p,
.plan-card p,
.stat-card p {
  color: var(--muted);
  line-height: 1.7;
}

.hero-text {
  max-width: 60ch;
  margin: 22px 0 0;
  font-size: 1.05rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.hero-proof {
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
  color: var(--muted);
}

.hero-proof li {
  display: flex;
  align-items: center;
  gap: 12px;
}

.hero-proof li::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--mint), var(--cold));
  box-shadow: 0 0 0 6px rgba(139, 243, 199, 0.09);
}

.console-card,
.stat-card,
.engine-card,
.report-browser,
.plan-card,
.contact-card {
  border: 1px solid var(--line);
  background: var(--panel);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow);
}

.console-card {
  padding: 22px;
  border-radius: var(--radius-xl);
}

.console-top,
.score-band,
.finding-row,
.report-nav,
.mini-badges,
.trend-strip,
.contact-actions {
  display: flex;
  gap: 12px;
}

.console-top {
  align-items: center;
  color: var(--muted);
  font-size: 0.88rem;
}

.console-badge,
.engine-pill,
.plan-tier,
.report-label {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
}

.signal {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.signal-live {
  background: var(--mint);
  box-shadow: 0 0 0 8px rgba(139, 243, 199, 0.1);
}

.score-band {
  margin: 24px 0;
  justify-content: space-between;
  padding: 18px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.03);
}

.score-band div {
  display: grid;
  gap: 4px;
}

.score-band strong {
  font-size: clamp(1.7rem, 4vw, 2.6rem);
}

.score-band span {
  color: var(--muted);
  font-size: 0.86rem;
}

.finding-stream {
  display: grid;
  gap: 14px;
}

.finding-row {
  align-items: flex-start;
  padding: 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.03);
}

.finding-row strong {
  display: block;
  margin-bottom: 6px;
  font-size: 1rem;
}

.finding-row p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
  font-size: 0.92rem;
}

.sev {
  min-width: 78px;
  padding: 8px 12px;
  border-radius: 999px;
  text-align: center;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.sev-critical {
  color: #fff5f5;
  background: rgba(255, 106, 120, 0.18);
}

.sev-high {
  color: #fff9ed;
  background: rgba(255, 212, 147, 0.18);
}

.sev-medium {
  color: #ebfbff;
  background: rgba(128, 217, 255, 0.18);
}

.stats,
.engine-grid,
.plan-grid {
  display: grid;
  gap: 18px;
}

.stats {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 8px 0 34px;
}

.stat-card,
.engine-card,
.plan-card {
  padding: 24px;
  border-radius: 28px;
}

.stat-kicker {
  color: var(--cold);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.stat-card strong,
.engine-card h3,
.plan-card h3 {
  display: block;
  margin-top: 12px;
  font-size: 1.2rem;
}

.section {
  margin-top: 28px;
  padding: 36px;
  border-radius: 36px;
  background: rgba(7, 14, 24, 0.52);
  border: 1px solid var(--line);
}

.section-heading {
  max-width: 880px;
}

.section-heading h2,
.contact-card h2 {
  font-size: clamp(2.2rem, 5vw, 4rem);
}

.engine-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 24px;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
  margin-top: 28px;
}

.timeline-step {
  padding: 22px 18px;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  transition: border-color 0.25s ease, transform 0.25s ease, background 0.25s ease;
}

.timeline-step.is-active,
.timeline-step:hover {
  transform: translateY(-3px);
  border-color: rgba(139, 243, 199, 0.28);
  background: rgba(139, 243, 199, 0.05);
}

.timeline-step span {
  color: var(--mint);
  font-weight: 800;
}

.timeline-step h3 {
  margin: 12px 0 8px;
}

.timeline-step p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.report-layout {
  margin-top: 26px;
}

.report-browser {
  padding: 24px;
  border-radius: 30px;
}

.report-nav {
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.report-tab {
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.03);
  cursor: pointer;
}

.report-tab.is-active {
  color: var(--text);
  border-color: rgba(128, 217, 255, 0.26);
  background: rgba(128, 217, 255, 0.08);
}

.report-pane {
  display: none;
}

.report-pane.is-active {
  display: block;
}

.report-hero {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: flex-start;
}

.report-hero h3 {
  margin: 8px 0 0;
  max-width: 18ch;
  font-size: clamp(1.9rem, 3vw, 2.6rem);
  line-height: 1.05;
}

.mini-badges {
  flex-wrap: wrap;
  justify-content: flex-end;
}

.mini-badges span {
  min-height: 34px;
  padding: 0 12px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.04);
}

.report-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 22px;
}

.report-grid article,
.trend-strip article {
  padding: 18px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.03);
}

.report-grid span,
.trend-strip span {
  display: block;
  color: var(--cold);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.report-grid strong,
.trend-strip strong {
  display: block;
  margin: 10px 0 8px;
  font-size: 1.28rem;
}

.report-grid p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.finding-table {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
}

.finding-table th,
.finding-table td {
  padding: 16px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  text-align: left;
  vertical-align: top;
}

.finding-table th {
  color: var(--cold);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.trend-strip {
  margin-bottom: 18px;
}

.trend-strip article {
  flex: 1;
}

.timeline-chart {
  height: 240px;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
  align-items: end;
  padding: 18px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.03);
}

.timeline-chart span {
  border-radius: 18px 18px 8px 8px;
  background: linear-gradient(180deg, var(--mint), var(--cold));
}

.plan-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 24px;
}

.plan-card ul {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
  color: var(--muted);
}

.plan-card li::before {
  content: "• ";
  color: var(--mint);
}

.plan-card.featured {
  background:
    linear-gradient(180deg, rgba(128, 217, 255, 0.08), rgba(255, 255, 255, 0.03)),
    var(--panel);
  border-color: rgba(128, 217, 255, 0.22);
}

.contact {
  background: transparent;
  border: 0;
  padding: 0;
}

.contact-card {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 34px;
  border-radius: 34px;
}

.contact-actions {
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
}

@media (max-width: 1120px) {
  .hero,
  .stats,
  .engine-grid,
  .timeline,
  .report-grid,
  .plan-grid,
  .contact-card {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 62px;
  }

  .timeline {
    display: grid;
  }

  .topbar {
    border-radius: 32px;
    align-items: flex-start;
    flex-direction: column;
  }

  .nav {
    width: 100%;
  }

  .report-hero,
  .score-band {
    flex-direction: column;
  }
}

@media (max-width: 720px) {
  .shell {
    width: min(100% - 18px, 1320px);
  }

  .section,
  .console-card,
  .report-browser,
  .contact-card {
    padding: 22px;
  }

  .hero h1 {
    max-width: none;
  }

  .finding-table,
  .finding-table thead,
  .finding-table tbody,
  .finding-table tr,
  .finding-table th,
  .finding-table td {
    display: block;
  }

  .finding-table thead {
    display: none;
  }

  .finding-table tr {
    padding: 14px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .finding-table td {
    padding: 6px 0;
    border-bottom: 0;
  }
}
