* {
    box-sizing: border-box;
}

:root {
    --brand-gradient: linear-gradient(90deg, #3558F2 0%, #7B4EF1 50%, #B84DDA 100%);
    --blue: #2980FE;
    --blue-dark: #1768E8;
    --text: #1f2937;
    --muted: #667085;
    --light: #f5f7fb;
    --line: #e6eaf2;
    --panel: #ffffff;
    --soft-blue: #eef5ff;
    --radius-xl: 32px;
    --radius-lg: 24px;
    --shadow: 0 20px 60px rgba(31, 41, 55, .08);
    --shadow-soft: 0 14px 40px rgba(41, 128, 254, .10);
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
    color: var(--text);
    background: #fff;
    line-height: 1.75;
    overflow-x: hidden;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -2;
    background:
        radial-gradient(circle at 15% 5%, rgba(41, 128, 254, .10), transparent 30%),
        radial-gradient(circle at 85% 20%, rgba(184, 77, 218, .10), transparent 34%),
        #fff;
}

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

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

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

h1, h2, h3 {
    margin: 0;
    line-height: 1.2;
    color: #111827;
}

ul, ol {
    margin: 0;
    padding: 0;
}

li {
    list-style: none;
}

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, .88);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(230, 234, 242, .85);
}

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

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

.logo,
.footer-brand 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(--line);
    border-radius: 14px;
    display: grid;
    place-content: center;
    gap: 5px;
    background: #fff;
    cursor: pointer;
}

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

.site-nav {
    position: absolute;
    left: 16px;
    right: 16px;
    top: 74px;
    display: none;
    flex-direction: column;
    gap: 8px;
    padding: 16px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 22px;
    box-shadow: var(--shadow);
}

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

.site-nav a {
    padding: 10px 12px;
    border-radius: 12px;
    color: #344054;
    font-size: 14px;
    font-weight: 650;
}

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

.nav-download {
    color: var(--blue) !important;
    background: #eef5ff;
}

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

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

.section {
    padding: 70px 0;
}

.section-soft {
    background: linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
}

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

.section-head.center {
    text-align: center;
    max-width: 780px;
    margin-left: auto;
    margin-right: auto;
}

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

.section-head h2 {
    font-size: clamp(28px, 5vw, 46px);
    letter-spacing: -.04em;
    margin-bottom: 12px;
}

.section-head p {
    font-size: 16px;
}

.gradient-bg {
    background: var(--brand-gradient);
    color: #fff;
}

.network-manager-hero {
    width: min(1180px, calc(100% - 28px));
    margin: 24px auto 0;
    padding: 30px 22px 34px;
    border-radius: 34px;
    background: var(--brand-gradient);
    position: relative;
    overflow: hidden;
    color: #fff;
    box-shadow: 0 30px 80px rgba(53, 88, 242, .22);
}

.network-manager-hero::after {
    content: "";
    position: absolute;
    width: 440px;
    height: 440px;
    border-radius: 50%;
    right: -160px;
    top: -120px;
    background: rgba(255, 255, 255, .16);
}

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

.hero-copy h1 {
    color: #fff;
    font-size: clamp(34px, 8vw, 64px);
    letter-spacing: -.06em;
    margin-bottom: 18px;
}

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

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

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

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

.hero-visual {
    position: relative;
    border-radius: 32px;
    background: rgba(255, 255, 255, .18);
    border: 1px solid rgba(255, 255, 255, .22);
    padding: 18px;
    min-height: 300px;
    display: grid;
    place-items: center;
}

.hero-visual img {
    width: min(360px, 86%);
    margin: 0 auto;
    filter: drop-shadow(0 22px 40px rgba(0, 0, 0, .18));
}

.status-card {
    position: absolute;
    left: 18px;
    bottom: 18px;
    width: min(260px, calc(100% - 36px));
    padding: 14px;
    border-radius: 20px;
    background: rgba(255, 255, 255, .92);
    box-shadow: 0 18px 40px rgba(15, 23, 42, .12);
}

.status-card strong {
    display: block;
    color: #111827;
    margin-bottom: 4px;
}

.status-card span {
    color: #667085;
    font-size: 13px;
}

.hero-float-tags {
    position: absolute;
    top: 16px;
    right: 16px;
    justify-content: flex-end;
    max-width: 230px;
}

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

.scene-card,
.highlight-card,
.bento-card,
.feature-note,
.risk-card,
.step-card,
.faq-item,
.info-card {
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
}

.scene-card {
    padding: 22px;
}

.scene-card h3 {
    font-size: 20px;
    margin-bottom: 8px;
}

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

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

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

.bento-card::after {
    content: "";
    position: absolute;
    width: 140px;
    height: 140px;
    right: -60px;
    bottom: -70px;
    background: radial-gradient(circle, rgba(41, 128, 254, .15), transparent 70%);
}

.bento-card h3 {
    font-size: 22px;
    margin-bottom: 10px;
}

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

.feature-split,
.feature-panel,
.dual-panel {
    display: grid;
    gap: 24px;
    align-items: center;
}

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

.feature-copy h2 {
    font-size: clamp(28px, 5vw, 44px);
    letter-spacing: -.04em;
    margin-bottom: 14px;
}

.feature-copy p {
    margin-bottom: 16px;
}

.feature-list {
    display: grid;
    gap: 10px;
    margin: 18px 0 4px;
}

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

.feature-list li::before,
.check-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: .72em;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #2980FE;
    box-shadow: 0 0 0 5px rgba(41, 128, 254, .12);
}

.feature-image {
    border-radius: var(--radius-xl);
    background: linear-gradient(145deg, #f6f8fc, #ffffff);
    border: 1px solid var(--line);
    min-height: 260px;
    display: grid;
    place-items: center;
    padding: 24px;
    overflow: hidden;
}

.feature-image img {
    max-height: 360px;
    object-fit: contain;
}

.safe-browsing-section,
.smart-route-section,
.public-wifi-section,
.privacy-guard-section,
.multi-device-section,
.network-diagnosis-section,
.account-security-section {
    position: relative;
}

.card-grid {
    display: grid;
    gap: 16px;
}

.three-grid {
    display: grid;
    gap: 16px;
}

.feature-note,
.info-card {
    padding: 20px;
}

.feature-note h3,
.info-card h3 {
    font-size: 19px;
    margin-bottom: 8px;
}

.public-wifi-panel {
    padding: 24px;
    border-radius: var(--radius-xl);
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: var(--shadow-soft);
    display: grid;
    gap: 20px;
}

.public-wifi-panel img {
    width: min(320px, 100%);
    margin: 0 auto;
}

.privacy-band,
.account-panel {
    display: grid;
    gap: 16px;
    padding: 24px;
    border-radius: var(--radius-xl);
    background: linear-gradient(135deg, #fff 0%, #f5f9ff 100%);
    border: 1px solid var(--line);
}

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

.step-card {
    padding: 20px;
    display: grid;
    gap: 8px;
}

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

.safety-panel {
    padding: 24px;
    border-radius: var(--radius-xl);
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    border: 1px solid var(--line);
}

.risk-grid {
    display: grid;
    gap: 14px;
}

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

.risk-card h3 {
    font-size: 18px;
    margin-bottom: 6px;
}

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

.faq-list {
    display: grid;
    gap: 12px;
}

.faq-item {
    padding: 20px;
}

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

.cta-section {
    width: min(1120px, calc(100% - 32px));
    margin: 40px auto 70px;
    padding: 42px 22px;
    text-align: center;
    border-radius: 36px;
    background: var(--brand-gradient);
    color: #fff;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: "";
    position: absolute;
    inset: auto -100px -160px auto;
    width: 360px;
    height: 360px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .18);
}

.cta-section h2 {
    color: #fff;
    font-size: clamp(28px, 6vw, 44px);
    margin-bottom: 12px;
    position: relative;
}

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

.cta-section .download-btn {
    position: relative;
    background: #2980FE;
}

.page-hero {
    padding: 58px 0 32px;
}

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

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

.content-layout {
    display: grid;
    gap: 24px;
    align-items: start;
    padding-bottom: 70px;
}

.article-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-xl);
    padding: 24px;
    box-shadow: var(--shadow-soft);
}

.article-card h2 {
    font-size: 26px;
    margin: 28px 0 12px;
}

.article-card h2:first-child {
    margin-top: 0;
}

.article-card p + p {
    margin-top: 14px;
}

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

.side-card {
    background: #f8fbff;
    border: 1px solid var(--line);
    border-radius: 26px;
    padding: 20px;
}

.side-card h3 {
    font-size: 20px;
    margin-bottom: 12px;
}

.side-card a {
    display: block;
    padding: 10px 0;
    color: #475467;
    border-bottom: 1px solid var(--line);
}

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

.simple-steps {
    display: grid;
    gap: 12px;
    margin: 18px 0;
}

.simple-steps li {
    padding: 14px 16px;
    border-radius: 18px;
    background: #f8fbff;
    border: 1px solid var(--line);
    color: #475467;
}

.download-page .article-card {
    text-align: center;
}

.install-steps {
    display: grid;
    gap: 14px;
    margin: 28px 0;
    text-align: left;
}

.install-steps li {
    padding: 18px;
    border-radius: 20px;
    background: #f8fbff;
    border: 1px solid var(--line);
}

.install-steps strong {
    display: block;
    color: #111827;
    margin-bottom: 4px;
}

.site-footer {
    background: #101828;
    color: #fff;
    padding: 54px 0 0;
}

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

.site-footer p {
    color: rgba(255, 255, 255, .68);
}

.footer-brand {
    color: #fff;
    margin-bottom: 12px;
}

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

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

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

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

@media (min-width: 700px) {
    .daily-scenes {
        grid-template-columns: repeat(2, 1fr);
    }

    .daily-scenes .scene-card:first-child {
        grid-column: span 2;
    }

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

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

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

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

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

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

    .site-nav a {
        white-space: nowrap;
    }

    .network-manager-hero {
        padding: 58px 52px;
        border-radius: 46px;
    }

    .hero-inner {
        grid-template-columns: 1.05fr .95fr;
        gap: 52px;
    }

    .hero-visual {
        min-height: 470px;
    }

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

    .daily-scenes .scene-card:first-child {
        grid-column: auto;
    }

    .bento-feature-center {
        grid-template-columns: repeat(4, 1fr);
        grid-auto-rows: minmax(180px, auto);
    }

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

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

    .feature-split,
    .dual-panel {
        grid-template-columns: 1fr 1fr;
    }

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

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

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

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

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

    .article-card {
        padding: 38px;
    }
}

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

    .network-manager-hero {
        width: min(100% - 20px, 1180px);
        padding: 24px 16px;
        border-radius: 28px;
    }

    .hero-copy h1,
    .page-hero h1 {
        font-size: 32px;
    }

    .download-btn {
        width: 100%;
    }

    .hero-actions .download-btn,
    .cta-section .download-btn,
    .article-actions .download-btn {
        width: 100%;
    }

    .hero-float-tags {
        position: static;
        justify-content: flex-start;
        margin-bottom: 10px;
    }

    .status-card {
        position: static;
        width: 100%;
        margin-top: 12px;
    }

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