* {
    box-sizing: border-box;
}

:root {
    --brand-gradient: linear-gradient(90deg, #3558F2 0%, #7B4EF1 50%, #B84DDA 100%);
    --blue: #2980FE;
    --blue-dark: #1768E8;
    --text: #1f2937;
    --muted: #64748b;
    --soft: #f5f7fb;
    --line: #e5eaf3;
    --card: #ffffff;
    --radius-lg: 34px;
    --radius: 24px;
    --shadow: 0 18px 50px rgba(37, 68, 130, 0.10);
}

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: #f7f9fd;
    line-height: 1.7;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.86);
}

.nav-shell {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 14px 0;
    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;
    letter-spacing: -0.02em;
}

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

.brand-text {
    white-space: nowrap;
}

.site-nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 6px;
    flex-wrap: wrap;
}

.site-nav a {
    padding: 8px 11px;
    border-radius: 999px;
    color: #475569;
    font-size: 14px;
    transition: background .2s ease, color .2s ease;
}

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

.content-container,
.section-shell,
.page-shell {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
}

.network-manager-hero {
    width: min(1220px, calc(100% - 24px));
    margin: 22px auto 0;
    border-radius: var(--radius-lg);
    padding: 34px 22px;
    background: var(--brand-gradient);
    color: #fff;
    position: relative;
    overflow: hidden;
}

.network-manager-hero::before,
.cta-section::before {
    content: "";
    position: absolute;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    right: -100px;
    top: -120px;
    background: rgba(255,255,255,.20);
    filter: blur(6px);
}

.hero-grid {
    position: relative;
    display: grid;
    gap: 28px;
    align-items: center;
}

.eyebrow, .category-badge, .tag-pill {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    gap: 8px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
}

.eyebrow {
    padding: 8px 12px;
    background: rgba(255,255,255,.18);
    color: #fff;
}

.network-manager-hero h1,
.page-hero h1 {
    margin: 16px 0 14px;
    font-size: clamp(34px, 7vw, 66px);
    line-height: 1.08;
    letter-spacing: -0.05em;
}

.hero-copy {
    max-width: 640px;
    color: rgba(255,255,255,.88);
    font-size: 17px;
    margin: 0 0 24px;
}

.download-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 13px 24px;
    border-radius: 999px;
    background: #2980FE;
    color: #fff;
    font-weight: 800;
    box-shadow: 0 16px 30px rgba(41, 128, 254, 0.28);
    transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
}

.download-btn:hover {
    background: #1768E8;
    transform: translateY(-1px);
    box-shadow: 0 20px 34px rgba(23, 104, 232, 0.30);
}

.hero-tags, .tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

.tag-pill {
    padding: 8px 12px;
    background: rgba(255,255,255,.16);
    color: rgba(255,255,255,.92);
    border: 1px solid rgba(255,255,255,.18);
}

.product-stage {
    position: relative;
    min-height: 320px;
    display: grid;
    place-items: center;
}

.product-stage .hero-img {
    width: min(360px, 84%);
    border-radius: 34px;
    filter: drop-shadow(0 26px 48px rgba(13, 26, 69, .25));
}

.float-card {
    position: absolute;
    padding: 10px 14px;
    border-radius: 18px;
    background: rgba(255,255,255,.94);
    color: #27364b;
    box-shadow: var(--shadow);
    font-weight: 800;
    font-size: 13px;
}

.float-card.one { left: 0; top: 42px; }
.float-card.two { right: 8px; top: 104px; }
.float-card.three { left: 8px; bottom: 72px; }
.float-card.four { right: 22px; bottom: 26px; }

.section-block {
    padding: 56px 0;
}

.section-title {
    max-width: 720px;
    margin-bottom: 26px;
}

.section-title.center {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.section-title h2,
.split-copy h2,
.panel-copy h2,
.cta-section h2,
.page-content h2 {
    margin: 0 0 12px;
    font-size: clamp(28px, 4vw, 44px);
    line-height: 1.18;
    letter-spacing: -0.04em;
}

.section-title p,
.split-copy p,
.panel-copy p,
.page-hero p,
.page-content p {
    color: var(--muted);
    margin: 0;
}

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

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

.scene-card {
    padding: 22px;
}

.blue-label {
    display: inline-flex;
    padding: 5px 10px;
    border-radius: 999px;
    background: #edf6ff;
    color: var(--blue);
    font-size: 12px;
    font-weight: 800;
    margin-bottom: 12px;
}

.scene-card h3,
.bento-card h3,
.info-card h3,
.risk-card h3,
.step-card h3,
.guide-card h3,
.tip-box h3,
.related-card h3 {
    margin: 0 0 8px;
    font-size: 20px;
}

.scene-card p,
.bento-card p,
.info-card p,
.risk-card p,
.step-card p,
.guide-card p,
.tip-box p,
.related-card p,
.download-page-card p {
    color: var(--muted);
    margin: 0 0 14px;
}

.text-link {
    color: var(--blue);
    font-weight: 800;
}

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

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

.bento-card::after {
    content: "";
    position: absolute;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    right: -40px;
    bottom: -40px;
    background: linear-gradient(135deg, rgba(41,128,254,.13), rgba(184,77,218,.12));
}

.bento-card.large {
    min-height: 240px;
}

.bento-card .card-index {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 15px;
    background: #eef5ff;
    color: var(--blue);
    font-weight: 900;
    margin-bottom: 18px;
}

.safe-browsing-section,
.smart-route-section,
.public-wifi-section,
.privacy-guard-section,
.multi-device-section,
.network-diagnosis-section,
.account-security-section,
.gradient-background {
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.split-panel {
    display: grid;
    gap: 24px;
    align-items: center;
    padding: 24px;
    border-radius: var(--radius-lg);
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
}

.split-panel.soft {
    background: #f1f6ff;
}

.split-panel.gradient-card {
    background: var(--brand-gradient);
    color: #fff;
}

.split-panel.gradient-card p,
.split-panel.gradient-card li {
    color: rgba(255,255,255,.88);
}

.split-image {
    border-radius: 28px;
    background: #f7f9ff;
    padding: 18px;
}

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

.feature-list li,
.check-list li,
.steps-list li {
    color: #40516a;
    background: #f7faff;
    border: 1px solid #e8eef8;
    border-radius: 16px;
    padding: 12px 14px;
}

.info-grid,
.risk-grid,
.faq-grid,
.related-grid,
.advice-grid {
    display: grid;
    gap: 16px;
}

.info-card,
.risk-card,
.step-card,
.guide-card,
.tip-box,
.related-card,
.download-page-card {
    padding: 22px;
}

.public-wifi-section .info-card,
.risk-card {
    border-left: 4px solid var(--blue);
}

.privacy-panel {
    display: grid;
    gap: 16px;
}

.process-steps {
    display: grid;
    gap: 16px;
    counter-reset: step;
}

.step-card {
    position: relative;
}

.step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 14px;
    background: var(--blue);
    color: #fff;
    font-weight: 900;
    margin-bottom: 14px;
}

.safety-panel {
    padding: 24px;
    border-radius: var(--radius-lg);
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
}

.faq-item {
    padding: 20px;
}

.faq-item h3 {
    margin: 0 0 8px;
    font-size: 18px;
}

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

.cta-section {
    width: min(1180px, calc(100% - 32px));
    margin: 34px auto 68px;
    padding: 42px 24px;
    border-radius: var(--radius-lg);
    background: var(--brand-gradient);
    color: #fff;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section p {
    max-width: 720px;
    margin: 0 auto 22px;
    color: rgba(255,255,255,.88);
}

.page-hero {
    width: min(1180px, calc(100% - 32px));
    margin: 24px auto 0;
    padding: 34px 22px;
    border-radius: var(--radius-lg);
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
}

.category-badge {
    padding: 7px 12px;
    color: var(--blue);
    background: #edf6ff;
}

.page-layout {
    width: min(1180px, calc(100% - 32px));
    margin: 24px auto 62px;
    display: grid;
    gap: 18px;
}

.page-content {
    display: grid;
    gap: 18px;
}

.guide-card.highlight {
    background: #f3f7ff;
}

.guide-layout {
    display: grid;
    gap: 18px;
}

.side-panel {
    display: grid;
    gap: 16px;
}

.notice-panel {
    padding: 24px;
    border-radius: var(--radius);
    background: linear-gradient(135deg, #f7fbff, #ffffff);
    border: 1px solid var(--line);
}

.download-page-card {
    display: grid;
    gap: 18px;
    align-items: center;
}

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

.footer-grid {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    display: grid;
    gap: 26px;
}

.footer-brand img {
    width: 36px;
    height: 36px;
    border-radius: 12px;
}

.site-footer p,
.footer-bottom {
    color: #a9b6c8;
}

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

.site-footer a:not(.footer-brand) {
    display: block;
    color: #cbd5e1;
    margin: 7px 0;
}

.footer-bottom {
    width: min(1180px, calc(100% - 32px));
    margin: 26px auto 0;
    border-top: 1px solid rgba(255,255,255,.08);
    padding-top: 18px;
    font-size: 14px;
}

@media (min-width: 640px) {
    .daily-scenes,
    .info-grid,
    .risk-grid,
    .faq-grid,
    .related-grid,
    .advice-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

@media (min-width: 820px) {
    .network-manager-hero {
        padding: 52px;
    }

    .hero-grid,
    .split-panel,
    .privacy-panel,
    .download-page-card {
        grid-template-columns: 1.05fr .95fr;
    }

    .split-panel.reverse .split-image {
        order: -1;
    }

    .daily-scenes {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .bento-feature-center {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        grid-auto-flow: dense;
    }

    .bento-card.large {
        grid-column: span 2;
        grid-row: span 2;
    }

    .bento-card.wide {
        grid-column: span 2;
    }

    .info-grid.three,
    .risk-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

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

    .page-layout {
        grid-template-columns: minmax(0, 1fr) 320px;
        align-items: start;
    }

    .footer-grid {
        grid-template-columns: 1.5fr .8fr .8fr .8fr;
    }
}

@media (max-width: 720px) {
    .nav-shell {
        align-items: flex-start;
        flex-direction: column;
    }

    .site-nav {
        justify-content: flex-start;
        width: 100%;
    }

    .site-nav a {
        background: #f6f8fc;
    }

    .download-btn {
        width: 100%;
        min-height: 52px;
    }

    .float-card {
        position: static;
        display: inline-flex;
        margin: 5px;
    }

    .product-stage {
        display: block;
        text-align: center;
    }

    .product-stage .hero-img {
        margin: 0 auto 12px;
    }
}
