* {
    box-sizing: border-box;
}

:root {
    --blue: #2980FE;
    --blue-dark: #1768E8;
    --text: #1F2937;
    --muted: #5F6B7A;
    --light: #F5F7FB;
    --line: #E4E9F2;
    --soft-blue: #EEF5FF;
    --gradient: linear-gradient(90deg, #3558F2 0%, #7B4EF1 50%, #B84DDA 100%);
    --radius: 24px;
    --shadow: 0 18px 45px rgba(31, 41, 55, .08);
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
    color: var(--text);
    background: #FFFFFF;
    line-height: 1.75;
    overflow-x: 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: sticky;
    top: 0;
    z-index: 20;
    background: rgba(255, 255, 255, .94);
    border-bottom: 1px solid rgba(228, 233, 242, .9);
    backdrop-filter: blur(16px);
}

.header-inner {
    width: min(1180px, calc(100% - 28px));
    margin: 0 auto;
    min-height: 68px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    color: #122044;
    flex-shrink: 0;
}

.logo-img {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    object-fit: cover;
    box-shadow: 0 6px 18px rgba(41, 128, 254, .18);
}

.brand-text {
    font-size: 18px;
    letter-spacing: .4px;
}

.site-nav {
    position: absolute;
    left: 14px;
    right: 14px;
    top: 68px;
    display: none;
    flex-direction: column;
    gap: 4px;
    padding: 12px;
    background: #FFFFFF;
    border: 1px solid var(--line);
    border-radius: 18px;
    box-shadow: var(--shadow);
}

.site-nav a {
    padding: 11px 12px;
    color: #374151;
    border-radius: 12px;
    font-size: 14px;
}

.site-nav a:hover {
    background: var(--soft-blue);
    color: var(--blue);
}

.nav-toggle {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.nav-toggle-label {
    width: 42px;
    height: 42px;
    border: 1px solid var(--line);
    border-radius: 14px;
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    cursor: pointer;
}

.nav-toggle-label span {
    width: 18px;
    height: 2px;
    background: #1F2937;
    border-radius: 999px;
}

.nav-toggle:checked ~ .site-nav {
    display: flex;
}

.download-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 26px;
    background: var(--blue);
    color: #FFFFFF;
    border-radius: 999px;
    font-weight: 800;
    box-shadow: 0 12px 28px rgba(41, 128, 254, .28);
    transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
}

.download-btn:hover {
    background: var(--blue-dark);
    transform: translateY(-2px);
    box-shadow: 0 16px 34px rgba(23, 104, 232, .32);
}

.vpn-network-hero {
    position: relative;
    overflow: hidden;
    background: var(--gradient);
    color: #FFFFFF;
    padding: 66px 0 44px;
}

.vpn-network-hero::before,
.vpn-network-hero::after {
    content: "";
    position: absolute;
    border-radius: 999px;
    background: rgba(255, 255, 255, .16);
    filter: blur(2px);
}

.vpn-network-hero::before {
    width: 420px;
    height: 420px;
    top: -150px;
    right: -120px;
}

.vpn-network-hero::after {
    width: 260px;
    height: 260px;
    left: -90px;
    bottom: -120px;
}

.hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 34px;
    align-items: center;
}

.eyebrow,
.badge {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    gap: 8px;
    padding: 7px 12px;
    color: var(--blue);
    background: #EEF5FF;
    border: 1px solid #D9E8FF;
    border-radius: 999px;
    font-weight: 800;
    font-size: 13px;
}

.hero-eyebrow {
    background: rgba(255, 255, 255, .14);
    color: #FFFFFF;
    border-color: rgba(255, 255, 255, .24);
}

.hero-title {
    margin: 18px 0 16px;
    font-size: clamp(34px, 8vw, 64px);
    line-height: 1.08;
    letter-spacing: -1px;
}

.hero-lead {
    margin: 0 0 24px;
    color: rgba(255, 255, 255, .88);
    font-size: 17px;
    max-width: 620px;
}

.hero-tags,
.status-tags,
.inline-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

.hero-tags span,
.inline-tags span {
    padding: 7px 12px;
    border-radius: 999px;
    color: #FFFFFF;
    background: rgba(255, 255, 255, .15);
    border: 1px solid rgba(255, 255, 255, .2);
    font-size: 13px;
}

.hero-visual {
    position: relative;
    padding: 18px;
    min-height: 330px;
}

.network-card {
    position: relative;
    background: rgba(255, 255, 255, .18);
    border: 1px solid rgba(255, 255, 255, .24);
    border-radius: 32px;
    padding: 22px;
    box-shadow: 0 28px 70px rgba(20, 28, 70, .2);
    backdrop-filter: blur(16px);
}

.network-card::before {
    content: "";
    position: absolute;
    inset: 18px;
    border-radius: 24px;
    border: 1px dashed rgba(255, 255, 255, .25);
    pointer-events: none;
}

.network-card img {
    position: relative;
    z-index: 1;
    margin: 0 auto;
    border-radius: 24px;
}

.float-badge {
    position: absolute;
    z-index: 2;
    padding: 10px 14px;
    background: rgba(255, 255, 255, .92);
    color: #1F2A44;
    border-radius: 16px;
    font-weight: 800;
    box-shadow: 0 12px 32px rgba(20, 28, 70, .16);
    font-size: 13px;
}

.float-badge.one { top: 6px; left: 8px; }
.float-badge.two { top: 38px; right: 0; }
.float-badge.three { bottom: 44px; left: 0; }
.float-badge.four { bottom: 12px; right: 12px; }

.section {
    padding: 58px 0;
}

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

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

.section-head.center {
    text-align: center;
    max-width: 740px;
    margin-left: auto;
    margin-right: auto;
}

.section-head h2,
.page-hero h1,
.content-block h2,
.basic-page h2 {
    margin: 10px 0 10px;
    line-height: 1.22;
    color: #122044;
}

.section-head h2 {
    font-size: clamp(26px, 5vw, 40px);
}

.section-head p,
.page-summary,
.card p,
.info-card p,
.faq-item p,
.basic-page p,
.article-layout p,
.footer-grid p {
    color: var(--muted);
}

.node-overview {
    margin-top: -26px;
    position: relative;
    z-index: 2;
}

.node-grid,
.card-grid,
.risk-grid,
.faq-grid,
.policy-grid,
.device-grid,
.protocol-grid {
    display: grid;
    gap: 16px;
}

.node-card,
.card,
.info-card,
.risk-card,
.faq-item,
.step-card,
.tip-box,
.side-panel,
.download-panel {
    background: #FFFFFF;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 22px;
    box-shadow: 0 12px 34px rgba(31, 41, 55, .05);
}

.node-card .tag,
.info-card .tag,
.risk-card .tag {
    display: inline-flex;
    padding: 4px 10px;
    border-radius: 999px;
    background: #EEF5FF;
    color: var(--blue);
    font-size: 12px;
    font-weight: 800;
}

.node-card h3,
.card h3,
.info-card h3,
.risk-card h3,
.step-card h3,
.faq-item h3 {
    margin: 12px 0 8px;
    color: #15233F;
    line-height: 1.35;
}

.text-link {
    color: var(--blue);
    font-weight: 800;
}

.split-section {
    display: grid;
    gap: 28px;
    align-items: center;
}

.media-panel {
    position: relative;
    background: linear-gradient(145deg, #F7FAFF, #FFFFFF);
    border: 1px solid var(--line);
    border-radius: 32px;
    padding: 18px;
    box-shadow: var(--shadow);
}

.media-panel img {
    border-radius: 24px;
    margin: 0 auto;
}

.feature-list,
.clean-list,
.check-list {
    list-style: none;
    padding: 0;
    margin: 18px 0 0;
    display: grid;
    gap: 10px;
}

.feature-list li,
.clean-list li,
.check-list li {
    position: relative;
    padding-left: 24px;
    color: #3E4B5F;
}

.feature-list li::before,
.clean-list li::before,
.check-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: .72em;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--blue);
    box-shadow: 0 0 0 4px #E7F1FF;
}

.global-nodes-section {
    background:
        radial-gradient(circle at 20% 20%, rgba(41,128,254,.12), transparent 30%),
        radial-gradient(circle at 80% 40%, rgba(123,78,241,.12), transparent 32%),
        #FFFFFF;
}

.map-panel {
    min-height: 320px;
    position: relative;
    overflow: hidden;
}

.map-panel::before {
    content: "";
    position: absolute;
    inset: 22px;
    background-image: linear-gradient(rgba(41,128,254,.12) 1px, transparent 1px), linear-gradient(90deg, rgba(41,128,254,.12) 1px, transparent 1px);
    background-size: 38px 38px;
    border-radius: 24px;
}

.map-panel img {
    position: relative;
    z-index: 1;
}

.speed-lines {
    display: grid;
    gap: 12px;
    margin-top: 16px;
}

.speed-line {
    display: grid;
    gap: 8px;
    padding: 14px;
    background: #FFFFFF;
    border: 1px solid var(--line);
    border-radius: 18px;
}

.bar {
    height: 8px;
    background: #E7EEF8;
    border-radius: 999px;
    overflow: hidden;
}

.bar span {
    display: block;
    height: 100%;
    background: var(--blue);
    border-radius: inherit;
}

.privacy-protection-section .privacy-panel {
    display: grid;
    gap: 14px;
}

.security-panel {
    background: #FFFFFF;
    border: 1px solid #DDE8FA;
    border-radius: 30px;
    padding: 24px;
    box-shadow: var(--shadow);
}

.security-panel img {
    border-radius: 22px;
    margin-bottom: 16px;
}

.panel-row {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
    color: var(--muted);
}

.panel-row:last-child {
    border-bottom: 0;
}

.no-log-policy-section .info-card {
    border-top: 4px solid var(--blue);
}

.device-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: #FFFFFF;
}

.device-icon {
    width: 46px;
    height: 46px;
    border-radius: 15px;
    background: #EEF5FF;
    color: var(--blue);
    display: grid;
    place-items: center;
    font-weight: 900;
}

.tech-panel {
    display: grid;
    gap: 14px;
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: 28px;
    background: linear-gradient(145deg, #FFFFFF, #F7FAFF);
    box-shadow: var(--shadow);
}

.protocol-row {
    display: grid;
    gap: 6px;
    padding: 14px;
    border-radius: 18px;
    background: #FFFFFF;
    border: 1px solid var(--line);
}

.process-steps {
    display: grid;
    gap: 16px;
    counter-reset: steps;
}

.step-card {
    position: relative;
    padding-left: 76px;
    min-height: 118px;
}

.step-card::before {
    counter-increment: steps;
    content: counter(steps, decimal-leading-zero);
    position: absolute;
    left: 22px;
    top: 22px;
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    background: var(--blue);
    color: #FFFFFF;
    font-weight: 900;
}

.risk-card {
    border-left: 4px solid var(--blue);
}

.faq-item {
    box-shadow: none;
}

.cta-section {
    background: var(--gradient);
    color: #FFFFFF;
    text-align: center;
    padding: 64px 0;
}

.cta-section h2 {
    margin: 0 0 10px;
    font-size: clamp(28px, 5vw, 42px);
}

.cta-section p {
    color: rgba(255, 255, 255, .88);
    max-width: 720px;
    margin: 0 auto 24px;
}

.page-hero {
    background: linear-gradient(180deg, #F5F8FF 0%, #FFFFFF 100%);
    padding: 48px 0 26px;
}

.page-hero h1 {
    font-size: clamp(30px, 7vw, 50px);
    max-width: 840px;
}

.page-summary {
    max-width: 820px;
    font-size: 17px;
}

.article-layout {
    width: min(1080px, calc(100% - 32px));
    margin: 0 auto;
    padding: 36px 0 62px;
    display: grid;
    gap: 24px;
}

.article-main {
    display: grid;
    gap: 18px;
}

.content-block {
    background: #FFFFFF;
    border: 1px solid var(--line);
    border-radius: 28px;
    padding: 24px;
    box-shadow: 0 12px 34px rgba(31, 41, 55, .04);
}

.side-panel {
    align-self: start;
    background: #F8FAFF;
}

.side-panel h2,
.side-panel h3 {
    margin-top: 0;
    color: #122044;
}

.basic-page {
    width: min(1080px, calc(100% - 32px));
    margin: 0 auto;
    padding: 48px 0 66px;
}

.basic-grid {
    display: grid;
    gap: 20px;
}

.download-panel {
    text-align: center;
    background: linear-gradient(180deg, #FFFFFF, #F7FAFF);
}

.download-steps {
    display: grid;
    gap: 14px;
    margin: 24px 0;
    text-align: left;
}

.download-step {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: #FFFFFF;
}

.download-step span {
    width: 34px;
    height: 34px;
    border-radius: 12px;
    background: var(--blue);
    color: #FFFFFF;
    display: grid;
    place-items: center;
    font-weight: 900;
    flex: 0 0 auto;
}

.site-footer {
    background: #111827;
    color: rgba(255, 255, 255, .78);
    padding: 42px 0 0;
}

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

.footer-brand {
    color: #FFFFFF;
    font-weight: 900;
    font-size: 22px;
    margin-bottom: 10px;
}

.site-footer h3 {
    color: #FFFFFF;
    margin: 0 0 10px;
}

.site-footer a {
    display: block;
    color: rgba(255, 255, 255, .76);
    margin: 7px 0;
}

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

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

@media (min-width: 640px) {
    .node-grid,
    .policy-grid,
    .risk-grid,
    .faq-grid,
    .card-grid,
    .protocol-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

@media (min-width: 900px) {
    .nav-toggle-label {
        display: none;
    }

    .site-nav {
        position: static;
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 4px;
        padding: 0;
        background: transparent;
        border: 0;
        box-shadow: none;
    }

    .site-nav a {
        padding: 9px 10px;
        font-size: 14px;
        white-space: nowrap;
    }

    .hero-grid,
    .split-section,
    .privacy-protection-section .split-section,
    .article-layout {
        grid-template-columns: minmax(0, 1.05fr) minmax(320px, .95fr);
    }

    .vpn-network-hero {
        padding: 86px 0 64px;
    }

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

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

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

    .footer-grid {
        grid-template-columns: 1.4fr .8fr .8fr;
    }

    .section {
        padding: 78px 0;
    }
}

@media (min-width: 1100px) {
    .site-nav a {
        padding: 9px 13px;
    }

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

@media (max-width: 420px) {
    .container,
    .basic-page,
    .article-layout {
        width: min(100% - 24px, 1120px);
    }

    .download-btn {
        width: 100%;
    }

    .float-badge {
        position: static;
        display: inline-flex;
        margin: 6px 6px 0 0;
    }

    .hero-visual {
        padding: 0;
    }

    .network-card {
        padding: 16px;
    }
}
