* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
    background: #EFF1FD;
    color: #263044;
    line-height: 1.75;
    overflow-x: hidden;
}

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

img {
    max-width: 100%;
}

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 5000;
    background: #FFFFFF;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 24px rgba(86,92,140,0.10);
}

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

.logo,
.drawer-logo,
.footer-logo {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
}

.logo img {
    max-height: 52px;
    width: auto;
    display: block;
}

.desktop-nav {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    white-space: nowrap;
}

.nav-link,
.dropdown-trigger {
    position: relative;
    border: 0;
    background: transparent;
    color: #3D4564;
    font: inherit;
    font-weight: 600;
    padding: 26px 12px 24px;
    cursor: pointer;
}

.nav-link::after,
.nav-dropdown.active > .dropdown-trigger::after,
.nav-link.active::after {
    content: "";
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 17px;
    height: 3px;
    border-radius: 10px;
    background: #9C95E0;
    opacity: 0;
    transform: scaleX(.5);
    transition: .2s ease;
}

.nav-link:hover,
.nav-link.active,
.nav-dropdown.active > .dropdown-trigger,
.dropdown-trigger:hover {
    color: #9C95E0;
}

.nav-link:hover::after,
.nav-link.active::after,
.nav-dropdown.active > .dropdown-trigger::after {
    opacity: 1;
    transform: scaleX(1);
}

.nav-dropdown {
    position: relative;
}

.dropdown-trigger span {
    font-size: 12px;
    color: #9C95E0;
}

.dropdown-panel {
    position: absolute;
    top: calc(100% - 8px);
    left: 50%;
    transform: translateX(-50%) translateY(8px);
    min-width: 180px;
    background: #FFFFFF;
    border: 1px solid rgba(156,149,224,0.18);
    border-radius: 18px;
    box-shadow: 0 18px 42px rgba(86,92,140,0.16);
    padding: 10px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    z-index: 6000;
    transition: .2s ease;
}

.nav-dropdown:hover .dropdown-panel,
.nav-dropdown:focus-within .dropdown-panel {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}

.dropdown-panel a {
    display: block;
    padding: 10px 12px;
    color: #3D4564;
    border-radius: 12px;
    font-weight: 600;
}

.dropdown-panel a:hover,
.dropdown-panel a.active {
    background: #F2F4FF;
    color: #9C95E0;
}

.main-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 0;
    border-radius: 999px;
    background: linear-gradient(180deg, #AAB8FF 0%, #9C95E0 55%, #8A7BE6 100%);
    color: #FFFFFF;
    font-weight: 700;
    box-shadow: 0 12px 26px rgba(138,123,230,0.26);
    padding: 11px 24px;
    min-width: 88px;
    transition: transform .2s ease, box-shadow .2s ease;
}

.main-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 30px rgba(138,123,230,0.32);
}

.header-register {
    flex: 0 0 auto;
}

.menu-toggle {
    display: none;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 14px;
    background: #F2F4FF;
    padding: 10px;
}

.menu-toggle span {
    display: block;
    height: 2px;
    background: #3D4564;
    border-radius: 10px;
    margin: 5px 0;
}

.drawer-mask {
    position: fixed;
    inset: 0;
    z-index: 7000;
    background: rgba(0,0,0,0.42);
    opacity: 0;
    visibility: hidden;
    transition: .25s ease;
}

.drawer-mask.open {
    opacity: 1;
    visibility: visible;
}

.mobile-drawer {
    width: 82vw;
    max-width: 320px;
    height: 100%;
    background: #FFFFFF;
    transform: translateX(-104%);
    transition: .28s ease;
    box-shadow: 18px 0 46px rgba(24,31,68,0.22);
    overflow-y: auto;
}

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

.drawer-open {
    overflow: hidden;
}

.drawer-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px;
    border-bottom: 1px solid rgba(156,149,224,0.15);
    background: #F7F8FF;
}

.drawer-logo img,
.footer-logo img {
    max-height: 46px;
    width: auto;
    display: block;
}

.drawer-close {
    width: 38px;
    height: 38px;
    border: 0;
    border-radius: 12px;
    background: #FFFFFF;
    color: #3D4564;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
}

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

.drawer-nav a {
    padding: 12px 14px;
    border-radius: 14px;
    color: #3D4564;
    font-weight: 700;
    background: #F7F8FF;
}

.drawer-nav a.active,
.drawer-nav a:hover {
    color: #9C95E0;
    background: #F2F4FF;
}

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

.container,
.section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding-top: 58px;
    padding-bottom: 58px;
}

.section.compact {
    padding-top: 32px;
    padding-bottom: 32px;
}

h1,
h2,
h3,
.section-title {
    color: #9C95E0;
    line-height: 1.28;
    margin-top: 0;
}

h1 {
    font-size: clamp(34px, 5vw, 56px);
    margin-bottom: 18px;
}

h2,
.section-title {
    font-size: clamp(26px, 3.3vw, 38px);
    margin-bottom: 14px;
}

h3 {
    font-size: 21px;
    margin-bottom: 10px;
}

p {
    margin: 0 0 16px;
}

.lead {
    font-size: 18px;
    color: #667086;
}

.muted {
    color: #8C95A8;
}

.highlight,
.text-link {
    color: #9C95E0;
}

.text-link {
    font-weight: 700;
}

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

.tag,
.number-badge,
.eyebrow {
    color: #7D8CFF;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    padding: 5px 12px;
    margin-bottom: 12px;
    border-radius: 999px;
    background: #F2F4FF;
    border: 1px solid rgba(156,149,224,0.18);
    font-weight: 700;
}

.banner-slider {
    max-width: 1200px;
    margin: 28px auto 36px;
    border-radius: 22px;
    background: #FFFFFF;
    box-shadow: 0 18px 40px rgba(86,92,140,0.12);
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(156,149,224,0.14);
}

.slider-track {
    position: relative;
    height: clamp(230px, 40vw, 500px);
    background: #FFFFFF;
}

.slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    pointer-events: none;
    transition: opacity .45s ease;
}

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

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

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 50%;
    color: #FFFFFF;
    background: rgba(156,149,224,0.86);
    font-size: 24px;
    cursor: pointer;
    z-index: 12;
}

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

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

.slider-dot {
    width: 10px;
    height: 10px;
    border: 0;
    border-radius: 50%;
    background: rgba(156,149,224,0.35);
    cursor: pointer;
}

.slider-dot.active {
    width: 26px;
    border-radius: 999px;
    background: #9C95E0;
}

.card,
.zone-card,
.info-card,
.review-card,
.faq-item,
.notice-card,
.image-card,
.contact-card {
    background: rgba(255,255,255,0.96);
    border: 1px solid rgba(156,149,224,0.18);
    box-shadow: 0 14px 36px rgba(86,92,140,0.12);
    border-radius: 22px;
}

.card,
.zone-card,
.info-card,
.review-card,
.faq-item,
.notice-card,
.contact-card {
    padding: 26px;
}

.image-card {
    padding: 14px;
    overflow: hidden;
    background: #FFFFFF;
}

.image-card img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: 16px;
}

.two-col,
.page-hero-inner,
.split-section {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(320px, .95fr);
    align-items: center;
    gap: 34px;
}

.page-hero {
    max-width: 1200px;
    margin: 30px auto 0;
    padding: 38px 20px 18px;
}

.page-hero-inner {
    background: rgba(255,255,255,0.78);
    border: 1px solid rgba(156,149,224,0.16);
    border-radius: 28px;
    padding: 34px;
    box-shadow: 0 18px 42px rgba(86,92,140,0.12);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
    margin-top: 22px;
}

.card-grid,
.zone-grid,
.review-grid,
.faq-grid,
.notice-grid,
.step-grid,
.link-grid,
.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

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

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

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

.section-heading {
    max-width: 760px;
    margin-bottom: 26px;
}

.zone-card,
.card,
.info-card,
.review-card,
.faq-item,
.notice-card,
.contact-card {
    transition: transform .2s ease, box-shadow .2s ease;
}

.zone-card:hover,
.card:hover,
.info-card:hover,
.review-card:hover,
.faq-item:hover,
.notice-card:hover,
.contact-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 42px rgba(86,92,140,0.16);
}

.card-icon,
.number-badge {
    width: 38px;
    height: 38px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #F2F4FF;
    color: #7D8CFF;
    font-weight: 800;
    margin-bottom: 12px;
}

.soft-bg {
    background: #F7F8FF;
    border-top: 1px solid rgba(156,149,224,0.10);
    border-bottom: 1px solid rgba(156,149,224,0.10);
}

.alt-bg {
    background: #E8EBFA;
}

.pill-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 18px 0 0;
    padding: 0;
    list-style: none;
}

.pill-list li {
    background: #F2F4FF;
    border: 1px solid rgba(156,149,224,0.18);
    color: #667086;
    border-radius: 999px;
    padding: 7px 13px;
    font-weight: 700;
}

.notice-card {
    background: #F2F4FF;
}

.faq-item h3,
.review-card h3 {
    margin-bottom: 8px;
}

.review-card p {
    color: #667086;
}

.review-name {
    margin-top: 14px;
    font-weight: 800;
    color: #9C95E0;
}

.contact-card strong {
    color: #9C95E0;
}

.site-footer {
    margin-top: 58px;
    background: #252D55;
    color: #EEF1FF;
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 48px 20px 34px;
    display: grid;
    grid-template-columns: 1.2fr 2fr;
    gap: 42px;
}

.footer-brand p,
.footer-bottom p {
    color: rgba(238,241,255,0.78);
}

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

.footer-columns h3 {
    color: #EEF1FF;
    font-size: 17px;
}

.footer-columns a {
    display: block;
    color: rgba(238,241,255,0.78);
    margin: 8px 0;
}

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

.footer-bottom {
    border-top: 1px solid rgba(238,241,255,0.12);
    max-width: 1200px;
    margin: 0 auto;
    padding: 18px 20px 24px;
}

@media (max-width: 1080px) {
    .desktop-nav {
        gap: 2px;
    }
    .nav-link,
    .dropdown-trigger {
        padding-left: 9px;
        padding-right: 9px;
        font-size: 15px;
    }
    .header-inner {
        gap: 12px;
    }
}

@media (max-width: 900px) {
    .header-inner {
        min-height: 72px;
        justify-content: space-between;
        padding: 0 14px;
    }
    .menu-toggle {
        display: block;
        flex: 0 0 auto;
    }
    .desktop-nav {
        display: none;
    }
    .logo {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
    }
    .logo img {
        max-height: 44px;
    }
    .header-register {
        min-width: 78px;
        padding: 9px 18px;
    }
    .site-main {
        padding-top: 72px;
    }
    .banner-slider {
        margin: 18px 14px 26px;
        border-radius: 18px;
    }
    .slider-track {
        height: clamp(190px, 62vw, 360px);
    }
    .slider-arrow {
        width: 36px;
        height: 36px;
        font-size: 20px;
    }
    .two-col,
    .page-hero-inner,
    .split-section,
    .footer-inner {
        grid-template-columns: 1fr;
    }
    .page-hero-inner {
        padding: 24px;
    }
    .card-grid,
    .zone-grid,
    .zone-grid.four,
    .card-grid.four,
    .review-grid,
    .faq-grid,
    .notice-grid,
    .step-grid,
    .link-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }
    .footer-columns {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .section {
        padding-top: 44px;
        padding-bottom: 44px;
    }
}

@media (max-width: 520px) {
    .container,
    .section,
    .page-hero {
        padding-left: 14px;
        padding-right: 14px;
    }
    .page-hero-inner,
    .card,
    .zone-card,
    .info-card,
    .review-card,
    .faq-item,
    .notice-card,
    .contact-card {
        border-radius: 18px;
        padding: 20px;
    }
    h1 {
        font-size: 31px;
    }
    .lead {
        font-size: 16px;
    }
    .footer-columns {
        grid-template-columns: 1fr;
    }
}
