:root {
    --brand-gradient: linear-gradient(90deg, #3558F2 0%, #7B4EF1 50%, #B84DDA 100%);
    --blue: #2980FE;
    --blue-hover: #1768E8;
    --text: #1f2937;
    --muted: #667085;
    --soft: #f5f7fb;
    --soft-blue: #eef4ff;
    --line: #e6eaf2;
    --white: #ffffff;
    --radius-lg: 32px;
    --radius-md: 24px;
    --shadow: 0 20px 60px rgba(29, 49, 99, .10);
    --container: 1180px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
    color: var(--text);
    background: #fbfcff;
    line-height: 1.75;
    overflow-x: hidden;
}

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

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

p {
    margin: 0 0 16px;
}

ul, ol {
    margin: 0;
    padding-left: 20px;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, .92);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(230, 234, 242, .78);
}

.header-inner {
    width: min(100% - 32px, var(--container));
    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;
    color: #15213d;
    letter-spacing: .02em;
    white-space: nowrap;
}

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

.nav-toggle {
    display: none;
}

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

.nav-toggle-label span {
    display: block;
    height: 2px;
    background: #24304d;
    border-radius: 99px;
}

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

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

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

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

.content-container,
.section-inner {
    width: min(100% - 32px, var(--container));
    margin: 0 auto;
}

.section {
    padding: 64px 0;
}

.section-header {
    max-width: 760px;
    margin: 0 0 32px;
}

.section-eyebrow,
.page-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    border-radius: 999px;
    background: var(--soft-blue);
    color: var(--blue);
    font-size: 13px;
    font-weight: 800;
    margin-bottom: 14px;
}

.section-title,
.page-title {
    margin: 0 0 16px;
    line-height: 1.16;
    color: #101828;
    font-size: clamp(30px, 5vw, 54px);
    letter-spacing: -0.04em;
}

.section-subtitle,
.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: 0 24px;
    border-radius: 999px;
    background: var(--blue);
    color: #fff;
    font-size: 16px;
    font-weight: 800;
    box-shadow: 0 16px 34px rgba(41, 128, 254, .24);
    transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
}

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

.link-more {
    display: inline-flex;
    align-items: center;
    color: var(--blue);
    font-weight: 800;
    margin-top: 10px;
}

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

.vpn-saas-hero:after {
    content: "";
    position: absolute;
    inset: auto -10% -80px -10%;
    height: 180px;
    background: #fbfcff;
    transform: skewY(-4deg);
    transform-origin: left top;
}

.hero-inner {
    position: relative;
    z-index: 1;
    width: min(100% - 32px, var(--container));
    margin: 0 auto;
    padding: 70px 0 110px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 36px;
    align-items: center;
}

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

.hero-content p {
    max-width: 650px;
    color: rgba(255, 255, 255, .88);
    font-size: 18px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
    margin: 28px 0 18px;
}

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

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

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

.hero-device {
    position: relative;
    margin: 0 auto;
    width: min(100%, 430px);
    padding: 24px;
    border-radius: 36px;
    background: rgba(255, 255, 255, .18);
    border: 1px solid rgba(255, 255, 255, .25);
    box-shadow: 0 30px 80px rgba(13, 21, 64, .22);
    backdrop-filter: blur(18px);
}

.hero-device img {
    border-radius: 28px;
    margin: 0 auto;
}

.hero-float-tags {
    position: static;
    margin-top: 18px;
    justify-content: center;
}

.product-highlights {
    margin-top: -58px;
    position: relative;
    z-index: 2;
}

.highlight-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

.highlight-card,
.info-card,
.risk-card,
.faq-item,
.step-card,
.policy-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    box-shadow: 0 14px 40px rgba(29, 49, 99, .06);
}

.highlight-card {
    padding: 22px;
}

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

.highlight-card h3,
.info-card h3,
.risk-card h3,
.step-card h3,
.policy-card h3 {
    margin: 0 0 10px;
    color: #111827;
    font-size: 20px;
    line-height: 1.35;
}

.highlight-card p,
.info-card p,
.risk-card p,
.step-card p,
.policy-card p {
    color: var(--muted);
}

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

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

.feature-panel.gradient {
    color: #fff;
    background: var(--brand-gradient);
    border: none;
}

.feature-panel.gradient p,
.feature-panel.gradient li {
    color: rgba(255, 255, 255, .88);
}

.feature-panel h2 {
    margin: 0 0 16px;
    font-size: clamp(28px, 5vw, 44px);
    line-height: 1.16;
    letter-spacing: -0.035em;
}

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

.feature-list li {
    position: relative;
    padding-left: 24px;
    color: #475467;
}

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

.image-card {
    padding: 18px;
    border-radius: var(--radius-lg);
    background: linear-gradient(180deg, #ffffff, #f3f6ff);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
}

.image-card img {
    border-radius: 24px;
    margin: 0 auto;
}

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

.global-card-grid,
.privacy-grid,
.no-log-policy-section,
.protocol-grid,
.risk-grid,
.page-grid,
.check-grid,
.faq-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

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

.privacy-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    align-items: center;
}

.privacy-grid .info-card,
.protocol-grid .info-card,
.global-card-grid .info-card,
.check-grid .info-card {
    padding: 20px;
}

.safety-panel {
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, #ffffff 0%, #eef4ff 100%);
    border: 1px solid var(--line);
    padding: 24px;
    box-shadow: var(--shadow);
}

.safety-panel h2 {
    margin: 0 0 12px;
    font-size: clamp(28px, 5vw, 42px);
    line-height: 1.16;
}

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

.step-card {
    position: relative;
    padding: 22px;
    overflow: hidden;
}

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

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

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

.faq-item {
    padding: 22px;
}

.faq-item h3 {
    margin: 0 0 10px;
    color: #111827;
    font-size: 18px;
}

.cta-section {
    padding: 64px 0;
}

.cta-box {
    text-align: center;
    color: #fff;
    background: var(--brand-gradient);
    border-radius: var(--radius-lg);
    padding: 42px 22px;
    box-shadow: 0 26px 70px rgba(53, 88, 242, .20);
}

.cta-box h2 {
    margin: 0 0 14px;
    font-size: clamp(30px, 5vw, 48px);
    line-height: 1.18;
}

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

.cta-box .download-btn {
    background: var(--blue);
}

.page-hero {
    padding: 58px 0 30px;
    background:
        radial-gradient(circle at 15% 10%, rgba(41, 128, 254, .12), transparent 28%),
        linear-gradient(180deg, #ffffff 0%, #f4f7ff 100%);
}

.page-shell {
    width: min(100% - 32px, var(--container));
    margin: 0 auto;
    padding: 30px 0 70px;
}

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

.article-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow);
}

.article-card h2 {
    margin: 22px 0 10px;
    font-size: 26px;
    line-height: 1.28;
}

.article-card h2:first-child {
    margin-top: 0;
}

.article-card p {
    color: #4b5563;
}

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

.tip-box,
.related-box {
    padding: 20px;
    border-radius: var(--radius-md);
    border: 1px solid var(--line);
    background: #fff;
    box-shadow: 0 12px 36px rgba(29, 49, 99, .06);
}

.tip-box {
    background: linear-gradient(180deg, #ffffff 0%, #eef4ff 100%);
}

.tip-box h3,
.related-box h3 {
    margin: 0 0 12px;
    font-size: 18px;
}

.related-box a {
    display: block;
    padding: 10px 0;
    color: var(--blue);
    font-weight: 700;
    border-bottom: 1px solid var(--line);
}

.related-box a:last-child {
    border-bottom: none;
}

.download-area {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid var(--line);
}

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

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

.download-step span {
    display: inline-flex;
    margin-bottom: 8px;
    color: var(--blue);
    font-weight: 900;
}

.site-footer {
    background: #111827;
    color: #d0d5dd;
    padding: 48px 0 24px;
}

.footer-inner {
    width: min(100% - 32px, var(--container));
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 28px;
}

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

.footer-brand p {
    max-width: 460px;
    color: #98a2b3;
}

.footer-links {
    display: grid;
    grid-template-columns: 1fr;
    gap: 22px;
}

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

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

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

.footer-bottom {
    width: min(100% - 32px, var(--container));
    margin: 28px auto 0;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, .10);
    display: flex;
    flex-direction: column;
    gap: 8px;
    color: #98a2b3;
    font-size: 14px;
}

@media (min-width: 700px) {
    .highlight-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .global-card-grid,
    .privacy-grid,
    .no-log-policy-section,
    .protocol-grid,
    .risk-grid,
    .check-grid,
    .faq-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .process-steps,
    .download-steps {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-links {
        grid-template-columns: repeat(3, 1fr);
    }
}

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

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

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

    .hero-inner {
        grid-template-columns: minmax(0, 1.08fr) minmax(360px, .92fr);
        gap: 54px;
        padding: 88px 0 132px;
    }

    .hero-visual {
        min-height: 480px;
    }

    .hero-device {
        position: absolute;
        right: 24px;
        top: 18px;
    }

    .hero-float-tags {
        position: absolute;
        inset: auto 0 24px 0;
        justify-content: flex-start;
    }

    .hero-float-tags span:nth-child(1) { margin-left: 26px; }
    .hero-float-tags span:nth-child(2) { margin-left: 118px; }
    .hero-float-tags span:nth-child(3) { margin-left: 58px; }
    .hero-float-tags span:nth-child(4) { margin-left: 160px; }

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

    .feature-split,
    .vpn-connection-section,
    .high-speed-section,
    .global-nodes-section,
    .multi-device-section {
        grid-template-columns: 1fr 1fr;
        gap: 42px;
    }

    .privacy-layout {
        grid-template-columns: 1.05fr .95fr;
    }

    .global-card-grid,
    .risk-grid,
    .protocol-grid {
        grid-template-columns: repeat(3, 1fr);
    }

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

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

    .article-card {
        padding: 34px;
    }

    .footer-inner {
        grid-template-columns: .9fr 1.1fr;
    }

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

@media (min-width: 1180px) {
    .main-nav a {
        padding: 8px 12px;
    }
}

@media (max-width: 420px) {
    .header-inner,
    .content-container,
    .section-inner,
    .hero-inner,
    .page-shell,
    .footer-inner,
    .footer-bottom {
        width: min(100% - 24px, var(--container));
    }

    .download-btn {
        width: 100%;
    }

    .hero-actions .download-btn,
    .cta-box .download-btn {
        width: auto;
        min-width: 180px;
    }

    .section {
        padding: 46px 0;
    }

    .feature-panel,
    .privacy-protection-section,
    .article-card {
        padding: 22px;
    }
}
