:root {
  --bg: #030916;
  --panel: rgba(8, 21, 44, 0.7);
  --panel-strong: rgba(8, 18, 38, 0.9);
  --ink: #eaf4ff;
  --muted: #95afd0;
  --line: rgba(110, 172, 255, 0.24);
  --line-strong: rgba(134, 191, 255, 0.45);
  --primary: #54b0ff;
  --primary-strong: #2f8ff1;
  --accent: #73f1ff;
  --ok: #69e4a8;
  --warn: #ffd76a;
  --info: #99c9ff;
  --todo: #d0b9ff;
  --radius: 18px;
  --shadow: 0 20px 52px rgba(1, 8, 18, 0.62);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Noto Sans SC", sans-serif;
  color: var(--ink);
  line-height: 1.62;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 15% 12%, rgba(63, 129, 243, 0.2), transparent 40%),
    radial-gradient(circle at 84% 20%, rgba(40, 190, 255, 0.14), transparent 44%),
    radial-gradient(circle at 50% 110%, rgba(45, 96, 209, 0.3), transparent 52%),
    linear-gradient(160deg, #030916 0%, #08142a 45%, #040b1e 100%);
}

#fx-canvas {
  position: fixed;
  inset: 0;
  z-index: -5;
  pointer-events: none;
  opacity: 0.72;
}

.bg-grid {
  position: fixed;
  inset: 0;
  z-index: -4;
  pointer-events: none;
  background:
    linear-gradient(rgba(88, 147, 231, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(88, 147, 231, 0.09) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: radial-gradient(circle at center, black 45%, transparent 100%);
  opacity: 0.27;
}

.bg-orb {
  position: fixed;
  width: 48rem;
  aspect-ratio: 1;
  border-radius: 999px;
  filter: blur(9px);
  pointer-events: none;
  z-index: -3;
  animation: orbFloat 14s ease-in-out infinite alternate;
}

.bg-orb-a {
  top: -18rem;
  right: -13rem;
  background: radial-gradient(circle at 24% 24%, rgba(77, 164, 255, 0.28), rgba(77, 164, 255, 0));
}

.bg-orb-b {
  bottom: -19rem;
  left: -14rem;
  background: radial-gradient(circle at 70% 60%, rgba(77, 195, 255, 0.2), rgba(77, 195, 255, 0));
}

@keyframes orbFloat {
  from {
    transform: translate3d(0, 0, 0) scale(1);
  }
  to {
    transform: translate3d(0, 1.1rem, 0) scale(1.06);
  }
}

.container {
  width: min(1160px, calc(100% - 2rem));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(3, 10, 24, 0.78);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(115, 178, 255, 0.23);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.82rem 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: inherit;
}

.brand img {
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 0.7rem;
  border: 1px solid rgba(146, 201, 255, 0.5);
  box-shadow: 0 0 22px rgba(76, 166, 255, 0.32);
}

.brand strong {
  font-family: "Orbitron", "Noto Sans SC", sans-serif;
  display: block;
  line-height: 1.1;
  letter-spacing: 0.04em;
  font-size: 1rem;
}

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

.nav {
  display: inline-flex;
  gap: 1.2rem;
}

.nav a {
  color: #b4caea;
  text-decoration: none;
  font-weight: 500;
  transition: color 180ms ease;
}

.nav a:hover {
  color: #f1f7ff;
}

.section {
  padding: 2.8rem 0;
}

.section-head {
  margin-bottom: 1.2rem;
}

.section-head p {
  margin: 0;
}

h1,
h2,
h3 {
  margin: 0 0 0.6rem;
  line-height: 1.2;
}

h1,
h2 {
  font-family: "Orbitron", "Noto Sans SC", sans-serif;
}

h1 {
  font-size: clamp(2rem, 4.2vw, 3.2rem);
  letter-spacing: 0.03em;
  text-shadow: 0 0 18px rgba(76, 166, 255, 0.24);
}

h2 {
  font-size: clamp(1.45rem, 3vw, 2rem);
  letter-spacing: 0.02em;
}

.kicker {
  display: inline-block;
  margin: 0 0 0.85rem;
  color: #b9ddff;
  font-family: "Orbitron", "Noto Sans SC", sans-serif;
  letter-spacing: 0.09em;
  font-size: 0.76rem;
  text-transform: uppercase;
  border: 1px solid rgba(92, 161, 255, 0.55);
  border-radius: 999px;
  padding: 0.24rem 0.74rem;
  background: rgba(9, 25, 51, 0.8);
}

.lead {
  margin: 0;
  max-width: 37rem;
  color: var(--muted);
  font-size: 1.04rem;
}

.hero {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  align-items: start;
  gap: 1.8rem;
  padding: 4rem 0 2.7rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1.55rem 0 1.28rem;
}

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

.hero-stats article,
.hero-panel,
.matrix-card,
.shot-panel,
.showcase-meta,
.ability-card,
.roadmap-list li,
.cta {
  border: 1px solid var(--line);
  background: var(--panel);
  border-radius: 15px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(8px);
}

.hero-stats article {
  padding: 0.85rem 0.9rem;
}

.hero-stats h3 {
  margin-bottom: 0.22rem;
  font-size: 0.9rem;
}

.hero-stats p {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
}

.hero-panel {
  overflow: hidden;
}

.hero-panel header,
.hero-panel footer {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.75rem 1rem;
}

.hero-panel header {
  border-bottom: 1px solid rgba(109, 169, 255, 0.24);
}

.hero-panel header p {
  margin: 0;
  font-weight: 700;
}

.hero-panel header small {
  margin-left: auto;
  color: var(--muted);
}

.hero-panel ul {
  margin: 0;
  padding: 0.7rem 1rem;
  list-style: none;
  display: grid;
  gap: 0.55rem;
}

.hero-panel li {
  display: flex;
  justify-content: space-between;
  gap: 0.8rem;
  color: #ccdef6;
  border: 1px solid rgba(115, 177, 255, 0.2);
  border-radius: 10px;
  padding: 0.52rem 0.64rem;
  background: rgba(8, 23, 48, 0.52);
}

.hero-panel em {
  font-style: normal;
  color: #8fbfff;
}

.hero-panel footer {
  border-top: 1px solid rgba(109, 169, 255, 0.24);
}

.dot {
  width: 0.58rem;
  height: 0.58rem;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 0 6px rgba(115, 241, 255, 0.13);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.7rem 1.2rem;
  text-decoration: none;
  font-weight: 700;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.btn.small {
  padding: 0.5rem 0.95rem;
  font-size: 0.85rem;
}

.btn:disabled {
  opacity: 0.62;
  cursor: not-allowed;
}

.btn-solid {
  background: linear-gradient(140deg, var(--primary), var(--primary-strong));
  color: #f5fbff;
  border-color: rgba(122, 197, 255, 0.65);
  box-shadow: 0 0 24px rgba(76, 166, 255, 0.36);
}

.btn-solid:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 28px rgba(76, 166, 255, 0.52);
}

.btn-outline {
  border-color: rgba(116, 177, 255, 0.55);
  color: #c7e2ff;
  background: rgba(7, 21, 45, 0.55);
}

.btn-outline:hover {
  border-color: rgba(160, 208, 255, 0.82);
  box-shadow: 0 0 20px rgba(76, 166, 255, 0.22);
}

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

.matrix-card {
  padding: 1rem;
}

.card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
}

.matrix-card p {
  margin: 0 0 0.9rem;
  color: var(--muted);
}

.tag {
  border-radius: 999px;
  border: 1px solid;
  font-size: 0.74rem;
  padding: 0.15rem 0.58rem;
  white-space: nowrap;
}

.tag.live {
  color: var(--ok);
  border-color: rgba(105, 228, 168, 0.5);
  background: rgba(20, 78, 56, 0.25);
}

.tag.building {
  color: var(--warn);
  border-color: rgba(255, 215, 106, 0.5);
  background: rgba(96, 74, 20, 0.28);
}

.tag.iterating {
  color: var(--info);
  border-color: rgba(153, 201, 255, 0.5);
  background: rgba(36, 58, 96, 0.28);
}

.tag.research {
  color: var(--todo);
  border-color: rgba(208, 185, 255, 0.5);
  background: rgba(68, 44, 95, 0.25);
}

.card-actions {
  display: flex;
  gap: 0.56rem;
  flex-wrap: wrap;
}

.showcase-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 0.95rem;
  align-items: start;
}

.shot-panel {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--panel-strong);
}

.shot-panel img {
  width: 100%;
  height: auto;
  display: block;
}

.showcase-meta {
  padding: 1rem;
}

.showcase-meta ul {
  margin: 0 0 1rem;
  padding-left: 1.16rem;
}

.showcase-meta li {
  margin-bottom: 0.46rem;
  color: #b9ceeb;
}

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

.ability-card {
  padding: 1rem;
}

.ability-card p {
  margin: 0;
  color: var(--muted);
}

.roadmap-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.85rem;
}

.roadmap-list li {
  display: grid;
  grid-template-columns: 82px 1fr;
  gap: 0.8rem;
  padding: 0.95rem;
}

.roadmap-list time {
  display: inline-flex;
  align-items: flex-start;
  justify-content: center;
  border: 1px solid var(--line-strong);
  color: #bde0ff;
  border-radius: 999px;
  padding: 0.24rem 0.5rem;
  font-family: "Orbitron", "Noto Sans SC", sans-serif;
  font-size: 0.74rem;
  letter-spacing: 0.05em;
}

.roadmap-list p {
  margin: 0;
  color: var(--muted);
}

.cta {
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(10, 27, 53, 0.86), rgba(8, 21, 44, 0.88));
  padding: 1.2rem;
}

.cta p {
  margin: 0 0 0.85rem;
  color: var(--muted);
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.site-footer {
  padding: 1.3rem 0 2rem;
}

.footer-inner {
  border-top: 1px solid rgba(116, 177, 255, 0.3);
  padding-top: 1rem;
}

.footer-inner p {
  margin: 0;
  color: #8ca5c7;
  font-size: 0.9rem;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 620ms ease, transform 620ms ease;
  transition-delay: var(--delay, 0ms);
}

.reveal.show {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .nav {
    display: none;
  }

  .hero,
  .showcase-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 2.75rem;
  }

  .hero-stats,
  .matrix-grid,
  .ability-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  #fx-canvas {
    opacity: 0.48;
  }

  .hero-stats,
  .matrix-grid,
  .ability-grid {
    grid-template-columns: 1fr;
  }

  .btn {
    width: 100%;
  }

  .roadmap-list li {
    grid-template-columns: 1fr;
  }
}
