* {
    box-sizing: border-box;
}

:root {
    --primary: rgb(70,139,223);
    --primary-soft: rgba(70,139,223,.10);
    --primary-soft-2: rgba(70,139,223,.16);
    --text: #122033;
    --muted: #5f6f84;
    --line: #dce8f7;
    --card: rgba(255,255,255,.88);
    --bg: #f6f9fd;
    --blue-bg: #eef6ff;
    --shadow: 0 18px 50px rgba(32, 91, 157, .10);
    --radius: 22px;
}

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 top left, rgba(70,139,223,.14), transparent 32rem),
        linear-gradient(180deg, #ffffff 0%, #f7fbff 42%, #f4f8fd 100%);
    line-height: 1.7;
    overflow-x: hidden;
}

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

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255,255,255,.84);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(220,232,247,.78);
}

.nav-shell {
    width: min(1160px, calc(100% - 32px));
    margin: 0 auto;
    min-height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

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

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

.brand-name {
    white-space: nowrap;
}

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

.nav-toggle span {
    width: 18px;
    height: 2px;
    background: #24354b;
    border-radius: 999px;
}

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

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

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

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

.site-main {
    min-height: 70vh;
}

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

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

.section {
    padding: 58px 0;
}

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

.section-kicker,
.badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 999px;
    color: var(--primary);
    background: var(--primary-soft);
    border: 1px solid rgba(70,139,223,.18);
    font-size: 13px;
    font-weight: 700;
}

.section h2,
.section-title {
    margin: 12px 0 10px;
    font-size: clamp(28px, 5vw, 44px);
    letter-spacing: -.04em;
    line-height: 1.15;
}

.section-desc,
.lead {
    margin: 0;
    color: var(--muted);
}

.centered-hero {
    padding: 80px 0 44px;
    text-align: center;
}

.hero-inner {
    width: min(920px, calc(100% - 32px));
    margin: 0 auto;
}

.hero-badge {
    margin-bottom: 18px;
}

.centered-hero h1 {
    margin: 0 auto 18px;
    max-width: 900px;
    font-size: clamp(40px, 8vw, 78px);
    line-height: 1.05;
    letter-spacing: -.07em;
}

.hero-copy {
    max-width: 760px;
    margin: 0 auto 28px;
    color: var(--muted);
    font-size: clamp(16px, 2.4vw, 20px);
}

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

.download-btn:hover {
    transform: translateY(-2px);
    background: rgb(55,126,214);
    box-shadow: 0 16px 34px rgba(70,139,223,.32);
}

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

.security-tags span,
.tag-row span {
    padding: 8px 12px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid var(--line);
    color: #475b72;
    font-size: 13px;
    box-shadow: 0 8px 26px rgba(49, 98, 158, .06);
}

.product-bento {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    align-items: stretch;
}

.product-device-card {
    position: relative;
    overflow: hidden;
    min-height: 420px;
    display: grid;
    place-items: center;
    padding: 28px;
    border-radius: 30px;
    background:
        radial-gradient(circle at 50% 22%, rgba(70,139,223,.16), transparent 18rem),
        linear-gradient(145deg, #ffffff 0%, #eff7ff 100%);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
}

.product-device-card::before {
    content: "";
    position: absolute;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    background: rgba(70,139,223,.08);
    filter: blur(3px);
    z-index: 0;
}

.product-device-card img {
    position: relative;
    z-index: 1;
    max-height: 520px;
    object-fit: contain;
    filter: drop-shadow(0 26px 38px rgba(40,75,120,.16));
}

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

.status-card,
.card,
.bento-card,
.category-card,
.scenario-card,
.info-card,
.faq-item,
.step-card {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: 0 12px 36px rgba(37, 84, 142, .07);
}

.status-card {
    padding: 18px;
    min-height: 118px;
}

.status-card strong {
    display: block;
    margin-bottom: 6px;
    font-size: 16px;
}

.status-card p,
.card p,
.bento-card p,
.category-card p,
.scenario-card p,
.info-card p,
.step-card p {
    margin: 0;
    color: var(--muted);
}

.status-dot {
    width: 10px;
    height: 10px;
    display: inline-block;
    border-radius: 999px;
    margin-right: 8px;
    background: var(--primary);
    box-shadow: 0 0 0 5px rgba(70,139,223,.12);
}

.capability-grid,
.scenario-grid,
.faq-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

.card {
    padding: 22px;
}

.card h3,
.bento-card h3,
.category-card h3,
.scenario-card h3,
.info-card h3 {
    margin: 0 0 10px;
    font-size: 20px;
    letter-spacing: -.02em;
}

.card-link,
.text-link {
    display: inline-flex;
    margin-top: 14px;
    color: var(--primary);
    font-weight: 740;
}

.roadmap {
    position: relative;
    display: grid;
    gap: 16px;
}

.roadmap::before {
    content: "";
    position: absolute;
    left: 19px;
    top: 16px;
    bottom: 16px;
    width: 2px;
    background: linear-gradient(var(--primary), rgba(70,139,223,.08));
}

.roadmap-item {
    position: relative;
    display: grid;
    grid-template-columns: 42px 1fr;
    gap: 14px;
}

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

.step-card {
    padding: 20px;
}

.step-card h3 {
    margin: 0 0 6px;
    font-size: 18px;
}

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

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

.category-card::after,
.bento-card::after {
    content: "";
    position: absolute;
    right: -50px;
    bottom: -70px;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: var(--primary-soft);
}

.category-card > *,
.bento-card > * {
    position: relative;
    z-index: 1;
}

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

.bento-card.medium {
    min-height: 190px;
}

.bento-card.small {
    min-height: 145px;
}

.security-layout {
    display: grid;
    gap: 20px;
    align-items: center;
    padding: 26px;
    border-radius: 30px;
    background: linear-gradient(145deg, rgba(255,255,255,.92), rgba(236,246,255,.88));
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
}

.security-layout h2 {
    margin: 10px 0 12px;
}

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

.principle {
    display: flex;
    gap: 12px;
    padding: 15px;
    border-radius: 18px;
    background: #fff;
    border: 1px solid var(--line);
}

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

.scenario-card {
    padding: 20px;
}

.faq-item {
    padding: 18px 20px;
}

.faq-item h3 {
    margin: 0 0 8px;
    font-size: 17px;
}

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

.cta-section {
    margin: 30px auto 70px;
    width: min(1080px, calc(100% - 32px));
    border-radius: 32px;
    padding: 42px 22px;
    text-align: center;
    background:
        radial-gradient(circle at top, rgba(70,139,223,.15), transparent 22rem),
        linear-gradient(135deg, #ffffff, #eef6ff);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
}

.cta-section h2 {
    margin: 0 0 12px;
    font-size: clamp(28px, 5vw, 44px);
    letter-spacing: -.04em;
    line-height: 1.16;
}

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

.page-hero {
    padding: 58px 0 30px;
    text-align: center;
}

.page-hero h1 {
    margin: 16px auto 14px;
    max-width: 880px;
    font-size: clamp(34px, 7vw, 58px);
    line-height: 1.08;
    letter-spacing: -.055em;
}

.page-hero p {
    max-width: 760px;
    margin: 0 auto;
    color: var(--muted);
}

.doc-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
    align-items: start;
    padding-bottom: 70px;
}

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

.doc-card {
    padding: 22px;
    border-radius: var(--radius);
    background: rgba(255,255,255,.9);
    border: 1px solid var(--line);
    box-shadow: 0 12px 32px rgba(37, 84, 142, .06);
}

.doc-card h2 {
    margin: 0 0 12px;
    font-size: 24px;
    letter-spacing: -.03em;
}

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

.doc-card p:last-child {
    margin-bottom: 0;
}

.doc-aside {
    display: grid;
    gap: 16px;
}

.note-list,
.clean-list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 10px;
}

.note-list li,
.clean-list li {
    padding: 12px 14px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 15px;
    color: #4c5f76;
}

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

.process-step {
    display: grid;
    grid-template-columns: 36px 1fr;
    gap: 12px;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: #fff;
}

.process-step span {
    width: 36px;
    height: 36px;
    border-radius: 12px;
    background: var(--primary-soft);
    color: var(--primary);
    display: grid;
    place-items: center;
    font-weight: 800;
}

.process-step strong {
    display: block;
    margin-bottom: 3px;
}

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

.inline-cta {
    padding: 22px;
    text-align: center;
    border-radius: var(--radius);
    background: linear-gradient(145deg, #ffffff, #eef6ff);
    border: 1px solid var(--line);
}

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

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

.download-steps li {
    list-style: none;
    counter-increment: dstep;
    display: grid;
    grid-template-columns: 42px 1fr;
    gap: 12px;
    align-items: start;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: #fff;
}

.download-steps li::before {
    content: counter(dstep);
    width: 42px;
    height: 42px;
    border-radius: 14px;
    background: var(--primary);
    color: #fff;
    display: grid;
    place-items: center;
    font-weight: 800;
}

.about-panel {
    padding: 28px;
    border-radius: 30px;
    background: linear-gradient(145deg, rgba(255,255,255,.95), rgba(238,246,255,.86));
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

.site-footer {
    padding: 46px 0 22px;
    background: #fff;
    border-top: 1px solid var(--line);
}

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

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

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

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

.footer-links {
    display: grid;
    gap: 8px;
}

.footer-links h3 {
    margin: 0 0 6px;
    font-size: 16px;
}

.footer-links a {
    color: var(--muted);
}

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

.footer-bottom {
    width: min(1120px, calc(100% - 32px));
    margin: 28px auto 0;
    padding-top: 18px;
    border-top: 1px solid var(--line);
    color: #7a8a9e;
    font-size: 13px;
}

@media (min-width: 720px) {
    .section {
        padding: 74px 0;
    }

    .capability-grid,
    .scenario-grid,
    .faq-grid,
    .about-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

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

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

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

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

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

    .centered-hero {
        padding: 112px 0 54px;
    }

    .product-bento {
        grid-template-columns: minmax(0, 1.5fr) minmax(300px, .8fr);
        gap: 20px;
    }

    .product-device-card {
        min-height: 620px;
    }

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

    .roadmap {
        grid-template-columns: repeat(6, 1fr);
        gap: 14px;
    }

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

    .roadmap-item {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .roadmap-item:nth-child(even) {
        margin-top: 42px;
    }

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

    .category-card.big {
        grid-column: span 2;
        min-height: 210px;
    }

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

    .bento-card.large {
        grid-column: span 2;
        grid-row: span 2;
        min-height: 300px;
    }

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

    .security-layout {
        grid-template-columns: 1fr .9fr;
        padding: 38px;
    }

    .scenario-grid {
        grid-template-columns: repeat(5, 1fr);
    }

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

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

    .doc-aside {
        position: sticky;
        top: 96px;
    }
}

@media (min-width: 1160px) {
    .scenario-card:nth-child(1),
    .scenario-card:nth-child(2) {
        grid-column: span 2;
    }

    .scenario-card:nth-child(3),
    .scenario-card:nth-child(4),
    .scenario-card:nth-child(5) {
        grid-column: span 1;
    }
}
