* {
    box-sizing: border-box;
}

:root {
    --bg: #F4FBFF;
    --surface: #FFFFFF;
    --surface-soft: #E8F7FF;
    --primary: #10AEEA;
    --primary-strong: #1688D8;
    --title: #155A9D;
    --text: #24384A;
    --muted: #60758A;
    --border: rgba(16, 174, 234, 0.18);
    --footer: #073A68;
    --footer-text: #EAF8FF;
    --shadow: 0 18px 45px rgba(21, 90, 157, 0.12);
    --radius-lg: 28px;
    --radius-md: 20px;
    --radius-sm: 14px;
    --header-h: 78px;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    overflow-x: hidden;
    background: var(--bg);
    color: var(--text);
    font-family: "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
    line-height: 1.75;
    padding-top: var(--header-h);
}

body.menu-open {
    overflow: hidden;
}

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

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

button,
a {
    -webkit-tap-highlight-color: transparent;
}

button {
    font: inherit;
}

.skip-link {
    position: fixed;
    left: 12px;
    top: -60px;
    z-index: 1200;
    padding: 10px 16px;
    border-radius: 10px;
    background: var(--footer);
    color: #fff;
    transition: top .2s ease;
}

.skip-link:focus {
    top: 12px;
}

.site-header {
    position: fixed;
    inset: 0 0 auto;
    z-index: 1000;
    height: var(--header-h);
    background: rgba(255,255,255,.96);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 8px 24px rgba(21,90,157,.07);
    backdrop-filter: blur(14px);
}

.header-inner {
    width: min(calc(100% - 32px), 1360px);
    height: 100%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: clamp(14px, 2vw, 30px);
    min-width: 0;
}

.brand-logo,
.drawer-logo {
    flex: 0 0 auto;
}

.brand-logo img {
    width: clamp(118px, 9vw, 150px);
    height: 48px;
    object-fit: contain;
}

.desktop-nav {
    flex: 1;
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(7px, .72vw, 14px);
    white-space: nowrap;
}

.desktop-nav a {
    position: relative;
    flex: 0 0 auto;
    padding: 8px 2px;
    color: var(--text);
    font-size: clamp(12px, .86vw, 14px);
    font-weight: 700;
    transition: color .2s ease;
}

.desktop-nav a::after {
    content: "";
    position: absolute;
    left: 50%;
    right: 50%;
    bottom: 2px;
    height: 2px;
    border-radius: 2px;
    background: var(--primary);
    transition: left .2s ease, right .2s ease;
}

.desktop-nav a:hover,
.desktop-nav a.is-active {
    color: var(--primary-strong);
}

.desktop-nav a:hover::after,
.desktop-nav a.is-active::after {
    left: 0;
    right: 0;
}

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

.main-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 10px 22px;
    border: 0;
    border-radius: 999px;
    background: linear-gradient(135deg, #35D7FF 0%, #1688D8 100%);
    box-shadow: 0 10px 24px rgba(22,136,216,.24);
    color: #fff;
    font-weight: 800;
    white-space: nowrap;
    transition: transform .2s ease, box-shadow .2s ease;
}

.main-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(22,136,216,.3);
}

.menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    padding: 10px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: var(--surface);
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    height: 2px;
    margin: 5px 0;
    border-radius: 2px;
    background: var(--title);
}

.drawer-overlay {
    position: fixed;
    inset: 0;
    z-index: 1040;
    background: rgba(7,58,104,.42);
}

.mobile-drawer {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 1050;
    width: min(88vw, 360px);
    height: 100dvh;
    padding: 20px;
    overflow-y: auto;
    background: var(--surface);
    box-shadow: -20px 0 50px rgba(7,58,104,.2);
    transform: translateX(105%);
    transition: transform .25s ease;
}

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

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

.drawer-logo img {
    width: 132px;
    height: 46px;
    object-fit: contain;
}

.drawer-close {
    width: 42px;
    height: 42px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: var(--surface-soft);
    color: var(--title);
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
}

.mobile-nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    padding: 20px 0;
}

.mobile-nav a {
    padding: 11px 12px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: var(--surface-soft);
    color: var(--text);
    font-weight: 700;
    text-align: center;
}

.mobile-nav a.is-active {
    background: linear-gradient(135deg, #35D7FF 0%, #1688D8 100%);
    color: #fff;
}

.drawer-register {
    width: 100%;
}

main {
    min-height: 70vh;
}

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

.content-section {
    padding: clamp(46px, 6vw, 82px) 0;
}

.content-section.alt {
    width: 100%;
    max-width: none;
    padding-inline: max(16px, calc((100% - 1240px) / 2));
    background: var(--surface-soft);
}

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

.section-heading.center {
    margin-right: auto;
    margin-left: auto;
    text-align: center;
}

.eyebrow {
    margin: 0 0 8px;
    color: var(--primary-strong);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .16em;
    text-transform: uppercase;
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1,
h2,
h3 {
    color: var(--title);
    line-height: 1.3;
}

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

h2 {
    margin-bottom: 12px;
    font-size: clamp(26px, 3vw, 40px);
}

h3 {
    margin-bottom: 10px;
    font-size: clamp(18px, 2vw, 23px);
}

p {
    color: var(--muted);
}

.text-link {
    display: inline-flex;
    align-items: center;
    color: var(--primary-strong);
    font-weight: 800;
}

.text-link::after {
    content: "→";
    margin-left: 7px;
    transition: transform .2s ease;
}

.text-link:hover::after {
    transform: translateX(4px);
}

.page-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.02fr) minmax(320px, .98fr);
    gap: clamp(28px, 5vw, 72px);
    align-items: center;
    padding-top: clamp(50px, 7vw, 92px);
    padding-bottom: clamp(42px, 6vw, 78px);
}

.page-hero:not(:has(.page-hero__media)) {
    grid-template-columns: minmax(0, 820px);
}

.page-hero__content {
    min-width: 0;
}

.hero-lead {
    max-width: 720px;
    font-size: clamp(16px, 1.6vw, 20px);
}

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

.page-hero__media {
    margin: 0;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: var(--surface);
    box-shadow: var(--shadow);
}

.page-hero__media img {
    width: 100%;
    max-height: 460px;
    object-fit: contain;
}

.home-carousel-wrap {
    padding-top: 24px;
}

.home-carousel {
    position: relative;
    width: min(calc(100% - 32px), 1360px);
    aspect-ratio: 16 / 6.5;
    min-height: 250px;
    margin: 0 auto;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: var(--surface-soft);
    box-shadow: var(--shadow);
}

.carousel-track,
.carousel-slide {
    position: absolute;
    inset: 0;
}

.carousel-slide {
    margin: 0;
    opacity: 0;
    pointer-events: none;
    transition: opacity .6s ease;
}

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

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.carousel-arrow {
    position: absolute;
    top: 50%;
    z-index: 4;
    width: 46px;
    height: 46px;
    border: 1px solid rgba(255,255,255,.72);
    border-radius: 50%;
    background: rgba(7,58,104,.58);
    color: #fff;
    font-size: 25px;
    line-height: 1;
    cursor: pointer;
    transform: translateY(-50%);
    backdrop-filter: blur(6px);
}

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

.carousel-dots {
    position: absolute;
    left: 50%;
    bottom: 16px;
    z-index: 4;
    display: flex;
    gap: 8px;
    transform: translateX(-50%);
}

.carousel-dot {
    width: 10px;
    height: 10px;
    padding: 0;
    border: 1px solid rgba(255,255,255,.9);
    border-radius: 50%;
    background: rgba(255,255,255,.55);
    cursor: pointer;
}

.carousel-dot.is-active {
    width: 26px;
    border-radius: 999px;
    background: #fff;
}

.home-intro {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, .82fr);
    gap: 30px;
    align-items: center;
}

.home-intro__panel,
.info-card,
.review-card,
.faq-item,
.notice-card,
.stat-card,
.category-card,
.feature-card {
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: var(--surface);
    box-shadow: 0 12px 32px rgba(21,90,157,.08);
}

.home-intro__panel {
    padding: clamp(24px, 4vw, 42px);
}

.home-intro__media {
    margin: 0;
    padding: 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: var(--surface);
    box-shadow: var(--shadow);
}

.home-intro__media img {
    width: 100%;
    max-height: 420px;
    object-fit: contain;
}

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

.category-card,
.info-card,
.feature-card,
.notice-card,
.stat-card {
    padding: 24px;
}

.category-card {
    display: flex;
    min-height: 240px;
    flex-direction: column;
}

.category-card p {
    flex: 1;
}

.content-split {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, .9fr);
    gap: clamp(24px, 4vw, 48px);
    align-items: center;
}

.content-split.reverse .content-copy { order: 2; }
.content-split.reverse .content-media { order: 1; }

.content-media {
    margin: 0;
    min-height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: var(--surface);
    box-shadow: var(--shadow);
}

.content-media img {
    width: 100%;
    max-height: 430px;
    object-fit: contain;
}

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

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

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

.feature-card img,
.info-card img {
    width: 100%;
    height: 190px;
    margin-bottom: 18px;
    object-fit: contain;
    border-radius: 14px;
    background: var(--surface-soft);
}

.tag-list,
.inline-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 20px 0 0;
    padding: 0;
    list-style: none;
}

.tag-list li,
.inline-links a {
    padding: 8px 13px;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: var(--surface-soft);
    color: var(--title);
    font-weight: 700;
}

.steps {
    counter-reset: step;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    padding: 0;
    list-style: none;
}

.steps li {
    position: relative;
    padding: 64px 24px 24px;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: var(--surface);
}

.steps li::before {
    counter-increment: step;
    content: counter(step, decimal-leading-zero);
    position: absolute;
    top: 18px;
    left: 24px;
    color: var(--primary);
    font-size: 26px;
    font-weight: 900;
}

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

.review-card {
    position: relative;
    min-height: 210px;
    padding: 30px 24px 24px;
}

.review-card__mark {
    position: absolute;
    top: 2px;
    right: 18px;
    color: rgba(16,174,234,.2);
    font-size: 72px;
    line-height: 1;
    font-family: Georgia, serif;
}

.review-card strong {
    color: var(--primary-strong);
}

.legal-panel {
    display: grid;
    grid-template-columns: minmax(250px, .7fr) minmax(0, 1.3fr);
    gap: 32px;
    margin-top: 36px;
    margin-bottom: 72px;
    padding: clamp(26px, 4vw, 44px);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, #FFFFFF 0%, #E8F7FF 100%);
    box-shadow: var(--shadow);
}

.legal-panel__content p:last-child {
    margin-bottom: 0;
}

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

.faq-item {
    padding: 22px 24px;
}

.faq-item summary {
    color: var(--title);
    font-weight: 800;
    cursor: pointer;
}

.faq-item p {
    margin: 14px 0 0;
}

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

.list-clean {
    margin: 0;
    padding: 0;
    list-style: none;
}

.list-clean li {
    position: relative;
    padding: 9px 0 9px 24px;
    color: var(--muted);
    border-bottom: 1px dashed var(--border);
}

.list-clean li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-strong);
    font-weight: 900;
}

.cta-band {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-top: 26px;
    padding: 28px;
    border-radius: var(--radius-md);
    background: var(--footer);
}

.cta-band h2,
.cta-band p {
    color: var(--footer-text);
}

.cta-band p {
    margin-bottom: 0;
}

.site-footer {
    background: var(--footer);
    color: var(--footer-text);
}

.footer-inner {
    width: min(calc(100% - 32px), 1240px);
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(260px, .8fr) minmax(0, 1.2fr);
    gap: 60px;
    padding: 56px 0 42px;
}

.footer-brand img {
    width: 150px;
    height: 54px;
    margin-bottom: 18px;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.footer-brand p,
.footer-bottom p {
    color: rgba(234,248,255,.76);
}

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

.footer-links h2 {
    color: #fff;
    font-size: 17px;
}

.footer-links a {
    display: block;
    margin: 8px 0;
    color: rgba(234,248,255,.82);
}

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

.footer-bottom {
    border-top: 1px solid rgba(234,248,255,.14);
    text-align: center;
}

.footer-bottom p {
    width: min(calc(100% - 32px), 1240px);
    margin: 0 auto;
    padding: 20px 0;
}

@media (max-width: 1179px) {
    .desktop-nav { display: none; }
    .header-inner { justify-content: space-between; }
    .menu-toggle { display: block; }
}

@media (max-width: 920px) {
    .page-hero,
    .home-intro,
    .content-split,
    .legal-panel,
    .footer-inner {
        grid-template-columns: 1fr;
    }
    .content-split.reverse .content-copy,
    .content-split.reverse .content-media { order: initial; }
    .category-grid,
    .card-grid.four {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .card-grid,
    .review-grid,
    .steps,
    .notice-strip {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .home-carousel {
        aspect-ratio: 16 / 8;
    }
}

@media (max-width: 640px) {
    :root { --header-h: 68px; }
    body { line-height: 1.68; }
    .header-inner,
    .section-shell,
    .footer-inner,
    .footer-bottom p,
    .home-carousel {
        width: min(calc(100% - 24px), 1240px);
    }
    .brand-logo img { width: 112px; height: 42px; }
    .header-actions .main-btn { min-height: 40px; padding: 8px 16px; }
    .menu-toggle { width: 40px; height: 40px; padding: 8px; }
    .page-hero { padding-top: 38px; }
    .page-hero__media { min-height: 220px; }
    .home-carousel-wrap { padding-top: 14px; }
    .home-carousel { aspect-ratio: 4 / 3; min-height: 220px; border-radius: 18px; }
    .carousel-arrow { width: 40px; height: 40px; }
    .carousel-arrow.prev { left: 10px; }
    .carousel-arrow.next { right: 10px; }
    .category-grid,
    .card-grid,
    .card-grid.two,
    .card-grid.four,
    .review-grid,
    .steps,
    .notice-strip,
    .footer-links {
        grid-template-columns: 1fr;
    }
    .category-card { min-height: 0; }
    .content-media { min-height: 200px; }
    .cta-band { align-items: flex-start; flex-direction: column; }
    .footer-inner { gap: 34px; }
    .mobile-nav { grid-template-columns: 1fr 1fr; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
    }
}
