:root {
    --primary: rgb(70,139,223);
    --primary-dark: #2464b5;
    --ink: #0e1d35;
    --muted: #66758f;
    --line: #dce8f7;
    --soft: #f3f8ff;
    --soft-2: #eef6ff;
    --white: #ffffff;
    --shadow: 0 20px 60px rgba(31, 88, 151, 0.12);
    --radius: 22px;
    --radius-lg: 28px;
}

* { 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(--ink);
    background: linear-gradient(180deg, #f7fbff 0%, #ffffff 42%, #f5f9ff 100%);
    line-height: 1.75;
    overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
main { min-height: 60vh; }

.site-header {
    position: sticky;
    top: 0;
    z-index: 30;
    background: rgba(255,255,255,0.88);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(220,232,247,0.9);
}
.header-inner {
    width: min(1120px, calc(100% - 32px));
    margin: 0 auto;
    min-height: 68px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; letter-spacing: -0.02em; color: #0a2748; }
.logo img { border-radius: 12px; box-shadow: 0 8px 24px rgba(70,139,223,0.22); }
.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: var(--ink); border-radius: 999px; }
.site-nav {
    position: absolute;
    left: 16px; right: 16px; top: 76px;
    display: none;
    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: grid; gap: 4px; }
.site-nav a { padding: 12px 14px; border-radius: 14px; color: #52647e; font-size: 15px; }
.site-nav a.active, .site-nav a:hover { background: var(--soft); color: var(--primary-dark); }

.container { width: min(1120px, calc(100% - 32px)); margin: 0 auto; }
.narrow { width: min(840px, calc(100% - 32px)); margin: 0 auto; }
.section { padding: 54px 0; }
.section-head { margin-bottom: 24px; }
.section-kicker, .badge {
    display: inline-flex; align-items: center; gap: 8px;
    color: var(--primary-dark); background: rgba(70,139,223,0.1);
    border: 1px solid rgba(70,139,223,0.16);
    border-radius: 999px; padding: 7px 12px;
    font-size: 13px; font-weight: 700;
}
.section h2, .page-title h1, .centered-hero h1 { line-height: 1.12; letter-spacing: -0.045em; }
.section h2 { font-size: clamp(28px, 5vw, 46px); margin: 12px 0 12px; }
.section p, .muted { color: var(--muted); }

.centered-hero {
    padding: 78px 0 42px;
    text-align: center;
    position: relative;
}
.centered-hero:before {
    content: "";
    position: absolute;
    width: 540px; height: 540px;
    left: 50%; top: 10px;
    transform: translateX(-50%);
    border-radius: 999px;
    background: radial-gradient(circle, rgba(70,139,223,0.17), rgba(70,139,223,0) 66%);
    pointer-events: none;
}
.centered-hero .container { position: relative; }
.centered-hero h1 { font-size: clamp(38px, 10vw, 78px); margin: 16px auto; max-width: 880px; }
.hero-intro { font-size: clamp(17px, 3.5vw, 21px); max-width: 760px; margin: 0 auto 28px; color: #52647e; }
.download-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 0 24px;
    border-radius: 999px;
    background: var(--primary);
    color: #fff;
    font-weight: 800;
    box-shadow: 0 14px 30px rgba(70,139,223,0.28);
    border: 1px solid rgba(255,255,255,0.18);
    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 38px rgba(70,139,223,0.34); }
.safety-tags { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 18px; }
.safety-tags span { padding: 8px 12px; border-radius: 999px; color: #34536f; background: #fff; border: 1px solid var(--line); font-size: 13px; }

.product-bento {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    align-items: stretch;
}
.product-showcase {
    position: relative;
    overflow: hidden;
    min-height: 430px;
    border-radius: var(--radius-lg);
    background: linear-gradient(150deg, #ffffff, #eef6ff 60%, #ffffff);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    padding: 28px;
    display: grid;
    place-items: center;
}
.product-showcase:before {
    content: "";
    position: absolute; inset: 12%;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(70,139,223,0.16), rgba(70,139,223,0));
}
.product-showcase img { position: relative; max-height: 390px; margin: 0 auto; filter: drop-shadow(0 30px 45px rgba(14, 48, 90, .18)); }
.status-stack { display: grid; gap: 14px; }
.status-card, .feature-card, .category-card, .scenario-card, .principle-card, .doc-card, .faq-item, .step-card {
    background: rgba(255,255,255,0.88);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: 0 12px 34px rgba(42, 91, 150, 0.08);
}
.status-card { padding: 18px; }
.status-card strong, .category-card strong, .scenario-card strong { display: block; color: #14365d; margin-bottom: 4px; }
.status-dot { width: 10px; height: 10px; display: inline-block; margin-right: 8px; background: var(--primary); border-radius: 50%; box-shadow: 0 0 0 6px rgba(70,139,223,0.12); }

.capability-grid, .scenario-grid, .faq-summary, .doc-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
.feature-card { padding: 22px; }
.feature-card h3, .doc-card h3 { margin: 0 0 8px; font-size: 20px; }
.feature-card p, .category-card p, .scenario-card p, .doc-card p, .step-card p { margin: 0; color: var(--muted); }
.icon-chip {
    width: 42px; height: 42px; display: grid; place-items: center;
    border-radius: 14px; background: rgba(70,139,223,0.1); color: var(--primary-dark);
    font-weight: 900; margin-bottom: 14px;
}

.roadmap {
    position: relative;
    display: grid;
    gap: 14px;
}
.roadmap:before {
    content: "";
    position: absolute;
    left: 23px;
    top: 20px;
    bottom: 20px;
    width: 2px;
    background: linear-gradient(var(--primary), rgba(70,139,223,0.08));
}
.roadmap-step {
    position: relative;
    display: grid;
    grid-template-columns: 48px 1fr;
    gap: 14px;
    align-items: start;
}
.step-num {
    width: 48px; height: 48px;
    border-radius: 16px;
    display: grid; place-items: center;
    background: var(--primary);
    color: #fff;
    font-weight: 900;
    box-shadow: 0 12px 26px rgba(70,139,223,0.25);
    z-index: 1;
}
.step-card { padding: 18px; }
.step-card a, .category-card a, .scenario-card a, .link-more { display: inline-flex; margin-top: 12px; color: var(--primary-dark); font-weight: 800; }

.category-bento, .bento-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
.category-card { padding: 22px; min-height: 150px; }
.category-card.large, .bento-card.large { background: linear-gradient(145deg, #fff, #eef6ff); }
.bento-card {
    padding: 24px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--line);
    background: rgba(255,255,255,0.9);
    box-shadow: 0 12px 34px rgba(42, 91, 150, 0.08);
}
.bento-card h3 { margin: 0 0 10px; font-size: 22px; }
.bento-card p { margin: 0; color: var(--muted); }
.bento-card .mini-list { margin-top: 18px; display: grid; gap: 10px; }
.bento-card .mini-list span { padding: 9px 11px; border-radius: 12px; background: #fff; border: 1px solid var(--line); color: #38516c; font-size: 14px; }

.security-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    align-items: center;
}
.security-panel {
    border-radius: var(--radius-lg);
    border: 1px solid var(--line);
    background: linear-gradient(150deg, #ffffff, #f2f8ff);
    padding: 22px;
    box-shadow: var(--shadow);
}
.principle-card { padding: 16px; margin-bottom: 12px; display: flex; gap: 12px; align-items: flex-start; }
.principle-card:last-child { margin-bottom: 0; }
.principle-card b { color: var(--primary-dark); }
.scenario-card { padding: 20px; }

.faq-item { padding: 18px 20px; }
.faq-item h3 { margin: 0 0 8px; font-size: 18px; }
.faq-item p { margin: 0; color: var(--muted); }
.cta-section {
    text-align: center;
    padding: 48px 24px;
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, rgba(70,139,223,0.1), rgba(255,255,255,0.92));
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
}
.cta-section h2 { margin-top: 0; }

.page-hero { padding: 56px 0 22px; }
.page-title { text-align: center; max-width: 860px; margin: 0 auto; }
.page-title h1 { font-size: clamp(34px, 8vw, 58px); margin: 16px 0; }
.page-title p { color: var(--muted); font-size: 18px; margin: 0 auto; max-width: 720px; }
.doc-layout { display: grid; grid-template-columns: 1fr; gap: 22px; align-items: start; }
.article-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow);
}
.article-card h2 { font-size: 26px; margin: 6px 0 12px; }
.article-card h3 { margin: 24px 0 8px; }
.article-card p { color: #52647e; }
.article-card ul, .article-card ol { padding-left: 22px; color: #52647e; }
.article-card li { margin: 8px 0; }
.sidebar-card {
    background: linear-gradient(150deg, #ffffff, #f1f7ff);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 20px;
    box-shadow: 0 12px 34px rgba(42, 91, 150, 0.08);
}
.sidebar-card h3 { margin-top: 0; }
.sidebar-card ul { padding-left: 20px; color: var(--muted); }
.doc-cta { margin-top: 24px; text-align: center; }
.check-list { display: grid; gap: 10px; padding: 0; list-style: none; }
.check-list li { padding: 12px 14px; border: 1px solid var(--line); border-radius: 14px; background: #f8fbff; }
.process-list { counter-reset: item; display: grid; gap: 12px; padding: 0; list-style: none; }
.process-list li { position: relative; padding: 14px 14px 14px 52px; border-radius: 16px; background: #f8fbff; border: 1px solid var(--line); color: #52647e; }
.process-list li:before { counter-increment: item; content: counter(item); position: absolute; left: 14px; top: 14px; width: 26px; height: 26px; border-radius: 9px; background: var(--primary); color: #fff; display: grid; place-items: center; font-weight: 900; }
.faq-page { display: grid; gap: 14px; }

.site-footer { margin-top: 48px; background: #0f2745; color: #d7e7fb; }
.footer-inner { width: min(1120px, calc(100% - 32px)); margin: 0 auto; padding: 42px 0; display: grid; grid-template-columns: 1fr; gap: 26px; }
.footer-logo { color: #fff; }
.footer-brand p { color: #b8cae1; max-width: 480px; }
.footer-links { display: grid; grid-template-columns: 1fr; gap: 20px; }
.footer-links strong { display: block; color: #fff; margin-bottom: 10px; }
.footer-links a { display: block; color: #b8cae1; margin: 7px 0; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); text-align: center; padding: 18px; color: #a8bdd5; font-size: 14px; }

@media (min-width: 720px) {
    .section { padding: 72px 0; }
    .capability-grid, .scenario-grid, .faq-summary, .doc-grid { grid-template-columns: repeat(2, 1fr); }
    .category-bento { grid-template-columns: repeat(2, 1fr); }
    .bento-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-links { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 980px) {
    .nav-toggle { display: none; }
    .site-nav { position: static; display: flex; align-items: center; gap: 2px; padding: 0; background: transparent; border: 0; box-shadow: none; }
    .site-nav a { padding: 10px 12px; }
    .centered-hero { padding-top: 104px; }
    .product-bento { grid-template-columns: minmax(0, 1.45fr) minmax(280px, .55fr); gap: 20px; }
    .status-stack { grid-template-rows: repeat(4, 1fr); }
    .capability-grid { grid-template-columns: repeat(4, 1fr); }
    .roadmap { grid-template-columns: repeat(6, 1fr); gap: 12px; }
    .roadmap:before { left: 6%; right: 6%; top: 24px; bottom: auto; width: auto; height: 2px; }
    .roadmap-step { grid-template-columns: 1fr; gap: 12px; }
    .step-num { margin: 0 auto; }
    .roadmap-step:nth-child(even) { padding-top: 34px; }
    .category-bento { grid-template-columns: repeat(4, 1fr); grid-auto-rows: minmax(150px, auto); }
    .category-card.large { grid-column: span 2; }
    .bento-grid { grid-template-columns: repeat(4, 1fr); }
    .bento-card.large { grid-column: span 2; min-height: 260px; }
    .bento-card.medium { grid-column: span 2; }
    .security-layout { grid-template-columns: .95fr 1.05fr; gap: 42px; }
    .scenario-grid { grid-template-columns: repeat(5, 1fr); }
    .scenario-card { min-height: 190px; }
    .faq-summary { grid-template-columns: repeat(4, 1fr); }
    .doc-layout { grid-template-columns: minmax(0, 1fr) 310px; }
    .article-card { padding: 34px; }
    .footer-inner { grid-template-columns: 1.1fr 1fr; }
}

@media (max-width: 420px) {
    .header-inner, .container, .narrow, .footer-inner { width: min(100% - 24px, 1120px); }
    .centered-hero { padding-top: 56px; }
    .product-showcase { min-height: 360px; padding: 18px; }
    .article-card { padding: 20px; }
    .download-btn { width: 100%; }
    .safety-tags { align-items: center; }
}
