* {
    box-sizing: border-box;
}

:root {
    --primary: rgb(70,139,223);
    --primary-dark: #2566b8;
    --primary-soft: #eef6ff;
    --ink: #14233b;
    --muted: #66738a;
    --line: #dce8f6;
    --card: #ffffff;
    --bg: #f6f9fd;
    --radius: 22px;
    --shadow: 0 18px 45px rgba(44, 93, 157, 0.12);
}

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: linear-gradient(180deg, #f8fbff 0%, #ffffff 42%, #f5f9ff 100%);
    line-height: 1.72;
    overflow-x: hidden;
}

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

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

.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);
    border-bottom: 1px solid rgba(220, 232, 246, 0.9);
    backdrop-filter: blur(16px);
}

.header-inner {
    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;
    letter-spacing: -0.02em;
}

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

.brand-text {
    font-size: 16px;
    white-space: nowrap;
}

.nav-toggle {
    width: 42px;
    height: 42px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #fff;
    color: var(--ink);
    font-size: 20px;
}

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

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

.site-nav a {
    padding: 11px 12px;
    border-radius: 12px;
    color: #34455f;
    font-size: 14px;
}

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

.hero {
    padding: 44px 0 32px;
    background:
        radial-gradient(circle at 85% 10%, rgba(70,139,223,0.16), transparent 30%),
        linear-gradient(135deg, #f7fbff 0%, #eef6ff 48%, #ffffff 100%);
}

.hero-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 28px;
    align-items: center;
}

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

h1,
h2,
h3 {
    margin: 0;
    line-height: 1.22;
    letter-spacing: -0.03em;
}

h1 {
    margin-top: 16px;
    font-size: clamp(32px, 8vw, 58px);
}

h2 {
    font-size: clamp(24px, 5vw, 36px);
}

h3 {
    font-size: 19px;
}

.lead {
    margin: 18px 0 0;
    color: var(--muted);
    font-size: 17px;
}

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

.download-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 24px;
    border-radius: 999px;
    background: var(--primary);
    color: #fff;
    font-weight: 800;
    border: 0;
    box-shadow: 0 14px 28px rgba(70,139,223,0.28);
    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 34px rgba(70,139,223,0.32);
}

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

.hero-visual {
    position: relative;
    min-height: 430px;
    border-radius: 30px;
    padding: 22px;
    background: linear-gradient(160deg, rgba(255,255,255,0.9), rgba(239,247,255,0.86));
    border: 1px solid rgba(255,255,255,0.9);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.hero-visual:before {
    content: "";
    position: absolute;
    width: 260px;
    height: 260px;
    right: -80px;
    top: -80px;
    border-radius: 999px;
    background: rgba(70,139,223,0.12);
}

.app-shot {
    position: relative;
    width: min(270px, 72%);
    margin: 8px auto 0;
    border-radius: 34px;
    filter: drop-shadow(0 24px 34px rgba(31, 76, 132, 0.22));
}

.float-card,
.status-card {
    position: absolute;
    z-index: 2;
    padding: 12px 14px;
    border-radius: 18px;
    background: rgba(255,255,255,0.9);
    border: 1px solid rgba(220,232,246,0.9);
    box-shadow: 0 14px 30px rgba(42, 79, 125, 0.13);
    backdrop-filter: blur(14px);
    font-size: 13px;
    color: #34455f;
}

.status-card {
    left: 18px;
    top: 22px;
    min-width: 164px;
}

.status-dot {
    display: inline-block;
    width: 9px;
    height: 9px;
    margin-right: 7px;
    border-radius: 999px;
    background: #28b46f;
}

.float-card strong,
.status-card strong {
    display: block;
    color: var(--ink);
    margin-bottom: 2px;
}

.card-key { right: 16px; top: 104px; }
.card-backup { left: 14px; bottom: 112px; }
.card-risk { right: 18px; bottom: 70px; }
.card-assets { left: 50%; bottom: 18px; transform: translateX(-50%); white-space: nowrap; }

.section {
    padding: 50px 0;
}

.section-head {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    margin-bottom: 24px;
}

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

.metric-strip {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
    margin-top: 28px;
}

.metric-item {
    padding: 18px;
    border-radius: 20px;
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: 0 10px 25px rgba(42, 79, 125, 0.08);
}

.metric-item span {
    display: block;
    color: var(--primary-dark);
    font-size: 14px;
    font-weight: 800;
    margin-bottom: 6px;
}

.metric-item p,
.card p,
.info-card p,
.scenario-card p,
.faq-item p,
.article-card p {
    margin: 8px 0 0;
    color: var(--muted);
}

.feature-grid,
.category-grid,
.scenario-grid,
.article-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

.card,
.category-card,
.info-card,
.scenario-card,
.article-card,
.faq-item {
    border-radius: var(--radius);
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: 0 12px 32px rgba(42, 79, 125, 0.08);
}

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

.category-card {
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

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

.card-icon {
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
    border-radius: 15px;
    background: var(--primary-soft);
    color: var(--primary-dark);
    font-weight: 900;
}

.steps {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
    counter-reset: step;
}

.step-card {
    position: relative;
    padding: 20px 20px 20px 64px;
    border-radius: 22px;
    border: 1px solid var(--line);
    background: #fff;
    box-shadow: 0 12px 28px rgba(42, 79, 125, 0.07);
}

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

.step-card p {
    margin: 8px 0 0;
    color: var(--muted);
}

.step-card a,
.text-link {
    display: inline-block;
    margin-top: 10px;
    color: var(--primary-dark);
    font-weight: 800;
}

.security-layout,
.split-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    align-items: center;
}

.security-panel {
    padding: 24px;
    border-radius: 28px;
    background: linear-gradient(145deg, #ffffff 0%, #eff6ff 100%);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
}

.security-list {
    display: grid;
    gap: 12px;
    margin-top: 18px;
}

.security-list div,
.tip-list li {
    padding: 12px 14px;
    border-radius: 16px;
    background: rgba(255,255,255,0.82);
    border: 1px solid rgba(220,232,246,0.9);
}

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

.faq-item {
    padding: 20px;
}

.cta-section {
    padding: 46px 24px;
    text-align: center;
    border-radius: 30px;
    background: linear-gradient(135deg, #edf6ff 0%, #ffffff 100%);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
}

.cta-section p {
    max-width: 720px;
    margin: 14px auto 0;
    color: var(--muted);
}

.page-hero {
    padding: 46px 0 30px;
    background: linear-gradient(135deg, #f5faff 0%, #edf6ff 55%, #ffffff 100%);
}

.page-hero .lead {
    max-width: 820px;
}

.article-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
}

.article-body {
    padding: 24px;
    border-radius: 28px;
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: 0 12px 32px rgba(42, 79, 125, 0.08);
}

.article-body h2 {
    margin-top: 28px;
    font-size: 24px;
}

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

.article-body p {
    color: #43536c;
}

.tip-box,
.warning-box,
.check-box {
    margin: 22px 0;
    padding: 18px;
    border-radius: 20px;
    border: 1px solid var(--line);
    background: var(--primary-soft);
}

.warning-box {
    background: #fff8ed;
    border-color: #f1dfbd;
}

.check-box {
    background: #f0fbf6;
    border-color: #caeadb;
}

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

.site-footer {
    padding: 42px 0 24px;
    background: #102039;
    color: rgba(255,255,255,0.78);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 22px;
}

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

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

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

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

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

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

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

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

    .hero {
        padding: 72px 0 50px;
    }

    .hero-layout,
    .security-layout,
    .split-layout,
    .article-layout {
        grid-template-columns: 1.05fr .95fr;
    }

    .section {
        padding: 70px 0;
    }

    .section-head {
        grid-template-columns: 0.9fr 1.1fr;
        align-items: end;
    }

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

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

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

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

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

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

    .article-body {
        padding: 34px;
    }
}

@media (min-width: 1120px) {
    .hero-visual {
        min-height: 520px;
    }
}
