* {
    box-sizing: border-box;
}

:root {
    --gradient: linear-gradient(90deg, #3558F2 0%, #7B4EF1 50%, #B84DDA 100%);
    --blue: #2980FE;
    --blue-dark: #1768E8;
    --text: #1f2a37;
    --muted: #667085;
    --light: #f5f7fb;
    --line: #e5eaf2;
    --panel: #ffffff;
    --deep: #101828;
    --shadow: 0 18px 45px rgba(31, 42, 55, .10);
    --radius: 24px;
}

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

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

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

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, .92);
    border-bottom: 1px solid rgba(229, 234, 242, .85);
    backdrop-filter: blur(14px);
}

.header-inner {
    min-height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

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

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

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

.nav-toggle {
    display: inline-flex;
    border: 1px solid var(--line);
    background: #fff;
    color: var(--text);
    padding: 9px 12px;
    border-radius: 14px;
    font-size: 14px;
}

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

.main-nav.is-open {
    display: flex;
}

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

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

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

.download-btn:hover {
    background: #1768E8;
    transform: translateY(-2px);
    box-shadow: 0 18px 32px rgba(23, 104, 232, .30);
}

.section {
    padding: 68px 0;
}

.section-soft {
    background: linear-gradient(180deg, #f7f9ff 0%, #ffffff 100%);
}

.section-title {
    font-size: clamp(28px, 4vw, 44px);
    line-height: 1.18;
    margin: 0 0 16px;
    color: var(--deep);
}

.section-lead {
    margin: 0 0 26px;
    color: var(--muted);
    font-size: 16px;
}

.eyebrow,
.badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--blue);
    background: #eef5ff;
    border: 1px solid #d8e8ff;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
    padding: 6px 12px;
    margin-bottom: 16px;
}

.vpn-network-hero {
    position: relative;
    overflow: hidden;
    color: #fff;
    background: linear-gradient(90deg, #3558F2 0%, #7B4EF1 50%, #B84DDA 100%);
    padding: 70px 0 74px;
}

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

.vpn-network-hero::before {
    width: 460px;
    height: 460px;
    right: -120px;
    top: -150px;
    background: rgba(255, 255, 255, .18);
    filter: blur(4px);
}

.vpn-network-hero::after {
    width: 340px;
    height: 340px;
    left: -120px;
    bottom: -160px;
    background: rgba(255, 255, 255, .12);
}

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

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

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

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

.hero-tags span,
.status-tags span {
    display: inline-flex;
    border: 1px solid rgba(255, 255, 255, .32);
    background: rgba(255, 255, 255, .14);
    color: #fff;
    border-radius: 999px;
    padding: 7px 12px;
    font-size: 13px;
}

.hero-visual {
    position: relative;
    min-height: 320px;
    border-radius: 32px;
    background: rgba(255, 255, 255, .14);
    border: 1px solid rgba(255, 255, 255, .25);
    padding: 22px;
    box-shadow: 0 24px 80px rgba(16, 24, 40, .24);
}

.hero-visual::before {
    content: "";
    position: absolute;
    inset: 22px;
    border-radius: 28px;
    background-image:
        radial-gradient(circle at 20% 25%, rgba(255,255,255,.86) 0 3px, transparent 4px),
        radial-gradient(circle at 72% 36%, rgba(255,255,255,.86) 0 3px, transparent 4px),
        radial-gradient(circle at 44% 78%, rgba(255,255,255,.74) 0 3px, transparent 4px),
        linear-gradient(120deg, rgba(255,255,255,.26), transparent 35%, rgba(255,255,255,.2));
    opacity: .85;
}

.hero-visual img {
    position: relative;
    z-index: 2;
    width: min(360px, 88%);
    margin: 0 auto;
    border-radius: 28px;
    filter: drop-shadow(0 20px 28px rgba(0,0,0,.22));
}

.float-card {
    position: relative;
    z-index: 3;
    margin: 10px 0;
    display: inline-flex;
    background: rgba(255, 255, 255, .92);
    color: var(--deep);
    border-radius: 999px;
    padding: 9px 13px;
    box-shadow: 0 12px 30px rgba(16, 24, 40, .16);
    font-size: 13px;
    font-weight: 700;
}

.float-card.top {
    float: right;
}

.float-card.bottom {
    float: left;
}

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

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

.node-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 22px;
    padding: 22px;
    box-shadow: 0 14px 32px rgba(41, 128, 254, .08);
}

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

.node-card h2,
.node-card h3 {
    margin: 0 0 10px;
    color: var(--deep);
}

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

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

.split-section,
.vpn-connection-section,
.global-nodes-section,
.high-speed-section,
.privacy-protection-section,
.multi-device-section,
.encryption-protocol-section {
    display: grid;
    gap: 28px;
    align-items: center;
}

.feature-image {
    padding: 18px;
    border-radius: 30px;
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
}

.feature-image img {
    border-radius: 22px;
    margin: 0 auto;
}

.feature-list {
    display: grid;
    gap: 10px;
    margin: 20px 0;
    padding: 0;
    list-style: none;
}

.feature-list li {
    position: relative;
    padding: 12px 14px 12px 38px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: #fff;
    color: #344054;
}

.feature-list li::before {
    content: "";
    position: absolute;
    left: 16px;
    top: 22px;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--blue);
}

.global-nodes-section {
    position: relative;
    padding: 34px;
    border-radius: 32px;
    background:
        radial-gradient(circle at 18% 24%, rgba(41,128,254,.16), transparent 28%),
        radial-gradient(circle at 82% 62%, rgba(123,78,241,.14), transparent 26%),
        #f8fbff;
    border: 1px solid var(--line);
}

.map-panel {
    border-radius: 30px;
    padding: 18px;
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
}

.node-lines {
    display: grid;
    gap: 10px;
    margin-top: 16px;
}

.node-line {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 12px;
    border-radius: 14px;
    background: #f3f7ff;
    color: #344054;
    font-size: 14px;
}

.speed-cards,
.privacy-cards,
.no-log-grid,
.device-grid,
.protocol-grid,
.risk-grid,
.info-grid,
.related-grid,
.checklist-grid,
.faq-grid {
    display: grid;
    gap: 16px;
}

.speed-card,
.privacy-card,
.no-log-card,
.device-card,
.protocol-card,
.risk-card,
.info-card,
.faq-item,
.step-card,
.tip-box {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 22px;
    padding: 22px;
    box-shadow: 0 12px 30px rgba(16, 24, 40, .06);
}

.speed-card h3,
.privacy-card h3,
.no-log-card h3,
.device-card h3,
.protocol-card h3,
.risk-card h3,
.info-card h3,
.faq-item h3,
.step-card h3 {
    margin: 0 0 8px;
    color: var(--deep);
}

.speed-card p,
.privacy-card p,
.no-log-card p,
.device-card p,
.protocol-card p,
.risk-card p,
.info-card p,
.faq-item p,
.step-card p {
    margin: 0;
    color: var(--muted);
}

.privacy-protection-section .privacy-panel,
.encryption-protocol-section .protocol-panel,
.safety-panel {
    border-radius: 30px;
    padding: 24px;
    background: linear-gradient(180deg, #ffffff 0%, #f7faff 100%);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
}

.panel-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 16px;
}

.panel-tags span {
    border-radius: 999px;
    background: #eef5ff;
    color: var(--blue);
    padding: 7px 12px;
    font-size: 13px;
    font-weight: 700;
}

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

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

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

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

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

.risk-card strong {
    display: block;
    color: var(--deep);
    margin-top: 12px;
}

.cta-section {
    padding: 68px 0;
    background: linear-gradient(90deg, #3558F2 0%, #7B4EF1 50%, #B84DDA 100%);
    color: #fff;
    text-align: center;
    overflow: hidden;
}

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

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

.page-hero {
    padding: 54px 0 42px;
    background: linear-gradient(180deg, #f7f9ff 0%, #ffffff 100%);
    border-bottom: 1px solid var(--line);
}

.page-hero h1 {
    margin: 0 0 14px;
    font-size: clamp(32px, 7vw, 56px);
    line-height: 1.12;
    color: var(--deep);
    letter-spacing: -.03em;
}

.page-hero p {
    color: var(--muted);
    margin: 0;
    font-size: 17px;
    max-width: 820px;
}

.content-wrap {
    width: min(960px, calc(100% - 32px));
    margin: 0 auto;
}

.content-layout {
    display: grid;
    gap: 24px;
}

.article-panel {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 26px;
    padding: 24px;
    box-shadow: 0 12px 34px rgba(16,24,40,.06);
}

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

.article-panel p {
    color: #475467;
}

.side-panel {
    background: #f7faff;
    border: 1px solid #dbe8ff;
    border-radius: 24px;
    padding: 22px;
    align-self: start;
}

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

.simple-list {
    display: grid;
    gap: 10px;
    margin: 14px 0 0;
    padding: 0;
    list-style: none;
}

.simple-list li {
    padding: 12px 14px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 14px;
    color: #475467;
}

.download-panel {
    text-align: center;
    padding: 38px 22px;
    background: #f7faff;
    border: 1px solid var(--line);
    border-radius: 28px;
}

.download-steps {
    display: grid;
    gap: 14px;
    margin-top: 24px;
}

.download-step {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 18px;
    text-align: left;
}

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

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

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

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

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

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

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

.footer-bottom {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,.12);
    font-size: 14px;
}

@media (min-width: 640px) {
    .node-overview-grid,
    .privacy-cards,
    .no-log-grid,
    .device-grid,
    .protocol-grid,
    .risk-grid,
    .info-grid,
    .checklist-grid,
    .faq-grid,
    .download-steps {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

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

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

    .main-nav a {
        white-space: nowrap;
    }

    .hero-grid,
    .split-section,
    .vpn-connection-section,
    .global-nodes-section,
    .high-speed-section,
    .privacy-protection-section,
    .multi-device-section,
    .encryption-protocol-section {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    }

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

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

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

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

    .content-layout {
        grid-template-columns: minmax(0, 1fr) 300px;
        align-items: start;
    }

    .article-panel {
        padding: 34px;
    }
}
