* {
    box-sizing: border-box;
}

:root {
    --red: #C90000;
    --red-dark: #A80000;
    --red-soft: rgba(201, 0, 0, 0.08);
    --ink: #1F2329;
    --muted: #5D6673;
    --light-text: #8A93A0;
    --line: rgba(201, 0, 0, 0.12);
    --soft-bg: #F6F7F9;
    --section-bg: #F1F3F6;
    --shadow: 0 12px 30px rgba(18, 28, 45, 0.08);
    --radius: 18px;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding-top: 74px;
    background: #FFFFFF;
    color: var(--ink);
    font-family: "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
    line-height: 1.75;
    overflow-x: hidden;
}

body.drawer-open {
    overflow: hidden;
}

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

img {
    max-width: 100%;
}

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

button {
    font: inherit;
}

.skip-link {
    position: fixed;
    left: 16px;
    top: -60px;
    z-index: 9999;
    padding: 10px 16px;
    color: #FFFFFF;
    background: var(--red);
    border-radius: 10px;
}

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

.site-header {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(201, 0, 0, 0.08);
}

.header-inner {
    width: min(1440px, calc(100% - 32px));
    min-height: 74px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

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

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

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

.nav-core a {
    position: relative;
    padding: 10px 4px;
    color: var(--ink);
    font-weight: 700;
    border-radius: 8px;
}

.nav-core a:hover,
.nav-core a.active {
    color: var(--red);
}

.nav-core a:hover {
    background: var(--red-soft);
}

.nav-core a.active::after {
    content: "";
    position: absolute;
    left: 4px;
    right: 4px;
    bottom: -10px;
    height: 3px;
    border-radius: 999px;
    background: var(--red);
}

.main-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 10px 24px;
    border: 0;
    border-radius: 999px;
    background: linear-gradient(180deg, #F12B2B 0%, #C90000 55%, #A80000 100%);
    color: #FFFFFF;
    font-weight: 800;
    box-shadow: 0 10px 22px rgba(201, 0, 0, 0.22);
    transition: transform .2s ease, box-shadow .2s ease;
}

.main-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 28px rgba(201, 0, 0, 0.28);
}

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

.menu-toggle {
    display: none;
    width: 42px;
    height: 42px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #FFFFFF;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
}

.menu-toggle span {
    width: 20px;
    height: 2px;
    border-radius: 999px;
    background: var(--ink);
}

.site-layout {
    width: min(1440px, calc(100% - 32px));
    margin: 0 auto;
    display: grid;
    grid-template-columns: 224px minmax(0, 1fr);
    gap: 28px;
}

.desktop-sidebar {
    padding: 24px 0 60px;
}

.side-category {
    position: sticky;
    top: 96px;
    max-height: calc(100vh - 116px);
    overflow-y: auto;
    padding: 18px;
    background: #FFFFFF;
    border: 1px solid rgba(201, 0, 0, 0.10);
    border-radius: 18px;
    box-shadow: var(--shadow);
}

.side-title {
    margin: 0 0 12px;
    color: var(--red);
    font-size: 18px;
    font-weight: 900;
}

.side-category nav {
    display: grid;
    gap: 4px;
}

.side-category a {
    padding: 8px 11px;
    color: var(--ink);
    border-radius: 12px;
    font-size: 14px;
}

.side-category a:hover,
.side-category a.active {
    color: var(--red);
    background: var(--red-soft);
    font-weight: 800;
}

.site-main {
    min-width: 0;
    padding: 24px 0 64px;
}

.banner-slider {
    width: 100%;
    min-height: 260px;
    max-height: 360px;
    aspect-ratio: 16 / 5.2;
    margin: 0 auto 34px;
    position: relative;
    overflow: hidden;
    border-radius: 22px;
    background: #F7F8FA;
    box-shadow: var(--shadow);
}

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

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

.slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #F7F8FA;
}

.banner-caption,
.banner-text,
.slide-title,
.slide-desc,
.slide-content,
.slide-card,
.banner-card {
    display: none !important;
}

.slider-prev,
.slider-next {
    position: absolute;
    top: 50%;
    z-index: 3;
    width: 42px;
    height: 42px;
    margin-top: -21px;
    border: 0;
    border-radius: 50%;
    background: rgba(17, 21, 28, 0.58);
    color: #FFFFFF;
    font-size: 26px;
    line-height: 1;
    cursor: pointer;
}

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

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

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

.slider-dot.active {
    width: 26px;
    border-radius: 999px;
    background: var(--red);
}

.section {
    margin: 0 0 34px;
    padding: 30px;
    border-radius: 22px;
}

.section-white {
    background: #FFFFFF;
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
}

.section-soft {
    background: var(--soft-bg);
    border: 1px solid rgba(31, 35, 41, 0.06);
}

.section-split {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(260px, .85fr);
    gap: 28px;
    align-items: center;
}

.section-split.reverse .section-media {
    order: -1;
}

.eyebrow {
    margin: 0 0 8px;
    color: var(--red);
    font-size: 13px;
    font-weight: 900;
    letter-spacing: .12em;
}

h1,
h2,
h3,
.section-title {
    color: var(--red);
    line-height: 1.35;
}

h1 {
    margin: 0 0 16px;
    font-size: clamp(30px, 4vw, 52px);
}

h2 {
    margin: 0 0 14px;
    font-size: clamp(24px, 3vw, 34px);
}

h3 {
    margin: 0 0 9px;
    font-size: 19px;
}

p {
    margin: 0 0 14px;
}

.lead {
    color: var(--muted);
    font-size: 18px;
}

.text-link {
    color: var(--red);
    font-weight: 800;
}

.button-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 20px;
}

.secondary-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 9px 20px;
    color: var(--red);
    font-weight: 800;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: #FFFFFF;
}

.content-img,
.section-media img {
    display: block;
    width: 100%;
    max-height: 280px;
    object-fit: contain;
    background: #F7F8FA;
    border-radius: 18px;
}

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

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

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

.card,
.zone-card,
.info-card,
.review-card,
.faq-card,
.step-card {
    background: #FFFFFF;
    border: 1px solid rgba(201, 0, 0, 0.10);
    box-shadow: var(--shadow);
    border-radius: 18px;
}

.card,
.info-card,
.review-card,
.step-card {
    padding: 22px;
}

.zone-card {
    overflow: hidden;
}

.zone-card img,
.product-card img {
    display: block;
    width: 100%;
    height: 170px;
    object-fit: contain;
    background: #F7F8FA;
}

.zone-card-body {
    padding: 20px;
}

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

.channel-item {
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: #FFFFFF;
}

.channel-item p {
    min-height: 48px;
    color: var(--muted);
    font-size: 14px;
}

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

.summary-item {
    padding: 20px;
    color: #FFFFFF;
    border-radius: 16px;
    background: linear-gradient(140deg, #C90000, #A80000);
    box-shadow: 0 12px 24px rgba(201, 0, 0, .18);
}

.summary-item h3,
.summary-item p {
    color: #FFFFFF;
}

.summary-item p {
    margin-bottom: 0;
    opacity: .92;
    font-size: 14px;
}

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

.meta-list li,
.check-list li {
    position: relative;
    padding-left: 24px;
    color: var(--muted);
}

.meta-list li::before,
.check-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--red);
    font-weight: 900;
}

.page-hero {
    margin-bottom: 28px;
    padding: 38px;
    display: grid;
    grid-template-columns: minmax(0, 1.18fr) minmax(260px, .82fr);
    gap: 30px;
    align-items: center;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: linear-gradient(135deg, #FFFFFF 0%, #F7F8FA 100%);
    box-shadow: var(--shadow);
}

.page-hero.no-image {
    grid-template-columns: 1fr;
}

.page-hero img {
    width: 100%;
    max-height: 260px;
    object-fit: contain;
    border-radius: 18px;
    background: #FFFFFF;
}

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

.step-card::before {
    counter-increment: step;
    content: counter(step, decimal-leading-zero);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    margin-bottom: 12px;
    color: #FFFFFF;
    font-weight: 900;
    border-radius: 50%;
    background: var(--red);
}

.review-card p {
    color: var(--muted);
}

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

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

.faq-card {
    padding: 0;
    overflow: hidden;
}

.faq-card summary {
    padding: 18px 22px;
    color: var(--ink);
    font-weight: 800;
    cursor: pointer;
    list-style: none;
}

.faq-card summary::-webkit-details-marker {
    display: none;
}

.faq-card summary::after {
    content: "+";
    float: right;
    color: var(--red);
    font-size: 22px;
}

.faq-card[open] summary::after {
    content: "−";
}

.faq-card p {
    padding: 0 22px 20px;
    color: var(--muted);
}

.notice-band {
    padding: 24px;
    border-left: 5px solid var(--red);
    border-radius: 0 18px 18px 0;
    background: #FFF6F6;
}

.notice-band h2 {
    font-size: 24px;
}

.notice-band p:last-child {
    margin-bottom: 0;
}

.site-footer {
    background: #11151C;
    color: #E7ECF3;
}

.footer-grid,
.footer-notice {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.6fr .7fr .7fr;
    gap: 40px;
    padding: 48px 0 34px;
}

.footer-grid h2 {
    color: #FFFFFF;
    font-size: 18px;
}

.footer-grid a:not(.footer-brand a) {
    display: block;
    margin-bottom: 8px;
    color: #D1D8E1;
}

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

.footer-brand img {
    display: block;
    max-height: 48px;
    width: auto;
    margin-bottom: 18px;
}

.footer-brand p {
    max-width: 560px;
    color: #B9C2CE;
}

.footer-notice {
    padding: 22px 0 30px;
    border-top: 1px solid rgba(255,255,255,.10);
    color: #AAB4C1;
    font-size: 13px;
    text-align: center;
}

.footer-notice p:last-child {
    margin-bottom: 0;
}

.drawer-mask,
.mobile-drawer,
.mobile-bottom-nav {
    display: none;
}

@media (max-width: 1180px) {
    .site-layout {
        grid-template-columns: 198px minmax(0, 1fr);
        gap: 20px;
    }

    .nav-core {
        gap: 10px;
    }

    .nav-core a {
        font-size: 14px;
    }

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

@media (max-width: 920px) {
    body {
        padding-top: 68px;
        padding-bottom: 72px;
    }

    .header-inner {
        min-height: 68px;
        gap: 10px;
    }

    .menu-toggle {
        display: inline-flex;
        flex: 0 0 42px;
    }

    .nav-core,
    .desktop-sidebar {
        display: none;
    }

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

    .logo img {
        max-height: 44px;
        max-width: 130px;
    }

    .header-register {
        margin-left: auto;
        min-height: 40px;
        padding: 8px 18px;
    }

    .site-layout {
        width: min(100% - 24px, 860px);
        display: block;
    }

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

    .drawer-mask {
        display: block;
        position: fixed;
        inset: 0;
        z-index: 1090;
        background: rgba(17,21,28,.48);
        opacity: 0;
        visibility: hidden;
        transition: opacity .25s ease, visibility .25s ease;
    }

    .mobile-drawer {
        display: block;
        position: fixed;
        inset: 0 auto 0 0;
        z-index: 1100;
        width: 84%;
        max-width: 320px;
        padding: 18px;
        background: #FFFFFF;
        transform: translateX(-102%);
        transition: transform .25s ease;
        overflow-y: auto;
        box-shadow: 20px 0 40px rgba(17,21,28,.18);
    }

    .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;
        padding-bottom: 14px;
        border-bottom: 1px solid var(--line);
    }

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

    .drawer-close {
        width: 40px;
        height: 40px;
        border: 0;
        border-radius: 50%;
        background: var(--soft-bg);
        color: var(--ink);
        font-size: 28px;
        line-height: 1;
    }

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

    .drawer-nav a {
        padding: 11px 13px;
        border-radius: 12px;
        color: var(--ink);
    }

    .drawer-nav a.active,
    .drawer-nav a:hover {
        color: var(--red);
        background: var(--red-soft);
        font-weight: 800;
    }

    .mobile-bottom-nav {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 1020;
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        padding: 7px 8px calc(7px + env(safe-area-inset-bottom));
        background: rgba(255,255,255,.98);
        border-top: 1px solid var(--line);
        box-shadow: 0 -8px 24px rgba(18,28,45,.08);
    }

    .mobile-bottom-nav a {
        display: grid;
        place-items: center;
        gap: 1px;
        color: var(--muted);
        font-size: 12px;
    }

    .mobile-bottom-nav span {
        color: var(--ink);
        font-size: 20px;
        line-height: 1;
    }

    .mobile-bottom-nav a.active,
    .mobile-bottom-nav a.active span {
        color: var(--red);
        font-weight: 800;
    }

    .section-split,
    .page-hero {
        grid-template-columns: 1fr;
    }

    .section-split.reverse .section-media {
        order: 0;
    }

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

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

    .footer-brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 640px) {
    .header-inner {
        width: calc(100% - 20px);
    }

    .header-register {
        padding: 8px 15px;
        font-size: 14px;
    }

    .site-layout {
        width: calc(100% - 20px);
    }

    .banner-slider {
        min-height: 150px;
        max-height: 210px;
        aspect-ratio: 16 / 7.5;
        margin-bottom: 22px;
        border-radius: 16px;
    }

    .slider-prev,
    .slider-next {
        width: 36px;
        height: 36px;
        margin-top: -18px;
        font-size: 22px;
    }

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

    .section,
    .page-hero {
        margin-bottom: 22px;
        padding: 22px 18px;
        border-radius: 18px;
    }

    h1 {
        font-size: 30px;
    }

    h2 {
        font-size: 24px;
    }

    .lead {
        font-size: 16px;
    }

    .card-grid,
    .card-grid.two,
    .card-grid.four,
    .channel-grid,
    .summary-strip,
    .steps,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .channel-item p {
        min-height: 0;
    }

    .zone-card img,
    .product-card img {
        height: 145px;
    }

    .content-img,
    .section-media img,
    .page-hero img {
        max-height: 220px;
    }

    .footer-brand {
        grid-column: auto;
    }

    .footer-grid {
        gap: 22px;
        padding-top: 38px;
    }
}
