* { box-sizing: border-box; }
:root {
  --primary: #8c6de6;
  --primary-hover: #7E5DDD;
  --main-bg: #DDE0F4;
  --soft-bg: #F7F7FC;
  --soft-bg-2: #EEF0FA;
  --card: #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;
}
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", Arial, sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, #DDE0F4 0%, #F7F7FC 56%, #DDE0F4 100%);
  line-height: 1.72;
  overflow-x: hidden;
}
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);
}
.nav-shell {
  max-width: 1220px;
  margin: 0 auto;
  min-height: 76px;
  padding: 0 20px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 22px;
}
.brand img, .drawer-logo img, .footer-brand img { width: 148px; height: auto; }
.desktop-nav { display: flex; align-items: center; justify-content: center; gap: 6px; }
.desktop-nav a {
  color: #554B7A;
  font-size: 15px;
  padding: 9px 13px;
  border-radius: 999px;
  transition: all .22s ease;
  white-space: nowrap;
}
.desktop-nav a:hover, .desktop-nav a.active { background: rgba(255,255,255,.78); color: var(--primary); box-shadow: 0 8px 18px rgba(140,109,230,.08); }
.main-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #8c6de6;
  color: #FFFFFF;
  border-radius: 999px;
  box-shadow: 0 10px 22px rgba(140,109,230,0.22);
  padding: 10px 20px;
  font-weight: 700;
  transition: all .22s ease;
  white-space: nowrap;
}
.main-btn:hover { background: #7E5DDD; transform: translateY(-1px); box-shadow: 0 14px 28px rgba(140,109,230,0.26); }
.text-link { color: var(--primary); font-weight: 700; display: inline-flex; align-items: center; gap: 6px; }
.text-link:hover { color: var(--primary-hover); }
.text-link::after { content: "›"; font-size: 18px; line-height: 1; }
.mobile-menu-btn { display: none; width: 42px; height: 42px; border: 1px solid var(--border); border-radius: 14px; background: rgba(255,255,255,.72); align-items: center; justify-content: center; flex-direction: column; gap: 5px; padding: 0; }
.mobile-menu-btn span { width: 18px; height: 2px; border-radius: 4px; background: var(--primary); }
.drawer-overlay { position: fixed; inset: 0; background: rgba(19,17,31,.44); opacity: 0; visibility: hidden; transition: all .25s ease; z-index: 10000; }
.mobile-drawer { position: fixed; left: 0; top: 0; height: 100vh; width: 82vw; max-width: 320px; background: linear-gradient(180deg,#FFFFFF 0%,#EEF0FA 100%); transform: translateX(-102%); transition: transform .28s ease; z-index: 10001; box-shadow: 18px 0 40px rgba(37,32,67,.18); padding: 18px; overflow-y: auto; }
.drawer-open { overflow: hidden; }
.drawer-open .drawer-overlay { opacity: 1; visibility: visible; }
.drawer-open .mobile-drawer { transform: translateX(0); }
.drawer-top { display: flex; align-items: center; justify-content: space-between; padding-bottom: 16px; border-bottom: 1px solid var(--border); }
.drawer-close { width: 38px; height: 38px; border: 1px solid var(--border); background: #fff; color: var(--primary); border-radius: 14px; font-size: 24px; line-height: 1; }
.drawer-nav { display: grid; gap: 10px; padding-top: 18px; }
.drawer-nav a { padding: 12px 14px; background: rgba(255,255,255,.76); border: 1px solid var(--border); border-radius: 16px; color: #554B7A; font-weight: 700; }
.drawer-nav a.active, .drawer-nav a:hover { color: var(--primary); background: #fff; box-shadow: var(--shadow); }
.container { width: min(1200px, calc(100% - 40px)); margin: 0 auto; }
main { min-height: 60vh; }
.hero-page { padding: 54px 0 28px; }
.hero-panel, .intro-strip, .compliance-panel, .app-feature, .security-layout, .contact-panel {
  background: rgba(255,255,255,.82);
  border: 1px solid var(--border);
  border-radius: 28px;
  box-shadow: var(--shadow);
}
.hero-panel { padding: 44px; display: grid; grid-template-columns: 1.1fr .9fr; gap: 34px; align-items: center; overflow: hidden; }
.hero-copy .eyebrow, .eyebrow { display: inline-flex; color: var(--primary); background: rgba(140,109,230,.10); border: 1px solid var(--border); padding: 6px 12px; border-radius: 999px; font-size: 14px; font-weight: 800; margin-bottom: 14px; }
h1, h2, h3 { color: #8c6de6; line-height: 1.28; margin: 0 0 14px; }
h1 { font-size: clamp(30px, 4vw, 52px); letter-spacing: -1px; }
h2 { font-size: clamp(24px, 3vw, 36px); }
h3 { font-size: 21px; }
p { margin: 0 0 14px; color: var(--muted); }
.lead { color: #454258; font-size: 18px; }
.hero-media, .image-card { background: linear-gradient(160deg,#FFFFFF 0%,#EEF0FA 100%); border-radius: 24px; border: 1px solid var(--border); box-shadow: inset 0 1px 0 rgba(255,255,255,.8); padding: 16px; }
.hero-media img, .image-card img, .content-img, .zone-card img, .app-section img, .banner-slider img { max-width: 100%; height: auto; }
.hero-media img, .image-card img { width: 100%; max-height: 360px; object-fit: contain; border-radius: 18px; margin: 0 auto; }
.banner-slider { max-width: 1200px; height: clamp(190px, 32vw, 420px); 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,.14); }
.banner-slide { position: absolute; inset: 0; opacity: 0; transform: scale(1.01); transition: opacity .48s ease, transform .48s ease; background: linear-gradient(120deg,#fff,#EEF0FA); }
.banner-slide.active { opacity: 1; transform: scale(1); z-index: 2; }
.banner-slide img { width: 100%; height: 100%; object-fit: contain; background: #fff; }
.slider-arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 4; width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(140,109,230,0.18); background: rgba(255,255,255,0.75); color: var(--primary); font-size: 30px; display: grid; place-items: center; cursor: pointer; transition: all .2s ease; }
.slider-arrow:hover { background: #FFFFFF; box-shadow: 0 10px 24px rgba(140,109,230,.18); }
.slider-prev { left: 18px; }
.slider-next { right: 18px; }
.slider-dots { position: absolute; left: 50%; bottom: 16px; transform: translateX(-50%); display: flex; gap: 8px; z-index: 5; }
.slider-dot { width: 10px; height: 10px; border-radius: 50%; border: 0; background: rgba(140,109,230,0.25); padding: 0; cursor: pointer; }
.slider-dot.active { background: #8c6de6; width: 24px; border-radius: 999px; }
.quick-capsules { display: flex; gap: 14px; overflow-x: auto; padding: 0 0 12px; scrollbar-width: thin; }
.capsule-card { min-width: 178px; flex: 1; background: rgba(255,255,255,0.86); border: 1px solid rgba(140,109,230,0.16); border-radius: 20px; padding: 16px; box-shadow: 0 10px 28px rgba(140,109,230,.08); transition: all .22s ease; }
.capsule-card:hover { border-color: #8c6de6; transform: translateY(-2px); }
.capsule-card b { display: inline-flex; color: var(--primary); margin-bottom: 7px; }
.capsule-card strong { display: block; color: #3a344f; margin-bottom: 4px; }
.capsule-card span { color: var(--muted); font-size: 14px; }
.section { padding: 34px 0; }
.section-head { max-width: 760px; margin-bottom: 24px; }
.intro-strip { padding: 28px 32px; }
.info-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card, .zone-card, .info-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: 24px; padding: 24px; }
.info-card .num, .zone-tag, .step-num { color: #8c6de6; font-weight: 900; letter-spacing: .5px; }
.feature-row { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; align-items: center; margin-bottom: 28px; }
.feature-row:nth-child(even) .feature-media { order: 2; }
.feature-text { background: rgba(255,255,255,.88); border: 1px solid var(--border); border-radius: 26px; padding: 30px; box-shadow: var(--shadow); }
.feature-text ul, .page-content ul, .feature-list { margin: 12px 0 18px; padding-left: 20px; color: var(--muted); }
.feature-media { background: linear-gradient(150deg,#fff,#EEF0FA); border: 1px solid var(--border); border-radius: 26px; padding: 16px; box-shadow: var(--shadow); }
.feature-media img { width: 100%; max-height: 330px; object-fit: contain; border-radius: 18px; margin: 0 auto; }
.zone-wall { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.zone-card { overflow: hidden; padding: 0; }
.zone-card img { width: 100%; height: 185px; object-fit: contain; padding: 14px; background: linear-gradient(135deg,#fff,#EEF0FA); }
.zone-body { padding: 22px; }
.app-feature { display: grid; grid-template-columns: .9fr 1.1fr; gap: 28px; padding: 30px; align-items: center; background: linear-gradient(135deg,#FFFFFF 0%,#EEF0FA 100%); }
.app-feature img { width: 100%; max-height: 360px; object-fit: contain; border-radius: 22px; margin: 0 auto; }
.feature-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; list-style: none; padding: 0; }
.feature-list li { background: rgba(255,255,255,.78); border: 1px solid var(--border); border-radius: 16px; padding: 12px 14px; color: #4b4862; }
.security-layout { padding: 30px; display: grid; grid-template-columns: .8fr 1.2fr; gap: 24px; }
.security-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.faq-list { display: grid; gap: 16px; }
.faq-item { background: rgba(255,255,255,.92); border: 1px solid var(--border); border-radius: 22px; padding: 22px; box-shadow: 0 12px 30px rgba(140,109,230,.08); }
.compliance-panel { padding: 30px; background: linear-gradient(135deg,#FFFFFF,#EEF0FA); }
.page-content { display: grid; gap: 22px; }
.content-block { background: rgba(255,255,255,.9); border: 1px solid var(--border); box-shadow: var(--shadow); border-radius: 24px; padding: 28px; }
.content-block p:last-child, .card p:last-child, .info-card p:last-child, .zone-card p:last-child { margin-bottom: 0; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.contact-panel { padding: 32px; }
.contact-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 18px; }
.site-footer { background: #4B4A6B; color: #F3F2FB; margin-top: 56px; }
.footer-inner { width: min(1200px, calc(100% - 40px)); margin: 0 auto; padding: 46px 0 32px; display: grid; grid-template-columns: 1.4fr .7fr .7fr 1fr; gap: 30px; }
.footer-brand p, .footer-note p, .footer-bottom span { color: rgba(243,242,251,.84); }
.footer-links { display: grid; align-content: start; gap: 8px; }
.footer-links h3, .footer-note h3 { color: #FFFFFF; font-size: 18px; }
.footer-links a { color: rgba(243,242,251,.86); }
.footer-links a:hover { color: #FFFFFF; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); width: min(1200px, calc(100% - 40px)); margin: 0 auto; padding: 18px 0; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
@media (max-width: 1080px) {
  .desktop-nav { gap: 2px; }
  .desktop-nav a { padding: 8px 9px; font-size: 14px; }
  .info-grid, .zone-wall { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .nav-shell { min-height: 70px; grid-template-columns: 84px 1fr 96px; gap: 8px; }
  .mobile-menu-btn { display: inline-flex; justify-self: start; }
  .brand { justify-self: center; }
  .brand img { width: 126px; }
  .desktop-nav { display: none; }
  .header-action { justify-self: end; }
  .header-action .main-btn { padding: 9px 14px; font-size: 14px; }
  .container { width: min(100% - 28px, 1200px); }
  .hero-panel, .app-feature, .security-layout, .feature-row { grid-template-columns: 1fr; }
  .feature-row:nth-child(even) .feature-media { order: 0; }
  .hero-panel { padding: 28px; }
  .grid-3, .steps, .contact-list { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .banner-slider { height: 210px; margin: 18px 14px 26px; border-radius: 18px; }
  .slider-arrow { width: 34px; height: 34px; font-size: 22px; }
  .slider-prev { left: 8px; }
  .slider-next { right: 8px; }
  .quick-capsules { margin-left: -2px; }
  .capsule-card { min-width: 168px; }
  .section { padding: 24px 0; }
  .info-grid, .grid-2, .zone-wall, .security-cards, .feature-list { grid-template-columns: 1fr; }
  .card, .info-card, .content-block, .feature-text, .security-layout, .app-feature, .contact-panel { padding: 20px; border-radius: 22px; }
  .hero-page { padding-top: 32px; }
  h1 { font-size: 30px; }
  .lead { font-size: 16px; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-bottom { display: grid; }
}
