:root {
    --primary: #4f46e5;
    --primary-dark: #3730a3;
    --primary-soft: #eef2ff;
    --ink: #0f172a;
    --text: #334155;
    --muted: #64748b;
    --line: #cbd5e1;
    --light: #f8fafc;
    --lighter: #f1f5f9;
    --shadow: 0 16px 40px rgba(79, 70, 229, 0.10);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: #fff;
    color: var(--text);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif;
    line-height: 1.75;
    overflow-x: hidden;
}

body.drawer-open {
    overflow: hidden;
}

a {
    color: var(--primary-dark);
}

img {
    max-width: 100%;
    height: auto;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

button:focus-visible,
a:focus-visible {
    outline: 3px solid rgba(79, 70, 229, .35);
    outline-offset: 3px;
}

.skip-link {
    position: fixed;
    left: 16px;
    top: -100px;
    z-index: 12000;
    padding: 10px 16px;
    color: #fff;
    background: var(--primary-dark);
    border-radius: 10px;
}

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

/* ========== Header ========== */
.site-header {
    position: relative;
    width: 100%;
    z-index: 9999;
    background: rgba(255, 255, 255, .98);
    border-bottom: 1px solid #e2e8f0;
    box-shadow: 0 2px 12px rgba(79, 70, 229, .05);
}

.header-inner {
    max-width: 1240px;
    min-height: 70px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.site-logo {
    display: inline-flex;
    flex: 0 0 auto;
}

.site-logo img {
    display: block;
    max-height: 44px;
    width: auto;
    object-fit: contain;
}

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

.nav-core a {
    color: var(--text);
    text-decoration: none;
    padding: 8px 10px;
    border-radius: 10px;
    font-size: 15px;
}

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

.header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 0 0 auto;
}

.main-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 22px;
    color: #fff;
    background: var(--primary);
    border-radius: 12px;
    text-decoration: none;
    box-shadow: 0 10px 28px rgba(79, 70, 229, .22);
    position: relative;
    z-index: 2;
    pointer-events: auto;
    touch-action: manipulation;
    transition: .2s ease;
    border: 1px solid transparent;
    font-weight: 700;
}

.main-btn:hover {
    color: #fff;
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.secondary-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 20px;
    border: 1px solid var(--primary);
    color: var(--primary-dark);
    background: #fff;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
}

.secondary-btn:hover {
    background: var(--primary-soft);
}

.menu-button {
    width: 44px;
    height: 44px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: #fff;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    cursor: pointer;
    position: relative;
    z-index: 3;
}

.menu-button span {
    width: 19px;
    height: 2px;
    border-radius: 2px;
    background: var(--ink);
    display: block;
}

/* ========== Drawer ========== */
.drawer-overlay {
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: rgba(15, 23, 42, .48);
    opacity: 0;
    transition: opacity .22s ease;
}

.drawer-overlay.is-open {
    opacity: 1;
}

.site-drawer {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 10001;
    width: min(390px, 90vw);
    height: 100dvh;
    padding: 18px 20px 26px;
    background: #fff;
    box-shadow: -20px 0 48px rgba(15, 23, 42, .16);
    transform: translateX(105%);
    transition: transform .25s ease;
    overflow-y: auto;
}

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

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

.drawer-logo img {
    display: block;
    max-height: 42px;
    width: auto;
}

.drawer-close {
    width: 44px;
    height: 44px;
    border: 0;
    background: var(--light);
    color: var(--ink);
    font-size: 30px;
    line-height: 1;
    border-radius: 50%;
    cursor: pointer;
}

.drawer-nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    padding: 20px 0;
}

.drawer-nav a {
    min-height: 44px;
    display: flex;
    align-items: center;
    padding: 9px 12px;
    border-radius: 10px;
    color: var(--text);
    text-decoration: none;
    background: var(--light);
}

.drawer-nav a:hover {
    background: var(--primary-soft);
    color: var(--primary-dark);
}

.drawer-download {
    width: 100%;
}

/* ========== Main ========== */
main {
    min-height: 60vh;
}

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

.section {
    padding: 96px 0;
}

.section-light {
    background: var(--light);
}

.section-soft {
    background: var(--lighter);
}

.section-heading {
    max-width: 760px;
    margin: 0 auto 48px;
    text-align: center;
}

.eyebrow {
    display: inline-block;
    margin-bottom: 10px;
    color: var(--primary-dark);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .08em;
}

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

h1 {
    font-size: clamp(38px, 5vw, 64px);
    letter-spacing: -.03em;
}

h2 {
    font-size: clamp(28px, 3.2vw, 42px);
}

h3 {
    font-size: 21px;
}

p {
    margin: 0 0 1em;
}

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

/* ========== Hero — 居中版式 ========== */
.hero {
    position: relative;
    overflow: hidden;
    padding: 64px 0 80px;
    background: linear-gradient(180deg, #fff 0%, #eef2ff 100%);
}

.hero::before,
.hero::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.hero::before {
    width: 340px;
    height: 340px;
    right: -140px;
    top: -100px;
    background: rgba(79, 70, 229, .09);
}

.hero::after {
    width: 200px;
    height: 200px;
    left: -80px;
    bottom: -80px;
    background: rgba(79, 70, 229, .05);
}

.hero-centered {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 36px;
}

.hero-visual-top {
    display: flex;
    justify-content: center;
    align-items: center;
    min-width: 0;
}

.hero-visual-frame img {
    display: block;
    width: min(100%, 420px);
    object-fit: contain;
    filter: drop-shadow(0 24px 34px rgba(79, 70, 229, .14));
}

.hero-copy-center {
    max-width: 720px;
    margin: 0 auto;
}

.hero-copy-center h1 {
    margin-bottom: 16px;
}

.hero-copy-center .lead {
    font-size: 20px;
    color: var(--text);
    margin-bottom: 16px;
}

.hero-copy-center .sub {
    color: var(--muted);
    font-size: 15px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 24px 0 20px;
    justify-content: center;
}

.hero-links {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    font-size: 14px;
    justify-content: center;
}

.hero-links a {
    color: var(--primary-dark);
    text-decoration: none;
}

.hero-badges {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    margin-top: 22px;
}

.hero-badge {
    padding: 12px 14px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: rgba(255, 255, 255, .88);
    color: var(--text);
    font-size: 14px;
}

/* ========== Info Cards ========== */
.info-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    margin-top: -28px;
    position: relative;
    z-index: 3;
}

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

.info-card,
.category-card,
.review-card,
.faq-card,
.content-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 14px;
    box-shadow: 0 8px 24px rgba(79, 70, 229, .06);
}

.info-card {
    padding: 24px;
}

.info-card strong {
    display: block;
    color: var(--ink);
    font-size: 18px;
    margin-bottom: 7px;
}

.info-card p {
    color: var(--muted);
    font-size: 14px;
    margin: 0;
}

.info-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin-bottom: 14px;
}

/* ========== Bento Grid ========== */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

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

.bento-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 24px;
    box-shadow: 0 6px 20px rgba(79, 70, 229, .05);
    transition: .25s ease;
}

.bento-card:hover {
    border-color: var(--primary);
    transform: translateY(-3px);
}

.bento-card h3 {
    color: var(--primary-dark);
    margin-bottom: 8px;
}

.bento-card p {
    color: var(--muted);
    margin-bottom: 16px;
    font-size: 14px;
}

.bento-card a {
    text-decoration: none;
    font-weight: 700;
}

.bento-large {
    grid-column: span 2;
}

.bento-wide {
    grid-column: span 2;
}

/* ========== Split ========== */
.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 58px;
    align-items: center;
}

.split.reverse .split-media {
    order: 2;
}

.split-media {
    min-width: 0;
}

.split-media img {
    display: block;
    width: 100%;
    max-height: 460px;
    object-fit: contain;
}

.split-copy p {
    color: var(--muted);
}

.media-frame {
    background: var(--light);
    border-radius: 16px;
    padding: 20px;
}

/* ========== Dual Grid ========== */
.dual-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 26px;
}

.content-card {
    padding: 32px;
}

.content-card img {
    width: 100%;
    height: 220px;
    object-fit: contain;
    margin-bottom: 22px;
}

.content-flat {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 28px;
}

/* ========== Reviews ========== */
.review-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.review-card {
    padding: 24px;
}

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

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

.review-quote {
    font-size: 40px;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 8px;
    font-family: Georgia, serif;
}

/* ========== FAQ ========== */
.faq-list {
    display: grid;
    gap: 14px;
}

details.faq-card {
    padding: 0;
    overflow: hidden;
}

details.faq-card summary {
    cursor: pointer;
    padding: 20px 24px;
    list-style: none;
    color: var(--ink);
    font-weight: 700;
    display: flex;
    justify-content: space-between;
    gap: 16px;
}

details.faq-card summary::after {
    content: "+";
    color: var(--primary);
    font-size: 24px;
    line-height: 1;
}

details.faq-card[open] summary::after {
    content: "−";
}

details.faq-card p {
    margin: 0;
    padding: 0 24px 22px;
    color: var(--muted);
}

/* ========== Notice ========== */
.notice {
    border-left: 4px solid var(--primary);
    background: var(--primary-soft);
    padding: 20px 22px;
    border-radius: 0 12px 12px 0;
}

.notice.warning {
    border-left-color: #d97706;
    background: #fffbeb;
}

/* ========== CTA ========== */
.cta-band {
    background: var(--primary);
    color: #fff;
    border-radius: 20px;
    padding: 42px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

.cta-band h2,
.cta-band p {
    color: #fff;
}

.cta-band .secondary-btn {
    border-color: #fff;
    color: #fff;
    background: transparent;
}

.cta-band .secondary-btn:hover {
    background: rgba(255, 255, 255, .12);
}

/* ========== News ========== */
.news-list {
    display: grid;
    gap: 18px;
}

.news-item {
    padding: 26px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fff;
}

.news-meta {
    color: var(--primary-dark);
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.tag {
    display: inline-flex;
    min-height: 28px;
    align-items: center;
    padding: 0 12px;
    border-radius: 999px;
    background: var(--primary-soft);
    color: var(--primary-dark);
    font-size: 13px;
    font-weight: 600;
}

.tag-security {
    background: #fee2e2;
    color: #b91c1c;
}

.tag-network {
    background: #dbeafe;
    color: #1d4ed8;
}

.tag-product {
    background: #dcfce7;
    color: #15803d;
}

/* ========== Footer ========== */
.site-footer {
    background: #3730a3;
    color: #fff;
}

.footer-inner {
    width: min(1160px, calc(100% - 40px));
    margin: 0 auto;
    padding: 62px 0 42px;
    display: grid;
    grid-template-columns: 1.1fr 1.9fr;
    gap: 58px;
}

.footer-brand img {
    display: block;
    max-height: 44px;
    width: auto;
    filter: brightness(0) invert(1);
}

.footer-brand p {
    max-width: 440px;
    margin-top: 18px;
    color: rgba(255, 255, 255, .88);
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

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

.footer-links a {
    display: block;
    color: rgba(255, 255, 255, .88);
    text-decoration: none;
    margin: 7px 0;
}

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

.footer-risk {
    width: min(1160px, calc(100% - 40px));
    margin: 0 auto;
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, .22);
    color: rgba(255, 255, 255, .9);
}

.footer-bottom {
    padding: 20px;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, .16);
    color: rgba(255, 255, 255, .78);
    font-size: 14px;
}

/* ========== 响应式 ========== */
@media (max-width: 1060px) {
    .nav-core {
        display: none;
    }
    .info-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .info-grid-three {
        grid-template-columns: repeat(2, 1fr);
    }
    .bento-grid,
    .bento-alt {
        grid-template-columns: repeat(2, 1fr);
    }
    .bento-large,
    .bento-wide {
        grid-column: span 2;
    }
    .review-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .hero-badges {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .header-inner {
        min-height: 62px;
        padding: 0 14px;
        gap: 10px;
    }
    .site-logo img {
        max-height: 34px;
        max-width: 132px;
    }
    .header-actions {
        gap: 7px;
    }
    .header-download {
        min-height: 44px;
        padding: 0 13px;
        font-size: 14px;
    }
    .menu-button {
        width: 44px;
        height: 44px;
    }
    .drawer-nav {
        grid-template-columns: 1fr;
    }
    .container {
        width: min(100% - 32px, 1160px);
    }
    .section {
        padding: 64px 0;
    }
    .hero {
        padding: 40px 0 52px;
    }
    .hero-centered {
        gap: 24px;
    }
    .hero-visual-frame img {
        max-height: 480px;
    }
    .hero-copy-center {
        text-align: left;
    }
    .hero-copy-center .lead {
        font-size: 18px;
    }
    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }
    .hero-actions a {
        width: 100%;
    }
    .hero-links {
        gap: 12px 18px;
        justify-content: flex-start;
    }
    .hero-badges {
        grid-template-columns: 1fr 1fr;
    }
    .split,
    .dual-grid {
        grid-template-columns: 1fr;
        gap: 34px;
    }
    .split.reverse .split-media {
        order: 0;
    }
    .info-grid,
    .info-grid-three {
        grid-template-columns: 1fr;
        margin-top: 0;
        padding-top: 22px;
    }
    .bento-grid,
    .bento-alt {
        grid-template-columns: 1fr;
        gap: 14px;
    }
    .bento-large,
    .bento-wide {
        grid-column: auto;
    }
    .review-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .content-card {
        padding: 24px;
    }
    .cta-band {
        padding: 30px 24px;
        flex-direction: column;
        align-items: flex-start;
    }
    .footer-inner {
        grid-template-columns: 1fr;
        gap: 34px;
        padding-top: 48px;
    }
    .footer-links {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 420px) {
    .site-logo img {
        max-width: 108px;
    }
    .header-download {
        padding: 0 10px;
        font-size: 13px;
    }
    h1 {
        font-size: 38px;
    }
    .hero-badges {
        grid-template-columns: 1fr;
    }
    .footer-links {
        grid-template-columns: 1fr;
    }
}