* {
    box-sizing: border-box;
}

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

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: #ffffff;
    color: var(--text);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
    line-height: 1.72;
    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;
}

.site-header {
    position: fixed;
    z-index: 1000;
    top: 0;
    left: 0;
    width: 100%;
    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% - 40px));
    min-height: 74px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.logo,
.drawer-logo,
.footer-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;
    gap: 10px;
    white-space: nowrap;
    flex-wrap: nowrap;
    min-width: 0;
    margin-left: auto;
}

.nav-core a {
    padding: 9px 15px;
    color: var(--text);
    background: var(--soft);
    border-radius: 999px;
    font-size: 15px;
    font-weight: 650;
    transition: .2s ease;
}

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

.main-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 24px;
    border: 0;
    border-radius: 999px;
    color: #fff;
    background: linear-gradient(180deg, #f12b2b 0%, #c90000 55%, #a80000 100%);
    box-shadow: 0 10px 24px rgba(201, 0, 0, 0.2);
    font-weight: 750;
    letter-spacing: .04em;
    white-space: nowrap;
    transition: transform .2s ease, box-shadow .2s ease;
}

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

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

.mobile-menu-toggle {
    display: none;
    width: 42px;
    height: 42px;
    padding: 9px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fff;
}

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

.site-shell {
    width: min(1440px, calc(100% - 40px));
    margin: 0 auto;
    padding-top: 98px;
    display: grid;
    grid-template-columns: 190px minmax(0, 1fr);
    gap: 28px;
    align-items: start;
}

.side-category {
    position: sticky;
    top: 96px;
    max-height: calc(100vh - 118px);
    overflow-y: auto;
    padding: 14px;
    background: #fff;
    border: 1px solid rgba(201, 0, 0, 0.1);
    border-radius: 18px;
    box-shadow: var(--shadow);
    scrollbar-width: thin;
}

.side-title {
    padding: 6px 10px 12px;
    color: var(--red);
    font-weight: 800;
}

.side-category a {
    display: block;
    padding: 8px 10px;
    color: var(--text);
    border-radius: 12px;
    font-size: 14px;
    transition: .2s ease;
}

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

.page-content {
    min-width: 0;
    padding-bottom: 40px;
}

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

.banner-track {
    position: relative;
    width: 100%;
    height: clamp(260px, 28vw, 360px);
}

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

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

.banner-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-arrow {
    position: absolute;
    z-index: 3;
    top: 50%;
    width: 42px;
    height: 42px;
    transform: translateY(-50%);
    border: 1px solid rgba(255, 255, 255, .7);
    border-radius: 50%;
    background: rgba(17, 21, 28, .46);
    color: #fff;
    font-size: 30px;
    line-height: 1;
    cursor: pointer;
}

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

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

.slider-dot {
    width: 9px;
    height: 9px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, .62);
    cursor: pointer;
}

.slider-dot.active {
    width: 24px;
    border-radius: 999px;
    background: #fff;
}

.section {
    margin: 0 0 30px;
    padding: 30px;
    background: #fff;
    border: 1px solid rgba(201, 0, 0, 0.1);
    border-radius: 22px;
    box-shadow: var(--shadow);
}

.section.soft {
    background: var(--soft);
    box-shadow: none;
    border-color: transparent;
}

.section.dark {
    color: #fff;
    background: #11151c;
    border-color: #11151c;
}

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

.eyebrow {
    display: inline-block;
    margin-bottom: 6px;
    color: var(--red);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .12em;
}

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

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

h2 {
    margin: 0;
    font-size: clamp(23px, 3vw, 32px);
}

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

p {
    margin: 0 0 14px;
    color: var(--muted);
}

.dark p,
.dark h2,
.dark h3 {
    color: #fff;
}

.lead {
    font-size: 17px;
    color: #3e4651;
}

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

.hero-media,
.content-media {
    min-width: 0;
    padding: 10px;
    background: #f7f8fa;
    border-radius: 18px;
    overflow: hidden;
}

.hero-media img,
.content-media img,
.content-img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 290px;
    object-fit: contain;
}

.action-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    margin-top: 20px;
}

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

.summary-band {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1px;
    overflow: hidden;
    margin-bottom: 30px;
    color: #fff;
    background: rgba(255,255,255,.2);
    border-radius: 20px;
    box-shadow: 0 16px 32px rgba(201,0,0,.18);
}

.summary-item {
    padding: 24px;
    background: linear-gradient(145deg, #d70a0a, #a80000);
}

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

.summary-item h3 {
    font-size: 18px;
}

.grid-2,
.grid-3,
.grid-4,
.quick-grid,
.review-grid,
.faq-grid {
    display: grid;
    gap: 18px;
}

.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.quick-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.review-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.faq-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

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

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

.zone-card {
    overflow: hidden;
}

.zone-card img,
.info-card img,
.content-img {
    width: 100%;
    height: auto;
    max-height: 230px;
    object-fit: contain;
    background: #f7f8fa;
}

.zone-body {
    padding: 20px;
}

.product-row {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(210px, 1fr);
    gap: 16px;
    overflow-x: auto;
    padding: 4px 4px 16px;
    scroll-snap-type: x proximity;
}

.product-card {
    overflow: hidden;
    background: #fff;
    border: 1px solid rgba(201, 0, 0, 0.1);
    border-radius: 18px;
    box-shadow: var(--shadow);
    scroll-snap-align: start;
}

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

.product-card .body {
    padding: 18px;
}

.quick-link {
    display: block;
    padding: 20px;
    transition: transform .2s ease, border-color .2s ease;
}

.quick-link:hover {
    transform: translateY(-2px);
    border-color: rgba(201, 0, 0, .28);
}

.quick-link strong {
    display: block;
    margin-bottom: 6px;
    color: var(--red);
    font-size: 17px;
}

.quick-link span {
    color: var(--muted);
    font-size: 14px;
}

.kicker-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    margin-bottom: 12px;
    color: #fff;
    background: var(--red);
    border-radius: 50%;
    font-weight: 800;
}

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

.list-clean li {
    position: relative;
    padding: 9px 0 9px 22px;
    color: var(--muted);
    border-bottom: 1px solid #eceff3;
}

.list-clean li:last-child {
    border-bottom: 0;
}

.list-clean li::before {
    position: absolute;
    left: 0;
    top: 15px;
    width: 8px;
    height: 8px;
    content: '';
    border-radius: 50%;
    background: var(--red);
}

.review-card p {
    font-size: 15px;
}

.review-card strong {
    display: block;
    color: var(--text);
}

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

.faq-item p {
    margin-top: 12px;
}

.notice-box {
    padding: 22px;
    color: #4b5563;
    background: #fff8f8;
    border: 1px solid rgba(201,0,0,.14);
    border-left: 4px solid var(--red);
    border-radius: 14px;
}

.related-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.related-links a {
    padding: 9px 14px;
    color: var(--red);
    background: var(--red-soft);
    border-radius: 999px;
    font-weight: 700;
}

.site-footer {
    color: #e7ecf3;
    background: #11151c;
}

.footer-inner {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
    padding: 48px 0 28px;
    display: grid;
    grid-template-columns: 1.5fr .7fr .7fr;
    gap: 40px;
}

.footer-logo img {
    width: auto;
    max-height: 54px;
}

.footer-brand p {
    max-width: 560px;
    margin-top: 16px;
    color: #bcc5d1;
}

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

.footer-links a {
    display: block;
    padding: 5px 0;
    color: #cbd3dd;
}

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

.footer-notice {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
    padding: 20px 0 30px;
    color: #aeb8c5;
    border-top: 1px solid rgba(255,255,255,.08);
    font-size: 13px;
}

.mobile-bottom-nav {
    display: none;
}

.drawer-overlay {
    position: fixed;
    z-index: 1100;
    inset: 0;
    opacity: 0;
    background: rgba(17, 21, 28, .48);
    transition: opacity .22s ease;
}

.drawer-overlay.show {
    opacity: 1;
}

.mobile-drawer {
    position: fixed;
    z-index: 1200;
    top: 0;
    left: 0;
    width: min(84vw, 320px);
    height: 100vh;
    padding: 18px;
    overflow-y: auto;
    transform: translateX(-102%);
    background: #fff;
    box-shadow: 20px 0 40px rgba(17,21,28,.18);
    transition: transform .25s ease;
}

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

.drawer-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 14px;
    border-bottom: 1px solid #eceff3;
}

.drawer-logo img {
    width: auto;
    max-height: 46px;
}

.drawer-close {
    width: 38px;
    height: 38px;
    border: 0;
    border-radius: 50%;
    color: var(--red);
    background: var(--red-soft);
    font-size: 26px;
}

.drawer-nav {
    padding: 12px 0 30px;
}

.drawer-nav a {
    display: block;
    padding: 11px 12px;
    border-radius: 10px;
}

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

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

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

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

@media (max-width: 980px) {
    .side-category,
    .nav-core {
        display: none;
    }

    .mobile-menu-toggle {
        display: block;
        flex: 0 0 auto;
    }

    .header-inner {
        width: min(100% - 24px, 760px);
        min-height: 66px;
        gap: 12px;
    }

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

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

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

    .site-shell {
        width: min(100% - 24px, 820px);
        padding-top: 86px;
        display: block;
    }

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

    .hero-media {
        order: -1;
    }

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

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

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

    .site-shell {
        width: min(100% - 20px, 560px);
        padding-top: 78px;
    }

    .page-content {
        padding-bottom: 20px;
    }

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

    .banner-track {
        height: clamp(150px, 48vw, 210px);
    }

    .slider-arrow {
        width: 36px;
        height: 36px;
        font-size: 25px;
    }

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

    .section {
        margin-bottom: 20px;
        padding: 22px 18px;
        border-radius: 18px;
    }

    .section-heading {
        display: block;
    }

    h1 {
        font-size: 30px;
    }

    h2 {
        font-size: 24px;
    }

    .summary-band,
    .grid-2,
    .grid-3,
    .grid-4,
    .quick-grid,
    .review-grid,
    .faq-grid {
        grid-template-columns: 1fr;
    }

    .summary-item {
        padding: 20px;
    }

    .hero-media img,
    .content-media img,
    .content-img,
    .zone-card img,
    .info-card img {
        max-height: 210px;
    }

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

    .product-row {
        grid-auto-columns: minmax(190px, 78vw);
    }

    .footer-inner {
        width: min(100% - 30px, 560px);
        grid-template-columns: 1fr;
        gap: 24px;
        padding-top: 36px;
    }

    .footer-notice {
        width: min(100% - 30px, 560px);
        padding-bottom: 24px;
    }

    .mobile-bottom-nav {
        position: fixed;
        z-index: 1000;
        left: 0;
        right: 0;
        bottom: 0;
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        min-height: 60px;
        padding-bottom: env(safe-area-inset-bottom);
        background: #fff;
        border-top: 1px solid #e5e7eb;
        box-shadow: 0 -8px 24px rgba(17,21,28,.08);
    }

    .mobile-bottom-nav a {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 1px;
        color: #68717d;
        font-size: 12px;
    }

    .mobile-bottom-nav a span {
        font-size: 17px;
        line-height: 1;
    }

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