:root {
    --bg: #EAF2FB;
    --surface: #FFFFFF;
    --surface-soft: #F4F8FF;
    --surface-blue: #EDF5FF;
    --surface-deep: #E1ECF8;
    --primary: #2FA8F7;
    --primary-bright: #45C7FF;
    --primary-dark: #137CD8;
    --heading: #137CD8;
    --text: #24364F;
    --muted: #5D718A;
    --footer: #102B46;
    --footer-text: #EAF6FF;
    --border: rgba(19, 124, 216, 0.14);
    --shadow: 0 20px 50px rgba(44, 102, 158, 0.13);
    --shadow-soft: 0 10px 28px rgba(52, 103, 150, 0.10);
    --radius-lg: 28px;
    --radius-md: 20px;
    --radius-sm: 14px;
    --header-height: 76px;
}

* { 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", "Hiragino Sans GB", "Microsoft YaHei", Arial, sans-serif;
    line-height: 1.75;
    overflow-x: hidden;
}
body.drawer-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }

.skip-link {
    position: fixed;
    left: 16px;
    top: -100px;
    z-index: 9999;
    padding: 10px 16px;
    border-radius: 10px;
    background: var(--primary-dark);
    color: #fff;
}
.skip-link:focus { top: 12px; }

.container { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.container-wide { width: min(1320px, calc(100% - 36px)); margin: 0 auto; }
.site-main { padding-top: calc(var(--header-height) + 62px); }

.site-header {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 1000;
    height: var(--header-height);
    background: rgba(255, 255, 255, 0.90);
    border-bottom: 1px solid rgba(19, 124, 216, 0.10);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}
.desktop-header {
    height: 100%;
    display: grid;
    grid-template-columns: 210px 1fr 112px;
    align-items: center;
    gap: 24px;
}
.brand-logo img, .mobile-logo img, .drawer-logo img { width: auto; object-fit: contain; }
.brand-logo img { max-width: 176px; max-height: 48px; }
.core-nav { display: flex; justify-content: center; gap: 8px; white-space: nowrap; }
.nav-link {
    position: relative;
    padding: 12px 16px;
    border-radius: 999px;
    color: var(--text);
    font-weight: 700;
    transition: .2s ease;
}
.nav-link::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 5px;
    width: 0;
    height: 3px;
    border-radius: 4px;
    background: var(--primary-dark);
    transform: translateX(-50%);
    transition: .2s ease;
}
.nav-link:hover, .nav-link.is-active { color: var(--primary-dark); background: var(--surface-blue); }
.nav-link:hover::after, .nav-link.is-active::after { width: 24px; }

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 22px;
    border: 0;
    border-radius: 999px;
    font-weight: 800;
    transition: transform .2s ease, box-shadow .2s ease;
}
.button:hover { transform: translateY(-2px); }
.button-primary {
    color: #fff;
    background: linear-gradient(135deg, #45C7FF 0%, #2FA8F7 48%, #137CD8 100%);
    box-shadow: 0 10px 24px rgba(47, 168, 247, 0.30);
}
.header-register { justify-self: end; min-width: 94px; }
.mobile-header { display: none; }

.channel-bar-wrap {
    position: fixed;
    top: var(--header-height);
    inset-inline: 0;
    z-index: 900;
    background: rgba(244, 248, 255, 0.92);
    border-bottom: 1px solid rgba(19, 124, 216, 0.08);
    backdrop-filter: blur(12px);
}
.channel-bar {
    display: flex;
    gap: 8px;
    min-height: 62px;
    align-items: center;
    overflow-x: auto;
    scrollbar-width: none;
    overscroll-behavior-inline: contain;
}
.channel-bar::-webkit-scrollbar { display: none; }
.channel-pill {
    flex: 0 0 auto;
    padding: 7px 13px;
    border-radius: 999px;
    color: var(--muted);
    font-size: 14px;
    font-weight: 700;
    background: rgba(255,255,255,.72);
    border: 1px solid rgba(19,124,216,.08);
    transition: .2s ease;
}
.channel-pill:hover, .channel-pill.is-active { color: #fff; background: var(--primary-dark); border-color: var(--primary-dark); }

.service-float {
    position: fixed;
    right: 18px;
    top: 50%;
    z-index: 850;
    display: grid;
    gap: 8px;
    width: 112px;
    padding: 12px;
    border-radius: 20px;
    background: rgba(255,255,255,.94);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-soft);
    transform: translateY(-50%);
}
.service-float a, .service-float button {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 4px 8px;
    border: 0;
    border-radius: 12px;
    color: var(--primary-dark);
    background: var(--surface-blue);
    font-size: 13px;
    font-weight: 800;
}
.service-float .service-register { color: #fff; background: linear-gradient(135deg, #45C7FF, #137CD8); }

.section { padding: 72px 0; }
.section-tight { padding: 44px 0; }
.section-soft { background: linear-gradient(180deg, rgba(255,255,255,.35), rgba(237,245,255,.74)); }
.section-heading { max-width: 760px; margin-bottom: 28px; }
.section-heading.center { margin-inline: auto; text-align: center; }
.section-heading h1, .section-heading h2 { margin: 0 0 12px; color: var(--heading); line-height: 1.25; }
.section-heading h2 { font-size: clamp(28px, 3.6vw, 42px); }
.section-heading p { margin: 0; color: var(--muted); }
.eyebrow, .card-kicker {
    display: inline-flex;
    margin-bottom: 10px;
    color: var(--primary-dark);
    font-size: 13px;
    font-weight: 900;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.home-carousel-section { padding: 28px 0 50px; }
.carousel-shell {
    position: relative;
    width: min(1320px, calc(100% - 36px));
    margin: 0 auto;
    padding: 12px;
    border-radius: 34px;
    background: #fff;
    box-shadow: var(--shadow);
    overflow: hidden;
}
.carousel-viewport { position: relative; aspect-ratio: 16 / 6.2; border-radius: 24px; overflow: hidden; background: var(--surface-deep); }
.carousel-slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .55s ease; }
.carousel-slide.is-active { opacity: 1; visibility: visible; }
.carousel-slide img { width: 100%; height: 100%; object-fit: contain; background: var(--surface-deep); }
.carousel-arrow {
    position: absolute;
    top: 50%;
    z-index: 4;
    width: 46px;
    height: 46px;
    border: 1px solid rgba(255,255,255,.7);
    border-radius: 50%;
    color: #fff;
    background: rgba(16,43,70,.38);
    font-size: 28px;
    line-height: 1;
    transform: translateY(-50%);
    backdrop-filter: blur(8px);
}
.carousel-prev { left: 28px; }
.carousel-next { right: 28px; }
.carousel-dots { position: absolute; left: 50%; bottom: 24px; z-index: 4; display: flex; gap: 8px; transform: translateX(-50%); }
.carousel-dot { width: 10px; height: 10px; padding: 0; border: 0; border-radius: 50%; background: rgba(255,255,255,.55); }
.carousel-dot.is-active { width: 28px; border-radius: 999px; background: #fff; }

.brand-intro, .split-panel, .page-hero {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    align-items: center;
    gap: 42px;
    padding: 38px;
    border-radius: var(--radius-lg);
    background: #fff;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-soft);
}
.brand-intro__media img, .split-panel__media img, .page-hero__media img {
    width: 100%;
    max-height: 420px;
    object-fit: contain;
    border-radius: 20px;
    background: var(--surface-soft);
}
.brand-intro h1, .brand-intro h2, .split-panel h2, .page-hero h1 {
    margin: 0 0 16px;
    color: var(--heading);
    line-height: 1.22;
}
.brand-intro h1, .page-hero h1 { font-size: clamp(34px, 5vw, 56px); }
.brand-intro p, .split-panel p, .page-hero p { color: var(--muted); }
.hero-links { display: flex; gap: 18px; align-items: center; margin-top: 24px; flex-wrap: wrap; }
.text-link { display: inline-flex; align-items: center; gap: 6px; color: var(--primary-dark); font-weight: 850; }
.text-link::after { content: "→"; transition: transform .2s ease; }
.text-link:hover::after { transform: translateX(4px); }

.quick-grid, .content-grid, .dashboard-grid, .review-grid, .link-grid { display: grid; gap: 20px; }
.quick-grid { grid-template-columns: repeat(3, 1fr); }
.dashboard-grid { grid-template-columns: repeat(4, 1fr); }
.content-grid.columns-2 { grid-template-columns: repeat(2, 1fr); }
.content-grid.columns-3 { grid-template-columns: repeat(3, 1fr); }
.content-grid.columns-4 { grid-template-columns: repeat(4, 1fr); }
.review-grid { grid-template-columns: repeat(3, 1fr); }
.link-grid { grid-template-columns: repeat(4, 1fr); }
.quick-card, .content-card, .dashboard-card, .review-card, .link-card {
    padding: 26px;
    border-radius: var(--radius-md);
    background: #fff;
    border: 1px solid var(--border);
    box-shadow: 0 10px 30px rgba(43, 89, 128, 0.08);
}
.quick-card, .content-card, .link-card { transition: transform .22s ease, box-shadow .22s ease; }
.quick-card:hover, .content-card:hover, .link-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-soft); }
.quick-card h3, .content-card h2, .content-card h3, .dashboard-card h3, .review-card h3, .link-card h3 { margin: 0 0 10px; color: var(--heading); line-height: 1.35; }
.quick-card p, .content-card p, .dashboard-card p, .review-card p, .link-card p { margin: 0 0 14px; color: var(--muted); }
.content-card h2 { font-size: 23px; }

.info-strip {
    padding: 22px 28px;
    border-radius: 20px;
    color: var(--text);
    background: linear-gradient(90deg, #EDF5FF, #FFFFFF, #E1ECF8);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-soft);
}
.info-strip p { margin: 0; }

.media-card {
    display: grid;
    grid-template-columns: 180px 1fr;
    gap: 24px;
    align-items: center;
    padding: 24px;
    border-radius: 22px;
    background: #fff;
    border: 1px solid var(--border);
}
.media-card img { width: 100%; max-height: 150px; object-fit: contain; border-radius: 16px; background: var(--surface-soft); }
.media-card h3 { margin: 0 0 8px; color: var(--heading); }
.media-card p { margin: 0 0 10px; color: var(--muted); }
.media-stack { display: grid; gap: 20px; }

.page-hero {
    width: min(1180px, calc(100% - 40px));
    margin: 34px auto 0;
    min-height: 430px;
}
.page-hero__content { padding: 10px; }
.page-hero__media { min-width: 0; }
.page-section { padding: 66px 0; }
.prose-panel {
    padding: 34px;
    border-radius: 24px;
    background: #fff;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-soft);
}
.prose-panel h2 { margin: 0 0 14px; color: var(--heading); }
.prose-panel h3 { margin-top: 26px; color: var(--heading); }
.prose-panel p { color: var(--muted); }
.prose-panel p:last-child { margin-bottom: 0; }
.check-list { margin: 16px 0 0; padding: 0; list-style: none; }
.check-list li { position: relative; padding-left: 24px; margin: 8px 0; color: var(--muted); }
.check-list li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--primary-dark); font-weight: 900; }

.faq-list { display: grid; gap: 14px; }
.faq-item {
    border-radius: 18px;
    background: #fff;
    border: 1px solid var(--border);
    overflow: hidden;
}
.faq-item summary {
    position: relative;
    padding: 20px 56px 20px 22px;
    color: var(--heading);
    font-weight: 850;
    cursor: pointer;
    list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; position: absolute; right: 22px; top: 50%; font-size: 24px; transform: translateY(-50%); }
.faq-item[open] summary::after { content: "−"; }
.faq-item p { margin: 0; padding: 0 22px 22px; color: var(--muted); }

.notice-box {
    padding: 24px 28px;
    border-left: 5px solid var(--primary-dark);
    border-radius: 16px;
    background: #fff;
    box-shadow: var(--shadow-soft);
}
.notice-box h2, .notice-box h3 { margin-top: 0; color: var(--heading); }
.notice-box p:last-child { margin-bottom: 0; }
.contact-box { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.contact-item { padding: 24px; border-radius: 18px; background: var(--surface-soft); border: 1px solid var(--border); }
.contact-item h3 { color: var(--heading); margin-top: 0; }

.site-footer { margin-top: 72px; padding: 58px 0 24px; color: var(--footer-text); background: var(--footer); }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 40px; }
.footer-brand img { max-width: 180px; max-height: 54px; object-fit: contain; margin-bottom: 18px; filter: brightness(0) invert(1); }
.footer-brand p { max-width: 440px; color: rgba(234,246,255,.78); }
.site-footer h2 { margin: 0 0 14px; font-size: 17px; color: #fff; }
.site-footer section > a { display: block; margin: 8px 0; color: rgba(234,246,255,.76); }
.site-footer section > a:hover { color: #fff; }
.footer-notice { margin-top: 34px; padding-top: 24px; border-top: 1px solid rgba(234,246,255,.16); }
.footer-notice p { margin: 0; color: rgba(234,246,255,.68); font-size: 14px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 24px; padding-top: 18px; border-top: 1px solid rgba(234,246,255,.12); color: rgba(234,246,255,.62); font-size: 14px; }
.mobile-bottom-nav { display: none; }

.mobile-drawer, .drawer-overlay { display: none; }

@media (max-width: 1180px) {
    .desktop-header { grid-template-columns: 180px 1fr 98px; gap: 12px; }
    .nav-link { padding-inline: 11px; font-size: 14px; }
    .service-float { display: none; }
    .quick-grid { grid-template-columns: repeat(2, 1fr); }
    .dashboard-grid, .content-grid.columns-4, .link-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
    :root { --header-height: 66px; }
    .site-main { padding-top: var(--header-height); }
    .desktop-header, .channel-bar-wrap { display: none; }
    .mobile-header {
        height: 100%;
        display: grid;
        grid-template-columns: 72px 1fr 84px;
        align-items: center;
        gap: 10px;
        padding: 0 14px;
    }
    .menu-toggle {
        width: 46px;
        height: 46px;
        padding: 11px;
        border: 0;
        border-radius: 14px;
        background: var(--surface-blue);
    }
    .menu-toggle span { display: block; width: 100%; height: 2px; margin: 5px 0; border-radius: 3px; background: var(--primary-dark); }
    .mobile-logo { justify-self: center; }
    .mobile-logo img { max-width: 146px; max-height: 42px; }
    .mobile-register { min-height: 40px; padding: 0 18px; font-size: 14px; }

    .drawer-overlay {
        display: block;
        position: fixed;
        inset: 0;
        z-index: 1090;
        opacity: 0;
        background: rgba(16, 43, 70, 0.44);
        pointer-events: none;
        transition: opacity .25s ease;
    }
    .drawer-overlay.is-visible { opacity: 1; pointer-events: auto; }
    .mobile-drawer {
        display: block;
        position: fixed;
        inset: 0 auto 0 0;
        z-index: 1100;
        width: min(86vw, 360px);
        padding: 18px;
        background: #fff;
        box-shadow: 22px 0 50px rgba(16,43,70,.22);
        transform: translateX(-102%);
        transition: transform .28s ease;
        overflow-y: auto;
    }
    .mobile-drawer.is-open { transform: translateX(0); }
    .drawer-head { display: flex; align-items: center; justify-content: space-between; padding-bottom: 16px; border-bottom: 1px solid var(--border); }
    .drawer-logo img { max-width: 150px; max-height: 46px; }
    .drawer-close { width: 42px; height: 42px; border: 0; border-radius: 50%; color: var(--primary-dark); background: var(--surface-blue); font-size: 28px; line-height: 1; }
    .drawer-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 18px 0 28px; }
    .drawer-link { padding: 11px 12px; border-radius: 12px; color: var(--muted); background: var(--surface-soft); font-size: 14px; font-weight: 750; }
    .drawer-link.is-active { color: #fff; background: var(--primary-dark); }

    .carousel-viewport { aspect-ratio: 16 / 8.8; }
    .brand-intro, .split-panel, .page-hero { grid-template-columns: 1fr; gap: 28px; }
    .page-hero { min-height: 0; }
    .brand-intro__media, .split-panel__media, .page-hero__media { order: -1; }
    .content-grid.columns-3, .review-grid { grid-template-columns: repeat(2, 1fr); }
    .media-card { grid-template-columns: 150px 1fr; }
    .footer-grid { grid-template-columns: 1.5fr 1fr 1fr; }
    .footer-grid section:last-child { grid-column: 2 / 4; }

    .mobile-bottom-nav {
        position: fixed;
        left: 12px;
        right: 12px;
        bottom: calc(10px + env(safe-area-inset-bottom));
        z-index: 950;
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        padding: 7px;
        border-radius: 18px;
        background: rgba(255,255,255,.94);
        border: 1px solid var(--border);
        box-shadow: 0 14px 34px rgba(16,43,70,.18);
        backdrop-filter: blur(16px);
    }
    .mobile-bottom-nav a { padding: 9px 4px; border-radius: 12px; text-align: center; color: var(--muted); font-size: 13px; font-weight: 800; }
    .mobile-bottom-nav a.is-active { color: #fff; background: var(--primary-dark); }
    .site-footer { padding-bottom: 110px; }
}

@media (max-width: 620px) {
    .container, .container-wide, .page-hero, .carousel-shell { width: min(100% - 24px, 1180px); }
    .section { padding: 52px 0; }
    .section-tight { padding: 34px 0; }
    .home-carousel-section { padding-top: 18px; }
    .carousel-shell { padding: 7px; border-radius: 22px; }
    .carousel-viewport { border-radius: 16px; aspect-ratio: 16 / 10.2; }
    .carousel-arrow { width: 38px; height: 38px; font-size: 22px; }
    .carousel-prev { left: 16px; }
    .carousel-next { right: 16px; }
    .carousel-dots { bottom: 14px; }
    .brand-intro, .split-panel, .page-hero { padding: 22px; border-radius: 22px; }
    .brand-intro h1, .page-hero h1 { font-size: 34px; }
    .quick-grid, .dashboard-grid, .content-grid.columns-2, .content-grid.columns-3, .content-grid.columns-4, .review-grid, .link-grid { grid-template-columns: 1fr; }
    .quick-card, .content-card, .dashboard-card, .review-card, .link-card, .prose-panel { padding: 22px; }
    .media-card { grid-template-columns: 1fr; }
    .media-card img { max-height: 240px; }
    .contact-box { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px 20px; }
    .footer-brand { grid-column: 1 / -1; }
    .footer-grid section:last-child { grid-column: auto; }
    .footer-bottom { flex-direction: column; }
}
