:root {
    --brand-gradient: linear-gradient(90deg, #3558F2 0%, #7B4EF1 50%, #B84DDA 100%);
    --blue: #2980FE;
    --blue-dark: #1768E8;
    --text: #222936;
    --muted: #667085;
    --light: #F5F7FB;
    --line: #E7ECF5;
    --card: #FFFFFF;
    --soft-blue: #F0F6FF;
    --radius-xl: 32px;
    --radius-lg: 24px;
    --shadow: 0 18px 50px rgba(41, 74, 130, .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: #fff;
    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; }
.section { padding: 58px 0; }
.section-soft { background: var(--light); }
.section-title { max-width: 760px; margin: 0 auto 28px; text-align: center; }
.section-title .eyebrow, .eyebrow { color: var(--blue); font-weight: 700; letter-spacing: .04em; }
.section-title h2, .content-section h2 { margin: 8px 0 12px; font-size: clamp(28px, 5vw, 44px); line-height: 1.18; }
.section-title p, .lead, .page-summary { color: var(--muted); margin: 0; }

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255,255,255,.92);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(231,236,245,.9);
}
.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, .footer-brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; color: #172033; }
.brand-logo, .footer-brand img { width: 38px; height: 38px; border-radius: 12px; object-fit: cover; }
.nav-toggle {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: #fff;
    color: var(--text);
    padding: 9px 12px;
    cursor: pointer;
}
.nav-toggle span { width: 16px; height: 2px; background: var(--text); display: block; border-radius: 999px; }
.nav-toggle em { font-style: normal; font-size: 13px; color: var(--muted); }
.site-nav {
    display: none;
    position: absolute;
    top: 72px;
    left: 14px;
    right: 14px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 20px;
    box-shadow: var(--shadow);
    padding: 10px;
}
.site-nav.open { display: grid; gap: 4px; }
.site-nav a { padding: 10px 12px; border-radius: 14px; color: #344054; font-size: 15px; }
.site-nav a.active, .site-nav a:hover { background: var(--soft-blue); color: var(--blue); }

.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: 800;
    box-shadow: 0 12px 28px rgba(41,128,254,.25);
    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 36px rgba(23,104,232,.28); }
.link-blue { color: var(--blue); font-weight: 700; }
.badge {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    padding: 6px 12px;
    border-radius: 999px;
    background: var(--soft-blue);
    color: var(--blue);
    font-size: 13px;
    font-weight: 800;
}

.network-manager-hero {
    padding: 32px 0 46px;
    background: linear-gradient(180deg, #F7FAFF 0%, #FFFFFF 100%);
}
.hero-shell {
    width: min(1180px, calc(100% - 28px));
    margin: 0 auto;
    border-radius: var(--radius-xl);
    background: var(--brand-gradient);
    color: #fff;
    padding: 30px;
    position: relative;
    overflow: hidden;
}
.hero-shell::before, .hero-shell::after {
    content: "";
    position: absolute;
    border-radius: 999px;
    background: rgba(255,255,255,.18);
    filter: blur(8px);
}
.hero-shell::before { width: 230px; height: 230px; right: -70px; top: -80px; }
.hero-shell::after { width: 170px; height: 170px; left: 34%; bottom: -85px; }
.hero-grid { position: relative; z-index: 1; display: grid; gap: 28px; align-items: center; }
.hero-copy h1 { margin: 0 0 16px; font-size: clamp(34px, 8vw, 68px); line-height: 1.05; letter-spacing: -.04em; }
.hero-copy p { margin: 0 0 22px; color: rgba(255,255,255,.88); max-width: 650px; }
.hero-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.hero-tags span, .floating-label, .status-card {
    border: 1px solid rgba(255,255,255,.28);
    background: rgba(255,255,255,.16);
    color: #fff;
    border-radius: 999px;
    padding: 8px 12px;
    font-size: 13px;
    backdrop-filter: blur(10px);
}
.hero-visual { position: relative; min-height: 280px; display: grid; place-items: center; }
.hero-phone {
    width: min(420px, 85%);
    margin: 0 auto;
    border-radius: 28px;
    box-shadow: 0 30px 80px rgba(20, 27, 60, .25);
}
.floating-label { position: absolute; }
.floating-label.one { left: 0; top: 16%; }
.floating-label.two { right: 3%; top: 8%; }
.floating-label.three { left: 6%; bottom: 12%; }
.floating-label.four { right: 2%; bottom: 22%; }
.status-card {
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    border-radius: 20px;
    padding: 12px 16px;
    background: rgba(255,255,255,.22);
}

.grid-3, .grid-2, .cards-grid { display: grid; gap: 16px; }
.scene-card, .bento-card, .info-card, .faq-item, .risk-card, .step-card, .page-card, .tip-box {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 22px;
    box-shadow: 0 12px 30px rgba(48, 73, 113, .06);
}
.scene-card small, .bento-card small { color: var(--blue); font-weight: 800; }
.scene-card h3, .bento-card h3, .info-card h3, .risk-card h3, .step-card h3 { margin: 8px 0 8px; font-size: 22px; }
.scene-card p, .bento-card p, .info-card p, .risk-card p, .step-card p, .page-card p { color: var(--muted); margin: 0 0 14px; }

.bento-feature-center { display: grid; gap: 16px; }
.bento-card.large { background: linear-gradient(180deg, #FFFFFF 0%, #F4F8FF 100%); }
.bento-card.accent { border-top: 4px solid var(--blue); }

.split-panel {
    display: grid;
    gap: 24px;
    align-items: center;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-xl);
    padding: 24px;
    box-shadow: var(--shadow);
}
.split-panel.alt { background: #F8FBFF; }
.feature-points { display: grid; gap: 10px; margin: 18px 0; padding: 0; list-style: none; }
.feature-points li {
    display: flex;
    gap: 10px;
    color: #344054;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 10px 12px;
}
.feature-points li::before { content: ""; width: 8px; height: 8px; margin-top: 10px; border-radius: 50%; background: var(--blue); flex: 0 0 auto; }
.module-image { border-radius: 28px; box-shadow: 0 18px 45px rgba(30, 55, 108, .13); background: #fff; }

.public-wifi-section .wifi-panel, .privacy-guard-section .privacy-panel, .network-diagnosis-section .diagnosis-panel, .account-security-section .account-panel {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-xl);
    padding: 24px;
    box-shadow: var(--shadow);
}
.label-row { display: flex; flex-wrap: wrap; gap: 10px; margin: 16px 0; }
.label-row span { background: var(--soft-blue); color: var(--blue); border-radius: 999px; padding: 8px 12px; font-weight: 700; font-size: 13px; }

.device-cards { display: grid; gap: 14px; }
.device-card { border: 1px solid var(--line); border-radius: 22px; padding: 18px; background: #fff; }
.device-card h3 { margin: 0 0 6px; }
.device-card p { margin: 0; color: var(--muted); }

.process-steps { display: grid; gap: 14px; counter-reset: steps; }
.step-card { position: relative; padding-top: 50px; }
.step-card::before {
    counter-increment: steps;
    content: counter(steps, decimal-leading-zero);
    position: absolute;
    top: 18px;
    left: 20px;
    color: var(--blue);
    font-weight: 900;
}
.risk-grid { display: grid; gap: 14px; }
.risk-card { border-left: 4px solid var(--blue); }
.risk-card strong { color: #172033; }

.faq-list { display: grid; gap: 14px; }
.faq-item h3 { margin: 0 0 8px; font-size: 19px; }
.faq-item p { margin: 0; color: var(--muted); }
.cta-section {
    padding: 58px 0;
    background: #fff;
}
.cta-card {
    width: min(1040px, calc(100% - 32px));
    margin: 0 auto;
    text-align: center;
    color: #fff;
    border-radius: var(--radius-xl);
    background: var(--brand-gradient);
    padding: 42px 22px;
    overflow: hidden;
    position: relative;
}
.cta-card p { color: rgba(255,255,255,.86); max-width: 640px; margin: 0 auto 22px; }
.cta-card .download-btn { background: var(--blue); }

.page-hero {
    background: linear-gradient(180deg, #F6F9FF 0%, #FFFFFF 100%);
    padding: 48px 0 22px;
}
.page-hero-inner {
    width: min(980px, calc(100% - 32px));
    margin: 0 auto;
    text-align: center;
}
.page-hero h1 { margin: 14px 0 12px; font-size: clamp(32px, 7vw, 56px); line-height: 1.1; }
.page-layout {
    width: min(1120px, calc(100% - 32px));
    margin: 0 auto;
    display: grid;
    gap: 20px;
    padding: 30px 0 64px;
}
.article-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-xl);
    padding: 24px;
    box-shadow: var(--shadow);
}
.article-card h2 { margin: 0 0 12px; font-size: 28px; }
.article-card p { color: #4A5568; }
.check-list, .number-list { padding: 0; margin: 18px 0; list-style: none; display: grid; gap: 10px; }
.check-list li, .number-list li {
    padding: 12px 14px;
    background: #F8FBFF;
    border: 1px solid var(--line);
    border-radius: 16px;
    color: #344054;
}
.number-list { counter-reset: pageSteps; }
.number-list li::before { counter-increment: pageSteps; content: counter(pageSteps) ". "; color: var(--blue); font-weight: 800; }
.sidebar { display: grid; gap: 16px; align-content: start; }
.sidebar .page-card { background: #F8FBFF; }
.sidebar a { color: var(--blue); font-weight: 700; }
.download-panel { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); }

.site-footer { background: #101828; color: #D0D5DD; padding: 46px 0 0; }
.footer-grid { display: grid; gap: 24px; }
.footer-brand { color: #fff; margin-bottom: 14px; }
.site-footer p { color: #98A2B3; margin: 0; }
.site-footer h3 { color: #fff; margin: 0 0 10px; }
.site-footer a:not(.footer-brand) { display: block; color: #D0D5DD; margin: 7px 0; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 30px; padding: 18px; text-align: center; color: #98A2B3; font-size: 14px; }

@media (min-width: 680px) {
    .grid-3 { grid-template-columns: repeat(3, 1fr); }
    .grid-2, .cards-grid { grid-template-columns: repeat(2, 1fr); }
    .bento-feature-center { grid-template-columns: repeat(2, 1fr); }
    .process-steps { grid-template-columns: repeat(2, 1fr); }
    .risk-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 920px) {
    .nav-toggle { display: none; }
    .site-nav {
        display: flex;
        position: static;
        background: transparent;
        border: 0;
        box-shadow: none;
        padding: 0;
        gap: 4px;
        align-items: center;
    }
    .site-nav a { font-size: 14px; }
    .hero-shell { padding: 58px; }
    .hero-grid { grid-template-columns: 1.02fr .98fr; }
    .hero-copy p { font-size: 18px; }
    .section { padding: 78px 0; }
    .bento-feature-center { grid-template-columns: repeat(4, 1fr); grid-auto-rows: minmax(190px, auto); }
    .bento-card.large { grid-column: span 2; grid-row: span 2; }
    .bento-card.wide { grid-column: span 2; }
    .split-panel { grid-template-columns: 1fr 1fr; padding: 36px; }
    .split-panel.reverse .module-image-wrap { order: -1; }
    .wifi-panel, .privacy-panel, .diagnosis-panel, .account-panel { padding: 36px !important; }
    .page-layout { grid-template-columns: minmax(0, 1fr) 320px; align-items: start; }
    .article-card { padding: 36px; }
    .footer-grid { grid-template-columns: 1.6fr 1fr 1fr; }
    .process-steps { grid-template-columns: repeat(3, 1fr); }
    .risk-grid { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 430px) {
    .container, .hero-shell, .page-layout, .page-hero-inner, .cta-card { width: calc(100% - 22px); }
    .hero-shell { padding: 24px 18px; border-radius: 26px; }
    .floating-label { position: static; margin: 6px; display: inline-flex; }
    .hero-visual { display: block; min-height: auto; }
    .status-card { position: static; transform: none; margin-top: 12px; text-align: center; }
    .download-btn { width: 100%; }
    .scene-card, .bento-card, .info-card, .faq-item, .risk-card, .step-card, .article-card { padding: 18px; }
}
