* {
  box-sizing: border-box;
}

:root {
  --primary: #8c6de6;
  --primary-dark: #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;
  background: linear-gradient(180deg, #DDE0F4 0%, #F7F7FC 48%, #DDE0F4 100%);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
  line-height: 1.72;
  overflow-x: hidden;
}

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

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

.container {
  width: min(1200px, calc(100% - 40px));
  margin: 0 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);
}

.desktop-header {
  height: 78px;
  display: grid;
  grid-template-columns: 160px 1fr auto;
  align-items: center;
  gap: 18px;
}

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

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

.desktop-nav a {
  padding: 8px 12px;
  border-radius: 999px;
  color: #554B7A;
  font-size: 15px;
  transition: 0.25s ease;
}

.desktop-nav a:hover,
.desktop-nav a.active {
  color: var(--primary);
  background: rgba(255,255,255,0.76);
  box-shadow: 0 8px 20px rgba(140,109,230,0.08);
}

.main-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #8c6de6;
  color: #fff;
  border-radius: 999px;
  padding: 10px 22px;
  font-weight: 700;
  border: 1px solid rgba(255,255,255,0.42);
  box-shadow: 0 10px 22px rgba(140,109,230,0.22), 0 0 0 6px rgba(140,109,230,0.05);
  transition: 0.25s ease;
  white-space: nowrap;
}

.main-btn:hover {
  background: #7E5DDD;
  transform: translateY(-1px);
}

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

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

.mobile-header {
  display: none;
  height: 68px;
  align-items: center;
  justify-content: space-between;
  padding: 0 14px;
}

.menu-toggle,
.drawer-close,
.banner-arrow {
  border: 0;
  cursor: pointer;
  font: inherit;
}

.menu-toggle {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: rgba(255,255,255,0.72);
  border: 1px solid var(--border);
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
}

.menu-toggle span {
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: var(--primary);
}

.mobile-register {
  padding: 8px 13px;
  font-size: 13px;
}

.drawer-mask {
  position: fixed;
  inset: 0;
  background: rgba(24,22,36,0.42);
  opacity: 0;
  pointer-events: none;
  transition: 0.28s ease;
  z-index: 10000;
}

.mobile-drawer {
  position: fixed;
  top: 0;
  left: 0;
  width: min(84vw, 320px);
  height: 100vh;
  background: linear-gradient(180deg, #FFFFFF 0%, #F7F7FC 100%);
  box-shadow: 16px 0 42px rgba(75,74,107,0.18);
  transform: translateX(-105%);
  transition: 0.3s ease;
  z-index: 10001;
  padding: 18px;
  overflow-y: auto;
}

.drawer-open {
  overflow: hidden;
}

.drawer-open .drawer-mask {
  opacity: 1;
  pointer-events: auto;
}

.drawer-open .mobile-drawer {
  transform: translateX(0);
}

.drawer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.drawer-close {
  width: 38px;
  height: 38px;
  border-radius: 14px;
  background: #EEF0FA;
  color: var(--primary);
  font-size: 28px;
  line-height: 1;
}

.drawer-nav {
  display: grid;
  gap: 9px;
}

.drawer-nav a {
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(255,255,255,0.78);
  border: 1px solid var(--border);
  color: #554B7A;
  font-weight: 700;
}

.drawer-nav a.active {
  color: var(--primary);
  background: #FFFFFF;
  box-shadow: var(--shadow);
}

.drawer-note {
  margin-top: 18px;
  border-radius: 18px;
  padding: 16px;
  background: #EEF0FA;
  color: var(--muted);
  border: 1px solid var(--border);
}

.drawer-note strong {
  color: var(--primary);
}

.page-shell {
  min-height: 72vh;
  padding-bottom: 0;
}

.banner-slider {
  max-width: 1200px;
  height: 400px;
  margin: 28px auto 36px;
  border-radius: 24px;
  background: #FFFFFF;
  box-shadow: 0 18px 40px rgba(140,109,230,0.10);
  overflow: hidden;
  position: relative;
  border: 1px solid rgba(255,255,255,0.62);
}

.banner-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.012);
  transition: opacity 0.55s ease, transform 0.55s ease;
  background: linear-gradient(135deg, #FFFFFF 0%, #EEF0FA 100%);
}

.banner-slide.active {
  opacity: 1;
  transform: scale(1);
  z-index: 2;
}

.banner-slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #FFFFFF;
}

.banner-caption {
  position: absolute;
  left: 34px;
  bottom: 34px;
  width: min(430px, calc(100% - 68px));
  padding: 20px 22px;
  border-radius: 20px;
  background: rgba(255,255,255,0.84);
  border: 1px solid rgba(140,109,230,0.16);
  box-shadow: 0 14px 36px rgba(140,109,230,0.13);
  backdrop-filter: blur(10px);
}

.banner-caption span,
.section-kicker,
.pill-tag,
.card-number {
  color: var(--primary);
  font-weight: 800;
  letter-spacing: 0.04em;
}

.banner-caption h1,
.banner-caption h2 {
  margin: 6px 0 8px;
  color: var(--primary);
  font-size: clamp(24px, 3vw, 40px);
  line-height: 1.2;
}

.banner-caption p {
  margin: 0;
  color: var(--text);
  font-size: 15px;
}

.banner-arrow {
  position: absolute;
  top: 50%;
  z-index: 5;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.75);
  border: 1px solid rgba(140,109,230,0.18);
  color: var(--primary);
  font-size: 28px;
  display: grid;
  place-items: center;
  transition: 0.22s ease;
}

.banner-arrow:hover {
  background: #FFFFFF;
  box-shadow: var(--shadow);
}

.banner-prev {
  left: 18px;
}

.banner-next {
  right: 18px;
}

.banner-dots {
  position: absolute;
  left: 50%;
  bottom: 18px;
  z-index: 6;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,0.72);
  backdrop-filter: blur(8px);
}

.banner-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  border: 0;
  background: rgba(140,109,230,0.25);
  cursor: pointer;
  transition: 0.2s ease;
}

.banner-dot.active {
  width: 24px;
  background: #8c6de6;
}

.section {
  padding: 48px 0;
}

.section-tight {
  padding: 28px 0;
}

.section-head {
  max-width: 800px;
  margin: 0 auto 26px;
  text-align: center;
}

.section-head.left {
  text-align: left;
  margin-left: 0;
}

.section-head h1,
.section-head h2,
.content-block h2,
.article h2,
.hero-title,
.page-title {
  color: var(--primary);
  line-height: 1.24;
  margin: 0 0 14px;
}

.section-head h1,
.page-title {
  font-size: clamp(30px, 4vw, 48px);
}

.section-head h2,
.content-block h2,
.article h2 {
  font-size: clamp(24px, 3vw, 34px);
}

.section-head p,
.content-block p,
.article p,
.card p,
.info-card p,
.zone-card p,
.faq-item p,
.feature-list li,
.safety-list li {
  color: var(--muted);
}

.quick-capsules {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  padding: 4px 0 12px;
  scrollbar-width: thin;
}

.quick-capsules a {
  min-width: 172px;
  flex: 1;
  padding: 16px;
  border-radius: 20px;
  background: rgba(255,255,255,0.86);
  border: 1px solid rgba(140,109,230,0.16);
  box-shadow: 0 10px 26px rgba(140,109,230,0.07);
  transition: 0.25s ease;
}

.quick-capsules a:hover {
  border-color: rgba(140,109,230,0.36);
  transform: translateY(-2px);
}

.quick-capsules strong {
  display: block;
  color: var(--text);
  margin: 5px 0;
  font-size: 17px;
}

.quick-capsules p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.intro-strip,
.soft-panel,
.compliance-box {
  border-radius: 26px;
  background: linear-gradient(135deg, rgba(255,255,255,0.92), rgba(238,240,250,0.88));
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  padding: 26px;
}

.intro-strip p {
  margin: 0;
  color: #454259;
  font-size: 17px;
}

.info-grid,
.zone-grid,
.card-grid,
.faq-grid,
.service-grid,
.contact-grid {
  display: grid;
  gap: 18px;
}

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

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

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

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

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

.card,
.zone-card,
.info-card,
.faq-item,
.contact-card,
.article-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: 22px;
}

.card h3,
.zone-card h3,
.info-card h3,
.faq-item h3,
.contact-card h3,
.article-card h3 {
  margin: 8px 0 10px;
  color: var(--text);
  line-height: 1.35;
}

.card-number {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(140,109,230,0.10);
}

.feature-row {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 30px;
  align-items: center;
  margin-bottom: 32px;
}

.feature-row.reverse {
  grid-template-columns: 1.08fr 0.92fr;
}

.content-img-wrap {
  border-radius: 26px;
  background: rgba(255,255,255,0.88);
  border: 1px solid rgba(140,109,230,0.16);
  box-shadow: var(--shadow);
  padding: 14px;
  min-height: 260px;
  display: grid;
  place-items: center;
}

.content-img,
.zone-card img,
.app-section img,
.banner-slider img,
.hero-media img {
  max-width: 100%;
  height: auto;
}

.content-img {
  width: 100%;
  max-height: 330px;
  object-fit: contain;
  border-radius: 18px;
}

.content-block {
  border-radius: 26px;
  padding: 30px;
  background: rgba(255,255,255,0.76);
  border: 1px solid rgba(140,109,230,0.12);
}

.point-list,
.feature-list,
.safety-list {
  padding: 0;
  margin: 18px 0 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.point-list li,
.feature-list li,
.safety-list li {
  position: relative;
  padding-left: 24px;
}

.point-list li::before,
.feature-list li::before,
.safety-list li::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary);
  position: absolute;
  left: 0;
  top: 12px;
  box-shadow: 0 0 0 5px rgba(140,109,230,0.10);
}

.zone-card {
  overflow: hidden;
}

.zone-card.media-card {
  padding: 0;
}

.zone-card .zone-media {
  height: 176px;
  display: grid;
  place-items: center;
  background: #F7F7FC;
  border-bottom: 1px solid var(--border);
}

.zone-card .zone-media img {
  max-height: 156px;
  width: auto;
  object-fit: contain;
}

.zone-body {
  padding: 20px;
}

.pill-tag {
  display: inline-flex;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(140,109,230,0.10);
  font-size: 13px;
}

.app-section {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 30px;
  align-items: center;
  border-radius: 30px;
  padding: 32px;
  background: linear-gradient(135deg, #FFFFFF 0%, #EEF0FA 100%);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.app-section img {
  max-height: 360px;
  margin: 0 auto;
  object-fit: contain;
}

.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: 14px;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 30px;
  align-items: center;
  min-height: 360px;
  padding: 48px;
  border-radius: 30px;
  background: linear-gradient(135deg, rgba(255,255,255,0.92), rgba(238,240,250,0.9));
  border: 1px solid rgba(140,109,230,0.16);
  box-shadow: var(--shadow);
}

.hero-media {
  min-height: 250px;
  display: grid;
  place-items: center;
  border-radius: 24px;
  background: rgba(255,255,255,0.78);
  border: 1px solid var(--border);
  padding: 16px;
}

.hero-media img {
  max-height: 320px;
  object-fit: contain;
  border-radius: 18px;
}

.article {
  max-width: 980px;
  margin: 0 auto;
}

.article p {
  margin: 0 0 16px;
}

.article-section {
  margin: 24px 0;
}

.article-list {
  display: grid;
  gap: 16px;
  margin: 24px 0;
}

.article-card {
  padding: 24px;
}

.compliance-box {
  margin-top: 28px;
}

.compliance-box h2 {
  color: var(--primary);
  margin-top: 0;
}

.faq-item h3 {
  color: var(--primary);
}

.contact-card a {
  color: var(--primary);
  font-weight: 700;
}

.site-footer {
  background: #4B4A6B;
  color: #F3F2FB;
  margin-top: 54px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.8fr 1.1fr;
  gap: 28px;
  padding: 46px 0 34px;
}

.footer-brand img {
  filter: drop-shadow(0 8px 18px rgba(0,0,0,0.12));
  margin-bottom: 16px;
}

.footer-brand p,
.footer-warning p,
.footer-bottom p {
  color: rgba(243,242,251,0.78);
}

.footer-links {
  display: grid;
  align-content: start;
  gap: 8px;
}

.footer-links h3,
.footer-warning h3 {
  color: #FFFFFF;
  margin: 0 0 8px;
}

.footer-links a {
  color: rgba(243,242,251,0.82);
}

.footer-links a:hover {
  color: #FFFFFF;
}

.footer-warning .main-btn {
  margin-top: 10px;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  text-align: center;
  padding: 16px 20px;
}

@media (max-width: 1080px) {
  .desktop-header {
    grid-template-columns: 140px 1fr auto;
  }

  .desktop-nav a {
    padding: 7px 9px;
    font-size: 14px;
  }

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

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

  .banner-slider {
    height: 310px;
  }
}

@media (max-width: 860px) {
  .desktop-header {
    display: none;
  }

  .mobile-header {
    display: flex;
  }

  .container {
    width: min(100% - 28px, 1200px);
  }

  .banner-slider {
    height: 230px;
    margin: 18px 14px 24px;
    border-radius: 20px;
  }

  .banner-caption {
    left: 14px;
    bottom: 46px;
    width: calc(100% - 28px);
    padding: 13px 14px;
  }

  .banner-caption h1,
  .banner-caption h2 {
    font-size: 22px;
  }

  .banner-caption p {
    font-size: 13px;
  }

  .banner-arrow {
    width: 34px;
    height: 34px;
    font-size: 22px;
  }

  .banner-prev {
    left: 10px;
  }

  .banner-next {
    right: 10px;
  }

  .feature-row,
  .feature-row.reverse,
  .app-section,
  .security-layout,
  .hero-inner {
    grid-template-columns: 1fr;
  }

  .feature-row.reverse .content-block {
    order: 2;
  }

  .feature-row.reverse .content-img-wrap {
    order: 1;
  }

  .content-block,
  .hero-inner,
  .app-section {
    padding: 22px;
  }

  .section {
    padding: 34px 0;
  }

  .faq-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-inner {
    min-height: auto;
  }

  .hero-media {
    min-height: 190px;
  }
}

@media (max-width: 560px) {
  body {
    font-size: 15px;
  }

  .mobile-logo img {
    width: 116px;
  }

  .mobile-register {
    padding: 7px 10px;
  }

  .quick-capsules a {
    min-width: 168px;
  }

  .info-grid,
  .card-grid,
  .zone-grid,
  .service-grid,
  .contact-grid,
  .security-cards {
    grid-template-columns: 1fr;
  }

  .zone-card .zone-media {
    height: 150px;
  }

  .content-img-wrap {
    min-height: 190px;
  }

  .content-img {
    max-height: 230px;
  }

  .banner-slider {
    height: 210px;
  }

  .banner-caption {
    display: none;
  }
}
