:root {
    --primary: #8c6de6;
    --primary-dark: #7E5DDD;
    --page-bg: #DDE0F4;
    --soft-bg: #F7F7FC;
    --soft-bg-2: #EEF0FA;
    --card: #FFFFFF;
    --text: #2E2E3A;
    --muted: #66667A;
    --footer: #4B4A6B;
    --footer-text: #F3F2FB;
    --border: rgba(140,109,230,0.16);
    --shadow: 0 14px 36px rgba(140,109,230,0.10);
    --header-shadow: 0 6px 18px rgba(140,109,230,0.08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", Arial, sans-serif;
    background: linear-gradient(180deg, #DDE0F4 0%, #EEF0FA 46%, #F7F7FC 100%);
    color: var(--text);
    line-height: 1.78;
    overflow-x: hidden;
}
body.drawer-on { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
.container { width: min(1200px, calc(100% - 32px)); margin: 0 auto; }
.site-header {
    position: sticky;
    top: 0;
    z-index: 9999;
    background: #DDE0F4;
    box-shadow: var(--header-shadow);
    backdrop-filter: blur(10px);
}
.desktop-header {
    min-height: 78px;
    display: grid;
    grid-template-columns: 160px 1fr auto;
    align-items: center;
    gap: 18px;
}
.brand img, .mobile-logo img, .drawer-logo img, .footer-logo img { width: 136px; height: auto; object-fit: contain; }
.nav-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    flex-wrap: wrap;
}
.nav-links a, .drawer-nav a {
    color: #554B7A;
    font-weight: 650;
    font-size: 15px;
    padding: 8px 12px;
    border-radius: 999px;
    transition: all .2s ease;
}
.nav-links a:hover, .nav-links a.active, .drawer-nav a.active, .drawer-nav a:hover {
    background: rgba(255,255,255,0.82);
    color: var(--primary);
    box-shadow: 0 8px 18px rgba(140,109,230,0.08);
}
.main-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 42px;
    padding: 0 22px;
    border: 0;
    border-radius: 999px;
    background: #8c6de6;
    color: #FFFFFF;
    font-weight: 750;
    box-shadow: 0 10px 22px rgba(140,109,230,0.22), 0 0 0 1px rgba(255,255,255,0.35) inset;
    transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
    white-space: nowrap;
}
.main-btn:hover { background: #7E5DDD; transform: translateY(-1px); box-shadow: 0 14px 28px rgba(140,109,230,0.28); }
.mobile-header { display: none; }
.hamburger {
    width: 42px; height: 42px; border: 1px solid var(--border); border-radius: 14px;
    display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px;
    background: rgba(255,255,255,0.78); cursor: pointer;
}
.hamburger span { width: 19px; height: 2px; border-radius: 10px; background: var(--primary); }
.drawer-mask {
    position: fixed; inset: 0; z-index: 10000; background: rgba(22,20,38,0.38);
}
.mobile-drawer {
    position: fixed; inset: 0 auto 0 0; width: min(84vw, 320px); z-index: 10001;
    transform: translateX(-105%); transition: transform .26s ease;
    background: linear-gradient(180deg, #FFFFFF 0%, #F7F7FC 100%);
    box-shadow: 22px 0 40px rgba(43,34,92,0.16);
    padding: 18px;
}
.mobile-drawer.open { transform: translateX(0); }
.drawer-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.drawer-close {
    width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--border);
    background: #fff; color: var(--primary); font-size: 28px; line-height: 1; cursor: pointer;
}
.drawer-nav { display: grid; gap: 8px; }
.drawer-nav a { display: flex; align-items: center; min-height: 44px; background: rgba(238,240,250,0.56); }
.site-main { min-height: 60vh; }
.section { padding: 34px 0; }
.section-title { margin: 0 0 18px; text-align: center; }
h1, h2, h3, h4 { color: #8c6de6; line-height: 1.28; }
h1 { font-size: clamp(30px, 5vw, 54px); margin: 0 0 16px; letter-spacing: -0.02em; }
h2 { font-size: clamp(24px, 3.2vw, 36px); margin: 0 0 14px; }
h3 { font-size: 20px; margin: 0 0 10px; }
p { margin: 0 0 14px; color: var(--muted); }
.text-link {
    color: var(--primary); font-weight: 750; display: inline-flex; align-items: center; gap: 6px;
}
.text-link:hover { color: var(--primary-dark); text-decoration: underline; text-underline-offset: 4px; }
.banner-slider {
    max-width: 1200px;
    height: clamp(188px, 32vw, 408px);
    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 { position: absolute; inset: 0; }
.banner-slide { opacity: 0; pointer-events: none; transition: opacity .55s ease; background: linear-gradient(135deg, #fff 0%, #EEF0FA 100%); }
.banner-slide.active { opacity: 1; pointer-events: auto; }
.banner-slide img { width: 100%; height: 100%; object-fit: contain; object-position: center; padding: 0; }
.banner-caption {
    position: absolute; left: clamp(16px, 3vw, 34px); bottom: clamp(14px, 3vw, 30px);
    max-width: min(470px, 72%); padding: 14px 18px; border-radius: 18px;
    background: rgba(255,255,255,0.78); border: 1px solid rgba(140,109,230,0.14);
    backdrop-filter: blur(8px); box-shadow: 0 12px 26px rgba(140,109,230,0.12);
}
.banner-caption strong { display: block; color: var(--primary); font-size: clamp(18px, 2.4vw, 28px); line-height: 1.25; margin-bottom: 3px; }
.banner-caption span { color: #554B7A; font-size: 14px; }
.slider-arrow {
    position: absolute; 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: 30px; line-height: 1;
    cursor: pointer; z-index: 4; transition: all .2s ease;
}
.slider-arrow:hover { background: rgba(255,255,255,0.95); box-shadow: 0 10px 20px rgba(140,109,230,0.14); }
.slider-prev { left: 18px; }
.slider-next { right: 18px; }
.slider-dots { position: absolute; left: 0; right: 0; bottom: 14px; display: flex; justify-content: center; gap: 8px; z-index: 5; }
.slider-dot { width: 9px; height: 9px; padding: 0; border: 0; border-radius: 999px; background: rgba(140,109,230,0.25); cursor: pointer; transition: all .2s ease; }
.slider-dot.active { width: 24px; background: #8c6de6; }
.quick-capsules {
    display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin: 0 auto 28px;
}
.capsule-card, .card, .zone-card, .info-card, .glass-panel, .faq-item, .notice-box, .image-panel, .content-box {
    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);
}
.capsule-card {
    min-height: 98px; padding: 16px; border-radius: 22px; transition: transform .2s ease, border-color .2s ease;
}
.capsule-card:hover { transform: translateY(-2px); border-color: rgba(140,109,230,0.36); }
.num-tag, .mini-tag { color: var(--primary); font-weight: 800; font-size: 13px; letter-spacing: .04em; }
.capsule-card strong { display: block; color: var(--text); font-size: 18px; margin: 4px 0 2px; }
.capsule-card span { color: var(--muted); font-size: 14px; }
.platform-strip {
    padding: 24px 28px; border-radius: 24px; margin: 0 auto 30px;
    background: linear-gradient(135deg, rgba(255,255,255,0.96), rgba(238,240,250,0.92));
    border: 1px solid var(--border); box-shadow: var(--shadow);
}
.platform-strip p { margin: 0; font-size: 17px; color: #4d4b66; }
.info-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.info-card { padding: 20px; border-radius: 24px; min-height: 178px; }
.info-card p { font-size: 15px; }
.feature-row {
    display: grid; grid-template-columns: 1fr 1fr; gap: 26px; align-items: center; margin: 26px 0;
}
.feature-row.reverse .image-panel { order: 2; }
.feature-row.reverse .content-box { order: 1; }
.image-panel { border-radius: 28px; padding: 14px; background: rgba(255,255,255,0.74); overflow: hidden; }
.content-img, .zone-card img, .app-section img, .banner-slider img { max-width: 100%; height: auto; }
.image-panel img { width: 100%; max-height: 330px; object-fit: contain; border-radius: 22px; background: #fff; }
.content-box { border-radius: 28px; padding: clamp(22px, 3vw, 36px); background: rgba(255,255,255,0.86); }
.point-list { list-style: none; margin: 16px 0; padding: 0; display: grid; gap: 10px; }
.point-list li { position: relative; padding-left: 24px; color: #55546a; }
.point-list li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--primary); position: absolute; left: 3px; top: .75em; box-shadow: 0 0 0 5px rgba(140,109,230,0.10); }
.zone-wall { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.zone-card { border-radius: 24px; padding: 16px; overflow: hidden; min-height: 100%; }
.zone-card img { width: 100%; height: 170px; object-fit: contain; border-radius: 18px; background: #F7F7FC; margin-bottom: 14px; }
.zone-card.text-only { display: flex; flex-direction: column; justify-content: center; background: linear-gradient(135deg, rgba(255,255,255,0.95), rgba(238,240,250,0.88)); }
.zone-card p { font-size: 15px; }
.app-section {
    display: grid; grid-template-columns: .9fr 1.1fr; gap: 28px; align-items: center;
    padding: clamp(20px, 3vw, 36px); border-radius: 30px; background: linear-gradient(135deg, #FFFFFF, #EEF0FA);
    border: 1px solid var(--border); box-shadow: var(--shadow);
}
.app-visual img { width: 100%; max-height: 360px; object-fit: contain; border-radius: 24px; background: #fff; }
.feature-pills { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 18px 0; }
.feature-pills span { padding: 12px 14px; border-radius: 16px; background: rgba(255,255,255,0.78); color: #554B7A; border: 1px solid var(--border); }
.security-layout { display: grid; grid-template-columns: .95fr 1.05fr; gap: 24px; align-items: center; }
.security-visual img { width: 100%; max-height: 330px; object-fit: contain; border-radius: 24px; background: #fff; }
.security-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.security-cards .card { padding: 18px; border-radius: 22px; }
.faq-list { display: grid; gap: 14px; }
.faq-item { padding: 20px; border-radius: 22px; }
.faq-item h3 { color: #554B7A; }
.notice-box {
    border-radius: 26px; padding: 24px 28px; background: linear-gradient(135deg, rgba(255,255,255,0.98), rgba(238,240,250,0.9));
}
.page-hero {
    padding: clamp(42px, 7vw, 88px) 0 28px;
}
.hero-card {
    border-radius: 32px; padding: clamp(28px, 5vw, 56px);
    background: linear-gradient(135deg, rgba(255,255,255,0.94), rgba(238,240,250,0.88));
    border: 1px solid var(--border); box-shadow: var(--shadow);
}
.hero-card p { max-width: 850px; font-size: 17px; }
.breadcrumb { color: var(--primary); font-weight: 750; margin-bottom: 8px; }
.inner-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 24px; align-items: start; }
.article-card { border-radius: 28px; padding: clamp(24px, 4vw, 42px); background: rgba(255,255,255,0.9); border: 1px solid var(--border); box-shadow: var(--shadow); }
.article-card p { color: #55546a; }
.article-card h2 { margin-top: 26px; }
.side-card { border-radius: 26px; padding: 22px; background: rgba(255,255,255,0.88); border: 1px solid var(--border); box-shadow: var(--shadow); position: sticky; top: 98px; }
.side-card img { width: 100%; max-height: 230px; object-fit: contain; border-radius: 20px; background: #F7F7FC; margin-bottom: 16px; }
.service-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 22px 0; }
.service-grid .card { padding: 18px; border-radius: 22px; }
.qa-list { display: grid; gap: 14px; margin-top: 22px; }
.qa-list .faq-item h2, .qa-list .faq-item h3 { margin-top: 0; font-size: 20px; color: #554B7A; }
.contact-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin: 22px 0; }
.site-footer { margin-top: 54px; background: #4B4A6B; color: #F3F2FB; padding: 44px 0 20px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 28px; }
.footer-brand p, .footer-bottom p { color: rgba(243,242,251,0.82); }
.footer-logo img { width: 142px; margin-bottom: 16px; filter: drop-shadow(0 8px 18px rgba(0,0,0,0.12)); }
.footer-col { display: grid; align-content: start; gap: 8px; }
.footer-col h3 { color: #fff; margin-bottom: 8px; }
.footer-col a { color: rgba(243,242,251,0.82); }
.footer-col a:hover { color: #fff; }
.footer-btn { margin-top: 8px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.14); margin-top: 32px; padding-top: 18px; }
@media (max-width: 1024px) {
    .desktop-header { grid-template-columns: 140px 1fr auto; gap: 10px; }
    .nav-links a { padding: 7px 9px; font-size: 14px; }
    .quick-capsules { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .info-grid, .zone-wall { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .inner-layout { grid-template-columns: 1fr; }
    .side-card { position: static; }
}
@media (max-width: 820px) {
    .desktop-header { display: none; }
    .mobile-header { min-height: 68px; width: min(100% - 24px, 760px); margin: 0 auto; display: grid; grid-template-columns: 58px 1fr auto; align-items: center; gap: 8px; }
    .mobile-logo { justify-self: center; }
    .mobile-logo img { width: 124px; }
    .mobile-register { min-height: 38px; padding: 0 14px; font-size: 14px; }
    .feature-row, .feature-row.reverse, .app-section, .security-layout { grid-template-columns: 1fr; }
    .feature-row.reverse .image-panel, .feature-row.reverse .content-box { order: initial; }
    .banner-caption { max-width: 76%; padding: 10px 12px; }
    .slider-arrow { width: 36px; height: 36px; font-size: 24px; }
    .slider-prev { left: 10px; }
    .slider-next { right: 10px; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 620px) {
    .container { width: min(100% - 22px, 1200px); }
    .quick-capsules { display: flex; overflow-x: auto; padding-bottom: 8px; scroll-snap-type: x mandatory; }
    .capsule-card { min-width: 210px; scroll-snap-align: start; }
    .info-grid, .zone-wall, .service-grid, .contact-grid, .security-cards, .feature-pills { grid-template-columns: 1fr; }
    .banner-slider { margin-top: 18px; border-radius: 18px; height: clamp(180px, 56vw, 240px); }
    .banner-caption { position: absolute; left: 12px; bottom: 32px; max-width: calc(100% - 24px); }
    .banner-caption span { display: none; }
    .slider-dots { bottom: 10px; }
    .section { padding: 24px 0; }
    .hero-card, .article-card { border-radius: 24px; }
    .footer-grid { grid-template-columns: 1fr; }
}
