:root {
  --primary: #8c6de6;
  --primary-dark: #7E5DDD;
  --page-bg: #DDE0F4;
  --soft-bg: #F7F7FC;
  --soft-bg-2: #EEF0FA;
  --card-bg: #FFFFFF;
  --text: #2E2E3A;
  --muted: #66667A;
  --border: rgba(140,109,230,0.16);
  --shadow: 0 14px 36px rgba(140,109,230,0.10);
  --footer: #4B4A6B;
  --footer-text: #F3F2FB;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  background: linear-gradient(180deg, #DDE0F4 0%, #EEF0FA 42%, #DDE0F4 100%);
  color: var(--text);
  line-height: 1.8;
  min-width: 320px;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 9999;
  background: #DDE0F4;
  backdrop-filter: blur(10px);
  box-shadow: 0 6px 18px rgba(140,109,230,0.08);
}
.header-inner {
  max-width: 1220px;
  margin: 0 auto;
  min-height: 76px;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 22px;
}
.brand img, .mobile-brand img, .drawer-logo img, .footer-brand img { width: 148px; height: auto; object-fit: contain; }
.main-nav { flex: 1; display: flex; align-items: center; justify-content: center; gap: 4px; }
.main-nav a {
  color: #554B7A;
  font-weight: 600;
  font-size: 15px;
  padding: 8px 11px;
  border-radius: 999px;
  transition: all .25s ease;
  white-space: nowrap;
}
.main-nav a:hover, .main-nav a.active { color: var(--primary); background: rgba(255,255,255,0.78); box-shadow: inset 0 0 0 1px var(--border); }
.main-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #8c6de6;
  color: #fff;
  border-radius: 999px;
  min-height: 42px;
  padding: 10px 22px;
  font-weight: 700;
  box-shadow: 0 10px 22px rgba(140,109,230,0.22), 0 0 0 4px rgba(140,109,230,0.08);
  transition: all .25s ease;
  border: 0;
  white-space: nowrap;
}
.main-btn:hover { background: #7E5DDD; transform: translateY(-1px); }
.mobile-header { display: none; }
.site-main { padding-bottom: 0; }
.container { width: min(1200px, calc(100% - 36px)); margin: 0 auto; }
.hero-sub { color: var(--muted); max-width: 760px; margin: 10px auto 0; }
.banner-slider {
  max-width: 1200px;
  height: 380px;
  margin: 28px auto 36px;
  border-radius: 20px;
  background: #FFFFFF;
  box-shadow: 0 18px 40px rgba(140,109,230,0.10);
  overflow: hidden;
  position: relative;
  border: 1px solid rgba(140,109,230,0.12);
}
.banner-track, .banner-slide { width: 100%; height: 100%; }
.banner-slide { position: absolute; inset: 0; opacity: 0; transform: scale(1.01); transition: opacity .7s ease, transform .7s ease; background: #fff; }
.banner-slide.active { opacity: 1; transform: scale(1); z-index: 1; }
.banner-slide img { width: 100%; height: 100%; object-fit: cover; }
.slider-arrow {
  position: absolute;
  z-index: 3;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(140,109,230,0.18);
  background: rgba(255,255,255,0.75);
  color: var(--primary);
  font-size: 26px;
  cursor: pointer;
  transition: all .25s ease;
}
.slider-arrow:hover { background: rgba(255,255,255,0.95); box-shadow: var(--shadow); }
.slider-prev { left: 18px; }
.slider-next { right: 18px; }
.slider-dots { position: absolute; left: 0; right: 0; bottom: 18px; z-index: 4; display: flex; justify-content: center; gap: 9px; }
.slider-dot { width: 10px; height: 10px; border-radius: 50%; border: 0; background: rgba(140,109,230,0.25); cursor: pointer; transition: all .25s ease; }
.slider-dot.active { width: 26px; border-radius: 999px; background: #8c6de6; }
.section { padding: 36px 0; }
.section-head { text-align: center; margin-bottom: 24px; }
.section-kicker { display: inline-flex; color: var(--primary); font-weight: 800; letter-spacing: .08em; font-size: 13px; margin-bottom: 8px; }
h1, h2, h3 { color: #8c6de6; line-height: 1.35; margin: 0; }
h1 { font-size: clamp(30px, 5vw, 52px); }
h2 { font-size: clamp(24px, 3.5vw, 36px); }
h3 { font-size: 21px; }
p { margin: 0; color: var(--muted); }
.quick-capsules { width: min(1200px, calc(100% - 36px)); margin: 0 auto 28px; display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 12px; }
.capsule {
  background: rgba(255,255,255,0.86);
  border: 1px solid rgba(140,109,230,0.16);
  border-radius: 18px;
  padding: 14px;
  min-height: 118px;
  box-shadow: 0 10px 26px rgba(140,109,230,0.08);
  transition: all .25s ease;
}
.capsule:hover { border-color: rgba(140,109,230,0.38); transform: translateY(-2px); }
.capsule .num { color: #8c6de6; font-weight: 900; font-size: 13px; }
.capsule strong { display: block; color: var(--text); margin-top: 2px; }
.capsule span { display: block; color: var(--muted); font-size: 13px; line-height: 1.55; margin-top: 4px; }
.intro-strip, .notice-box {
  background: linear-gradient(135deg, rgba(255,255,255,0.92), rgba(247,247,252,0.86));
  border: 1px solid rgba(140,109,230,0.16);
  border-radius: 24px;
  box-shadow: var(--shadow);
  padding: 28px;
}
.intro-strip { text-align: center; margin-bottom: 20px; }
.info-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.info-card, .card, .zone-card, .faq-item, .support-card, .page-card {
  background: rgba(255,255,255,0.92);
  border: 1px solid rgba(140,109,230,0.16);
  box-shadow: 0 14px 36px rgba(140,109,230,0.10);
  border-radius: 22px;
}
.info-card { padding: 22px; }
.info-card .num, .tag, .soft-num { color: #8c6de6; font-weight: 900; }
.info-card p { margin-top: 8px; }
.feature-row { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: center; margin-bottom: 28px; }
.feature-text, .feature-media { min-width: 0; }
.feature-text { padding: 12px 0; }
.feature-text p { margin-top: 14px; }
.feature-list { display: grid; gap: 8px; margin: 18px 0 8px; padding: 0; list-style: none; }
.feature-list li { color: var(--text); background: rgba(255,255,255,0.72); border: 1px solid var(--border); border-radius: 999px; padding: 8px 14px; }
.text-link { display: inline-flex; color: #8c6de6; font-weight: 800; margin-top: 12px; }
.text-link:hover { color: #7E5DDD; }
.content-img, .zone-card img, .app-section img, .banner-slider img, .page-visual img {
  max-width: 100%;
  height: auto;
}
.feature-media, .page-visual {
  background: rgba(255,255,255,0.84);
  border: 1px solid var(--border);
  border-radius: 24px;
  box-shadow: var(--shadow);
  padding: 18px;
}
.feature-media img { width: 100%; max-height: 330px; object-fit: contain; border-radius: 18px; margin: auto; }
.zone-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.zone-card { overflow: hidden; display: flex; flex-direction: column; min-height: 100%; }
.zone-image { min-height: 186px; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, #fff, #EEF0FA); padding: 16px; }
.zone-image img { max-height: 180px; width: 100%; object-fit: contain; border-radius: 16px; }
.zone-body { padding: 20px; }
.zone-body p { margin-top: 9px; }
.text-only-zone { padding: 24px; background: linear-gradient(135deg, rgba(255,255,255,0.94), rgba(238,240,250,0.9)); }
.app-section { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 30px; align-items: center; background: linear-gradient(135deg, rgba(255,255,255,0.94), rgba(247,247,252,0.90)); border: 1px solid var(--border); border-radius: 28px; box-shadow: var(--shadow); padding: 28px; }
.app-section img { max-height: 330px; object-fit: contain; margin: 0 auto; }
.check-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin: 18px 0; }
.check-grid span { background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 12px 14px; color: var(--text); font-weight: 700; }
.security-layout { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 24px; align-items: start; }
.security-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.support-card { padding: 20px; }
.support-card h3 { font-size: 18px; margin: 4px 0 8px; }
.faq-list { display: grid; gap: 16px; }
.faq-item { padding: 22px; }
.faq-item p { margin-top: 8px; }
.page-hero { padding: 50px 0 26px; }
.page-hero-inner { display: grid; grid-template-columns: 1.2fr .8fr; gap: 30px; align-items: center; }
.page-hero-copy { background: rgba(255,255,255,0.68); border: 1px solid var(--border); border-radius: 28px; padding: 34px; box-shadow: var(--shadow); }
.breadcrumb { color: #8c6de6; font-weight: 800; margin-bottom: 10px; }
.page-visual img { max-height: 360px; object-fit: contain; margin: auto; border-radius: 18px; }
.content-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 22px; align-items: start; }
.content-main { display: grid; gap: 18px; }
.page-card { padding: 26px; }
.page-card p + p { margin-top: 12px; }
.side-list { display: grid; gap: 14px; }
.side-list .support-card { background: rgba(255,255,255,0.86); }
.columns-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.legal-strip { margin-top: 24px; padding: 22px; border-radius: 22px; background: rgba(75,74,107,0.92); color: #F3F2FB; }
.legal-strip p, .legal-strip h2, .legal-strip h3 { color: #F3F2FB; }
.site-footer { background: #4B4A6B; color: #F3F2FB; margin-top: 46px; }
.footer-inner { width: min(1200px, calc(100% - 36px)); margin: 0 auto; padding: 42px 0 30px; display: grid; grid-template-columns: 1.4fr .7fr .7fr 1fr; gap: 28px; }
.footer-brand p, .footer-warning p { color: rgba(243,242,251,0.82); margin-top: 14px; }
.footer-links h3, .footer-warning h3 { color: #fff; margin-bottom: 12px; font-size: 18px; }
.footer-links a { display: block; color: rgba(243,242,251,0.86); margin: 8px 0; }
.footer-links a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.12); text-align: center; padding: 16px; color: rgba(243,242,251,0.76); }
.drawer-mask, .mobile-drawer { display: none; }
@media (max-width: 1100px) {
  .main-nav a { font-size: 14px; padding: 8px 8px; }
  .quick-capsules { grid-template-columns: repeat(4, 1fr); }
  .zone-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 820px) {
  .desktop-header { display: none; }
  .mobile-header {
    min-height: 68px;
    padding: 0 14px;
    display: grid;
    grid-template-columns: 54px 1fr auto;
    align-items: center;
    gap: 8px;
    background: #DDE0F4;
  }
  .mobile-brand { justify-self: center; }
  .mobile-brand img { width: 128px; }
  .mobile-register { min-height: 38px; padding: 8px 14px; font-size: 13px; }
  .menu-toggle { width: 42px; height: 42px; border: 1px solid var(--border); border-radius: 14px; background: rgba(255,255,255,0.65); display: grid; place-content: center; gap: 5px; }
  .menu-toggle span { display: block; width: 20px; height: 2px; background: #8c6de6; border-radius: 2px; }
  .drawer-mask { display: block; position: fixed; inset: 0; background: rgba(0,0,0,0.34); z-index: 10000; opacity: 0; pointer-events: none; transition: opacity .25s ease; }
  .mobile-drawer { display: block; position: fixed; top: 0; bottom: 0; left: 0; width: 82vw; max-width: 320px; background: linear-gradient(180deg, #fff 0%, #F7F7FC 100%); z-index: 10001; transform: translateX(-104%); transition: transform .28s ease; box-shadow: 18px 0 36px rgba(75,74,107,0.18); overflow-y: auto; }
  .drawer-open { overflow: hidden; }
  .drawer-open .drawer-mask { opacity: 1; pointer-events: auto; }
  .drawer-open .mobile-drawer { transform: translateX(0); }
  .drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 18px; border-bottom: 1px solid var(--border); }
  .drawer-logo img { width: 132px; }
  .drawer-close { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--border); background: #fff; color: var(--primary); font-size: 24px; line-height: 1; }
  .drawer-nav { display: grid; gap: 8px; padding: 18px; }
  .drawer-nav a { padding: 12px 14px; border-radius: 16px; color: #554B7A; font-weight: 700; background: rgba(238,240,250,0.52); }
  .drawer-nav a.active { color: #8c6de6; background: #fff; box-shadow: inset 0 0 0 1px var(--border); }
  .drawer-note { margin: 0 18px 22px; padding: 14px; border-radius: 16px; background: #EEF0FA; color: var(--muted); font-size: 13px; }
  .banner-slider { width: calc(100% - 28px); height: 230px; margin-top: 20px; border-radius: 18px; }
  .slider-arrow { width: 36px; height: 36px; font-size: 22px; }
  .slider-prev { left: 10px; }
  .slider-next { right: 10px; }
  .quick-capsules { display: flex; overflow-x: auto; padding-bottom: 6px; scroll-snap-type: x proximity; }
  .capsule { min-width: 178px; scroll-snap-align: start; }
  .info-grid, .columns-3 { grid-template-columns: repeat(2, 1fr); }
  .feature-row, .feature-row.reverse, .app-section, .security-layout, .page-hero-inner, .content-grid { grid-template-columns: 1fr; }
  .feature-row.reverse .feature-text { order: 1; }
  .feature-row.reverse .feature-media { order: 2; }
  .page-hero { padding-top: 32px; }
  .page-hero-copy { padding: 24px; }
}
@media (max-width: 560px) {
  body { line-height: 1.75; }
  .container { width: min(100% - 28px, 1200px); }
  .banner-slider { height: 198px; }
  .banner-slide img { object-fit: contain; background: #fff; }
  .section { padding: 28px 0; }
  .intro-strip, .notice-box, .app-section, .page-card { padding: 20px; border-radius: 20px; }
  .info-grid, .zone-grid, .security-cards, .columns-3, .check-grid { grid-template-columns: 1fr; }
  .feature-media { padding: 12px; }
  .feature-media img, .page-visual img, .app-section img { max-height: 260px; }
  .footer-inner { grid-template-columns: 1fr; }
  .mobile-register { padding: 8px 12px; }
  .mobile-brand img { width: 116px; }
}
