:root {
    --primary: #2980FE;
    --primary-dark: #1768E8;
    --gradient: linear-gradient(90deg, #3558F2 0%, #7B4EF1 50%, #B84DDA 100%);
    --text: #1f2937;
    --muted: #64748b;
    --line: #e5e7eb;
    --soft: #f6f8fb;
    --soft-blue: #eef5ff;
    --white: #ffffff;
    --shadow: 0 18px 55px rgba(15, 23, 42, 0.10);
    --radius: 24px;
}

* { box-sizing: border-box; }
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.75;
    overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255,255,255,.94);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(226,232,240,.8);
}
.header-inner {
    width: min(1180px, calc(100% - 32px));
    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: 10px; font-weight: 800; }
.logo-img { width: 38px; height: 38px; border-radius: 12px; object-fit: cover; box-shadow: 0 10px 22px rgba(41,128,254,.18); }
.brand-text { letter-spacing: .02em; }
.nav-toggle { position: absolute; opacity: 0; pointer-events: none; }
.nav-toggle-label { width: 42px; height: 42px; border-radius: 14px; border: 1px solid var(--line); display: grid; place-content: center; gap: 5px; cursor: pointer; }
.nav-toggle-label span { width: 20px; height: 2px; background: #334155; display: block; border-radius: 8px; }
.site-nav {
    display: none;
    position: absolute;
    top: 72px;
    left: 16px;
    right: 16px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 12px;
    box-shadow: var(--shadow);
}
.site-nav a { display: block; padding: 11px 14px; color: #475569; border-radius: 12px; font-size: 15px; }
.site-nav a.active, .site-nav a:hover { color: var(--primary); background: #eff6ff; }
.nav-toggle:checked ~ .site-nav { display: block; }

.content-container { width: min(1120px, calc(100% - 32px)); margin: 0 auto; }
.narrow-container { width: min(880px, calc(100% - 32px)); margin: 0 auto; }
.section { padding: 58px 0; }
.section-soft { background: var(--soft); }
.section-head { margin-bottom: 24px; max-width: 760px; }
.section-kicker, .category-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    border-radius: 999px;
    background: #edf5ff;
    color: var(--primary);
    font-weight: 700;
    font-size: 13px;
    margin-bottom: 12px;
}
h1, h2, h3 { line-height: 1.25; margin: 0 0 14px; color: #152033; }
h1 { font-size: clamp(34px, 7vw, 58px); letter-spacing: -.04em; }
h2 { font-size: clamp(26px, 4.5vw, 40px); letter-spacing: -.03em; }
h3 { font-size: 21px; }
p { margin: 0 0 14px; color: var(--muted); }
.lead { font-size: 18px; color: #eaf2ff; max-width: 660px; }
.page-lead { font-size: 18px; color: #475569; }
.download-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 24px;
    border-radius: 999px;
    background: var(--primary);
    color: #fff;
    font-weight: 800;
    box-shadow: 0 16px 32px rgba(41,128,254,.24);
    transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
}
.download-btn:hover { background: var(--primary-dark); transform: translateY(-2px); box-shadow: 0 20px 36px rgba(23,104,232,.28); }
.text-link { color: var(--primary); font-weight: 800; }
.text-link:hover { color: var(--primary-dark); }

.vpn-dashboard-hero {
    background: var(--gradient);
    color: #fff;
    position: relative;
    overflow: hidden;
    padding: 62px 0 72px;
}
.vpn-dashboard-hero::before, .vpn-dashboard-hero::after {
    content: "";
    position: absolute;
    border-radius: 999px;
    background: rgba(255,255,255,.18);
    filter: blur(8px);
}
.vpn-dashboard-hero::before { width: 280px; height: 280px; right: -70px; top: -80px; }
.vpn-dashboard-hero::after { width: 180px; height: 180px; left: -60px; bottom: 30px; }
.hero-grid {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    display: grid;
    gap: 32px;
    position: relative;
    z-index: 1;
}
.hero-copy h1 { color: #fff; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin: 24px 0 20px; }
.security-tags { display: flex; flex-wrap: wrap; gap: 10px; }
.security-tags span { padding: 7px 12px; border-radius: 999px; background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.28); color: #f8fbff; font-size: 13px; }
.hero-panel {
    background: rgba(255,255,255,.16);
    border: 1px solid rgba(255,255,255,.26);
    border-radius: 30px;
    padding: 18px;
    box-shadow: 0 24px 80px rgba(15,23,42,.22);
}
.hero-product { border-radius: 24px; background: rgba(255,255,255,.12); padding: 18px; }
.hero-product img { margin: 0 auto; border-radius: 24px; max-height: 330px; object-fit: contain; }
.status-grid { display: grid; gap: 12px; margin-top: 16px; }
.status-card { background: rgba(255,255,255,.92); color: #172033; border-radius: 20px; padding: 14px; border: 1px solid rgba(255,255,255,.55); }
.status-card strong { display: block; font-size: 15px; }
.status-card span { display: block; color: #64748b; font-size: 13px; }

.service-index { margin-top: -34px; position: relative; z-index: 2; }
.service-index-panel {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 30px;
    box-shadow: var(--shadow);
    padding: 22px;
}
.service-index-grid, .category-grid { display: grid; gap: 16px; }
.service-card, .info-card, .risk-card, .faq-item, .step-card, .feature-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 22px;
    box-shadow: 0 12px 35px rgba(15,23,42,.05);
}
.service-card .tag { color: var(--primary); font-weight: 800; font-size: 13px; }
.service-card h3, .info-card h3, .risk-card h3, .step-card h3 { margin-top: 6px; }

.split-section {
    display: grid;
    gap: 24px;
    align-items: center;
}
.module-card {
    border-radius: 30px;
    padding: 24px;
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    background: #fff;
}
.module-card.soft { background: linear-gradient(180deg, #f8fbff, #fff); }
.module-visual {
    border-radius: 30px;
    background: linear-gradient(160deg, #f7fbff, #edf4ff);
    padding: 24px;
    border: 1px solid #dbeafe;
}
.module-visual img { margin: 0 auto; border-radius: 22px; max-height: 360px; object-fit: contain; }
.point-list, .check-list { list-style: none; padding: 0; margin: 18px 0 20px; display: grid; gap: 10px; }
.point-list li, .check-list li { position: relative; padding-left: 24px; color: #475569; }
.point-list li::before, .check-list li::before { content: ""; width: 8px; height: 8px; border-radius: 99px; background: var(--primary); position: absolute; left: 4px; top: 12px; }
.vpn-connection-section .module-card { border-left: 5px solid var(--primary); }
.global-nodes-section .module-visual { background: linear-gradient(160deg, #f5f8ff, #f9f7ff); }
.high-speed-section { background: #f5f8fc; }
.privacy-protection-section .safety-panel, .encryption-protocol-section .tech-panel, .no-log-policy-section .policy-panel {
    display: grid;
    gap: 16px;
}
.safety-panel .info-card { border-top: 4px solid var(--primary); }
.device-grid { display: grid; gap: 14px; }
.device-pill { padding: 16px; border-radius: 18px; background: #f8fafc; border: 1px solid var(--line); font-weight: 800; color: #334155; }
.protocol-row { display: grid; gap: 12px; }
.protocol-row .feature-card { background: #f8fbff; }

.process-steps { display: grid; gap: 16px; counter-reset: step; }
.step-card { position: relative; padding-left: 70px; }
.step-card::before {
    counter-increment: step;
    content: counter(step);
    position: absolute;
    left: 22px;
    top: 22px;
    width: 34px;
    height: 34px;
    border-radius: 14px;
    background: var(--primary);
    color: #fff;
    display: grid;
    place-items: center;
    font-weight: 900;
}
.risk-grid { display: grid; gap: 16px; }
.risk-card { border-left: 4px solid var(--primary); }
.risk-card .suggest { display: block; color: #334155; font-weight: 800; margin-top: 8px; }
.faq-list { display: grid; gap: 14px; }
.faq-item h3 { font-size: 18px; }
.cta-section {
    background: var(--gradient);
    color: #fff;
    border-radius: 34px;
    padding: 36px 22px;
    text-align: center;
    margin: 28px 0 68px;
}
.cta-section h2, .cta-section p { color: #fff; }

.page-hero {
    background: linear-gradient(180deg, #f7fbff 0%, #ffffff 100%);
    padding: 54px 0 30px;
    border-bottom: 1px solid #edf2f7;
}
.page-layout { display: grid; gap: 24px; padding: 42px 0 64px; }
.article-card { background: #fff; border: 1px solid var(--line); border-radius: 28px; padding: 24px; box-shadow: var(--shadow); }
.article-card h2 { font-size: 26px; }
.side-panel { display: grid; gap: 16px; align-self: start; }
.notice-box {
    background: #f8fbff;
    border: 1px solid #dbeafe;
    border-radius: 24px;
    padding: 20px;
}
.notice-box strong { color: #1e3a8a; }
.steps-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.steps-list li { background: #f8fafc; border: 1px solid var(--line); border-radius: 18px; padding: 16px; }
.steps-list b { display: block; color: #172033; margin-bottom: 4px; }
.download-center {
    text-align: center;
    background: linear-gradient(180deg, #f8fbff, #ffffff);
    border: 1px solid #dbeafe;
    border-radius: 30px;
    padding: 34px 22px;
    box-shadow: var(--shadow);
}
.download-steps, .security-list { display: grid; gap: 14px; margin-top: 24px; }
.download-steps .info-card, .security-list .info-card { text-align: left; }

.site-footer { background: #f8fafc; border-top: 1px solid var(--line); }
.footer-inner { width: min(1120px, calc(100% - 32px)); margin: 0 auto; padding: 34px 0; display: grid; gap: 24px; }
.footer-brand { display: flex; gap: 14px; align-items: center; }
.footer-logo { width: 44px; height: 44px; border-radius: 14px; object-fit: cover; }
.footer-brand p { margin: 4px 0 0; }
.footer-links { display: flex; flex-wrap: wrap; gap: 12px; }
.footer-links a { color: #475569; padding: 8px 10px; border-radius: 12px; background: #fff; border: 1px solid var(--line); }
.footer-bottom { text-align: center; color: #64748b; border-top: 1px solid var(--line); padding: 16px; font-size: 14px; }

@media (min-width: 680px) {
    .status-grid { grid-template-columns: repeat(2, 1fr); }
    .service-index-grid, .category-grid { grid-template-columns: repeat(2, 1fr); }
    .risk-grid, .download-steps, .security-list { grid-template-columns: repeat(2, 1fr); }
    .process-steps { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 960px) {
    .nav-toggle-label { display: none; }
    .site-nav { position: static; display: flex; align-items: center; gap: 4px; padding: 0; border: 0; box-shadow: none; background: transparent; }
    .site-nav a { padding: 9px 12px; }
    .hero-grid { grid-template-columns: minmax(0, 1.05fr) minmax(420px, .95fr); align-items: center; }
    .vpn-dashboard-hero { padding: 84px 0 98px; }
    .status-grid { grid-template-columns: repeat(2, 1fr); }
    .service-index-grid { grid-template-columns: repeat(4, 1fr); }
    .service-index-grid .service-card:first-child { grid-column: span 2; }
    .split-section { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .split-section.reverse .module-visual { order: -1; }
    .privacy-protection-section .safety-panel, .no-log-policy-section .policy-panel, .encryption-protocol-section .tech-panel { grid-template-columns: repeat(3, 1fr); }
    .device-grid { grid-template-columns: repeat(3, 1fr); }
    .protocol-row { grid-template-columns: repeat(3, 1fr); }
    .risk-grid { grid-template-columns: repeat(4, 1fr); }
    .category-grid { grid-template-columns: repeat(3, 1fr); }
    .page-layout { grid-template-columns: minmax(0, 1fr) 320px; align-items: start; }
    .article-card, .module-card { padding: 32px; }
    .footer-inner { grid-template-columns: 1fr 1.2fr; align-items: center; }
    .footer-links { justify-content: flex-end; }
}

@media (min-width: 1180px) {
    .service-index-grid { grid-template-columns: repeat(7, 1fr); }
    .service-index-grid .service-card:first-child { grid-column: span 2; }
    .service-index-grid .service-card:nth-child(2) { grid-column: span 2; }
}
