:root {
    --bg: #EBEFFF;
    --nav-bg: #FFFFFF;
    --card: rgba(255,255,255,0.96);
    --soft: #F7F9FF;
    --soft-2: #EEF2FF;
    --soft-3: #E3E9FF;
    --title: #6D8EF8;
    --nav: #36425D;
    --text: #253044;
    --muted: #667086;
    --light: #8C95A8;
    --accent: #7C9CFF;
    --footer: #232B52;
    --footer-text: #EEF2FF;
    --border: rgba(109,142,248,0.18);
    --shadow: 0 14px 36px rgba(80,96,150,0.12);
    --button: linear-gradient(180deg, #93AEFF 0%, #789AF9 55%, #5D7DF4 100%);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-width: 320px;
    background: var(--bg);
    color: var(--text);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
    line-height: 1.75;
}

body.drawer-open {
    overflow: hidden;
}

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

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

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1100;
    width: 100%;
    background: #FFFFFF;
    box-shadow: 0 8px 24px rgba(80,96,150,0.10);
    backdrop-filter: blur(10px);
}

.header-inner {
    width: min(1200px, calc(100% - 32px));
    min-height: 78px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 24px;
}

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

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

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

.desktop-nav > a,
.nav-item > a {
    position: relative;
    display: inline-flex;
    align-items: center;
    min-height: 78px;
    padding: 0 13px;
    color: #36425D;
    font-size: 15px;
    font-weight: 700;
    white-space: nowrap;
    transition: color .2s ease;
}

.desktop-nav > a::after,
.nav-item > a::after {
    content: "";
    position: absolute;
    left: 13px;
    right: 13px;
    bottom: 17px;
    height: 3px;
    border-radius: 999px;
    background: #6D8EF8;
    opacity: 0;
    transform: translateY(4px);
    transition: all .2s ease;
}

.desktop-nav a:hover,
.desktop-nav a.active,
.nav-item > a.active {
    color: #6D8EF8;
}

.desktop-nav > a:hover::after,
.desktop-nav > a.active::after,
.nav-item:hover > a::after,
.nav-item > a.active::after {
    opacity: 1;
    transform: translateY(0);
}

.nav-item {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.has-dropdown > a::before {
    content: "";
    width: 0;
    height: 0;
    margin-left: 6px;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 5px solid currentColor;
    order: 2;
}

.dropdown-panel {
    position: absolute;
    top: 72px;
    left: 50%;
    z-index: 1300;
    min-width: 172px;
    padding: 10px;
    border-radius: 18px;
    background: #FFFFFF;
    border: 1px solid rgba(109,142,248,0.16);
    box-shadow: 0 18px 40px rgba(80,96,150,0.18);
    opacity: 0;
    visibility: hidden;
    transform: translate(-50%, 10px);
    transition: all .2s ease;
}

.nav-item:hover .dropdown-panel,
.nav-item:focus-within .dropdown-panel {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0);
}

.dropdown-panel a {
    display: block;
    padding: 10px 12px;
    border-radius: 12px;
    color: #36425D;
    font-size: 14px;
    font-weight: 700;
}

.dropdown-panel a:hover {
    background: #EEF2FF;
    color: #6D8EF8;
}

.main-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 22px;
    border: 0;
    border-radius: 999px;
    background: var(--button);
    color: #FFFFFF;
    font-weight: 800;
    line-height: 1;
    box-shadow: 0 10px 20px rgba(93,125,244,0.25);
    cursor: pointer;
    white-space: nowrap;
    transition: transform .2s ease, box-shadow .2s ease;
}

.main-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 24px rgba(93,125,244,0.30);
}

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

.menu-toggle {
    display: none;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 14px;
    background: #EEF2FF;
    cursor: pointer;
    flex: 0 0 auto;
}

.menu-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    margin: 5px auto;
    border-radius: 99px;
    background: #36425D;
}

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

.mobile-drawer {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1200;
    width: 84vw;
    max-width: 320px;
    height: 100vh;
    padding: 18px 18px 24px;
    background: #FFFFFF;
    box-shadow: 24px 0 48px rgba(20,31,66,.20);
    transform: translateX(-102%);
    transition: transform .28s ease;
    overflow-y: auto;
}

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

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

.drawer-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(109,142,248,.16);
}

.drawer-close {
    width: 38px;
    height: 38px;
    border: 0;
    border-radius: 50%;
    background: #EEF2FF;
    color: #36425D;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
}

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

.drawer-nav a {
    display: flex;
    align-items: center;
    min-height: 42px;
    padding: 0 14px;
    border-radius: 14px;
    color: #36425D;
    font-size: 15px;
    font-weight: 800;
    background: #F7F9FF;
}

.drawer-nav a.active,
.drawer-nav a:hover {
    color: #6D8EF8;
    background: #EEF2FF;
}

.site-main {
    padding-top: 104px;
}

.section {
    width: min(1200px, calc(100% - 32px));
    margin: 0 auto 46px;
}

.section.narrow {
    width: min(980px, calc(100% - 32px));
}

.section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 20px;
}

.eyebrow,
.tag {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    min-height: 28px;
    padding: 0 12px;
    border-radius: 999px;
    background: #EEF2FF;
    color: #7C9CFF;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .03em;
}

h1, h2, h3, .section-title {
    margin: 0;
    color: #6D8EF8;
    line-height: 1.25;
}

h1 {
    font-size: clamp(32px, 5vw, 54px);
    letter-spacing: -0.03em;
}

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

h3 {
    font-size: 21px;
}

p {
    margin: 0;
}

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

.muted {
    color: #667086;
}

.note {
    color: #8C95A8;
    font-size: 14px;
}

.highlight,
.text-link {
    color: #6D8EF8;
}

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

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

.card,
.zone-card,
.info-card,
.review-card,
.faq-item,
.notice-box,
.hero-panel {
    background: rgba(255,255,255,0.96);
    border: 1px solid rgba(109,142,248,0.18);
    box-shadow: 0 14px 36px rgba(80,96,150,0.12);
}

.banner-slider {
    width: min(1200px, calc(100% - 32px));
    margin: 28px auto 36px;
    border-radius: 22px;
    background: #FFFFFF;
    box-shadow: 0 18px 40px rgba(80,96,150,0.12);
    overflow: hidden;
    position: relative;
    z-index: 1;
}

.slider-viewport {
    position: relative;
    height: clamp(240px, 43vw, 520px);
    background: #FFFFFF;
}

.slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity .45s ease;
}

.slide.active {
    opacity: 1;
    visibility: visible;
}

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

.slider-arrow {
    position: absolute;
    top: 50%;
    z-index: 4;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 50%;
    background: rgba(255,255,255,.86);
    box-shadow: 0 10px 24px rgba(80,96,150,.16);
    color: #6D8EF8;
    font-size: 28px;
    cursor: pointer;
    transform: translateY(-50%);
}

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

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

.slider-dot {
    width: 10px;
    height: 10px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: rgba(109,142,248,.34);
    cursor: pointer;
    transition: width .2s ease, background .2s ease;
}

.slider-dot.active {
    width: 28px;
    background: #6D8EF8;
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(320px, .92fr);
    gap: 26px;
    align-items: center;
}

.hero-panel,
.card {
    border-radius: 24px;
    padding: clamp(22px, 4vw, 36px);
}

.hero-copy {
    display: grid;
    gap: 16px;
}

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

.image-frame {
    border-radius: 24px;
    overflow: hidden;
    background: #FFFFFF;
    border: 1px solid rgba(109,142,248,.16);
    box-shadow: 0 14px 36px rgba(80,96,150,0.12);
}

.image-frame img {
    width: 100%;
    height: auto;
    object-fit: contain;
    background: #FFFFFF;
}

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

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

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

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

.zone-card {
    min-height: 210px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.zone-card p,
.info-card p,
.review-card p,
.faq-item p {
    color: #667086;
}

.zone-card .text-link {
    margin-top: auto;
}

.info-card {
    display: grid;
    gap: 12px;
}

.icon-badge,
.number-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 14px;
    background: #EEF2FF;
    color: #7C9CFF;
    font-weight: 900;
}

.review-card {
    display: grid;
    gap: 10px;
    background: #FFFFFF;
}

.review-card strong {
    color: #253044;
}

.faq-list {
    display: grid;
    gap: 16px;
}

.faq-item {
    display: grid;
    gap: 10px;
}

.notice-box {
    border-radius: 24px;
    padding: 26px;
    background: linear-gradient(135deg, #FFFFFF 0%, #EEF2FF 100%);
    color: #667086;
}

.notice-box strong {
    color: #253044;
}

.page-hero {
    width: min(1200px, calc(100% - 32px));
    margin: 24px auto 40px;
}

.page-hero .hero-panel {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, .78fr);
    gap: 26px;
    align-items: center;
    overflow: hidden;
}

.page-hero.text-only .hero-panel {
    grid-template-columns: 1fr;
}

.page-content {
    display: grid;
    gap: 36px;
}

.rich-text {
    display: grid;
    gap: 16px;
    color: #667086;
}

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

.check-list li,
.step-list li {
    position: relative;
    padding: 14px 16px 14px 48px;
    border-radius: 18px;
    background: #F7F9FF;
    color: #667086;
    border: 1px solid rgba(109,142,248,.12);
}

.check-list li::before,
.step-list li::before {
    content: "✓";
    position: absolute;
    left: 16px;
    top: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #EEF2FF;
    color: #6D8EF8;
    font-weight: 900;
    line-height: 1;
}

.step-list {
    counter-reset: steps;
}

.step-list li {
    counter-increment: steps;
}

.step-list li::before {
    content: counter(steps);
}

.stats-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 8px;
}

.stat-card {
    padding: 18px;
    border-radius: 18px;
    background: #F7F9FF;
    border: 1px solid rgba(109,142,248,.13);
}

.stat-card strong {
    display: block;
    color: #6D8EF8;
    font-size: 24px;
    line-height: 1.2;
}

.site-footer {
    margin-top: 60px;
    background: #232B52;
    color: #EEF2FF;
}

.footer-inner {
    width: min(1200px, calc(100% - 32px));
    margin: 0 auto;
    padding: 48px 0 32px;
    display: grid;
    grid-template-columns: 1.4fr .7fr .7fr .7fr;
    gap: 30px;
}

.footer-brand {
    display: grid;
    gap: 16px;
    color: rgba(238,242,255,.82);
}

.footer-logo {
    width: fit-content;
    display: inline-flex;
    padding: 8px 12px;
    border-radius: 16px;
    background: #FFFFFF;
}

.footer-reminder {
    color: rgba(238,242,255,.72);
    font-size: 14px;
}

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

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

.footer-links a {
    color: rgba(238,242,255,.78);
    font-size: 14px;
}

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

.footer-bottom {
    width: min(1200px, calc(100% - 32px));
    margin: 0 auto;
    padding: 18px 0;
    border-top: 1px solid rgba(238,242,255,.14);
    display: flex;
    justify-content: space-between;
    gap: 12px;
    color: rgba(238,242,255,.70);
    font-size: 14px;
}

@media (max-width: 1080px) {
    .header-inner {
        gap: 16px;
    }

    .desktop-nav > a,
    .nav-item > a {
        padding: 0 9px;
        font-size: 14px;
    }

    .desktop-nav > a::after,
    .nav-item > a::after {
        left: 9px;
        right: 9px;
    }
}

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

    .menu-toggle {
        display: block;
    }

    .header-inner {
        min-height: 70px;
        justify-content: space-between;
        gap: 10px;
    }

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

    .logo img,
    .drawer-logo img,
    .footer-logo img {
        max-height: 44px;
    }

    .header-register {
        min-height: 38px;
        padding: 0 17px;
    }

    .site-main {
        padding-top: 86px;
    }

    .hero-grid,
    .page-hero .hero-panel,
    .grid-2 {
        grid-template-columns: 1fr;
    }

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

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

@media (max-width: 640px) {
    body {
        line-height: 1.68;
    }

    .section,
    .page-hero,
    .banner-slider {
        width: min(100% - 24px, 1200px);
    }

    .section {
        margin-bottom: 34px;
    }

    .section-head {
        display: grid;
        gap: 10px;
    }

    .slider-viewport {
        height: clamp(190px, 55vw, 300px);
    }

    .slider-arrow {
        width: 38px;
        height: 38px;
        font-size: 24px;
    }

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

    .hero-panel,
    .card,
    .zone-card,
    .info-card,
    .review-card,
    .faq-item,
    .notice-box {
        border-radius: 18px;
        padding: 20px;
    }

    .grid-4,
    .grid-3,
    .stats-row {
        grid-template-columns: 1fr;
    }

    .lead {
        font-size: 16px;
    }

    .footer-inner {
        grid-template-columns: 1fr;
        padding-top: 38px;
    }

    .footer-bottom {
        flex-direction: column;
    }
}
