:root {
  color-scheme: dark;
  --bg: #030409;
  --panel: rgba(6, 11, 24, 0.72);
  --panel-strong: rgba(7, 14, 31, 0.92);
  --cyan: #00f0ff;
  --cyan-soft: rgba(0, 240, 255, 0.18);
  --magenta: #ff24e4;
  --magenta-soft: rgba(255, 36, 228, 0.2);
  --lime: #8cff5c;
  --text: #f1fbff;
  --muted: #93a8b6;
  --line: rgba(103, 238, 255, 0.22);
  --shadow-cyan: 0 0 24px rgba(0, 240, 255, 0.36);
  --shadow-magenta: 0 0 24px rgba(255, 36, 228, 0.28);
  --content-width: min(1280px, 80vw);
  font-family: "Bahnschrift", "Microsoft YaHei UI", "Microsoft YaHei", sans-serif;
  background: var(--bg);
  color: var(--text);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 1180px;
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 12% 8%, rgba(255, 36, 228, 0.2), transparent 32vw),
    radial-gradient(circle at 82% 14%, rgba(0, 240, 255, 0.22), transparent 28vw),
    linear-gradient(180deg, #050713 0%, #020308 52%, #06020a 100%);
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

#starfield,
.noise-layer,
.scanline-layer {
  pointer-events: none;
  position: fixed;
  inset: 0;
}

#starfield {
  z-index: 0;
}

.noise-layer {
  z-index: 50;
  opacity: 0.08;
  background-image:
    linear-gradient(90deg, transparent 0 7px, rgba(255, 255, 255, 0.16) 8px),
    linear-gradient(0deg, transparent 0 9px, rgba(0, 240, 255, 0.12) 10px);
  background-size: 11px 13px;
  mix-blend-mode: screen;
}

.scanline-layer {
  z-index: 51;
  opacity: 0.18;
  background: linear-gradient(to bottom, transparent, transparent 48%, rgba(255, 255, 255, 0.16) 50%, transparent 52%);
  background-size: 100% 5px;
}

.site-header {
  position: fixed;
  top: 24px;
  left: 50%;
  z-index: 40;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  width: min(1500px, calc(100vw - 70px));
  min-width: 1080px;
  min-height: 104px;
  padding: 20px 24px;
  border: 1px solid var(--line);
  background: rgba(4, 8, 18, 0.66);
  box-shadow: var(--shadow-cyan), inset 0 0 24px rgba(0, 240, 255, 0.06);
  transform: translateX(-50%);
  backdrop-filter: blur(18px);
}

.brand,
.site-header nav,
.header-cta {
  position: relative;
  z-index: 2;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  padding: 0 28px 0 6px;
  font-size: 30px;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.brand img {
  width: 118px;
  height: 48px;
  object-fit: contain;
  filter: drop-shadow(0 0 12px rgba(0, 240, 255, 0.58));
}

.site-header nav {
  display: flex;
  justify-content: center;
  gap: 48px;
  color: var(--muted);
  font-family: "Microsoft YaHei UI", sans-serif;
  font-size: 16px;
  letter-spacing: 0.04em;
}

.site-header nav a {
  position: relative;
  padding: 8px 2px;
}

.site-header nav a::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
  opacity: 0;
  transform: scaleX(0.3);
  transition: 0.26s ease;
}

.site-header nav a:hover {
  color: var(--text);
}

.site-header nav a:hover::after {
  opacity: 1;
  transform: scaleX(1);
}

.header-cta,
.primary-btn,
.ghost-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  padding: 0 32px;
  border: 1px solid rgba(0, 240, 255, 0.58);
  color: #001a1d;
  background: linear-gradient(90deg, #00f0ff, #bcfbff);
  box-shadow: 0 0 24px rgba(0, 240, 255, 0.34);
  font-weight: 800;
  letter-spacing: 0.08em;
  clip-path: polygon(12px 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%, 0 12px);
  transition: transform 0.28s ease, filter 0.28s ease;
}

.header-cta:hover,
.primary-btn:hover,
.ghost-btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.12);
}

.section-shell {
  position: relative;
  z-index: 2;
  width: var(--content-width);
  margin: 0 auto;
}

.hero-section {
  min-height: 100vh;
  padding-top: 165px;
  display: grid;
  align-items: center;
}

.hero-grid {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 86px;
  align-items: center;
}

.eyebrow,
.section-heading span,
.engine-copy > span,
.deploy-card span,
.hud-panel span,
.site-footer,
.console-topbar,
.card-index {
  font-family: "Cascadia Mono", "Consolas", monospace;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--cyan);
  font-size: 13px;
}

.pulse-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--lime);
  box-shadow: 0 0 18px rgba(140, 255, 92, 0.88);
  animation: pulse 1.4s ease-in-out infinite;
}

.hero-copy h1 {
  max-width: 650px;
  margin: 30px 0 26px;
  font-size: clamp(58px, 4.7vw, 84px);
  line-height: 1.04;
  letter-spacing: -0.045em;
  text-shadow: 0 0 46px rgba(0, 240, 255, 0.18);
}

.hero-copy .title-line {
  display: block;
  white-space: nowrap;
}

.hero-copy .title-line-soft {
  color: #f2fbff;
}

.hero-copy .title-line-hot {
  color: transparent;
  background: linear-gradient(90deg, #f8ffff 0%, #00f0ff 44%, #ff24e4 100%);
  -webkit-background-clip: text;
  background-clip: text;
  margin-top: 6px;
}

.hero-lead {
  max-width: 610px;
  margin: 0;
  color: #c2d5df;
  font-size: 18px;
  line-height: 1.85;
}

.hero-actions {
  display: flex;
  gap: 16px;
  margin-top: 36px;
}

.ghost-btn {
  color: var(--text);
  background: rgba(0, 240, 255, 0.06);
  border-color: rgba(255, 36, 228, 0.5);
  box-shadow: var(--shadow-magenta);
}

.signal-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  max-width: 650px;
  margin-top: 42px;
}

.signal-strip div {
  padding: 18px;
  border: 1px solid rgba(0, 240, 255, 0.18);
  background: linear-gradient(145deg, rgba(0, 240, 255, 0.1), rgba(255, 36, 228, 0.05));
  box-shadow: inset 0 0 20px rgba(0, 240, 255, 0.06);
}

.signal-strip strong {
  display: block;
  color: var(--cyan);
  font-family: "Cascadia Mono", monospace;
  font-size: 32px;
  text-shadow: var(--shadow-cyan);
}

.signal-strip span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 13px;
}

.hero-visual {
  position: relative;
  min-height: 720px;
}

.city-card {
  position: absolute;
  inset: 42px 0 0 80px;
  overflow: hidden;
  border: 1px solid rgba(0, 240, 255, 0.22);
  background: #07111c;
  box-shadow: 0 0 80px rgba(0, 240, 255, 0.16);
  clip-path: polygon(0 0, 92% 0, 100% 12%, 100% 100%, 8% 100%, 0 88%);
}

.city-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.76;
  filter: saturate(1.1) contrast(1.04) brightness(0.86);
  transform: scale(1.08);
  animation: cityDrift 12s ease-in-out infinite alternate;
}

.city-card::before,
.city-card::after {
  position: absolute;
  inset: 0;
  content: "";
}

.city-card::before {
  background:
    linear-gradient(90deg, rgba(0, 240, 255, 0.08) 1px, transparent 1px),
    linear-gradient(0deg, rgba(0, 240, 255, 0.07) 1px, transparent 1px);
  background-size: 42px 42px;
  mix-blend-mode: screen;
}

.city-card::after {
  background: radial-gradient(circle at 70% 45%, rgba(0, 240, 255, 0.26), transparent 26%), linear-gradient(90deg, rgba(3, 4, 9, 0.32), transparent 55%);
}

.shield-orb {
  position: absolute;
  top: 120px;
  left: 0;
  display: grid;
  place-items: center;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 240, 255, 0.12), transparent 63%);
  filter: drop-shadow(0 0 32px rgba(0, 240, 255, 0.26));
}

.shield-orb img {
  position: relative;
  z-index: 3;
  width: 244px;
  height: 244px;
  object-fit: contain;
  filter: drop-shadow(0 0 20px rgba(0, 240, 255, 0.58)) drop-shadow(0 0 18px rgba(255, 36, 228, 0.34));
}

.orbit {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(0, 240, 255, 0.34);
}

.orbit::before {
  position: absolute;
  top: 18%;
  left: 9%;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  content: "";
  background: var(--cyan);
  box-shadow: var(--shadow-cyan);
}

.orbit-a {
  width: 350px;
  height: 350px;
  animation: rotate 12s linear infinite;
}

.orbit-b {
  width: 288px;
  height: 288px;
  border-color: rgba(255, 36, 228, 0.42);
  transform: rotateX(62deg) rotateZ(28deg);
  animation: rotateReverse 8s linear infinite;
}

.orbit-c {
  width: 230px;
  height: 230px;
  border-style: dashed;
  animation: rotate 16s linear infinite;
}

.orb-core-text {
  position: absolute;
  bottom: 92px;
  color: var(--cyan);
  font-family: "Cascadia Mono", monospace;
  font-size: 12px;
  letter-spacing: 0.32em;
}

.hud-panel {
  position: absolute;
  width: 290px;
  padding: 20px;
  border: 1px solid rgba(0, 240, 255, 0.34);
  background: rgba(4, 9, 20, 0.76);
  box-shadow: var(--shadow-cyan), inset 0 0 22px rgba(0, 240, 255, 0.08);
  backdrop-filter: blur(14px);
  clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 18px 100%, 0 calc(100% - 18px));
}

.hud-panel span {
  display: block;
  color: var(--magenta);
  font-size: 11px;
}

.hud-panel strong {
  display: block;
  margin-top: 10px;
  font-size: 21px;
}

.hud-panel small {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 14px;
}

.threat-panel {
  top: 90px;
  right: 26px;
  animation: floatA 5s ease-in-out infinite;
}

.privacy-panel {
  right: 120px;
  bottom: 84px;
  border-color: rgba(255, 36, 228, 0.36);
  box-shadow: var(--shadow-magenta), inset 0 0 22px rgba(255, 36, 228, 0.08);
  animation: floatB 6s ease-in-out infinite;
}

.capability-section,
.engine-section,
.workflow-section,
.deploy-section {
  padding: 120px 0;
}

.section-heading {
  max-width: 850px;
  margin-bottom: 42px;
}

.section-heading span,
.engine-copy > span,
.deploy-card span {
  color: var(--cyan);
  font-size: 13px;
}

.section-heading h2,
.engine-copy h2,
.deploy-card h2 {
  margin: 14px 0;
  font-size: 52px;
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.section-heading p,
.engine-copy p,
.deploy-card p {
  color: #b9ccd6;
  font-size: 18px;
  line-height: 1.85;
}

.capability-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.feature-card {
  position: relative;
  min-height: 260px;
  overflow: hidden;
  padding: 26px;
  border: 1px solid rgba(0, 240, 255, 0.18);
  background:
    linear-gradient(135deg, rgba(0, 240, 255, 0.12), transparent 40%),
    rgba(5, 11, 24, 0.74);
  box-shadow: inset 0 0 40px rgba(0, 240, 255, 0.05);
  transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
}

.feature-card:hover {
  transform: translateY(-8px);
  border-color: rgba(0, 240, 255, 0.58);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.34), var(--shadow-cyan);
}

.feature-card::after {
  position: absolute;
  top: -120px;
  left: -80px;
  width: 180px;
  height: 420px;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.12), transparent);
  transform: rotate(28deg);
  animation: sweep 5.5s ease-in-out infinite;
}

.feature-card-large {
  grid-column: span 2;
}

.card-index {
  color: var(--magenta);
  font-size: 13px;
}

.feature-card h3 {
  margin: 22px 0 14px;
  font-size: 30px;
}

.feature-card p {
  color: #a8bdc9;
  font-size: 16px;
  line-height: 1.8;
}

.meter {
  position: absolute;
  right: 26px;
  bottom: 28px;
  left: 26px;
  height: 6px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.08);
}

.meter i {
  display: block;
  width: var(--size);
  height: 100%;
  background: linear-gradient(90deg, var(--cyan), var(--magenta));
  box-shadow: var(--shadow-cyan);
}

.engine-section {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 58px;
  align-items: center;
}

.engine-console {
  overflow: hidden;
  border: 1px solid rgba(0, 240, 255, 0.28);
  background: rgba(0, 0, 0, 0.48);
  box-shadow: var(--shadow-cyan);
}

.console-topbar {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 14px 18px;
  border-bottom: 1px solid rgba(0, 240, 255, 0.2);
  color: var(--muted);
  font-size: 12px;
}

.console-topbar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--magenta);
  box-shadow: var(--shadow-magenta);
}

.console-topbar span:nth-child(2) {
  background: var(--cyan);
  box-shadow: var(--shadow-cyan);
}

.console-topbar span:nth-child(3) {
  background: var(--lime);
  box-shadow: 0 0 14px rgba(140, 255, 92, 0.65);
}

.console-topbar b {
  margin-left: auto;
  font-weight: 500;
}

.console-body {
  position: relative;
  min-height: 430px;
  padding: 30px;
  background:
    linear-gradient(90deg, rgba(0, 240, 255, 0.04) 1px, transparent 1px),
    linear-gradient(0deg, rgba(0, 240, 255, 0.04) 1px, transparent 1px);
  background-size: 28px 28px;
}

.mimic-grid-bg {
  position: absolute;
  right: -160px;
  bottom: -90px;
  width: 620px;
  opacity: 0.32;
  filter: saturate(1.3) drop-shadow(0 0 30px rgba(0, 240, 255, 0.22));
}

.console-body pre {
  position: relative;
  z-index: 2;
  margin: 0;
  white-space: pre-wrap;
}

.console-body code {
  color: #bafcff;
  font-family: "Cascadia Mono", "Consolas", monospace;
  font-size: 16px;
  line-height: 1.8;
  text-shadow: 0 0 12px rgba(0, 240, 255, 0.25);
}

.engine-list {
  display: grid;
  gap: 14px;
  margin-top: 30px;
}

.engine-list div {
  padding: 18px 20px;
  border-left: 3px solid var(--cyan);
  background: rgba(0, 240, 255, 0.06);
}

.engine-list b,
.engine-list span {
  display: block;
}

.engine-list b {
  color: var(--text);
}

.engine-list span {
  margin-top: 6px;
  color: var(--muted);
}

.timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.timeline::before {
  position: absolute;
  top: 46px;
  right: 8%;
  left: 8%;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, transparent, var(--cyan), var(--magenta), transparent);
}

.timeline article {
  position: relative;
  min-height: 250px;
  padding: 26px;
  border: 1px solid rgba(255, 36, 228, 0.22);
  background: rgba(8, 11, 26, 0.75);
}

.timeline b {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(0, 240, 255, 0.6);
  color: var(--cyan);
  background: #030409;
  box-shadow: var(--shadow-cyan);
  font-family: "Cascadia Mono", monospace;
}

.timeline h3 {
  margin: 34px 0 12px;
  font-size: 24px;
}

.timeline p {
  color: var(--muted);
  line-height: 1.8;
}

.deploy-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: center;
  padding: 54px;
  border: 1px solid rgba(0, 240, 255, 0.3);
  background:
    radial-gradient(circle at 82% 44%, rgba(255, 36, 228, 0.18), transparent 28%),
    linear-gradient(135deg, rgba(0, 240, 255, 0.1), rgba(255, 36, 228, 0.08)),
    rgba(4, 8, 18, 0.86);
  box-shadow: var(--shadow-cyan), inset 0 0 42px rgba(0, 240, 255, 0.06);
  clip-path: polygon(0 0, calc(100% - 44px) 0, 100% 44px, 100% 100%, 44px 100%, 0 calc(100% - 44px));
}

.site-footer {
  position: relative;
  z-index: 3;
  display: flex;
  justify-content: space-between;
  width: var(--content-width);
  margin: 0 auto;
  padding: 34px 0 46px;
  color: rgba(202, 230, 240, 0.62);
  font-size: 12px;
}

.reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

@keyframes pulse {
  0%,
  100% {
    transform: scale(0.76);
    opacity: 0.72;
  }
  50% {
    transform: scale(1.12);
    opacity: 1;
  }
}

@keyframes cityDrift {
  from {
    transform: scale(1.08) translate3d(-1%, -1%, 0);
  }
  to {
    transform: scale(1.16) translate3d(2%, -3%, 0);
  }
}

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

@keyframes rotateReverse {
  to {
    transform: rotateX(62deg) rotateZ(-332deg);
  }
}

@keyframes floatA {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(-12px, 18px, 0);
  }
}

@keyframes floatB {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(14px, -12px, 0);
  }
}

@keyframes sweep {
  0%,
  42% {
    transform: translateX(-80px) rotate(28deg);
    opacity: 0;
  }
  58% {
    opacity: 1;
  }
  100% {
    transform: translateX(520px) rotate(28deg);
    opacity: 0;
  }
}

@media (max-width: 1180px) {
  body {
    min-width: 0;
  }

  .site-header,
  .section-shell,
  .site-footer {
    width: calc(100vw - 28px);
    min-width: 0;
  }

  .site-header {
    grid-template-columns: 1fr auto;
  }

  .site-header nav {
    display: none;
  }

  .hero-grid,
  .engine-section,
  .deploy-card {
    grid-template-columns: 1fr;
  }

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

  .hero-copy h1 {
    font-size: 56px;
  }

  .hero-visual {
    min-height: 560px;
  }

  .city-card {
    inset: 20px 0 0 0;
  }

  .capability-grid,
  .timeline {
    grid-template-columns: 1fr 1fr;
  }

  .feature-card-large {
    grid-column: span 2;
  }
}
