* {
    box-sizing: border-box;
}

:root {
    --gradient: linear-gradient(90deg, #3558F2 0%, #7B4EF1 50%, #B84DDA 100%);
    --blue: #2980FE;
    --blue-dark: #1768E8;
    --text: #1f2937;
    --muted: #667085;
    --line: #e6eaf2;
    --light: #f5f7fb;
    --soft-blue: #eef5ff;
    --card: #ffffff;
    --radius: 28px;
    --shadow: 0 20px 55px rgba(31, 41, 55, .08);
}

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: #fff;
    line-height: 1.72;
    overflow-x: hidden;
}

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

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

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

h1, h2, h3 {
    margin: 0;
    line-height: 1.25;
    color: #111827;
}

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

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

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    color: #111827;
    white-space: nowrap;
}

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

.main-nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 4px;
    font-size: 14px;
}

.main-nav a {
    padding: 9px 11px;
    border-radius: 999px;
    color: #475467;
    transition: .2s ease;
}

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

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

.gradient-bg {
    background: var(--gradient);
}

.vpn-saas-hero {
    position: relative;
    overflow: hidden;
    color: #fff;
    background: var(--gradient);
    border-bottom-left-radius: 36px;
    border-bottom-right-radius: 36px;
}

.vpn-saas-hero::after {
    content: "";
    position: absolute;
    left: -6%;
    right: -6%;
    bottom: -68px;
    height: 135px;
    background: #fff;
    transform: rotate(-3deg);
    transform-origin: left center;
}

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

.hero-copy h1 {
    color: #fff;
    font-size: clamp(34px, 8vw, 64px);
    letter-spacing: -1.5px;
    margin-bottom: 18px;
}

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

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

.download-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 13px 24px;
    border-radius: 999px;
    background: #2980FE;
    color: #fff;
    font-weight: 750;
    box-shadow: 0 14px 28px rgba(41,128,254,.26);
    border: 0;
    cursor: pointer;
    transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
}

.download-btn:hover {
    background: #1768E8;
    transform: translateY(-2px);
    box-shadow: 0 18px 36px rgba(23,104,232,.3);
}

.security-tags,
.pill-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.security-tags span,
.pill,
.badge {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
}

.security-tags span {
    color: #fff;
    background: rgba(255,255,255,.15);
    border: 1px solid rgba(255,255,255,.22);
    padding: 8px 12px;
}

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

.product-frame {
    position: relative;
    width: min(520px, 100%);
    margin: 0 auto;
    padding: 22px;
    border-radius: 36px;
    background: rgba(255,255,255,.15);
    border: 1px solid rgba(255,255,255,.22);
    box-shadow: 0 35px 90px rgba(19, 35, 87, .28);
}

.product-frame img {
    border-radius: 28px;
    background: rgba(255,255,255,.92);
    box-shadow: 0 20px 55px rgba(19, 35, 87, .2);
}

.float-card {
    position: absolute;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 18px;
    background: rgba(255,255,255,.94);
    color: #1f2937;
    font-weight: 800;
    font-size: 13px;
    box-shadow: 0 18px 38px rgba(30, 44, 81, .18);
}

.float-card.one { top: 12px; left: 0; }
.float-card.two { top: 70px; right: 0; }
.float-card.three { bottom: 76px; left: 4px; }
.float-card.four { bottom: 20px; right: 20px; }

.section {
    padding: 70px 0;
}

.section.alt {
    background: var(--light);
}

.section-head {
    text-align: center;
    max-width: 780px;
    margin: 0 auto 32px;
}

.section-head h2,
.split-copy h2,
.page-header h1 {
    font-size: clamp(28px, 5vw, 44px);
    letter-spacing: -0.8px;
    margin-bottom: 14px;
}

.section-head p {
    font-size: 16px;
}

.product-highlights {
    position: relative;
    z-index: 4;
    margin-top: -38px;
}

.highlight-grid,
.card-grid,
.risk-grid,
.faq-grid,
.info-grid,
.related-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
}

.highlight-card,
.feature-card,
.risk-card,
.faq-item,
.info-card,
.related-card,
.step-card,
.panel-card,
.aside-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 24px;
    padding: 22px;
    box-shadow: 0 14px 34px rgba(31, 41, 55, .05);
}

.highlight-card {
    min-height: 190px;
}

.card-tag,
.badge {
    color: var(--blue);
    background: var(--soft-blue);
    padding: 6px 10px;
    margin-bottom: 12px;
}

.highlight-card h3,
.feature-card h3,
.risk-card h3,
.info-card h3,
.step-card h3,
.panel-card h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

.text-link {
    display: inline-flex;
    color: var(--blue);
    font-weight: 800;
    margin-top: 8px;
}

.text-link:hover {
    color: var(--blue-dark);
}

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

.split-panel,
.image-panel,
.privacy-protection-section,
.no-log-policy-section,
.safety-panel,
.cta-section {
    border-radius: 32px;
    padding: 26px;
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
}

.image-panel {
    background: linear-gradient(180deg, #f6f9ff 0%, #fff 100%);
}

.image-panel img {
    border-radius: 28px;
    margin: 0 auto;
}

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

.feature-list li,
.check-list li,
.clean-list li {
    position: relative;
    padding-left: 28px;
    color: #475467;
}

.feature-list li::before,
.check-list li::before,
.clean-list li::before {
    content: "";
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--blue);
    position: absolute;
    left: 4px;
    top: 11px;
}

.high-speed-section {
    background: linear-gradient(180deg, #f3f8ff 0%, #fff 100%);
    border-radius: 32px;
    padding: 24px;
    border: 1px solid var(--line);
}

.privacy-protection-section {
    background: linear-gradient(135deg, #ffffff 0%, #f6f9ff 100%);
}

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

.no-log-policy-section {
    background: #f9fbff;
}

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

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

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

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

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

.faq-item details {
    cursor: pointer;
}

.faq-item summary {
    font-weight: 850;
    color: #111827;
}

.faq-item p {
    margin-top: 12px;
}

.cta-section {
    text-align: center;
    color: #fff;
    background: var(--gradient);
    border: 0;
    overflow: hidden;
    position: relative;
}

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

.cta-section p {
    color: rgba(255,255,255,.84);
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}

.page-main {
    background: #fff;
}

.page-header {
    background: linear-gradient(180deg, #f2f7ff 0%, #ffffff 100%);
    padding: 58px 0 34px;
}

.page-header .container {
    max-width: 980px;
}

.page-summary {
    font-size: 17px;
    max-width: 820px;
}

.page-layout {
    width: min(1080px, calc(100% - 32px));
    margin: 0 auto;
    padding: 46px 0 70px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

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

.article-card h2 {
    font-size: 26px;
    margin: 18px 0 12px;
}

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

.article-card h3 {
    font-size: 20px;
    margin: 14px 0 8px;
}

.notice-box {
    border-radius: 24px;
    background: var(--soft-blue);
    border: 1px solid #d9e8ff;
    padding: 20px;
    margin: 22px 0;
}

.aside-stack {
    display: grid;
    gap: 18px;
    align-content: start;
}

.aside-card h3 {
    margin-bottom: 10px;
}

.aside-card a {
    display: block;
    color: var(--blue);
    font-weight: 800;
    margin-top: 8px;
}

.download-center {
    display: grid;
    grid-template-columns: 1fr;
    gap: 28px;
    align-items: center;
}

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

.download-steps li {
    list-style: none;
    counter-increment: step;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 22px;
    padding: 18px 18px 18px 64px;
    position: relative;
    color: #475467;
}

.download-steps li::before {
    content: counter(step);
    position: absolute;
    left: 18px;
    top: 18px;
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: var(--gradient);
    color: #fff;
    font-weight: 900;
}

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

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

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

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

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

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

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

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

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

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

@media (min-width: 680px) {
    .highlight-grid,
    .card-grid,
    .risk-grid,
    .info-grid,
    .related-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

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

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

@media (min-width: 980px) {
    .hero-inner {
        grid-template-columns: 1.05fr .95fr;
        padding: 96px 0 130px;
    }

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

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

    .split-section,
    .vpn-connection-section,
    .high-speed-section,
    .global-nodes-section,
    .multi-device-section,
    .encryption-protocol-section,
    .privacy-layout,
    .download-center {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .info-grid.three,
    .card-grid.three,
    .risk-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

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

    .page-layout {
        grid-template-columns: minmax(0, 1fr) 320px;
        align-items: start;
    }

    .footer-inner {
        grid-template-columns: .95fr 1.35fr;
    }
}

@media (max-width: 760px) {
    .header-inner {
        align-items: flex-start;
        flex-direction: column;
        gap: 10px;
    }

    .main-nav {
        justify-content: flex-start;
        width: 100%;
        gap: 6px;
    }

    .main-nav a {
        font-size: 13px;
        padding: 8px 10px;
        background: #f6f8fb;
    }

    .section {
        padding: 52px 0;
    }

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

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

    .product-frame {
        margin-bottom: 12px;
    }

    .download-btn {
        width: 100%;
        max-width: 280px;
    }

    .hero-actions .download-btn,
    .cta-section .download-btn,
    .article-card .download-btn {
        width: 100%;
    }

    .article-card,
    .split-panel,
    .image-panel,
    .privacy-protection-section,
    .no-log-policy-section,
    .safety-panel,
    .cta-section {
        padding: 22px;
        border-radius: 24px;
    }
}
