* {
    box-sizing: border-box;
}

:root {
    --gradient: linear-gradient(90deg, #3558F2 0%, #7B4EF1 50%, #B84DDA 100%);
    --blue: #2980FE;
    --blue-hover: #1768E8;
    --text: #1f2937;
    --muted: #667085;
    --light: #f5f8ff;
    --line: #e6eaf2;
    --white: #ffffff;
    --card: #ffffff;
    --shadow: 0 20px 55px rgba(31, 41, 55, 0.08);
    --radius-lg: 30px;
    --radius-md: 22px;
}

html {
    scroll-behavior: smooth;
}

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

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

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

p {
    margin: 0 0 16px;
}

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

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

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

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

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

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

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

.nav-toggle span {
    width: 100%;
    height: 2px;
    border-radius: 99px;
    background: #293145;
}

.site-nav {
    position: absolute;
    top: 72px;
    left: 16px;
    right: 16px;
    padding: 16px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 22px;
    box-shadow: var(--shadow);
    display: none;
    grid-template-columns: 1fr;
    gap: 8px;
}

.site-nav.open {
    display: grid;
}

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

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

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

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

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--blue);
    font-weight: 750;
}

.text-link::after {
    content: "→";
    line-height: 1;
}

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

.vpn-saas-hero {
    position: relative;
    padding: 46px 0 70px;
    overflow: hidden;
    color: #fff;
    background: var(--gradient);
    isolation: isolate;
}

.vpn-saas-hero::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: 100px;
    background: #f7f9fc;
    clip-path: polygon(0 64%, 100% 25%, 100% 100%, 0 100%);
    z-index: -1;
}

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

.hero-copy h1 {
    margin: 12px 0 16px;
    font-size: clamp(34px, 8vw, 64px);
    line-height: 1.08;
    letter-spacing: -0.05em;
}

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

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

.hero-note {
    color: rgba(255,255,255,0.88);
    font-weight: 700;
}

.hero-tags,
.visual-tags,
.tag-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.hero-tags span,
.visual-tags span,
.tag-row span {
    display: inline-flex;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(255,255,255,0.16);
    border: 1px solid rgba(255,255,255,0.22);
    color: rgba(255,255,255,0.92);
    font-size: 13px;
    font-weight: 750;
}

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

.product-orbit {
    position: relative;
    padding: 22px;
    border-radius: 34px;
    background: rgba(255,255,255,0.17);
    border: 1px solid rgba(255,255,255,0.24);
    box-shadow: 0 24px 70px rgba(0,0,0,0.16);
}

.product-orbit img {
    width: 100%;
    max-height: 430px;
    object-fit: contain;
    border-radius: 28px;
}

.floating-card {
    position: absolute;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 13px;
    border-radius: 16px;
    background: rgba(255,255,255,0.92);
    color: #26324a;
    font-weight: 800;
    box-shadow: 0 18px 40px rgba(20,32,70,0.16);
    border: 1px solid rgba(255,255,255,0.55);
    font-size: 13px;
}

.floating-card.card-a { top: 8%; left: 0; }
.floating-card.card-b { top: 22%; right: -4px; }
.floating-card.card-c { bottom: 16%; left: -4px; }
.floating-card.card-d { bottom: 4%; right: 14%; }

.section,
.product-highlights,
.vpn-connection-section,
.high-speed-section,
.global-nodes-section,
.privacy-protection-section,
.no-log-policy-section,
.multi-device-section,
.encryption-protocol-section,
.process-section,
.safety-section,
.faq-preview,
.cta-section,
.page-section {
    padding: 58px 0;
}

.section-head {
    max-width: 740px;
    margin-bottom: 28px;
}

.section-head.center {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.section-head h2,
.page-hero h1,
.page-content h2 {
    margin: 12px 0 12px;
    line-height: 1.18;
    letter-spacing: -0.035em;
}

.section-head h2 {
    font-size: clamp(28px, 5vw, 44px);
}

.section-head p {
    color: var(--muted);
    font-size: 16px;
}

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

.highlight-card,
.info-card,
.risk-card,
.faq-card,
.step-card,
.page-card,
.tip-box,
.check-card {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    box-shadow: 0 10px 32px rgba(16, 24, 40, 0.04);
}

.highlight-card {
    padding: 22px;
}

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

.highlight-card h3,
.info-card h3,
.risk-card h3,
.step-card h3,
.page-card h3,
.check-card h3 {
    margin: 0 0 10px;
    font-size: 19px;
}

.highlight-card p,
.info-card p,
.risk-card p,
.step-card p,
.page-card p,
.check-card p,
.tip-box p,
.faq-card p {
    color: var(--muted);
}

.feature-panel {
    display: grid;
    gap: 24px;
    align-items: center;
    padding: 24px;
    border-radius: var(--radius-lg);
    background: var(--white);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
}

.feature-panel.alt {
    background: linear-gradient(180deg, #ffffff 0%, #f3f7ff 100%);
}

.feature-panel.soft {
    box-shadow: none;
    background: #f2f6fd;
}

.feature-copy h2,
.privacy-panel h2,
.protocol-panel h2,
.cta-inner h2 {
    margin: 0 0 14px;
    line-height: 1.2;
    font-size: clamp(26px, 5vw, 40px);
    letter-spacing: -0.035em;
}

.feature-copy p {
    color: var(--muted);
}

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

.feature-list li,
.page-list li,
.clean-list li {
    position: relative;
    padding-left: 26px;
    color: #465064;
}

.feature-list li::before,
.page-list li::before,
.clean-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 12px;
    width: 9px;
    height: 9px;
    border-radius: 99px;
    background: var(--blue);
    box-shadow: 0 0 0 5px #e8f2ff;
}

.visual-card {
    padding: 18px;
    border-radius: 26px;
    background: #f8fbff;
    border: 1px solid var(--line);
}

.visual-card img {
    border-radius: 22px;
    margin: 0 auto;
}

.speed-grid,
.nodes-grid,
.privacy-grid,
.log-grid,
.device-grid,
.protocol-grid,
.risk-grid,
.faq-grid,
.page-grid,
.check-grid {
    display: grid;
    gap: 16px;
}

.info-card,
.risk-card,
.faq-card,
.step-card,
.page-card,
.check-card {
    padding: 22px;
}

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

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

.privacy-layout,
.protocol-layout {
    display: grid;
    gap: 24px;
    align-items: center;
}

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

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

.step-number {
    position: absolute;
    left: 22px;
    top: 22px;
    width: 36px;
    height: 36px;
    border-radius: 13px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: var(--blue);
    font-weight: 900;
}

.page-hero {
    padding: 54px 0 40px;
    background: linear-gradient(180deg, #eef4ff 0%, #f7f9fc 100%);
}

.page-hero-inner {
    display: grid;
    gap: 18px;
    max-width: 850px;
}

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

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

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

.page-content {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    padding: 24px;
}

.page-content h2 {
    font-size: clamp(24px, 5vw, 34px);
}

.page-content p {
    color: #4b5565;
}

.page-sidebar {
    display: grid;
    gap: 16px;
    align-content: start;
}

.tip-box {
    padding: 20px;
    background: #f9fbff;
}

.faq-list {
    display: grid;
    gap: 14px;
}

.faq-item {
    padding: 22px;
    border-radius: 22px;
    background: var(--white);
    border: 1px solid var(--line);
}

.faq-item h2,
.faq-item h3 {
    margin: 0 0 8px;
    font-size: 19px;
}

.faq-item p {
    color: var(--muted);
}

.cta-section {
    padding-bottom: 78px;
}

.cta-inner {
    padding: 32px 22px;
    text-align: center;
    color: #fff;
    background: var(--gradient);
    border-radius: 34px;
    overflow: hidden;
    position: relative;
}

.cta-inner::before {
    content: "";
    position: absolute;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    right: -80px;
    top: -110px;
    background: rgba(255,255,255,0.16);
}

.cta-inner p {
    color: rgba(255,255,255,0.86);
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
}

.cta-inner .download-btn {
    margin-top: 10px;
}

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

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

.footer-brand {
    color: #fff;
    margin-bottom: 12px;
}

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

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

.site-footer p {
    color: #aab3c2;
}

.footer-bottom {
    margin-top: 30px;
    padding-top: 18px;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: #98a2b3;
    font-size: 14px;
}

@media (min-width: 640px) {
    .highlights-grid,
    .speed-grid,
    .nodes-grid,
    .privacy-grid,
    .log-grid,
    .device-grid,
    .protocol-grid,
    .risk-grid,
    .faq-grid,
    .page-grid,
    .check-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

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

    .site-nav {
        position: static;
        display: flex;
        align-items: center;
        justify-content: flex-end;
        padding: 0;
        border: 0;
        box-shadow: none;
        background: transparent;
        gap: 2px;
    }

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

    .hero-grid,
    .feature-panel,
    .privacy-layout,
    .protocol-layout,
    .page-layout {
        grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
    }

    .vpn-saas-hero {
        padding: 72px 0 108px;
    }

    .feature-panel.reverse .visual-card {
        order: -1;
    }

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

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

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

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

    .page-content {
        padding: 36px;
    }
}

@media (min-width: 1120px) {
    .site-nav a {
        padding: 9px 12px;
    }

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

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