:root {
    --primary: rgb(70,139,223);
    --primary-dark: #235fba;
    --primary-soft: #eaf4ff;
    --text: #102033;
    --muted: #607089;
    --line: #dce9f7;
    --card: rgba(255, 255, 255, 0.92);
    --shadow: 0 18px 45px rgba(45, 102, 178, 0.12);
    --radius: 22px;
}

* {
    box-sizing: border-box;
}

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:
        radial-gradient(circle at 15% 5%, rgba(70,139,223,0.16), transparent 28%),
        linear-gradient(180deg, #f7fbff 0%, #ffffff 42%, #f4f8fd 100%);
    line-height: 1.75;
    overflow-x: hidden;
}

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

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

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255,255,255,0.86);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(220,233,247,0.9);
}

.nav-wrap {
    min-height: 68px;
    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;
    letter-spacing: -0.02em;
}

.brand-logo {
    width: 38px;
    height: 38px;
    border-radius: 12px;
}

.brand-text {
    font-size: 18px;
    color: #183653;
}

.nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #fff;
    color: #1d4772;
    font-size: 22px;
}

.site-nav {
    position: absolute;
    left: 16px;
    right: 16px;
    top: 72px;
    display: none;
    flex-direction: column;
    padding: 12px;
    background: rgba(255,255,255,0.98);
    border: 1px solid var(--line);
    border-radius: 20px;
    box-shadow: var(--shadow);
}

.site-nav.open {
    display: flex;
}

.site-nav a {
    padding: 11px 12px;
    border-radius: 12px;
    color: #38506b;
    font-size: 15px;
}

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

main {
    min-height: 72vh;
}

.section {
    padding: 54px 0;
}

.section-tight {
    padding: 34px 0;
}

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

.section-title h2,
.page-title h1,
.hero-copy h1 {
    margin: 0;
    letter-spacing: -0.04em;
    line-height: 1.14;
}

.section-title h2 {
    font-size: clamp(26px, 5vw, 40px);
}

.section-title p,
.page-title p,
.hero-copy p,
.lead {
    color: var(--muted);
    margin: 14px 0 0;
}

.hero {
    padding: 48px 0 36px;
}

.hero-layout {
    display: grid;
    gap: 34px;
    align-items: center;
}

.eyebrow,
.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 12px;
    color: var(--primary-dark);
    background: rgba(70,139,223,0.1);
    border: 1px solid rgba(70,139,223,0.18);
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
}

.hero-copy h1,
.page-title h1 {
    margin-top: 18px;
    font-size: clamp(34px, 9vw, 66px);
}

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

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

.download-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 13px 24px;
    border-radius: 999px;
    background: var(--primary);
    color: #fff;
    font-weight: 800;
    box-shadow: 0 14px 28px rgba(70,139,223,0.28);
    border: 1px solid rgba(255,255,255,0.3);
    cursor: pointer;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.download-btn:hover {
    transform: translateY(-2px);
    background: var(--primary-dark);
    box-shadow: 0 18px 32px rgba(70,139,223,0.32);
}

.hero-note {
    color: var(--muted);
    font-size: 14px;
}

.hero-visual {
    position: relative;
    min-height: 420px;
    border-radius: 32px;
    padding: 24px;
    overflow: hidden;
    background: linear-gradient(145deg, rgba(232,244,255,0.96), rgba(255,255,255,0.72));
    border: 1px solid rgba(210,230,250,0.96);
    box-shadow: var(--shadow);
}

.hero-visual::before {
    content: "";
    position: absolute;
    inset: 14px;
    border-radius: 28px;
    background: radial-gradient(circle at 80% 20%, rgba(70,139,223,0.22), transparent 34%);
}

.app-phone {
    position: relative;
    z-index: 1;
    width: min(72%, 300px);
    margin: 10px auto 0;
    filter: drop-shadow(0 24px 42px rgba(25, 69, 120, 0.22));
}

.float-card,
.status-card {
    position: relative;
    z-index: 2;
    background: rgba(255,255,255,0.9);
    border: 1px solid rgba(215,231,248,0.92);
    border-radius: 18px;
    box-shadow: 0 14px 30px rgba(38, 91, 155, 0.12);
}

.status-card {
    width: 190px;
    padding: 14px;
    margin-left: auto;
}

.status-card strong {
    display: block;
    color: #153d64;
    font-size: 14px;
}

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

.visual-tags {
    position: relative;
    z-index: 2;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

.visual-tags span,
.tag {
    padding: 8px 11px;
    border-radius: 999px;
    background: rgba(255,255,255,0.9);
    border: 1px solid var(--line);
    color: #31516f;
    font-size: 13px;
    font-weight: 700;
}

.stats-grid,
.category-grid,
.feature-grid,
.scenario-grid,
.article-grid,
.info-grid {
    display: grid;
    gap: 16px;
}

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

.stat-card,
.category-card,
.feature-card,
.scenario-card,
.faq-item,
.info-card,
.step,
.panel-card,
.article-card,
.notice-card {
    background: var(--card);
    border: 1px solid rgba(220,233,247,0.92);
    border-radius: var(--radius);
    box-shadow: 0 12px 30px rgba(39, 92, 158, 0.08);
}

.stat-card {
    padding: 20px;
}

.stat-card strong {
    display: block;
    color: var(--primary-dark);
    font-size: 18px;
    margin-bottom: 6px;
}

.stat-card span,
.category-card p,
.feature-card p,
.scenario-card p,
.step p,
.info-card p,
.article-card p,
.notice-card p,
.faq-item p,
.footer-grid p {
    color: var(--muted);
    margin: 0;
}

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

.category-card,
.feature-card,
.scenario-card,
.info-card,
.article-card,
.notice-card {
    padding: 22px;
}

.category-card {
    display: flex;
    flex-direction: column;
    min-height: 180px;
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.category-card:hover,
.article-card:hover {
    transform: translateY(-3px);
    border-color: rgba(70,139,223,0.35);
    box-shadow: var(--shadow);
}

.category-card h3,
.feature-card h3,
.scenario-card h3,
.info-card h3,
.article-card h3,
.notice-card h3,
.step h3,
.panel-card h3,
.faq-item h3 {
    margin: 0 0 10px;
    line-height: 1.35;
}

.card-link {
    margin-top: auto;
    color: var(--primary-dark);
    font-weight: 800;
}

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

.feature-icon {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(70,139,223,0.18), rgba(70,139,223,0.05));
    color: var(--primary-dark);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    margin-bottom: 14px;
}

.security-layout,
.split-layout,
.page-hero-layout {
    display: grid;
    gap: 22px;
    align-items: center;
}

.security-panel,
.page-card {
    padding: 26px;
    border-radius: 28px;
    background: linear-gradient(145deg, rgba(255,255,255,0.96), rgba(235,246,255,0.92));
    border: 1px solid rgba(220,233,247,0.94);
    box-shadow: var(--shadow);
}

.panel-card {
    padding: 18px;
    margin-top: 14px;
}

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

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

.step {
    padding: 20px;
    position: relative;
}

.step::before {
    counter-increment: step;
    content: counter(step);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    font-weight: 900;
    margin-bottom: 12px;
}

.scenario-grid,
.info-grid {
    grid-template-columns: 1fr;
}

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

.faq-item {
    padding: 20px;
}

.cta-section {
    padding: 42px 0 68px;
}

.cta-box {
    text-align: center;
    padding: 34px 22px;
    border-radius: 30px;
    background:
        radial-gradient(circle at 15% 10%, rgba(70,139,223,0.18), transparent 28%),
        linear-gradient(135deg, #ffffff 0%, #eaf4ff 100%);
    border: 1px solid rgba(202,224,248,0.96);
    box-shadow: var(--shadow);
}

.cta-box p {
    max-width: 640px;
    margin: 12px auto 0;
    color: var(--muted);
}

.page-hero {
    padding: 42px 0 24px;
}

.page-title {
    max-width: 780px;
}

.page-title h1 {
    font-size: clamp(32px, 8vw, 54px);
}

.breadcrumb {
    color: var(--muted);
    font-size: 14px;
    margin-bottom: 14px;
}

.article-content {
    max-width: 920px;
    margin: 0 auto;
}

.article-content p {
    color: #3d5068;
    margin: 0 0 18px;
}

.article-content h2 {
    margin: 30px 0 12px;
    font-size: clamp(22px, 4vw, 30px);
}

.article-grid {
    grid-template-columns: 1fr;
    margin: 24px 0;
}

.article-card ul,
.notice-card ul,
.page-card ul,
.panel-card ul {
    padding-left: 18px;
    margin: 10px 0 0;
    color: #4f6078;
}

.article-card li,
.notice-card li,
.page-card li,
.panel-card li {
    margin: 8px 0;
}

.notice-card {
    background: linear-gradient(145deg, rgba(234,244,255,0.92), rgba(255,255,255,0.96));
}

.download-single {
    margin-top: 28px;
    text-align: center;
}

.download-panel {
    display: grid;
    gap: 18px;
    padding: 26px;
    border-radius: 28px;
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
}

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

.install-steps li {
    position: relative;
    padding: 16px 16px 16px 56px;
    border-radius: 18px;
    background: var(--primary-soft);
    color: #334d68;
}

.install-steps li::before {
    counter-increment: install;
    content: counter(install);
    position: absolute;
    left: 16px;
    top: 15px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
}

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

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

.footer-brand img {
    width: 34px;
    height: 34px;
    border-radius: 10px;
}

.footer-grid h3 {
    margin: 0 0 12px;
    font-size: 16px;
}

.footer-grid a {
    display: block;
    color: #51657c;
    margin: 7px 0;
    font-size: 14px;
}

.footer-grid a:hover {
    color: var(--primary-dark);
}

.footer-bottom {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding-top: 22px;
    margin-top: 24px;
    border-top: 1px solid var(--line);
    color: #718096;
    font-size: 13px;
}

@media (min-width: 640px) {
    .stats-grid,
    .category-grid,
    .feature-grid,
    .scenario-grid,
    .info-grid,
    .article-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

@media (min-width: 900px) {
    .container {
        width: min(100% - 48px, 1160px);
    }

    .nav-toggle {
        display: none;
    }

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

    .site-nav a {
        padding: 9px 12px;
    }

    .hero {
        padding: 76px 0 48px;
    }

    .hero-layout,
    .security-layout,
    .split-layout,
    .page-hero-layout {
        grid-template-columns: 1.05fr .95fr;
        gap: 48px;
    }

    .hero-visual {
        min-height: 520px;
        padding: 28px;
    }

    .app-phone {
        width: min(70%, 340px);
    }

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

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

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

    .section {
        padding: 76px 0;
    }

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

@media (min-width: 1100px) {
    .hero-copy p {
        font-size: 18px;
    }

    .visual-tags {
        position: absolute;
        left: 30px;
        right: 30px;
        bottom: 30px;
    }

    .status-card {
        position: absolute;
        top: 44px;
        right: 34px;
    }
}
