* {
    box-sizing: border-box;
}

:root {
    --primary: #2980FE;
    --primary-dark: #1768E8;
    --gradient: linear-gradient(90deg, #3558F2 0%, #7B4EF1 50%, #B84DDA 100%);
    --text: #1F2937;
    --muted: #667085;
    --light: #F5F7FB;
    --line: #E5EAF3;
    --card: #FFFFFF;
    --deep: #111827;
    --radius: 24px;
    --shadow: 0 18px 48px rgba(31, 41, 55, 0.10);
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "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;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(229, 234, 243, 0.9);
}

.header-inner {
    max-width: 1180px;
    margin: 0 auto;
    padding: 12px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.brand, .footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    color: var(--deep);
    letter-spacing: -0.02em;
}

.logo-img, .footer-brand img {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    object-fit: cover;
}

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

.nav-toggle {
    border: 1px solid var(--line);
    background: #fff;
    color: var(--deep);
    border-radius: 12px;
    padding: 8px 12px;
    font-size: 20px;
    line-height: 1;
}

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

.site-nav.open {
    display: flex;
}

.site-nav a {
    padding: 10px 12px;
    border-radius: 12px;
    color: #475467;
    font-size: 15px;
}

.site-nav a:hover, .site-nav a.active {
    color: var(--primary);
    background: #EEF5FF;
}

.section, .page-section {
    padding: 56px 18px;
}

.container {
    max-width: 1180px;
    margin: 0 auto;
}

.narrow-container {
    max-width: 900px;
    margin: 0 auto;
}

.section-eyebrow, .category-badge, .mini-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary);
    background: #EEF5FF;
    border: 1px solid #DCEBFF;
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
}

.section-title, .page-title {
    margin: 14px 0 14px;
    color: var(--deep);
    line-height: 1.18;
    letter-spacing: -0.04em;
}

.section-title {
    font-size: clamp(28px, 4vw, 46px);
}

.page-title {
    font-size: clamp(30px, 5vw, 52px);
}

.section-lead, .page-summary {
    color: var(--muted);
    font-size: 17px;
    max-width: 760px;
}

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

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

.ghost-link, .text-link {
    color: var(--primary);
    font-weight: 700;
}

.text-link:hover, .ghost-link:hover {
    color: var(--primary-dark);
}

.vpn-network-hero {
    position: relative;
    overflow: hidden;
    background: var(--gradient);
    color: #fff;
    padding: 72px 18px 56px;
}

.vpn-network-hero::before, .vpn-network-hero::after {
    content: "";
    position: absolute;
    inset: auto;
    pointer-events: none;
}

.vpn-network-hero::before {
    width: 720px;
    height: 720px;
    right: -320px;
    top: -260px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,255,255,.32), rgba(255,255,255,0) 62%);
}

.vpn-network-hero::after {
    left: 0;
    right: 0;
    bottom: 0;
    height: 160px;
    background-image: radial-gradient(circle at 20% 40%, rgba(255,255,255,.42) 0 2px, transparent 3px), radial-gradient(circle at 74% 22%, rgba(255,255,255,.34) 0 2px, transparent 3px), linear-gradient(135deg, rgba(255,255,255,.18) 1px, transparent 1px);
    background-size: 120px 80px, 160px 90px, 44px 44px;
    opacity: .55;
}

.hero-grid {
    position: relative;
    z-index: 1;
    max-width: 1180px;
    margin: 0 auto;
    display: grid;
    gap: 34px;
    align-items: center;
}

.hero-copy h1 {
    font-size: clamp(38px, 8vw, 70px);
    line-height: 1.06;
    letter-spacing: -0.055em;
    margin: 0 0 18px;
}

.hero-copy p {
    color: rgba(255,255,255,.88);
    font-size: 18px;
    margin: 0 0 24px;
    max-width: 680px;
}

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

.hero-tags span, .status-tags span {
    border: 1px solid rgba(255,255,255,.28);
    background: rgba(255,255,255,.15);
    color: #fff;
    border-radius: 999px;
    padding: 7px 12px;
    font-size: 13px;
    font-weight: 700;
}

.hero-visual {
    position: relative;
    min-height: 320px;
}

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

.hero-card img {
    width: 100%;
    max-height: 430px;
    object-fit: contain;
    border-radius: 24px;
}

.float-label {
    position: absolute;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 12px;
    border-radius: 999px;
    background: rgba(255,255,255,.95);
    color: #243B6B;
    font-size: 13px;
    font-weight: 800;
    box-shadow: 0 12px 24px rgba(23, 34, 69, .16);
}

.float-label::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--primary);
}

.label-one { left: 10px; top: 22px; }
.label-two { right: 8px; top: 86px; }
.label-three { left: 8px; bottom: 82px; }
.label-four { right: 18px; bottom: 22px; }

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

.node-overview-grid {
    display: grid;
    gap: 16px;
}

.node-card, .feature-card, .risk-card, .faq-item, .step-card, .article-card, .detail-card, .policy-card {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 22px;
    padding: 22px;
    box-shadow: 0 12px 34px rgba(31, 41, 55, 0.06);
}

.node-card strong {
    display: inline-flex;
    color: var(--primary);
    background: #EEF5FF;
    border-radius: 999px;
    padding: 5px 10px;
    font-size: 12px;
    margin-bottom: 12px;
}

.node-card h2, .feature-card h3, .risk-card h3, .article-card h2, .detail-card h3, .policy-card h3, .step-card h3 {
    margin: 0 0 8px;
    color: var(--deep);
    line-height: 1.3;
}

.node-card p, .feature-card p, .risk-card p, .article-card p, .detail-card p, .policy-card p, .step-card p {
    color: var(--muted);
    margin: 0 0 12px;
}

.two-column, .feature-split, .privacy-grid, .device-grid, .protocol-grid, .about-grid, .download-grid {
    display: grid;
    gap: 28px;
    align-items: center;
}

.image-panel {
    background: linear-gradient(135deg, #F8FBFF, #EEF4FF);
    border: 1px solid var(--line);
    border-radius: 32px;
    padding: 18px;
    box-shadow: var(--shadow);
}

.image-panel img {
    border-radius: 24px;
    margin: 0 auto;
    max-height: 420px;
    object-fit: contain;
}

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

.feature-list li, .check-list li, .plain-list li {
    position: relative;
    padding-left: 26px;
    color: #475467;
}

.feature-list li::before, .check-list li::before, .plain-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 10px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--primary);
    box-shadow: 0 0 0 5px #EAF3FF;
}

.light-section {
    background: #F6F8FC;
}

.global-nodes-section {
    position: relative;
    overflow: hidden;
    background: #F6F8FC;
}

.map-panel {
    position: relative;
    min-height: 320px;
    border-radius: 32px;
    border: 1px solid #DCE4F2;
    background: radial-gradient(circle at 24% 36%, rgba(41,128,254,.22), transparent 22%), radial-gradient(circle at 78% 62%, rgba(123,78,241,.18), transparent 24%), linear-gradient(135deg, #FFFFFF, #F0F5FF);
    overflow: hidden;
    padding: 20px;
    box-shadow: var(--shadow);
}

.map-panel::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: linear-gradient(90deg, rgba(41,128,254,.10) 1px, transparent 1px), linear-gradient(0deg, rgba(41,128,254,.10) 1px, transparent 1px);
    background-size: 42px 42px;
}

.map-panel img {
    position: relative;
    z-index: 1;
    margin: 0 auto;
    max-height: 360px;
    object-fit: contain;
}

.node-dot {
    position: absolute;
    z-index: 2;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--primary);
    box-shadow: 0 0 0 10px rgba(41,128,254,.16);
}

.dot-a { left: 24%; top: 36%; }
.dot-b { right: 26%; top: 28%; }
.dot-c { left: 48%; bottom: 28%; }

.speed-lines {
    display: grid;
    gap: 12px;
    margin: 20px 0;
}

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

.speed-line span {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    font-weight: 800;
    color: var(--deep);
}

.speed-line i {
    display: block;
    height: 8px;
    border-radius: 999px;
    background: linear-gradient(90deg, #D8E8FF, var(--primary));
    margin-top: 10px;
}

.privacy-panel, .protocol-panel, .safety-panel {
    border-radius: 28px;
    background: #fff;
    border: 1px solid var(--line);
    padding: 24px;
    box-shadow: var(--shadow);
}

.tag-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

.tag-row span {
    color: var(--primary);
    background: #EEF5FF;
    border: 1px solid #DAEAFF;
    border-radius: 999px;
    padding: 7px 11px;
    font-weight: 700;
    font-size: 13px;
}

.policy-grid, .risk-grid, .article-grid, .faq-grid {
    display: grid;
    gap: 16px;
}

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

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

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

.step-number {
    position: absolute;
    left: 20px;
    top: 22px;
    width: 38px;
    height: 38px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    color: #fff;
    font-weight: 900;
}

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

.risk-card em {
    display: block;
    font-style: normal;
    color: var(--primary);
    font-weight: 800;
    margin-top: 8px;
}

.faq-item h3 {
    margin: 0 0 8px;
    font-size: 18px;
}

.faq-item p {
    margin: 0;
    color: var(--muted);
}

.cta-section {
    padding: 64px 18px;
    background: var(--gradient);
    color: #fff;
    text-align: center;
    overflow: hidden;
    position: relative;
}

.cta-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 18% 20%, rgba(255,255,255,.25), transparent 24%), radial-gradient(circle at 82% 60%, rgba(255,255,255,.18), transparent 25%);
}

.cta-section .container {
    position: relative;
    z-index: 1;
}

.cta-section h2 {
    font-size: clamp(28px, 5vw, 44px);
    line-height: 1.2;
    margin: 0 0 12px;
}

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

.page-hero {
    background: linear-gradient(135deg, #F8FBFF, #EEF4FF);
    padding: 56px 18px 42px;
    border-bottom: 1px solid var(--line);
}

.article-layout {
    display: grid;
    gap: 24px;
    align-items: start;
}

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

.article-main p {
    color: #475467;
    margin: 0;
}

.side-panel {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 24px;
    padding: 22px;
    box-shadow: 0 12px 34px rgba(31, 41, 55, 0.06);
}

.side-panel h2, .side-panel h3 {
    margin-top: 0;
    color: var(--deep);
}

.action-row {
    margin-top: 24px;
}

.download-steps {
    counter-reset: downloadstep;
    list-style: none;
    padding: 0;
    margin: 18px 0 0;
    display: grid;
    gap: 14px;
}

.download-steps li {
    position: relative;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 16px 16px 16px 58px;
}

.download-steps li::before {
    counter-increment: downloadstep;
    content: counter(downloadstep);
    position: absolute;
    left: 16px;
    top: 16px;
    width: 28px;
    height: 28px;
    border-radius: 10px;
    background: var(--primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
}

.site-footer {
    background: #101828;
    color: #D0D5DD;
}

.footer-inner {
    max-width: 1180px;
    margin: 0 auto;
    padding: 48px 18px 28px;
    display: grid;
    gap: 26px;
}

.footer-brand {
    color: #fff;
    margin-bottom: 12px;
}

.footer-brand-block p {
    margin: 0;
    max-width: 540px;
    color: #98A2B3;
}

.footer-links-grid {
    display: grid;
    gap: 22px;
}

.footer-links-grid h3 {
    color: #fff;
    margin: 0 0 10px;
    font-size: 16px;
}

.footer-links-grid a {
    display: block;
    color: #98A2B3;
    margin: 8px 0;
}

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

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.10);
    padding: 16px 18px 24px;
    text-align: center;
    color: #98A2B3;
    font-size: 14px;
}

@media (min-width: 640px) {
    .node-overview-grid, .policy-grid, .risk-grid, .faq-grid, .article-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .process-steps {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .footer-links-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (min-width: 900px) {
    .nav-toggle {
        display: none;
    }
    .site-nav {
        position: static;
        display: flex;
        flex-direction: row;
        align-items: center;
        padding: 0;
        border: 0;
        box-shadow: none;
        background: transparent;
        gap: 2px;
    }
    .site-nav a {
        padding: 8px 10px;
        font-size: 14px;
    }
    .hero-grid {
        grid-template-columns: minmax(0, 1.02fr) minmax(360px, .98fr);
    }
    .node-overview-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
    .two-column, .feature-split, .privacy-grid, .device-grid, .protocol-grid, .about-grid, .download-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .risk-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
    .policy-grid, .article-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    .article-layout {
        grid-template-columns: minmax(0, 1fr) 320px;
    }
    .footer-inner {
        grid-template-columns: 1.1fr .9fr;
    }
    .section, .page-section {
        padding: 78px 18px;
    }
    .vpn-network-hero {
        padding: 92px 18px 78px;
    }
}

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