* {
    box-sizing: border-box;
}

:root {
    --gradient: linear-gradient(90deg, #3558F2 0%, #7B4EF1 50%, #B84DDA 100%);
    --blue: #2980FE;
    --blue-dark: #1768E8;
    --text: #1f2937;
    --muted: #667085;
    --light: #f5f7fb;
    --line: #e6eaf2;
    --white: #ffffff;
    --shadow: 0 18px 45px rgba(31, 41, 55, 0.08);
    --radius: 24px;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
    color: var(--text);
    background: #ffffff;
    line-height: 1.7;
    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: 50;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(230, 234, 242, 0.9);
}

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

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

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

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

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

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

.nav-link-strong {
    color: var(--blue) !important;
    font-weight: 700;
}

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

.nav-toggle-label {
    width: 42px;
    height: 42px;
    display: grid;
    place-content: center;
    gap: 5px;
    cursor: pointer;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #ffffff;
}

.nav-toggle-label span {
    display: block;
    width: 20px;
    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 24px;
    border-radius: 999px;
    background: #2980FE;
    color: #ffffff;
    font-weight: 800;
    letter-spacing: 0.02em;
    box-shadow: 0 12px 24px rgba(41, 128, 254, 0.24);
    transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

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

.section {
    padding: 64px 0;
}

.section-soft {
    background: #f6f8fc;
}

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

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

.section-title h2,
.page-hero h1,
.vpn-network-hero h1 {
    margin: 0;
    line-height: 1.16;
    color: #111827;
}

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

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

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

.vpn-network-hero::before,
.cta-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 20%, rgba(255,255,255,0.22), transparent 24%),
        radial-gradient(circle at 80% 30%, rgba(255,255,255,0.18), transparent 22%),
        linear-gradient(120deg, rgba(255,255,255,0.14) 1px, transparent 1px);
    background-size: auto, auto, 44px 44px;
    opacity: 0.8;
}

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

.hero-copy h1 {
    font-size: clamp(34px, 7vw, 64px);
    color: #ffffff;
}

.hero-copy p {
    margin: 18px 0 26px;
    max-width: 620px;
    color: rgba(255,255,255,0.88);
    font-size: 17px;
}

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

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

.inline-tags span {
    display: inline-flex;
    padding: 7px 12px;
    border-radius: 999px;
    background: #edf5ff;
    border: 1px solid #d8e8ff;
    color: #2980FE;
    font-size: 13px;
    font-weight: 800;
}

.hero-visual {
    position: relative;
    min-height: 360px;
    display: grid;
    place-items: center;
}

.hero-visual::before {
    content: "";
    position: absolute;
    width: 82%;
    height: 82%;
    border: 1px solid rgba(255,255,255,0.32);
    border-radius: 50%;
    background:
        linear-gradient(45deg, transparent 48%, rgba(255,255,255,0.2) 49%, rgba(255,255,255,0.2) 51%, transparent 52%),
        linear-gradient(-45deg, transparent 48%, rgba(255,255,255,0.16) 49%, rgba(255,255,255,0.16) 51%, transparent 52%);
}

.hero-visual img {
    position: relative;
    z-index: 2;
    width: min(420px, 88%);
    border-radius: 32px;
    filter: drop-shadow(0 22px 45px rgba(0,0,0,0.22));
}

.float-card {
    position: absolute;
    z-index: 3;
    padding: 10px 14px;
    background: rgba(255,255,255,0.92);
    color: #172033;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 800;
    box-shadow: 0 14px 34px rgba(22, 32, 54, 0.18);
}

.float-card.one { left: 2%; top: 16%; }
.float-card.two { right: 0; top: 28%; }
.float-card.three { left: 8%; bottom: 18%; }
.float-card.four { right: 6%; bottom: 10%; }

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

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

.node-card,
.info-card,
.risk-card,
.faq-item,
.step-card,
.page-card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.node-card {
    padding: 22px;
}

.node-card strong,
.info-card h3,
.risk-card h3,
.step-card h3,
.page-card h3 {
    display: block;
    margin-bottom: 8px;
    color: #111827;
    font-size: 18px;
}

.node-card .tag {
    display: inline-flex;
    padding: 5px 9px;
    margin-bottom: 12px;
    border-radius: 999px;
    background: #edf5ff;
    color: var(--blue);
    font-size: 12px;
    font-weight: 800;
}

.node-card p,
.info-card p,
.risk-card p,
.step-card p,
.page-card p,
.faq-item p,
.service-copy p,
.page-content p {
    color: var(--muted);
    margin: 0;
}

.card-link,
.text-link {
    display: inline-flex;
    margin-top: 14px;
    color: var(--blue);
    font-weight: 800;
}

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

.service-media {
    position: relative;
    overflow: hidden;
    padding: 18px;
    border-radius: 32px;
    background: #ffffff;
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
}

.service-media.gradient-frame {
    background: linear-gradient(145deg, #eef5ff, #ffffff 52%, #f8efff);
}

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

.service-copy h2 {
    margin: 0 0 14px;
    font-size: clamp(28px, 4vw, 44px);
    line-height: 1.2;
}

.feature-list,
.check-list {
    display: grid;
    gap: 12px;
    margin: 22px 0 0;
    padding: 0;
    list-style: none;
}

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

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

.global-nodes-section {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 25% 30%, rgba(41,128,254,0.12), transparent 26%),
        radial-gradient(circle at 75% 56%, rgba(123,78,241,0.11), transparent 26%),
        #f7f9fd;
}

.map-panel {
    position: relative;
    padding: 24px;
    border-radius: 32px;
    background: #ffffff;
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
}

.map-panel::before {
    content: "";
    position: absolute;
    inset: 26px;
    border-radius: 28px;
    background-image:
        radial-gradient(circle, rgba(41,128,254,0.45) 0 3px, transparent 4px),
        linear-gradient(90deg, transparent 48%, rgba(41,128,254,0.12) 49%, rgba(41,128,254,0.12) 51%, transparent 52%);
    background-size: 80px 80px, 54px 54px;
    opacity: 0.6;
}

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

.map-card {
    margin-top: 18px;
    display: grid;
    gap: 12px;
}

.route-chip {
    padding: 12px 14px;
    border-radius: 16px;
    background: #f5f8ff;
    border: 1px solid #dde9ff;
    color: #344054;
}

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

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

.speed-line span {
    display: block;
    height: 8px;
    margin-top: 10px;
    border-radius: 999px;
    background: linear-gradient(90deg, #2980FE, #9d7af3);
}

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

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

.info-card,
.risk-card,
.step-card,
.page-card,
.faq-item {
    padding: 20px;
}

.info-card h3,
.risk-card h3,
.step-card h3,
.page-card h3,
.faq-item h3 {
    margin-top: 0;
}

.policy-grid .info-card,
.protocol-grid .info-card {
    border-left: 4px solid var(--blue);
}

.device-card {
    padding: 18px;
    border-radius: 22px;
    background: #ffffff;
    border: 1px solid var(--line);
    box-shadow: 0 10px 26px rgba(31,41,55,0.06);
}

.device-card strong {
    color: #111827;
}

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

.step-card {
    position: relative;
    padding-top: 48px;
}

.step-number {
    position: absolute;
    left: 20px;
    top: 18px;
    width: 34px;
    height: 34px;
    display: grid;
    place-content: center;
    border-radius: 12px;
    background: var(--blue);
    color: #ffffff;
    font-weight: 800;
}

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

.risk-card .suggest {
    display: block;
    margin-top: 10px;
    color: #344054;
    font-weight: 700;
}

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

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

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

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

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

.page-hero {
    padding: 56px 0 34px;
    background: linear-gradient(180deg, #f7f9fd 0%, #ffffff 100%);
}

.page-hero h1 {
    font-size: clamp(32px, 5vw, 52px);
}

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

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

.page-content {
    display: grid;
    gap: 22px;
}

.article-block {
    padding: 24px;
    border-radius: 28px;
    background: #ffffff;
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
}

.article-block h2 {
    margin: 0 0 12px;
    font-size: 24px;
}

.side-panel {
    display: grid;
    gap: 16px;
}

.side-note {
    padding: 20px;
    border-radius: 24px;
    background: #f6f9ff;
    border: 1px solid #dceaff;
}

.side-note h3 {
    margin: 0 0 10px;
}

.download-page-card {
    text-align: center;
    max-width: 860px;
    margin: 0 auto;
    padding: 32px;
}

.steps-list {
    display: grid;
    gap: 12px;
    padding: 0;
    margin: 20px 0;
    list-style: none;
    counter-reset: item;
}

.steps-list li {
    counter-increment: item;
    padding: 16px;
    border-radius: 18px;
    background: #f7f9fd;
    border: 1px solid var(--line);
}

.steps-list li::before {
    content: counter(item);
    display: inline-grid;
    place-content: center;
    width: 26px;
    height: 26px;
    margin-right: 8px;
    border-radius: 9px;
    background: var(--blue);
    color: #ffffff;
    font-weight: 800;
}

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

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

.footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #ffffff;
    font-size: 20px;
    font-weight: 800;
}

.footer-brand img {
    width: 36px;
    height: 36px;
    border-radius: 12px;
}

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

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

.footer-bottom {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 32px;
    padding-top: 18px;
    border-top: 1px solid rgba(255,255,255,0.12);
    font-size: 14px;
}

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

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

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

    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
    }
}

@media (min-width: 960px) {
    .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: 8px 10px;
    }

    .hero-grid,
    .split-section,
    .page-layout {
        grid-template-columns: minmax(0, 1fr) minmax(380px, 0.9fr);
    }

    .hero-grid {
        gap: 52px;
    }

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

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

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

    .section {
        padding: 82px 0;
    }

    .page-hero {
        padding: 72px 0 42px;
    }
}

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

    .vpn-network-hero {
        padding-top: 42px;
    }

    .float-card {
        position: relative;
        left: auto !important;
        right: auto !important;
        top: auto !important;
        bottom: auto !important;
        margin: 6px;
        display: inline-flex;
    }

    .hero-visual {
        min-height: auto;
        display: block;
        text-align: center;
    }

    .hero-status-tags {
        justify-content: center;
    }

    .download-btn {
        width: 100%;
    }
}
