* {
    box-sizing: border-box;
}

:root {
    --gradient: linear-gradient(90deg, #3558F2 0%, #7B4EF1 50%, #B84DDA 100%);
    --blue: #2980FE;
    --blue-dark: #1768E8;
    --ink: #172033;
    --text: #4B5565;
    --muted: #7A8496;
    --line: #E6EAF2;
    --soft: #F5F7FB;
    --soft-blue: #F0F5FF;
    --white: #FFFFFF;
    --radius-xl: 32px;
    --radius-lg: 24px;
    --shadow: 0 18px 45px rgba(28, 45, 86, 0.09);
    --shadow-soft: 0 10px 28px rgba(32, 48, 89, 0.08);
}

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

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

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

p {
    margin: 0 0 16px;
}

h1,
h2,
h3 {
    color: var(--ink);
    line-height: 1.25;
    margin: 0 0 14px;
}

ul,
ol {
    padding-left: 20px;
    margin: 0;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.9);
}

.nav-shell {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    min-height: 68px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--ink);
    font-weight: 800;
    letter-spacing: -0.02em;
    white-space: nowrap;
}

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

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

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

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

.nav-toggle {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.nav-toggle-label {
    width: 42px;
    height: 42px;
    border: 1px solid var(--line);
    border-radius: 14px;
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    cursor: pointer;
}

.nav-toggle-label span {
    width: 18px;
    height: 2px;
    background: var(--ink);
    border-radius: 20px;
}

.nav-toggle:checked ~ .site-nav {
    display: flex;
}

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

.section {
    padding: 64px 0;
}

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

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

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

.section-title h2,
.subpage-hero h1 {
    font-size: clamp(28px, 4.5vw, 48px);
}

.section-title p,
.subpage-hero p {
    color: var(--muted);
    font-size: 17px;
}

.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;
    line-height: 1;
    box-shadow: 0 12px 26px rgba(41, 128, 254, 0.28);
    transition: transform .18s ease, background .18s ease, box-shadow .18s ease;
}

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

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

.link-arrow::after {
    content: "→";
    margin-left: 6px;
}

.vpn-saas-hero {
    padding: 40px 0 28px;
    background:
        radial-gradient(circle at 10% 10%, rgba(53, 88, 242, .16), transparent 34%),
        radial-gradient(circle at 90% 20%, rgba(184, 77, 218, .14), transparent 30%),
        #FFFFFF;
}

.hero-panel {
    position: relative;
    overflow: hidden;
    border-radius: 34px;
    padding: 34px 22px;
    color: #FFFFFF;
    background: var(--gradient);
    box-shadow: var(--shadow);
}

.hero-panel::after {
    content: "";
    position: absolute;
    inset: auto -10% -34% 28%;
    height: 62%;
    background: rgba(255, 255, 255, 0.16);
    transform: rotate(-7deg);
    border-radius: 42px;
}

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

.hero-copy h1 {
    color: #FFFFFF;
    font-size: clamp(34px, 8vw, 64px);
    letter-spacing: -0.04em;
}

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

.hero-tags,
.floating-tags,
.inline-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 20px 0 0;
}

.hero-tags span,
.floating-tags span,
.inline-tags span {
    display: inline-flex;
    align-items: center;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(255,255,255,.14);
    color: #FFFFFF;
    border: 1px solid rgba(255,255,255,.22);
    font-size: 13px;
    font-weight: 700;
}

.hero-copy .download-btn {
    margin-top: 20px;
    background: var(--blue);
}

.hero-visual {
    position: relative;
    min-height: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-visual img {
    width: min(440px, 86%);
    margin: 0 auto;
    filter: drop-shadow(0 26px 46px rgba(20, 23, 58, .26));
}

.status-card {
    position: absolute;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 13px;
    border-radius: 16px;
    background: rgba(255, 255, 255, .92);
    color: #23304A;
    font-weight: 800;
    box-shadow: 0 14px 28px rgba(11, 22, 64, .15);
    font-size: 13px;
}

.status-card.one { top: 18px; left: 4px; }
.status-card.two { top: 70px; right: 0; }
.status-card.three { bottom: 72px; left: 4px; }
.status-card.four { bottom: 14px; right: 12px; }

.product-highlights {
    margin-top: -8px;
}

.highlight-grid,
.card-grid,
.risk-grid,
.faq-grid,
.process-steps,
.device-grid,
.protocol-grid,
.policy-grid,
.about-grid,
.download-steps {
    display: grid;
    gap: 18px;
}

.highlight-card,
.info-card,
.risk-card,
.faq-item,
.step-card,
.protocol-card,
.policy-card,
.about-card,
.download-step,
.tip-box {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 22px;
    box-shadow: 0 10px 28px rgba(30, 45, 84, 0.05);
}

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

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

.feature-panel.soft {
    background: linear-gradient(180deg, #F7FAFF 0%, #FFFFFF 100%);
}

.feature-panel.gradient-lite {
    background:
        linear-gradient(135deg, rgba(41,128,254,.08), rgba(123,78,241,.05)),
        #FFFFFF;
}

.feature-panel .media {
    border-radius: 26px;
    padding: 18px;
    background: #F4F7FC;
    min-height: 260px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-panel .media img {
    max-height: 430px;
    object-fit: contain;
}

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

.feature-list li {
    list-style: none;
    position: relative;
    padding-left: 28px;
    color: #526071;
}

.feature-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 10px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--blue);
    box-shadow: 0 0 0 5px rgba(41, 128, 254, .13);
}

.high-speed-section {
    background: #F7F9FC;
}

.global-nodes-section {
    background: #FFFFFF;
}

.privacy-protection-section {
    background: #F7F9FC;
}

.privacy-panel {
    display: grid;
    gap: 20px;
    padding: 24px;
    border-radius: var(--radius-xl);
    background: #FFFFFF;
    border: 1px solid var(--line);
    box-shadow: var(--shadow-soft);
}

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

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

.no-log-policy-section,
.encryption-protocol-section {
    background:
        radial-gradient(circle at 0% 0%, rgba(41,128,254,.08), transparent 32%),
        #FFFFFF;
}

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

.multi-device-section {
    background: #F7F9FC;
}

.device-card {
    padding: 20px;
    border-radius: 26px;
    background: #FFFFFF;
    border: 1px solid var(--line);
}

.device-card img {
    margin: 0 auto 12px;
    max-height: 220px;
    object-fit: contain;
}

.process-steps {
    counter-reset: step;
}

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

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

.safety-panel {
    padding: 24px;
    border-radius: var(--radius-xl);
    background: linear-gradient(180deg, #FFFFFF 0%, #F7FAFF 100%);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-soft);
}

.risk-card p strong {
    color: var(--ink);
}

.faq-item h3 {
    font-size: 18px;
}

.cta-section {
    padding: 60px 0;
}

.cta-panel {
    border-radius: 34px;
    padding: 36px 24px;
    text-align: center;
    color: #FFFFFF;
    background: var(--gradient);
    box-shadow: var(--shadow);
}

.cta-panel h2 {
    color: #FFFFFF;
    font-size: clamp(28px, 5vw, 46px);
}

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

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

.subpage-hero {
    padding: 58px 0 34px;
    background:
        linear-gradient(180deg, #F7FAFF 0%, #FFFFFF 100%);
}

.subpage-hero .container {
    max-width: 940px;
}

.subpage-layout {
    width: min(1120px, calc(100% - 32px));
    margin: 0 auto;
    padding: 28px 0 68px;
    display: grid;
    gap: 22px;
}

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

.article-card h2 {
    font-size: 25px;
    margin-top: 8px;
}

.article-card .download-btn {
    margin-top: 18px;
}

.side-panel {
    display: grid;
    gap: 16px;
    align-content: start;
}

.side-panel .tip-box {
    background: #F7FAFF;
    box-shadow: none;
}

.check-list {
    display: grid;
    gap: 12px;
    margin: 18px 0;
}

.check-list li {
    list-style: none;
    padding: 13px 14px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: #FAFBFF;
}

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

.download-hero {
    padding: 58px 0;
    background:
        radial-gradient(circle at 10% 10%, rgba(53, 88, 242, .12), transparent 34%),
        linear-gradient(180deg, #F7FAFF 0%, #FFFFFF 100%);
}

.download-panel {
    width: min(940px, calc(100% - 32px));
    margin: 0 auto;
    display: grid;
    gap: 24px;
    padding: 24px;
    border-radius: 32px;
    background: #FFFFFF;
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
}

.download-panel img {
    max-height: 360px;
    object-fit: contain;
    margin: 0 auto;
}

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

.footer-grid {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    display: grid;
    gap: 24px;
}

.footer-brand,
.site-footer h3 {
    color: #FFFFFF;
    font-weight: 800;
    margin-bottom: 10px;
}

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

.site-footer a:hover {
    color: #FFFFFF;
}

.footer-bottom {
    width: min(1180px, calc(100% - 32px));
    margin: 30px auto 0;
    padding-top: 18px;
    border-top: 1px solid rgba(255,255,255,.1);
    color: #9CA3AF;
    font-size: 14px;
}

@media (min-width: 700px) {
    .highlight-grid,
    .card-grid,
    .risk-grid,
    .faq-grid,
    .privacy-cards,
    .policy-grid,
    .protocol-grid,
    .about-grid,
    .download-steps {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

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

@media (min-width: 960px) {
    .nav-toggle-label {
        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;
    }

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

    .hero-panel {
        padding: 58px 54px;
        border-radius: 42px;
    }

    .hero-content {
        grid-template-columns: minmax(0, 1.04fr) minmax(360px, .96fr);
        align-items: center;
    }

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

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

    .feature-panel {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        padding: 38px;
    }

    .feature-panel.reverse .media {
        order: -1;
    }

    .privacy-panel {
        grid-template-columns: 1.05fr .95fr;
        align-items: center;
        padding: 38px;
    }

    .policy-grid,
    .protocol-grid,
    .risk-grid,
    .about-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

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

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

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

    .article-card {
        padding: 36px;
    }

    .download-panel {
        grid-template-columns: 1fr .8fr;
        align-items: center;
        padding: 38px;
    }

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

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

@media (max-width: 420px) {
    .nav-shell,
    .container,
    .subpage-layout,
    .download-panel,
    .footer-grid,
    .footer-bottom {
        width: min(100% - 24px, 1180px);
    }

    .hero-panel,
    .cta-panel {
        border-radius: 26px;
    }

    .hero-panel,
    .article-card,
    .feature-panel,
    .privacy-panel,
    .safety-panel,
    .download-panel {
        padding: 20px;
    }

    .download-btn {
        width: 100%;
    }

    .status-card {
        font-size: 12px;
        padding: 8px 10px;
    }
}
