* {
  box-sizing: border-box;
}

:root {
  --primary: #8c6de6;
  --primary-hover: #7E5DDD;
  --main-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;
}

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: linear-gradient(180deg, #DDE0F4 0%, #EEF0FA 48%, #F7F7FC 100%);
  min-height: 100vh;
}

body.drawer-open {
  overflow: 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);
  border-bottom: 1px solid rgba(140,109,230,0.08);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  height: 76px;
  padding: 0 20px;
  display: flex;
  align-items: center;
  gap: 22px;
}

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

.desktop-header {
  justify-content: space-between;
}

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

.nav-link {
  padding: 10px 13px;
  border-radius: 999px;
  color: #554B7A;
  font-size: 15px;
  transition: 0.22s ease;
  white-space: nowrap;
}

.nav-link:hover,
.nav-link.active {
  background: rgba(255,255,255,0.84);
  color: var(--primary);
  box-shadow: 0 8px 18px rgba(140,109,230,0.10);
}

.main-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 22px;
  background: #8c6de6;
  color: #FFFFFF;
  border-radius: 999px;
  box-shadow: 0 10px 22px rgba(140,109,230,0.22), 0 0 0 4px rgba(140,109,230,0.08);
  font-weight: 700;
  border: 0;
  cursor: pointer;
  transition: 0.22s ease;
  white-space: nowrap;
}

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

.mobile-header {
  display: none;
}

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

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

.menu-toggle span {
  display: block;
  height: 2px;
  border-radius: 99px;
  background: #8c6de6;
}

.mobile-top-btn {
  min-height: 38px;
  padding: 0 14px;
  font-size: 14px;
}

.drawer-mask {
  position: fixed;
  inset: 0;
  background: rgba(28,25,48,0.38);
  opacity: 0;
  pointer-events: none;
  transition: 0.22s ease;
  z-index: 10000;
}

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

.mobile-drawer {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  width: 84vw;
  max-width: 320px;
  background: linear-gradient(180deg, #FFFFFF 0%, #F7F7FC 100%);
  transform: translateX(-102%);
  transition: transform 0.28s ease;
  z-index: 10001;
  box-shadow: 18px 0 40px rgba(40,36,70,0.18);
  padding: 18px;
  overflow-y: auto;
}

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

.drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border);
}

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

.drawer-nav {
  display: grid;
  gap: 10px;
  padding-top: 18px;
}

.drawer-link {
  display: flex;
  align-items: center;
  min-height: 46px;
  padding: 0 16px;
  border-radius: 16px;
  color: #554B7A;
  background: rgba(255,255,255,0.72);
  border: 1px solid transparent;
}

.drawer-link.active,
.drawer-link:hover {
  color: var(--primary);
  border-color: var(--border);
  background: #FFFFFF;
}

.site-main {
  min-height: 70vh;
  padding-top: 10px;
}

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

.banner-slider {
  max-width: 1200px;
  height: 400px;
  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;
  pointer-events: none;
  transition: opacity 0.58s ease;
  background: radial-gradient(circle at 30% 20%, rgba(140,109,230,0.14), transparent 34%), #FFFFFF;
}

.banner-slide.active {
  opacity: 1;
  pointer-events: auto;
}

.banner-slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.banner-copy {
  position: absolute;
  left: 32px;
  bottom: 32px;
  width: min(390px, calc(100% - 64px));
  padding: 18px 20px;
  border-radius: 18px;
  background: rgba(255,255,255,0.84);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(140,109,230,0.16);
  box-shadow: 0 14px 34px rgba(82,74,130,0.12);
}

.banner-copy span {
  color: var(--primary);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.08em;
}

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

.banner-copy p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
  font-size: 15px;
}

.slider-arrow {
  position: absolute;
  top: 50%;
  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: #8c6de6;
  font-size: 28px;
  box-shadow: 0 10px 24px rgba(140,109,230,0.14);
  z-index: 4;
}

.slider-arrow:hover {
  background: rgba(255,255,255,0.92);
}

.slider-arrow.prev { left: 18px; }
.slider-arrow.next { right: 18px; }

.slider-dots {
  position: absolute;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  display: flex;
  gap: 9px;
  z-index: 5;
}

.slider-dots button {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(140,109,230,0.25);
  cursor: pointer;
  transition: 0.22s ease;
}

.slider-dots button.active {
  width: 24px;
  border-radius: 999px;
  background: #8c6de6;
}

.quick-capsules {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  padding: 6px 2px 18px;
  scrollbar-width: none;
}

.quick-capsules::-webkit-scrollbar { display: none; }

.capsule {
  min-width: 184px;
  flex: 1 0 184px;
  padding: 16px;
  border-radius: 18px;
  background: rgba(255,255,255,0.86);
  border: 1px solid rgba(140,109,230,0.16);
  box-shadow: 0 10px 24px rgba(140,109,230,0.08);
  transition: 0.22s ease;
}

.capsule:hover {
  transform: translateY(-2px);
  border-color: rgba(140,109,230,0.38);
}

.capsule .num,
.info-card .num,
.safe-card .num,
.step-card .num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 32px;
  height: 26px;
  padding: 0 9px;
  border-radius: 999px;
  background: rgba(140,109,230,0.12);
  color: var(--primary);
  font-weight: 800;
  font-size: 13px;
}

.capsule strong {
  display: block;
  margin: 10px 0 6px;
  color: var(--primary);
  font-size: 17px;
}

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

.intro-strip,
.compliance-box,
.notice-box {
  margin: 18px auto 34px;
  padding: 24px 28px;
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(255,255,255,0.94), rgba(247,247,252,0.88));
  border: 1px solid rgba(140,109,230,0.16);
  box-shadow: var(--shadow);
}

.intro-strip p,
.compliance-box p,
.notice-box p {
  margin: 0;
  color: #4E4B66;
  line-height: 1.9;
}

.section-head {
  margin: 56px 0 24px;
  text-align: center;
}

.section-head .eyebrow,
.page-hero .eyebrow,
.panel-tag,
.zone-tag {
  color: var(--primary);
  font-weight: 800;
  letter-spacing: 0.08em;
  font-size: 13px;
}

.section-head h2,
.page-hero h1,
.content-panel h2,
.page-content h2,
.compliance-box h2,
.notice-box h2 {
  color: var(--primary);
  margin: 8px 0 12px;
  line-height: 1.25;
}

.section-head h2 {
  font-size: clamp(26px, 3vw, 36px);
}

.section-head p {
  max-width: 760px;
  margin: 0 auto;
  color: var(--muted);
  line-height: 1.8;
}

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

.info-card,
.card,
.zone-card,
.safe-card,
.step-card,
.faq-item,
.service-mini {
  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: 20px;
}

.info-card h3,
.safe-card h3,
.step-card h3,
.faq-item h3,
.service-mini h3 {
  color: var(--primary);
  margin: 12px 0 8px;
}

.info-card p,
.safe-card p,
.step-card p,
.faq-item p,
.service-mini p,
.page-content p,
.content-panel p,
.zone-card p,
.app-copy p,
.footer-brand p,
.footer-note p {
  color: var(--muted);
  line-height: 1.85;
}

.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: center;
  margin: 28px 0;
}

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

.image-panel,
.page-image {
  border-radius: 26px;
  background: linear-gradient(135deg, #FFFFFF, #EEF0FA);
  border: 1px solid rgba(140,109,230,0.16);
  box-shadow: var(--shadow);
  padding: 18px;
}

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

.image-panel img,
.page-image img {
  width: 100%;
  max-height: 340px;
  object-fit: contain;
  object-position: center;
  border-radius: 18px;
}

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

.content-panel h2 {
  font-size: clamp(24px, 2.6vw, 34px);
}

.point-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 20px 0 16px;
  padding: 0;
  list-style: none;
}

.point-list li {
  padding: 8px 12px;
  border-radius: 999px;
  background: #EEF0FA;
  color: #554B7A;
  border: 1px solid rgba(140,109,230,0.12);
  font-size: 14px;
}

.text-link {
  color: #8c6de6;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.text-link:hover {
  color: #7E5DDD;
}

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

.zone-card {
  overflow: hidden;
  padding: 0 0 22px;
}

.zone-card .zone-visual {
  height: 170px;
  padding: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #FFFFFF, #EEF0FA);
}

.zone-card img {
  width: 100%;
  max-height: 142px;
  object-fit: contain;
  object-position: center;
  border-radius: 16px;
}

.zone-card.text-only .zone-visual {
  height: auto;
  min-height: 170px;
  align-items: flex-start;
  padding: 26px 20px;
}

.zone-card.text-only .soft-orb {
  width: 96px;
  height: 96px;
  border-radius: 34px;
  background: radial-gradient(circle at 30% 25%, rgba(255,255,255,0.9), rgba(140,109,230,0.24));
  box-shadow: inset 0 0 0 1px rgba(140,109,230,0.14), 0 18px 30px rgba(140,109,230,0.12);
}

.zone-body {
  padding: 18px 20px 0;
}

.zone-card h3 {
  color: var(--primary);
  margin: 8px 0 8px;
}

.app-section {
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  gap: 28px;
  align-items: center;
  margin: 64px 0 32px;
  padding: 28px;
  border-radius: 30px;
  background: linear-gradient(135deg, #FFFFFF, #F7F7FC);
  border: 1px solid rgba(140,109,230,0.16);
  box-shadow: var(--shadow);
}

.app-visual {
  border-radius: 24px;
  background: #EEF0FA;
  padding: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.app-visual img {
  max-height: 360px;
  object-fit: contain;
}

.app-copy h2 {
  color: var(--primary);
  font-size: clamp(24px, 2.6vw, 34px);
}

.check-grid,
.safe-grid,
.service-grid,
.step-grid {
  display: grid;
  gap: 16px;
}

.check-grid {
  grid-template-columns: repeat(2, 1fr);
  margin: 20px 0;
}

.check-item {
  padding: 14px 16px;
  border-radius: 16px;
  background: #EEF0FA;
  color: #554B7A;
  border: 1px solid rgba(140,109,230,0.14);
}

.safe-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 24px;
  align-items: start;
}

.safe-intro {
  padding: 28px;
  border-radius: 24px;
  background: rgba(255,255,255,0.86);
  border: 1px solid rgba(140,109,230,0.16);
  box-shadow: var(--shadow);
}

.safe-intro h2 {
  color: var(--primary);
}

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

.safe-card,
.step-card,
.service-mini {
  padding: 20px;
}

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

.faq-item {
  padding: 22px;
}

.compliance-box {
  margin-bottom: 64px;
}

.page-hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 30px;
  align-items: center;
  margin: 34px auto 36px;
  padding: 34px;
  border-radius: 30px;
  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);
  box-shadow: var(--shadow);
}

.page-hero.no-image {
  grid-template-columns: 1fr;
}

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

.page-hero p {
  color: var(--muted);
  line-height: 1.9;
  font-size: 17px;
}

.page-content {
  margin-bottom: 64px;
}

.content-block {
  padding: 28px;
  margin: 20px 0;
  border-radius: 24px;
  background: rgba(255,255,255,0.86);
  border: 1px solid rgba(140,109,230,0.16);
  box-shadow: var(--shadow);
}

.content-block h2 {
  font-size: clamp(23px, 2.4vw, 32px);
}

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

.step-grid {
  grid-template-columns: repeat(4, 1fr);
  margin: 24px 0;
}

.contact-card {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin: 24px 0;
}

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

.footer-inner {
  width: min(1200px, calc(100% - 40px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 1.6fr;
  gap: 44px;
  padding: 46px 0 30px;
}

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

.footer-brand p,
.footer-note p {
  color: rgba(243,242,251,0.82);
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.footer-links h3 {
  margin: 0 0 14px;
  color: #FFFFFF;
}

.footer-links a {
  display: block;
  color: rgba(243,242,251,0.78);
  margin: 9px 0;
}

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

.footer-note {
  width: min(1200px, calc(100% - 40px));
  margin: 0 auto;
  padding: 18px 0 26px;
  border-top: 1px solid rgba(255,255,255,0.12);
  text-align: center;
}

@media (max-width: 1080px) {
  .desktop-header { display: none; }
  .mobile-header {
    display: grid;
    grid-template-columns: 64px 1fr auto;
    height: 68px;
    gap: 10px;
    align-items: center;
  }
  .mobile-brand {
    justify-self: center;
  }
  .brand img,
  .mobile-brand img,
  .drawer-logo img,
  .footer-brand img {
    width: 118px;
  }
  .banner-slider {
    height: 300px;
    margin-top: 20px;
  }
  .info-grid,
  .zone-grid,
  .step-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .service-grid,
  .contact-card {
    grid-template-columns: repeat(2, 1fr);
  }
  .page-hero,
  .safe-layout,
  .app-section,
  .feature-row {
    grid-template-columns: 1fr;
  }
  .feature-row.reverse .content-panel,
  .feature-row.reverse .image-panel {
    order: initial;
  }
  .footer-inner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .container {
    width: min(100% - 28px, 1200px);
  }
  .mobile-header {
    padding: 0 12px;
    grid-template-columns: 46px 1fr auto;
  }
  .mobile-top-btn {
    min-height: 34px;
    padding: 0 10px;
    font-size: 13px;
  }
  .menu-toggle {
    width: 38px;
    height: 38px;
    border-radius: 12px;
  }
  .brand img,
  .mobile-brand img,
  .drawer-logo img,
  .footer-brand img {
    width: 104px;
  }
  .banner-slider {
    height: 220px;
    border-radius: 18px;
    margin-bottom: 24px;
  }
  .banner-copy {
    left: 14px;
    bottom: 44px;
    width: calc(100% - 28px);
    padding: 12px 14px;
    border-radius: 15px;
  }
  .banner-copy h1,
  .banner-copy h2 {
    font-size: 22px;
    margin: 5px 0;
  }
  .banner-copy p {
    font-size: 13px;
    line-height: 1.55;
  }
  .slider-arrow {
    width: 34px;
    height: 34px;
    font-size: 22px;
  }
  .slider-arrow.prev { left: 10px; }
  .slider-arrow.next { right: 10px; }
  .intro-strip,
  .compliance-box,
  .notice-box,
  .content-block,
  .content-panel,
  .page-hero,
  .app-section,
  .safe-intro {
    padding: 20px;
    border-radius: 22px;
  }
  .info-grid,
  .zone-grid,
  .safe-grid,
  .faq-grid,
  .service-grid,
  .step-grid,
  .contact-card,
  .check-grid {
    grid-template-columns: 1fr;
  }
  .zone-card .zone-visual {
    height: 150px;
  }
  .image-panel img,
  .page-image img,
  .app-visual img {
    max-height: 260px;
  }
  .footer-links {
    grid-template-columns: 1fr;
  }
}
