:root {
    --red: #c90000;
    --red-dark: #a80000;
    --red-soft: rgba(201, 0, 0, 0.08);
    --ink: #1f2329;
    --muted: #5d6673;
    --light: #f6f7f9;
    --line: rgba(201, 0, 0, 0.12);
    --shadow: 0 12px 30px rgba(18, 28, 45, 0.08);
    --radius: 18px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    background: #ffffff;
    color: var(--ink);
    font-family: "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
    line-height: 1.75;
}
body.drawer-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font: inherit; }

.site-header {
    position: sticky;
    top: 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(1380px, calc(100% - 36px));
    min-height: 74px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}
.logo { flex: 0 0 auto; }
.logo img { max-height: 52px; width: auto; }
.nav-core {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    white-space: nowrap;
    flex-wrap: nowrap;
    margin-left: auto;
}
.nav-core a {
    position: relative;
    padding: 10px 4px;
    color: var(--ink);
    font-weight: 700;
}
.nav-core a:hover,
.nav-core a.active { color: var(--red); }
.nav-core a.active::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    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-radius: 999px;
    background: linear-gradient(180deg, #f12b2b 0%, #c90000 55%, #a80000 100%);
    color: #ffffff;
    font-weight: 800;
    box-shadow: 0 8px 20px rgba(201, 0, 0, 0.22);
}
.main-btn:hover { transform: translateY(-1px); }
.header-register { flex: 0 0 auto; }
.menu-toggle { display: none; }

.page-shell {
    width: min(1380px, calc(100% - 36px));
    margin: 0 auto;
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 30px;
    align-items: start;
}
.side-category {
    position: sticky;
    top: 96px;
    margin-top: 24px;
    max-height: calc(100vh - 120px);
    overflow: auto;
    background: #ffffff;
    border: 1px solid rgba(201, 0, 0, 0.10);
    border-radius: 18px;
    box-shadow: var(--shadow);
    padding: 14px;
}
.side-category-title {
    padding: 8px 10px 12px;
    color: var(--red);
    font-weight: 900;
}
.side-category nav { display: grid; gap: 5px; }
.side-category a {
    padding: 9px 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;
}
.page-content { min-width: 0; padding: 24px 0 72px; }

.banner-slider {
    width: 100%;
    margin: 0 0 34px;
    border-radius: 22px;
    background: #f7f8fa;
    box-shadow: var(--shadow);
    overflow: hidden;
    position: relative;
    min-height: 260px;
    max-height: 360px;
}
.banner-track { position: relative; height: clamp(260px, 28vw, 360px); }
.banner-slide { position: absolute; inset: 0; opacity: 0; pointer-events: none; transition: opacity .55s ease; }
.banner-slide.active { opacity: 1; pointer-events: auto; }
.banner-slide img { width: 100%; height: 100%; object-fit: contain; background: #f7f8fa; }
.banner-prev,
.banner-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 50%;
    background: rgba(17, 21, 28, 0.58);
    color: #ffffff;
    font-size: 28px;
    cursor: pointer;
}
.banner-prev { left: 16px; }
.banner-next { right: 16px; }
.banner-dots {
    position: absolute;
    left: 50%;
    bottom: 14px;
    z-index: 3;
    display: flex;
    gap: 8px;
    transform: translateX(-50%);
}
.banner-dot { width: 9px; height: 9px; padding: 0; border: 0; border-radius: 50%; background: rgba(255,255,255,.65); cursor: pointer; }
.banner-dot.active { width: 24px; border-radius: 999px; background: #ffffff; }
.banner-caption,
.banner-text,
.slide-title,
.slide-desc,
.slide-content,
.slide-card,
.banner-card { display: none !important; }

.page-hero,
.media-section {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(300px, .95fr);
    gap: 38px;
    align-items: center;
    margin-bottom: 34px;
    padding: 34px;
    background: linear-gradient(135deg, #ffffff 0%, #f6f7f9 100%);
    border: 1px solid var(--line);
    border-radius: 24px;
    box-shadow: var(--shadow);
}
.page-hero h1,
.media-section h2,
.section-heading h2,
.compliance-box h2,
.site-footer h2,
h1, h2, h3, .section-title { color: var(--red); }
.page-hero h1 { margin: 8px 0 14px; font-size: clamp(30px, 4vw, 48px); line-height: 1.22; }
.page-hero p,
.media-copy p,
.section-heading p { color: var(--muted); }
.eyebrow {
    display: inline-flex;
    padding: 6px 12px;
    border-radius: 999px;
    background: var(--red-soft);
    color: var(--red);
    font-size: 14px;
    font-weight: 800;
}
.page-hero-media,
.media-visual {
    min-height: 240px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    border-radius: 18px;
    overflow: hidden;
}
.page-hero-media img,
.media-visual img { width: 100%; max-height: 280px; object-fit: contain; }

.section-block { margin: 40px 0; }
.soft-section { padding: 30px; border-radius: 24px; background: var(--light); }
.section-heading { max-width: 780px; margin-bottom: 20px; }
.section-heading h2 { margin: 0 0 8px; font-size: clamp(26px, 3vw, 36px); }
.section-heading p { margin: 0; }
.feature-grid,
.channel-grid,
.product-grid,
.review-grid,
.summary-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}
.summary-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card,
.zone-card,
.info-card,
.review-card,
.product-card,
.channel-card {
    background: #ffffff;
    border: 1px solid rgba(201, 0, 0, 0.10);
    box-shadow: var(--shadow);
    border-radius: 18px;
}
.info-card,
.channel-card,
.review-card { padding: 22px; }
.info-card h3,
.channel-card h3,
.product-card h3 { margin: 8px 0; }
.info-card p,
.channel-card p,
.product-card p,
.review-card p { color: var(--muted); }
.card-index { color: var(--red); font-weight: 900; }
.text-link { color: var(--red); font-weight: 800; }
.text-link:hover { text-decoration: underline; }
.media-section.reverse { grid-template-columns: minmax(300px, .95fr) minmax(0, 1.05fr); }
.media-section.reverse .media-copy { order: 2; }
.media-section.reverse .media-visual { order: 1; }
.media-copy h2 { margin: 0 0 10px; font-size: clamp(26px, 3vw, 36px); }
.product-card { overflow: hidden; }
.product-card img { width: 100%; height: 170px; object-fit: contain; background: #f7f8fa; }
.product-card .card-body { padding: 18px; }
.summary-card { padding: 20px; border-radius: 16px; background: linear-gradient(180deg, #d51414 0%, #b50000 100%); color: #ffffff; }
.summary-card h3 { margin: 0 0 6px; color: #ffffff; }
.summary-card p { margin: 0; color: rgba(255,255,255,.88); }
.review-card { margin: 0; }
.review-card footer { color: var(--red); font-weight: 800; }
.faq-list { display: grid; gap: 12px; }
.faq-list details { border: 1px solid var(--line); border-radius: 14px; background: #ffffff; padding: 0 18px; }
.faq-list summary { cursor: pointer; padding: 16px 0; color: var(--ink); font-weight: 800; }
.faq-list p { margin: 0; padding: 0 0 18px; color: var(--muted); }
.compliance-box {
    margin-top: 40px;
    padding: 28px;
    border-left: 5px solid var(--red);
    border-radius: 16px;
    background: #fff7f7;
}
.compliance-box h2 { margin-top: 0; }
.compliance-box p { margin-bottom: 0; color: var(--muted); }

.site-footer { background: #11151c; color: #e7ecf3; }
.footer-grid {
    width: min(1380px, calc(100% - 36px));
    margin: 0 auto;
    padding: 48px 0 34px;
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
    gap: 30px;
}
.site-footer h2 { margin: 0 0 14px; color: #ffffff; font-size: 18px; }
.site-footer a { display: block; margin: 7px 0; color: #e7ecf3; }
.site-footer p { color: #aeb8c5; }
.footer-brand .logo { display: inline-block; padding: 8px 12px; border-radius: 12px; background: #ffffff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.09); padding: 16px 18px; text-align: center; color: #9ca8b7; }

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

@media (max-width: 1100px) {
    .page-shell { grid-template-columns: 190px minmax(0, 1fr); gap: 20px; }
    .feature-grid,
    .channel-grid,
    .product-grid,
    .review-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .summary-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 920px) {
    body { padding-bottom: 72px; }
    .header-inner { width: min(100% - 24px, 1380px); min-height: 66px; gap: 12px; }
    .nav-core { display: none; }
    .menu-toggle {
        width: 42px;
        height: 42px;
        padding: 9px;
        display: grid;
        align-content: center;
        gap: 5px;
        border: 1px solid var(--line);
        border-radius: 12px;
        background: #ffffff;
    }
    .menu-toggle span { display: block; height: 2px; border-radius: 999px; background: var(--ink); }
    .header-inner .logo { position: absolute; left: 50%; transform: translateX(-50%); }
    .header-inner .logo img { max-height: 44px; }
    .header-register { min-height: 40px; padding: 8px 18px; margin-left: auto; }
    .page-shell { width: min(100% - 24px, 1380px); display: block; }
    .side-category { display: none; }
    .page-content { padding-top: 18px; }

    .drawer-overlay {
        display: block;
        position: fixed;
        inset: 0;
        z-index: 1200;
        background: rgba(17, 21, 28, .52);
        opacity: 0;
        pointer-events: none;
        transition: opacity .25s ease;
    }
    .mobile-drawer {
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        bottom: 0;
        z-index: 1300;
        width: 84vw;
        max-width: 320px;
        background: #ffffff;
        transform: translateX(-100%);
        transition: transform .28s ease;
        overflow-y: auto;
        box-shadow: 20px 0 45px rgba(17,21,28,.18);
    }
    .drawer-open .drawer-overlay { opacity: 1; pointer-events: auto; }
    .drawer-open .mobile-drawer { transform: translateX(0); }
    .drawer-head { position: sticky; top: 0; display: flex; align-items: center; justify-content: space-between; padding: 14px; background: #ffffff; border-bottom: 1px solid var(--line); }
    .drawer-head .logo img { max-height: 44px; }
    .drawer-close { width: 38px; height: 38px; border: 0; border-radius: 10px; background: var(--light); color: var(--ink); font-size: 26px; }
    .drawer-nav { display: grid; padding: 12px; }
    .drawer-nav a { padding: 11px 12px; border-radius: 10px; }
    .drawer-nav a.active { color: var(--red); background: var(--red-soft); font-weight: 800; }

    .mobile-bottom-nav {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 1100;
        height: 64px;
        padding-bottom: env(safe-area-inset-bottom);
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        background: rgba(255,255,255,.98);
        border-top: 1px solid var(--line);
        box-shadow: 0 -8px 20px rgba(18,28,45,.08);
    }
    .mobile-bottom-nav a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; color: var(--muted); font-size: 12px; }
    .mobile-bottom-nav a span { font-size: 18px; line-height: 1; }
    .mobile-bottom-nav a.active { color: var(--red); font-weight: 800; }

    .page-hero,
    .media-section,
    .media-section.reverse { grid-template-columns: 1fr; padding: 24px; gap: 22px; }
    .media-section.reverse .media-copy,
    .media-section.reverse .media-visual { order: initial; }
    .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 620px) {
    .banner-slider { min-height: 150px; max-height: 210px; border-radius: 16px; }
    .banner-track { height: clamp(150px, 48vw, 210px); }
    .banner-prev,
    .banner-next { width: 34px; height: 34px; font-size: 22px; }
    .banner-prev { left: 10px; }
    .banner-next { right: 10px; }
    .page-hero h1 { font-size: 30px; }
    .feature-grid,
    .channel-grid,
    .product-grid,
    .review-grid,
    .summary-grid { grid-template-columns: 1fr; }
    .soft-section { padding: 20px; }
    .page-hero-media,
    .media-visual { min-height: 180px; }
    .page-hero-media img,
    .media-visual img { max-height: 220px; }
    .product-card img { height: 145px; }
    .footer-grid { grid-template-columns: 1fr; }
}
