* {
    box-sizing: border-box;
}

:root {
    --gradient: linear-gradient(90deg, #3558F2 0%, #7B4EF1 50%, #B84DDA 100%);
    --blue: #2980FE;
    --blue-dark: #1768E8;
    --text: #1f2937;
    --muted: #667085;
    --light: #f6f8fb;
    --line: #e6eaf2;
    --card: #ffffff;
    --shadow: 0 18px 45px rgba(40, 62, 110, .10);
    --radius: 28px;
}

html {
    scroll-behavior: smooth;
}

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

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

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

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

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

h1 {
    font-size: clamp(34px, 8vw, 64px);
    letter-spacing: -1.8px;
}

h2 {
    font-size: clamp(28px, 5vw, 44px);
    letter-spacing: -1px;
}

h3 {
    font-size: 20px;
}

ul, ol {
    margin: 0;
    padding-left: 20px;
    color: var(--muted);
}

main {
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 45%, #ffffff 100%);
}

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

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

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

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

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

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

.site-nav.open {
    display: grid;
    gap: 6px;
}

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

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

.nav-toggle {
    border: 0;
    background: #eef5ff;
    width: 44px;
    height: 44px;
    border-radius: 14px;
    display: grid;
    place-content: center;
    gap: 4px;
    cursor: pointer;
}

.nav-toggle span {
    width: 20px;
    height: 2px;
    background: #1f2937;
    border-radius: 8px;
}

.download-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 13px 24px;
    border-radius: 999px;
    background: var(--blue);
    color: #ffffff;
    font-weight: 800;
    box-shadow: 0 12px 25px rgba(41,128,254,.25);
    transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
    white-space: nowrap;
}

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

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

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

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

.hero-panel {
    position: relative;
    overflow: hidden;
    display: grid;
    gap: 36px;
    padding: 36px 24px;
    border-radius: 34px;
    background: var(--gradient);
    color: #ffffff;
    box-shadow: 0 28px 70px rgba(53,88,242,.22);
}

.hero-panel::after {
    content: "";
    position: absolute;
    inset: auto -8% -18% 28%;
    height: 44%;
    background: rgba(255,255,255,.16);
    transform: skewY(-8deg);
    border-radius: 40px 0 0 0;
}

.hero-copy,
.hero-visual {
    position: relative;
    z-index: 1;
}

.hero-copy h1,
.hero-copy p {
    color: #ffffff;
}

.hero-copy p {
    max-width: 640px;
    opacity: .92;
    font-size: 17px;
}

.hero-tags,
.visual-badges,
.inline-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 22px 0;
}

.hero-tags span,
.visual-badges span,
.inline-tags span,
.badge {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 800;
}

.hero-tags span,
.visual-badges span {
    color: #ffffff;
    background: rgba(255,255,255,.16);
    border: 1px solid rgba(255,255,255,.28);
}

.hero-visual {
    display: grid;
    place-items: center;
}

.product-mock {
    position: relative;
    width: min(460px, 100%);
    padding: 18px;
    border-radius: 34px;
    background: rgba(255,255,255,.16);
    border: 1px solid rgba(255,255,255,.28);
}

.product-mock img {
    width: 100%;
    border-radius: 28px;
    box-shadow: 0 22px 45px rgba(17,24,39,.18);
}

.float-card {
    position: absolute;
    right: 8px;
    bottom: -16px;
    padding: 14px 16px;
    border-radius: 18px;
    background: #ffffff;
    color: #1f2937;
    box-shadow: 0 14px 34px rgba(17,24,39,.16);
    font-weight: 800;
}

.float-card small {
    display: block;
    color: var(--muted);
    font-weight: 600;
}

.section {
    padding: 56px 0;
}

.section.alt {
    background: #f6f8fb;
}

.section-head {
    width: min(760px, 100%);
    margin-bottom: 28px;
}

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

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

.product-highlights {
    margin-top: -42px;
    position: relative;
    z-index: 2;
}

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

.highlight-card,
.info-card,
.risk-card,
.faq-item,
.step-card,
.side-card,
.notice-card {
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 24px;
    padding: 22px;
    box-shadow: 0 12px 35px rgba(40,62,110,.06);
}

.highlight-card .pill,
.pill {
    display: inline-flex;
    color: var(--blue);
    background: #eef5ff;
    border-radius: 999px;
    padding: 4px 10px;
    font-size: 13px;
    font-weight: 800;
    margin-bottom: 12px;
}

.feature-split,
.vpn-connection-section,
.high-speed-section,
.global-nodes-section,
.multi-device-section,
.encryption-protocol-section {
    display: grid;
    gap: 26px;
    align-items: center;
}

.feature-panel,
.privacy-protection-section,
.no-log-policy-section,
.tech-panel,
.download-panel,
.subpage-hero {
    border-radius: var(--radius);
    padding: 28px;
    background: #ffffff;
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
}

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

.gradient-background h2,
.gradient-background p,
.cta-section h2,
.cta-section p,
.cta-section h1 {
    color: #ffffff;
}

.image-card {
    padding: 16px;
    border-radius: 30px;
    background: linear-gradient(180deg, #ffffff, #f2f6ff);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
}

.image-card img {
    border-radius: 24px;
}

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

.feature-list li {
    padding: 12px 14px;
    border-radius: 16px;
    background: #f6f8fb;
    color: #4b5563;
    border: 1px solid #eef1f6;
}

.high-speed-section {
    border-radius: var(--radius);
    padding: 28px;
    background: #f3f7ff;
    border: 1px solid #dfe9ff;
}

.speed-meter {
    display: grid;
    gap: 12px;
    margin-top: 18px;
}

.speed-row {
    padding: 14px;
    border-radius: 18px;
    background: #ffffff;
    border: 1px solid var(--line);
}

.bar {
    height: 8px;
    margin-top: 10px;
    border-radius: 999px;
    background: linear-gradient(90deg, #2980FE 0%, #B84DDA 100%);
}

.global-nodes-section .node-list {
    display: grid;
    gap: 12px;
    margin-top: 18px;
}

.node-list span {
    padding: 12px 14px;
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 16px;
    color: #475467;
    font-weight: 700;
}

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

.privacy-grid,
.no-log-grid,
.device-grid,
.protocol-grid {
    display: grid;
    gap: 16px;
    margin-top: 24px;
}

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

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

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

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

.step-no {
    position: absolute;
    left: 20px;
    top: 22px;
    width: 38px;
    height: 38px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    color: #ffffff;
    background: var(--blue);
    font-weight: 900;
}

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

.risk-card strong {
    display: block;
    margin: 10px 0 4px;
    color: #111827;
}

.faq-item h3 {
    margin-bottom: 8px;
}

.cta-section {
    margin: 56px auto 0;
    border-radius: 34px;
    padding: 34px 24px;
    text-align: center;
    overflow: hidden;
    position: relative;
}

.cta-section::before {
    content: "";
    position: absolute;
    inset: -50% auto auto -10%;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: rgba(255,255,255,.18);
}

.cta-section > * {
    position: relative;
}

.subpage-wrap {
    padding: 44px 0 64px;
}

.subpage-hero {
    display: grid;
    gap: 18px;
    margin-bottom: 28px;
    background: linear-gradient(180deg, #ffffff 0%, #f6f9ff 100%);
}

.badge {
    color: var(--blue);
    background: #eef5ff;
    width: max-content;
}

.article-layout {
    display: grid;
    gap: 24px;
}

.article-main {
    display: grid;
    gap: 20px;
}

.article-block {
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 24px;
    padding: 24px;
}

.article-block h2 {
    font-size: 26px;
    margin-bottom: 12px;
}

.article-block h3 {
    margin-bottom: 8px;
}

.article-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    flex-wrap: wrap;
    background: var(--gradient);
    color: #ffffff;
    border-radius: 26px;
    padding: 24px;
}

.article-cta h2,
.article-cta p {
    color: #ffffff;
}

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

.check-list li {
    padding: 13px 14px;
    border-radius: 16px;
    background: #f6f8fb;
    border: 1px solid var(--line);
    color: #4b5563;
}

.check-list li::before {
    content: "✓";
    color: var(--blue);
    font-weight: 900;
    margin-right: 8px;
}

.side-card {
    position: sticky;
    top: 92px;
}

.side-card a {
    display: block;
    padding: 10px 0;
    color: var(--blue);
    font-weight: 800;
    border-bottom: 1px solid var(--line);
}

.side-card a:last-child {
    border-bottom: 0;
}

.download-page {
    display: grid;
    gap: 26px;
}

.download-panel {
    text-align: center;
    background: linear-gradient(180deg, #ffffff 0%, #f5f9ff 100%);
}

.download-panel .download-btn {
    margin-top: 14px;
}

.install-steps {
    counter-reset: install;
    display: grid;
    gap: 14px;
    padding: 0;
    list-style: none;
}

.install-steps li {
    counter-increment: install;
    padding: 18px 18px 18px 64px;
    border-radius: 20px;
    border: 1px solid var(--line);
    background: #ffffff;
    position: relative;
    color: var(--muted);
}

.install-steps li::before {
    content: counter(install);
    position: absolute;
    left: 18px;
    top: 18px;
    width: 32px;
    height: 32px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: var(--blue);
    color: #ffffff;
    font-weight: 900;
}

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

.site-footer p,
.site-footer a {
    color: #b7c0d1;
}

.footer-inner {
    display: grid;
    gap: 30px;
}

.footer-logo span {
    color: #ffffff;
}

.footer-brand p {
    max-width: 420px;
    margin-top: 14px;
}

.footer-links {
    display: grid;
    gap: 22px;
}

.footer-links h3 {
    color: #ffffff;
    margin-bottom: 10px;
}

.footer-links a {
    display: block;
    padding: 4px 0;
    font-size: 14px;
}

.footer-bottom {
    margin-top: 34px;
    padding: 18px 0;
    border-top: 1px solid rgba(255,255,255,.1);
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: space-between;
    font-size: 14px;
}

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

    .card-grid,
    .risk-grid,
    .faq-grid,
    .privacy-grid,
    .no-log-grid,
    .device-grid,
    .protocol-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) {
    .nav-toggle {
        display: none;
    }

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

    .hero-panel {
        grid-template-columns: 1.02fr .98fr;
        padding: 60px;
        min-height: 620px;
    }

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

    .feature-split,
    .vpn-connection-section,
    .global-nodes-section,
    .multi-device-section,
    .encryption-protocol-section {
        grid-template-columns: 1fr 1fr;
    }

    .high-speed-section {
        grid-template-columns: .9fr 1.1fr;
        padding: 40px;
    }

    .privacy-grid,
    .no-log-grid,
    .device-grid,
    .protocol-grid,
    .risk-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

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

    .footer-inner {
        grid-template-columns: .9fr 1.3fr;
        align-items: start;
    }
}

@media (max-width: 420px) {
    .header-inner,
    .container,
    .footer-inner,
    .footer-bottom {
        width: min(100% - 24px, 1160px);
    }

    .hero-panel,
    .feature-panel,
    .privacy-protection-section,
    .no-log-policy-section,
    .tech-panel,
    .download-panel,
    .subpage-hero,
    .article-block {
        padding: 22px;
        border-radius: 24px;
    }

    .download-btn {
        width: 100%;
    }

    .article-cta .download-btn {
        width: 100%;
    }
}
