* {
    box-sizing: border-box;
}

:root {
    --gradient: linear-gradient(90deg, #3558F2 0%, #7B4EF1 50%, #B84DDA 100%);
    --blue: #2980FE;
    --blue-dark: #1768E8;
    --text: #202635;
    --muted: #5F687A;
    --light: #F5F7FB;
    --soft: #EEF3FF;
    --border: #E4E9F2;
    --card: #FFFFFF;
    --shadow: 0 18px 45px rgba(35, 70, 150, 0.10);
    --radius: 24px;
}

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

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

img {
    max-width: 100%;
    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 var(--border);
}

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

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

.logo {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    object-fit: cover;
    border: 1px solid var(--border);
}

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

.nav-toggle {
    width: 44px;
    height: 44px;
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: #fff;
}

.nav-toggle span {
    width: 20px;
    height: 2px;
    border-radius: 10px;
    background: #2c3444;
}

.site-nav {
    position: absolute;
    left: 14px;
    right: 14px;
    top: 74px;
    display: none;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    padding: 14px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 18px;
    box-shadow: var(--shadow);
}

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

.site-nav a {
    color: #2e3648;
    font-size: 14px;
    padding: 10px 12px;
    border-radius: 12px;
    background: #F8FAFE;
}

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

.download-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 24px;
    border-radius: 999px;
    background: var(--blue);
    color: #fff;
    font-weight: 750;
    letter-spacing: 0.02em;
    box-shadow: 0 12px 26px rgba(41, 128, 254, 0.24);
    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 30px rgba(23, 104, 232, 0.28);
}

.vpn-dashboard-hero {
    background: var(--gradient);
    color: #fff;
    padding: 54px 0 42px;
    position: relative;
    overflow: hidden;
}

.vpn-dashboard-hero::after {
    content: "";
    position: absolute;
    inset: auto -12% -34% 20%;
    height: 280px;
    background: rgba(255,255,255,0.15);
    filter: blur(50px);
    border-radius: 999px;
}

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

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

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

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

.hero-tags span,
.pill-row span,
.badge {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 7px 12px;
    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);
    color: #fff;
}

.hero-panel {
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.22);
    border-radius: 30px;
    padding: 18px;
    box-shadow: 0 30px 70px rgba(14, 21, 60, 0.22);
}

.device-shell {
    background: #fff;
    color: var(--text);
    border-radius: 24px;
    padding: 16px;
    box-shadow: var(--shadow);
}

.device-shell img {
    border-radius: 20px;
    width: 100%;
    min-height: 220px;
    object-fit: cover;
    background: #EEF4FF;
}

.status-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 12px;
}

.status-card,
.mini-card {
    background: #F7F9FE;
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 12px;
}

.status-card strong,
.mini-card strong {
    display: block;
    font-size: 14px;
    color: #172033;
}

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

.section {
    padding: 58px 0;
}

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

.section-heading {
    margin-bottom: 24px;
}

.section-heading .eyebrow,
.eyebrow {
    color: var(--blue);
    font-weight: 800;
    font-size: 14px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.section-heading h2,
.split-copy h2,
.page-title h1 {
    font-size: clamp(28px, 5.5vw, 44px);
    line-height: 1.18;
    margin: 8px 0 12px;
    letter-spacing: -0.03em;
}

.section-heading p,
.split-copy p,
.page-title p,
.card p,
.info-card p,
.faq-item p,
.risk-card p,
.step-card p,
.text-card p {
    color: var(--muted);
    margin: 0;
}

.service-index,
.category-grid {
    display: grid;
    gap: 16px;
}

.service-card,
.card,
.info-card,
.risk-card,
.step-card,
.text-card,
.faq-item,
.download-panel {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.service-card {
    padding: 20px;
}

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

.service-card h3,
.card h3,
.info-card h3,
.risk-card h3,
.step-card h3,
.text-card h3,
.faq-item h3 {
    margin: 0 0 8px;
    line-height: 1.35;
}

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

.split-section {
    display: grid;
    gap: 22px;
    align-items: center;
}

.vpn-connection-section .split-card,
.global-nodes-section .split-card,
.high-speed-section .split-card,
.multi-device-section .split-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 30px;
    padding: 18px;
    box-shadow: var(--shadow);
}

.split-card img {
    border-radius: 24px;
    width: 100%;
    min-height: 230px;
    object-fit: cover;
    background: var(--soft);
}

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

.feature-list li,
.check-list li,
.note-list li {
    position: relative;
    padding-left: 26px;
    color: var(--muted);
}

.feature-list li::before,
.check-list li::before,
.note-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 #EAF2FF;
}

.privacy-protection-section .safety-panel,
.no-log-policy-section .safety-panel,
.encryption-protocol-section .safety-panel,
.safety-panel {
    border: 1px solid var(--border);
    border-radius: 30px;
    background: linear-gradient(135deg, #FFFFFF 0%, #F3F7FF 100%);
    padding: 22px;
    box-shadow: var(--shadow);
}

.panel-grid,
.risk-grid,
.process-steps,
.faq-grid,
.detail-grid,
.help-grid {
    display: grid;
    gap: 16px;
}

.info-card,
.risk-card,
.step-card,
.text-card,
.faq-item {
    padding: 20px;
}

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

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

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

.cta-section {
    padding: 56px 0;
    background: var(--gradient);
    color: #fff;
    text-align: center;
}

.cta-section .container {
    max-width: 840px;
}

.cta-section h2 {
    font-size: clamp(28px, 5vw, 42px);
    line-height: 1.18;
    margin: 0 0 12px;
}

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

.page-hero {
    background: linear-gradient(180deg, #F2F6FF 0%, #FFFFFF 100%);
    padding: 48px 0 26px;
}

.page-title {
    max-width: 860px;
}

.badge {
    color: var(--blue);
    background: #EAF2FF;
    border: 1px solid #D8E7FF;
}

.content-layout {
    display: grid;
    gap: 18px;
    align-items: start;
}

.article-body {
    display: grid;
    gap: 18px;
}

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

.article-card p {
    color: var(--muted);
    margin: 0 0 12px;
}

.article-card p:last-child {
    margin-bottom: 0;
}

.sidebar-card {
    position: sticky;
    top: 94px;
}

.sidebar-card h2,
.article-card h2 {
    margin: 0 0 12px;
    font-size: 22px;
}

.download-panel {
    padding: 22px;
    text-align: center;
}

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

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

.download-steps li {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 12px;
    align-items: start;
    color: var(--muted);
}

.download-steps li::before {
    counter-increment: item;
    content: counter(item);
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: var(--blue);
    color: #fff;
    font-weight: 800;
}

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

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

.site-footer {
    background: #101828;
    color: rgba(255,255,255,0.76);
    padding: 46px 0 0;
}

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

.footer-brand {
    font-weight: 900;
    color: #fff;
    font-size: 20px;
    margin-bottom: 8px;
}

.site-footer h3 {
    color: #fff;
    margin: 0 0 10px;
}

.site-footer a {
    display: block;
    color: rgba(255,255,255,0.72);
    margin: 8px 0;
}

.footer-bottom {
    margin-top: 28px;
    border-top: 1px solid rgba(255,255,255,0.12);
    padding: 16px;
    text-align: center;
    font-size: 14px;
}

@media (min-width: 700px) {
    .service-index,
    .category-grid,
    .panel-grid,
    .risk-grid,
    .process-steps,
    .faq-grid,
    .detail-grid,
    .help-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-grid,
    .split-section,
    .content-layout {
        grid-template-columns: 1.05fr 0.95fr;
    }

    .split-section.reverse .split-card {
        order: -1;
    }

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

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

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

    .site-nav a {
        background: transparent;
        padding: 10px 11px;
        font-size: 14px;
    }

    .vpn-dashboard-hero {
        padding: 74px 0 62px;
    }

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

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

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

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

    .panel-grid,
    .category-grid,
    .detail-grid,
    .help-grid {
        grid-template-columns: repeat(3, 1fr);
    }

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

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

    .brand span {
        font-size: 15px;
    }

    .status-grid {
        grid-template-columns: 1fr;
    }

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