* {
    box-sizing: border-box;
}

:root {
    --gradient: linear-gradient(90deg, #3558F2 0%, #7B4EF1 50%, #B84DDA 100%);
    --blue: #2980FE;
    --blue-dark: #1768E8;
    --text: #1f2937;
    --muted: #64748b;
    --soft: #f5f7fb;
    --line: #e5eaf3;
    --panel: #ffffff;
    --shadow: 0 18px 45px rgba(32, 44, 84, .10);
    --radius: 28px;
}

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

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

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

.container {
    width: min(1180px, 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(226, 232, 240, .82);
}

.nav-wrap {
    min-height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    letter-spacing: .02em;
}

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

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

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

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

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

.nav-toggle {
    width: 44px;
    height: 44px;
    border: 0;
    background: #eef4ff;
    border-radius: 14px;
    display: grid;
    place-content: center;
    gap: 5px;
}

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

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

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

.gradient-bg {
    background: var(--gradient);
}

.network-manager-hero {
    position: relative;
    margin: 26px auto 42px;
    border-radius: 34px;
    background: var(--gradient);
    color: #fff;
    overflow: hidden;
}

.network-manager-hero::after {
    content: "";
    position: absolute;
    width: 480px;
    height: 480px;
    right: -150px;
    top: -130px;
    background: rgba(255,255,255,.18);
    border-radius: 50%;
    filter: blur(8px);
}

.hero-inner {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 34px;
    padding: 42px 22px;
}

.hero-copy h1 {
    font-size: clamp(34px, 8vw, 64px);
    line-height: 1.08;
    margin: 0 0 18px;
    letter-spacing: -.04em;
}

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

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

.hero-tags span,
.inline-tags span,
.badge,
.card-tag {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    color: var(--blue);
    background: #eef5ff;
    border: 1px solid rgba(41, 128, 254, .18);
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
    padding: 7px 12px;
}

.hero-tags span {
    color: #fff;
    background: rgba(255,255,255,.16);
    border-color: rgba(255,255,255,.22);
}

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

.hero-phone {
    width: min(330px, 78vw);
    border-radius: 32px;
    filter: drop-shadow(0 28px 45px rgba(23, 38, 84, .32));
}

.float-card {
    position: absolute;
    background: rgba(255,255,255,.92);
    color: #23314d;
    padding: 10px 14px;
    border: 1px solid rgba(255,255,255,.65);
    border-radius: 18px;
    box-shadow: 0 18px 34px rgba(28, 42, 85, .16);
    font-weight: 800;
    font-size: 13px;
}

.float-card.one { left: 4px; top: 18px; }
.float-card.two { right: 4px; top: 74px; }
.float-card.three { left: 12px; bottom: 50px; }
.float-card.four { right: 18px; bottom: 12px; }

.section {
    padding: 42px 0;
}

.section-heading {
    margin-bottom: 24px;
}

.section-heading.center {
    text-align: center;
}

.section-heading h2,
.simple-hero h1 {
    margin: 0 0 12px;
    font-size: clamp(28px, 5vw, 42px);
    line-height: 1.18;
    letter-spacing: -.03em;
}

.section-heading p,
.simple-hero p {
    margin: 0;
    color: var(--muted);
}

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

.scene-card,
.bento-card,
.feature-card,
.info-card,
.faq-item,
.step-card,
.risk-card,
.side-card,
.check-card {
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 24px;
    box-shadow: 0 14px 34px rgba(31, 41, 55, .06);
}

.scene-card {
    padding: 22px;
}

.scene-card h3,
.bento-card h3,
.feature-card h3,
.info-card h3,
.step-card h3,
.risk-card h3,
.side-card h3,
.check-card h3 {
    margin: 12px 0 8px;
    font-size: 20px;
    line-height: 1.3;
}

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

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

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

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

.bento-card::after {
    content: "";
    position: absolute;
    width: 150px;
    height: 150px;
    right: -64px;
    bottom: -68px;
    background: radial-gradient(circle, rgba(41,128,254,.18), transparent 68%);
}

.bento-card.large {
    min-height: 230px;
}

.feature-panel {
    display: grid;
    gap: 22px;
    align-items: center;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 32px;
    padding: 22px;
    box-shadow: var(--shadow);
}

.feature-panel.alt {
    background: #f6f9ff;
}

.feature-copy h2 {
    font-size: clamp(27px, 4vw, 40px);
    line-height: 1.18;
    margin: 0 0 14px;
}

.feature-copy p {
    color: var(--muted);
    margin: 0 0 16px;
}

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

.feature-list li {
    padding-left: 28px;
    position: relative;
    color: #475569;
}

.feature-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: .62em;
    width: 12px;
    height: 12px;
    border-radius: 999px;
    background: var(--blue);
    box-shadow: 0 0 0 5px rgba(41,128,254,.12);
}

.feature-image {
    background: linear-gradient(135deg, #edf4ff, #ffffff);
    border: 1px solid var(--line);
    border-radius: 28px;
    padding: 16px;
}

.feature-image img {
    border-radius: 22px;
    margin: auto;
}

.public-wifi-section .safety-panel,
.privacy-guard-section .safety-panel,
.account-security-section .safety-panel {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 34px;
    padding: 24px;
    box-shadow: var(--shadow);
}

.card-grid,
.risk-grid,
.process-steps,
.faq-grid,
.check-grid {
    display: grid;
    gap: 16px;
}

.info-card,
.step-card,
.risk-card,
.check-card {
    padding: 20px;
}

.step-num {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    background: #eaf3ff;
    color: var(--blue);
    font-weight: 900;
}

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

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

.faq-item {
    padding: 20px;
}

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

.cta-section {
    margin: 46px auto;
    color: #fff;
    background: var(--gradient);
    border-radius: 34px;
    padding: 42px 22px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: "";
    position: absolute;
    inset: auto -90px -150px auto;
    width: 320px;
    height: 320px;
    background: rgba(255,255,255,.16);
    border-radius: 50%;
}

.cta-section h2,
.cta-section p,
.cta-section a {
    position: relative;
}

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

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

.simple-hero {
    padding: 48px 0 24px;
}

.page-layout {
    display: grid;
    gap: 22px;
    align-items: start;
    padding-bottom: 50px;
}

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

.article-card p {
    color: #4b5563;
}

.side-card {
    padding: 20px;
}

.notice-box {
    border-radius: 24px;
    padding: 18px;
    background: #f1f6ff;
    border: 1px solid rgba(41,128,254,.18);
    color: #334155;
}

.operation-list {
    display: grid;
    gap: 12px;
    padding: 0;
    margin: 18px 0;
    list-style: none;
}

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

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

.download-page .download-card .download-btn {
    margin: 18px 0 10px;
}

.site-footer {
    background: #101827;
    color: #d9e2f1;
    padding: 42px 0 20px;
}

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

.footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.footer-brand img {
    width: 36px;
    height: 36px;
    border-radius: 12px;
}

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

.site-footer p,
.site-footer a,
.footer-bottom {
    color: #aebbd0;
}

.site-footer a {
    display: block;
    margin: 8px 0;
}

.footer-bottom {
    display: flex;
    flex-direction: column;
    gap: 8px;
    border-top: 1px solid rgba(255,255,255,.12);
    margin-top: 28px;
    padding-top: 18px;
    font-size: 14px;
}

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

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

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

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

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

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

    .hero-inner {
        grid-template-columns: 1.05fr .95fr;
        padding: 70px 64px;
    }

    .hero-copy p {
        font-size: 18px;
        max-width: 620px;
    }

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

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

    .feature-panel {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        padding: 34px;
    }

    .feature-panel.reverse .feature-copy {
        order: 2;
    }

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

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

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

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

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

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

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

    .article-card {
        padding: 34px;
    }

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

    .footer-bottom {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
}
