* {
    box-sizing: border-box;
}

:root {
    --blue: #2980FE;
    --blue-dark: #1768E8;
    --purple: #7B4EF1;
    --pink: #B84DDA;
    --text: #1f2937;
    --muted: #667085;
    --light: #f4f7fb;
    --line: #e5eaf1;
    --white: #ffffff;
    --gradient: linear-gradient(90deg, #3558F2 0%, #7B4EF1 50%, #B84DDA 100%);
    --shadow: 0 18px 45px rgba(42, 75, 130, 0.12);
}

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: #f7f9fc;
    line-height: 1.7;
    overflow-x: hidden;
}

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

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

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

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

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

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

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

.brand-text {
    font-size: 20px;
    letter-spacing: 0.04em;
}

.nav-toggle {
    display: none;
}

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

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

.main-nav {
    position: absolute;
    top: 70px;
    left: 16px;
    right: 16px;
    display: none;
    flex-direction: column;
    gap: 6px;
    padding: 14px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 20px;
    box-shadow: var(--shadow);
}

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

.main-nav a:hover {
    background: #eef4ff;
    color: var(--blue);
}

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

.download-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 13px 24px;
    background: var(--blue);
    color: #fff;
    border-radius: 999px;
    font-weight: 700;
    box-shadow: 0 14px 30px rgba(41, 128, 254, 0.24);
    transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

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

.text-link {
    display: inline-flex;
    color: var(--blue);
    font-weight: 700;
    margin-top: 10px;
}

.text-link:hover {
    color: var(--blue-dark);
}

.section {
    padding: 64px 0;
}

.section-soft {
    background: #eef4fb;
}

.section-title {
    max-width: 720px;
    margin: 0 auto 30px;
    text-align: center;
}

.section-title h2 {
    margin: 0 0 10px;
    font-size: clamp(28px, 5vw, 42px);
    line-height: 1.18;
    letter-spacing: -0.03em;
}

.section-title p {
    margin: 0;
    color: var(--muted);
}

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

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

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

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

.hero-inner {
    position: relative;
    z-index: 1;
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 72px 0 82px;
    display: grid;
    gap: 38px;
}

.hero-copy h1 {
    margin: 0 0 18px;
    font-size: clamp(36px, 8vw, 64px);
    line-height: 1.08;
    letter-spacing: -0.05em;
}

.hero-copy p {
    margin: 0 0 24px;
    color: rgba(255, 255, 255, 0.86);
    font-size: 17px;
}

.hero-tags,
.floating-tags,
.pill-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.hero-tags span,
.floating-tags span,
.pill-row span,
.badge {
    display: inline-flex;
    align-items: center;
    padding: 7px 12px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
}

.hero-tags span,
.floating-tags span {
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.22);
    color: #fff;
}

.hero-visual {
    position: relative;
    min-height: 360px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-panel {
    position: relative;
    width: min(440px, 100%);
    padding: 22px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 32px;
    background: rgba(255, 255, 255, 0.13);
    box-shadow: 0 26px 60px rgba(17, 24, 39, 0.18);
}

.hero-panel::before {
    content: "";
    position: absolute;
    inset: 28px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 50%;
}

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

.status-card {
    position: absolute;
    z-index: 2;
    background: rgba(255, 255, 255, 0.94);
    color: #1f2937;
    border-radius: 18px;
    padding: 10px 14px;
    box-shadow: var(--shadow);
    font-weight: 800;
    font-size: 13px;
}

.status-card.one { top: 18px; left: 0; }
.status-card.two { top: 76px; right: 0; }
.status-card.three { bottom: 76px; left: 4px; }
.status-card.four { bottom: 18px; right: 16px; }

.node-overview {
    margin-top: -38px;
    position: relative;
    z-index: 3;
}

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

.node-card,
.feature-card,
.policy-card,
.risk-card,
.faq-item,
.step-card,
.info-card,
.article-box,
.sidebar-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 24px;
    box-shadow: 0 14px 35px rgba(42, 75, 130, 0.08);
}

.node-card {
    padding: 22px;
}

.node-card .mini-label,
.mini-label {
    display: inline-flex;
    color: var(--blue);
    background: #eaf2ff;
    border-radius: 999px;
    padding: 4px 10px;
    font-weight: 800;
    font-size: 12px;
    margin-bottom: 12px;
}

.node-card h3,
.feature-card h3,
.policy-card h3,
.risk-card h3,
.step-card h3,
.info-card h3 {
    margin: 0 0 8px;
    font-size: 20px;
}

.node-card p,
.feature-card p,
.policy-card p,
.risk-card p,
.step-card p,
.info-card p,
.article-box p,
.sidebar-card p {
    margin: 0;
    color: var(--muted);
}

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

.split-section.reverse .image-panel {
    order: -1;
}

.copy-panel h2,
.map-copy h2,
.subpage-hero h1,
.download-hero h1 {
    margin: 0 0 14px;
    font-size: clamp(30px, 5vw, 46px);
    line-height: 1.16;
    letter-spacing: -0.03em;
}

.copy-panel p,
.map-copy p,
.subpage-hero p,
.download-hero p {
    color: var(--muted);
    margin: 0 0 18px;
}

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

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

.feature-list li::before,
.check-list li::before,
.clean-list li::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--blue);
    position: absolute;
    left: 0;
    top: 11px;
}

.image-panel,
.tech-panel,
.privacy-panel,
.speed-panel,
.device-panel,
.map-panel {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 32px;
    padding: 20px;
    box-shadow: var(--shadow);
}

.image-panel img {
    margin: 0 auto;
    max-height: 360px;
    object-fit: contain;
}

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

.map-panel {
    position: relative;
    min-height: 320px;
    background:
        radial-gradient(circle at 20% 30%, rgba(41, 128, 254, 0.18), transparent 28%),
        radial-gradient(circle at 76% 56%, rgba(123, 78, 241, 0.14), transparent 26%),
        linear-gradient(135deg, #ffffff, #f2f7ff);
}

.map-panel::before {
    content: "";
    position: absolute;
    inset: 30px;
    border: 1px dashed #b7c6db;
    border-radius: 999px;
}

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

.node-dot {
    position: absolute;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--blue);
    box-shadow: 0 0 0 8px rgba(41, 128, 254, 0.12);
}

.dot-a { left: 18%; top: 32%; }
.dot-b { right: 24%; top: 24%; }
.dot-c { right: 20%; bottom: 26%; }
.dot-d { left: 34%; bottom: 22%; }

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

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

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

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

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

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

.policy-card,
.risk-card,
.feature-card,
.step-card,
.info-card,
.article-box,
.sidebar-card {
    padding: 22px;
}

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

.step-number {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: #eaf2ff;
    color: var(--blue);
    font-weight: 900;
    margin-bottom: 12px;
}

.faq-item {
    padding: 20px;
}

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

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

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

.cta-section h2 {
    margin: 0 0 12px;
    font-size: clamp(30px, 5vw, 46px);
}

.cta-section p {
    width: min(720px, 100%);
    margin: 0 auto 24px;
    color: rgba(255, 255, 255, 0.84);
}

.subpage-hero,
.download-hero {
    padding: 56px 0 34px;
    background:
        radial-gradient(circle at 80% 20%, rgba(41, 128, 254, 0.12), transparent 28%),
        linear-gradient(180deg, #ffffff, #f3f7fc);
}

.badge {
    background: #eaf2ff;
    color: var(--blue);
    margin-bottom: 14px;
}

.content-layout {
    display: grid;
    gap: 22px;
    align-items: start;
}

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

.article-box h2,
.sidebar-card h2,
.sidebar-card h3 {
    margin: 0 0 10px;
}

.tip-box {
    padding: 18px;
    border-radius: 22px;
    border: 1px solid #cfe0ff;
    background: #eef5ff;
    color: #2f4a74;
}

.page-cta {
    padding: 24px;
    border-radius: 26px;
    background: #fff;
    border: 1px solid var(--line);
    text-align: center;
    box-shadow: var(--shadow);
}

.download-steps {
    counter-reset: step;
    display: grid;
    gap: 14px;
    margin-top: 20px;
}

.download-step {
    counter-increment: step;
    display: grid;
    grid-template-columns: 42px 1fr;
    gap: 12px;
    align-items: start;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 22px;
    padding: 18px;
}

.download-step::before {
    content: counter(step);
    width: 38px;
    height: 38px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #eaf2ff;
    color: var(--blue);
    font-weight: 900;
}

.site-footer {
    background: #172033;
    color: rgba(255, 255, 255, 0.78);
    padding-top: 54px;
}

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

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

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

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

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

.footer-bottom {
    margin-top: 34px;
    padding: 18px;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.62);
}

@media (min-width: 680px) {
    .node-grid,
    .policy-grid,
    .feature-grid,
    .article-grid,
    .process-steps {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

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

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

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

    .main-nav a {
        padding: 8px 10px;
        font-size: 14px;
    }

    .hero-inner {
        grid-template-columns: 1.05fr 0.95fr;
        align-items: center;
    }

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

    .split-section,
    .content-layout {
        grid-template-columns: 1fr 1fr;
    }

    .content-layout {
        grid-template-columns: minmax(0, 1fr) 330px;
    }

    .split-section.reverse .image-panel {
        order: initial;
    }

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

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

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