* {
    box-sizing: border-box;
}

:root {
    --gradient: linear-gradient(90deg, #3558F2 0%, #7B4EF1 50%, #B84DDA 100%);
    --blue: #2980FE;
    --blue-dark: #1768E8;
    --text: #202736;
    --muted: #677083;
    --soft: #F5F7FB;
    --soft-blue: #EEF4FF;
    --line: #E5EAF2;
    --white: #FFFFFF;
    --radius-lg: 28px;
    --radius-md: 20px;
    --shadow: 0 18px 45px rgba(39, 55, 93, 0.10);
}

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

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

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(229, 234, 242, 0.85);
}

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

.brand,
.footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-img,
.footer-logo {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    object-fit: cover;
    background: var(--soft-blue);
}

.brand-text {
    font-weight: 800;
    letter-spacing: 0.02em;
    color: #14213D;
}

.nav-toggle {
    width: 42px;
    height: 42px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--white);
    font-size: 22px;
    color: var(--text);
}

.site-nav {
    position: absolute;
    top: 72px;
    left: 16px;
    right: 16px;
    display: none;
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: var(--white);
    box-shadow: var(--shadow);
}

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

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

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

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

.section {
    padding: 56px 0;
}

.section-title {
    margin: 0 0 12px;
    font-size: clamp(28px, 4vw, 42px);
    line-height: 1.2;
    color: #101828;
}

.section-lead {
    margin: 0;
    color: var(--muted);
    max-width: 780px;
}

.gradient-bg,
.vpn-dashboard-hero,
.cta-section {
    background: var(--gradient);
}

.vpn-dashboard-hero {
    color: var(--white);
    padding: 62px 0 54px;
    overflow: hidden;
    position: relative;
}

.vpn-dashboard-hero::after {
    content: "";
    position: absolute;
    width: 420px;
    height: 420px;
    right: -180px;
    top: -120px;
    background: rgba(255,255,255,0.18);
    border-radius: 50%;
}

.hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 34px;
    align-items: center;
}

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

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

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

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

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

.inline-tags span,
.category-badge {
    color: var(--blue);
    background: #EAF2FF;
}

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

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

.hero-panel {
    position: relative;
    display: grid;
    gap: 16px;
}

.device-frame {
    padding: 18px;
    border-radius: 30px;
    background: rgba(255,255,255,0.16);
    border: 1px solid rgba(255,255,255,0.22);
    box-shadow: 0 24px 80px rgba(0,0,0,0.15);
}

.device-frame img {
    width: 100%;
    border-radius: 24px;
    background: rgba(255,255,255,0.12);
}

.status-grid {
    display: grid;
    gap: 12px;
}

.status-card {
    padding: 14px 16px;
    border-radius: 18px;
    background: rgba(255,255,255,0.94);
    color: var(--text);
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.status-card strong {
    display: block;
    font-size: 15px;
}

.status-card span {
    color: var(--muted);
    font-size: 13px;
}

.service-index {
    margin-top: -28px;
    position: relative;
    z-index: 2;
}

.service-index-panel,
.card,
.article-shell,
.feature-panel,
.safety-panel,
.faq-item {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}

.service-index-panel {
    padding: 22px;
}

.service-index-head {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 18px;
}

.service-index-head h2,
.card h3,
.feature-copy h2,
.article-main h2,
.side-box h2 {
    margin: 0;
    color: #101828;
}

.service-grid,
.category-grid,
.risk-grid,
.faq-grid,
.step-grid {
    display: grid;
    gap: 16px;
}

.service-card {
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: #fff;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.service-card:hover {
    transform: translateY(-3px);
    border-color: rgba(41,128,254,0.35);
    box-shadow: 0 14px 30px rgba(39, 55, 93, 0.09);
}

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

.service-card h3 {
    font-size: 18px;
    margin: 0 0 8px;
}

.service-card p,
.card p,
.feature-copy p,
.article-main p,
.side-box p,
.faq-item p,
.risk-card p,
.step-card p,
.download-note p {
    color: var(--muted);
    margin: 0;
}

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

.feature-panel {
    padding: 22px;
    display: grid;
    gap: 22px;
    align-items: center;
}

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

.feature-media {
    border-radius: 24px;
    padding: 14px;
    background: linear-gradient(180deg, #F2F6FF 0%, #FFFFFF 100%);
    border: 1px solid var(--line);
}

.feature-copy ul,
.article-main ul,
.article-main ol,
.side-box ul,
.check-list {
    margin: 16px 0 0;
    padding-left: 20px;
    color: #425066;
}

.feature-copy li,
.article-main li,
.side-box li,
.check-list li {
    margin: 8px 0;
}

.vpn-connection-section,
.global-nodes-section,
.high-speed-section,
.privacy-protection-section,
.multi-device-section,
.no-log-policy-section,
.encryption-protocol-section {
    padding: 38px 0;
}

.high-speed-section,
.no-log-policy-section {
    background: var(--soft);
}

.privacy-protection-section .safety-panel,
.encryption-protocol-section .safety-panel {
    padding: 22px;
}

.safety-row {
    display: grid;
    gap: 14px;
    margin-top: 18px;
}

.safety-item {
    padding: 16px;
    border: 1px solid var(--line);
    border-left: 4px solid var(--blue);
    border-radius: 18px;
    background: #fff;
}

.process-steps {
    padding: 56px 0;
    background: #fff;
}

.step-card,
.risk-card,
.card {
    padding: 18px;
    border-radius: 20px;
    border: 1px solid var(--line);
    background: #fff;
}

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

.risk-grid {
    margin-top: 22px;
}

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

.risk-card strong,
.step-card strong {
    display: block;
    color: #101828;
    margin-bottom: 8px;
}

.faq-grid {
    margin-top: 22px;
}

.faq-item {
    padding: 18px;
    box-shadow: none;
}

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

.cta-section {
    color: #fff;
    text-align: center;
    padding: 58px 0;
}

.cta-box {
    width: min(820px, calc(100% - 32px));
    margin: 0 auto;
}

.cta-box h2 {
    margin: 0 0 10px;
    font-size: clamp(28px, 5vw, 44px);
}

.cta-box p {
    color: rgba(255,255,255,0.86);
    margin: 0 auto 22px;
    max-width: 680px;
}

.page-hero {
    padding: 54px 0 36px;
    background: linear-gradient(180deg, #EEF4FF 0%, #F8FAFD 100%);
}

.page-hero h1 {
    margin: 14px 0 12px;
    font-size: clamp(32px, 6vw, 52px);
    line-height: 1.15;
    color: #101828;
}

.page-hero p {
    margin: 0;
    max-width: 760px;
    color: var(--muted);
}

.article-shell {
    padding: 20px;
    margin: 24px auto 56px;
    display: grid;
    gap: 20px;
}

.article-main,
.article-side {
    min-width: 0;
}

.article-main h2 {
    font-size: 24px;
    margin-top: 28px;
    margin-bottom: 10px;
}

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

.article-main p + p {
    margin-top: 12px;
}

.side-box {
    padding: 18px;
    border-radius: 20px;
    background: #F6F9FF;
    border: 1px solid var(--line);
    margin-bottom: 16px;
}

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

.category-grid {
    margin-top: 20px;
}

.download-note {
    padding: 18px;
    border-radius: 20px;
    background: #F6F9FF;
    border: 1px solid var(--line);
    margin: 22px 0;
}

.notice-panel {
    padding: 20px;
    border-radius: 22px;
    background: linear-gradient(180deg, #FFFFFF 0%, #F5F8FF 100%);
    border: 1px solid var(--line);
}

.site-footer {
    background: #FFFFFF;
    border-top: 1px solid var(--line);
}

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

.footer-brand p {
    margin: 4px 0 0;
    color: var(--muted);
}

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

.footer-links h3 {
    margin: 0 0 8px;
    font-size: 16px;
}

.footer-links a {
    display: block;
    margin: 7px 0;
    color: var(--muted);
}

.footer-links a:hover {
    color: var(--blue);
}

.footer-bottom {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 18px 0 28px;
    border-top: 1px solid var(--line);
    display: flex;
    flex-direction: column;
    gap: 8px;
    color: var(--muted);
    font-size: 14px;
}

@media (min-width: 640px) {
    .service-grid,
    .category-grid,
    .risk-grid,
    .faq-grid,
    .step-grid,
    .status-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

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

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

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

    .hero-grid {
        grid-template-columns: minmax(0, 1.05fr) minmax(360px, .95fr);
    }

    .hero-panel {
        grid-template-columns: 1fr;
    }

    .status-grid {
        grid-template-columns: repeat(5, minmax(0, 1fr));
        margin-top: -40px;
        padding: 0 10px;
    }

    .status-card {
        min-height: 82px;
    }

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

    .service-card:first-child,
    .service-card:nth-child(2) {
        grid-column: span 2;
    }

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

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

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

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

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

    .article-shell {
        grid-template-columns: minmax(0, 1fr) 300px;
        padding: 30px;
    }

    .article-side {
        position: sticky;
        top: 96px;
        align-self: start;
    }

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

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

    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
    }
}

@media (min-width: 1120px) {
    .site-nav a {
        padding: 9px 13px;
        font-size: 15px;
    }

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