* {
  box-sizing: border-box;
}

:root {
  --brand: rgb(89, 126, 247);
  --brand-hex: #597EF7;
  --brand-soft: #ECF0FF;
  --brand-light: #F6F8FF;
  --sky-soft: #EAF7FF;
  --deep: #1D2B5F;
  --text: #222222;
  --muted: #5B647A;
  --white: #FFFFFF;
  --line: rgba(89, 126, 247, 0.16);
  --shadow: 0 16px 40px rgba(89, 126, 247, 0.10);
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  color: var(--text);
  background: #F6F8FF;
  line-height: 1.78;
  overflow-x: hidden;
}

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

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 9999;
  background: linear-gradient(135deg, #F7F9FF 0%, #ECF0FF 52%, #EAF7FF 100%);
  backdrop-filter: blur(12px);
  box-shadow: 0 8px 24px rgba(89, 126, 247, 0.10);
  border-bottom: 1px solid rgba(255,255,255,0.72);
}

.desktop-nav {
  min-height: 78px;
  display: flex;
  align-items: center;
  gap: 26px;
}

.brand img,
.mobile-logo img,
.drawer-head img,
.footer-brand img {
  width: 138px;
  height: auto;
  object-fit: contain;
}

.nav-links {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
}

.nav-links a {
  padding: 10px 12px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 700;
  color: #1D2B5F;
  white-space: nowrap;
  transition: all .2s ease;
}

.nav-links a:hover,
.nav-links a.active,
.drawer-links a.active,
.drawer-links a:hover {
  color: var(--brand);
  background: rgba(255,255,255,0.72);
  box-shadow: inset 0 0 0 1px rgba(89,126,247,.14);
}

.main-btn {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 11px 22px;
  background: linear-gradient(135deg, #7580EE 0%, #597EF7 48%, #7AC4F5 100%);
  color: #fff;
  border-radius: 999px;
  font-weight: 800;
  letter-spacing: .02em;
  box-shadow: 0 10px 24px rgba(89, 126, 247, 0.28);
  transition: transform .22s ease, box-shadow .22s ease;
  white-space: nowrap;
}

.main-btn::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  background: linear-gradient(120deg, transparent 0%, rgba(255,255,255,.85) 35%, transparent 70%);
  transform: translateX(-120%);
  animation: btnShine 2.4s infinite;
  z-index: -1;
}

.main-btn::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  border: 1px solid rgba(255,255,255,.65);
  box-shadow:
    0 0 8px rgba(122,196,245,.55),
    0 0 18px rgba(89,126,247,.35);
  pointer-events: none;
}

.main-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(89,126,247,.34);
}

@keyframes btnShine {
  0% { transform: translateX(-120%); }
  55% { transform: translateX(120%); }
  100% { transform: translateX(120%); }
}

.mobile-nav,
.mobile-drawer,
.drawer-mask {
  display: none;
}

.hero-section {
  background:
    radial-gradient(circle at 18% 20%, rgba(255,255,255,0.95) 0%, rgba(255,255,255,0) 32%),
    linear-gradient(135deg, #F7F9FF 0%, #ECF0FF 52%, #EAF7FF 100%);
  padding: 78px 0 54px;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(360px, .98fr);
  align-items: center;
  gap: 48px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border: 1px solid rgba(89,126,247,.18);
  border-radius: 999px;
  background: rgba(255,255,255,.72);
  color: var(--brand);
  font-size: 14px;
  font-weight: 800;
}

h1,
h2,
h3 {
  color: var(--deep);
  line-height: 1.25;
  margin: 0 0 16px;
}

h1 {
  font-size: clamp(34px, 5vw, 58px);
  letter-spacing: -.04em;
}

h2 {
  font-size: clamp(26px, 3vw, 38px);
  letter-spacing: -.03em;
}

h3 {
  font-size: 21px;
}

.hero-copy p,
.section-head p,
.page-hero p,
.article-text p,
.footer-brand p,
.site-footer p {
  color: var(--muted);
}

.hero-copy p {
  max-width: 650px;
  font-size: 17px;
  color: #3F4A66;
  margin: 0 0 26px;
}

.hero-tags,
.mini-card-row,
.feature-points,
.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-tags span,
.feature-points span,
.pill-row span {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 6px 13px;
  border-radius: 999px;
  background: rgba(255,255,255,.74);
  border: 1px solid rgba(89,126,247,.16);
  color: var(--deep);
  font-weight: 700;
  font-size: 14px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  margin: 28px 0 18px;
}

.hero-visual {
  padding: 20px;
  border-radius: 34px;
  background: rgba(255,255,255,.56);
  border: 1px solid rgba(255,255,255,.75);
  box-shadow: 0 22px 55px rgba(89,126,247,.16);
  backdrop-filter: blur(16px);
}

.hero-visual img {
  width: 100%;
  max-height: 430px;
  object-fit: contain;
  border-radius: 26px;
  margin: 0 auto;
}

.mini-card-row {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.mini-card {
  padding: 12px;
  border-radius: 18px;
  background: rgba(255,255,255,.86);
  border: 1px solid rgba(89,126,247,.14);
}

.mini-card b,
.stat-card b,
.quick-card b,
.zone-card b {
  display: block;
  color: var(--brand);
  font-size: 13px;
  margin-bottom: 3px;
}

.mini-card span,
.quick-card p,
.stat-card p,
.zone-card p,
.safe-card p,
.faq-card p,
.notice-card p,
.detail-card p {
  color: var(--muted);
  margin: 0;
}

.section {
  padding: 72px 0;
}

.section.alt {
  background: #ECF0FF;
}

.section.light {
  background: linear-gradient(135deg, #F7F9FF 0%, #ECF0FF 55%, #EAF7FF 100%);
}

.section.deep {
  background: linear-gradient(135deg, #1F1F1F 0%, #2B2B2B 100%);
}

.section.deep h2,
.section.deep h3,
.section.deep .section-head p,
.section.deep p,
.section.deep li {
  color: #fff;
}

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

.section-head p {
  max-width: 680px;
  margin: 0;
}

.quick-nav {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.quick-card,
.card,
.zone-card,
.info-card,
.stat-card,
.safe-card,
.faq-card,
.detail-card,
.notice-card,
.article-card {
  background: rgba(255,255,255,0.86);
  border: 1px solid rgba(89,126,247,0.16);
  box-shadow: 0 16px 40px rgba(89,126,247,0.10);
  border-radius: 24px;
}

.quick-card {
  padding: 18px;
  min-height: 146px;
  transition: transform .22s ease, border-color .22s ease;
}

.quick-card:hover,
.zone-card:hover,
.detail-card:hover {
  transform: translateY(-3px);
  border-color: rgba(89,126,247,.32);
}

.quick-card b {
  font-size: 18px;
}

.quick-card strong {
  display: block;
  color: var(--deep);
  font-size: 18px;
  margin-bottom: 6px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--brand);
  font-weight: 800;
  margin-top: 14px;
}

.text-link::after {
  content: "›";
  font-size: 20px;
  line-height: 1;
}

.overview-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.stat-card {
  padding: 20px;
  min-height: 178px;
}

.stat-card strong {
  display: block;
  color: var(--deep);
  font-size: 20px;
  margin-bottom: 8px;
}

.feature-stack {
  display: grid;
  gap: 28px;
}

.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 34px;
  align-items: center;
  padding: 26px;
  border-radius: 34px;
  background: rgba(255,255,255,.78);
  border: 1px solid rgba(89,126,247,.14);
  box-shadow: var(--shadow);
}

.feature-row.reverse .feature-image {
  order: 2;
}

.feature-image {
  min-height: 250px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 28px;
  background: linear-gradient(135deg, #F7F9FF 0%, #ECF0FF 58%, #EAF7FF 100%);
  padding: 18px;
}

.content-img,
.zone-card img,
.app-section img,
.hero-visual img,
.page-hero-visual img,
.feature-image img {
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

.feature-image img {
  max-height: 330px;
  margin: 0 auto;
}

.feature-text p {
  color: var(--muted);
  margin: 0 0 18px;
}

.feature-text ul,
.article-text ul,
.detail-card ul {
  margin: 0;
  padding-left: 18px;
  color: #3F4A66;
}

.zone-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.zone-card {
  padding: 16px;
  min-height: 294px;
  transition: transform .22s ease, border-color .22s ease;
}

.zone-card.wide {
  grid-column: span 2;
}

.zone-img {
  height: 138px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 20px;
  background: linear-gradient(135deg, #F7F9FF, #ECF0FF, #EAF7FF);
  margin-bottom: 14px;
  padding: 12px;
}

.zone-img img {
  max-height: 118px;
  margin: 0 auto;
}

.zone-card h3 {
  margin-bottom: 8px;
}

.app-banner {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 34px;
  align-items: center;
  padding: 34px;
  border-radius: 34px;
  background: linear-gradient(135deg, #F7F9FF 0%, #ECF0FF 55%, #EAF7FF 100%);
  border: 1px solid rgba(255,255,255,.72);
  box-shadow: var(--shadow);
}

.app-media {
  padding: 16px;
  border-radius: 28px;
  background: rgba(255,255,255,.72);
  border: 1px solid rgba(89,126,247,.14);
}

.app-media img {
  max-height: 410px;
  margin: 0 auto;
}

.check-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 18px;
}

.check-item {
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(255,255,255,.76);
  border: 1px solid rgba(89,126,247,.14);
  color: var(--deep);
  font-weight: 700;
}

.safe-layout {
  display: grid;
  grid-template-columns: .86fr 1.14fr;
  gap: 26px;
  align-items: start;
}

.safe-intro {
  padding: 28px;
  border-radius: 30px;
  background: #1F1F1F;
  color: #fff;
  box-shadow: 0 18px 44px rgba(31,31,31,.18);
}

.safe-intro p {
  color: rgba(255,255,255,.76);
}

.safe-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.safe-card {
  padding: 18px;
}

.safe-card b {
  color: var(--brand);
  display: block;
  margin-bottom: 6px;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.faq-card {
  padding: 22px;
}

.notice-card {
  padding: 28px;
  background: linear-gradient(135deg, rgba(255,255,255,.92) 0%, rgba(236,240,255,.92) 100%);
}

.notice-card p {
  font-size: 17px;
}

.site-footer {
  background: linear-gradient(135deg, #1F1F1F 0%, #2B2B2B 100%);
  color: #fff;
  padding-top: 54px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr .7fr .7fr 1fr;
  gap: 34px;
}

.site-footer h3 {
  color: #fff;
  margin-bottom: 12px;
}

.site-footer a {
  display: block;
  color: rgba(255,255,255,.76);
  margin: 8px 0;
}

.site-footer a:hover,
.site-footer .footer-link {
  color: #AFC3FF;
}

.footer-brand img {
  margin-bottom: 14px;
  filter: brightness(1.08);
}

.footer-bottom {
  margin-top: 36px;
  padding: 18px 0;
  border-top: 1px solid rgba(255,255,255,.12);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: rgba(255,255,255,.62);
  font-size: 14px;
}

.page-shell {
  padding: 54px 0 76px;
}

.page-hero {
  padding: 42px;
  margin-bottom: 34px;
  border-radius: 34px;
  background:
    radial-gradient(circle at 18% 20%, rgba(255,255,255,0.95) 0%, rgba(255,255,255,0) 32%),
    linear-gradient(135deg, #F7F9FF 0%, #ECF0FF 52%, #EAF7FF 100%);
  border: 1px solid rgba(255,255,255,.8);
  box-shadow: var(--shadow);
}

.page-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, .9fr);
  gap: 32px;
  align-items: center;
}

.page-hero-visual {
  padding: 16px;
  border-radius: 28px;
  background: rgba(255,255,255,.72);
  border: 1px solid rgba(89,126,247,.14);
}

.page-hero-visual img {
  max-height: 360px;
  margin: 0 auto;
}

.content-grid {
  display: grid;
  grid-template-columns: 1.35fr .65fr;
  gap: 24px;
  align-items: start;
}

.article-card,
.side-panel {
  padding: 28px;
}

.article-card {
  background: rgba(255,255,255,.9);
  border: 1px solid rgba(89,126,247,.16);
  box-shadow: var(--shadow);
  border-radius: 28px;
}

.article-text p {
  margin: 0 0 18px;
  color: #3F4A66;
}

.article-section {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid rgba(89,126,247,.14);
}

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

.detail-card {
  padding: 18px;
}

.detail-card b {
  display: block;
  color: var(--brand);
  margin-bottom: 6px;
}

.side-panel {
  position: sticky;
  top: 104px;
  border-radius: 28px;
  background: #ECF0FF;
  border: 1px solid rgba(89,126,247,.16);
}

.side-panel h3 {
  margin-bottom: 12px;
}

.side-panel a {
  display: block;
  padding: 11px 0;
  color: var(--deep);
  font-weight: 700;
  border-bottom: 1px solid rgba(89,126,247,.14);
}

.side-panel a:last-child {
  border-bottom: 0;
}

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

.faq-item {
  padding: 22px;
  border-radius: 22px;
  background: rgba(255,255,255,.9);
  border: 1px solid rgba(89,126,247,.16);
  box-shadow: var(--shadow);
}

.faq-item h2 {
  font-size: 22px;
}

@media (max-width: 1080px) {
  .desktop-nav {
    gap: 14px;
  }
  .nav-links a {
    padding: 9px 9px;
    font-size: 14px;
  }
  .quick-nav,
  .overview-grid,
  .zone-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 860px) {
  .desktop-nav {
    display: none;
  }
  .mobile-nav {
    min-height: 66px;
    width: min(100% - 24px, 1180px);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 44px 1fr auto;
    align-items: center;
    gap: 10px;
  }
  .menu-toggle {
    width: 42px;
    height: 42px;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    border: 1px solid rgba(89,126,247,.18);
    background: rgba(255,255,255,.78);
    border-radius: 14px;
    padding: 0;
  }
  .menu-toggle span {
    width: 19px;
    height: 2px;
    background: var(--deep);
    border-radius: 2px;
  }
  .mobile-logo {
    justify-self: center;
  }
  .mobile-logo img {
    width: 116px;
  }
  .mobile-register {
    min-height: 38px;
    padding: 8px 12px;
    font-size: 13px;
  }
  .drawer-mask {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.36);
    z-index: 10000;
    opacity: 0;
    pointer-events: none;
    transition: opacity .24s ease;
  }
  .mobile-drawer {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: min(84vw, 320px);
    height: 100vh;
    background: linear-gradient(135deg, #FFFFFF 0%, #ECF0FF 100%);
    z-index: 10001;
    transform: translateX(-104%);
    transition: transform .26s ease;
    box-shadow: 16px 0 42px rgba(29,43,95,.18);
    padding: 18px;
  }
  .drawer-open .drawer-mask {
    opacity: 1;
    pointer-events: auto;
  }
  .drawer-open .mobile-drawer {
    transform: translateX(0);
  }
  .drawer-open {
    overflow: hidden;
  }
  .drawer-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(89,126,247,.14);
  }
  .drawer-head img {
    width: 126px;
  }
  .drawer-close {
    width: 38px;
    height: 38px;
    border: 0;
    border-radius: 50%;
    background: rgba(89,126,247,.12);
    color: var(--deep);
    font-size: 26px;
    line-height: 1;
  }
  .drawer-links {
    display: grid;
    gap: 8px;
    padding-top: 18px;
  }
  .drawer-links a {
    padding: 12px 14px;
    border-radius: 16px;
    color: var(--deep);
    font-weight: 800;
  }
  .hero-section {
    padding: 46px 0 38px;
  }
  .hero-grid,
  .feature-row,
  .app-banner,
  .safe-layout,
  .page-hero-grid,
  .content-grid {
    grid-template-columns: 1fr;
  }
  .feature-row.reverse .feature-image {
    order: 0;
  }
  .hero-actions {
    justify-content: flex-start;
  }
  .mini-card-row {
    grid-template-columns: 1fr;
  }
  .section {
    padding: 48px 0;
  }
  .section-head {
    display: block;
  }
  .safe-grid,
  .faq-grid,
  .check-grid {
    grid-template-columns: 1fr;
  }
  .side-panel {
    position: static;
  }
  .page-shell {
    padding: 32px 0 54px;
  }
  .page-hero {
    padding: 26px;
  }
}

@media (max-width: 560px) {
  .container {
    width: min(100% - 24px, 1180px);
  }
  .quick-nav {
    display: flex;
    overflow-x: auto;
    padding-bottom: 8px;
    scroll-snap-type: x mandatory;
  }
  .quick-card {
    min-width: 78%;
    scroll-snap-align: start;
  }
  .overview-grid,
  .zone-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .zone-card.wide {
    grid-column: auto;
  }
  .feature-row,
  .app-banner {
    padding: 18px;
    border-radius: 26px;
  }
  .feature-image {
    min-height: 180px;
  }
  .hero-visual,
  .page-hero-visual {
    padding: 12px;
    border-radius: 24px;
  }
  .footer-bottom {
    flex-direction: column;
  }
  h1 {
    font-size: 32px;
  }
}
