:root {
  --bg: #05070a;
  --bg-2: #090d13;
  --panel: rgba(10, 16, 24, 0.72);
  --line: rgba(127, 255, 212, 0.16);
  --line-strong: rgba(200, 255, 240, 0.28);
  --mint: #7fffd4;
  --mint-2: #4adebf;
  --ice: #e7fff7;
  --text: #eef4fb;
  --muted: #8b97ab;
  --ok: #5eead4;
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
  --font-cn: "Noto Sans SC", "PingFang SC", "Hiragino Sans GB", sans-serif;
  --font-en: "Syne", "Noto Sans SC", sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, monospace;
  --radius: 22px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-cn);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
  min-height: 100vh;
}

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

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

button,
input,
textarea {
  font: inherit;
  color: inherit;
}

.noise {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 80;
  opacity: 0.045;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='140' height='140'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)' opacity='.55'/></svg>");
}

.cursor-glow {
  pointer-events: none;
  position: fixed;
  width: 42vw;
  height: 42vw;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(127, 255, 212, 0.08), transparent 62%);
  transform: translate(-50%, -50%);
  z-index: 0;
  mix-blend-mode: screen;
}

.container {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.nav {
  position: fixed;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  width: min(1180px, calc(100% - 24px));
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 10px 12px 10px 12px;
  border: 1px solid transparent;
  border-radius: 999px;
  z-index: 40;
  transition: background 0.3s, border-color 0.3s, backdrop-filter 0.3s;
}

.nav.is-on {
  background: rgba(5, 7, 10, 0.72);
  border-color: var(--line);
  backdrop-filter: blur(18px);
}

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

.brand-mark {
  width: 42px;
  height: 42px;
  object-fit: cover;
  border-radius: 50%;
  mix-blend-mode: screen;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-copy strong {
  font-family: var(--font-en);
  font-size: 15px;
  letter-spacing: 0.18em;
}

.brand-copy em {
  font-style: normal;
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.08em;
}

.nav-links {
  display: flex;
  gap: 22px;
  margin-left: auto;
  font-size: 14px;
  color: var(--muted);
}

.nav-links a:hover {
  color: var(--ice);
}

.menu-btn {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: rgba(127, 255, 212, 0.06);
  margin-left: auto;
}

.menu-btn span {
  display: block;
  width: 16px;
  height: 1.5px;
  margin: 4px auto;
  background: var(--ice);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  background: var(--mint);
  color: #04110c;
  font-weight: 600;
  letter-spacing: 0.04em;
  border: 1px solid transparent;
  box-shadow: 0 0 0 1px rgba(127, 255, 212, 0.2), 0 10px 30px rgba(77, 222, 191, 0.18);
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 0 1px rgba(127, 255, 212, 0.4), 0 16px 40px rgba(77, 222, 191, 0.28);
}

.btn-sm {
  min-height: 40px;
  padding: 0 16px;
  font-size: 13px;
}

.btn-ghost {
  background: transparent;
  color: var(--ice);
  border-color: var(--line-strong);
  box-shadow: none;
}

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: 140px 0 80px;
  isolation: isolate;
}

.section,
.hero,
.cta,
.footer {
  scroll-margin-top: 88px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.42;
  filter: saturate(0.85) contrast(1.08);
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(1200px 500px at 70% 30%, rgba(77, 222, 191, 0.12), transparent 55%),
    linear-gradient(180deg, rgba(5, 7, 10, 0.35), var(--bg) 92%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--mint);
  text-transform: uppercase;
}

.pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 0 0 rgba(127, 255, 212, 0.7);
  animation: pulse 1.8s infinite;
}

@keyframes pulse {
  70% {
    box-shadow: 0 0 0 10px transparent;
  }
}

h1,
h2,
.wordmark {
  font-family: var(--font-en);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.08;
}

h1 {
  margin: 18px 0 18px;
  font-size: clamp(40px, 5.4vw, 72px);
}

h1 .accent {
  background: linear-gradient(90deg, var(--ice), var(--mint));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lede {
  max-width: 36em;
  color: #c5d0de;
  font-size: 16px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  margin: 28px 0 36px;
  flex-wrap: wrap;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  max-width: 460px;
}

.hero-metrics dt {
  font-size: 12px;
  color: var(--muted);
}

.hero-metrics dd {
  font-family: var(--font-en);
  font-size: 28px;
  font-weight: 700;
}

.console {
  border: 1px solid var(--line);
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(12, 20, 28, 0.86), rgba(5, 8, 12, 0.92));
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, 0.04);
  overflow: hidden;
  position: relative;
}

.console::before {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(127, 255, 212, 0.08);
  border-radius: 20px;
  pointer-events: none;
}

.console-chrome {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--muted);
}

.dots {
  width: 42px;
  height: 10px;
  background:
    radial-gradient(circle at 5px 5px, #ff6b6b 4px, transparent 5px),
    radial-gradient(circle at 21px 5px, #f6c945 4px, transparent 5px),
    radial-gradient(circle at 37px 5px, #5eead4 4px, transparent 5px);
}

.console-chrome p {
  margin-right: auto;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.console-body {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 18px;
  padding: 22px;
}

.ring {
  width: 180px;
  height: 180px;
  margin: 8px auto;
  border-radius: 50%;
  background: conic-gradient(var(--mint) calc(var(--p) * 1%), rgba(255, 255, 255, 0.06) 0);
  display: grid;
  place-items: center;
  position: relative;
}

.ring::after {
  content: "";
  position: absolute;
  inset: 14px;
  border-radius: 50%;
  background: #081018;
}

.ring-core {
  position: relative;
  z-index: 1;
  text-align: center;
}

.ring-core small {
  display: block;
  font-size: 11px;
  color: var(--muted);
}

.ring-core strong {
  display: block;
  font-family: var(--font-en);
  font-size: 32px;
}

.ring-core em {
  font-style: normal;
  color: var(--mint);
  font-size: 13px;
}

.console-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.console-cards article {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.02);
}

.console-cards h3 {
  font-size: 14px;
  margin: 8px 0 4px;
  white-space: nowrap;
}

.console-cards p,
.tag {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.45;
}

.tag {
  font-family: var(--font-mono);
  letter-spacing: 0.12em;
}

.tag.ok {
  color: var(--ok);
}

.span-2 {
  grid-column: span 2;
}

.spark-head {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--muted);
}

.spark-head b {
  color: var(--ice);
  font-family: var(--font-mono);
}

.spark {
  width: 100%;
  height: 56px;
  margin-top: 8px;
}

.spark path {
  fill: none;
  stroke: var(--mint);
  stroke-width: 1.6;
  filter: drop-shadow(0 0 6px rgba(127, 255, 212, 0.45));
}

.ticker {
  border-block: 1px solid var(--line);
  overflow: hidden;
  background: rgba(127, 255, 212, 0.03);
}

.ticker-track {
  display: flex;
  gap: 42px;
  padding: 16px 0;
  width: max-content;
  animation: marquee 32s linear infinite;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

.section {
  padding: 110px 0;
}

.section-tight {
  padding-top: 80px;
}

.section-head h2 {
  font-size: clamp(32px, 4.4vw, 56px);
  margin: 8px 0 12px;
}

.kicker {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--mint);
}

.sub,
.muted {
  color: var(--muted);
  max-width: 42em;
}

.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: end;
  margin-bottom: 48px;
}

.about-copy p + p {
  margin-top: 16px;
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.stat {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(127, 255, 212, 0.04), transparent);
}

.stat span {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--muted);
}

.stat strong {
  display: block;
  font-family: var(--font-en);
  font-size: 48px;
  margin: 8px 0;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 40px;
}

.service {
  position: relative;
  min-height: 340px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--bg-2);
  overflow: hidden;
}

.service::before,
.bento article::before {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(127, 255, 212, 0.06);
  border-radius: 18px;
  pointer-events: none;
}

.service.featured {
  background:
    radial-gradient(400px 180px at 80% 0%, rgba(127, 255, 212, 0.16), transparent 50%),
    var(--bg-2);
}

.idx {
  font-family: var(--font-en);
  font-size: 42px;
  color: rgba(127, 255, 212, 0.28);
}

.service h3 {
  font-size: 24px;
  margin: 18px 0 10px;
}

.service ul {
  margin-top: 18px;
  color: var(--muted);
  list-style: none;
}

.service li::before {
  content: "▹ ";
  color: var(--mint);
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  list-style: none;
  counter-reset: step;
  margin-top: 36px;
}

.steps li {
  counter-increment: step;
  padding: 24px;
  border-top: 1px solid var(--mint);
  background: rgba(255, 255, 255, 0.02);
}

.steps li::before {
  content: "0" counter(step);
  display: block;
  font-family: var(--font-mono);
  color: var(--mint);
  margin-bottom: 18px;
}

.steps b {
  display: block;
  font-size: 20px;
  margin-bottom: 8px;
}

.bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 36px;
}

.bento article {
  position: relative;
  padding: 28px;
  min-height: 180px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(9, 13, 19, 0.8);
}

.bento .wide {
  grid-column: span 2;
  background:
    url("hero.jpg") center/cover no-repeat,
    #0b121a;
  background-blend-mode: luminosity;
}

.bento .wide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(5, 7, 10, 0.82), rgba(5, 7, 10, 0.42));
  border-radius: inherit;
}

.bento .wide > * {
  position: relative;
  z-index: 1;
}

.bento h3 {
  font-size: 20px;
  margin-bottom: 10px;
}

.cta {
  margin: 20px 0;
}

.cta-inner {
  padding: 72px 48px;
  border-radius: 36px;
  border: 1px solid var(--line-strong);
  text-align: center;
  background:
    radial-gradient(600px 180px at 50% 0%, rgba(127, 255, 212, 0.18), transparent 55%),
    linear-gradient(180deg, #0b141c, #070b10);
}

.cta-inner h2 {
  font-size: clamp(32px, 5vw, 60px);
  margin: 8px 0 12px;
}

.cta-inner .btn {
  margin-top: 22px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
}

.contact-list {
  list-style: none;
  margin-top: 28px;
  display: grid;
  gap: 18px;
}

.contact-list span {
  display: block;
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.12em;
}

.contact-list a,
.contact-list strong {
  font-size: 20px;
  font-weight: 600;
}

.form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.02);
}

.form label {
  display: grid;
  gap: 8px;
  font-size: 13px;
  color: var(--muted);
}

.form .full {
  grid-column: 1 / -1;
}

.form input,
.form textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: #070b10;
  border-radius: 14px;
  padding: 12px 14px;
  outline: none;
}

.form input:focus,
.form textarea:focus {
  border-color: var(--mint);
}

.form-note {
  grid-column: 1 / -1;
  color: var(--mint);
  font-size: 14px;
}

.footer {
  padding: 40px 0 20px;
  border-top: 1px solid var(--line);
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--muted);
}

.wordmark {
  width: min(1180px, calc(100% - 40px));
  margin: 28px auto 8px;
  font-size: clamp(72px, 18vw, 220px);
  line-height: 0.8;
  color: transparent;
  -webkit-text-stroke: 1px rgba(127, 255, 212, 0.22);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px 28px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 13px;
  padding-bottom: 24px;
}

.beian {
  letter-spacing: 0.04em;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.beian:hover {
  color: var(--ice);
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  animation: rise 0.9s ease forwards;
}

.reveal:nth-child(2) {
  animation-delay: 0.08s;
}
.reveal:nth-child(3) {
  animation-delay: 0.16s;
}

@keyframes rise {
  to {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 960px) {
  .hero-grid,
  .about-grid,
  .console-body,
  .service-grid,
  .steps,
  .contact-grid,
  .stats-row {
    grid-template-columns: 1fr;
  }

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

  .bento .wide {
    grid-column: auto;
  }

  .nav {
    background: rgba(5, 7, 10, 0.78);
    border-color: var(--line);
    backdrop-filter: blur(18px);
  }

  .nav-links,
  .nav .btn-sm {
    display: none;
  }

  .nav-links.is-open {
    display: flex;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    z-index: 50;
    flex-direction: column;
    padding: 18px;
    background: rgba(5, 7, 10, 0.96);
    border: 1px solid var(--line);
    border-radius: 18px;
  }

  .menu-btn {
    display: block;
  }

  .hero {
    padding-top: 120px;
  }

  .hero-metrics dd {
    font-size: 22px;
  }

  .console-cards h3 {
    white-space: normal;
  }

  .cta-inner {
    padding: 48px 20px;
  }

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

  .footer-top,
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }

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