* {
    box-sizing: border-box;
}

:root {
    --primary: rgb(70,139,223);
    --primary-deep: #2369b7;
    --primary-soft: #eef6ff;
    --bg: #f7fbff;
    --panel: rgba(255,255,255,.86);
    --line: #dbe9f8;
    --text: #132238;
    --muted: #5f7189;
    --soft-text: #7c8ca2;
    --shadow: 0 18px 55px rgba(35, 84, 140, .10);
    --radius: 24px;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", Arial, sans-serif;
    background: linear-gradient(180deg, #f2f8ff 0%, #ffffff 42%, #f8fbff 100%);
    color: var(--text);
    line-height: 1.72;
    overflow-x: hidden;
}

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

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

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255,255,255,.84);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(219,233,248,.8);
}

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

.logo,
.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    letter-spacing: -.02em;
    color: #10233d;
}

.logo img,
.footer-logo img {
    width: 38px;
    height: 38px;
    border-radius: 12px;
}

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

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

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

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

.nav-toggle {
    display: inline-flex;
    width: 42px;
    height: 42px;
    border: 1px solid var(--line);
    background: #fff;
    border-radius: 14px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
}

.nav-toggle span {
    width: 18px;
    height: 2px;
    background: #253e5e;
    border-radius: 3px;
}

.section {
    padding: 66px 0;
}

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

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

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

.eyebrow,
.badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 12px;
    border-radius: 999px;
    color: var(--primary-deep);
    background: #eaf4ff;
    border: 1px solid #d7eaff;
    font-size: 13px;
    font-weight: 700;
}

h1,
h2,
h3 {
    line-height: 1.18;
    margin: 0;
    letter-spacing: -.035em;
}

h1 {
    font-size: clamp(36px, 9vw, 72px);
}

h2 {
    font-size: clamp(28px, 5vw, 46px);
}

h3 {
    font-size: 20px;
}

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

.centered-hero {
    position: relative;
    padding: 88px 0 36px;
    overflow: hidden;
}

.centered-hero::before {
    content: "";
    position: absolute;
    inset: -120px -20% auto;
    height: 420px;
    background: radial-gradient(circle, rgba(70,139,223,.22), transparent 60%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    max-width: 920px;
    margin: 0 auto;
    text-align: center;
}

.hero-content .eyebrow {
    margin-bottom: 18px;
}

.hero-content p {
    max-width: 760px;
    margin: 20px auto 0;
    font-size: 17px;
}

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

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

.security-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-top: 18px;
}

.security-tags span {
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(255,255,255,.8);
    border: 1px solid var(--line);
    color: #42617f;
    font-size: 13px;
}

.gradient-panel,
.product-bento,
.cta-section {
    background: linear-gradient(135deg, rgba(239,247,255,.95), rgba(255,255,255,.95));
    border: 1px solid var(--line);
    border-radius: 28px;
    box-shadow: var(--shadow);
}

.product-bento {
    display: grid;
    gap: 16px;
    padding: 18px;
}

.product-card {
    min-height: 430px;
    border-radius: 26px;
    background: linear-gradient(180deg, #ffffff, #f1f7ff);
    border: 1px solid #e4eef9;
    display: grid;
    place-items: center;
    padding: 24px;
    position: relative;
    overflow: hidden;
}

.product-card::before {
    content: "";
    position: absolute;
    width: 340px;
    height: 340px;
    border-radius: 50%;
    background: rgba(70,139,223,.12);
}

.product-card img {
    position: relative;
    max-height: 390px;
    object-fit: contain;
    filter: drop-shadow(0 22px 34px rgba(30,70,118,.18));
}

.status-card,
.info-card,
.category-card,
.feature-card,
.scenario-card,
.faq-item,
.note-card,
.step-card,
.principle-card,
.doc-card {
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: 0 12px 32px rgba(41,82,130,.07);
}

.status-card {
    padding: 18px;
}

.status-card strong {
    display: block;
    margin-bottom: 8px;
    color: #152c49;
}

.status-card small {
    color: var(--soft-text);
}

.feature-grid,
.scenario-grid,
.category-nav {
    display: grid;
    gap: 16px;
}

.info-card,
.category-card,
.feature-card,
.scenario-card,
.note-card,
.step-card,
.principle-card,
.doc-card {
    padding: 22px;
}

.info-card p,
.category-card p,
.feature-card p,
.scenario-card p,
.note-card p,
.step-card p,
.principle-card p,
.doc-card p {
    margin-top: 10px;
}

.info-card .icon,
.category-card .icon,
.feature-card .icon {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    color: var(--primary-deep);
    background: var(--primary-soft);
    font-weight: 900;
    margin-bottom: 16px;
}

.card-link {
    display: inline-flex;
    margin-top: 16px;
    color: var(--primary-deep);
    font-weight: 800;
}

.roadmap {
    position: relative;
    display: grid;
    gap: 16px;
    counter-reset: step;
}

.roadmap::before {
    content: "";
    position: absolute;
    left: 23px;
    top: 16px;
    bottom: 16px;
    width: 2px;
    background: #d6e8fb;
}

.process-step {
    position: relative;
    display: grid;
    grid-template-columns: 48px 1fr;
    gap: 14px;
    align-items: start;
}

.step-number {
    position: relative;
    z-index: 1;
    width: 48px;
    height: 48px;
    border-radius: 16px;
    display: grid;
    place-items: center;
    background: var(--primary);
    color: #fff;
    font-weight: 900;
    box-shadow: 0 10px 22px rgba(70,139,223,.24);
}

.process-step .step-card {
    min-height: 100%;
}

.category-bento,
.bento-grid {
    display: grid;
    gap: 16px;
}

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

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

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

.principle-card {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.principle-card span {
    flex: 0 0 auto;
    width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    background: #e8f3ff;
    color: var(--primary-deep);
    font-weight: 900;
}

.faq-list {
    display: grid;
    gap: 14px;
    max-width: 880px;
    margin: 0 auto;
}

.faq-item {
    padding: 22px;
}

.faq-item h3 {
    font-size: 18px;
    margin-bottom: 8px;
}

.cta-section {
    padding: 40px 22px;
    text-align: center;
}

.cta-section p {
    max-width: 660px;
    margin: 14px auto 0;
}

.page-hero {
    padding: 62px 0 28px;
}

.page-hero-inner {
    max-width: 860px;
}

.page-hero h1 {
    margin-top: 16px;
    font-size: clamp(34px, 8vw, 58px);
}

.page-hero p {
    margin-top: 18px;
    font-size: 17px;
}

.doc-layout {
    display: grid;
    gap: 22px;
    align-items: start;
}

.article-body {
    display: grid;
    gap: 18px;
}

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

.check-list,
.clean-list {
    display: grid;
    gap: 12px;
    margin: 16px 0 0;
    padding: 0;
    list-style: none;
}

.check-list li,
.clean-list li {
    padding: 14px 16px;
    border-radius: 16px;
    background: #f5f9ff;
    border: 1px solid #dfecfb;
    color: #455c76;
}

.steps-compact {
    display: grid;
    gap: 12px;
    margin-top: 16px;
}

.steps-compact .step-card {
    display: grid;
    grid-template-columns: 38px 1fr;
    gap: 14px;
}

.steps-compact b {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: 13px;
    background: var(--primary);
    color: #fff;
}

.sidebar-stack {
    display: grid;
    gap: 16px;
}

.download-guide {
    display: grid;
    gap: 16px;
}

.site-footer {
    margin-top: 48px;
    padding: 48px 0 28px;
    background: #f0f6fd;
    border-top: 1px solid var(--line);
}

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

.footer-grid p {
    margin-top: 12px;
    max-width: 360px;
}

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

.footer-grid a:not(.footer-logo) {
    display: block;
    color: #55708d;
    margin: 8px 0;
    font-size: 14px;
}

.footer-bottom {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 34px;
    padding-top: 18px;
    border-top: 1px solid #d9e8f7;
    color: #71829a;
    font-size: 13px;
}

@media (min-width: 680px) {
    .feature-grid,
    .scenario-grid,
    .category-nav,
    .category-bento,
    .bento-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .footer-grid {
        grid-template-columns: 1.4fr repeat(3, 1fr);
    }

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

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

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

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

    .centered-hero {
        padding-top: 112px;
    }

    .product-bento {
        grid-template-columns: 1.4fr .8fr .8fr;
        grid-template-rows: repeat(2, minmax(170px, auto));
        padding: 22px;
    }

    .product-card {
        grid-row: span 2;
    }

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

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

    .category-card.large,
    .feature-card.large {
        grid-column: span 2;
        min-height: 230px;
    }

    .feature-card.medium,
    .category-card.medium {
        grid-column: span 2;
    }

    .security-layout,
    .doc-layout {
        grid-template-columns: minmax(0, 1.2fr) minmax(320px, .8fr);
    }

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

    .roadmap::before {
        left: 6%;
        right: 6%;
        top: 24px;
        bottom: auto;
        width: auto;
        height: 2px;
    }

    .process-step {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .step-number {
        margin-bottom: 0;
    }

    .process-step:nth-child(even) {
        margin-top: 34px;
    }

    .article-body {
        max-width: 760px;
    }
}

@media (min-width: 1100px) {
    .scenario-grid {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }
}
