
:root {
    --bg: #F4F5F7;
    --panel: #FFFFFF;
    --soft: #EEF1F5;
    --line: #DDE2EA;
    --red: #D60000;
    --red-dark: #A90000;
    --text: #1D222B;
    --muted: #5B6472;
    --note: #87909E;
    --border: rgba(20, 28, 40, 0.08);
    --red-border: rgba(214, 0, 0, 0.16);
    --shadow: 0 16px 38px rgba(24, 32, 46, 0.08);
    --footer: #11151C;
    --footer-text: #E7ECF3;
    --gradient: linear-gradient(135deg, #FF3030 0%, #D60000 52%, #980000 100%);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.72;
}

body.drawer-open {
    overflow: hidden;
}

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

img {
    max-width: 100%;
    display: block;
}

.container {
    width: min(1180px, calc(100% - 36px));
    margin: 0 auto;
}

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(255,255,255,0.96);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-height: 72px;
}

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

.nav-core {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
    gap: 22px;
    white-space: nowrap;
    flex-wrap: nowrap;
}

.nav-core a {
    color: var(--text);
    font-weight: 700;
    position: relative;
    padding: 9px 8px;
    border-radius: 999px;
}

.nav-core a:hover {
    color: var(--red);
    background: rgba(214,0,0,0.06);
}

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

.nav-core a.active::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -8px;
    width: 22px;
    height: 3px;
    border-radius: 999px;
    background: var(--red);
    transform: translateX(-50%);
}

.mobile-menu-btn {
    display: none;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 999px;
    background: var(--soft);
    padding: 10px;
}

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

.main-btn,
.ghost-btn,
.text-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 10px 20px;
    border-radius: 999px;
    font-weight: 700;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.main-btn {
    background: var(--gradient);
    color: #FFFFFF;
    box-shadow: 0 10px 22px rgba(214,0,0,.22);
}

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

.ghost-btn {
    color: var(--red);
    border: 1px solid var(--red-border);
    background: rgba(214,0,0,0.06);
}

.text-btn {
    color: var(--red);
    padding-left: 0;
    padding-right: 0;
}

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

.channel-bar {
    background: #FFFFFF;
    border-top: 1px solid rgba(20,28,40,0.04);
    border-bottom: 1px solid var(--border);
    overflow-x: auto;
    white-space: nowrap;
    scrollbar-width: none;
}

.channel-bar::-webkit-scrollbar {
    display: none;
}

.channel-inner {
    display: flex;
    gap: 6px;
    align-items: center;
    min-height: 46px;
}

.channel-bar a {
    display: inline-flex;
    align-items: center;
    color: var(--muted);
    padding: 8px 13px;
    border-radius: 999px;
    font-size: 14px;
    line-height: 1;
}

.channel-bar a:hover,
.channel-bar a.active {
    color: var(--red);
    background: rgba(214,0,0,0.08);
}

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

.floating-service {
    position: fixed;
    right: 18px;
    top: 42%;
    z-index: 50;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.floating-service a {
    background: #FFFFFF;
    color: var(--text);
    border: 1px solid var(--border);
    box-shadow: 0 12px 30px rgba(24,32,46,0.08);
    border-radius: 999px;
    padding: 9px 12px;
    min-width: 56px;
    text-align: center;
    font-size: 13px;
}

.floating-service a.register-link {
    background: var(--gradient);
    color: #FFFFFF;
}

.banner-slider {
    max-width: 1180px;
    margin: 24px auto 34px;
    border-radius: 24px;
    background: var(--soft);
    box-shadow: var(--shadow);
    overflow: hidden;
    position: relative;
    height: clamp(260px, 30vw, 360px);
}

.slides,
.slide {
    width: 100%;
    height: 100%;
}

.slide {
    display: none;
}

.slide.active {
    display: block;
}

.banner-slider img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: var(--soft);
}

.slide-prev,
.slide-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 38px;
    height: 38px;
    border: 0;
    border-radius: 999px;
    background: rgba(255,255,255,.88);
    color: var(--red);
    font-size: 26px;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 8px 18px rgba(24,32,46,.1);
}

.slide-prev {
    left: 18px;
}

.slide-next {
    right: 18px;
}

.slide-dots {
    position: absolute;
    bottom: 14px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 8px;
}

.slide-dots button {
    width: 9px;
    height: 9px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: rgba(255,255,255,.75);
    cursor: pointer;
}

.slide-dots button.active {
    width: 26px;
    background: var(--red);
}

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

.section {
    padding: 34px 0;
}

.section.tight {
    padding-top: 18px;
}

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

.kicker {
    display: inline-flex;
    color: var(--red);
    font-weight: 800;
    font-size: 14px;
    letter-spacing: .06em;
}

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

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

h2,
.section-title {
    font-size: clamp(24px, 3vw, 34px);
    margin-bottom: 10px;
}

h3 {
    font-size: 20px;
    margin-bottom: 8px;
}

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

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

.panel {
    background: #FFFFFF;
    border: 1px solid var(--border);
    border-radius: 26px;
    box-shadow: var(--shadow);
    padding: clamp(22px, 3vw, 34px);
}

.hero-intro {
    display: grid;
    grid-template-columns: 1.25fr .75fr;
    gap: 28px;
    align-items: stretch;
}

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

.service-entry {
    display: grid;
    gap: 12px;
}

.service-entry a,
.quick-line a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--soft);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 14px 16px;
    color: var(--text);
    font-weight: 700;
}

.service-entry a span,
.quick-line a span {
    color: var(--red);
}

.news-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.news-item {
    background: #FFFFFF;
    border: 1px solid var(--border);
    border-left: 4px solid var(--red);
    border-radius: 18px;
    padding: 18px;
    box-shadow: 0 10px 26px rgba(24,32,46,0.05);
}

.news-item strong {
    display: block;
    color: var(--text);
    margin-bottom: 6px;
}

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

.card,
.zone-card,
.info-card,
.review-card,
.product-card,
.faq-card {
    background: #FFFFFF;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    border-radius: 20px;
}

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

.card-number {
    display: inline-flex;
    width: 34px;
    height: 34px;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: rgba(214,0,0,.08);
    color: var(--red);
    font-weight: 800;
    margin-bottom: 12px;
}

.story-grid {
    display: grid;
    grid-template-columns: .95fr 1.05fr;
    gap: 24px;
    align-items: center;
}

.story-grid.reverse {
    grid-template-columns: 1.05fr .95fr;
}

.story-media {
    background: var(--soft);
    border-radius: 24px;
    border: 1px solid var(--border);
    min-height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.story-media img {
    width: 100%;
    max-height: 280px;
    object-fit: contain;
}

.story-list {
    display: grid;
    gap: 10px;
    margin-top: 14px;
}

.story-list li,
.clean-list li {
    margin-bottom: 8px;
}

.horizontal-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.zone-card {
    overflow: hidden;
}

.zone-card img {
    width: 100%;
    height: 150px;
    object-fit: contain;
    background: var(--soft);
    padding: 8px;
}

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

.product-matrix {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.product-card {
    overflow: hidden;
}

.product-card img {
    width: 100%;
    height: 160px;
    object-fit: contain;
    background: var(--soft);
    padding: 8px;
}

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

.split-panel {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
    align-items: center;
}

.content-img {
    max-width: 100%;
    max-height: 260px;
    object-fit: contain;
    margin: 0 auto;
}

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

.notice-list div {
    background: var(--soft);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 14px 16px;
}

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

.security-grid .info-card {
    box-shadow: none;
    background: var(--soft);
}

.review-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

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

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

.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.page-hero {
    padding: 42px 0 28px;
}

.page-hero-inner {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 26px;
    align-items: center;
}

.page-hero .hero-image {
    background: var(--soft);
    border: 1px solid var(--border);
    border-radius: 26px;
    min-height: 240px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.page-hero .hero-image img {
    width: 100%;
    max-height: 300px;
    object-fit: contain;
}

.page-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 22px;
    align-items: start;
}

.content-stack {
    display: grid;
    gap: 20px;
}

.side-box {
    position: sticky;
    top: 140px;
    display: grid;
    gap: 16px;
}

.mini-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.mini-tags span,
.mini-tags a {
    display: inline-flex;
    padding: 7px 10px;
    border-radius: 999px;
    background: rgba(214,0,0,.07);
    color: var(--red);
    font-size: 13px;
    font-weight: 700;
}

.steps {
    counter-reset: step;
    display: grid;
    gap: 12px;
}

.steps li {
    list-style: none;
    counter-increment: step;
    background: var(--soft);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 14px 16px 14px 52px;
    position: relative;
}

.steps li::before {
    content: counter(step);
    position: absolute;
    left: 16px;
    top: 16px;
    width: 24px;
    height: 24px;
    border-radius: 999px;
    background: var(--red);
    color: white;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 800;
}

.simple-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}

.simple-grid .info-card {
    box-shadow: none;
}

.app-pair {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.app-pair img {
    width: 100%;
    height: 240px;
    object-fit: contain;
    background: var(--soft);
    border: 1px solid var(--border);
    border-radius: 22px;
    padding: 10px;
}

.responsible-note {
    border-left: 4px solid var(--red);
    background: rgba(214,0,0,.05);
    border-radius: 18px;
    padding: 18px;
    color: var(--muted);
}

.site-footer {
    background: var(--footer);
    color: var(--footer-text);
    margin-top: 42px;
    padding-top: 44px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr .7fr .7fr 1fr;
    gap: 28px;
}

.footer-brand img {
    max-height: 52px;
    width: auto;
    margin-bottom: 14px;
}

.site-footer h3 {
    color: #FFFFFF;
    font-size: 17px;
}

.site-footer a {
    display: block;
    color: #DDE4EF;
    margin: 8px 0;
}

.site-footer p {
    color: #CAD2DD;
    margin-top: 0;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.08);
    margin-top: 30px;
    padding: 18px 0 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    color: #B8C1CE;
    font-size: 14px;
}

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

@media (max-width: 1080px) {
    .horizontal-cards,
    .security-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .news-strip {
        grid-template-columns: repeat(2, 1fr);
    }
    .page-layout {
        grid-template-columns: 1fr;
    }
    .side-box {
        position: static;
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 820px) {
    body {
        padding-bottom: 70px;
    }

    .container {
        width: min(100% - 28px, 1180px);
    }

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

    .header-inner {
        min-height: 68px;
        gap: 10px;
        justify-content: space-between;
    }

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

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

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

    .nav-core {
        display: none;
    }

    .header-register {
        padding: 8px 14px;
        min-height: 38px;
        font-size: 14px;
    }

    .channel-inner {
        width: 100%;
        overflow-x: auto;
        padding: 0 2px;
    }

    .floating-service {
        display: none;
    }

    .banner-slider {
        margin-top: 16px;
        border-radius: 18px;
        height: clamp(150px, 46vw, 210px);
    }

    .slide-prev,
    .slide-next {
        width: 32px;
        height: 32px;
        font-size: 22px;
    }

    .hero-intro,
    .story-grid,
    .story-grid.reverse,
    .split-panel,
    .page-hero-inner {
        grid-template-columns: 1fr;
    }

    .board-grid,
    .product-matrix,
    .review-grid,
    .faq-grid,
    .simple-grid,
    .app-pair,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .horizontal-cards,
    .security-grid,
    .news-strip,
    .side-box {
        grid-template-columns: 1fr;
    }

    .section {
        padding: 24px 0;
    }

    .section-head {
        display: block;
    }

    .story-media,
    .page-hero .hero-image {
        min-height: 160px;
    }

    .story-media img,
    .page-hero .hero-image img,
    .content-img {
        max-height: 210px;
    }

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

    .drawer-mask {
        position: fixed;
        inset: 0;
        z-index: 120;
        background: rgba(16,22,32,.46);
    }

    .drawer-mask.show {
        display: block;
    }

    .mobile-drawer {
        display: block;
        position: fixed;
        z-index: 130;
        left: 0;
        top: 0;
        bottom: 0;
        width: 84vw;
        max-width: 320px;
        background: #FFFFFF;
        transform: translateX(-102%);
        transition: transform .24s ease;
        box-shadow: 18px 0 40px rgba(24,32,46,.18);
        overflow-y: auto;
    }

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

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

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

    .drawer-close {
        border: 0;
        background: var(--soft);
        color: var(--text);
        width: 36px;
        height: 36px;
        border-radius: 999px;
        font-size: 24px;
        line-height: 1;
    }

    .drawer-links {
        display: grid;
        grid-template-columns: 1fr;
        gap: 2px;
        padding: 12px;
    }

    .drawer-links a {
        padding: 12px 14px;
        border-radius: 14px;
        color: var(--text);
        font-weight: 700;
    }

    .drawer-links a:hover {
        background: rgba(214,0,0,.08);
        color: var(--red);
    }

    .mobile-bottom-nav {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 110;
        background: #FFFFFF;
        border-top: 1px solid var(--border);
        box-shadow: 0 -10px 24px rgba(24,32,46,.06);
    }

    .mobile-bottom-nav a {
        display: flex;
        align-items: center;
        justify-content: center;
        min-height: 58px;
        color: var(--muted);
        font-weight: 700;
        font-size: 14px;
    }

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

    .footer-bottom {
        display: block;
    }
}
