html {
  scroll-behavior: smooth;
}

:root {
  --hero-tilt-x: 0deg;
  --hero-tilt-y: 0deg;
  --scene-shift-x: 0px;
  --scene-shift-y: 0px;
  --scroll-progress: 0;
}

[data-depth] {
  --parallax-x: 0px;
  --parallax-y: 0px;
}

body {
  background:
    radial-gradient(circle at top right, rgba(116, 200, 255, 0.08), transparent 26%),
    linear-gradient(180deg, #04070c 0%, #060b11 100%);
}

.hero-shell {
  position: relative;
  background:
    radial-gradient(circle at 82% 12%, rgba(116, 200, 255, 0.12), transparent 18%),
    radial-gradient(circle at 12% 24%, rgba(77, 227, 255, 0.06), transparent 24%),
    linear-gradient(180deg, #060a10 0%, #05080e 56%, #04070c 100%);
}

.hero-shell > * {
  position: relative;
  z-index: 1;
}

.line-waves-canvas {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0.82;
  mix-blend-mode: screen;
}

.ambient {
  position: absolute;
  border-radius: 999px;
  filter: blur(90px);
  opacity: 0.42;
  pointer-events: none;
}

.ambient-a {
  top: 6%;
  right: 10%;
  width: 20rem;
  height: 20rem;
  background: rgba(116, 200, 255, 0.14);
}

.ambient-b {
  left: -4rem;
  top: 28%;
  width: 14rem;
  height: 14rem;
  background: rgba(77, 227, 255, 0.08);
}

.ambient-c {
  bottom: 10%;
  left: 38%;
  width: 12rem;
  height: 12rem;
  background: rgba(69, 211, 175, 0.08);
}

.nav-link,
.cta-ghost {
  transition:
    color 220ms ease,
    transform 220ms ease,
    border-color 220ms ease,
    background-color 220ms ease;
}

.nav-link:hover,
.nav-link:focus-visible,
.cta-ghost:hover,
.cta-ghost:focus-visible {
  color: #fff;
  transform: translateY(-1px);
  outline: none;
}

.cta-ghost {
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
  padding: 0.7rem 1rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.82);
}

.hero-status__item,
.stat-tile,
.glass-card,
.feature-card,
.grid-card,
.process-step,
.interface-card,
.faq-card,
.closing-panel {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(18px);
}

.hero-status__item,
.stat-tile {
  padding: 1rem;
}

.hero-status__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.hero-status__item strong {
  color: rgba(255, 255, 255, 0.84);
  font-weight: 600;
}

.eyebrow {
  border: 1px solid rgba(116, 200, 255, 0.18);
  background: rgba(116, 200, 255, 0.08);
  padding: 0.65rem 0.95rem;
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #74c8ff;
}

.status-dot,
.panel-badge__dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: currentColor;
  box-shadow: 0 0 18px currentColor;
}

.hero-title {
  max-width: 12ch;
}

.cta-primary,
.cta-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 12rem;
  padding: 0.95rem 1.3rem;
  font-size: 0.95rem;
  font-weight: 600;
  transition:
    transform 220ms ease,
    border-color 220ms ease,
    background-color 220ms ease,
    box-shadow 220ms ease;
}

.cta-primary {
  border: 1px solid #74c8ff;
  background: linear-gradient(180deg, rgba(116, 200, 255, 1), rgba(101, 191, 255, 0.92));
  color: #08121a;
  box-shadow: 0 18px 40px rgba(116, 200, 255, 0.18);
}

.cta-secondary {
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
  color: #fff;
}

.cta-primary:hover,
.cta-secondary:hover,
.cta-primary:focus-visible,
.cta-secondary:focus-visible {
  transform: translateY(-2px);
  outline: none;
}

.stat-tile__label,
.panel-kicker,
.section-kicker,
.grid-card__eyebrow,
.process-step__index {
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.stat-tile__label,
.panel-kicker,
.section-kicker {
  color: rgba(116, 200, 255, 0.78);
}

.stat-tile__value {
  display: block;
  margin-top: 0.9rem;
  font-family: "Plus Jakarta Sans", "Inter", sans-serif;
  font-size: clamp(2.6rem, 4vw, 4rem);
  font-weight: 800;
  letter-spacing: -0.08em;
  line-height: 0.9;
  color: #fff;
}

.stat-tile__body {
  margin-top: 0.85rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.58);
}

.dashboard-shell {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.09);
  background: linear-gradient(180deg, rgba(10, 16, 24, 0.96), rgba(6, 10, 16, 0.98));
  transform-style: preserve-3d;
  transform:
    rotateX(var(--hero-tilt-x))
    rotateY(var(--hero-tilt-y))
    translate3d(0, calc(var(--scroll-progress) * -16px), 0);
}

.dashboard-shell__grid,
.dashboard-shell__glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.dashboard-shell__grid {
  background-image:
    linear-gradient(rgba(150, 174, 197, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(150, 174, 197, 0.055) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.92), transparent 90%);
}

.dashboard-shell__glow {
  background:
    radial-gradient(circle at 78% 12%, rgba(116, 200, 255, 0.14), transparent 24%),
    radial-gradient(circle at 18% 72%, rgba(77, 227, 255, 0.08), transparent 24%);
}

.dashboard-shell__header {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1.5rem;
}

.panel-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  border: 1px solid rgba(69, 211, 175, 0.18);
  background: rgba(69, 211, 175, 0.08);
  padding: 0.7rem 1rem;
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #45d3af;
}

.dashboard-shell__body {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 1rem;
  padding: 1.4rem;
  grid-template-columns: minmax(0, 1.12fr) minmax(280px, 0.88fr);
}

.dashboard-main,
.dashboard-side {
  display: grid;
  gap: 1rem;
}

.glass-card,
.feature-card,
.grid-card,
.process-step,
.interface-card,
.faq-card,
.closing-panel {
  transition:
    transform 240ms ease,
    border-color 240ms ease,
    background-color 240ms ease,
    box-shadow 240ms ease;
}

.glass-card:hover,
.feature-card:hover,
.grid-card:hover,
.process-step:hover,
.interface-card:hover,
.faq-card:hover {
  transform: translateY(-6px);
  border-color: rgba(116, 200, 255, 0.18);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.22);
}

.glass-card::before,
.feature-card::before,
.grid-card::before,
.process-step::before,
.interface-card::before,
.faq-card::before,
.closing-panel::before {
  content: "";
  position: absolute;
  inset: -1px;
  background: linear-gradient(120deg, rgba(116, 200, 255, 0.12), transparent 42%, transparent 65%, rgba(77, 227, 255, 0.08));
  opacity: 0;
  transition: opacity 240ms ease;
  pointer-events: none;
}

.glass-card:hover::before,
.feature-card:hover::before,
.grid-card:hover::before,
.process-step:hover::before,
.interface-card:hover::before,
.faq-card:hover::before {
  opacity: 1;
}

.discipline-meter,
.chart-panel,
.signal-log,
.mini-metrics,
.feature-card,
.grid-card,
.process-step,
.interface-card {
  padding: 1.4rem;
}

.discipline-meter__score {
  display: block;
  margin-top: 0.7rem;
  font-family: "Plus Jakarta Sans", "Inter", sans-serif;
  font-size: clamp(3.2rem, 5vw, 4.8rem);
  font-weight: 800;
  line-height: 0.9;
  letter-spacing: -0.08em;
  color: #fff;
}

.discipline-meter__ring {
  position: relative;
  width: 82px;
  height: 82px;
  border-radius: 999px;
  border: 1px solid rgba(116, 200, 255, 0.18);
  background:
    conic-gradient(from 0deg, rgba(116, 200, 255, 0.92) 0 300deg, rgba(255, 255, 255, 0.04) 300deg 360deg);
}

.discipline-meter__ring-core {
  position: absolute;
  inset: 10px;
  border-radius: 999px;
  background: #09111a;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.discipline-meter__track {
  margin-top: 1.4rem;
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  overflow: hidden;
}

.discipline-meter__fill {
  display: block;
  width: 84%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, rgba(77, 227, 255, 0.9), rgba(116, 200, 255, 1));
}

.chart-panel__tag,
.signal-log__tag {
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  padding: 0.4rem 0.65rem;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.7);
}

.chart-grid {
  margin-top: 1.4rem;
}

.chart-grid__svg {
  width: 100%;
  height: auto;
}

.chart-grid__path {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.chart-grid__path-muted {
  stroke: rgba(255, 255, 255, 0.16);
  stroke-width: 3;
}

.chart-grid__path-main {
  stroke: rgba(116, 200, 255, 0.95);
  stroke-width: 4;
  filter: drop-shadow(0 0 18px rgba(116, 200, 255, 0.18));
}

.chart-grid__labels {
  display: flex;
  justify-content: space-between;
  margin-top: 0.85rem;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.46);
}

.signal-log__list {
  margin-top: 1.2rem;
  display: grid;
  gap: 1rem;
}

.signal-log__list li {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 0.85rem;
  padding-top: 0.9rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.signal-log__list li:first-child {
  border-top: 0;
  padding-top: 0;
}

.signal-log__list span {
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(116, 200, 255, 0.78);
}

.signal-log__list p,
.mini-metrics__row span,
.feature-card p,
.grid-card p,
.process-step p,
.interface-card__rows span,
.faq-card p {
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.62);
}

.mini-metrics__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 0.95rem;
  margin-top: 0.95rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.mini-metrics__row strong,
.interface-card__rows strong {
  color: #fff;
  font-weight: 700;
}

.section-shell {
  position: relative;
}

.section-title,
.editorial-title {
  font-family: "Plus Jakarta Sans", "Inter", sans-serif;
  font-weight: 800;
  line-height: 0.96;
  letter-spacing: -0.07em;
  color: #fff;
}

.section-title {
  max-width: 14ch;
  font-size: clamp(2.5rem, 4.6vw, 4.8rem);
}

.editorial-title {
  max-width: 12ch;
  font-size: clamp(2.5rem, 4.8vw, 5rem);
}

.feature-card,
.grid-card,
.interface-card {
  min-height: 100%;
}

.feature-card h3,
.grid-card h3,
.process-step h3 {
  margin-top: 1rem;
  font-size: 1.6rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.04em;
}

.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  border: 1px solid rgba(116, 200, 255, 0.16);
  background: rgba(116, 200, 255, 0.08);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.feature-icon span {
  width: 16px;
  height: 16px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(116, 200, 255, 1), rgba(77, 227, 255, 0.7));
  box-shadow: 0 0 16px rgba(116, 200, 255, 0.3);
}

.grid-card__eyebrow {
  color: rgba(116, 200, 255, 0.82);
}

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

.interface-card--wide {
  grid-column: span 2;
}

.interface-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.interface-card__head span {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.58);
}

.interface-card__bars {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  align-items: end;
  gap: 0.7rem;
  height: 8rem;
  margin-top: 1.2rem;
}

.interface-card__bars span {
  display: block;
  min-height: 1rem;
  background: linear-gradient(180deg, rgba(116, 200, 255, 1), rgba(116, 200, 255, 0.2));
  border-radius: 999px 999px 0 0;
}

.interface-card__bars span:nth-child(1) { height: 34%; }
.interface-card__bars span:nth-child(2) { height: 56%; }
.interface-card__bars span:nth-child(3) { height: 48%; }
.interface-card__bars span:nth-child(4) { height: 74%; }
.interface-card__bars span:nth-child(5) { height: 86%; }
.interface-card__bars span:nth-child(6) { height: 64%; }

.interface-card__rows {
  display: grid;
  gap: 1rem;
  margin-top: 1.15rem;
}

.interface-card__rows div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.interface-card__gauge {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 10rem;
}

.interface-card__gauge strong {
  position: relative;
  z-index: 1;
  font-family: "Plus Jakarta Sans", "Inter", sans-serif;
  font-size: 3rem;
  font-weight: 800;
  letter-spacing: -0.07em;
}

.interface-card__gauge-ring {
  position: absolute;
  width: 130px;
  height: 130px;
  border-radius: 999px;
  border: 1px solid rgba(116, 200, 255, 0.15);
  background:
    conic-gradient(from 0deg, rgba(116, 200, 255, 0.88) 0 286deg, rgba(255, 255, 255, 0.05) 286deg 360deg);
  mask: radial-gradient(circle, transparent 57%, black 58%);
}

.process-flow {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.process-step__index {
  color: rgba(116, 200, 255, 0.82);
}

.faq-card {
  padding: 1.5rem;
}

.faq-card summary {
  cursor: pointer;
  list-style: none;
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
}

.faq-card summary::-webkit-details-marker {
  display: none;
}

.faq-card p {
  margin-top: 1rem;
}

.closing-panel {
  padding: 2.4rem;
}

.reveal-block {
  opacity: 0;
  transform: translateY(26px);
}

@media (max-width: 1023px) {
  .dashboard-shell {
    transform: none;
  }

  .dashboard-shell__body {
    grid-template-columns: 1fr;
  }

  .process-flow {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  .dashboard-shell__header,
  .interface-card__head {
    flex-direction: column;
    align-items: flex-start;
  }

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

  .interface-card--wide {
    grid-column: span 1;
  }

  .closing-panel {
    padding: 1.8rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .line-waves-canvas {
    display: none;
  }

  .dashboard-shell {
    transform: none;
  }

  .reveal-block {
    opacity: 1;
    transform: none;
  }

  .glass-card:hover,
  .feature-card:hover,
  .grid-card:hover,
  .process-step:hover,
  .interface-card:hover,
  .faq-card:hover {
    transform: none;
  }
}
