* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Microsoft YaHei", "PingFang SC", "Helvetica Neue", Arial, sans-serif;
    background: #050505;
    color: #FFFFFF;
    line-height: 1.7;
    overflow-x: hidden;
}

body.drawer-open {
    overflow: hidden;
}

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

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

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

.site-header {
    position: relative;
    z-index: 50;
    background: linear-gradient(180deg, #151515 0%, #080808 100%);
    border-bottom: 1px solid rgba(213, 5, 5, 0.32);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.32);
}

.mobile-topbar {
    height: 64px;
    display: grid;
    grid-template-columns: 48px 1fr 76px;
    align-items: center;
    gap: 8px;
    padding: 0 14px;
    background: #0F0F10;
}

.menu-toggle {
    width: 44px;
    height: 44px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: #111111;
    border-radius: 14px;
    padding: 10px;
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    height: 2px;
    width: 22px;
    background: #FFFFFF;
    border-radius: 999px;
}

.mobile-logo {
    justify-self: center;
}

.mobile-logo img,
.brand img,
.drawer-logo img,
.footer-brand img {
    height: 36px;
    width: auto;
    object-fit: contain;
}

.top-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 0 16px;
    background: #D50505;
    color: #FFFFFF;
    border-radius: 999px;
    font-weight: 700;
    font-size: 14px;
    box-shadow: 0 10px 24px rgba(213, 5, 5, 0.28);
    transition: background .2s ease, transform .2s ease, box-shadow .2s ease;
}

.top-action:hover {
    background: #B90404;
    transform: translateY(-1px);
    box-shadow: 0 12px 30px rgba(213, 5, 5, 0.36);
}

.desktop-header {
    display: none;
}

.drawer-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
    z-index: 70;
    opacity: 0;
    pointer-events: none;
    transition: opacity .24s ease;
}

.mobile-drawer {
    position: fixed;
    top: 0;
    left: 0;
    width: 84vw;
    max-width: 320px;
    height: 100vh;
    background: #0F0F10;
    z-index: 80;
    transform: translateX(-100%);
    transition: transform .26s ease;
    border-right: 1px solid rgba(213, 5, 5, 0.32);
    box-shadow: 18px 0 42px rgba(0, 0, 0, 0.55);
    overflow-y: auto;
}

.drawer-open .drawer-overlay {
    opacity: 1;
    pointer-events: auto;
}

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

.drawer-head {
    min-height: 74px;
    padding: 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.drawer-close {
    width: 40px;
    height: 40px;
    border: none;
    background: rgba(213, 5, 5, 0.12);
    color: #FFFFFF;
    border-radius: 14px;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
}

.drawer-nav {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 16px;
}

.drawer-nav a {
    padding: 13px 14px;
    color: #D6D6D6;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    font-weight: 600;
}

.drawer-nav a.active,
.drawer-nav a:hover {
    color: #FFFFFF;
    border-color: rgba(213, 5, 5, 0.46);
    background: rgba(213, 5, 5, 0.14);
}

.site-main {
    min-height: 60vh;
}

.section {
    padding: 64px 0;
}

.section-tight {
    padding: 42px 0;
}

.dark-panel {
    background: #0B0B0D;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.section-head {
    margin-bottom: 28px;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 12px;
    color: #FF4A4A;
    background: rgba(213, 5, 5, 0.12);
    border: 1px solid rgba(213, 5, 5, 0.32);
    border-radius: 999px;
    padding: 5px 12px;
    font-size: 13px;
    font-weight: 700;
}

h1,
h2,
h3 {
    margin: 0;
    line-height: 1.25;
}

h1 {
    font-size: clamp(34px, 8vw, 64px);
    letter-spacing: -1px;
}

h2 {
    font-size: clamp(26px, 5vw, 42px);
}

h3 {
    font-size: 20px;
}

.red-text,
.section-title-red {
    color: #FF2A2A;
}

.lead {
    color: #D6D6D6;
    font-size: 17px;
    margin: 18px 0 0;
}

.muted {
    color: #A8A8A8;
}

.main-btn,
.secondary-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 22px;
    border-radius: 999px;
    font-weight: 800;
    transition: background .2s ease, transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.main-btn {
    background: #D50505;
    color: #FFFFFF;
    box-shadow: 0 12px 30px rgba(213, 5, 5, 0.30);
}

.main-btn:hover {
    background: #B90404;
    transform: translateY(-2px);
    box-shadow: 0 16px 36px rgba(213, 5, 5, 0.38);
}

.secondary-btn {
    border: 1px solid rgba(213, 5, 5, 0.55);
    color: #FFFFFF;
    background: rgba(213, 5, 5, 0.08);
}

.secondary-btn:hover {
    border-color: #FF2A2A;
    background: rgba(213, 5, 5, 0.18);
    transform: translateY(-2px);
}

.hero {
    background: linear-gradient(135deg, #050505 0%, #111111 55%, #1A0000 100%);
    padding: 56px 0 64px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    inset: -120px -40px auto auto;
    width: 360px;
    height: 360px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(213,5,5,0.28) 0%, rgba(213,5,5,0) 68%);
    pointer-events: none;
}

.hero-grid {
    position: relative;
    display: grid;
    gap: 32px;
    align-items: center;
}

.hero-copy p {
    color: #D6D6D6;
    font-size: 17px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
}

.tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 22px;
}

.tag-list span,
.status-tag,
.info-tag {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0 10px;
    border-radius: 999px;
    background: rgba(213, 5, 5, 0.12);
    color: #FF4A4A;
    border: 1px solid rgba(213, 5, 5, 0.32);
    font-weight: 700;
    font-size: 13px;
}

.hero-visual {
    position: relative;
    padding: 12px;
    border-radius: 28px;
    background: linear-gradient(145deg, rgba(213,5,5,0.22), rgba(255,255,255,0.04));
    border: 1px solid rgba(213, 5, 5, 0.32);
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.5);
}

.hero-visual img {
    border-radius: 22px;
    width: 100%;
    min-height: 240px;
    object-fit: cover;
}

.float-card {
    position: relative;
    margin-top: 14px;
    background: rgba(17, 17, 17, 0.94);
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 18px;
    padding: 14px;
}

.float-card strong {
    color: #FFFFFF;
}

.float-card p {
    margin: 4px 0 0;
    color: #D6D6D6;
    font-size: 14px;
}

.category-grid,
.card-grid,
.security-grid,
.faq-grid,
.point-grid,
.two-card-grid {
    display: grid;
    gap: 16px;
}

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

.feature-card,
.match-card,
.data-card,
.security-card,
.info-card,
.faq-item,
.step-card,
.contact-card,
.notice-card {
    background: #111111;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 22px;
    padding: 22px;
    transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}

.feature-card:hover,
.match-card:hover,
.data-card:hover,
.security-card:hover,
.info-card:hover,
.step-card:hover,
.contact-card:hover {
    border-color: rgba(213, 5, 5, 0.46);
    transform: translateY(-3px);
    box-shadow: 0 20px 42px rgba(0,0,0,0.38);
}

.feature-card h3,
.match-card h3,
.data-card h3,
.security-card h3,
.info-card h3,
.faq-item h3,
.step-card h3,
.contact-card h3,
.notice-card h3 {
    color: #FFFFFF;
    margin-bottom: 10px;
}

.feature-card p,
.match-card p,
.data-card p,
.security-card p,
.info-card p,
.faq-item p,
.step-card p,
.contact-card p,
.notice-card p {
    color: #D6D6D6;
    margin: 0;
}

.card-link {
    display: inline-flex;
    align-items: center;
    margin-top: 16px;
    color: #FF2A2A;
    font-weight: 800;
}

.card-link:hover {
    color: #FFFFFF;
}

.match-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 14px;
}

.split-section,
.showcase,
.app-section,
.score-layout,
.service-layout,
.inner-hero-grid {
    display: grid;
    gap: 28px;
    align-items: center;
}

.image-frame {
    padding: 10px;
    border-radius: 26px;
    background: linear-gradient(135deg, rgba(213,5,5,0.18), rgba(255,255,255,0.04));
    border: 1px solid rgba(213, 5, 5, 0.32);
}

.image-frame img {
    width: 100%;
    border-radius: 20px;
    min-height: 220px;
    object-fit: cover;
}

.info-list {
    display: grid;
    gap: 12px;
    margin-top: 22px;
}

.info-list li {
    list-style: none;
    color: #D6D6D6;
    padding: 14px 16px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.07);
}

.info-list strong {
    color: #FF2A2A;
}

.score-board {
    display: grid;
    gap: 12px;
    margin-top: 20px;
}

.score-row {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 14px;
    padding: 14px;
    border-radius: 16px;
    background: #111111;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.score-row span {
    color: #A8A8A8;
}

.score-row strong {
    color: #FFFFFF;
}

.score-row em {
    color: #FF2A2A;
    font-style: normal;
    font-weight: 900;
}

.data-mini-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
    margin-top: 22px;
}

.app-highlight {
    background: radial-gradient(circle at 80% 20%, rgba(213,5,5,0.18), rgba(17,17,17,0) 42%), #111111;
}

.service-column {
    display: grid;
    gap: 14px;
}

.responsible-box {
    background: linear-gradient(135deg, rgba(213,5,5,0.16), rgba(17,17,17,0.92));
    border: 1px solid rgba(213,5,5,0.36);
    border-radius: 26px;
    padding: 26px;
}

.responsible-box p {
    color: #D6D6D6;
    margin: 12px 0 0;
}

.cta {
    padding: 58px 0;
    background: linear-gradient(135deg, #0B0B0D 0%, #150000 100%);
    border-top: 1px solid rgba(213,5,5,0.28);
    border-bottom: 1px solid rgba(213,5,5,0.28);
}

.cta-box {
    display: grid;
    gap: 20px;
    align-items: center;
}

.cta-box p {
    color: #D6D6D6;
}

.inner-hero {
    padding: 56px 0 42px;
    background: radial-gradient(circle at 80% 0%, rgba(213,5,5,0.18), transparent 34%), #050505;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.inner-hero p {
    color: #D6D6D6;
    max-width: 820px;
    font-size: 17px;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
    color: #A8A8A8;
    font-size: 14px;
}

.breadcrumb a {
    color: #FF4A4A;
    font-weight: 700;
}

.content-block {
    background: #0B0B0D;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 26px;
    padding: 24px;
    margin-bottom: 18px;
}

.content-block p {
    color: #D6D6D6;
}

.content-block h2 {
    font-size: 28px;
    margin-bottom: 14px;
}

.content-block h3 {
    color: #FF2A2A;
}

.page-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

.page-links a {
    border: 1px solid rgba(213,5,5,0.36);
    background: rgba(213,5,5,0.10);
    color: #FFFFFF;
    border-radius: 999px;
    padding: 8px 13px;
    font-weight: 700;
}

.page-links a:hover {
    background: rgba(213,5,5,0.20);
    border-color: #FF2A2A;
}

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

.step-card {
    position: relative;
    padding-left: 68px;
}

.step-card::before {
    counter-increment: step;
    content: counter(step);
    position: absolute;
    left: 20px;
    top: 22px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #D50505;
    color: #FFFFFF;
    font-weight: 900;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.table-wrap {
    width: 100%;
    overflow-x: auto;
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.08);
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 620px;
    background: #111111;
}

.data-table th,
.data-table td {
    text-align: left;
    padding: 14px 16px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    color: #D6D6D6;
}

.data-table th {
    color: #FFFFFF;
    background: rgba(213,5,5,0.14);
}

.site-footer {
    background: #090909;
    border-top: 1px solid rgba(213, 5, 5, 0.28);
    padding-top: 44px;
}

.footer-grid {
    display: grid;
    gap: 26px;
}

.footer-brand p {
    color: #A8A8A8;
    margin: 14px 0 0;
}

.footer-links {
    display: grid;
    gap: 8px;
    align-content: start;
}

.footer-links h3 {
    color: #FFFFFF;
    font-size: 18px;
    margin-bottom: 4px;
}

.footer-links a {
    color: #D6D6D6;
}

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

.footer-bottom {
    margin-top: 34px;
    padding: 18px 16px;
    background: #050505;
    text-align: center;
    color: #A8A8A8;
    font-size: 14px;
}

@media (min-width: 640px) {
    .category-grid,
    .card-grid,
    .security-grid,
    .faq-grid,
    .point-grid,
    .two-card-grid,
    .data-mini-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .cta-box {
        grid-template-columns: 1fr auto;
    }
}

@media (min-width: 900px) {
    .mobile-topbar {
        display: none;
    }

    .desktop-header {
        height: 78px;
        display: grid;
        grid-template-columns: auto 1fr auto;
        align-items: center;
        gap: 26px;
    }

    .brand img {
        height: 42px;
    }

    .desktop-nav {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 4px;
    }

    .desktop-nav a {
        color: #D6D6D6;
        font-weight: 700;
        padding: 10px 12px;
        border-radius: 999px;
        border: 1px solid transparent;
        transition: color .2s ease, background .2s ease, border-color .2s ease;
    }

    .desktop-nav a.active,
    .desktop-nav a:hover {
        color: #FFFFFF;
        background: rgba(213, 5, 5, 0.14);
        border-color: rgba(213, 5, 5, 0.32);
    }

    .hero {
        padding: 86px 0 90px;
    }

    .hero-grid,
    .split-section,
    .showcase,
    .app-section,
    .score-layout,
    .service-layout,
    .inner-hero-grid {
        grid-template-columns: 1.05fr .95fr;
    }

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

    .category-grid .feature-card:nth-child(1),
    .category-grid .feature-card:nth-child(2),
    .category-grid .feature-card:nth-child(3),
    .category-grid .feature-card:nth-child(4) {
        grid-column: span 2;
        min-height: 230px;
    }

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

    .security-grid,
    .point-grid {
        grid-template-columns: repeat(3, 1fr);
    }

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

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

    .data-mini-grid {
        grid-template-columns: repeat(3, 1fr);
    }

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

    .float-card {
        position: absolute;
        right: 28px;
        bottom: 28px;
        width: 260px;
        margin-top: 0;
        backdrop-filter: blur(8px);
    }
}

@media (min-width: 1120px) {
    .desktop-nav a {
        padding-left: 15px;
        padding-right: 15px;
    }
}

@media (max-width: 380px) {
    .mobile-topbar {
        grid-template-columns: 46px 1fr 68px;
        padding: 0 10px;
    }

    .top-action {
        padding: 0 12px;
        font-size: 13px;
    }

    .feature-card,
    .match-card,
    .data-card,
    .security-card,
    .info-card,
    .faq-item,
    .step-card,
    .contact-card,
    .notice-card {
        padding: 18px;
    }
}
