* {
    box-sizing: border-box;
}

:root {
    --brand-gradient: linear-gradient(90deg, #3558F2 0%, #7B4EF1 50%, #B84DDA 100%);
    --blue: #2980FE;
    --blue-dark: #1768E8;
    --text: #1f2937;
    --muted: #667085;
    --light: #f5f7fb;
    --line: #e5e7eb;
    --card: #ffffff;
    --soft-blue: #eef5ff;
    --radius-lg: 32px;
    --radius-md: 24px;
    --shadow: 0 18px 48px rgba(31, 41, 55, 0.10);
}

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: var(--text);
    background: #ffffff;
    line-height: 1.75;
    overflow-x: hidden;
}

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

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

.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(16px);
    border-bottom: 1px solid rgba(229, 231, 235, 0.9);
}

.header-inner {
    min-height: 68px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.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-name {
    font-size: 20px;
}

.nav-toggle {
    border: 1px solid var(--line);
    background: #fff;
    color: var(--text);
    border-radius: 999px;
    padding: 8px 14px;
    font-weight: 700;
}

.site-nav {
    position: absolute;
    left: 16px;
    right: 16px;
    top: 68px;
    display: none;
    flex-direction: column;
    padding: 14px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 22px;
    box-shadow: var(--shadow);
}

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

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

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

.download-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 24px;
    background: var(--blue);
    color: #fff;
    border-radius: 999px;
    font-weight: 800;
    box-shadow: 0 14px 30px 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 18px 36px rgba(23, 104, 232, 0.30);
}

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

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

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

.vpn-saas-hero::after {
    content: "";
    position: absolute;
    right: -12%;
    bottom: -12%;
    width: 68%;
    height: 58%;
    background: rgba(255, 255, 255, 0.18);
    clip-path: polygon(18% 0, 100% 20%, 82% 100%, 0 82%);
    border-radius: 48px;
    z-index: -1;
}

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

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

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

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

.hero-tags span,
.float-tags span,
.inline-tags span {
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.24);
    font-size: 13px;
    font-weight: 700;
}

.hero-visual {
    position: relative;
    border-radius: 38px;
    padding: 18px;
    background: rgba(255, 255, 255, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.28);
    box-shadow: 0 30px 80px rgba(20, 27, 73, 0.25);
}

.hero-visual img {
    width: 100%;
    border-radius: 28px;
    background: #fff;
}

.float-card {
    position: absolute;
    min-width: 118px;
    background: rgba(255, 255, 255, 0.94);
    color: #24324a;
    border-radius: 18px;
    padding: 10px 12px;
    font-weight: 800;
    font-size: 13px;
    box-shadow: 0 16px 36px rgba(31, 41, 55, 0.18);
}

.float-card.one { top: 12%; left: -8px; }
.float-card.two { top: 42%; right: -8px; }
.float-card.three { bottom: 18%; left: 8px; }
.float-card.four { bottom: 4%; right: 22px; }

.section {
    padding: 72px 0;
}

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

.section-heading {
    max-width: 760px;
    margin: 0 0 28px;
}

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

.section-heading h2,
.page-hero h1,
.content-main h2,
.feature-copy h2 {
    margin: 10px 0 12px;
    color: #111827;
    line-height: 1.2;
    letter-spacing: -0.03em;
}

.section-heading h2,
.feature-copy h2 {
    font-size: clamp(28px, 4vw, 42px);
}

.section-heading p,
.feature-copy p,
.page-hero p,
.card p,
.faq-item p,
.footer-grid p {
    color: var(--muted);
    margin: 0;
}

.product-highlights {
    margin-top: -24px;
    position: relative;
    z-index: 5;
}

.highlight-grid,
.card-grid,
.risk-grid,
.faq-grid,
.info-grid,
.page-card-grid {
    display: grid;
    gap: 18px;
}

.highlight-card,
.card,
.risk-card,
.faq-item,
.info-card,
.page-panel,
.step-card {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    padding: 22px;
    box-shadow: 0 12px 34px rgba(31, 41, 55, 0.06);
}

.highlight-card .mini-label,
.card .mini-label {
    color: var(--blue);
    font-size: 13px;
    font-weight: 800;
}

.highlight-card h3,
.card h3,
.risk-card h3,
.faq-item h3,
.info-card h3,
.step-card h3 {
    margin: 8px 0 8px;
    color: #111827;
    line-height: 1.3;
}

.feature-split,
.privacy-layout,
.multi-layout,
.tech-layout,
.page-layout,
.download-layout {
    display: grid;
    gap: 28px;
    align-items: center;
}

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

.feature-panel img,
.visual-card img,
.page-visual img {
    border-radius: 28px;
    background: var(--light);
}

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

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

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

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

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

.privacy-cards {
    display: grid;
    gap: 14px;
    margin-top: 20px;
}

.privacy-cards .info-card {
    box-shadow: none;
}

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

.visual-card {
    border-radius: 34px;
    padding: 16px;
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
}

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

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

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

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

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

.cta-section {
    margin: 72px auto;
    border-radius: 36px;
    padding: 42px 24px;
    color: #fff;
    text-align: center;
    background: var(--brand-gradient);
    overflow: hidden;
}

.cta-section h2 {
    margin: 0 0 12px;
    font-size: clamp(28px, 5vw, 42px);
    letter-spacing: -0.03em;
}

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

.page-hero {
    padding: 54px 0 34px;
    background: linear-gradient(180deg, #f5f8ff 0%, #ffffff 100%);
}

.page-hero h1 {
    font-size: clamp(32px, 6vw, 52px);
    max-width: 820px;
}

.page-hero p {
    max-width: 760px;
    font-size: 17px;
}

.content-main {
    padding: 46px 0 72px;
}

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

.content-main h2 {
    font-size: clamp(24px, 3vw, 34px);
    margin-top: 0;
}

.content-main p {
    color: #475467;
}

.page-panel + .page-panel {
    margin-top: 18px;
}

.sidebar {
    display: grid;
    gap: 18px;
}

.sidebar .page-panel {
    margin: 0;
}

.note-box,
.safety-panel {
    border-radius: var(--radius-md);
    padding: 22px;
    border: 1px solid #cfe1ff;
    background: #f3f8ff;
    color: #344054;
}

.download-layout .page-panel {
    box-shadow: var(--shadow);
}

.download-steps {
    margin: 22px 0;
    padding-left: 22px;
    color: #475467;
}

.download-steps li {
    margin: 10px 0;
}

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

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

.faq-page-item h2 {
    font-size: 22px;
    margin: 0 0 8px;
}

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

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

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

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

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

.footer-brand img {
    width: 40px;
    height: 40px;
}

.footer-bottom {
    margin-top: 32px;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    color: #98a2b3;
}

@media (min-width: 640px) {
    .highlight-grid,
    .card-grid,
    .risk-grid,
    .faq-grid,
    .info-grid,
    .page-card-grid,
    .process-steps {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

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

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

    .hero-grid,
    .feature-split,
    .privacy-layout,
    .multi-layout,
    .tech-layout,
    .download-layout {
        grid-template-columns: 1.05fr 0.95fr;
    }

    .feature-split.reverse {
        grid-template-columns: 0.95fr 1.05fr;
    }

    .feature-split.reverse .feature-copy {
        order: 2;
    }

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

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

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

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

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

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

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

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

@media (min-width: 1100px) {
    .hero-copy p {
        font-size: 18px;
    }
}
