* {
    box-sizing: border-box;
}

:root {
    --brand-gradient: linear-gradient(90deg, #3558F2 0%, #7B4EF1 50%, #B84DDA 100%);
    --blue: #2980FE;
    --blue-dark: #1768E8;
    --text: #20283A;
    --muted: #68738A;
    --light: #F6F8FC;
    --soft: #EEF4FF;
    --border: #E5EAF3;
    --white: #FFFFFF;
    --shadow: 0 18px 42px rgba(35, 67, 160, .10);
    --radius: 28px;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--text);
    background: #fff;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
    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, .92);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(229, 234, 243, .82);
}

.nav-shell {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    min-height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    letter-spacing: .02em;
    color: #1B2440;
}

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

.site-nav {
    display: none;
    position: absolute;
    left: 16px;
    right: 16px;
    top: 72px;
    padding: 16px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 22px;
    box-shadow: var(--shadow);
}

.site-nav a {
    display: block;
    padding: 12px 14px;
    color: #404B62;
    font-size: 15px;
    border-radius: 14px;
}

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

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

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

.nav-toggle-label span {
    display: block;
    width: 20px;
    height: 2px;
    background: #25304A;
    border-radius: 2px;
}

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

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

.section {
    padding: 68px 0;
}

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

.section-title {
    margin-bottom: 28px;
}

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

h1,
h2,
h3 {
    line-height: 1.24;
    margin: 0 0 14px;
    color: #141B2D;
}

h1 {
    font-size: clamp(34px, 8vw, 58px);
    letter-spacing: -.04em;
}

h2 {
    font-size: clamp(26px, 5vw, 42px);
    letter-spacing: -.03em;
}

h3 {
    font-size: 20px;
}

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

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

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

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

.vpn-saas-hero {
    position: relative;
    overflow: hidden;
    padding: 58px 0 74px;
    color: #fff;
    background: var(--brand-gradient);
    border-bottom-left-radius: 34px;
    border-bottom-right-radius: 34px;
}

.vpn-saas-hero::after {
    content: "";
    position: absolute;
    left: -8%;
    right: -8%;
    bottom: -90px;
    height: 180px;
    background: #fff;
    transform: rotate(-3deg);
    transform-origin: left top;
}

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

.hero-copy h1,
.hero-copy p {
    color: #fff;
}

.hero-copy p {
    font-size: 18px;
    opacity: .9;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    margin: 24px 0;
}

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

.hero-tags span,
.float-tags span {
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .16);
    border: 1px solid rgba(255, 255, 255, .24);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
}

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

.hero-device {
    position: relative;
    z-index: 2;
    margin: 0 auto;
    width: min(420px, 88%);
    padding: 16px;
    border-radius: 34px;
    background: rgba(255, 255, 255, .22);
    box-shadow: 0 28px 70px rgba(17, 20, 74, .28);
    backdrop-filter: blur(12px);
}

.hero-device img {
    border-radius: 26px;
    object-fit: cover;
}

.status-card {
    position: absolute;
    z-index: 3;
    padding: 12px 16px;
    background: rgba(255, 255, 255, .94);
    color: #1D2742;
    border-radius: 18px;
    box-shadow: 0 18px 36px rgba(28, 32, 78, .20);
    font-size: 13px;
    font-weight: 800;
}

.status-card small {
    display: block;
    color: var(--muted);
    font-weight: 600;
}

.card-a {
    left: 0;
    top: 34px;
}

.card-b {
    right: 0;
    bottom: 54px;
}

.float-tags {
    justify-content: center;
    margin-top: 16px;
}

.product-highlights {
    display: grid;
    gap: 16px;
    margin-top: -34px;
    position: relative;
    z-index: 5;
}

.highlight-card,
.info-card,
.risk-card,
.faq-item,
.step-card,
.article-card,
.side-card,
.policy-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 24px;
    box-shadow: 0 12px 32px rgba(42, 70, 130, .06);
}

.highlight-card {
    padding: 22px;
}

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

.feature-split,
.vpn-connection-section,
.high-speed-section,
.global-nodes-section,
.multi-device-section {
    display: grid;
    gap: 26px;
    align-items: center;
}

.feature-panel {
    padding: 28px;
    border-radius: var(--radius);
    background: #fff;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
}

.feature-image {
    padding: 18px;
    border-radius: 34px;
    background: linear-gradient(145deg, #EEF4FF 0%, #FFFFFF 72%);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
}

.feature-image img {
    width: 100%;
    border-radius: 24px;
    object-fit: cover;
}

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

.point-list li {
    padding: 12px 14px;
    border-radius: 16px;
    color: #34405A;
    background: #F7FAFF;
    border: 1px solid #E7EEF9;
}

.high-speed-section {
    padding: 28px;
    border-radius: 34px;
    background: linear-gradient(135deg, #F4F8FF 0%, #FFFFFF 100%);
    border: 1px solid var(--border);
}

.speed-metrics,
.node-cards,
.privacy-cards,
.policy-grid,
.device-grid,
.protocol-grid,
.process-steps,
.risk-grid,
.faq-grid,
.check-grid {
    display: grid;
    gap: 16px;
}

.metric {
    padding: 18px;
    border-radius: 22px;
    background: #fff;
    border: 1px solid var(--border);
}

.metric strong {
    display: block;
    color: #141B2D;
    font-size: 22px;
}

.global-nodes-section .node-map {
    position: relative;
    padding: 24px;
    border-radius: 34px;
    background: var(--brand-gradient);
    overflow: hidden;
}

.node-map img {
    border-radius: 26px;
    opacity: .96;
}

.node-line {
    position: absolute;
    height: 6px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .76);
}

.node-line.one {
    width: 42%;
    left: 18%;
    top: 32%;
    transform: rotate(-18deg);
}

.node-line.two {
    width: 36%;
    right: 16%;
    bottom: 26%;
    transform: rotate(14deg);
}

.privacy-protection-section {
    padding: 30px;
    border-radius: 34px;
    background: #fff;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
}

.privacy-layout {
    display: grid;
    gap: 22px;
}

.privacy-cards .info-card,
.policy-card,
.protocol-grid .info-card,
.device-grid .info-card,
.node-cards .info-card {
    padding: 20px;
}

.no-log-policy-section {
    padding: 34px;
    border-radius: 34px;
    background: linear-gradient(135deg, #F7FAFF 0%, #FFFFFF 72%);
    border: 1px solid var(--border);
}

.multi-device-section .device-preview {
    display: grid;
    gap: 12px;
    grid-template-columns: 1fr 1fr;
}

.device-preview img {
    border-radius: 24px;
    background: #fff;
    border: 1px solid var(--border);
    padding: 10px;
    box-shadow: 0 10px 26px rgba(41, 75, 150, .08);
}

.encryption-protocol-section {
    padding: 32px;
    border-radius: 34px;
    color: #fff;
    background: var(--brand-gradient);
}

.encryption-protocol-section h2,
.encryption-protocol-section p {
    color: #fff;
}

.protocol-grid .info-card {
    background: rgba(255, 255, 255, .14);
    border-color: rgba(255, 255, 255, .22);
    color: #fff;
    box-shadow: none;
}

.protocol-grid .info-card h3,
.protocol-grid .info-card p,
.protocol-grid .info-card a {
    color: #fff;
}

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

.step-number {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    margin-bottom: 12px;
    border-radius: 14px;
    color: #fff;
    background: var(--blue);
    font-weight: 900;
}

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

.risk-card strong {
    display: block;
    margin: 8px 0 4px;
    color: #141B2D;
}

.faq-item {
    padding: 20px;
}

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

.cta-section {
    margin: 26px auto 0;
    padding: 38px 24px;
    border-radius: 34px;
    text-align: center;
    color: #fff;
    background: var(--brand-gradient);
    overflow: hidden;
    position: relative;
}

.cta-section h2,
.cta-section p {
    color: #fff;
}

.page-hero {
    padding: 54px 0 30px;
    background: linear-gradient(180deg, #F7FAFF 0%, #FFFFFF 100%);
}

.page-hero-inner {
    width: min(940px, calc(100% - 32px));
    margin: 0 auto;
}

.page-hero p {
    font-size: 18px;
}

.content-layout {
    display: grid;
    gap: 24px;
    align-items: start;
    padding: 34px 0 76px;
}

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

.article-card {
    padding: 24px;
}

.article-card ul,
.article-card ol {
    margin: 0;
    padding-left: 20px;
    color: var(--muted);
}

.side-card {
    padding: 22px;
    background: linear-gradient(180deg, #FFFFFF 0%, #F7FAFF 100%);
}

.side-card + .side-card {
    margin-top: 16px;
}

.safety-panel {
    padding: 22px;
    border-radius: 24px;
    background: #F7FAFF;
    border: 1px solid var(--border);
}

.download-page-card {
    width: min(840px, calc(100% - 32px));
    margin: 34px auto 76px;
    padding: 28px;
    border-radius: 34px;
    background: #fff;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    text-align: center;
}

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

.download-steps div {
    padding: 16px;
    border-radius: 20px;
    background: #F7FAFF;
    border: 1px solid var(--border);
}

.faq-page {
    padding: 34px 0 76px;
}

.site-footer {
    background: #111827;
    color: #D9E1F1;
    padding: 54px 0 22px;
}

.footer-grid {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    display: grid;
    gap: 28px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    color: #fff;
}

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

.site-footer h3 {
    color: #fff;
    font-size: 16px;
}

.site-footer p,
.footer-bottom {
    color: #AAB5C8;
}

.site-footer a {
    display: block;
    color: #C9D3E6;
    margin: 8px 0;
}

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

.footer-bottom {
    width: min(1180px, calc(100% - 32px));
    margin: 34px auto 0;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, .12);
    font-size: 14px;
}

@media (min-width: 640px) {
    .product-highlights,
    .privacy-cards,
    .policy-grid,
    .device-grid,
    .protocol-grid,
    .process-steps,
    .risk-grid,
    .faq-grid,
    .check-grid,
    .node-cards,
    .speed-metrics {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .download-page-card {
        padding: 42px;
    }
}

@media (min-width: 920px) {
    .site-nav {
        position: static;
        display: flex;
        align-items: center;
        gap: 4px;
        padding: 0;
        background: transparent;
        border: none;
        box-shadow: none;
    }

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

    .nav-toggle-label {
        display: none;
    }

    .hero-grid,
    .feature-split,
    .vpn-connection-section,
    .high-speed-section,
    .global-nodes-section,
    .privacy-layout,
    .multi-device-section {
        grid-template-columns: 1.05fr .95fr;
    }

    .hero-grid {
        min-height: 570px;
    }

    .product-highlights {
        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.5fr 1fr 1fr 1fr;
    }

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

    .side-stack {
        position: sticky;
        top: 96px;
    }
}

@media (min-width: 1120px) {
    .site-nav a {
        padding: 10px 13px;
        font-size: 15px;
    }

    .vpn-saas-hero {
        border-bottom-left-radius: 54px;
        border-bottom-right-radius: 54px;
    }
}

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

    .section {
        padding: 50px 0;
    }

    .download-btn {
        width: 100%;
    }

    .hero-actions .download-btn {
        width: auto;
        min-width: 160px;
    }

    .status-card {
        position: static;
        margin: 10px 0;
    }

    .hero-visual {
        min-height: auto;
    }
}
