* {
    box-sizing: border-box;
}

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

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: #FFFFFF;
    color: var(--ink);
    font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans 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%;
    display: block;
}

button,
input,
textarea,
select {
    font: inherit;
}

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

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

h1 {
    margin-bottom: 20px;
    font-size: clamp(2rem, 4vw, 3.45rem);
}

h2 {
    margin-bottom: 14px;
    font-size: clamp(1.45rem, 2.6vw, 2.15rem);
}

h3 {
    margin-bottom: 10px;
    font-size: 1.12rem;
}

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

.skip-link {
    position: fixed;
    left: 18px;
    top: -80px;
    z-index: 9999;
    padding: 10px 14px;
    background: var(--red);
    color: #fff;
    border-radius: 10px;
    transition: top .2s ease;
}

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

.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% - 40px));
    min-height: 74px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 24px;
}

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

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

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

.nav-core a {
    color: var(--ink);
    background: var(--soft);
    border-radius: 999px;
    padding: 9px 15px;
    line-height: 1.2;
    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: 44px;
    padding: 10px 24px;
    border-radius: 999px;
    background: linear-gradient(180deg, #F12B2B 0%, #C90000 55%, #A80000 100%);
    color: #FFFFFF;
    font-weight: 700;
    border: 0;
    box-shadow: 0 10px 22px rgba(201, 0, 0, .18);
    transition: transform .2s ease, box-shadow .2s ease;
}

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

.header-register {
    white-space: nowrap;
}

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

.mobile-menu-btn span {
    display: block;
    height: 2px;
    margin: 5px 0;
    border-radius: 10px;
    background: var(--ink);
}

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

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

.side-category-title {
    margin: 2px 6px 10px;
    color: var(--subtle);
    font-size: .82rem;
    font-weight: 700;
    letter-spacing: .12em;
}

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

.side-category a {
    color: var(--ink);
    border-radius: 12px;
    padding: 8px 10px;
    font-size: .94rem;
    line-height: 1.35;
}

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

.site-main {
    min-width: 0;
    width: 100%;
}

.section-block,
.section-pad {
    width: min(1180px, 100%);
    margin: 0 auto 34px;
}

.section-block {
    padding: 36px;
    border-radius: 22px;
    background: #fff;
    border: 1px solid var(--soft-line);
    box-shadow: var(--shadow);
}

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

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

.section-heading p {
    margin-bottom: 0;
}

.compact-heading {
    margin-bottom: 18px;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    color: var(--red);
    font-size: .82rem;
    font-weight: 800;
    letter-spacing: .12em;
}

.eyebrow::before {
    content: "";
    width: 18px;
    height: 2px;
    border-radius: 4px;
    background: var(--red);
}

.lead {
    font-size: 1.05rem;
    line-height: 1.9;
}

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

.text-link:hover {
    text-decoration: underline;
}

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

.banner-track {
    display: flex;
    transition: transform .45s ease;
    height: 100%;
}

.banner-slide {
    min-width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #F7F8FA;
}

.banner-slide img {
    width: 100%;
    height: 100%;
    max-height: 360px;
    object-fit: contain;
    background: #F7F8FA;
}

.banner-arrow {
    position: absolute;
    top: 50%;
    width: 42px;
    height: 42px;
    margin-top: -21px;
    border: 1px solid rgba(255,255,255,.65);
    border-radius: 50%;
    background: rgba(17, 21, 28, .45);
    color: #fff;
    cursor: pointer;
    z-index: 2;
}

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

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

.banner-dots button {
    width: 9px;
    height: 9px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(255,255,255,.58);
    cursor: pointer;
}

.banner-dots button.active {
    width: 24px;
    border-radius: 10px;
    background: #fff;
}

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

.home-intro,
.inner-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(320px, .92fr);
    gap: 38px;
    align-items: center;
    padding: 42px;
    border-radius: 24px;
    background: linear-gradient(135deg, #FFFFFF 0%, #F8F9FB 100%);
    border: 1px solid var(--soft-line);
    box-shadow: var(--shadow);
}

.home-intro-media,
.inner-hero-media,
.split-media {
    border-radius: 18px;
    overflow: hidden;
    background: #F7F8FA;
    border: 1px solid var(--soft-line);
}

.home-intro-media img,
.inner-hero-media img,
.split-media img {
    width: 100%;
    height: 280px;
    object-fit: contain;
    background: #F7F8FA;
}

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

.summary-grid,
.feature-grid,
.quick-grid,
.review-grid,
.product-grid,
.category-grid {
    display: grid;
    gap: 18px;
}

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

.summary-card {
    padding: 22px;
    border-radius: 18px;
    background: linear-gradient(150deg, #E31515 0%, #A80000 100%);
    color: #fff;
}

.summary-card strong {
    display: block;
    margin-bottom: 8px;
    font-size: 1.12rem;
}

.summary-card p {
    margin: 0;
    color: rgba(255,255,255,.84);
}

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

.quick-card,
.feature-card,
.category-card,
.product-card,
.info-card,
.zone-card,
.review-card,
.notice-card,
.service-panel {
    background: #FFFFFF;
    border: 1px solid rgba(201, 0, 0, 0.10);
    box-shadow: var(--shadow);
    border-radius: 18px;
}

.quick-card,
.feature-card,
.category-card,
.info-card,
.review-card,
.notice-card,
.service-panel {
    padding: 24px;
}

.quick-card p,
.feature-card p,
.category-card p,
.info-card p,
.review-card p,
.notice-card p,
.service-panel p {
    margin-bottom: 0;
}

.quick-card a,
.category-card a {
    display: inline-flex;
    margin-top: 12px;
    color: var(--red);
    font-weight: 700;
}

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

.feature-index {
    display: inline-block;
    margin-bottom: 12px;
    color: var(--red);
    font-size: .8rem;
    font-weight: 800;
    letter-spacing: .12em;
}

.split-section {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(300px, .95fr);
    gap: 34px;
    align-items: center;
}

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

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

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

.service-panel {
    background: var(--soft);
    box-shadow: none;
}

.service-panel strong {
    display: block;
    margin-bottom: 10px;
    color: var(--red);
    font-size: 1.25rem;
}

.service-panel a {
    display: inline-flex;
    margin-top: 14px;
    color: var(--red);
    font-weight: 700;
}

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

.steps-list li {
    counter-increment: step;
    position: relative;
    min-height: 170px;
    padding: 54px 20px 20px;
    border-radius: 16px;
    background: #fff;
    border: 1px solid var(--soft-line);
}

.steps-list li::before {
    content: counter(step, decimal-leading-zero);
    position: absolute;
    top: 16px;
    left: 20px;
    color: var(--red);
    font-weight: 900;
    letter-spacing: .08em;
}

.steps-list strong,
.steps-list span {
    display: block;
}

.steps-list strong {
    margin-bottom: 8px;
    color: var(--ink);
}

.steps-list span {
    color: var(--muted);
    font-size: .95rem;
}

.two-column-info {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    background: transparent;
    padding: 0;
    box-shadow: none;
    border: 0;
}

.featured-review blockquote {
    margin: 14px 0;
    color: var(--ink);
    font-size: 1.08rem;
}

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

.faq-list details {
    border: 1px solid var(--soft-line);
    border-radius: 14px;
    padding: 0 18px;
    background: #fff;
}

.faq-list summary {
    cursor: pointer;
    padding: 16px 0;
    color: var(--ink);
    font-weight: 700;
}

.faq-list details p {
    padding: 0 0 18px;
    margin: 0;
}

.compliance-strip {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: start;
    gap: 18px;
    background: #FFF7F7;
    border-color: rgba(201, 0, 0, .16);
    box-shadow: none;
}

.compliance-strip strong {
    color: var(--red);
    white-space: nowrap;
}

.compliance-strip p {
    margin: 0;
}

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

.product-card {
    overflow: hidden;
}

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

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

.product-card-body p {
    margin-bottom: 10px;
}

.product-card-body a {
    color: var(--red);
    font-weight: 700;
}

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

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

.media-copy-card {
    border-radius: 18px;
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--soft-line);
    box-shadow: var(--shadow);
}

.media-copy-card img {
    width: 100%;
    height: 190px;
    object-fit: contain;
    background: #F7F8FA;
}

.media-copy-card div {
    padding: 20px;
}

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

.site-footer {
    margin-top: 28px;
    padding: 54px 24px calc(28px + env(safe-area-inset-bottom));
    background: var(--footer);
    color: #E7ECF3;
}

.footer-grid {
    width: min(1180px, 100%);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr repeat(3, 1fr);
    gap: 34px;
}

.footer-brand img {
    width: auto;
    max-width: 170px;
    max-height: 54px;
    margin-bottom: 18px;
}

.site-footer h2 {
    color: #fff;
    font-size: 1rem;
}

.site-footer p,
.site-footer a {
    color: rgba(231, 236, 243, .72);
}

.site-footer a {
    display: block;
    margin: 7px 0;
}

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

.footer-bottom {
    width: min(1180px, 100%);
    margin: 34px auto 0;
    padding-top: 22px;
    border-top: 1px solid rgba(255,255,255,.1);
    display: flex;
    justify-content: space-between;
    gap: 20px;
    color: rgba(231, 236, 243, .58);
    font-size: .9rem;
}

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

@media (max-width: 1180px) {
    .header-inner {
        gap: 14px;
    }

    .nav-core {
        gap: 7px;
    }

    .nav-core a {
        padding: 8px 11px;
        font-size: .92rem;
    }

    .site-layout {
        grid-template-columns: 180px minmax(0, 1fr);
        gap: 20px;
    }

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

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

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

@media (max-width: 980px) {
    .site-layout {
        width: min(100% - 28px, 1180px);
        display: block;
        padding-top: 92px;
    }

    .side-category,
    .nav-core {
        display: none;
    }

    .header-inner {
        width: calc(100% - 28px);
        grid-template-columns: 44px 1fr auto;
        min-height: 68px;
    }

    .mobile-menu-btn {
        display: block;
    }

    .logo {
        justify-content: center;
    }

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

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

    .mobile-drawer {
        display: block;
        position: fixed;
        inset: 0 auto 0 0;
        z-index: 1200;
        width: min(84vw, 320px);
        padding: 16px;
        background: #fff;
        transform: translateX(-104%);
        transition: transform .28s ease;
        overflow-y: auto;
        box-shadow: 18px 0 40px rgba(18, 28, 45, .16);
    }

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

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

    .drawer-open .drawer-overlay {
        opacity: 1;
        visibility: visible;
    }

    .drawer-head {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 16px;
        padding-bottom: 14px;
        border-bottom: 1px solid var(--soft-line);
    }

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

    .drawer-close {
        width: 40px;
        height: 40px;
        border: 1px solid var(--line);
        border-radius: 12px;
        background: #fff;
        color: var(--ink);
        font-size: 1.55rem;
        cursor: pointer;
    }

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

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

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

    .home-intro,
    .inner-hero,
    .split-section {
        grid-template-columns: 1fr;
    }

    .home-intro-media,
    .inner-hero-media {
        order: -1;
    }

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

    .mobile-bottom-nav {
        display: grid;
        position: fixed;
        inset: auto 0 0 0;
        z-index: 1000;
        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(--soft-line);
        box-shadow: 0 -8px 24px rgba(18, 28, 45, .06);
    }

    .mobile-bottom-nav a {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 2px;
        color: var(--muted);
        font-size: .78rem;
        line-height: 1.3;
    }

    .mobile-bottom-nav a span {
        min-width: 28px;
        height: 24px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        color: inherit;
        font-size: .76rem;
        font-weight: 800;
    }

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

    .site-footer {
        padding-bottom: calc(94px + env(safe-area-inset-bottom));
    }
}

@media (max-width: 720px) {
    body {
        line-height: 1.68;
    }

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

    .section-block,
    .section-pad {
        margin-bottom: 20px;
    }

    .section-block,
    .home-intro,
    .inner-hero {
        padding: 24px;
        border-radius: 18px;
    }

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

    .banner-slide img {
        max-height: 210px;
    }

    .banner-arrow {
        width: 36px;
        height: 36px;
        margin-top: -18px;
    }

    .summary-grid,
    .quick-grid,
    .feature-grid,
    .product-grid,
    .category-grid,
    .media-copy-grid,
    .review-grid,
    .two-column-info,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .steps-list {
        grid-template-columns: 1fr;
    }

    .steps-list li {
        min-height: auto;
    }

    .home-intro-media img,
    .inner-hero-media img,
    .split-media img {
        height: 220px;
    }

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

    .media-copy-card img {
        height: 170px;
    }

    .compliance-strip {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .footer-bottom {
        flex-direction: column;
    }
}

@media (max-width: 390px) {
    .header-inner {
        width: calc(100% - 18px);
        gap: 8px;
    }

    .logo img {
        max-width: 118px;
    }

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