:root {
    --primary: #2980FE;
    --primary-hover: #1768E8;
    --gradient: linear-gradient(90deg, #3558F2 0%, #7B4EF1 50%, #B84DDA 100%);
    --text: #1f2937;
    --muted: #64748b;
    --light: #f6f8fc;
    --line: #e5eaf3;
    --deep: #101827;
    --card: #ffffff;
    --radius-lg: 32px;
    --radius-md: 24px;
    --shadow: 0 18px 50px rgba(30, 58, 138, .10);
}
* { 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: #f8fafc;
    line-height: 1.72;
    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: 30;
    background: rgba(255,255,255,.92);
    border-bottom: 1px solid rgba(226,232,240,.9);
    backdrop-filter: blur(18px);
}
.nav-wrap { min-height: 70px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.logo, .footer-logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; letter-spacing: .02em; color: var(--deep); }
.logo img, .footer-logo img { width: 38px; height: 38px; border-radius: 12px; object-fit: cover; }
.nav-toggle-input { display: none; }
.nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 9px 14px;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--primary);
    font-weight: 700;
    background: #fff;
}
.main-nav {
    display: none;
    position: absolute;
    left: 16px;
    right: 16px;
    top: 72px;
    padding: 14px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 22px;
    box-shadow: var(--shadow);
}
.nav-toggle-input:checked ~ .main-nav { display: grid; gap: 8px; }
.main-nav a { padding: 10px 12px; border-radius: 14px; color: #475569; font-size: 15px; }
.main-nav a.active, .main-nav a:hover { color: var(--primary); background: #edf5ff; }
.nav-download { font-weight: 800; }
.section { padding: 64px 0; }
.section.alt { background: #fff; }
.section-heading { margin: 0 0 24px; max-width: 760px; }
.section-heading.center { text-align: center; margin-left: auto; margin-right: auto; }
.section-heading .eyebrow, .eyebrow, .badge {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    border-radius: 999px;
    color: var(--primary);
    background: #eef6ff;
    padding: 5px 12px;
    font-size: 13px;
    font-weight: 800;
    margin-bottom: 12px;
}
h1, h2, h3 { line-height: 1.18; color: var(--deep); margin-top: 0; }
h1 { font-size: clamp(34px, 8vw, 60px); letter-spacing: -0.05em; }
h2 { font-size: clamp(28px, 5vw, 44px); letter-spacing: -0.035em; }
h3 { font-size: 21px; }
p { margin-top: 0; color: var(--muted); }
.download-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 13px 24px;
    border-radius: 999px;
    background: var(--primary);
    color: #fff;
    font-weight: 800;
    box-shadow: 0 12px 28px rgba(41,128,254,.28);
    transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
}
.download-btn:hover { background: var(--primary-hover); transform: translateY(-2px); box-shadow: 0 16px 34px rgba(23,104,232,.32); }
.text-link { color: var(--primary); font-weight: 800; }
.text-link:hover { color: var(--primary-hover); }
.network-manager-hero { padding: 28px 0 42px; background: #fff; }
.hero-shell {
    background: var(--gradient);
    border-radius: 30px;
    color: #fff;
    padding: 28px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 24px 70px rgba(65,80,220,.22);
}
.hero-shell:before { content: ""; position: absolute; width: 280px; height: 280px; right: -90px; top: -110px; background: rgba(255,255,255,.18); border-radius: 50%; filter: blur(4px); }
.hero-shell:after { content: ""; position: absolute; width: 360px; height: 160px; left: 18%; bottom: -100px; background: rgba(255,255,255,.16); border-radius: 999px; filter: blur(18px); }
.hero-content, .hero-visual { position: relative; z-index: 1; }
.hero-content h1, .hero-content p { color: #fff; }
.hero-content p { font-size: 18px; opacity: .92; }
.hero-tags { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0 24px; }
.hero-tags span { padding: 8px 12px; background: rgba(255,255,255,.18); border: 1px solid rgba(255,255,255,.26); border-radius: 999px; font-size: 14px; }
.hero-visual { margin-top: 28px; display: grid; gap: 14px; }
.hero-device-card { background: rgba(255,255,255,.95); border-radius: 28px; padding: 14px; box-shadow: 0 22px 50px rgba(15,23,42,.16); }
.hero-device-card img { border-radius: 22px; margin: 0 auto; max-height: 420px; object-fit: contain; }
.float-labels { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.float-labels span { background: rgba(255,255,255,.92); color: #334155; border-radius: 18px; padding: 10px 12px; font-weight: 800; font-size: 13px; box-shadow: 0 12px 28px rgba(15,23,42,.08); }
.daily-scenes { display: grid; gap: 16px; }
.scene-card, .bento-card, .soft-card, .risk-card, .faq-item, .step-card, .notice-card, .guide-card, .side-card {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    padding: 22px;
    box-shadow: 0 14px 40px rgba(15,23,42,.05);
}
.scene-card .tag, .bento-card .tag { color: var(--primary); font-size: 13px; font-weight: 800; }
.scene-card p, .bento-card p { margin-bottom: 12px; }
.bento-feature-center { display: grid; gap: 16px; }
.bento-card { min-height: 190px; display: flex; flex-direction: column; justify-content: space-between; }
.bento-card.feature { background: linear-gradient(180deg, #fff 0%, #f3f8ff 100%); }
.split-section, .safe-browsing-section, .smart-route-section, .multi-device-section, .network-diagnosis-section, .account-security-section {
    display: grid;
    gap: 24px;
    align-items: center;
}
.feature-panel, .safety-panel {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow);
}
.image-panel { background: linear-gradient(180deg, #eef6ff 0%, #fff 100%); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 18px; }
.image-panel img { border-radius: 24px; margin: auto; max-height: 430px; object-fit: contain; }
.point-list, .check-list { display: grid; gap: 12px; padding: 0; margin: 18px 0 0; list-style: none; }
.point-list li, .check-list li { padding: 12px 14px; border-radius: 16px; background: #f8fbff; color: #475569; border: 1px solid #e7effc; }
.public-wifi-section { display: grid; gap: 18px; }
.public-grid, .privacy-grid, .risk-grid, .panel-grid { display: grid; gap: 16px; }
.privacy-guard-section { display: grid; gap: 18px; }
.privacy-band { background: #fff; border-radius: var(--radius-lg); border: 1px solid var(--line); padding: 24px; display: grid; gap: 18px; }
.process-steps { display: grid; gap: 14px; counter-reset: step; }
.step-card { position: relative; padding-left: 72px; }
.step-card:before {
    counter-increment: step;
    content: counter(step, decimal-leading-zero);
    position: absolute;
    left: 20px;
    top: 22px;
    width: 38px;
    height: 38px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    background: var(--gradient);
    color: #fff;
    font-weight: 900;
}
.risk-card { border-left: 5px solid var(--primary); }
.faq-list { display: grid; gap: 14px; }
.faq-item h3 { margin-bottom: 8px; }
.cta-section {
    margin: 64px auto;
    width: min(1120px, calc(100% - 32px));
    border-radius: var(--radius-lg);
    background: var(--gradient);
    color: #fff;
    padding: 34px 24px;
    text-align: center;
    overflow: hidden;
}
.cta-section h2, .cta-section p { color: #fff; }
.cta-section p { opacity: .9; max-width: 720px; margin-left: auto; margin-right: auto; }
.cta-section .download-btn { background: #2980FE; }
.cta-section.subtle { background: #fff; color: var(--text); border: 1px solid var(--line); box-shadow: var(--shadow); }
.cta-section.subtle h2 { color: var(--deep); }
.cta-section.subtle p { color: var(--muted); }
.page-hero { padding: 48px 0 24px; background: linear-gradient(180deg, #fff 0%, #f5f8ff 100%); }
.page-hero.compact .page-hero-shell { min-height: auto; }
.page-hero-shell { display: grid; gap: 20px; align-items: center; }
.page-hero p { font-size: 18px; max-width: 760px; }
.guide-layout { display: grid; gap: 22px; align-items: start; }
.article-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px; box-shadow: var(--shadow); }
.article-card h2 { font-size: 28px; }
.sidebar { display: grid; gap: 16px; }
.side-card h3 { margin-bottom: 8px; }
.download-steps { display: grid; gap: 14px; margin-top: 22px; }
.download-step { background: #f8fbff; border: 1px solid #e5efff; border-radius: 20px; padding: 16px; }
.table-like { display: grid; gap: 12px; }
.table-row { display: grid; gap: 4px; padding: 14px; background: #f8fbff; border-radius: 16px; border: 1px solid #e5efff; }
.site-footer { background: #101827; color: #dbe4f0; padding: 46px 0 24px; }
.site-footer p, .site-footer a, .footer-bottom span { color: #aab7c9; }
.site-footer h3 { color: #fff; font-size: 16px; margin-bottom: 12px; }
.site-footer a { display: block; margin: 8px 0; }
.site-footer a:hover { color: #fff; }
.footer-logo span { color: #fff; }
.footer-grid { display: grid; gap: 28px; }
.footer-bottom { margin-top: 28px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.12); font-size: 14px; }
@media (min-width: 720px) {
    .daily-scenes, .public-grid, .privacy-grid, .risk-grid, .panel-grid { grid-template-columns: repeat(2, 1fr); }
    .bento-feature-center { grid-template-columns: repeat(2, 1fr); }
    .process-steps { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1.5fr 1fr 1fr; }
}
@media (min-width: 960px) {
    .nav-toggle { display: none; }
    .main-nav { position: static; display: flex; align-items: center; gap: 4px; padding: 0; border: 0; box-shadow: none; background: transparent; }
    .main-nav a { padding: 9px 12px; }
    .hero-shell { grid-template-columns: 1.02fr .98fr; padding: 54px; border-radius: 40px; }
    .hero-visual { margin-top: 0; }
    .daily-scenes { grid-template-columns: repeat(3, 1fr); }
    .bento-feature-center { grid-template-columns: repeat(6, 1fr); }
    .bento-card { grid-column: span 2; }
    .bento-card.feature { grid-column: span 3; min-height: 240px; }
    .bento-card.wide { grid-column: span 4; }
    .split-section, .safe-browsing-section, .smart-route-section, .multi-device-section, .network-diagnosis-section, .account-security-section { grid-template-columns: 1fr 1fr; }
    .public-grid, .privacy-grid { grid-template-columns: repeat(3, 1fr); }
    .risk-grid { grid-template-columns: repeat(4, 1fr); }
    .panel-grid { grid-template-columns: repeat(3, 1fr); }
    .page-hero-shell { grid-template-columns: 1fr .7fr; }
    .guide-layout { grid-template-columns: minmax(0, 1fr) 320px; }
    .process-steps { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 520px) {
    .container { width: min(100% - 24px, 1120px); }
    .hero-shell, .feature-panel, .article-card, .privacy-band, .cta-section { border-radius: 24px; }
    .download-btn { width: 100%; }
    .float-labels { grid-template-columns: 1fr; }
    .section { padding: 46px 0; }
}
