:root {
  --bg: #07111f;
  --bg-strong: #020817;
  --panel: #0b1828;
  --panel-soft: #10233a;
  --line: rgba(129, 205, 255, 0.18);
  --text: #edf7ff;
  --muted: #9ab3c9;
  --cyan: #31c9ff;
  --cyan-strong: #00a7ef;
  --green: #2bd3a3;
  --gold: #d8b45a;
  --paper: #f7fbff;
  --paper-2: #edf4fa;
  --ink: #102033;
  --ink-soft: #496071;
  --danger: #ffcf70;
  --shadow: 0 22px 60px rgba(0, 13, 31, 0.3);
  color-scheme: dark;
  font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans SC", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-size: 16px;
  line-height: 1.7;
}

img {
  display: block;
  width: 100%;
  height: auto;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(4, 13, 27, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.nav-wrap,
.section-inner,
.footer-inner {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
}

.brand-mark {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(49, 201, 255, 0.95), rgba(43, 211, 163, 0.9)),
    #0a192b;
  color: #00131f;
  font-weight: 900;
}

.brand strong {
  display: block;
  font-size: 18px;
  line-height: 1.1;
}

.brand span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.3;
}

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

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

.primary-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.primary-nav a {
  padding: 9px 11px;
  border-radius: 8px;
  color: #c7dbed;
  font-size: 14px;
}

.primary-nav a:hover,
.primary-nav a[aria-current="page"] {
  color: var(--text);
  background: rgba(49, 201, 255, 0.1);
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: 690px;
  background:
    radial-gradient(circle at 12% 14%, rgba(49, 201, 255, 0.23), transparent 34%),
    radial-gradient(circle at 85% 18%, rgba(43, 211, 163, 0.16), transparent 30%),
    linear-gradient(145deg, #08182b 0%, #06101f 52%, #050a14 100%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,0.8), transparent 78%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 92px 0 76px;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 1.05fr);
  gap: 52px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--cyan);
  font-size: 14px;
  font-weight: 700;
  margin: 0 0 18px;
}

.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--cyan);
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.18;
  color: inherit;
  letter-spacing: 0;
}

h1 {
  font-size: clamp(36px, 6vw, 68px);
  max-width: 760px;
}

h2 {
  font-size: clamp(28px, 4vw, 44px);
}

h3 {
  font-size: 21px;
}

p {
  margin: 0;
}

.lead {
  margin-top: 22px;
  max-width: 660px;
  color: #c6d8ea;
  font-size: 18px;
}

.hero-actions,
.cta-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 32px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 8px;
  border: 1px solid transparent;
  font-weight: 800;
  cursor: pointer;
}

.btn-primary {
  background: linear-gradient(135deg, var(--cyan), var(--green));
  color: #001524;
  box-shadow: 0 16px 34px rgba(0, 167, 239, 0.24);
}

.btn-secondary {
  color: var(--text);
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.05);
}

.trust-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 36px;
  max-width: 640px;
}

.trust-item {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(8, 26, 45, 0.75);
}

.trust-item strong {
  display: block;
  color: var(--text);
  font-size: 18px;
}

.trust-item span {
  display: block;
  color: var(--muted);
  font-size: 13px;
}

.hero-visual {
  position: relative;
}

.image-frame {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid rgba(49, 201, 255, 0.22);
  background: #071421;
  box-shadow: var(--shadow);
}

.image-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(2, 8, 23, 0.3));
  pointer-events: none;
}

.hero-visual .image-frame {
  aspect-ratio: 16 / 11;
}

.hero-visual img,
.feature-media img,
.page-media img {
  height: 100%;
  object-fit: cover;
}

.status-strip {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 20px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  z-index: 2;
}

.status-card {
  padding: 12px;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 8px;
  background: rgba(3, 13, 28, 0.76);
  backdrop-filter: blur(10px);
}

.status-card span {
  display: block;
  color: var(--muted);
  font-size: 12px;
}

.status-card strong {
  color: #e9fbff;
  font-size: 15px;
}

.section {
  padding: 82px 0;
}

.section.light {
  background: var(--paper);
  color: var(--ink);
}

.section.soft {
  background: linear-gradient(180deg, #081628 0%, #0b1929 100%);
}

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

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

.light .section-head p,
.light .muted,
.light .card p,
.light .article-card p {
  color: var(--ink-soft);
}

.grid-3,
.grid-4,
.content-grid {
  display: grid;
  gap: 18px;
}

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

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

.content-grid {
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.86fr);
  align-items: center;
  gap: 40px;
}

.card,
.article-card,
.faq-item {
  border-radius: 8px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.045);
}

.light .card,
.light .article-card,
.light .faq-item {
  border-color: #d7e4ef;
  background: #ffffff;
}

.card {
  padding: 24px;
}

.card-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 8px;
  background: rgba(49, 201, 255, 0.13);
  color: var(--cyan);
  font-weight: 900;
}

.card p,
.article-card p {
  margin-top: 10px;
  color: var(--muted);
}

.feature-media,
.page-media {
  aspect-ratio: 16 / 10;
}

.steps {
  counter-reset: step;
  display: grid;
  gap: 14px;
  margin-top: 22px;
}

.step {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 14px;
  align-items: start;
}

.step::before {
  counter-increment: step;
  content: counter(step);
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--cyan), var(--green));
  color: #001524;
  font-weight: 900;
}

.article-card {
  overflow: hidden;
}

.article-card img {
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.article-body {
  padding: 22px;
}

.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.pill {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: #cae9ff;
  background: rgba(49, 201, 255, 0.08);
  font-size: 14px;
}

.light .pill {
  color: #12587e;
  border-color: #cce3ef;
  background: #eef9ff;
}

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

.faq-item {
  padding: 22px;
}

.faq-item h3 {
  font-size: 18px;
}

.faq-item p {
  margin-top: 8px;
  color: var(--muted);
}

.cta-band {
  padding: 54px;
  border-radius: 8px;
  border: 1px solid rgba(49, 201, 255, 0.22);
  background:
    radial-gradient(circle at 80% 20%, rgba(49, 201, 255, 0.18), transparent 32%),
    linear-gradient(135deg, #0b1d31, #07101f);
}

.cta-band p {
  margin-top: 14px;
  max-width: 720px;
  color: #c5d8e8;
}

.page-hero {
  padding: 86px 0 58px;
  background:
    radial-gradient(circle at 80% 20%, rgba(49, 201, 255, 0.18), transparent 32%),
    linear-gradient(135deg, #071626, #040a15);
  border-bottom: 1px solid var(--line);
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 20px;
}

.breadcrumbs a {
  color: #cbe9ff;
}

.page-hero h1 {
  max-width: 880px;
}

.page-hero .lead {
  max-width: 760px;
}

.text-block {
  display: grid;
  gap: 16px;
  color: #c7dae9;
}

.light .text-block {
  color: var(--ink-soft);
}

.notice {
  padding: 18px;
  border-radius: 8px;
  border: 1px solid rgba(216, 180, 90, 0.44);
  background: rgba(216, 180, 90, 0.1);
  color: #ffe2a0;
}

.light .notice {
  color: #685012;
  background: #fff8df;
  border-color: #ead89d;
}

.site-footer {
  padding: 56px 0 30px;
  background: #030914;
  border-top: 1px solid var(--line);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr repeat(3, minmax(0, 0.7fr));
  gap: 34px;
}

.footer-grid h3 {
  font-size: 16px;
  margin-bottom: 12px;
}

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

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-top: 28px;
  margin-top: 30px;
  border-top: 1px solid rgba(255,255,255,0.09);
  color: #7f96aa;
  font-size: 13px;
}

.age-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  place-items: center;
  padding: 20px;
  background: rgba(2, 8, 18, 0.82);
  backdrop-filter: blur(12px);
}

.age-modal.is-visible {
  display: grid;
}

.age-box {
  width: min(520px, 100%);
  padding: 30px;
  border-radius: 8px;
  border: 1px solid rgba(49, 201, 255, 0.24);
  background: #071421;
  box-shadow: var(--shadow);
}

.age-box strong {
  display: inline-flex;
  width: 54px;
  height: 38px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: rgba(255, 207, 112, 0.15);
  color: var(--danger);
  margin-bottom: 16px;
}

.age-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 22px;
}

@media (max-width: 980px) {
  .nav-toggle {
    display: block;
  }

  .primary-nav {
    position: absolute;
    left: 20px;
    right: 20px;
    top: 74px;
    display: none;
    padding: 14px;
    background: #061222;
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
  }

  .primary-nav.is-open {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-inner,
  .content-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-inner {
    padding-top: 70px;
  }

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

@media (max-width: 640px) {
  .nav-wrap,
  .section-inner,
  .footer-inner,
  .hero-inner {
    width: min(100% - 28px, 1180px);
  }

  .brand > span:not(.brand-mark) > span {
    display: none;
  }

  .primary-nav.is-open,
  .grid-4,
  .grid-3,
  .trust-row,
  .footer-grid,
  .status-strip {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 58px 0;
  }

  .section-head {
    display: block;
  }

  .section-head p {
    margin-top: 12px;
  }

  .cta-band {
    padding: 28px;
  }

  .footer-bottom {
    display: block;
  }

  .status-strip {
    position: static;
    margin-top: 12px;
  }
}
