* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", Arial, sans-serif;
    color: #263245;
    background: #f6f8fc;
    line-height: 1.72;
    overflow-x: hidden;
}

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

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

.content-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(18px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.9);
}

.nav-wrap {
    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: #162033;
    letter-spacing: -0.02em;
}

.logo img {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    object-fit: cover;
    box-shadow: 0 10px 22px rgba(41, 128, 254, 0.18);
}

.menu-toggle {
    border: 1px solid #dce4f2;
    background: #fff;
    color: #263245;
    border-radius: 999px;
    padding: 9px 16px;
    font-weight: 700;
}

.site-nav {
    display: none;
    position: absolute;
    left: 16px;
    right: 16px;
    top: 76px;
    flex-direction: column;
    padding: 14px;
    border-radius: 24px;
    background: #fff;
    border: 1px solid #e6ebf4;
    box-shadow: 0 24px 60px rgba(16, 24, 40, 0.12);
}

.site-nav.is-open {
    display: flex;
}

.site-nav a {
    padding: 12px 14px;
    border-radius: 14px;
    color: #566174;
    font-weight: 700;
    font-size: 14px;
}

.site-nav a.active,
.site-nav a:hover {
    color: #2980FE;
    background: #eef5ff;
}

.download-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 12px 24px;
    border-radius: 999px;
    background: #2980FE;
    color: #fff;
    font-weight: 800;
    box-shadow: 0 14px 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: #1768E8;
    transform: translateY(-2px);
    box-shadow: 0 16px 34px rgba(23, 104, 232, 0.32);
}

.gradient-bg,
.vpn-saas-hero,
.cta-section {
    background: linear-gradient(90deg, #3558F2 0%, #7B4EF1 50%, #B84DDA 100%);
}

.vpn-saas-hero {
    position: relative;
    margin: 26px auto 64px;
    width: min(1180px, calc(100% - 24px));
    overflow: hidden;
    color: #fff;
    border-radius: 34px;
    padding: 42px 22px;
    box-shadow: 0 32px 70px rgba(53, 88, 242, 0.22);
}

.vpn-saas-hero:after {
    content: "";
    position: absolute;
    inset: auto -12% -38% 26%;
    height: 56%;
    background: rgba(255, 255, 255, 0.16);
    transform: skewY(-8deg);
    border-radius: 60px;
}

.hero-inner {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 30px;
}

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

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

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

.hero-tags span,
.status-tags span,
.inline-tags span,
.category-badge {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 7px 12px;
    font-weight: 800;
    font-size: 13px;
}

.hero-tags span,
.status-tags span {
    color: #fff;
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.24);
}

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

.product-frame {
    width: min(420px, 92%);
    padding: 18px;
    border-radius: 36px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 30px 80px rgba(20, 24, 61, 0.26);
}

.product-frame img {
    border-radius: 28px;
    width: 100%;
    object-fit: cover;
}

.float-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.95);
    color: #1b2b45;
    padding: 12px 16px;
    border-radius: 18px;
    box-shadow: 0 16px 38px rgba(20, 24, 61, 0.16);
    font-weight: 800;
    font-size: 13px;
}

.float-card.one { top: 22px; left: 0; }
.float-card.two { top: 72px; right: 8px; }
.float-card.three { bottom: 58px; left: 10px; }
.float-card.four { bottom: 10px; right: 18px; }

.section {
    padding: 56px 0;
}

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

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

.section-eyebrow {
    display: inline-flex;
    color: #2980FE;
    background: #eef5ff;
    border-radius: 999px;
    padding: 6px 12px;
    font-weight: 900;
    font-size: 13px;
    margin-bottom: 12px;
}

.section h2,
.page-content h2 {
    margin: 0 0 12px;
    font-size: clamp(26px, 5vw, 42px);
    line-height: 1.2;
    color: #162033;
    letter-spacing: -0.03em;
}

.section p,
.page-content p,
.card p,
.highlight-card p,
.faq-item p,
.risk-card p,
.step-card p {
    color: #667085;
    margin: 0;
}

.product-highlights {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: -28px;
    position: relative;
    z-index: 3;
}

.highlight-card,
.card,
.risk-card,
.step-card,
.faq-item,
.info-box,
.side-panel {
    background: #fff;
    border: 1px solid #e7edf6;
    border-radius: 26px;
    box-shadow: 0 18px 45px rgba(16, 24, 40, 0.06);
}

.highlight-card {
    padding: 22px;
}

.highlight-card .tag,
.card .tag {
    display: inline-flex;
    margin-bottom: 14px;
    color: #2980FE;
    background: #eef5ff;
    border-radius: 999px;
    padding: 5px 10px;
    font-size: 12px;
    font-weight: 900;
}

.highlight-card h3,
.card h3,
.risk-card h3,
.step-card h3,
.faq-item h3,
.info-box h3,
.side-panel h3 {
    margin: 0 0 9px;
    color: #182236;
    line-height: 1.28;
}

.text-link {
    display: inline-flex;
    margin-top: 14px;
    color: #2980FE;
    font-weight: 800;
}

.feature-panel,
.vpn-connection-section,
.high-speed-section,
.global-nodes-section,
.multi-device-section,
.encryption-protocol-section {
    display: grid;
    gap: 26px;
    align-items: center;
    padding: 24px;
    border-radius: 34px;
    background: #fff;
    border: 1px solid #e7edf6;
    box-shadow: 0 22px 58px rgba(16, 24, 40, 0.07);
}

.high-speed-section,
.multi-device-section {
    background: linear-gradient(180deg, #f7fbff 0%, #ffffff 100%);
}

.feature-media {
    overflow: hidden;
    border-radius: 30px;
    background: #eef4ff;
    min-height: 240px;
    display: grid;
    place-items: center;
}

.feature-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

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

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

.feature-list li:before,
.clean-list li:before {
    content: "";
    position: absolute;
    left: 0;
    top: 12px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #2980FE;
}

.global-card-grid,
.privacy-grid,
.policy-grid,
.device-grid,
.protocol-grid,
.related-grid,
.faq-grid,
.card-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

.privacy-protection-section {
    padding: 28px;
    border-radius: 34px;
    background: #fff;
    border: 1px solid #e7edf6;
    box-shadow: 0 22px 58px rgba(16, 24, 40, 0.07);
}

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

.privacy-card,
.policy-card,
.device-card,
.protocol-card {
    padding: 20px;
    border-radius: 24px;
    background: #f8fafd;
    border: 1px solid #e7edf6;
}

.no-log-policy-section {
    border-radius: 34px;
    padding: 30px;
    background: linear-gradient(135deg, #ffffff 0%, #f4f8ff 100%);
    border: 1px solid #e7edf6;
}

.encryption-protocol-section {
    background: linear-gradient(135deg, #f8fbff 0%, #ffffff 100%);
}

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

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

.step-num {
    width: 38px;
    height: 38px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    background: #2980FE;
    color: #fff;
    font-weight: 900;
    margin-bottom: 14px;
}

.safety-panel {
    padding: 28px;
    border-radius: 34px;
    background: #f2f6ff;
    border: 1px solid #dfe8f7;
}

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

.risk-card {
    padding: 22px;
    border-left: 4px solid #2980FE;
}

.faq-item {
    padding: 22px;
}

.cta-section {
    width: min(1120px, calc(100% - 32px));
    margin: 48px auto 72px;
    border-radius: 36px;
    padding: 46px 24px;
    color: #fff;
    text-align: center;
    box-shadow: 0 32px 70px rgba(53, 88, 242, 0.22);
}

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

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

.page-hero {
    margin: 26px auto 28px;
    width: min(1120px, calc(100% - 32px));
    padding: 38px 24px;
    border-radius: 34px;
    background: linear-gradient(90deg, #3558F2 0%, #7B4EF1 50%, #B84DDA 100%);
    color: #fff;
    overflow: hidden;
}

.page-hero p {
    max-width: 760px;
    color: rgba(255, 255, 255, 0.88);
    margin: 0;
}

.category-badge {
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.26);
    color: #fff;
    margin-bottom: 14px;
}

.page-shell {
    display: grid;
    gap: 22px;
    padding-bottom: 64px;
}

.page-content,
.page-aside {
    min-width: 0;
}

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

.content-card {
    background: #fff;
    border: 1px solid #e7edf6;
    border-radius: 30px;
    padding: 24px;
    box-shadow: 0 18px 45px rgba(16, 24, 40, 0.06);
}

.content-card.accent {
    background: linear-gradient(180deg, #f7fbff 0%, #ffffff 100%);
}

.page-actions {
    padding: 24px;
    border-radius: 30px;
    background: #fff;
    border: 1px solid #e7edf6;
    text-align: center;
}

.side-panel {
    padding: 22px;
    position: sticky;
    top: 98px;
}

.side-panel a {
    display: block;
    padding: 10px 0;
    color: #2980FE;
    font-weight: 800;
    border-bottom: 1px solid #edf1f7;
}

.info-box {
    padding: 22px;
    background: #f8fafd;
}

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

.number-list li {
    counter-increment: item;
    position: relative;
    padding: 14px 14px 14px 54px;
    border-radius: 20px;
    background: #f8fafd;
    color: #536174;
}

.number-list li:before {
    content: counter(item);
    position: absolute;
    left: 14px;
    top: 14px;
    width: 28px;
    height: 28px;
    border-radius: 10px;
    background: #2980FE;
    color: #fff;
    display: grid;
    place-items: center;
    font-weight: 900;
}

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

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

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

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

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

.footer-bottom {
    width: min(1120px, calc(100% - 32px));
    margin: 30px auto 0;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: #98a2b3;
    font-size: 14px;
}

@media (min-width: 640px) {
    .product-highlights,
    .global-card-grid,
    .privacy-grid,
    .policy-grid,
    .device-grid,
    .protocol-grid,
    .related-grid,
    .faq-grid,
    .card-grid,
    .risk-grid,
    .process-steps,
    .footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

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

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

    .vpn-saas-hero {
        padding: 72px 58px;
        border-radius: 46px;
    }

    .hero-inner,
    .feature-panel,
    .vpn-connection-section,
    .high-speed-section,
    .global-nodes-section,
    .multi-device-section,
    .encryption-protocol-section,
    .privacy-layout,
    .page-shell {
        grid-template-columns: minmax(0, 1fr) minmax(330px, 0.86fr);
    }

    .page-shell {
        align-items: start;
    }

    .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));
    }

    .global-card-grid,
    .privacy-grid,
    .policy-grid,
    .device-grid,
    .protocol-grid,
    .related-grid,
    .faq-grid,
    .card-grid,
    .footer-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

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