:root {
  --bg: #07090f;
  --bg-soft: #0d1220;
  --panel: rgba(14, 20, 33, 0.72);
  --panel-strong: rgba(18, 26, 42, 0.9);
  --text: #f6f8ff;
  --muted: #a8b2c7;
  --line: rgba(142, 164, 213, 0.24);
  --orange: #ffa116;
  --cyan: #42e8ff;
  --green: #5dffb3;
  --pink: #ff5fbf;
  --shadow: 0 26px 80px rgba(0, 0, 0, 0.38);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background:
    radial-gradient(
      circle at var(--spot-x, 70%) var(--spot-y, 15%),
      rgba(66, 232, 255, 0.16),
      transparent 28rem
    ),
    radial-gradient(
      circle at 15% 20%,
      rgba(255, 161, 22, 0.18),
      transparent 24rem
    ),
    radial-gradient(
      circle at 90% 74%,
      rgba(255, 95, 191, 0.12),
      transparent 26rem
    ),
    var(--bg);
  color: var(--text);
  font-family:
    "Raleway",
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Arial,
    sans-serif;
  font-optical-sizing: auto;
  letter-spacing: 0;
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
}

body::before {
  background-image:
    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: 44px 44px;
  content: "";
  inset: 0;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.8), transparent 80%);
  pointer-events: none;
  position: fixed;
  z-index: -3;
}

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

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

.page-orbit {
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  position: fixed;
  z-index: -2;
}

.orbit-line {
  border: 1px solid rgba(66, 232, 255, 0.12);
  border-radius: 999px;
  height: 42rem;
  left: 50%;
  position: absolute;
  top: -18rem;
  transform: translateX(-50%) rotate(-18deg);
  width: 78rem;
}

.orbit-line-two {
  border-color: rgba(255, 161, 22, 0.12);
  height: 56rem;
  top: 7rem;
  transform: translateX(-50%) rotate(12deg);
  width: 92rem;
}

.scan-grid {
  animation: scan 8s linear infinite;
  background: linear-gradient(
    180deg,
    transparent,
    rgba(66, 232, 255, 0.08),
    transparent
  );
  height: 12rem;
  left: 0;
  position: absolute;
  right: 0;
  top: -14rem;
}

.site-header {
  align-items: center;
  backdrop-filter: blur(18px);
  background: rgba(7, 9, 15, 0.66);
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  left: 0;
  padding: 16px clamp(20px, 5vw, 72px);
  position: sticky;
  right: 0;
  top: 0;
  z-index: 20;
}

.brand {
  align-items: center;
  display: inline-flex;
  font-size: 16px;
  font-weight: 800;
  gap: 10px;
}

.brand-mark {
  align-items: center;
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.16),
    rgba(255, 255, 255, 0.04)
  );
  border: 1px solid rgba(255, 161, 22, 0.38);
  border-radius: 8px;
  box-shadow: 0 0 24px rgba(255, 161, 22, 0.18);
  display: inline-flex;
  height: 38px;
  justify-content: center;
  padding: 5px;
  width: 38px;
}

.brand-mark img {
  border-radius: 6px;
}

.site-nav {
  align-items: center;
  display: flex;
  gap: 8px;
}

.site-nav a {
  border: 1px solid transparent;
  border-radius: 999px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  padding: 9px 13px;
  transition:
    border-color 180ms ease,
    color 180ms ease,
    background 180ms ease;
}

.site-nav a:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--line);
  color: var(--text);
}

main {
  margin: 0 auto;
  max-width: 1180px;
  padding: 0 clamp(18px, 4vw, 38px);
}

.hero-section {
  align-items: center;
  display: grid;
  gap: clamp(32px, 7vw, 88px);
  grid-template-columns: minmax(0, 1fr) minmax(310px, 0.84fr);
  min-height: calc(100vh - 72px);
  padding: clamp(56px, 8vw, 96px) 0 clamp(40px, 6vw, 70px);
}

.eyebrow {
  color: var(--cyan);
  font-size: 12px;
  font-weight: 900;
  margin: 0 0 14px;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1 {
  font-size: clamp(48px, 8vw, 88px);
  line-height: 0.94;
  max-width: 760px;
}

h2 {
  font-size: clamp(30px, 4.6vw, 54px);
  line-height: 1;
}

h3 {
  font-size: 18px;
  line-height: 1.22;
}

.hero-text {
  color: var(--muted);
  font-size: clamp(10px, 2vw, 21px);
  line-height: 1.65;
  margin-top: 24px;
  max-width: 660px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.button {
  align-items: center;
  border-radius: 8px;
  display: inline-flex;
  font-size: 14px;
  font-weight: 900;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease;
}

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

.primary-button {
  background: linear-gradient(135deg, var(--orange), #ffd25c);
  box-shadow: 0 16px 34px rgba(255, 161, 22, 0.28);
  color: #181007;
}

.ghost-button {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line);
  color: var(--text);
}

.signal-row {
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  font-size: 13px;
  font-weight: 800;
  gap: 10px;
  margin-top: 30px;
}

.signal-row span {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 11px;
}

.product-stage {
  min-height: 500px;
  perspective: 1200px;
  position: relative;
}

.product-stage::before {
  background:
    linear-gradient(90deg, rgba(66, 232, 255, 0.18) 1px, transparent 1px),
    linear-gradient(rgba(66, 232, 255, 0.18) 1px, transparent 1px);
  background-size: 26px 26px;
  border-radius: 50%;
  bottom: 4%;
  content: "";
  filter: drop-shadow(0 0 20px rgba(66, 232, 255, 0.22));
  height: 280px;
  left: 50%;
  position: absolute;
  transform: translateX(-50%) rotateX(65deg);
  width: 520px;
}

.glass-panel {
  background:
    linear-gradient(
      150deg,
      rgba(255, 255, 255, 0.12),
      rgba(255, 255, 255, 0.03)
    ),
    var(--panel);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow:
    var(--shadow),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
  padding: 22px;
}

.floating-panel {
  animation: floatPanel 5.2s ease-in-out infinite;
  margin: 24px auto 0;
  max-width: 440px;
  position: relative;
  transform: rotateY(-12deg) rotateX(7deg);
  z-index: 1;
}

.floating-panel::after {
  background: linear-gradient(
    90deg,
    transparent,
    rgba(66, 232, 255, 0.64),
    transparent
  );
  content: "";
  height: 1px;
  left: 24px;
  position: absolute;
  right: 24px;
  top: 0;
}

.panel-header,
.rec-top {
  align-items: center;
  display: flex;
  gap: 14px;
  justify-content: space-between;
}

.panel-kicker {
  color: var(--orange);
  font-size: 12px;
  font-weight: 900;
  margin-bottom: 6px;
}

.panel-header h2 {
  font-size: 23px;
  line-height: 1.15;
}

.pulse-dot {
  animation: pulse 1.4s ease-in-out infinite;
  background: var(--green);
  border-radius: 999px;
  box-shadow: 0 0 0 8px rgba(93, 255, 179, 0.11);
  height: 12px;
  width: 12px;
}

.rec-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line);
  border-radius: 14px;
  margin-top: 14px;
  padding: 15px;
}

.active-card {
  background: linear-gradient(
    135deg,
    rgba(255, 161, 22, 0.16),
    rgba(66, 232, 255, 0.08)
  );
  border-color: rgba(255, 161, 22, 0.42);
}

.rank {
  align-items: center;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--cyan);
  display: inline-flex;
  flex: 0 0 auto;
  font-weight: 900;
  height: 34px;
  justify-content: center;
  width: 34px;
}

.rec-top div {
  flex: 1;
  min-width: 0;
}

.rec-top h3 {
  font-size: 16px;
}

.rec-top p {
  color: var(--muted);
  font-size: 13px;
  margin-top: 3px;
}

.rec-top strong {
  color: var(--green);
  font-size: 14px;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.tag-row span {
  background: rgba(7, 9, 15, 0.46);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  padding: 7px 9px;
}

.pattern-strip {
  align-items: center;
  border-top: 1px solid var(--line);
  color: var(--muted);
  display: flex;
  font-size: 13px;
  gap: 10px;
  margin-top: 18px;
  padding-top: 16px;
}

.pattern-strip span {
  animation: spin 900ms linear infinite;
  border: 2px solid rgba(66, 232, 255, 0.25);
  border-top-color: var(--cyan);
  border-radius: 999px;
  height: 18px;
  width: 18px;
}

.section {
  padding: clamp(54px, 8vw, 96px) 0;
}

.intro-band {
  align-items: center;
  border-bottom: 1px solid var(--line);
  border-top: 1px solid var(--line);
  display: grid;
  gap: 26px;
  grid-template-columns: minmax(280px, 0.7fr) minmax(0, 1fr);
  overflow: hidden;
  position: relative;
}

.intro-band::before {
  animation: loopBeam 4.5s ease-in-out infinite;
  background: radial-gradient(circle, rgba(255, 161, 22, 0.34), transparent 62%);
  content: "";
  height: 260px;
  position: absolute;
  right: 8%;
  top: 50%;
  transform: translateY(-50%);
  width: 260px;
}

.loop-copy {
  position: relative;
  z-index: 1;
}

.loop-copy h2 {
  max-width: 520px;
}

.loop-track {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  position: relative;
  z-index: 1;
}

.loop-track::before {
  background: linear-gradient(90deg, var(--cyan), var(--orange), var(--pink));
  content: "";
  height: 2px;
  left: 12%;
  opacity: 0.5;
  position: absolute;
  right: 12%;
  top: 36px;
  z-index: -1;
}

.loop-card {
  animation: loopFloat 4.5s ease-in-out infinite;
  background:
    linear-gradient(150deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.04)),
    rgba(14, 20, 33, 0.82);
  border: 1px solid var(--line);
  border-radius: 18px;
  min-height: 190px;
  padding: 22px;
  position: relative;
  transition:
    border-color 220ms ease,
    box-shadow 220ms ease,
    transform 220ms ease;
}

.loop-card:nth-child(2) {
  animation-delay: 0.22s;
  margin-top: 34px;
}

.loop-card:nth-child(3) {
  animation-delay: 0.44s;
}

.loop-card:hover {
  animation-play-state: paused;
  border-color: rgba(255, 161, 22, 0.5);
  box-shadow: 0 24px 60px rgba(255, 161, 22, 0.14);
  transform: translateY(-10px) rotate(1deg);
}

.loop-number {
  align-items: center;
  background: rgba(66, 232, 255, 0.1);
  border: 1px solid rgba(66, 232, 255, 0.28);
  border-radius: 8px;
  color: var(--cyan);
  display: inline-flex;
  font-size: 12px;
  font-weight: 900;
  height: 34px;
  justify-content: center;
  margin-bottom: 38px;
  width: 42px;
}

.loop-card p {
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.55;
  margin-top: 10px;
}

.section-heading {
  margin-bottom: 26px;
  max-width: 760px;
}

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

.feature-card,
.timeline-item,
.system-board {
  background: var(--panel);
  border: 1px solid var(--line);
  box-shadow: 0 18px 55px rgba(0, 0, 0, 0.22);
}

.feature-card {
  border-radius: 18px;
  min-height: 238px;
  overflow: hidden;
  padding: 24px;
  position: relative;
  transition:
    border-color 180ms ease,
    transform 180ms ease,
    background 180ms ease;
}

.feature-card::before {
  background: linear-gradient(
    135deg,
    rgba(66, 232, 255, 0.18),
    transparent 60%
  );
  content: "";
  height: 140px;
  position: absolute;
  right: -58px;
  top: -58px;
  transform: rotate(18deg);
  width: 160px;
}

.feature-card:hover {
  background: var(--panel-strong);
  border-color: rgba(66, 232, 255, 0.42);
  transform: translateY(-4px);
}

.feature-icon {
  color: var(--orange);
  display: inline-block;
  font-size: 13px;
  font-weight: 900;
  margin-bottom: 42px;
}

.feature-card p,
.timeline-item p,
.system-copy p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
  margin-top: 12px;
}

.workflow-section {
  border-top: 1px solid var(--line);
}

.timeline {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.timeline-item {
  border-radius: 18px;
  padding: 24px;
}

.timeline-item span {
  align-items: center;
  background: linear-gradient(
    135deg,
    rgba(255, 161, 22, 0.22),
    rgba(66, 232, 255, 0.12)
  );
  border: 1px solid rgba(255, 161, 22, 0.34);
  border-radius: 8px;
  color: var(--orange);
  display: inline-flex;
  font-weight: 900;
  height: 38px;
  justify-content: center;
  margin-bottom: 30px;
  width: 38px;
}

.system-section {
  align-items: center;
  display: grid;
  gap: 40px;
  grid-template-columns: minmax(0, 0.8fr) minmax(320px, 1fr);
}

.system-board {
  border-radius: 22px;
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(6, 1fr);
  overflow: hidden;
  padding: 22px;
  position: relative;
}

.system-board::before {
  background: linear-gradient(
    90deg,
    transparent,
    rgba(66, 232, 255, 0.26),
    rgba(255, 161, 22, 0.22),
    transparent
  );
  content: "";
  height: 1px;
  left: 36px;
  position: absolute;
  right: 36px;
  top: 50%;
}

.system-board::after {
  animation: dataBeam 3.6s ease-in-out infinite;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(66, 232, 255, 0),
    var(--cyan),
    var(--orange),
    rgba(255, 161, 22, 0)
  );
  content: "";
  filter: drop-shadow(0 0 12px rgba(66, 232, 255, 0.75));
  height: 2px;
  left: -36%;
  position: absolute;
  top: 50%;
  width: 32%;
  z-index: 0;
}

.node {
  align-items: center;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  display: flex;
  font-size: 13px;
  font-weight: 900;
  justify-content: center;
  min-height: 78px;
  overflow: hidden;
  padding: 12px;
  position: relative;
  text-align: center;
  transition:
    border-color 220ms ease,
    box-shadow 220ms ease,
    transform 220ms ease;
  z-index: 1;
}

.node::before {
  animation: nodeSweep 3.6s ease-in-out infinite;
  background: linear-gradient(
    115deg,
    transparent 18%,
    rgba(66, 232, 255, 0.22),
    transparent 48%
  );
  content: "";
  inset: 0;
  opacity: 0;
  position: absolute;
  transform: translateX(-120%);
}

.node::after {
  animation: nodePulse 3.6s ease-in-out infinite;
  background: var(--cyan);
  border-radius: 999px;
  box-shadow: 0 0 16px rgba(66, 232, 255, 0.7);
  content: "";
  height: 6px;
  opacity: 0;
  position: absolute;
  right: 12px;
  top: 12px;
  width: 6px;
}

.node:hover {
  border-color: rgba(66, 232, 255, 0.5);
  box-shadow:
    0 18px 42px rgba(66, 232, 255, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
  transform: translateY(-3px);
}

.node-source {
  animation: nodeLift 3.6s ease-in-out infinite;
  grid-column: 1 / 3;
}

.node-card {
  animation: nodeLift 3.6s ease-in-out 0.32s infinite;
  grid-column: 3 / 5;
}

.node-api {
  animation: nodeLift 3.6s ease-in-out 0.64s infinite;
  grid-column: 5 / 7;
}

.node-extension {
  animation: nodeLift 3.6s ease-in-out 0.96s infinite;
  grid-column: 2 / 4;
}

.node-user {
  animation: nodeLift 3.6s ease-in-out 1.28s infinite;
  grid-column: 4 / 6;
}

.node-card::before,
.node-card::after {
  animation-delay: 0.32s;
}

.node-api::before,
.node-api::after {
  animation-delay: 0.64s;
}

.node-extension::before,
.node-extension::after {
  animation-delay: 0.96s;
}

.node-user::before,
.node-user::after {
  animation-delay: 1.28s;
}

.site-footer {
  align-items: center;
  border-top: 1px solid var(--line);
  color: var(--muted);
  display: flex;
  justify-content: space-between;
  margin: 0 auto;
  max-width: 1180px;
  padding: 24px clamp(18px, 4vw, 38px) 34px;
}

.footer-brand {
  color: var(--text);
}

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

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

@keyframes floatPanel {
  0%,
  100% {
    transform: rotateY(-12deg) rotateX(7deg) translateY(0);
  }

  50% {
    transform: rotateY(-8deg) rotateX(5deg) translateY(-14px);
  }
}

@keyframes pulse {
  0%,
  100% {
    opacity: 0.74;
    transform: scale(1);
  }

  50% {
    opacity: 1;
    transform: scale(1.22);
  }
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes scan {
  to {
    transform: translateY(calc(100vh + 18rem));
  }
}

@keyframes dataBeam {
  0% {
    opacity: 0;
    transform: translateX(0);
  }

  12%,
  78% {
    opacity: 1;
  }

  100% {
    opacity: 0;
    transform: translateX(430%);
  }
}

@keyframes nodeLift {
  0%,
  100% {
    border-color: var(--line);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
    transform: translateY(0);
  }

  18% {
    border-color: rgba(66, 232, 255, 0.56);
    box-shadow:
      0 16px 38px rgba(66, 232, 255, 0.14),
      inset 0 1px 0 rgba(255, 255, 255, 0.12);
    transform: translateY(-4px);
  }

  34% {
    border-color: var(--line);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
    transform: translateY(0);
  }
}

@keyframes nodeSweep {
  0%,
  8% {
    opacity: 0;
    transform: translateX(-120%);
  }

  18% {
    opacity: 1;
  }

  34%,
  100% {
    opacity: 0;
    transform: translateX(120%);
  }
}

@keyframes nodePulse {
  0%,
  8%,
  36%,
  100% {
    opacity: 0;
    transform: scale(0.7);
  }

  18% {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes dataBeamMobile {
  0% {
    opacity: 0;
    transform: translateX(-50%) translateY(0);
  }

  12%,
  78% {
    opacity: 1;
  }

  100% {
    opacity: 0;
    transform: translateX(-50%) translateY(560%);
  }
}

@keyframes loopFloat {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

@keyframes loopBeam {
  0%,
  100% {
    opacity: 0.45;
    transform: translateY(-50%) scale(0.92);
  }

  50% {
    opacity: 0.82;
    transform: translateY(-50%) scale(1.08);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

@media (max-width: 920px) {
  .hero-section,
  .intro-band,
  .system-section {
    grid-template-columns: 1fr;
  }

  .hero-section {
    min-height: auto;
  }

  .product-stage {
    min-height: 430px;
  }

  .feature-grid,
  .loop-track,
  .timeline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .site-header {
    align-items: flex-start;
    gap: 14px;
    position: relative;
  }

  .site-nav {
    display: none;
  }

  .hero-section {
    padding-top: 48px;
  }

  h1 {
    font-size: 48px;
  }

  .hero-actions,
  .hero-actions .button {
    width: 100%;
  }

  .product-stage {
    min-height: auto;
  }

  .product-stage::before {
    width: 360px;
  }

  .floating-panel {
    transform: none;
  }

  .feature-grid,
  .loop-track,
  .timeline,
  .system-board {
    grid-template-columns: 1fr;
  }

  .loop-track::before {
    bottom: 24px;
    height: auto;
    left: 21px;
    right: auto;
    top: 18px;
    width: 2px;
  }

  .loop-card:nth-child(2) {
    margin-top: 0;
  }

  .feature-card {
    min-height: 210px;
  }

  .system-board::before {
    bottom: 36px;
    height: auto;
    left: 50%;
    right: auto;
    top: 36px;
    width: 1px;
  }

  .system-board::after {
    animation-name: dataBeamMobile;
    height: 28%;
    left: 50%;
    top: -28%;
    transform: translateX(-50%);
    width: 2px;
  }

  .node,
  .node-source,
  .node-card,
  .node-api,
  .node-extension,
  .node-user {
    grid-column: auto;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
  }
}
