:root {
  --ink: #061013;
  --panel: #0a171a;
  --panel-2: #102226;
  --line: #244248;
  --muted: #94a9ad;
  --paper: #eef5f1;
  --cyan: #43f0d1;
  --amber: #f5b94c;
  --white: #f8fffc;
  --max: 1240px;
  --radius: 3px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 92px; }
body {
  margin: 0;
  color: var(--paper);
  background: var(--ink);
  font-family: "Microsoft YaHei UI", "PingFang SC", Arial, sans-serif;
  line-height: 1.65;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  opacity: .18;
  background-image: linear-gradient(rgba(67,240,209,.12) 1px, transparent 1px), linear-gradient(90deg, rgba(67,240,209,.12) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 4px; }
.skip-link { position: fixed; left: 16px; top: -60px; z-index: 100; padding: 10px 16px; color: var(--ink); background: var(--amber); }
.skip-link:focus { top: 14px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  min-height: 76px;
  padding: 12px max(24px, calc((100vw - var(--max)) / 2));
  border-bottom: 1px solid var(--line);
  background: rgba(6,16,19,.94);
  backdrop-filter: blur(14px);
}
.brand { display: inline-flex; align-items: center; gap: 11px; font-weight: 800; letter-spacing: -.04em; white-space: nowrap; }
.brand-mark { display: grid; grid-template-columns: repeat(2, 7px); gap: 3px; width: 19px; }
.brand-mark i { display: block; height: 7px; background: var(--cyan); }
.brand-mark i:nth-child(2), .brand-mark i:nth-child(3) { opacity: .35; }
.main-nav { display: flex; align-items: center; justify-content: center; gap: clamp(12px, 1.5vw, 24px); font-size: 13px; color: #b9c9cb; }
.main-nav a { position: relative; white-space: nowrap; }
.main-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -7px; height: 1px; background: var(--cyan); transition: right .25s ease; }
.main-nav a:hover::after, .main-nav a[aria-current="page"]::after { right: 0; }
.nav-action, .button, .download-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 18px;
  border: 1px solid var(--cyan);
  font-weight: 800;
  font-size: 14px;
  white-space: nowrap;
  transition: transform .2s ease, background .2s ease, color .2s ease;
}
.nav-action, .button-primary { color: var(--ink); background: var(--cyan); }
.nav-action:hover, .button:hover, .download-button:hover { transform: translateY(-2px); }
.menu-toggle { display: none; color: var(--white); border: 1px solid var(--line); background: transparent; padding: 8px 12px; }

main > section, .page-shell { width: min(calc(100% - 48px), var(--max)); margin-inline: auto; }
.hero {
  min-height: 690px;
  display: grid;
  grid-template-columns: .88fr 1.12fr;
  align-items: center;
  gap: clamp(40px, 7vw, 100px);
  padding-block: 90px 104px;
}
.matrix-field { position: relative; }
.matrix-field::after { content: "01001011 01001100 00101111 100101"; position: absolute; left: 0; bottom: 32px; color: var(--line); font: 11px/1 Consolas, monospace; letter-spacing: .18em; }
.console-label { display: flex; align-items: center; justify-content: space-between; max-width: 430px; padding-bottom: 12px; border-bottom: 1px solid var(--line); color: var(--cyan); font: 12px/1.3 Consolas, monospace; letter-spacing: .08em; }
.console-label b { color: var(--muted); font-family: inherit; font-weight: 400; }
h1, h2, h3, p { margin-top: 0; }
h1 { max-width: 640px; margin-bottom: 24px; font-size: clamp(52px, 7vw, 94px); line-height: .98; letter-spacing: -.075em; }
.hero-lead { max-width: 600px; color: #b8c8ca; font-size: clamp(16px, 1.5vw, 19px); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 32px 0 42px; }
.button-quiet { background: transparent; color: var(--white); border-color: var(--line); }
.hero-status { display: grid; grid-template-columns: repeat(3, 1fr); margin: 0; border-block: 1px solid var(--line); }
.hero-status div { padding: 14px 12px; border-right: 1px solid var(--line); }
.hero-status div:last-child { border-right: 0; }
.hero-status dt { color: var(--muted); font-size: 11px; }
.hero-status dd { margin: 3px 0 0; font: 700 13px/1.2 Consolas, monospace; }
.pulse { display: inline-block; width: 7px; height: 7px; margin-right: 7px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 14px var(--cyan); }
.screen-caption { display: flex; justify-content: space-between; padding: 9px 11px; border: 1px solid var(--line); border-bottom: 0; color: var(--muted); font: 10px/1.2 Consolas, monospace; }

.download-zone, .pricing-block, .news-grid, .faq-terminal { padding-block: 110px; }
.section-heading { margin-bottom: 44px; }
.section-heading h2 { max-width: 780px; margin-bottom: 14px; font-size: clamp(35px, 4.5vw, 64px); line-height: 1.05; letter-spacing: -.055em; }
.section-heading > p:last-child { max-width: 620px; color: var(--muted); }
.kicker { margin-bottom: 14px; color: var(--cyan); font: 11px/1.2 Consolas, monospace; letter-spacing: .15em; }
.split-heading { display: grid; grid-template-columns: 1fr .7fr; align-items: end; gap: 60px; padding-top: 24px; border-top: 1px solid var(--line); }
.download-matrix { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.download-card {
  display: grid;
  grid-template-columns: 68px 1fr auto;
  align-items: center;
  gap: 20px;
  min-width: 0;
  padding: 28px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(10,23,26,.76);
}
.platform-code { color: var(--cyan); font: 800 15px/1 Consolas, monospace; }
.platform-info h3 { margin: 0; font-size: 21px; }
.platform-info p { margin: 3px 0 0; color: var(--muted); font-size: 12px; }
.download-card ul { grid-column: 2 / -1; display: flex; gap: 22px; margin: 0; padding: 0; color: #b7c8ca; font-size: 13px; list-style: none; }
.download-card li::before { content: "·"; color: var(--cyan); margin-right: 6px; }
.download-button { grid-row: 1; grid-column: 3; min-width: 146px; color: var(--ink); background: var(--paper); border-color: var(--paper); white-space: nowrap; word-break: keep-all; writing-mode: horizontal-tb; }
.text-link { display: inline-block; margin-top: 28px; color: var(--cyan); font-weight: 700; }

.feature-command {
  display: grid;
  grid-template-columns: .75fr 1.25fr;
  gap: 70px;
  align-items: center;
  padding-block: 120px;
  border-block: 1px solid var(--line);
}
.feature-visual { position: relative; }
.signal-strip { display: flex; align-items: end; gap: 8px; height: 48px; margin-top: 18px; }
.signal-strip i { flex: 1; height: 20%; background: var(--cyan); opacity: .45; animation: bars 2.4s ease-in-out infinite alternate; }
.signal-strip i:nth-child(2n) { height: 70%; animation-delay: -.8s; }
.signal-strip i:nth-child(3n) { height: 45%; animation-delay: -1.4s; }
@keyframes bars { to { height: 95%; opacity: 1; } }
.feature-list { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--line); }
.feature-list article { display: grid; grid-template-columns: 48px 1fr; gap: 13px; padding: 24px 18px 24px 0; border-bottom: 1px solid var(--line); }
.feature-list article:nth-child(odd) { border-right: 1px solid var(--line); }
.feature-list article:nth-child(even) { padding-left: 24px; }
.feature-list article > span { color: var(--amber); font: 700 11px/1.2 Consolas, monospace; }
.feature-list h3 { margin-bottom: 6px; font-size: 18px; }
.feature-list p { margin: 0; color: var(--muted); font-size: 13px; }

.price-rail { display: grid; grid-template-columns: repeat(3, 1fr); align-items: stretch; gap: 14px; }
.price-card { display: flex; flex-direction: column; min-height: 470px; padding: 30px; border: 1px solid var(--line); background: var(--panel); }
.price-card.featured { border-color: var(--cyan); background: var(--panel-2); transform: translateY(-18px); }
.price-top { display: flex; justify-content: space-between; padding-bottom: 16px; border-bottom: 1px solid var(--line); font-weight: 800; }
.price-top small { color: var(--muted); font: 10px Consolas, monospace; }
.price { margin: 30px 0 8px; }
.price b { font-size: 54px; letter-spacing: -.05em; }
.price span { color: var(--muted); }
.price-card > p:not(.price) { color: var(--muted); font-size: 14px; }
.price-card ul { margin: 18px 0 34px; padding-left: 18px; color: #c6d4d4; }
.price-card .button { margin-top: auto; }

.data-board { display: grid; grid-template-columns: .65fr 1.35fr; gap: 60px; align-items: end; padding-block: 100px; }
.data-intro h2 { font-size: clamp(35px, 4vw, 58px); letter-spacing: -.05em; }
.data-intro > p:last-child { color: var(--muted); }
.data-grid { display: grid; grid-template-columns: repeat(2, 1fr); margin: 0; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.data-grid div { padding: 25px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.data-grid dt, .data-grid small { color: var(--muted); font-size: 11px; }
.data-grid dd { margin: 7px 0 0; font: 700 clamp(35px, 5vw, 64px)/1 Consolas, monospace; letter-spacing: -.06em; }
.data-grid dd span { color: var(--cyan); font-size: .4em; }

.news-grid { display: grid; grid-template-columns: .55fr 1.15fr .8fr; gap: 24px; }
.news-heading { padding-right: 24px; border-right: 1px solid var(--line); }
.news-heading h2 { font-size: clamp(38px, 4vw, 58px); }
.news-feature { background: var(--paper); color: var(--ink); }
.news-feature img { display: block; width: 100%; height: auto; }
.news-feature div { padding: 25px; }
.news-feature time, .news-list time { font: 11px Consolas, monospace; color: #557176; }
.news-feature h3 { margin: 8px 0; font-size: 25px; line-height: 1.2; }
.news-feature p { color: #456066; }
.news-feature a { font-weight: 800; border-bottom: 1px solid currentColor; }
.news-list { border-top: 1px solid var(--line); }
.news-list article { display: grid; grid-template-columns: 48px 1fr; gap: 14px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.news-list h3 { margin-bottom: 5px; font-size: 16px; }
.news-list p { margin: 0; color: var(--muted); font-size: 13px; }

.partner-console { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; padding: 70px; background: var(--cyan); color: var(--ink); }
.partner-copy h2 { max-width: 620px; margin-bottom: 20px; font-size: clamp(36px, 4vw, 58px); line-height: 1.02; letter-spacing: -.055em; }
.partner-copy .kicker { color: #164d47; }
.partner-copy .button-primary { border-color: var(--ink); background: var(--ink); color: var(--white); }
.partner-metrics { display: grid; margin: 0; border-top: 1px solid rgba(6,16,19,.35); }
.partner-metrics div { display: flex; align-items: center; justify-content: space-between; padding: 18px 0; border-bottom: 1px solid rgba(6,16,19,.35); }
.partner-metrics dd { margin: 0; font: 800 clamp(26px, 4vw, 48px)/1 Consolas, monospace; }

.faq-layout { display: grid; grid-template-columns: .55fr 1.45fr; gap: 70px; }
.faq-index { color: var(--muted); }
.faq-index a { display: block; margin-top: 18px; color: var(--cyan); }
.faq-items { border-top: 1px solid var(--line); }
.faq-items details { border-bottom: 1px solid var(--line); }
.faq-items summary { position: relative; padding: 22px 42px 22px 0; cursor: pointer; font-weight: 800; list-style: none; }
.faq-items summary::after { content: "+"; position: absolute; right: 8px; color: var(--cyan); font: 22px Consolas, monospace; }
.faq-items details[open] summary::after { content: "−"; }
.faq-items details p { padding-right: 40px; color: var(--muted); }
.contact-line { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 30px; padding-block: 28px; border-block: 1px solid var(--line); }
.contact-line span { color: var(--cyan); font: 11px Consolas, monospace; }
.contact-line p { margin: 0; }
.contact-line a { color: var(--amber); font-weight: 800; }

.site-footer { width: min(calc(100% - 48px), var(--max)); margin: 0 auto; padding: 80px 0 30px; }
.footer-brand { display: flex; justify-content: space-between; align-items: start; padding-bottom: 40px; border-bottom: 1px solid var(--line); }
.footer-brand p { max-width: 380px; color: var(--muted); text-align: right; }
.footer-map { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; padding: 42px 0; }
.footer-map div { display: grid; gap: 8px; }
.footer-map h2 { font-size: 13px; color: var(--cyan); }
.footer-map a { color: var(--muted); font-size: 13px; }
.footer-map a:hover { color: var(--white); }
.footer-bottom { display: flex; justify-content: space-between; padding-top: 20px; border-top: 1px solid var(--line); color: #687f83; font-size: 11px; }

.page-hero { display: grid; grid-template-columns: 1fr .8fr; align-items: center; gap: 70px; min-height: 520px; padding-block: 80px; }
.page-hero h1 { font-size: clamp(48px, 7vw, 88px); }
.page-hero-copy > p:not(.kicker) { max-width: 620px; color: var(--muted); }
.page-hero-aside { border: 1px solid var(--line); padding: 25px; background: var(--panel); }
.page-hero-aside dl { margin: 0; }
.page-hero-aside div { display: flex; justify-content: space-between; padding: 14px 0; border-bottom: 1px solid var(--line); }
.page-hero-aside div:last-child { border-bottom: 0; }
.page-hero-aside dt { color: var(--muted); }
.page-hero-aside dd { margin: 0; color: var(--cyan); font-family: Consolas, monospace; }
.page-section { padding-block: 85px; }
.page-section + .page-section { border-top: 1px solid var(--line); }
.install-grid { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); }
.install-step { padding: 26px; border-right: 1px solid var(--line); }
.install-step:last-child { border-right: 0; }
.install-step span { color: var(--cyan); font: 12px Consolas, monospace; }
.install-step h3 { margin: 18px 0 8px; }
.install-step p { margin: 0; color: var(--muted); font-size: 13px; }
.support-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.support-card { padding: 26px; border: 1px solid var(--line); background: var(--panel); }
.support-card code { color: var(--amber); font-size: 11px; }
.support-card p { color: var(--muted); }
.support-card a { color: var(--cyan); font-weight: 800; }
.troubleshoot { display: grid; grid-template-columns: .7fr 1.3fr; gap: 70px; }
.check-list { counter-reset: checks; margin: 0; padding: 0; list-style: none; }
.check-list li { counter-increment: checks; display: grid; grid-template-columns: 48px 1fr; padding: 20px 0; border-bottom: 1px solid var(--line); }
.check-list li::before { content: "0" counter(checks); color: var(--cyan); font: 12px Consolas, monospace; }

@media (max-width: 1080px) {
  .site-header { grid-template-columns: auto auto 1fr auto; }
  .menu-toggle { display: block; }
  .main-nav { position: absolute; top: 76px; left: 0; right: 0; display: none; align-items: stretch; padding: 18px 24px 24px; background: var(--ink); border-bottom: 1px solid var(--line); }
  .main-nav.is-open { display: grid; grid-template-columns: repeat(2, 1fr); }
  .main-nav a { padding: 9px; }
  .hero { grid-template-columns: 1fr 1fr; }
  .download-card { grid-template-columns: 52px 1fr; }
  .download-button { grid-row: auto; grid-column: 2; }
  .news-grid { grid-template-columns: .6fr 1.4fr; }
  .news-list { grid-column: 2; }
  .news-heading { grid-row: span 2; }
}

@media (max-width: 760px) {
  main > section, .page-shell, .site-footer { width: min(calc(100% - 30px), var(--max)); }
  .site-header { gap: 12px; padding-inline: 15px; }
  .nav-action { display: none; }
  .main-nav.is-open { grid-template-columns: 1fr; }
  .hero, .feature-command, .data-board, .partner-console, .page-hero, .troubleshoot { grid-template-columns: 1fr; }
  .hero { min-height: auto; padding-block: 60px 90px; }
  h1 { font-size: clamp(48px, 16vw, 72px); }
  .hero-media { grid-row: 1; }
  .hero-status { grid-template-columns: 1fr; }
  .hero-status div { border-right: 0; border-bottom: 1px solid var(--line); }
  .hero-status div:last-child { border-bottom: 0; }
  .split-heading, .faq-layout { grid-template-columns: 1fr; gap: 24px; }
  .download-matrix { grid-template-columns: 1fr; }
  .download-card { grid-template-columns: 52px 1fr; padding: 22px 18px; }
  .download-card ul { grid-column: 1 / -1; display: grid; gap: 3px; }
  .download-button { grid-column: 1 / -1; width: 100%; min-width: 0; }
  .feature-command { gap: 45px; padding-block: 90px; }
  .feature-list { grid-template-columns: 1fr; }
  .feature-list article:nth-child(odd) { border-right: 0; }
  .feature-list article:nth-child(even) { padding-left: 0; }
  .price-rail, .support-grid { grid-template-columns: 1fr; }
  .price-card.featured { transform: none; }
  .news-grid { grid-template-columns: 1fr; }
  .news-heading, .news-list { grid-column: auto; grid-row: auto; }
  .partner-console { padding: 40px 24px; gap: 40px; }
  .contact-line { grid-template-columns: 1fr; gap: 8px; }
  .footer-brand, .footer-bottom { display: grid; gap: 15px; }
  .footer-brand p { text-align: left; }
  .footer-map { grid-template-columns: 1fr 1fr; }
  .install-grid { grid-template-columns: 1fr; }
  .install-step { border-right: 0; border-bottom: 1px solid var(--line); }
  .install-step:last-child { border-bottom: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* Required final hero media normalization */
.hero { align-items: center; }
.hero-media { align-self: center; height: auto; padding: 0; margin-block: 0; overflow: visible; transform: none; }
.hero-media img { display: block; width: 100%; height: auto; object-fit: contain; object-position: center; min-height: 0; max-height: none; margin: 0; padding: 0; clip-path: none; transform: none; }
