/* 中国全民保障 — 正式官网 */

.container {
  width: min(var(--website-max), 100% - var(--website-gutter) * 2);
  margin-inline: auto;
}

.gov-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  align-items: center;
  justify-content: center;
  padding: 8px var(--website-gutter);
  color: rgba(255, 255, 255, 0.92);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  background: linear-gradient(90deg, var(--gov-blue-deep), var(--gov-blue));
}

.gov-strip__sep {
  opacity: 0.45;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(0, 58, 158, 0.1);
  backdrop-filter: blur(16px);
  transition: box-shadow 0.2s ease;
}

.topbar.is-scrolled {
  box-shadow: 0 4px 24px rgba(26, 45, 77, 0.08);
}

.topbar__inner {
  display: flex;
  align-items: center;
  gap: 16px;
  width: min(var(--website-max), 100% - var(--website-gutter) * 2);
  min-height: 72px;
  margin-inline: auto;
}

.brand strong {
  font-size: clamp(17px, 2.2vw, 22px);
}

.brand small {
  font-size: 9px;
  letter-spacing: 1.2px;
}

.nav-menu {
  display: none;
  gap: 4px;
  margin-inline: auto 0;
}

.nav-menu a {
  padding: 10px 14px;
  color: var(--blue-ink);
  font-size: 15px;
  font-weight: 600;
  border-radius: var(--radius-sm);
  transition: background 0.15s ease, color 0.15s ease;
}

.nav-menu a:hover,
.nav-menu a.is-active {
  color: var(--gov-blue);
  background: #eef4ff;
}

.topbar__actions {
  display: none;
  gap: 10px;
  align-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 18px;
  font-size: 14px;
  font-weight: 700;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  white-space: nowrap;
}

.btn:active {
  transform: scale(0.98);
}

.btn--primary {
  color: #fff;
  background: linear-gradient(135deg, #1a6bff, var(--gov-blue-deep));
  box-shadow: 0 8px 20px rgba(0, 58, 158, 0.22);
}

.btn--ghost {
  color: var(--gov-blue);
  background: #eef4ff;
  border-color: rgba(0, 82, 217, 0.12);
}

.btn--outline {
  color: var(--gov-blue);
  background: #fff;
  border-color: rgba(0, 82, 217, 0.28);
}

.btn--lg {
  min-height: 50px;
  padding: 0 28px;
  font-size: 16px;
  border-radius: var(--radius-md);
}

.menu-button {
  display: grid;
  gap: 5px;
  width: 40px;
  height: 40px;
  margin-left: auto;
  padding: 8px;
  background: #eef4ff;
  border: 0;
  border-radius: var(--radius-sm);
}

.menu-button span {
  width: 22px;
  height: 2.5px;
  border-radius: 2px;
  background: var(--gov-blue-deep);
}

.nav-drawer {
  display: grid;
  gap: 2px;
  padding: 8px var(--website-gutter) 16px;
  background: #fff;
  border-top: 1px solid var(--line);
}

.nav-drawer[hidden] {
  display: none;
}

.nav-drawer a {
  padding: 14px 12px;
  color: var(--blue-ink);
  font-size: 16px;
  font-weight: 600;
  border-radius: var(--radius-sm);
}

.nav-drawer a.is-active,
.nav-drawer a:hover {
  color: var(--gov-blue);
  background: #eef4ff;
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(40px, 6vw, 72px) 0 clamp(48px, 8vw, 88px);
}

.hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 90% 20%, rgba(80, 166, 255, 0.18), transparent 55%),
    radial-gradient(ellipse 50% 40% at 10% 80%, rgba(196, 30, 34, 0.04), transparent 50%),
    linear-gradient(180deg, #f8fbff 0%, #eef5ff 55%, #f4f7fc 100%);
  pointer-events: none;
}

.hero__bg::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 120px;
  background: linear-gradient(180deg, transparent, #f4f7fc);
  content: "";
}

.hero__grid {
  position: relative;
  display: grid;
  gap: 40px;
  align-items: center;
}

.eyebrow {
  display: inline-block;
  margin: 0 0 14px;
  padding: 6px 12px;
  color: var(--gov-blue);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  background: rgba(0, 82, 217, 0.08);
  border: 1px solid rgba(0, 82, 217, 0.12);
  border-radius: 999px;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 12px;
  color: var(--gov-blue-deep);
  font-size: clamp(36px, 5.5vw, 56px);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.02em;
}

.hero-subtitle {
  margin-bottom: 18px;
  color: #2a4068;
  font-size: clamp(18px, 2.5vw, 24px);
  font-weight: 700;
  line-height: 1.4;
}

.hero-subtitle::before {
  content: "— ";
  color: var(--gov-red);
}

.hero-desc {
  max-width: 52ch;
  margin-bottom: 28px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.75;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 32px;
}

.hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 28px;
  margin: 0;
  padding: 20px 0 0;
  list-style: none;
  border-top: 1px solid rgba(0, 58, 158, 0.1);
}

.hero__stats li {
  display: grid;
  gap: 2px;
}

.hero__stats strong {
  color: var(--gov-blue-deep);
  font-size: 22px;
  font-weight: 900;
  line-height: 1;
}

.hero__stats span {
  color: var(--muted);
  font-size: 13px;
}

.hero__visual {
  display: grid;
  justify-items: center;
  gap: 12px;
}

.hero__visual-caption {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

.phone {
  width: min(100%, 300px);
  padding: 10px;
  background: linear-gradient(145deg, #1a2030, #3d4658 50%, #12151c);
  border-radius: 36px;
  box-shadow:
    0 24px 48px rgba(0, 40, 120, 0.2),
    0 0 0 1px rgba(255, 255, 255, 0.06) inset;
}

.phone-screen {
  padding: 16px 14px 18px;
  background: #fbfdff;
  border-radius: 28px;
}

.phone-status,
.app-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  color: #050a19;
  font-size: 11px;
  font-weight: 700;
}

.phone-status__icons {
  width: 48px;
  height: 10px;
  background: linear-gradient(90deg, #333 0 30%, transparent 30% 40%, #333 40% 70%, transparent 70% 80%, #333 80%);
  border-radius: 2px;
  opacity: 0.5;
}

.app-title strong {
  font-size: 17px;
}

.bell {
  width: 18px;
  height: 18px;
  border: 2px solid var(--gov-blue);
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  border-bottom: 0;
}

.asset-card {
  margin-bottom: 16px;
  padding: 16px 14px;
  color: #fff;
  background:
    radial-gradient(circle at 85% 100%, rgba(75, 216, 255, 0.3), transparent 46%),
    linear-gradient(135deg, #1a6bff, var(--gov-blue-deep));
  border-radius: var(--radius-md);
}

.asset-card small {
  display: block;
  margin-bottom: 10px;
  font-size: 12px;
  opacity: 0.92;
}

.asset-card strong {
  display: block;
  margin-bottom: 12px;
  font-size: 22px;
  letter-spacing: 0.02em;
}

.asset-card button {
  padding: 7px 14px;
  color: var(--gov-blue);
  font-size: 11px;
  font-weight: 700;
  background: #fff;
  border: 0;
  border-radius: 999px;
}

.app-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px 6px;
}

.app-grid span {
  display: grid;
  gap: 6px;
  justify-items: center;
  color: #243047;
  font-size: 10px;
  text-align: center;
}

.app-grid i {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  color: #fff;
  font-size: 13px;
  font-style: normal;
  font-weight: 800;
  background: var(--gov-blue);
  border-radius: 10px;
}

.app-grid span:nth-child(1) i {
  background: var(--gov-orange);
}

.app-grid span:nth-child(3) i {
  background: var(--gov-orange);
}

.app-grid span:nth-child(4) i {
  background: var(--gov-green);
}

/* Values band */
.values-band {
  padding: 0 0 clamp(48px, 6vw, 64px);
  margin-top: -20px;
}

.values-band__grid {
  display: grid;
  gap: 14px;
}

.values-band article {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 22px 20px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--card-shadow);
}

.value-icon {
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  background: linear-gradient(145deg, #1a6bff, var(--gov-blue-deep));
  border-radius: 14px;
  box-shadow: 0 8px 18px rgba(0, 58, 158, 0.18);
}

.value-icon--shield {
  clip-path: polygon(50% 0, 90% 17%, 84% 72%, 50% 100%, 16% 72%, 10% 17%);
}

.value-icon--people {
  border-radius: 50%;
}

.value-icon--heart {
  border-radius: 50%;
  background: linear-gradient(145deg, #e85a4a, var(--gov-red));
}

.values-band strong {
  display: block;
  margin-bottom: 4px;
  color: var(--blue-ink);
  font-size: 17px;
}

.values-band p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

/* Services */
.services {
  padding: clamp(48px, 6vw, 72px) 0;
  background: #fff;
}

.section-head {
  max-width: 640px;
  margin-bottom: 36px;
}

.section-head h2 {
  margin-bottom: 10px;
  color: var(--gov-blue-deep);
  font-size: clamp(28px, 3.5vw, 36px);
  font-weight: 900;
}

.section-head p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.65;
}

.services__grid {
  display: grid;
  gap: 18px;
  grid-template-columns: 1fr;
}

.service-card {
  padding: 24px 22px;
  background: #f8fafc;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.service-card:hover {
  border-color: rgba(0, 82, 217, 0.2);
  box-shadow: var(--card-shadow);
}

.service-card__icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 14px;
  color: #fff;
  font-size: 16px;
  font-weight: 800;
  background: var(--gov-blue);
  border-radius: var(--radius-md);
}

.service-card__icon--orange {
  background: var(--gov-orange);
}

.service-card__icon--green {
  background: var(--gov-green);
}

.service-card__icon--purple {
  background: var(--gov-purple);
}

.service-card h3 {
  margin-bottom: 8px;
  color: var(--blue-ink);
  font-size: 18px;
  font-weight: 800;
}

.service-card p {
  margin-bottom: 14px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.service-card > a {
  color: var(--gov-blue);
  font-size: 14px;
  font-weight: 700;
}

/* Download */
.download-panel {
  padding: clamp(48px, 6vw, 72px) 0;
  color: #fff;
  background: linear-gradient(135deg, var(--gov-blue-deep) 0%, #0a52c8 48%, #1a6bff 100%);
}

.section-head--light h2,
.section-head--light p {
  color: #fff;
}

.section-head--light p {
  opacity: 0.88;
}

.download-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr;
}

.download-card {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) 44px;
  gap: 14px;
  align-items: center;
  padding: 18px 16px;
  color: inherit;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(8px);
  transition: background 0.15s ease, transform 0.15s ease;
}

.download-card:hover {
  background: rgba(255, 255, 255, 0.16);
}

.download-card:active {
  transform: scale(0.99);
}

.download-card--qr {
  grid-template-columns: 64px minmax(0, 1fr);
}

.download-card strong {
  display: block;
  font-size: 16px;
  font-weight: 800;
}

.download-card small {
  display: block;
  margin-top: 2px;
  opacity: 0.82;
  font-size: 12px;
}

.download-card__action {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  font-size: 20px;
  font-weight: 900;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
}

.download-note {
  margin: 20px 0 0;
  font-size: 14px;
  opacity: 0.85;
}

.download-note a {
  color: #fff;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.android-logo {
  width: 44px;
  height: 42px;
  background: #5fc51b;
  border-radius: 9px 9px 6px 6px;
  position: relative;
}

.android-logo::before {
  position: absolute;
  top: -12px;
  left: 8px;
  width: 31px;
  height: 18px;
  background: #5fc51b;
  border-radius: 22px 22px 0 0;
  box-shadow: -13px 22px 0 -6px #5fc51b, 13px 22px 0 -6px #5fc51b;
  content: "";
}

.apple-logo {
  position: relative;
  width: 44px;
  height: 48px;
  background: #fff;
  border-radius: 46% 48% 44% 47%;
}

.apple-logo::before {
  position: absolute;
  top: -10px;
  left: 22px;
  width: 17px;
  height: 12px;
  background: #fff;
  border-radius: 100% 0 100% 0;
  transform: rotate(-35deg);
  content: "";
}

.qr {
  width: 58px;
  height: 58px;
  background:
    linear-gradient(
      90deg,
      #fff 10px,
      transparent 10px 14px,
      #fff 14px 22px,
      transparent 22px 30px,
      #fff 30px 38px,
      transparent 38px 44px,
      #fff 44px
    ),
    linear-gradient(rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.3));
  border: 6px solid rgba(255, 255, 255, 0.4);
  outline: 2px solid rgba(255, 255, 255, 0.5);
  box-shadow:
    inset 0 0 0 4px rgba(255, 255, 255, 0.2),
    inset 12px 12px 0 #fff,
    inset -12px 12px 0 #fff,
    inset 12px -12px 0 #fff;
}

/* Register */
.register-panel {
  padding: clamp(48px, 6vw, 80px) 0;
}

.register-panel__grid {
  display: grid;
  gap: 32px;
  align-items: center;
  padding: clamp(28px, 4vw, 40px);
  background:
    radial-gradient(circle at 85% 30%, rgba(80, 166, 255, 0.12), transparent 45%),
    linear-gradient(135deg, #fff 0%, #f0f6ff 100%);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--card-shadow);
}

.register-copy h2 {
  margin-bottom: 10px;
  color: var(--gov-blue-deep);
  font-size: clamp(26px, 3vw, 34px);
  font-weight: 900;
}

.register-copy__lead {
  margin-bottom: 22px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.6;
}

.register-copy ul {
  display: grid;
  gap: 12px;
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
}

.register-copy li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: #243047;
  font-size: 15px;
  line-height: 1.5;
}

.register-copy li::before {
  flex: 0 0 22px;
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  background: var(--gov-blue);
  border-radius: 50%;
  content: "✓";
}

.shield-scene {
  position: relative;
  min-height: 240px;
}

.shield-3d {
  position: absolute;
  right: 50%;
  bottom: 52px;
  width: 100px;
  height: 120px;
  background: linear-gradient(130deg, #4db6ff 0%, var(--gov-blue) 48%, var(--gov-blue-deep) 100%);
  clip-path: polygon(50% 0, 92% 17%, 84% 72%, 50% 100%, 16% 72%, 8% 17%);
  filter: drop-shadow(0 18px 22px rgba(0, 58, 158, 0.25));
  transform: translateX(50%);
}

.shield-3d::after {
  position: absolute;
  inset: 28% 32% 36%;
  border: 3px solid rgba(255, 255, 255, 0.5);
  border-radius: 2px;
  transform: rotate(45deg);
  content: "";
}

.base-ring,
.orbit {
  position: absolute;
  right: 50%;
  bottom: 16px;
  border: 2px solid rgba(0, 82, 217, 0.2);
  border-radius: 50%;
  transform: translateX(50%) rotateX(62deg);
}

.base-ring {
  width: min(260px, 80vw);
  height: 78px;
  background: rgba(255, 255, 255, 0.5);
}

.orbit-one {
  width: min(290px, 88vw);
  height: 96px;
  bottom: 72px;
}

.orbit-two {
  width: min(220px, 68vw);
  height: 68px;
  bottom: 100px;
  transform: translateX(50%) rotateX(62deg) rotateZ(-14deg);
}

/* Footer */
.footer {
  padding: 48px 0 calc(32px + var(--safe-bottom));
  color: #fff;
  background: linear-gradient(135deg, var(--gov-blue-deep), #075fff);
}

.footer__grid {
  display: grid;
  gap: 28px;
}

.footer .brand strong,
.footer .brand small {
  color: #fff;
}

.footer .brand small {
  letter-spacing: 0;
  opacity: 0.88;
}

.footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
}

.footer nav a {
  font-size: 15px;
  font-weight: 600;
  opacity: 0.92;
}

.footer nav a:hover {
  opacity: 1;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer__meta p {
  margin: 0 0 6px;
  font-size: 13px;
  opacity: 0.78;
}

.footer__disclaimer {
  font-size: 12px !important;
  opacity: 0.6 !important;
}

/* Toast on full-width site */
body.website-page .toast {
  bottom: 32px;
}

/* Responsive */
@media (min-width: 720px) {
  .nav-menu {
    display: flex;
  }

  .topbar__actions {
    display: flex;
  }

  .menu-button {
    display: none;
  }

  .hero__grid {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 48px;
  }

  .hero__visual {
    justify-items: end;
  }

  .phone {
    width: 300px;
  }

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

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

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

  .register-panel__grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer__grid {
    grid-template-columns: 1.2fr 1fr 1fr;
    align-items: start;
  }
}

@media (min-width: 1024px) {
  .services__grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 719px) {
  .topbar__inner {
    min-height: 64px;
  }

  .hero__cta .btn {
    flex: 1 1 calc(50% - 6px);
    min-width: 140px;
  }
}
