:root {
  --ink: #0a1428;
  --navy: #0f1e3c;
  --navy-2: #10244a;
  --blue: #1d89f5;
  --cyan: #00c8ff;
  --gold: #ffc800;
  --orange: #f5891d;
  --paper: #f6f9fc;
  --line: #d8e3ee;
  --muted: #5b6f86;
  --white: #ffffff;
  --shadow: 0 18px 45px rgba(11, 29, 57, .12);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Segoe UI", "Microsoft YaHei", Arial, sans-serif;
  line-height: 1.7;
  letter-spacing: 0;
}

img, svg {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--blue);
  text-decoration: none;
}

a:hover {
  color: #0b69c5;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, .94);
  border-bottom: 1px solid rgba(216, 227, 238, .82);
  backdrop-filter: blur(14px);
}

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

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font-size: 22px;
  font-weight: 800;
}

.brand img {
  width: 40px;
  height: 40px;
  border-radius: 10px;
}

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

.nav-links a {
  padding: 10px 12px;
  color: #26415f;
  font-size: 15px;
  font-weight: 650;
  border-radius: var(--radius);
}

.nav-links a[aria-current="page"], .nav-links a:hover {
  background: #eaf4ff;
  color: #0c60b5;
}

.button, button.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 11px 18px;
  border: 0;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  color: var(--white);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 12px 24px rgba(29, 137, 245, .22);
}

.button:hover {
  color: var(--white);
  transform: translateY(-1px);
}

.button.secondary {
  background: var(--navy);
  box-shadow: none;
}

.button.ghost {
  background: #ffffff;
  color: var(--navy);
  border: 1px solid var(--line);
  box-shadow: none;
}

.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 18%, rgba(0, 200, 255, .20), transparent 30%),
    radial-gradient(circle at 86% 12%, rgba(255, 200, 0, .18), transparent 28%),
    linear-gradient(135deg, #122448 0%, #0c2042 58%, #17366a 100%);
  color: var(--white);
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, .94fr) minmax(460px, .9fr);
  align-items: center;
  gap: 56px;
  min-height: 690px;
  padding: 72px 0 64px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 999px;
  color: #c8f3ff;
  background: rgba(255, 255, 255, .06);
  font-size: 14px;
  font-weight: 700;
}

h1, h2, h3 {
  margin: 0;
  line-height: 1.16;
}

h1 {
  margin-top: 22px;
  font-size: clamp(42px, 6vw, 62px);
  letter-spacing: 0;
}

h2 {
  font-size: clamp(30px, 4vw, 46px);
}

h3 {
  font-size: 22px;
}

.hero p {
  max-width: 610px;
  color: #d5e5f5;
  font-size: 19px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin: 30px 0;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  max-width: 610px;
}

.metric {
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .06);
}

.metric strong {
  display: block;
  color: #ffffff;
  font-size: 22px;
}

.metric span {
  color: #aac2d9;
  font-size: 14px;
}

.hero-visual {
  position: relative;
}

.hero-visual img {
  display: block;
  border-radius: 18px;
  box-shadow: 0 32px 70px rgba(0, 0, 0, .30);
}

.band {
  padding: 88px 0;
}

.band.white {
  background: var(--white);
}

.band.navy {
  background: var(--navy);
  color: var(--white);
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 34px;
}

.section-head p {
  max-width: 620px;
  margin: 0;
  color: var(--muted);
}

.navy .section-head p, .navy .muted {
  color: #b8cbdf;
}

.grid {
  display: grid;
  gap: 20px;
}

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

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

.card {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 1px 0 rgba(0, 0, 0, .02);
}

.navy .card {
  color: var(--white);
  border-color: rgba(255, 255, 255, .14);
  background: #13284f;
}

.icon {
  width: 44px;
  height: 44px;
  display: inline-grid;
  place-items: center;
  margin-bottom: 16px;
  border-radius: var(--radius);
  background: #e9f7ff;
  color: var(--blue);
  font-size: 22px;
}

.gold-icon {
  background: #fff6d5;
  color: #a96800;
}

.card p, .feature-row p, .quote p, .faq p {
  color: var(--muted);
  margin: 12px 0 0;
}

.navy .card p {
  color: #b8cbdf;
}

.feature-row {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 34px;
  align-items: start;
  padding: 30px 0;
  border-top: 1px solid var(--line);
}

.feature-row:first-child {
  border-top: 0;
}

.feature-label {
  color: var(--blue);
  font-weight: 800;
}

.split {
  display: grid;
  grid-template-columns: .92fr 1.08fr;
  gap: 40px;
  align-items: center;
}

.panel {
  padding: 30px;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.scenario-list {
  display: grid;
  gap: 14px;
}

.scenario {
  padding: 18px;
  border-left: 4px solid var(--cyan);
  background: #f2f8fe;
  border-radius: var(--radius);
}

.scenario:nth-child(even) {
  border-left-color: var(--gold);
}

.quote {
  position: relative;
  min-height: 210px;
}

.quote strong {
  display: block;
  margin-top: 18px;
}

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

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

.download-table th {
  color: #26415f;
  background: #edf5fc;
}

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

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.tag {
  padding: 6px 10px;
  border-radius: 999px;
  background: #eaf4ff;
  color: #185f9f;
  font-size: 13px;
  font-weight: 700;
}

.faq {
  padding: 24px 0;
  border-top: 1px solid var(--line);
}

.faq:first-child {
  border-top: 0;
}

.site-footer {
  padding: 44px 0;
  color: #b7cadf;
  background: #08162c;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 88px;
}

.site-footer a {
  color: #dcecff;
}

.footer-links {
  display: grid;
  gap: 8px;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(3, 11, 24, .68);
}

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

.download-modal {
  width: min(760px, 100%);
  max-height: calc(100vh - 40px);
  overflow: auto;
  border-radius: 12px;
  background: var(--white);
  box-shadow: 0 26px 70px rgba(0, 0, 0, .32);
}

.modal-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 26px;
  color: var(--white);
  background: var(--navy);
}

.modal-head p {
  margin: 8px 0 0;
  color: #c4d7ea;
}

.close-modal {
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .12);
  color: var(--white);
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
}

.modal-body {
  padding: 26px;
}

.qr-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-bottom: 22px;
}

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

.qr-card img {
  width: 170px;
  height: 170px;
  background: #fff;
}

.modal-links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.source-note {
  margin-top: 24px;
  padding: 16px;
  border-radius: var(--radius);
  background: #fff8dd;
  color: #5e4a00;
  font-size: 14px;
}

.breadcrumbs {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 18px;
}

.page-hero {
  padding: 74px 0 64px;
  color: var(--white);
  background:
    radial-gradient(circle at 78% 16%, rgba(255, 200, 0, .16), transparent 30%),
    linear-gradient(135deg, var(--navy), #0a172e);
}

.page-hero p {
  max-width: 740px;
  color: #c6d9eb;
  font-size: 18px;
}

@media (max-width: 900px) {
  .nav-wrap {
    align-items: flex-start;
    flex-direction: column;
    padding: 14px 0;
  }

  .nav-links {
    width: 100%;
  }

  .hero-inner, .split, .feature-row {
    grid-template-columns: 1fr;
  }

  .hero-inner {
    min-height: 0;
  }

  .grid.three, .grid.two, .footer-grid, .qr-grid, .modal-links {
    grid-template-columns: 1fr;
  }

  .hero-metrics {
    grid-template-columns: 1fr;
  }

  .section-head {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  .nav-wrap, .container {
    width: min(100% - 28px, 1160px);
  }

  .nav-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .nav-links a {
    width: auto;
    text-align: center;
  }

  .nav-links .button {
    grid-column: 1 / -1;
    width: 100%;
  }

  .button {
    width: 100%;
  }

  .hero-inner, .band {
    padding: 48px 0;
  }

  .download-table, .download-table tbody, .download-table tr, .download-table td, .download-table th {
    display: block;
    width: 100%;
  }

  .download-table thead {
    display: none;
  }

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

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

@media (min-width: 721px) {
  .download-modal .qr-grid,
  .download-modal .modal-links {
    grid-template-columns: repeat(2, 1fr);
  }
}
