* {
    box-sizing: border-box;
}

:root {
    --blue: #2980FE;
    --blue-dark: #1768E8;
    --ink: #172033;
    --muted: #667085;
    --soft: #F5F7FB;
    --line: #E6EAF2;
    --card: #FFFFFF;
    --gradient: linear-gradient(90deg, #3558F2 0%, #7B4EF1 50%, #B84DDA 100%);
    --radius: 28px;
    --shadow: 0 18px 48px rgba(31, 45, 78, 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(--ink);
    background: #F7F9FD;
    line-height: 1.72;
    overflow-x: hidden;
}

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

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

p {
    margin: 0 0 14px;
}

h1,
h2,
h3 {
    margin: 0;
    line-height: 1.22;
}

ul,
ol {
    padding-left: 20px;
}

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

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

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

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    color: var(--ink);
}

.logo {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    object-fit: cover;
    box-shadow: 0 8px 24px rgba(41, 128, 254, 0.18);
}

.brand-text {
    letter-spacing: 0.02em;
    white-space: nowrap;
}

.nav-toggle {
    display: none;
}

.nav-toggle-label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 68px;
    height: 40px;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--ink);
    background: #fff;
    font-size: 14px;
    cursor: pointer;
}

.site-nav {
    position: absolute;
    left: 12px;
    right: 12px;
    top: 74px;
    display: none;
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow);
}

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

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

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

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

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

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

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

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

.hero-copy h1 {
    font-size: clamp(32px, 9vw, 62px);
    max-width: 760px;
}

.hero-copy p {
    margin-top: 18px;
    color: rgba(255, 255, 255, 0.88);
    font-size: 17px;
    max-width: 720px;
}

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

.security-tags,
.floating-tags,
.inline-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.security-tags span,
.inline-tags span,
.floating-tags span {
    display: inline-flex;
    align-items: center;
    padding: 7px 12px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
}

.security-tags span,
.floating-tags span {
    color: #fff;
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.24);
}

.inline-tags span {
    color: var(--blue);
    background: #EEF5FF;
}

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

.hero-device {
    width: min(340px, 80vw);
    border-radius: 30px;
    box-shadow: 0 28px 70px rgba(13, 21, 48, 0.28);
}

.status-card {
    position: absolute;
    left: 6px;
    bottom: 10px;
    width: min(230px, 68vw);
    padding: 16px;
    color: var(--ink);
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: 22px;
    box-shadow: 0 20px 45px rgba(26, 32, 60, 0.18);
}

.status-card strong {
    display: block;
    font-size: 15px;
}

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

.section {
    padding: 62px 0;
}

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

.section-head {
    max-width: 760px;
    margin: 0 auto 28px;
    text-align: center;
}

.section-head.left {
    margin-left: 0;
    text-align: left;
}

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

.section-head h2,
.split-copy h2,
.panel-title {
    font-size: clamp(26px, 6vw, 42px);
}

.section-head p,
.split-copy p {
    margin-top: 12px;
    color: var(--muted);
}

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

.scene-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 26px;
    padding: 22px;
    box-shadow: 0 12px 32px rgba(22, 34, 64, 0.05);
}

.scene-card .tag,
.bento-card .tag {
    display: inline-flex;
    margin-bottom: 12px;
    color: var(--blue);
    font-size: 13px;
    font-weight: 800;
}

.scene-card h3 {
    font-size: 21px;
}

.scene-card p,
.bento-card p,
.info-card p,
.risk-card p,
.faq-item p {
    color: var(--muted);
}

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

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

.bento-card {
    min-height: 188px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 28px;
    padding: 24px;
    box-shadow: 0 12px 32px rgba(22, 34, 64, 0.05);
}

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

.boundary {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid var(--line);
    color: #475467;
    font-size: 14px;
}

.safe-browsing-section,
.smart-route-section,
.multi-device-section {
    display: grid;
    gap: 28px;
    align-items: center;
}

.feature-image-wrap {
    position: relative;
    padding: 18px;
    border-radius: 32px;
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
}

.feature-image-wrap img {
    width: 100%;
    border-radius: 24px;
}

.feature-points {
    display: grid;
    gap: 12px;
    margin: 20px 0;
}

.point {
    padding: 14px 16px;
    border-radius: 18px;
    background: #fff;
    border: 1px solid var(--line);
}

.smart-route-section {
    padding: 28px;
    border-radius: 34px;
    background: #EEF5FF;
}

.route-panel,
.safety-panel {
    display: grid;
    gap: 14px;
}

.route-row,
.check-row {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 15px;
    border-radius: 18px;
    background: #fff;
    border: 1px solid var(--line);
}

.route-dot,
.check-dot {
    width: 14px;
    height: 14px;
    margin-top: 7px;
    flex: 0 0 14px;
    border-radius: 50%;
    background: var(--blue);
    box-shadow: 0 0 0 6px #E8F2FF;
}

.public-wifi-section,
.privacy-guard-section,
.network-diagnosis-section,
.account-security-section {
    display: grid;
    gap: 18px;
}

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

.info-card {
    padding: 22px;
    border-radius: 24px;
    border: 1px solid var(--line);
    background: #fff;
}

.wifi-panel {
    padding: 26px;
    border-radius: 32px;
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
}

.wifi-panel img {
    margin-top: 18px;
    border-radius: 24px;
}

.privacy-strip {
    display: grid;
    gap: 16px;
    padding: 24px;
    border-radius: 30px;
    background: #fff;
    border: 1px solid var(--line);
}

.device-cards {
    display: grid;
    gap: 16px;
}

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

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

.step-card {
    position: relative;
    padding: 22px 22px 22px 72px;
    border-radius: 24px;
    background: #fff;
    border: 1px solid var(--line);
}

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

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

.risk-card {
    padding: 20px;
    border-radius: 24px;
    background: #fff;
    border: 1px solid var(--line);
    border-left: 4px solid var(--blue);
}

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

.faq-item {
    padding: 22px;
    border-radius: 24px;
    background: #fff;
    border: 1px solid var(--line);
}

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

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

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

.page-hero {
    width: min(1040px, calc(100% - 32px));
    margin: 30px auto 0;
    padding: 34px 24px;
    border-radius: 32px;
    background: linear-gradient(135deg, #FFFFFF 0%, #F1F5FF 100%);
    border: 1px solid var(--line);
}

.page-hero h1 {
    font-size: clamp(30px, 8vw, 52px);
}

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

.content-layout {
    width: min(1040px, calc(100% - 32px));
    margin: 28px auto 64px;
    display: grid;
    gap: 22px;
}

.content-main,
.content-side,
.reader-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 28px;
    padding: 24px;
    box-shadow: 0 12px 32px rgba(22, 34, 64, 0.04);
}

.content-main h2,
.reader-card h2 {
    margin-top: 10px;
    margin-bottom: 10px;
    font-size: 26px;
}

.content-main p {
    color: #475467;
}

.tip-box {
    margin: 18px 0;
    padding: 18px;
    border-radius: 22px;
    background: #F4F8FF;
    border: 1px solid #DDEBFF;
}

.side-links {
    display: grid;
    gap: 10px;
}

.side-links a {
    padding: 12px 14px;
    border-radius: 16px;
    background: #F7F9FD;
    color: var(--blue);
    font-weight: 800;
}

.check-list {
    display: grid;
    gap: 12px;
    margin: 18px 0;
}

.check-list li {
    padding: 14px 16px;
    border-radius: 16px;
    background: #F7F9FD;
    border: 1px solid var(--line);
}

.download-area {
    margin-top: 22px;
}

.download-flow {
    display: grid;
    gap: 14px;
    margin: 24px 0;
}

.download-flow .step-card {
    padding-left: 68px;
}

.site-footer {
    background: #101828;
    color: rgba(255, 255, 255, 0.76);
    padding: 46px 0 22px;
}

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

.footer-brand {
    color: #fff;
    font-size: 22px;
    font-weight: 900;
    margin-bottom: 10px;
}

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

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

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

.footer-bottom {
    width: min(1120px, calc(100% - 32px));
    margin: 28px auto 0;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.56);
    font-size: 13px;
}

@media (min-width: 680px) {
    .daily-scenes,
    .info-grid,
    .risk-grid,
    .device-cards,
    .footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

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

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

    .hero-grid,
    .safe-browsing-section,
    .smart-route-section,
    .multi-device-section {
        grid-template-columns: 1.08fr 0.92fr;
    }

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

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

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

    .privacy-guard-section {
        grid-template-columns: 0.9fr 1.1fr;
        align-items: center;
    }

    .network-diagnosis-section,
    .account-security-section {
        grid-template-columns: 1fr 1fr;
        align-items: start;
    }

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

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

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

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

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

    .network-manager-hero {
        width: calc(100% - 20px);
        padding: 22px;
        border-radius: 26px;
    }

    .hero-actions .download-btn {
        width: 100%;
    }

    .section {
        padding: 48px 0;
    }

    .page-hero,
    .content-layout,
    .cta-section {
        width: calc(100% - 24px);
    }

    .page-hero {
        padding: 26px 20px;
    }

    .status-card {
        position: relative;
        left: auto;
        bottom: auto;
        margin-top: -8px;
    }
}
