* {
    box-sizing: border-box;
}

:root {
    --gradient: linear-gradient(90deg, #3558F2 0%, #7B4EF1 50%, #B84DDA 100%);
    --blue: #2980FE;
    --blue-dark: #1768E8;
    --text: #1f2937;
    --muted: #64748b;
    --soft: #f6f8fc;
    --soft-blue: #eef4ff;
    --border: #e5eaf2;
    --white: #ffffff;
    --shadow: 0 18px 45px rgba(31, 41, 55, 0.09);
    --radius-lg: 32px;
    --radius-md: 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%;
    display: block;
}

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

p {
    margin: 0 0 14px;
}

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

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

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

.logo,
.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    letter-spacing: -0.02em;
}

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

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

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

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

.nav-toggle {
    display: none;
}

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

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

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

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

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

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

.section {
    padding: 64px 0;
}

.section.soft {
    background: var(--soft);
}

.section-title {
    margin: 0 0 18px;
    font-size: clamp(28px, 4vw, 44px);
    line-height: 1.18;
    letter-spacing: -0.04em;
}

.section-lead {
    max-width: 760px;
    color: var(--muted);
    font-size: 17px;
}

.vpn-saas-hero {
    position: relative;
    padding: 36px 0 54px;
    overflow: hidden;
}

.vpn-saas-hero::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 83%;
    background: var(--gradient);
    clip-path: polygon(0 0, 100% 0, 100% 82%, 0 100%);
    z-index: -2;
}

.vpn-saas-hero::after {
    content: "";
    position: absolute;
    right: -120px;
    top: 58px;
    width: 320px;
    height: 320px;
    border-radius: 999px;
    background: rgba(255,255,255,0.18);
    filter: blur(2px);
    z-index: -1;
}

.hero-grid {
    display: grid;
    gap: 32px;
    align-items: center;
}

.hero-copy {
    color: #ffffff;
    padding: 36px 0 0;
}

.eyebrow,
.category-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 12px;
    border-radius: 999px;
    color: var(--blue);
    background: #edf5ff;
    font-weight: 800;
    font-size: 13px;
}

.hero-copy .eyebrow {
    color: #ffffff;
    background: rgba(255,255,255,0.16);
}

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

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

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin: 28px 0 20px;
}

.security-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.security-tags li {
    padding: 8px 12px;
    color: rgba(255,255,255,0.9);
    border: 1px solid rgba(255,255,255,0.24);
    border-radius: 999px;
    background: rgba(255,255,255,0.11);
    font-size: 14px;
}

.hero-visual {
    position: relative;
    padding: 18px;
    border-radius: var(--radius-lg);
    background: rgba(255,255,255,0.2);
    box-shadow: var(--shadow);
}

.hero-visual img {
    border-radius: 28px;
    width: 100%;
    min-height: 280px;
    object-fit: cover;
    background: #ffffff;
}

.float-card {
    position: absolute;
    padding: 10px 13px;
    border-radius: 16px;
    background: rgba(255,255,255,0.94);
    color: #1f2937;
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.14);
    font-weight: 800;
    font-size: 13px;
}

.float-card.one { left: 4px; top: 22%; }
.float-card.two { right: 0; top: 14%; }
.float-card.three { left: 26px; bottom: 10%; }
.float-card.four { right: 18px; bottom: 18%; }

.product-highlights {
    margin-top: -6px;
}

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

.highlight-card,
.info-card,
.risk-card,
.faq-item,
.step-card,
.simple-card {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 22px;
    box-shadow: 0 10px 26px rgba(15, 23, 42, 0.05);
}

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

.highlight-card h3,
.info-card h3,
.risk-card h3,
.step-card h3,
.simple-card h3,
.faq-item h3 {
    margin: 0 0 10px;
    line-height: 1.28;
}

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

.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: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: #ffffff;
    box-shadow: var(--shadow);
}

.feature-panel.gradient-card {
    color: #ffffff;
    background: var(--gradient);
    border: 0;
}

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

.feature-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--soft-blue);
    box-shadow: var(--shadow);
}

.feature-image img {
    width: 100%;
    min-height: 260px;
    object-fit: cover;
}

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

.feature-list li {
    padding: 12px 14px;
    border-radius: 16px;
    background: var(--soft);
    color: #334155;
}

.gradient-background {
    background: var(--gradient);
    color: #ffffff;
}

.gradient-background .section-lead {
    color: rgba(255,255,255,0.88);
}

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

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

.privacy-grid,
.no-log-policy-section,
.encryption-protocol-section,
.risk-grid,
.faq-grid,
.related-grid,
.check-grid {
    display: grid;
    gap: 16px;
}

.no-log-policy-section .info-card {
    border-top: 4px solid var(--blue);
}

.multi-device-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
}

.device-card {
    border-radius: 22px;
    padding: 20px;
    background: #ffffff;
    border: 1px solid var(--border);
}

.tech-panel {
    border-radius: var(--radius-lg);
    padding: 24px;
    background: #0f172a;
    color: #ffffff;
}

.tech-panel p {
    color: rgba(255,255,255,0.8);
}

.protocol-lines {
    display: grid;
    gap: 12px;
    margin-top: 22px;
}

.protocol-line {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    padding: 13px 0;
    border-bottom: 1px solid rgba(255,255,255,0.14);
}

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

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

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

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

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

.risk-card strong {
    display: block;
    margin-top: 10px;
    color: #334155;
}

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

.cta-section {
    position: relative;
    margin: 40px auto 70px;
    padding: 42px 24px;
    border-radius: var(--radius-lg);
    text-align: center;
    color: #ffffff;
    background: var(--gradient);
    overflow: hidden;
}

.cta-section::after {
    content: "";
    position: absolute;
    width: 260px;
    height: 260px;
    right: -80px;
    bottom: -120px;
    border-radius: 999px;
    background: rgba(255,255,255,0.14);
}

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

.content-hero {
    padding: 54px 0 28px;
    background: linear-gradient(180deg, #f4f7ff 0%, #ffffff 100%);
}

.content-hero h1 {
    margin: 16px 0 14px;
    font-size: clamp(32px, 6vw, 54px);
    line-height: 1.12;
    letter-spacing: -0.05em;
}

.content-layout {
    display: grid;
    gap: 24px;
    padding: 42px 0 70px;
}

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

.article-card h2 {
    margin-top: 0;
    letter-spacing: -0.03em;
}

.article-card p {
    color: #475569;
}

.side-panel {
    background: var(--soft);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 22px;
    align-self: start;
}

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

.side-panel a {
    display: block;
    color: var(--blue);
    font-weight: 700;
    padding: 8px 0;
}

.operation-list {
    margin: 0;
    padding-left: 18px;
    color: #475569;
}

.operation-list li {
    margin: 8px 0;
}

.download-page-panel {
    text-align: center;
    max-width: 840px;
    margin: 0 auto;
}

.download-page-panel .download-btn {
    margin: 12px 0 28px;
}

.site-footer {
    background: #111827;
    color: #d1d5db;
    padding: 52px 0 0;
}

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

.footer-logo {
    color: #ffffff;
    margin-bottom: 16px;
}

.site-footer p {
    color: #9ca3af;
}

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

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

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

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

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

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

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

    .multi-device-cards {
        grid-template-columns: repeat(3, 1fr);
    }

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

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

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

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

    .hero-grid,
    .feature-split,
    .vpn-connection-section,
    .high-speed-section,
    .global-nodes-section,
    .multi-device-section {
        grid-template-columns: 1.02fr 0.98fr;
    }

    .hero-copy {
        padding: 70px 0 40px;
    }

    .hero-visual {
        margin-top: 40px;
    }

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

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

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

    .privacy-protection-section {
        grid-template-columns: 1.1fr 0.9fr;
        align-items: center;
    }

    .encryption-protocol-section {
        grid-template-columns: 1.1fr 0.9fr;
    }

    .section {
        padding: 84px 0;
    }
}

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

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .download-btn {
        width: 100%;
    }

    .float-card {
        position: static;
        display: inline-flex;
        margin: 8px 6px 0 0;
    }

    .hero-visual {
        padding: 12px;
    }

    .article-card,
    .feature-panel,
    .privacy-panel,
    .safety-panel {
        padding: 20px;
    }
}
