* {
    box-sizing: border-box;
}

:root {
    --brand-gradient: linear-gradient(90deg, #3558F2 0%, #7B4EF1 50%, #B84DDA 100%);
    --blue: #2980FE;
    --blue-hover: #1768E8;
    --text: #1f2937;
    --muted: #667085;
    --light: #f5f7fb;
    --lighter: #f8fbff;
    --border: #e6ebf2;
    --card: #ffffff;
    --deep: #111827;
    --radius-lg: 32px;
    --radius-md: 24px;
    --radius-sm: 16px;
    --shadow: 0 18px 45px rgba(30, 64, 175, 0.08);
}

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.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: 30;
    background: rgba(255,255,255,0.94);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--border);
}

.header-inner {
    min-height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    color: var(--deep);
    white-space: nowrap;
}

.logo img {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    object-fit: cover;
}

.nav-toggle {
    display: none;
}

.nav-toggle-label {
    width: 42px;
    height: 42px;
    border: 1px solid var(--border);
    border-radius: 14px;
    display: grid;
    place-content: center;
    gap: 5px;
    cursor: pointer;
}

.nav-toggle-label span {
    display: block;
    width: 18px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
}

.main-nav {
    position: absolute;
    left: 16px;
    right: 16px;
    top: 78px;
    padding: 12px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 20px;
    box-shadow: var(--shadow);
    display: none;
    grid-template-columns: 1fr;
    gap: 4px;
}

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

.main-nav a {
    padding: 11px 14px;
    color: #394150;
    border-radius: 14px;
    font-size: 14px;
}

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

.download-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 24px;
    background: var(--blue);
    color: #fff;
    border-radius: 999px;
    font-weight: 700;
    box-shadow: 0 12px 26px rgba(41, 128, 254, 0.26);
    transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
}

.download-btn:hover {
    background: var(--blue-hover);
    transform: translateY(-2px);
    box-shadow: 0 16px 34px rgba(23, 104, 232, 0.28);
}

.section {
    padding: 70px 0;
}

.section-light {
    background: var(--light);
}

.section-head {
    max-width: 760px;
    margin: 0 auto 28px;
    text-align: center;
}

.section-head h2,
.page-hero h1,
.network-manager-hero h1 {
    margin: 0 0 14px;
    line-height: 1.15;
    color: var(--deep);
    letter-spacing: -0.03em;
}

.section-head h2 {
    font-size: clamp(28px, 5vw, 44px);
}

.section-head p,
.page-hero p,
.network-manager-hero p {
    color: var(--muted);
    margin: 0;
}

.badge,
.category-badge,
.kicker {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 999px;
    background: #eef6ff;
    color: var(--blue);
    font-size: 13px;
    font-weight: 700;
}

.network-manager-hero {
    padding: 34px 0 46px;
}

.hero-shell {
    background: var(--brand-gradient);
    border-radius: 30px;
    padding: 28px;
    color: #fff;
    position: relative;
    overflow: hidden;
    min-height: 620px;
    display: grid;
    align-items: center;
    gap: 28px;
}

.hero-shell::before,
.hero-shell::after {
    content: "";
    position: absolute;
    border-radius: 999px;
    background: rgba(255,255,255,0.16);
    filter: blur(6px);
}

.hero-shell::before {
    width: 280px;
    height: 280px;
    right: -80px;
    top: -80px;
}

.hero-shell::after {
    width: 200px;
    height: 200px;
    left: 35%;
    bottom: -100px;
}

.hero-content,
.hero-visual {
    position: relative;
    z-index: 2;
}

.network-manager-hero h1 {
    color: #fff;
    font-size: clamp(38px, 8vw, 68px);
    max-width: 620px;
}

.network-manager-hero p {
    color: rgba(255,255,255,0.88);
    max-width: 650px;
    font-size: 16px;
}

.hero-actions {
    margin-top: 24px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
}

.hero-tags,
.float-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.hero-tags {
    margin-top: 22px;
}

.hero-tags span,
.float-tags span {
    border: 1px solid rgba(255,255,255,0.28);
    color: #fff;
    background: rgba(255,255,255,0.14);
    padding: 8px 12px;
    border-radius: 999px;
    font-size: 13px;
}

.hero-visual {
    background: rgba(255,255,255,0.16);
    border: 1px solid rgba(255,255,255,0.24);
    border-radius: 28px;
    padding: 20px;
    box-shadow: 0 22px 60px rgba(10, 20, 80, 0.18);
}

.hero-visual img {
    margin: 0 auto;
    max-height: 370px;
    object-fit: contain;
}

.status-card {
    margin-top: 14px;
    background: rgba(255,255,255,0.94);
    color: var(--text);
    border-radius: 20px;
    padding: 14px;
    display: grid;
    gap: 8px;
}

.status-card strong {
    color: var(--deep);
}

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

.daily-scenes {
    display: grid;
    gap: 16px;
}

.scene-card,
.bento-card,
.info-card,
.step-card,
.risk-card,
.faq-item,
.content-card,
.tip-box,
.page-panel {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow);
}

.scene-card {
    padding: 24px;
}

.scene-card .tag,
.bento-card .tag {
    color: var(--blue);
    font-weight: 800;
    font-size: 13px;
}

.scene-card h3,
.bento-card h3,
.info-card h3,
.step-card h3,
.risk-card h3,
.content-card h3 {
    margin: 10px 0 8px;
    color: var(--deep);
}

.scene-card p,
.bento-card p,
.info-card p,
.step-card p,
.risk-card p,
.content-card p,
.tip-box p {
    margin: 0;
    color: var(--muted);
}

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

.bento-feature-center {
    display: grid;
    gap: 16px;
}

.bento-card {
    padding: 24px;
    min-height: 170px;
    position: relative;
    overflow: hidden;
}

.bento-card.featured {
    background: linear-gradient(145deg, #ffffff 0%, #f1f6ff 100%);
}

.bento-card::after {
    content: "";
    position: absolute;
    width: 88px;
    height: 88px;
    right: -28px;
    bottom: -28px;
    border-radius: 999px;
    background: rgba(41,128,254,0.08);
}

.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 {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow);
}

.feature-panel h2 {
    margin: 12px 0;
    font-size: clamp(26px, 5vw, 40px);
    line-height: 1.18;
    color: var(--deep);
}

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

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

.feature-list li,
.check-list li {
    padding: 12px 14px;
    border-radius: 16px;
    background: var(--lighter);
    color: #3b4656;
    border: 1px solid var(--border);
}

.image-card {
    border-radius: var(--radius-lg);
    background: #fff;
    border: 1px solid var(--border);
    padding: 18px;
    box-shadow: var(--shadow);
    min-height: 260px;
    display: grid;
    place-items: center;
}

.image-card.gradient {
    background: linear-gradient(140deg, #eef5ff 0%, #fff 55%, #f7efff 100%);
}

.public-wifi-section {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow);
}

.wifi-grid,
.privacy-grid,
.risk-grid,
.info-grid,
.faq-grid,
.process-steps {
    display: grid;
    gap: 16px;
}

.info-card {
    padding: 20px;
}

.privacy-guard-section {
    display: grid;
    gap: 20px;
}

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

.process-steps {
    counter-reset: step;
}

.step-card {
    padding: 20px;
    position: relative;
}

.step-num {
    width: 38px;
    height: 38px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    background: var(--blue);
    color: #fff;
    font-weight: 800;
}

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

.risk-card strong {
    display: block;
    margin-top: 10px;
    color: #334155;
}

.faq-item {
    padding: 20px;
}

.faq-item h3 {
    margin: 0 0 8px;
    color: var(--deep);
}

.faq-item p {
    margin: 0;
    color: var(--muted);
}

.cta-section {
    margin: 30px 0 70px;
}

.cta-box {
    background: var(--brand-gradient);
    border-radius: var(--radius-lg);
    padding: 34px 24px;
    text-align: center;
    color: #fff;
    overflow: hidden;
    position: relative;
}

.cta-box h2 {
    margin: 0 0 10px;
    font-size: clamp(28px, 6vw, 44px);
}

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

.page-hero {
    padding: 54px 0 28px;
    background: linear-gradient(180deg, #f6f9ff 0%, #fff 100%);
}

.page-hero-inner {
    display: grid;
    gap: 18px;
    max-width: 860px;
}

.page-hero h1 {
    font-size: clamp(34px, 7vw, 58px);
}

.page-layout {
    display: grid;
    gap: 22px;
    align-items: start;
    padding: 34px 0 70px;
}

.content-card {
    padding: 24px;
}

.content-card + .content-card {
    margin-top: 18px;
}

.content-card h2 {
    margin: 0 0 12px;
    color: var(--deep);
    font-size: clamp(24px, 4vw, 34px);
}

.content-card p + p {
    margin-top: 12px;
}

.tip-box {
    padding: 20px;
    background: linear-gradient(160deg, #fff 0%, #f3f8ff 100%);
}

.tip-box h3 {
    margin: 0 0 10px;
    color: var(--deep);
}

.side-links {
    display: grid;
    gap: 10px;
}

.side-links a {
    padding: 13px 14px;
    border: 1px solid var(--border);
    border-radius: 16px;
    color: #3b4656;
    background: #fff;
}

.side-links a:hover {
    color: var(--blue);
    border-color: #b8d8ff;
}

.download-steps {
    display: grid;
    gap: 14px;
    margin: 24px 0;
}

.download-steps .step-card {
    box-shadow: none;
}

.site-footer {
    background: #111827;
    color: #d1d5db;
    padding: 46px 0 24px;
}

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

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

.site-footer h3 {
    color: #fff;
    margin: 0 0 12px;
    font-size: 16px;
}

.site-footer p {
    color: #aeb7c6;
    margin: 0;
}

.site-footer a {
    display: block;
    color: #cbd5e1;
    margin: 8px 0;
    font-size: 14px;
}

.site-footer a:hover {
    color: #fff;
}

.footer-bottom {
    margin-top: 28px;
    padding-top: 18px;
    border-top: 1px solid rgba(255,255,255,0.12);
    display: flex;
    flex-direction: column;
    gap: 8px;
    color: #94a3b8;
    font-size: 13px;
}

@media (min-width: 680px) {
    .daily-scenes,
    .wifi-grid,
    .privacy-grid,
    .risk-grid,
    .info-grid,
    .faq-grid,
    .process-steps,
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 900px) {
    .container {
        width: min(1180px, calc(100% - 48px));
    }

    .nav-toggle-label {
        display: none;
    }

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

    .main-nav a {
        padding: 8px 10px;
        font-size: 14px;
    }

    .hero-shell {
        min-height: 620px;
        grid-template-columns: 1.05fr .95fr;
        padding: 48px;
        border-radius: 36px;
    }

    .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.featured {
        grid-column: span 3;
        min-height: 220px;
    }

    .safe-browsing-section,
    .smart-route-section,
    .multi-device-section,
    .network-diagnosis-section,
    .account-security-section,
    .split-section {
        grid-template-columns: 1fr 1fr;
    }

    .public-wifi-section {
        padding: 36px;
    }

    .wifi-grid,
    .privacy-grid,
    .risk-grid,
    .info-grid {
        grid-template-columns: repeat(3, 1fr);
    }

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

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

    .page-layout {
        grid-template-columns: minmax(0, 1fr) 310px;
    }

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

    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
    }
}

@media (min-width: 1120px) {
    .main-nav a {
        padding: 8px 12px;
    }
}
