* {
    box-sizing: border-box;
}

:root {
    --gradient: linear-gradient(90deg, #3558F2 0%, #7B4EF1 50%, #B84DDA 100%);
    --blue: #2980FE;
    --blue-dark: #1768E8;
    --text: #202437;
    --muted: #687085;
    --soft: #F5F7FB;
    --soft-blue: #EEF4FF;
    --border: #E4E9F2;
    --card: #FFFFFF;
    --shadow: 0 18px 46px rgba(45, 76, 150, .10);
    --radius: 28px;
}

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

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(228, 233, 242, .78);
}

.header-inner {
    width: min(1180px, calc(100% - 28px));
    margin: 0 auto;
    min-height: 70px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.logo-wrap {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    font-size: 20px;
}

.logo-img {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    object-fit: cover;
    box-shadow: 0 10px 24px rgba(41, 128, 254, .16);
}

.brand-text {
    letter-spacing: .03em;
}

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

.site-nav a {
    display: block;
    padding: 10px 12px;
    border-radius: 14px;
    color: #3E465E;
    font-weight: 650;
    font-size: 15px;
}

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

.nav-toggle {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

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

.nav-toggle-label span {
    display: block;
    width: 18px;
    height: 2px;
    background: #26304F;
    border-radius: 999px;
}

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

.section {
    padding: 56px 0;
}

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

.section-title {
    margin: 0 0 12px;
    font-size: clamp(28px, 5vw, 44px);
    line-height: 1.18;
    letter-spacing: -.04em;
}

.section-lead {
    margin: 0 auto 30px;
    max-width: 760px;
    color: var(--muted);
    font-size: 17px;
}

.center {
    text-align: center;
}

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

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

.link-more {
    color: var(--blue);
    font-weight: 800;
    display: inline-flex;
    margin-top: 12px;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(41, 128, 254, .10);
    color: var(--blue);
    font-weight: 800;
    font-size: 13px;
}

.network-manager-hero {
    padding: 30px 0 46px;
    background:
        radial-gradient(circle at 18% 20%, rgba(41,128,254,.18), transparent 30%),
        radial-gradient(circle at 90% 18%, rgba(184,77,218,.16), transparent 30%),
        #fff;
}

.hero-shell {
    border-radius: 36px;
    background: var(--gradient);
    padding: 28px;
    color: #fff;
    overflow: hidden;
    position: relative;
}

.hero-shell::after {
    content: "";
    position: absolute;
    width: 320px;
    height: 320px;
    right: -90px;
    top: -120px;
    background: rgba(255, 255, 255, .16);
    border-radius: 999px;
}

.hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 30px;
    align-items: center;
}

.hero-copy h1 {
    margin: 14px 0;
    font-size: clamp(36px, 8vw, 68px);
    line-height: 1.06;
    letter-spacing: -.06em;
}

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

.hero-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

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

.hero-visual {
    position: relative;
    min-height: 310px;
    display: grid;
    place-items: center;
}

.hero-device-card {
    width: min(360px, 82vw);
    padding: 16px;
    border-radius: 34px;
    background: rgba(255, 255, 255, .18);
    border: 1px solid rgba(255, 255, 255, .28);
    box-shadow: 0 28px 80px rgba(9, 24, 76, .28);
}

.hero-device-card img {
    border-radius: 24px;
    margin: 0 auto;
}

.float-tag {
    position: absolute;
    background: rgba(255,255,255,.20);
    backdrop-filter: blur(10px);
}

.float-tag:nth-of-type(1) { top: 10px; left: 0; }
.float-tag:nth-of-type(2) { top: 36%; right: 0; }
.float-tag:nth-of-type(3) { bottom: 18%; left: 4px; }
.float-tag:nth-of-type(4) { bottom: 2px; right: 26px; }

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

.scene-card,
.bento-card,
.info-card,
.risk-card,
.faq-item,
.step-card,
.content-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: 0 12px 32px rgba(36, 50, 95, .06);
}

.scene-card {
    padding: 22px;
}

.scene-card .eyebrow,
.bento-card .eyebrow {
    display: inline-block;
    margin-bottom: 10px;
    color: var(--blue);
    font-weight: 850;
    font-size: 13px;
}

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

.scene-card p,
.bento-card p,
.info-card p,
.risk-card p,
.step-card p,
.content-card p,
.article-body p {
    margin: 0 0 10px;
    color: var(--muted);
}

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

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

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

.bento-card.large {
    background: linear-gradient(180deg, #FFFFFF 0%, #F3F7FF 100%);
}

.feature-split,
.safe-browsing-section,
.smart-route-section,
.multi-device-section,
.network-diagnosis-section,
.account-security-section {
    display: grid;
    gap: 24px;
    align-items: center;
}

.feature-panel,
.safety-panel {
    border-radius: 34px;
    border: 1px solid var(--border);
    background: #fff;
    box-shadow: var(--shadow);
    overflow: hidden;
}

.feature-panel {
    padding: 24px;
}

.feature-panel img {
    border-radius: 26px;
    margin: 0 auto;
}

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

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

.smart-route-section .feature-panel {
    background: linear-gradient(180deg, #F7FAFF 0%, #fff 100%);
}

.public-wifi-section {
    display: grid;
    gap: 20px;
}

.wifi-grid,
.privacy-grid,
.risk-grid,
.faq-grid,
.article-grid,
.tip-grid {
    display: grid;
    gap: 16px;
}

.info-card,
.risk-card,
.step-card,
.content-card {
    padding: 22px;
}

.info-card img {
    border-radius: 22px;
    margin-bottom: 14px;
}

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

.privacy-main {
    padding: 26px;
    border-radius: 34px;
    background: linear-gradient(135deg, #F7FAFF 0%, #fff 70%);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
}

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

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

.step-card::before {
    counter-increment: step;
    content: counter(step);
    position: absolute;
    left: 22px;
    top: 22px;
    width: 36px;
    height: 36px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    background: var(--blue);
    color: #fff;
    font-weight: 900;
}

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

.faq-item {
    padding: 20px;
}

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

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

.cta-section {
    margin: 20px auto 0;
    border-radius: 36px;
    background: var(--gradient);
    color: #fff;
    padding: 42px 26px;
    text-align: center;
    overflow: hidden;
}

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

.cta-section .download-btn {
    background: var(--blue);
}

.page-hero {
    padding: 44px 0;
    background:
        radial-gradient(circle at 18% 10%, rgba(41,128,254,.12), transparent 28%),
        linear-gradient(180deg, #FFFFFF 0%, #F7F9FE 100%);
}

.page-hero-card {
    border-radius: 34px;
    padding: 28px;
    background: #fff;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
}

.page-hero h1 {
    margin: 12px 0 12px;
    font-size: clamp(32px, 6vw, 54px);
    line-height: 1.12;
    letter-spacing: -.05em;
}

.page-hero p {
    color: var(--muted);
    max-width: 820px;
    margin: 0;
    font-size: 17px;
}

.article-body {
    padding: 42px 0 64px;
}

.article-grid {
    align-items: start;
}

.article-main {
    display: grid;
    gap: 18px;
}

.article-main h2 {
    margin: 0;
    font-size: 28px;
    letter-spacing: -.03em;
}

.article-main .content-card {
    box-shadow: none;
}

.sidebar {
    display: grid;
    gap: 16px;
}

.sidebar .content-card {
    background: var(--soft);
    box-shadow: none;
}

.download-strip {
    margin-top: 22px;
    padding: 24px;
    border-radius: 28px;
    background: linear-gradient(180deg, #F5F9FF 0%, #FFFFFF 100%);
    border: 1px solid var(--border);
    text-align: center;
}

.download-strip p {
    color: var(--muted);
}

.install-steps {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 12px;
    counter-reset: install;
}

.install-steps li {
    counter-increment: install;
    padding: 14px 16px 14px 56px;
    border-radius: 18px;
    background: var(--soft);
    position: relative;
}

.install-steps li::before {
    content: counter(install);
    position: absolute;
    left: 14px;
    top: 14px;
    width: 28px;
    height: 28px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    background: var(--blue);
    color: #fff;
    font-weight: 900;
}

.site-footer {
    background: #111827;
    color: rgba(255,255,255,.72);
    padding: 44px 0 0;
}

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

.footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    font-size: 20px;
}

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

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

.site-footer a {
    display: block;
    margin: 7px 0;
    color: rgba(255,255,255,.70);
}

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

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

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

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

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

@media (min-width: 920px) {
    .site-nav {
        position: static;
        display: flex;
        align-items: center;
        gap: 2px;
        padding: 0;
        background: transparent;
        border: 0;
        border-radius: 0;
        box-shadow: none;
    }

    .site-nav a {
        padding: 9px 10px;
        font-size: 14px;
    }

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

    .hero-shell {
        padding: 50px;
    }

    .hero-grid {
        grid-template-columns: 1.06fr .94fr;
    }

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

    .bento-feature-center {
        grid-template-columns: repeat(4, minmax(0, 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;
    }

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

    .smart-route-section,
    .account-security-section {
        grid-template-columns: .92fr 1.08fr;
    }

    .public-wifi-section {
        grid-template-columns: 1fr .9fr;
        align-items: center;
    }

    .privacy-guard-section {
        grid-template-columns: 1fr 1fr;
    }

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

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

@media (min-width: 1120px) {
    .site-nav a {
        padding: 10px 12px;
        font-size: 15px;
    }
}

@media (max-width: 520px) {
    .container {
        width: min(100% - 24px, 1120px);
    }

    .hero-shell,
    .page-hero-card,
    .cta-section {
        border-radius: 26px;
    }

    .section {
        padding: 42px 0;
    }

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

    .float-tag {
        position: static;
        margin: 6px;
        display: inline-flex;
    }

    .hero-visual {
        min-height: auto;
    }
}
