* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    min-height: 100%;
    overflow-x: hidden;
    overflow-y: auto;
}

body {
    padding-top: 72px;
    background: #EEF4FF;
    color: #35405A;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
    line-height: 1.78;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    background: radial-gradient(circle at 15% 12%, rgba(157,145,255,0.18), transparent 30%), radial-gradient(circle at 85% 6%, rgba(167,194,255,0.22), transparent 32%), url('bg.webp') center top / cover no-repeat;
    opacity: 0.35;
    pointer-events: none;
    z-index: -1;
}

a {
    color: inherit;
}

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

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 99999;
    background: rgba(255,255,255,0.94);
    backdrop-filter: blur(12px);
    box-shadow: 0 8px 24px rgba(126,140,255,0.16);
}

.header-inner {
    max-width: 1280px;
    margin: 0 auto;
    min-height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    overflow: visible;
    padding: 0 22px;
}

main {
    position: relative;
    z-index: 1;
}

.brand-logo,
.drawer-logo {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    text-decoration: none;
}

.brand-logo img {
    height: 42px;
    width: auto;
    display: block;
}

.nav-core {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: nowrap;
    min-width: 0;
    flex: 1;
    justify-content: center;
}

.nav-core a {
    white-space: nowrap;
    color: #35405A;
    text-decoration: none;
    font-size: 15px;
    padding: 8px 10px;
    border-radius: 999px;
    transition: color .2s ease, background .2s ease;
}

.nav-core a:hover,
.nav-core a.active {
    color: #8A7CFF;
    background: #F2F0FF;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.more-menu {
    position: relative;
    flex-shrink: 0;
}

.more-toggle {
    border: 1px solid rgba(126,140,255,0.22);
    background: #FFFFFF;
    color: #35405A;
    border-radius: 999px;
    padding: 9px 15px;
    font: inherit;
    cursor: pointer;
    white-space: nowrap;
}

.more-dropdown {
    position: absolute;
    right: 0;
    top: calc(100% + 12px);
    min-width: 220px;
    background: #FFFFFF;
    border: 1px solid rgba(126,140,255,0.18);
    box-shadow: 0 18px 42px rgba(126,140,255,0.18);
    z-index: 100000;
    border-radius: 18px;
    padding: 10px;
    display: none;
    grid-template-columns: 1fr;
}

.more-menu:hover .more-dropdown,
.more-menu.open .more-dropdown {
    display: grid;
}

.more-dropdown a {
    text-decoration: none;
    color: #35405A;
    padding: 9px 12px;
    border-radius: 12px;
    white-space: nowrap;
}

.more-dropdown a:hover,
.more-dropdown a.active {
    background: #F2F0FF;
    color: #8A7CFF;
}

.main-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 9px 22px;
    border-radius: 999px;
    background: linear-gradient(135deg, #A7C2FF 0%, #9D91FF 55%, #8B7BFF 100%);
    color: #FFFFFF;
    text-decoration: none;
    box-shadow: 0 12px 26px rgba(139,123,255,0.28);
    transition: transform .2s ease, box-shadow .2s ease;
    white-space: nowrap;
    border: 0;
}

.main-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 30px rgba(139,123,255,0.34);
}

.mobile-menu-btn {
    display: none;
    width: 40px;
    height: 40px;
    border: 1px solid rgba(126,140,255,0.2);
    border-radius: 12px;
    background: #FFFFFF;
    padding: 9px;
}

.mobile-menu-btn span {
    display: block;
    height: 2px;
    margin: 5px 0;
    border-radius: 2px;
    background: #8A7CFF;
}

.drawer-mask {
    position: fixed;
    inset: 0;
    background: rgba(39,48,74,0.28);
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s ease;
    z-index: 100000;
}

.mobile-drawer {
    position: fixed;
    top: 0;
    left: 0;
    width: min(82vw, 340px);
    height: 100vh;
    background: #FFFFFF;
    z-index: 100001;
    transform: translateX(-105%);
    transition: transform .25s ease;
    box-shadow: 18px 0 38px rgba(126,140,255,0.22);
    padding: 18px;
    overflow-y: auto;
}

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

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

.drawer-open {
    overflow-x: hidden;
}

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

.drawer-logo img {
    height: 40px;
}

.drawer-close {
    width: 38px;
    height: 38px;
    border: 0;
    border-radius: 50%;
    background: #F2F0FF;
    color: #8A7CFF;
    font-size: 24px;
    line-height: 1;
}

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

.drawer-nav a {
    text-decoration: none;
    color: #35405A;
    padding: 11px 12px;
    border-radius: 14px;
    background: #F4F8FF;
}

.drawer-main {
    width: 100%;
    margin-top: 18px;
}

.section-wrap {
    width: min(1280px, calc(100% - 36px));
    margin: 0 auto 34px;
}

.banner-slider {
    max-width: 1280px;
    margin: 24px auto 30px;
    border-radius: 18px;
    background: #FFFFFF;
    box-shadow: 0 14px 36px rgba(126,140,255,0.16);
    overflow: hidden;
    position: relative;
    z-index: 1;
    height: clamp(220px, 43vw, 520px);
}

.slider-track,
.slide {
    height: 100%;
}

.slide {
    display: none;
}

.slide.active {
    display: block;
}

.banner-slider img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #EEF4FF;
    display: block;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 50%;
    background: rgba(255,255,255,0.86);
    color: #8A7CFF;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(126,140,255,0.18);
}

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

.slider-dots {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 14px;
    display: flex;
    justify-content: center;
    gap: 8px;
}

.slider-dots button {
    width: 10px;
    height: 10px;
    border: 0;
    border-radius: 50%;
    background: rgba(126,140,255,0.38);
    cursor: pointer;
}

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

.notice-bar,
.soft-card,
.card,
.zone-card,
.info-card,
.review-card,
.faq-item,
.tip-card,
.sub-hero {
    background: rgba(255,255,255,0.92);
    border: 1px solid rgba(126,140,255,0.18);
    box-shadow: 0 14px 36px rgba(126,140,255,0.16);
    border-radius: 22px;
}

.notice-bar {
    padding: 16px 20px;
    color: #68728A;
    display: flex;
    align-items: center;
    gap: 12px;
}

.notice-bar strong,
.badge,
.kicker {
    color: #8A7CFF;
}

.section-head {
    margin-bottom: 18px;
}

h1,
h2,
h3,
.section-title {
    color: #7E8CFF;
    line-height: 1.35;
    margin: 0 0 12px;
}

h1 {
    font-size: clamp(30px, 5vw, 54px);
}

h2,
.section-title {
    font-size: clamp(24px, 3.2vw, 36px);
}

h3 {
    font-size: 20px;
}

p {
    margin: 0 0 14px;
    color: #68728A;
}

.kicker {
    display: inline-flex;
    align-items: center;
    font-weight: 700;
    margin-bottom: 10px;
}

.text-link {
    color: #8A7CFF;
    text-decoration: none;
    font-weight: 700;
}

.text-link:hover {
    text-decoration: underline;
}

.content-split {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(280px, .92fr);
    gap: 24px;
    align-items: center;
}

.content-split.reverse {
    grid-template-columns: minmax(280px, .92fr) minmax(0, 1.08fr);
}

.soft-card {
    padding: clamp(22px, 4vw, 40px);
}

.media-card {
    background: #F4F8FF;
    border-radius: 20px;
    padding: 12px;
    overflow: hidden;
}

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

.media-card img,
.content-img,
.zone-card img {
    width: 100%;
    display: block;
    object-fit: contain;
    border-radius: 16px;
}

.grid-2,
.grid-3,
.grid-4,
.channel-grid,
.review-grid,
.faq-grid {
    display: grid;
    gap: 18px;
}

.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4,
.channel-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.review-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.faq-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.card,
.zone-card,
.info-card,
.review-card,
.faq-item,
.tip-card {
    padding: 22px;
}

.card h3,
.zone-card h3,
.info-card h3,
.review-card h3,
.faq-item h3,
.tip-card h3 {
    color: #8A7CFF;
}

.zone-card img {
    margin-bottom: 16px;
}

.app-band {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
    gap: 18px;
}

.sub-hero {
    padding: clamp(28px, 5vw, 56px);
    margin-top: 24px;
    background: linear-gradient(135deg, rgba(244,248,255,0.96), rgba(242,240,255,0.92));
}

.sub-hero p {
    max-width: 880px;
    font-size: 17px;
}

.list-check {
    display: grid;
    gap: 10px;
    margin: 14px 0 0;
    padding: 0;
    list-style: none;
}

.list-check li {
    padding-left: 26px;
    position: relative;
    color: #68728A;
}

.list-check li::before {
    content: "";
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #8A7CFF;
    position: absolute;
    left: 2px;
    top: .65em;
    box-shadow: 0 0 0 5px rgba(138,124,255,0.12);
}

.site-footer {
    background: #27304A;
    color: #EEF4FF;
    margin-top: 46px;
    padding: 44px 0 22px;
}

.footer-inner {
    width: min(1280px, calc(100% - 36px));
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(240px, .95fr) minmax(0, 1.6fr);
    gap: 34px;
}

.footer-brand img {
    height: 44px;
    width: auto;
    margin-bottom: 16px;
}

.footer-brand p,
.footer-note {
    color: #DDE6FF;
}

.footer-btn {
    margin-top: 6px;
}

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

.footer-links h3 {
    color: #FFFFFF;
    font-size: 17px;
}

.footer-links a {
    display: block;
    color: #EEF4FF;
    text-decoration: none;
    margin: 8px 0;
}

.footer-note {
    width: min(1280px, calc(100% - 36px));
    margin: 26px auto 0;
    padding-top: 18px;
    border-top: 1px solid rgba(238,244,255,0.16);
    font-size: 14px;
}

.mobile-quick {
    display: none;
}

@media (max-width: 1180px) {
    .grid-4,
    .channel-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 1024px) {
    .nav-core {
        display: none;
    }
    .header-inner {
        justify-content: space-between;
    }
    .grid-3,
    .review-grid,
    .grid-4,
    .channel-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .content-split,
    .content-split.reverse,
    .app-band,
    .footer-inner {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    body {
        padding-top: 64px;
        padding-bottom: 64px;
    }

    .site-header {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        z-index: 99999;
    }

    .header-inner {
        min-height: 64px;
        padding: 0 12px;
        gap: 8px;
    }

    .mobile-drawer,
    .drawer-mask {
        z-index: 100000;
    }

    .mobile-drawer {
        z-index: 100001;
    }

    .mobile-menu-btn {
        display: block;
        flex-shrink: 0;
    }

    .brand-logo {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
    }

    .brand-logo img {
        height: 36px;
    }

    .header-actions {
        margin-left: auto;
    }

    .more-menu {
        display: none;
    }

    .main-btn {
        min-height: 36px;
        padding: 7px 16px;
    }

    .banner-slider {
        width: calc(100% - 24px);
        margin: 16px auto 22px;
        border-radius: 15px;
        height: clamp(170px, 56vw, 300px);
    }

    .slider-btn {
        width: 34px;
        height: 34px;
        font-size: 23px;
    }

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

    .section-wrap {
        width: calc(100% - 24px);
        margin-bottom: 24px;
    }

    .grid-2,
    .grid-3,
    .grid-4,
    .channel-grid,
    .review-grid,
    .faq-grid,
    .footer-links {
        grid-template-columns: 1fr;
    }

    .notice-bar {
        align-items: flex-start;
        flex-direction: column;
    }

    .card,
    .zone-card,
    .info-card,
    .review-card,
    .faq-item,
    .tip-card,
    .soft-card,
    .sub-hero {
        padding: 18px;
        border-radius: 18px;
    }

    .mobile-quick {
        position: fixed;
        left: 12px;
        right: 12px;
        bottom: 10px;
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 8px;
        z-index: 99998;
        padding: 8px;
        background: rgba(255,255,255,0.94);
        border: 1px solid rgba(126,140,255,0.18);
        border-radius: 18px;
        box-shadow: 0 12px 30px rgba(126,140,255,0.18);
        backdrop-filter: blur(12px);
    }

    .mobile-quick a {
        text-align: center;
        text-decoration: none;
        color: #35405A;
        padding: 7px 0;
        border-radius: 12px;
        background: #F4F8FF;
        font-size: 13px;
    }
}
