:root {
  --red: #f20f12;
  --green: #00d733;
  --blue: #1119f5;
  --ink: #07090d;
  --ink-2: #1a2430;
  --muted: #5a6574;
  --line: #dfe6ee;
  --line-strong: #b9c6d4;
  --paper: #fbfcff;
  --wash: #f2f6fa;
  --wash-2: #e9f0f7;
  --red-soft: #fff0f0;
  --green-soft: #edfff2;
  --blue-soft: #eef0ff;
  --shadow: 0 18px 45px rgba(7, 9, 13, .08);
  --shadow-strong: 0 28px 80px rgba(7, 9, 13, .18);
  --radius: 8px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans SC", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
}

body.modal-open {
  overflow: hidden;
}

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

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

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

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

button,
input,
textarea {
  font: inherit;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 1000;
  padding: 10px 14px;
  background: var(--ink);
  color: var(--paper);
  border-radius: 6px;
}

.skip-link:focus {
  top: 16px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 252, 255, .92);
  border-bottom: 1px solid rgba(223, 230, 238, .88);
  backdrop-filter: blur(14px);
}

.nav-wrap {
  width: min(100% - 32px, var(--max));
  min-height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

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

.brand img {
  width: 46px;
  height: 46px;
  object-fit: contain;
}

.brand-text {
  display: grid;
  line-height: 1.1;
}

.brand-text small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  color: var(--ink);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
}

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

.site-nav a {
  padding: 9px 12px;
  border-radius: 7px;
  color: var(--ink-2);
  font-size: 14px;
  font-weight: 700;
}

.site-nav a[aria-current="page"],
.site-nav a:hover {
  background: var(--wash);
  color: var(--blue);
}

.header-action {
  white-space: nowrap;
}

.btn {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 18px;
  border: 1px solid transparent;
  border-radius: 7px;
  background: var(--ink);
  color: var(--paper);
  font-weight: 800;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow);
}

.btn:focus-visible,
.nav-toggle:focus-visible,
.site-nav a:focus-visible,
.modal-close:focus-visible,
.faq-question:focus-visible {
  outline: 3px solid rgba(17, 25, 245, .28);
  outline-offset: 3px;
}

.btn-primary {
  background: var(--blue);
}

.btn-secondary {
  background: var(--paper);
  border-color: var(--line-strong);
  color: var(--ink);
}

.btn-red {
  background: var(--blue);
}

.btn-green {
  background: var(--blue);
}

.page-main {
  overflow: hidden;
}

.section {
  padding: clamp(56px, 7vw, 96px) 0;
}

.section-compact {
  padding: clamp(40px, 5vw, 72px) 0;
}

.band {
  background: var(--wash);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.container {
  width: min(100% - 32px, var(--max));
  margin: 0 auto;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--red) 0 33%, var(--green) 33% 66%, var(--blue) 66% 100%);
}

.section-head {
  max-width: 760px;
  margin-bottom: 28px;
}

.section-head h1,
.section-head h2 {
  margin: 0 0 14px;
  line-height: 1.15;
}

.section-head h1 {
  max-width: 920px;
  font-size: clamp(36px, 6vw, 68px);
}

.section-head h2 {
  font-size: clamp(28px, 4vw, 46px);
}

.section-head p {
  max-width: 66ch;
  font-size: 18px;
}

.hero {
  min-height: clamp(620px, 78svh, 780px);
  display: grid;
  align-items: center;
  padding: clamp(42px, 6vw, 82px) 0;
  background:
    linear-gradient(135deg, rgba(242, 15, 18, .055), transparent 22%),
    linear-gradient(220deg, rgba(17, 25, 245, .075), transparent 30%),
    var(--paper);
}

.hero-grid {
  width: min(100% - 32px, var(--max));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, .92fr);
  gap: clamp(28px, 5vw, 62px);
  align-items: center;
}

.hero h1 {
  margin: 0;
  max-width: 870px;
  font-size: clamp(38px, 5.6vw, 64px);
  line-height: 1.05;
}

.hero-copy {
  max-width: 760px;
}

.hero-copy p {
  margin-top: 22px;
  max-width: 64ch;
  font-size: 19px;
}

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

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.proof-item {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 38px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: rgba(251, 252, 255, .82);
  color: var(--ink-2);
  font-size: 14px;
  font-weight: 700;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--blue);
}

.dot-red {
  background: var(--red);
}

.dot-green {
  background: var(--green);
}

.analyzer-panel {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #10141c;
  box-shadow: var(--shadow-strong);
  overflow: hidden;
}

.panel-top {
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  border-bottom: 1px solid rgba(251, 252, 255, .12);
  color: #eef4ff;
  font-size: 13px;
  font-weight: 800;
}

.traffic {
  display: flex;
  gap: 7px;
}

.traffic span {
  width: 11px;
  height: 11px;
  border-radius: 50%;
}

.traffic span:nth-child(1) { background: var(--red); }
.traffic span:nth-child(2) { background: var(--green); }
.traffic span:nth-child(3) { background: var(--blue); }

.panel-body {
  padding: 20px;
}

.media-card {
  padding: 18px;
  border: 1px solid rgba(251, 252, 255, .12);
  border-radius: 8px;
  background: #171e29;
}

.media-card h2 {
  margin: 0 0 12px;
  color: #fbfcff;
  font-size: 22px;
  line-height: 1.2;
}

.info-table {
  display: grid;
  gap: 8px;
}

.info-row {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 10px;
  padding: 9px 0;
  border-bottom: 1px solid rgba(251, 252, 255, .08);
  color: #d7e1ef;
  font-size: 14px;
}

.info-row span:first-child {
  color: #8fa2b8;
}

.meter {
  height: 9px;
  margin-top: 16px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--red), var(--green), var(--blue));
}

.grid-3,
.grid-4,
.grid-2 {
  display: grid;
  gap: 16px;
}

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

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card,
.quote-card,
.download-card,
.faq-item {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.card {
  padding: 22px;
}

.card h3,
.download-card h3,
.quote-card h3 {
  margin: 0 0 10px;
  color: var(--ink);
  font-size: 20px;
  line-height: 1.25;
}

.card p,
.quote-card p,
.download-card p {
  font-size: 15px;
}

.card-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  border-radius: 8px;
  background: var(--blue-soft);
  color: var(--blue);
  font-weight: 900;
}

.card-icon.red {
  background: var(--red-soft);
  color: var(--red);
}

.card-icon.green {
  background: var(--green-soft);
  color: #057a24;
}

.usecase-row {
  display: grid;
  grid-template-columns: .82fr 1.18fr;
  gap: clamp(22px, 4vw, 48px);
  align-items: start;
}

.usecase-list {
  display: grid;
  gap: 12px;
}

.usecase-item {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 14px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.usecase-item strong {
  display: block;
  margin-bottom: 4px;
}

.quote-card {
  padding: 24px;
  display: grid;
  gap: 16px;
}

.quote-card p {
  color: var(--ink-2);
  font-size: 16px;
  line-height: 1.75;
}

.quote-card footer {
  margin-top: 16px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.quote-role {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 12px;
}

.quote-role strong {
  color: var(--ink);
  font-size: 16px;
}

.quote-role span {
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  padding: 4px 9px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--wash);
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.quote-detail {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.quote-detail div {
  display: grid;
  grid-template-columns: 76px 1fr;
  gap: 10px;
}

.quote-detail dt {
  color: var(--ink);
  font-size: 13px;
  font-weight: 900;
}

.quote-detail dd {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.spec-strip {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.spec-strip span {
  min-height: 84px;
  display: grid;
  gap: 8px;
  place-items: center;
  padding: 14px;
  border-right: 1px solid var(--line);
  background: var(--paper);
  text-align: center;
  font-weight: 800;
}

.spec-strip span:last-child {
  border-right: 0;
}

.spec-icon {
  width: 30px;
  height: 30px;
  color: var(--blue);
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.spec-icon.red {
  color: var(--red);
}

.spec-icon.green {
  color: #058f2a;
}

.cta-band {
  padding: clamp(38px, 6vw, 64px);
  border-radius: 8px;
  background: var(--ink);
  color: var(--paper);
}

.cta-band h2 {
  margin: 0 0 12px;
  max-width: 760px;
  font-size: clamp(28px, 4vw, 46px);
  line-height: 1.12;
}

.cta-band p {
  max-width: 68ch;
  color: #cdd7e4;
}

.cta-band .hero-actions {
  margin-top: 24px;
}

.download-card {
  padding: 24px;
  display: grid;
  gap: 16px;
}

.download-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 4px 9px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--wash);
  color: var(--ink-2);
  font-size: 13px;
  font-weight: 800;
}

.feature-table {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.feature-table th,
.feature-table td {
  padding: 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.feature-table th {
  background: var(--wash);
  color: var(--ink);
}

.feature-table tr:last-child td {
  border-bottom: 0;
}

.timeline {
  display: grid;
  gap: 14px;
}

.timeline-item {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 18px;
  align-items: start;
}

.timeline-num {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: var(--ink);
  color: var(--paper);
  font-weight: 900;
}

.timeline-copy {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.timeline-copy h3 {
  margin: 0 0 8px;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-question {
  width: 100%;
  min-height: 58px;
  padding: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border: 0;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  text-align: left;
  font-weight: 800;
}

.faq-question::after {
  content: "+";
  flex: 0 0 auto;
  font-size: 24px;
  line-height: 1;
}

.faq-item.is-open .faq-question::after {
  content: "-";
}

.faq-answer {
  display: none;
  padding: 0 18px 18px;
}

.faq-item.is-open .faq-answer {
  display: block;
}

.site-footer {
  padding: 44px 0;
  border-top: 1px solid var(--line);
  background: var(--wash);
}

.footer-grid {
  width: min(100% - 32px, var(--max));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.15fr repeat(3, .7fr);
  gap: 28px;
}

.footer-grid h2,
.footer-grid h3 {
  margin: 0 0 12px;
  font-size: 16px;
}

.footer-grid a {
  display: block;
  margin-top: 7px;
  color: var(--muted);
  font-size: 14px;
}

.footer-grid a:hover {
  color: var(--blue);
}

.copyright {
  width: min(100% - 32px, var(--max));
  margin: 28px auto 0;
  color: var(--muted);
  font-size: 13px;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 22px;
}

.modal.is-open {
  display: flex;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(7, 9, 13, .72);
}

.modal-panel {
  position: relative;
  width: min(100%, 760px);
  max-height: min(860px, calc(100svh - 44px));
  overflow: auto;
  border-radius: 8px;
  background: var(--paper);
  box-shadow: var(--shadow-strong);
}

.modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 22px;
  border-bottom: 1px solid var(--line);
}

.modal-head h2 {
  margin: 0;
  font-size: 22px;
}

.modal-close {
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  color: var(--ink);
  cursor: pointer;
  font-size: 22px;
  line-height: 1;
}

.modal-body {
  padding: 22px;
}

.qr-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 18px;
}

.qr-card {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--wash);
  text-align: center;
}

.qr-code {
  width: 168px;
  height: 168px;
  display: grid;
  place-items: center;
  margin: 0 auto 14px;
  padding: 8px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: var(--paper);
}

.qr-code img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.qr-card h3 {
  margin: 0 0 6px;
  font-size: 18px;
}

.qr-card p {
  font-size: 14px;
}

.modal-note {
  margin-top: 16px;
  padding: 12px;
  border-radius: 8px;
  background: var(--blue-soft);
  color: var(--ink-2);
  font-size: 14px;
}

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

  .hero-grid,
  .usecase-row,
  .grid-2,
  .grid-3,
  .grid-4,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .spec-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .spec-strip span {
    border-bottom: 1px solid var(--line);
  }
}

@media (max-width: 760px) {
  .nav-wrap {
    min-height: 64px;
  }

  .nav-toggle {
    display: inline-block;
  }

  .site-nav {
    position: absolute;
    left: 16px;
    right: 16px;
    top: 70px;
    display: none;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--paper);
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: grid;
  }

  .site-nav a {
    width: 100%;
  }

  .brand img {
    width: 40px;
    height: 40px;
  }

  .brand-text small {
    display: none;
  }

  .hero-copy p,
  .section-head p {
    font-size: 16px;
  }

  .hero-actions,
  .hero-proof {
    align-items: stretch;
    flex-direction: column;
  }

  .btn,
  .proof-item {
    width: 100%;
  }

  .analyzer-panel {
    margin-top: 6px;
  }

  .info-row {
    grid-template-columns: 1fr;
    gap: 2px;
  }

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

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

  .feature-table,
  .feature-table tbody,
  .feature-table tr,
  .feature-table td,
  .feature-table th {
    display: block;
  }

  .feature-table thead {
    display: none;
  }

  .feature-table td {
    border-bottom: 0;
  }

  .feature-table tr {
    border-bottom: 1px solid var(--line);
  }
}

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