:root {
  --bg: #06111c;
  --bg-deep: #030910;
  --panel: rgba(7, 19, 31, 0.82);
  --panel-strong: rgba(7, 20, 34, 0.92);
  --line: rgba(99, 232, 255, 0.18);
  --line-strong: rgba(99, 232, 255, 0.44);
  --glow: #61e8ff;
  --glow-soft: rgba(97, 232, 255, 0.18);
  --text: #eefbff;
  --muted: #8fb6c5;
  --muted-strong: #b6dbe6;
  --accent: #22f0d6;
  --accent-deep: #0a5d76;
  --danger: #7d233d;
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --shadow: 0 28px 70px rgba(0, 0, 0, 0.45);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Rajdhani", sans-serif;
  color: var(--text);
  background:
    linear-gradient(180deg, rgba(3, 10, 16, 0.84), rgba(3, 10, 16, 0.9)),
    url("assets/nova-circuit-bg.png") center top / cover no-repeat,
    linear-gradient(180deg, #07131e 0%, #030810 100%);
  overflow-x: hidden;
  position: relative;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(5, 12, 20, 0.18), rgba(5, 12, 20, 0.56)),
    radial-gradient(circle at 50% 42%, rgba(97, 232, 255, 0.08), transparent 26%);
  opacity: 1;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(2, 9, 15, 0.04), rgba(2, 9, 15, 0.18)),
    radial-gradient(circle at right bottom, rgba(3, 10, 16, 0.96) 0 56px, transparent 57px);
  opacity: 1;
}

img {
  display: block;
  max-width: 100%;
}

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

.page-shell {
  position: relative;
  width: min(1320px, calc(100% - 40px));
  margin: 0 auto;
  padding: 22px 22px 30px;
  min-height: 100vh;
  background: transparent;
  isolation: isolate;
}

.page-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  border-top: 1px solid rgba(97, 232, 255, 0.12);
  pointer-events: none;
}

.page-shell::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(3, 10, 16, 0.08), transparent 14%, transparent 82%, rgba(3, 10, 16, 0.24)),
    radial-gradient(circle at 18% 38%, rgba(97, 232, 255, 0.028), transparent 18%),
    radial-gradient(circle at 80% 34%, rgba(97, 232, 255, 0.022), transparent 16%),
    radial-gradient(circle at 50% 50%, rgba(97, 232, 255, 0.055), transparent 22%),
    radial-gradient(circle at 48% 78%, rgba(97, 232, 255, 0.024), transparent 16%);
  opacity: 1;
}

.circuit {
  display: none;
}

.circuit::before,
.circuit::after {
  content: none;
}

.circuit-top,
.circuit-bottom {
  display: none;
}

.circuit-top::before,
.circuit-top::after,
.circuit-bottom::before,
.circuit-bottom::after {
  content: none;
}

.tech-cluster {
  display: none;
}

.topbar,
.hero,
.feature-band,
.showcase,
.system-grid,
.footer {
  position: relative;
  z-index: 1;
}

.topbar {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 6px 4px 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  position: relative;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  filter: drop-shadow(0 0 16px rgba(97, 232, 255, 0.28));
}

.brand-mark svg {
  width: 44px;
  height: 44px;
  overflow: visible;
}

.brand-mark path {
  fill: none;
  stroke: url(#brand-gradient);
  stroke: #47eaff;
  stroke-width: 8;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 0 5px rgba(97, 232, 255, 0.55));
}

.brand-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
  line-height: 0.95;
}

.brand-copy strong,
.brand-copy span {
  font-family: "Orbitron", sans-serif;
  letter-spacing: 0.06em;
}

.brand-copy strong {
  font-size: 1.12rem;
  color: #6ef4ff;
}

.brand-copy span {
  font-size: 0.92rem;
  color: #8acddd;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-left: auto;
  font-size: 1.1rem;
}

.site-nav a {
  position: relative;
  color: var(--muted-strong);
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 1px;
  background: var(--glow);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  transform: scaleX(1);
}

.menu-toggle {
  display: none;
  margin-left: auto;
  width: 48px;
  height: 48px;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  background: rgba(5, 15, 24, 0.92);
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 6px auto;
  background: var(--glow);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 14px;
  border: 1px solid rgba(97, 232, 255, 0.24);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.03em;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease,
    background 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.22);
}

.button-primary {
  background: linear-gradient(135deg, var(--glow), var(--accent));
  color: #04212b;
  box-shadow: 0 0 28px rgba(97, 232, 255, 0.28);
}

.button-secondary {
  background: rgba(6, 19, 31, 0.9);
  color: var(--text);
}

.hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 32px;
  padding: 32px 0 42px;
}

.hero-copy {
  padding-top: 22px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--glow);
  font-family: "Orbitron", sans-serif;
  font-size: 0.82rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero h1,
.showcase h2,
.system-panel h2,
.hash-panel h2 {
  margin: 0;
  font-family: "Orbitron", sans-serif;
  font-weight: 800;
  line-height: 1.02;
}

.hero h1 {
  max-width: 10ch;
  font-size: clamp(3.5rem, 7vw, 5.6rem);
}

.hero-text,
.showcase-copy p,
.feature-card p,
.hash-copy p {
  color: var(--muted-strong);
  font-size: 1.28rem;
  line-height: 1.35;
}

.hero-text {
  max-width: 36rem;
  margin: 20px 0 0;
}

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

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 30px;
}

.metric-card,
.feature-card,
.panel {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background:
    linear-gradient(180deg, rgba(8, 20, 34, 0.94), rgba(5, 13, 21, 0.94));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.metric-card {
  padding: 16px;
}

.metric-card strong {
  display: block;
  margin: 10px 0 6px;
  font-size: 1.18rem;
}

.metric-card p {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
}

.metric-label {
  color: var(--glow);
  font-family: "Orbitron", sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-visual {
  display: flex;
  align-items: center;
}

.signal-panel {
  position: relative;
  width: 100%;
  min-height: 650px;
  padding: 24px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: calc(var(--radius-lg) + 4px);
  background:
    radial-gradient(circle at center, rgba(97, 232, 255, 0.09), transparent 35%),
    linear-gradient(180deg, rgba(5, 13, 21, 0.96), rgba(4, 8, 14, 0.98));
}

.signal-grid {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 0 13%, rgba(97, 232, 255, 0.05) 13% 13.3%, transparent 13.3% 100%),
    linear-gradient(90deg, transparent 0 11%, rgba(97, 232, 255, 0.03) 11% 11.3%, transparent 11.3% 100%);
  opacity: 0.6;
}

.signal-grid::after {
  content: "";
  position: absolute;
  inset: 8% 10%;
  border-radius: 999px;
  border: 1px solid rgba(97, 232, 255, 0.08);
}

.orb-wrap {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
}

.orb-ring,
.orb-core {
  position: absolute;
  border-radius: 50%;
}

.orb-ring-outer {
  width: min(70vw, 420px);
  height: min(70vw, 420px);
  border: 4px solid rgba(171, 247, 255, 0.94);
  box-shadow:
    0 0 20px rgba(97, 232, 255, 0.55),
    0 0 46px rgba(97, 232, 255, 0.14),
    inset 0 0 18px rgba(97, 232, 255, 0.14);
  animation: pulse 5s ease-in-out infinite;
}

.orb-ring-mid {
  width: min(50vw, 286px);
  height: min(50vw, 286px);
  border: 1px solid rgba(81, 201, 225, 0.18);
}

.orb-ring-inner {
  width: min(30vw, 168px);
  height: min(30vw, 168px);
  border: 1px solid rgba(97, 232, 255, 0.34);
}

.orb-core {
  display: grid;
  place-items: center;
  width: min(34vw, 196px);
  height: min(34vw, 196px);
  background:
    radial-gradient(circle at center, rgba(8, 22, 31, 0.22), rgba(3, 10, 16, 0.96) 72%);
  box-shadow:
    inset 0 0 38px rgba(0, 0, 0, 0.52),
    0 0 18px rgba(97, 232, 255, 0.05);
}

.orb-waveform {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  width: min(36vw, 196px);
  height: 72px;
}

.orb-waveform span {
  display: block;
  width: 3px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(171, 247, 255, 0.38), rgba(171, 247, 255, 1), rgba(171, 247, 255, 0.38));
  box-shadow: 0 0 8px rgba(97, 232, 255, 0.32);
  transform-origin: center;
  animation: waveform 1.8s ease-in-out infinite;
}

.orb-waveform span:nth-child(1),
.orb-waveform span:nth-child(25) { height: 10px; }
.orb-waveform span:nth-child(2),
.orb-waveform span:nth-child(24) { height: 14px; animation-delay: -0.08s; }
.orb-waveform span:nth-child(3),
.orb-waveform span:nth-child(23) { height: 20px; animation-delay: -0.16s; }
.orb-waveform span:nth-child(4),
.orb-waveform span:nth-child(22) { height: 16px; animation-delay: -0.24s; }
.orb-waveform span:nth-child(5),
.orb-waveform span:nth-child(21) { height: 26px; animation-delay: -0.32s; }
.orb-waveform span:nth-child(6),
.orb-waveform span:nth-child(20) { height: 18px; animation-delay: -0.12s; }
.orb-waveform span:nth-child(7),
.orb-waveform span:nth-child(19) { height: 34px; animation-delay: -0.28s; }
.orb-waveform span:nth-child(8),
.orb-waveform span:nth-child(18) { height: 22px; animation-delay: -0.2s; }
.orb-waveform span:nth-child(9),
.orb-waveform span:nth-child(17) { height: 44px; animation-delay: -0.4s; }
.orb-waveform span:nth-child(10),
.orb-waveform span:nth-child(16) { height: 32px; animation-delay: -0.18s; }
.orb-waveform span:nth-child(11),
.orb-waveform span:nth-child(15) { height: 52px; animation-delay: -0.34s; }
.orb-waveform span:nth-child(12),
.orb-waveform span:nth-child(14) { height: 40px; animation-delay: -0.1s; }
.orb-waveform span:nth-child(13) { height: 58px; animation-delay: -0.26s; }
}

.status-strip {
  position: absolute;
  right: 24px;
  bottom: 24px;
  left: 24px;
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 14px;
  border: 1px solid rgba(97, 232, 255, 0.12);
  border-radius: 14px;
  background: rgba(4, 12, 20, 0.78);
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.8rem;
}

.feature-band {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  padding: 18px 0 48px;
}

.feature-card {
  padding: 22px;
}

.feature-card h2 {
  margin: 16px 0 10px;
  font-size: 1.65rem;
}

.feature-card p {
  margin: 0;
  font-size: 1.14rem;
}

.feature-footer {
  display: inline-block;
  margin-top: 18px;
  color: var(--glow);
  font-size: 1rem;
}

.feature-bar {
  width: 100%;
  height: 12px;
  border-radius: 999px;
  background: rgba(10, 26, 39, 0.94);
  border: 1px solid rgba(97, 232, 255, 0.14);
  overflow: hidden;
}

.feature-bar span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--glow), var(--accent));
  box-shadow: 0 0 18px rgba(97, 232, 255, 0.28);
}

.showcase {
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  gap: 22px;
  padding: 20px 0 28px;
}

.panel {
  padding: 24px;
}

.system-list,
.flow-list {
  margin: 22px 0 0;
  padding-left: 22px;
  color: var(--muted-strong);
  font-size: 1.15rem;
  line-height: 1.45;
}

.showcase-frame img {
  border-radius: 14px;
  border: 1px solid rgba(97, 232, 255, 0.12);
}

.showcase-frame figcaption {
  margin-top: 14px;
  color: var(--muted);
  font-size: 1.02rem;
}

.system-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  padding: 12px 0 30px;
}

.pricing {
  margin: 6px 0 28px;
}

.pricing-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 20px;
  margin-bottom: 18px;
}

.pricing-head h2 {
  margin: 0;
  font-family: "Orbitron", sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
}

.pricing-note {
  margin: 0;
  color: var(--glow);
  font-family: "Orbitron", sans-serif;
  font-size: 0.92rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.pricing-table {
  display: grid;
  border: 1px solid rgba(97, 232, 255, 0.16);
  border-radius: 18px;
  overflow: hidden;
  background: rgba(5, 14, 23, 0.76);
}

.pricing-row {
  display: grid;
  grid-template-columns: 1.05fr 1.2fr 0.7fr;
  border-top: 1px solid rgba(97, 232, 255, 0.12);
}

.pricing-row:first-child {
  border-top: 0;
}

.pricing-row > div {
  padding: 18px 20px;
  min-width: 0;
}

.pricing-row > div + div {
  border-left: 1px solid rgba(97, 232, 255, 0.1);
}

.pricing-header {
  background: rgba(13, 31, 46, 0.92);
  color: var(--muted-strong);
  font-family: "Orbitron", sans-serif;
  font-size: 0.92rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pricing-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text);
}

.pricing-value {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text);
  white-space: nowrap;
}

.pricing-soon {
  color: var(--glow);
  font-size: 0.94rem;
  letter-spacing: 0.06em;
}

.order-panel {
  margin-top: 22px;
  padding: 20px;
  border: 1px solid rgba(97, 232, 255, 0.14);
  border-radius: 18px;
  background: rgba(5, 14, 23, 0.82);
}

.order-head h3 {
  margin: 0;
  font-family: "Orbitron", sans-serif;
  font-size: 1.5rem;
}

.order-intro {
  margin: 16px 0 0;
  color: var(--muted-strong);
  font-size: 1.12rem;
  line-height: 1.45;
}

.order-steps {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(97, 232, 255, 0.1);
}

.order-steps p {
  margin: 0 0 10px;
  font-size: 1.08rem;
  color: var(--text);
}

.order-list {
  margin: 0;
  padding-left: 24px;
  color: var(--muted-strong);
  font-size: 1.1rem;
  line-height: 1.55;
}

.order-list li {
  margin-bottom: 10px;
}

.order-list code {
  padding: 2px 6px;
  border-radius: 8px;
  background: rgba(10, 24, 36, 0.88);
  color: var(--glow);
}

.order-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(97, 232, 255, 0.1);
}

.flow-list {
  margin-top: 16px;
}

.hash-panel {
  display: flex;
  gap: 22px;
  align-items: center;
}

.seal {
  display: grid;
  place-items: center;
  flex: 0 0 112px;
  width: 112px;
  height: 112px;
  border-radius: 50%;
  border: 1px solid rgba(97, 232, 255, 0.4);
  background:
    radial-gradient(circle, rgba(97, 232, 255, 0.2), rgba(5, 15, 24, 0.96)),
    linear-gradient(180deg, rgba(7, 19, 31, 0.92), rgba(5, 13, 21, 0.98));
  color: var(--glow);
  font-family: "Orbitron", sans-serif;
  font-size: 2rem;
  box-shadow: inset 0 0 30px rgba(97, 232, 255, 0.1);
}

.hash-copy code {
  display: inline-flex;
  width: 100%;
  margin: 14px 0;
  padding: 14px 16px;
  border: 1px solid rgba(97, 232, 255, 0.18);
  border-radius: 14px;
  background: rgba(4, 14, 24, 0.88);
  color: var(--accent);
  overflow-wrap: anywhere;
  font-size: 1rem;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  padding-top: 8px;
  color: var(--muted);
  font-size: 1.05rem;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 500ms ease,
    transform 500ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
    filter: brightness(1);
  }
  50% {
    transform: scale(1.02);
    filter: brightness(1.08);
  }
}

@keyframes drift {
  0% {
    transform: translateX(-10px) scaleY(0.8);
  }
  50% {
    transform: translateX(10px) scaleY(1.1);
  }
  100% {
    transform: translateX(-10px) scaleY(0.8);
  }
}

@keyframes waveform {
  0%,
  100% {
    transform: scaleY(0.92);
    opacity: 0.82;
  }
  50% {
    transform: scaleY(1.12);
    opacity: 1;
  }
}

@media (max-width: 1100px) {
  .hero,
  .showcase,
  .system-grid {
    grid-template-columns: 1fr;
    display: grid;
  }

  .hero-metrics,
  .feature-band {
    grid-template-columns: 1fr;
  }

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

  .pricing-row > div + div {
    border-left: 0;
    border-top: 1px solid rgba(97, 232, 255, 0.08);
  }

  .pricing-header {
    display: none;
  }
}

@media (max-width: 820px) {
  .page-shell {
    width: min(100% - 16px, 100%);
    margin: 0 auto;
    padding: 18px;
  }

  .topbar {
    flex-wrap: wrap;
    gap: 16px;
    padding-bottom: 20px;
  }

  .menu-toggle {
    display: inline-block;
  }

  .site-nav {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    margin-left: 0;
    padding: 8px 4px 0;
  }

  .site-nav.is-open {
    display: flex;
  }

  .topbar-cta {
    display: none;
  }

  .hero {
    padding-top: 12px;
  }

  .hero h1 {
    max-width: 12ch;
    font-size: clamp(2.7rem, 13vw, 4rem);
  }

  .hero-text,
  .showcase-copy p,
  .feature-card p,
  .hash-copy p,
  .system-list,
  .flow-list {
    font-size: 1.08rem;
  }

  .signal-panel {
    min-height: 500px;
  }

  .status-strip {
    flex-direction: column;
    align-items: flex-start;
  }

  .hash-panel {
    flex-direction: column;
    align-items: flex-start;
  }

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

  .pricing-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .pricing-row > div {
    padding: 16px;
  }

  .circuit {
    display: none;
  }

  .circuit-top,
  .circuit-bottom,
  .tech-cluster {
    display: none;
  }
}

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

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

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