* {
    box-sizing: border-box;
}

:root {
    --brand-gradient: linear-gradient(90deg, #3558F2 0%, #7B4EF1 50%, #B84DDA 100%);
    --blue: #2980FE;
    --blue-dark: #1768E8;
    --text: #202533;
    --muted: #667085;
    --light: #F5F7FB;
    --soft-blue: #F2F6FF;
    --border: #E5EAF3;
    --white: #FFFFFF;
    --shadow: 0 18px 45px rgba(40, 72, 130, 0.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: #FFFFFF;
    line-height: 1.75;
    font-size: 16px;
}

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

a {
    color: inherit;
    text-decoration: 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, 0.94);
    border-bottom: 1px solid rgba(229, 234, 243, 0.85);
    backdrop-filter: blur(16px);
}

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

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    color: #111827;
}

.brand-logo {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    object-fit: cover;
    border: 1px solid var(--border);
}

.brand-name {
    font-size: 20px;
    letter-spacing: 0.02em;
}

.nav-toggle {
    border: 1px solid var(--border);
    background: var(--white);
    color: var(--text);
    border-radius: 999px;
    padding: 8px 14px;
    font-weight: 700;
}

.site-nav {
    position: absolute;
    top: 68px;
    left: 16px;
    right: 16px;
    display: none;
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 12px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 22px;
    box-shadow: var(--shadow);
}

.site-nav.is-open {
    display: grid;
}

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

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

.section {
    padding: 56px 0;
}

.section-soft {
    background: #F7F9FD;
}

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

.section-lead {
    margin: 0 0 24px;
    color: var(--muted);
    max-width: 780px;
}

.badge,
.category-badge,
.card-tag {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    color: var(--blue);
    background: var(--soft-blue);
    border: 1px solid rgba(41, 128, 254, 0.14);
    border-radius: 999px;
    padding: 6px 12px;
    font-size: 13px;
    font-weight: 800;
}

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

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

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

.hero-grid {
    display: grid;
    gap: 28px;
    padding: 34px 22px;
    position: relative;
    z-index: 2;
}

.hero-copy h1 {
    margin: 12px 0 14px;
    font-size: clamp(36px, 8vw, 64px);
    line-height: 1.08;
    letter-spacing: -0.05em;
}

.hero-copy p {
    color: rgba(255, 255, 255, 0.86);
    margin: 0 0 22px;
    max-width: 620px;
}

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

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

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

.hero-card {
    width: min(430px, 92%);
    padding: 20px;
    border-radius: 32px;
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.24);
    box-shadow: 0 26px 80px rgba(27, 31, 67, 0.23);
}

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

.float-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    margin-top: 14px;
}

.status-panel {
    background: rgba(255, 255, 255, 0.94);
    color: #24304C;
    padding: 14px 16px;
    border-radius: 20px;
    box-shadow: var(--shadow);
    margin-top: -10px;
}

.status-panel strong {
    display: block;
    margin-bottom: 4px;
}

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

.daily-scenes,
.card-grid,
.three-grid,
.risk-grid,
.process-steps,
.faq-grid,
.page-grid,
.tip-grid,
.check-grid {
    display: grid;
    gap: 16px;
}

.scene-card,
.bento-card,
.info-card,
.risk-card,
.step-card,
.faq-item,
.content-card,
.tip-card,
.check-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 26px;
    padding: 22px;
    box-shadow: 0 12px 34px rgba(40, 72, 130, 0.06);
}

.scene-card h3,
.bento-card h3,
.info-card h3,
.risk-card h3,
.step-card h3,
.faq-item h3,
.content-card h2,
.tip-card h3,
.check-card h3 {
    margin: 10px 0 8px;
    line-height: 1.28;
}

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

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

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

.bento-card.big {
    background: linear-gradient(135deg, #FFFFFF 0%, #F2F6FF 100%);
}

.bento-card.wide {
    background: #FBFCFF;
}

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

.visual-panel,
.safety-panel {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 32px;
    padding: 18px;
    box-shadow: var(--shadow);
}

.visual-panel img,
.safety-panel img {
    margin: 0 auto;
    border-radius: 24px;
}

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

.feature-list li,
.clean-list li {
    background: #F7F9FD;
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 12px 14px;
    color: #4B5568;
}

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

.privacy-guard-section {
    background: linear-gradient(135deg, #F7F9FF 0%, #FFFFFF 100%);
    border: 1px solid var(--border);
    border-radius: 34px;
    padding: 24px;
}

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

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

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

.cta-section {
    width: min(1120px, calc(100% - 32px));
    margin: 0 auto 64px;
    text-align: center;
    color: #FFFFFF;
    background: var(--brand-gradient);
    border-radius: 34px;
    padding: 42px 22px;
    overflow: hidden;
}

.cta-section h2 {
    margin: 0 0 12px;
    font-size: clamp(28px, 5vw, 44px);
}

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

.page-hero {
    padding: 46px 0 22px;
    background: linear-gradient(180deg, #F5F7FF 0%, #FFFFFF 100%);
}

.page-hero-inner {
    width: min(960px, calc(100% - 32px));
    margin: 0 auto;
}

.page-hero h1 {
    margin: 14px 0 12px;
    font-size: clamp(34px, 7vw, 54px);
    line-height: 1.12;
    letter-spacing: -0.04em;
}

.page-hero p {
    color: var(--muted);
    margin: 0 0 20px;
    max-width: 780px;
}

.reading-section {
    padding: 34px 0 68px;
}

.page-grid {
    grid-template-columns: 1fr;
}

.content-card h2 {
    font-size: 24px;
}

.side-panel {
    background: var(--text);
    color: #FFFFFF;
    border-radius: 28px;
    padding: 22px;
    align-self: start;
}

.side-panel p,
.side-panel li {
    color: rgba(255, 255, 255, 0.78);
}

.side-panel ul {
    margin: 12px 0 0;
    padding-left: 18px;
}

.download-steps {
    display: grid;
    gap: 14px;
    margin-top: 22px;
}

.download-step {
    display: grid;
    grid-template-columns: 44px 1fr;
    gap: 14px;
    align-items: start;
    background: #FFFFFF;
    border: 1px solid var(--border);
    border-radius: 22px;
    padding: 16px;
}

.download-step span {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border-radius: 16px;
    color: #FFFFFF;
    background: var(--blue);
    font-weight: 900;
}

.download-step h3 {
    margin: 0 0 4px;
}

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

.site-footer {
    background: #F3F5FA;
    border-top: 1px solid var(--border);
    padding: 44px 0 0;
}

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

.footer-brand {
    font-size: 24px;
    font-weight: 900;
    margin-bottom: 8px;
}

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

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

.site-footer a {
    display: block;
    color: #5D667A;
    margin: 7px 0;
}

.footer-bottom {
    margin-top: 34px;
    text-align: center;
    color: #6B7280;
    font-size: 14px;
    padding: 18px;
    border-top: 1px solid var(--border);
}

@media (min-width: 720px) {
    .daily-scenes,
    .three-grid,
    .risk-grid,
    .faq-grid,
    .tip-grid,
    .check-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 1fr 1fr;
    }
}

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

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

    .hero-grid {
        grid-template-columns: 1.06fr 0.94fr;
        align-items: center;
        padding: 58px;
    }

    .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.big {
        grid-column: span 2;
        grid-row: span 2;
    }

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

    .split-section,
    .smart-route-section,
    .multi-device-section,
    .network-diagnosis-section,
    .account-security-section {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

    .public-wifi-section .three-grid,
    .privacy-guard-section .three-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

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

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

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

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