/* 智核：浅色未来科技官网 */
:root {
    color-scheme: light;
    --bg: #F7F9FC;
    --paper: #FFFFFF;
    --ink: #0F172A;
    --muted: #334155;
    --soft: #475569;
    --line: rgba(15, 23, 42, 0.08);
    --blue: #2563EB;
    --blue-deep: #1D4ED8;
    --cyan: #0891B2;
    --violet: #7C3AED;
    --glass: rgba(255, 255, 255, 0.78);
    --shadow: 0 18px 50px rgba(15, 23, 42, 0.06);
    --radius: 28px;
    --font: "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    min-height: 100vh;
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.7;
    color: var(--ink);
    background:
        radial-gradient(900px 480px at 0% -10%, rgba(37, 99, 235, 0.16), transparent 58%),
        radial-gradient(720px 420px at 100% 0%, rgba(124, 58, 237, 0.12), transparent 52%),
        radial-gradient(640px 380px at 78% 18%, rgba(8, 145, 178, 0.10), transparent 50%),
        var(--bg);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue-deep); }
button, a, summary { cursor: pointer; }
:focus-visible {
    outline: 3px solid rgba(37, 99, 235, 0.45);
    outline-offset: 3px;
}
::selection { background: rgba(37, 99, 235, 0.16); }
h1, h2, h3 { line-height: 1.2; letter-spacing: -0.03em; font-weight: 600; margin: 0 0 12px; }
p { margin: 0 0 12px; }
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
.skip-link {
    position: absolute;
    left: 16px;
    top: -48px;
    z-index: 80;
    background: var(--paper);
    color: var(--ink);
    padding: 10px 14px;
    border-radius: 12px;
    text-decoration: none;
}
.skip-link:focus { top: 12px; }
.wrap { width: min(1120px, calc(100% - 40px)); margin-inline: auto; }
.kicker {
    margin: 0 0 12px;
    color: var(--blue);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}
.section { padding: 88px 0; scroll-margin-top: 88px; }
.section-tint {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.35), rgba(241, 245, 249, 0.2));
}
.section h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); max-width: 16em; }
.section-lead { max-width: 38rem; color: var(--muted); font-size: 1.05rem; }

.glass {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(255, 255, 255, 0.66));
    border: 1px solid rgba(255, 255, 255, 0.92);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.9) inset, var(--shadow), 0 0 0 1px rgba(37, 99, 235, 0.05);
    backdrop-filter: blur(18px);
    border-radius: var(--radius);
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 40;
    background: rgba(247, 249, 252, 0.78);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.7);
}
.nav {
    position: relative;
    display: flex;
    align-items: center;
    gap: 16px;
    min-height: 72px;
}
.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--ink);
    text-decoration: none;
    font-weight: 700;
    letter-spacing: -0.02em;
}
.brand-mark {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background:
        radial-gradient(circle at 35% 30%, #fff, #93c5fd 45%, #2563eb 78%);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}
.nav-toggle {
    margin-left: auto;
    width: 44px;
    height: 44px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.8);
    color: var(--ink);
    display: grid;
    place-items: center;
}
.nav-toggle-close { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle-open { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle-close { display: block; }
.nav-panel {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 8px);
    padding: 12px;
    background: #FFFFFF;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 20px;
    box-shadow: var(--shadow);
}
.nav-panel.is-open { display: grid; gap: 8px; }
.nav-list { list-style: none; margin: 0; padding: 0; }
.nav-list a {
    display: flex;
    align-items: center;
    min-height: 44px;
    padding: 0 12px;
    color: var(--ink);
    text-decoration: none;
    border-radius: 12px;
}
.nav-list a:hover,
.nav-list a[aria-current="page"] { background: rgba(37, 99, 235, 0.08); color: var(--blue-deep); }
.nav-cta { justify-content: center; }

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    padding: 0 18px;
    border-radius: 999px;
    border: 1px solid transparent;
    text-decoration: none;
    font: inherit;
    font-weight: 600;
    white-space: nowrap;
    transition: background 180ms var(--ease), border-color 180ms var(--ease), transform 180ms var(--ease);
}
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-deep); color: #fff; }
.btn-ghost {
    background: rgba(255, 255, 255, 0.72);
    color: var(--ink);
    border-color: rgba(15, 23, 42, 0.08);
}
.btn-ghost:hover { border-color: rgba(37, 99, 235, 0.35); color: var(--blue-deep); }

.hero { padding: 48px 0 24px; }
.hero-grid { display: grid; gap: 36px; align-items: center; }
.hero h1 { font-size: clamp(2.1rem, 5vw, 3.6rem); max-width: 9em; }
.lead { max-width: 36rem; color: var(--muted); font-size: 1.125rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 22px 0; }
.metric-list {
    display: grid;
    gap: 12px;
    list-style: none;
    margin: 28px 0 0;
    padding: 0;
}
.metric-list li { display: grid; gap: 2px; }
.metric-list strong { font-size: 0.95rem; }
.metric-list span { color: var(--soft); font-size: 0.875rem; }

.stage {
    position: relative;
    height: 460px;
    border-radius: 36px;
    overflow: hidden;
    background:
        radial-gradient(circle at 50% 46%, rgba(255, 255, 255, 0.95), rgba(219, 234, 254, 0.55) 42%, rgba(237, 233, 254, 0.35) 70%, transparent 72%);
}
#hk-particles { position: absolute; inset: 0; width: 100%; height: 100%; }
.flow { position: absolute; inset: 0; width: 100%; height: 100%; }
.flow path {
    fill: none;
    stroke: rgba(37, 99, 235, 0.45);
    stroke-width: 1.4;
    stroke-dasharray: 7 12;
    animation: flow 18s linear infinite;
}
.flow path:nth-child(2) { stroke: rgba(8, 145, 178, 0.4); }
.flow path:nth-child(3) { stroke: rgba(124, 58, 237, 0.35); }
.orb {
    position: absolute;
    left: 50%;
    top: 46%;
    width: 180px;
    height: 180px;
    margin: -90px 0 0 -90px;
    border-radius: 50%;
    background: radial-gradient(circle at 32% 28%, #fff 0%, #dbeafe 36%, #60a5fa 68%, #2563eb 100%);
    box-shadow: 0 24px 60px rgba(37, 99, 235, 0.28), inset 0 0 30px rgba(255, 255, 255, 0.7);
    transform: rotateX(18deg);
}
.ring {
    position: absolute;
    left: 50%;
    top: 46%;
    border: 1px solid rgba(37, 99, 235, 0.28);
    border-radius: 50%;
    transform: translate(-50%, -50%) rotateX(70deg);
}
.ring-a { width: 280px; height: 280px; animation: spin 22s linear infinite; }
.ring-b {
    width: 340px;
    height: 200px;
    border-color: rgba(124, 58, 237, 0.28);
    animation: spin 28s linear infinite reverse;
}
.float-card {
    position: absolute;
    right: 24px;
    bottom: 28px;
    width: min(220px, calc(100% - 48px));
    padding: 16px 18px;
    color: var(--ink);
}
.float-card p { margin: 8px 0 0; color: var(--soft); font-size: 13px; }
.float-card strong { display: block; font-size: 1.15rem; }
.float-card span { color: var(--soft); font-size: 13px; }
.float-icon {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border-radius: 12px;
    color: var(--blue);
    background: rgba(37, 99, 235, 0.1);
}

.card-grid, .news-grid, .step-grid { display: grid; gap: 16px; margin-top: 28px; }
.card, .step, .list-card, .panel { padding: 24px; }
.card h3, .step h3 { font-size: 1.2rem; }
.card p, .step p, .panel p, .list-card p { color: var(--muted); }
.icon-badge {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    margin-bottom: 16px;
    border-radius: 16px;
    color: var(--blue);
    background: rgba(37, 99, 235, 0.1);
    box-shadow: 0 0 0 6px rgba(37, 99, 235, 0.05);
}
.card:hover, .news-card:hover, .list-card:hover {
    transform: translateY(-2px);
    transition: transform 200ms var(--ease);
}

.split { display: grid; gap: 28px; align-items: start; }
.point-list { list-style: none; margin: 0; padding: 8px 24px; }
.point-list li { padding: 16px 0; border-bottom: 1px solid var(--line); display: grid; gap: 4px; }
.point-list li:last-child { border-bottom: 0; }
.point-list span { color: var(--muted); }

.life-panel {
    display: grid;
    gap: 24px;
    padding: 32px;
    align-items: center;
}
.life-panel p { color: var(--muted); max-width: 40rem; }
.life-visual {
    position: relative;
    height: 220px;
    display: grid;
    place-items: center;
}
.halo {
    position: absolute;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.2), rgba(124, 58, 237, 0.08) 55%, transparent 70%);
}
.life-core {
    position: relative;
    display: grid;
    place-items: center;
    width: 88px;
    height: 88px;
    border-radius: 28px;
    color: var(--blue-deep);
    background: rgba(255, 255, 255, 0.8);
    box-shadow: 0 12px 30px rgba(37, 99, 235, 0.16);
}
.life-core svg { width: 36px; height: 36px; }
.step span { color: var(--blue); font-weight: 700; letter-spacing: 0.08em; }

.news-card {
    display: grid;
    color: inherit;
    text-decoration: none;
    overflow: hidden;
    min-width: 0;
}
.news-media { display: block; aspect-ratio: 16 / 10; background: #e8eef8; }
.news-media img { width: 100%; height: 100%; object-fit: cover; }
.news-fallback {
    display: block;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.9), transparent 40%),
        linear-gradient(135deg, #dbeafe, #ede9fe 55%, #cffafe);
}
.news-copy { display: grid; gap: 8px; padding: 18px 20px 22px; }
.news-card h3 { color: var(--ink); font-size: 1.1rem; margin: 0; }
.news-card p { color: var(--muted); margin: 0; }
.meta { color: var(--soft); font-size: 13px; margin: 0; }
.meta a { color: inherit; }

.faq-wrap { max-width: 760px; }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary {
    min-height: 52px;
    display: flex;
    align-items: center;
    font-weight: 600;
    list-style: none;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; margin-left: auto; color: var(--blue); font-size: 1.25rem; }
.faq-list details[open] summary::after { content: "–"; }
.faq-list p { color: var(--muted); margin-top: 0; }

.closing { padding-top: 12px; }
.closing-card {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 32px;
}
.closing-card p { color: var(--muted); margin: 0; }

.crumbs { padding-top: 20px; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; color: var(--soft); font-size: 14px; }
.crumbs a { color: var(--soft); text-decoration: none; }
.crumbs li + li::before { content: "/"; margin-right: 8px; }
.layout { display: grid; gap: 24px; padding: 28px 0 72px; }
.sheet, .content { min-width: 0; }
.page-title { margin-bottom: 20px; }
.page-title h1, .article-title { font-size: clamp(1.8rem, 3vw, 2.6rem); }
.page-title p { color: var(--muted); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 16px; }
.tag {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 0 10px;
    border-radius: 999px;
    border: 1px solid var(--line);
    color: var(--blue-deep);
    text-decoration: none;
    background: rgba(255, 255, 255, 0.7);
}
.prose {
    width: 100%;
    max-width: none;
    min-width: 0;
    margin-top: 20px;
    color: var(--ink);
}
.prose h2, .prose h3 { margin-top: 1.4em; }
.prose p, .prose li { color: var(--muted); }
.prose a { text-decoration: underline; text-underline-offset: 3px; }
.prose img, .prose video, .prose iframe, .prose table, .prose pre { max-width: 100%; }
.prose img, .prose video, .prose iframe { height: auto; }
.prose ul, .prose ol { padding-left: 1.3em; }
.list { display: grid; gap: 14px; }
.list-card h2 { font-size: 1.2rem; margin: 0 0 8px; }
.list-card h2 a { color: var(--ink); text-decoration: none; }
.list-card h2 a:hover { color: var(--blue-deep); }
.list-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.guide-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin: 8px 0 22px;
    padding: 16px 18px;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.12), rgba(8, 145, 178, 0.08) 55%, rgba(255, 255, 255, 0.9));
    border: 1px solid rgba(37, 99, 235, 0.18);
    box-shadow: 0 10px 28px rgba(37, 99, 235, 0.08);
}
.guide-bar p { margin: 0; color: var(--ink); font-weight: 600; }
.sheet .guide-bar:last-of-type { margin-top: 28px; }
.empty { color: var(--muted); }
.stack { display: grid; gap: 16px; align-content: start; }
.panel h2 { font-size: 1rem; }
.panel ul { list-style: none; margin: 0; padding: 0; }
.panel li + li { margin-top: 8px; }
.panel a { text-decoration: none; }
.share { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 28px; }
.post-nav, .related-list { display: grid; gap: 12px; }
.post-nav { margin-top: 28px; }
.post-nav-link, .related-list li {
    display: grid;
    gap: 4px;
    min-width: 0;
    padding: 16px 18px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.9);
    text-decoration: none;
    color: var(--ink);
}
.post-nav-link span, .related .meta { color: var(--soft); font-size: 13px; }
.post-nav-link strong { overflow-wrap: anywhere; }
a.post-nav-link:hover, .related-list a:hover { color: var(--blue-deep); }
.post-nav-link.is-empty { color: var(--soft); }
.related { margin-top: 36px; }
.related h2 { font-size: 1.25rem; }
.related-list { list-style: none; margin: 0; padding: 0; }
.related-list a { color: var(--ink); font-weight: 600; text-decoration: none; }
.error-page { padding: 72px 0 96px; }
.error-page p { color: var(--muted); max-width: 36rem; }

.site-footer {
    padding: 48px 0 28px;
    border-top: 1px solid rgba(15, 23, 42, 0.06);
    background: rgba(255, 255, 255, 0.55);
}
.footer-grid { display: grid; gap: 28px; margin-bottom: 28px; }
.site-footer h2 { font-size: 0.95rem; }
.site-footer p, .site-footer a { color: var(--muted); }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin: 0 0 8px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--blue-deep); }
.link-row { margin-bottom: 20px; }
.link-row h2 { font-size: 0.95rem; }
.link-list { display: flex; flex-wrap: wrap; gap: 10px 16px; }
.legal { color: var(--soft); font-size: 14px; border-top: 1px solid var(--line); padding-top: 16px; }

.pagination {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    list-style: none;
    margin: 24px 0 0;
    padding: 0;
}
.page-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    min-height: 44px;
    padding: 0 12px;
    border-radius: 14px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.8);
    color: var(--ink);
    text-decoration: none;
}
.page-item.active .page-link { background: var(--blue); color: #fff; border-color: var(--blue); }

@keyframes flow { to { stroke-dashoffset: -280; } }
@keyframes spin { to { transform: translate(-50%, -50%) rotateX(70deg) rotateZ(360deg); } }

@media (min-width: 720px) {
    .metric-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .card-grid, .news-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .step-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .post-nav, .related-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 960px) {
    .nav-toggle { display: none; }
    .nav-panel {
        display: flex;
        position: static;
        align-items: center;
        gap: 8px;
        margin-left: auto;
        padding: 0;
        background: transparent;
        border: 0;
        box-shadow: none;
    }
    .nav-list { display: flex; }
    .nav-cta { margin-left: 8px; }
    .hero-grid, .split, .life-panel { grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr); }
    .card-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .news-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .layout { grid-template-columns: minmax(0, 1fr) 280px; align-items: start; }
    .footer-grid { grid-template-columns: 1.4fr 0.8fr 0.8fr; }
}

@media (max-width: 719px) {
    .wrap { width: min(1120px, calc(100% - 32px)); }
    .guide-bar .btn, .list-actions .btn { flex: 1 1 140px; }
    .section { padding: 56px 0; }
    .stage { height: 340px; }
    .orb { width: 132px; height: 132px; margin: -66px 0 0 -66px; }
    .ring-a { width: 210px; height: 210px; }
    .ring-b { width: 250px; height: 150px; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
        animation: none !important;
        transition: none !important;
    }
}
