:root {
    --gradient: linear-gradient(90deg, #3558F2 0%, #7B4EF1 50%, #B84DDA 100%);
    --blue: #2980FE;
    --blue-dark: #1768E8;
    --text: #1F2937;
    --muted: #64748B;
    --light: #F6F8FC;
    --line: #E6EAF2;
    --card: #FFFFFF;
    --soft-blue: #EEF5FF;
    --shadow: 0 18px 50px rgba(31, 41, 55, 0.08);
    --radius-xl: 32px;
    --radius-lg: 24px;
    --radius-md: 18px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", Arial, sans-serif;
    color: var(--text);
    background: #fff;
    line-height: 1.75;
    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: 64px 0; }
.section-alt { background: var(--light); }
.section-title { max-width: 760px; margin: 0 0 28px; }
.section-title.center { text-align: center; margin-left: auto; margin-right: auto; }
.eyebrow, .badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    border-radius: 999px;
    background: var(--soft-blue);
    color: var(--blue);
    font-size: 14px;
    font-weight: 700;
}
h1, h2, h3 { line-height: 1.25; margin: 0 0 14px; color: #111827; }
h1 { font-size: clamp(34px, 7vw, 60px); letter-spacing: -1.6px; }
h2 { font-size: clamp(28px, 4vw, 42px); letter-spacing: -0.8px; }
h3 { font-size: 21px; }
p { margin: 0 0 16px; color: var(--muted); }
ul, ol { padding-left: 20px; color: var(--muted); }

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255,255,255,0.94);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(230,234,242,0.9);
}
.nav-wrap { display: flex; align-items: center; justify-content: space-between; min-height: 72px; gap: 16px; }
.brand, .footer-brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; color: #111827; }
.logo-img { width: 40px; height: 40px; border-radius: 12px; object-fit: cover; }
.brand-text { font-size: 20px; letter-spacing: -0.3px; }
.nav-toggle { position: absolute; opacity: 0; pointer-events: none; }
.nav-toggle-label { width: 44px; height: 44px; display: inline-flex; flex-direction: column; justify-content: center; gap: 5px; cursor: pointer; }
.nav-toggle-label span { width: 24px; height: 2px; border-radius: 2px; background: #111827; display: block; }
.site-nav {
    position: absolute;
    left: 16px;
    right: 16px;
    top: 72px;
    display: none;
    flex-direction: column;
    padding: 16px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 22px;
    box-shadow: var(--shadow);
}
.site-nav a { padding: 10px 12px; color: #334155; font-weight: 700; border-radius: 12px; }
.site-nav a:hover, .site-nav a.active { color: var(--blue); background: var(--soft-blue); }
.nav-toggle:checked ~ .site-nav { display: flex; }

.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 24px 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 28px rgba(23,104,232,0.28); }
.text-link { display: inline-flex; color: var(--blue); font-weight: 800; margin-top: 6px; }
.text-link:hover { color: var(--blue-dark); }

.network-manager-hero {
    padding: 32px 0 56px;
    background: radial-gradient(circle at top left, rgba(53,88,242,0.10), transparent 35%), #fff;
}
.hero-panel {
    background: var(--gradient);
    color: #fff;
    border-radius: var(--radius-xl);
    padding: 28px;
    overflow: hidden;
    position: relative;
    display: grid;
    gap: 28px;
    min-height: 560px;
}
.hero-panel::before, .hero-panel::after {
    content: "";
    position: absolute;
    border-radius: 999px;
    background: rgba(255,255,255,0.18);
    filter: blur(4px);
}
.hero-panel::before { width: 240px; height: 240px; right: -70px; top: -60px; }
.hero-panel::after { width: 180px; height: 180px; left: 30%; bottom: -80px; }
.hero-copy, .hero-visual { position: relative; z-index: 1; }
.hero-copy p { color: rgba(255,255,255,0.88); font-size: 17px; max-width: 610px; }
.hero-tags { display: flex; flex-wrap: wrap; gap: 10px; margin: 22px 0 26px; }
.hero-tags span {
    display: inline-flex;
    padding: 7px 12px;
    background: rgba(255,255,255,0.14);
    border: 1px solid rgba(255,255,255,0.25);
    border-radius: 999px;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
}
.hero-visual { align-self: end; }
.product-card {
    position: relative;
    width: min(460px, 100%);
    margin: 0 auto;
    padding: 18px;
    border-radius: 32px;
    background: rgba(255,255,255,0.16);
    border: 1px solid rgba(255,255,255,0.24);
    box-shadow: 0 24px 70px rgba(31,41,55,0.20);
}
.product-card img { border-radius: 24px; width: 100%; object-fit: cover; }
.float-chip {
    position: absolute;
    display: inline-flex;
    align-items: center;
    padding: 8px 12px;
    border-radius: 999px;
    background: #fff;
    color: #1f2937;
    font-size: 13px;
    font-weight: 800;
    box-shadow: 0 12px 28px rgba(15,23,42,0.16);
}
.chip-one { left: -4px; top: 16%; }
.chip-two { right: -4px; top: 30%; }
.chip-three { left: 10%; bottom: 10%; }
.chip-four { right: 8%; bottom: -8px; }

.daily-scenes, .risk-grid, .faq-grid, .card-grid { display: grid; gap: 18px; }
.scene-card, .simple-card, .faq-item, .risk-card, .info-card {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 22px;
    box-shadow: 0 12px 28px rgba(31,41,55,0.05);
}
.scene-card strong, .risk-card strong { color: var(--blue); font-size: 14px; }

.bento-feature-center { display: grid; gap: 18px; }
.bento-card {
    min-height: 210px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-xl);
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 12px 34px rgba(31,41,55,0.05);
}
.bento-card.featured {
    background: linear-gradient(135deg, #FFFFFF 0%, #F0F6FF 100%);
    border-color: rgba(41,128,254,0.24);
}
.bento-label { color: var(--blue); font-weight: 800; font-size: 14px; }

.split-section, .safe-browsing-section, .smart-route-section, .multi-device-section {
    display: grid;
    gap: 26px;
    align-items: center;
}
.feature-panel {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-xl);
    padding: 26px;
    box-shadow: var(--shadow);
}
.feature-image {
    background: linear-gradient(135deg, #F6F8FC 0%, #EEF5FF 100%);
    border: 1px solid var(--line);
    border-radius: var(--radius-xl);
    padding: 18px;
    box-shadow: var(--shadow);
}
.feature-image img { border-radius: 24px; width: 100%; object-fit: cover; }
.point-list { display: grid; gap: 12px; margin: 20px 0; }
.point-list span, .check-list span {
    display: block;
    padding: 12px 14px;
    border-radius: 16px;
    background: var(--light);
    color: #334155;
    font-weight: 700;
}
.smart-route-section .feature-panel { background: linear-gradient(135deg, #FFFFFF, #F8FBFF); }
.public-wifi-section { display: grid; gap: 20px; }
.wifi-panel {
    border-radius: var(--radius-xl);
    border: 1px solid var(--line);
    background: #fff;
    padding: 24px;
    box-shadow: var(--shadow);
}
.wifi-grid, .privacy-grid, .diagnosis-grid, .account-grid { display: grid; gap: 18px; margin-top: 18px; }
.privacy-guard-section { display: grid; gap: 24px; }
.privacy-panel {
    background: linear-gradient(135deg, #fff 0%, #F5F8FF 100%);
    border: 1px solid var(--line);
    border-radius: var(--radius-xl);
    padding: 24px;
}
.device-stack { display: grid; gap: 14px; }
.device-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 22px;
    padding: 18px;
}
.network-diagnosis-section .step-card, .process-steps .step-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 22px;
    padding: 20px;
    position: relative;
}
.step-number {
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: var(--blue);
    color: #fff;
    font-weight: 900;
    margin-bottom: 12px;
}
.account-security-section .check-list { display: grid; gap: 12px; margin-top: 18px; }
.process-steps { display: grid; gap: 18px; }
.risk-card { border-left: 4px solid var(--blue); }
.faq-item h3 { font-size: 18px; }
.cta-section {
    padding: 72px 0;
    background: #fff;
}
.cta-panel {
    border-radius: var(--radius-xl);
    background: var(--gradient);
    color: #fff;
    padding: 34px;
    text-align: center;
    overflow: hidden;
    position: relative;
}
.cta-panel p { color: rgba(255,255,255,0.88); max-width: 720px; margin-left: auto; margin-right: auto; }
.cta-panel h2 { color: #fff; }

.page-hero {
    padding: 52px 0 36px;
    background: linear-gradient(180deg, #F8FBFF 0%, #fff 100%);
}
.page-hero-inner {
    max-width: 820px;
}
.page-layout { display: grid; gap: 24px; padding: 28px 0 72px; }
.article-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-xl);
    padding: 24px;
    box-shadow: 0 12px 34px rgba(31,41,55,0.05);
}
.side-card {
    background: var(--light);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 20px;
}
.guide-list { display: grid; gap: 14px; margin-top: 18px; }
.guide-item {
    padding: 16px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 18px;
}
.download-page .download-card {
    text-align: center;
    background: linear-gradient(135deg, #fff 0%, #F0F6FF 100%);
}

.site-footer { background: #101827; color: #fff; padding: 48px 0 24px; }
.site-footer p, .site-footer a { color: #BAC4D3; }
.site-footer a:hover { color: #fff; }
.footer-grid { display: grid; gap: 26px; }
.footer-grid h3 { color: #fff; font-size: 17px; }
.footer-grid a { display: block; margin: 7px 0; }
.footer-brand img { width: 38px; height: 38px; border-radius: 12px; }
.footer-brand span { color: #fff; }
.footer-bottom { display: flex; flex-direction: column; gap: 10px; border-top: 1px solid rgba(255,255,255,0.12); margin-top: 34px; padding-top: 20px; color: #BAC4D3; }

@media (min-width: 720px) {
    .container { width: min(1120px, calc(100% - 48px)); }
    .daily-scenes, .card-grid, .wifi-grid, .privacy-grid, .diagnosis-grid, .account-grid { grid-template-columns: repeat(2, 1fr); }
    .risk-grid { grid-template-columns: repeat(2, 1fr); }
    .process-steps { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1.3fr 1fr 1fr 1fr; }
    .footer-bottom { flex-direction: row; justify-content: space-between; align-items: center; }
}

@media (min-width: 980px) {
    .site-nav { position: static; display: flex; flex-direction: row; padding: 0; background: transparent; border: 0; box-shadow: none; gap: 4px; }
    .site-nav a { font-size: 14px; }
    .nav-toggle-label { display: none; }
    .hero-panel { grid-template-columns: 1.05fr 0.95fr; padding: 52px; align-items: center; }
    .daily-scenes { grid-template-columns: repeat(3, 1fr); }
    .bento-feature-center { grid-template-columns: repeat(4, 1fr); grid-auto-rows: minmax(190px, auto); }
    .bento-card.featured { grid-column: span 2; }
    .bento-card.tall { grid-row: span 2; }
    .split-section, .safe-browsing-section, .smart-route-section, .multi-device-section, .privacy-guard-section { grid-template-columns: 1fr 1fr; }
    .public-wifi-section { grid-template-columns: 1.05fr 0.95fr; align-items: center; }
    .risk-grid { grid-template-columns: repeat(4, 1fr); }
    .process-steps { grid-template-columns: repeat(3, 1fr); }
    .page-layout { grid-template-columns: minmax(0, 1fr) 320px; align-items: start; }
    .article-card { padding: 34px; }
}

@media (max-width: 420px) {
    .container { width: min(100% - 24px, 1120px); }
    .hero-panel, .cta-panel { border-radius: 26px; padding: 24px; }
    .section { padding: 50px 0; }
    .download-btn { width: 100%; }
    .float-chip { position: static; margin: 8px 6px 0 0; }
    .product-card { display: flex; flex-wrap: wrap; }
    .product-card img { width: 100%; }
}
