* {
    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: #e5e9f2;
    --white: #ffffff;
    --shadow: 0 18px 50px rgba(31, 41, 55, .08);
    --radius-lg: 32px;
    --radius: 24px;
    --radius-sm: 18px;
}

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

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

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

.container {
    width: min(1120px, calc(100% - 32px));
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, .92);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(229, 233, 242, .8);
}

.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;
}

.logo,
.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    color: #172033;
    letter-spacing: .2px;
}

.logo img,
.footer-logo img {
    width: 38px;
    height: 38px;
    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;
    background: var(--white);
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    padding: 0 10px;
    cursor: pointer;
}

.nav-toggle-label span {
    display: block;
    height: 2px;
    background: #243044;
    border-radius: 8px;
}

.site-nav {
    position: absolute;
    top: 72px;
    left: 14px;
    right: 14px;
    display: none;
    background: var(--white);
    padding: 14px;
    border: 1px solid var(--border);
    border-radius: 22px;
    box-shadow: var(--shadow);
}

.site-nav a {
    display: block;
    padding: 12px 14px;
    color: #344054;
    font-size: 15px;
    border-radius: 14px;
}

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

.nav-toggle:checked ~ .site-nav {
    display: block;
}

.section {
    padding: 64px 0;
}

.section-title {
    margin-bottom: 28px;
}

.section-title .eyebrow,
.eyebrow,
.category-badge {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    padding: 6px 12px;
    border-radius: 999px;
    background: #eef5ff;
    color: var(--blue);
    font-weight: 700;
    font-size: 13px;
}

.section-title h2,
.page-title h1 {
    margin: 12px 0 10px;
    font-size: clamp(28px, 5vw, 46px);
    line-height: 1.2;
    letter-spacing: -.8px;
}

.section-title p,
.page-title p,
.lead {
    margin: 0;
    color: var(--muted);
    font-size: 17px;
}

.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;
    line-height: 1;
    box-shadow: 0 12px 28px rgba(41, 128, 254, .24);
    transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
}

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

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

.hero-shell {
    position: relative;
    overflow: hidden;
    border-radius: 34px;
    padding: 36px 24px;
    background: var(--brand-gradient);
    color: #fff;
    box-shadow: 0 24px 70px rgba(53, 88, 242, .22);
}

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

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

.hero-shell::after {
    width: 180px;
    height: 180px;
    left: 18%;
    bottom: -95px;
}

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

.hero-content h1 {
    margin: 14px 0 16px;
    max-width: 680px;
    font-size: clamp(34px, 8vw, 62px);
    line-height: 1.08;
    letter-spacing: -1.2px;
}

.hero-content p {
    margin: 0 0 24px;
    max-width: 620px;
    color: rgba(255, 255, 255, .88);
    font-size: 18px;
}

.hero-tags,
.floating-tags,
.tag-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.hero-tags span,
.floating-tags span,
.tag-row span {
    border-radius: 999px;
    padding: 7px 12px;
    background: rgba(255, 255, 255, .16);
    color: #fff;
    font-weight: 700;
    font-size: 13px;
}

.hero-content .download-btn {
    margin-bottom: 18px;
}

.hero-visual {
    margin-top: 32px;
}

.visual-card {
    position: relative;
    padding: 20px;
    border-radius: 32px;
    background: rgba(255, 255, 255, .18);
    border: 1px solid rgba(255, 255, 255, .26);
    backdrop-filter: blur(12px);
}

.visual-card img {
    width: min(420px, 100%);
    margin: 0 auto;
    border-radius: 28px;
}

.status-pill {
    position: static;
    margin: 12px 0 0;
    display: inline-flex;
    padding: 10px 14px;
    border-radius: 16px;
    background: rgba(255, 255, 255, .92);
    color: #182235;
    font-weight: 800;
    box-shadow: 0 12px 30px rgba(29, 37, 54, .12);
}

.card,
.scene-card,
.bento-card,
.info-card,
.step-card,
.risk-card,
.faq-item,
.feature-page-card,
.side-panel,
.guide-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: 0 14px 40px rgba(31, 41, 55, .05);
}

.daily-scenes,
.card-grid,
.risk-grid,
.info-grid,
.guide-grid,
.faq-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
}

.scene-card,
.bento-card,
.info-card,
.step-card,
.risk-card,
.faq-item,
.guide-card {
    padding: 22px;
}

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

.scene-card h3,
.bento-card h3,
.info-card h3,
.risk-card h3,
.guide-card h3 {
    margin: 8px 0 8px;
    font-size: 21px;
}

.scene-card p,
.bento-card p,
.info-card p,
.risk-card p,
.guide-card p,
.faq-item p,
.step-card p {
    color: var(--muted);
    margin: 0 0 14px;
}

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

.bento-feature-center {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
}

.bento-card.large {
    background: linear-gradient(135deg, #fff 0%, #eef5ff 100%);
}

.split-section,
.safe-browsing-section,
.smart-route-section,
.multi-device-section,
.network-diagnosis-section,
.account-security-section,
.public-wifi-section,
.privacy-guard-section {
    padding: 58px 0;
}

.split-card,
.service-panel,
.privacy-panel,
.wifi-panel {
    display: grid;
    grid-template-columns: 1fr;
    gap: 28px;
    align-items: center;
    padding: 24px;
    border-radius: var(--radius-lg);
    background: var(--white);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
}

.split-card.soft,
.service-panel.soft {
    background: linear-gradient(135deg, #ffffff 0%, #f2f6ff 100%);
}

.split-card h2,
.service-panel h2,
.privacy-panel h2,
.wifi-panel h2 {
    margin: 8px 0 12px;
    font-size: clamp(26px, 5vw, 42px);
    line-height: 1.2;
}

.split-card p,
.service-panel p,
.privacy-panel p,
.wifi-panel p {
    color: var(--muted);
}

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

.feature-list li,
.check-list li,
.clean-list li {
    position: relative;
    padding-left: 26px;
    color: #42526b;
}

.feature-list li::before,
.check-list li::before,
.clean-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: .72em;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--blue);
}

.image-frame {
    padding: 16px;
    border-radius: 30px;
    background: #f3f6fb;
    border: 1px solid var(--border);
}

.image-frame img {
    border-radius: 24px;
    margin: 0 auto;
}

.wifi-panel {
    background: linear-gradient(180deg, #fff 0%, #f7fbff 100%);
}

.wifi-cards,
.privacy-cards,
.diagnosis-steps {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
    margin-top: 20px;
}

.mini-card {
    padding: 18px;
    border: 1px solid var(--border);
    border-radius: 20px;
    background: #fff;
}

.mini-card h3 {
    margin: 0 0 8px;
}

.mini-card p {
    margin: 0;
    color: var(--muted);
}

.process-steps {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

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

.risk-card {
    border-left: 5px solid var(--blue);
}

.faq-item h3 {
    margin: 0 0 10px;
    font-size: 19px;
}

.cta-section {
    padding: 68px 0;
}

.cta-card {
    text-align: center;
    color: #fff;
    border-radius: 34px;
    padding: 42px 22px;
    background: var(--brand-gradient);
    box-shadow: 0 22px 60px rgba(53, 88, 242, .18);
}

.cta-card h2 {
    margin: 0 0 12px;
    font-size: clamp(28px, 6vw, 46px);
}

.cta-card p {
    margin: 0 auto 24px;
    max-width: 720px;
    color: rgba(255, 255, 255, .9);
}

.page-hero {
    padding: 48px 0 26px;
}

.page-title {
    padding: 32px 24px;
    border-radius: 32px;
    background: linear-gradient(135deg, #ffffff 0%, #eef5ff 100%);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
}

.page-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 22px;
    padding: 34px 0 66px;
}

.article-body,
.side-panel {
    padding: 24px;
}

.article-body h2 {
    margin: 20px 0 10px;
    font-size: 26px;
}

.article-body p {
    color: #475467;
}

.article-actions {
    margin-top: 24px;
}

.side-panel h3 {
    margin: 0 0 12px;
}

.side-panel a {
    display: block;
    padding: 12px 0;
    color: var(--blue);
    font-weight: 800;
    border-bottom: 1px solid var(--border);
}

.side-panel a:last-child {
    border-bottom: 0;
}

.download-steps {
    counter-reset: dl;
    display: grid;
    gap: 14px;
    margin: 22px 0;
}

.download-steps .step-card {
    position: relative;
}

.download-steps .step-card::before {
    counter-increment: dl;
    content: counter(dl);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    margin-bottom: 10px;
    border-radius: 12px;
    background: #eef5ff;
    color: var(--blue);
    font-weight: 900;
}

.site-footer {
    background: #172033;
    color: rgba(255, 255, 255, .78);
    padding-top: 50px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

.footer-logo {
    color: #fff;
}

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

.site-footer a:not(.footer-logo) {
    display: block;
    color: rgba(255, 255, 255, .74);
    margin: 8px 0;
}

.footer-bottom {
    margin-top: 34px;
    padding: 18px;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, .12);
    color: rgba(255, 255, 255, .62);
}

@media (min-width: 700px) {
    .daily-scenes,
    .card-grid,
    .info-grid,
    .guide-grid,
    .faq-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.4fr 1fr 1fr 1fr;
    }
}

@media (min-width: 960px) {
    .nav-toggle-label {
        display: none;
    }

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

    .site-nav a {
        display: inline-flex;
        padding: 9px 12px;
    }

    .hero-shell {
        display: grid;
        grid-template-columns: minmax(0, 1.1fr) minmax(320px, .9fr);
        gap: 42px;
        align-items: center;
        padding: 58px;
    }

    .hero-visual {
        margin-top: 0;
    }

    .status-pill {
        position: absolute;
        right: 24px;
        bottom: 24px;
        margin: 0;
    }

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

    .bento-feature-center {
        grid-template-columns: repeat(6, 1fr);
    }

    .bento-card {
        min-height: 190px;
    }

    .bento-card.large {
        grid-column: span 3;
        min-height: 245px;
    }

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

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

    .split-card,
    .service-panel,
    .privacy-panel,
    .wifi-panel {
        grid-template-columns: 1fr 1fr;
        padding: 36px;
    }

    .wifi-cards,
    .privacy-cards,
    .diagnosis-steps {
        grid-template-columns: repeat(3, 1fr);
    }

    .risk-grid {
        grid-template-columns: repeat(4, 1fr);
    }

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

    .article-body,
    .side-panel {
        padding: 34px;
    }

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

@media (min-width: 1180px) {
    .process-steps {
        grid-template-columns: repeat(3, 1fr);
    }
}
