:root {
            --success-color: var(--brand);
        }

        html,
        body {
            margin: 0;
            padding: 0;
        }

        body {
            font-family: var(--font-body);
            background: var(--bg-primary, #ffffff);
            color: var(--ink, #0f172a);
            transition: background-color var(--dur-slow) var(--ease),
                        color var(--dur-slow) var(--ease);
        }

        /* 背景纹理层 */
        body::before {
            content: '';
            position: fixed;
            inset: 0;
            background: var(--bg-mesh);
            pointer-events: none;
            z-index: -1;
        }

        

        a {
            text-decoration: none;
        }

        

        .home-hero {
            width: 100%;
            padding: 24px 24px 96px;
            text-align: center;
            position: relative;
            overflow: hidden;
            background: radial-gradient(125% 85% at 50% 0%, #ffffff 0%, #f5f9ff 46%, #e9f1ff 100%);
        }

        /* 暗色模式 Hero 背景 */
        [data-theme="dark"] .home-hero,
        @media (prefers-color-scheme: dark) {
            :root:not([data-theme="light"]) .home-hero {
                background: radial-gradient(125% 85% at 50% 0%, var(--bg-primary) 0%, var(--bg-secondary) 46%, var(--bg-tertiary) 100%);
            }
        }

        /* 珠峰山影背景：垫在符号画布之下，形成"数据攀向峰顶"的前后景 */
        #hero-mountains {
            position: absolute;
            left: 0;
            bottom: 0;
            width: 100%;
            height: 64%;
            z-index: 0;
            pointer-events: none;
            display: block;
        }
        #hero-mountains .mtn-layer {
            will-change: transform;
        }

        #hero-canvas {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            pointer-events: none;
            z-index: 1;
            opacity: 1;
        }

        .home-hero-inner,
        .home-hero-visual {
            position: relative;
            z-index: 2;
            max-width: 760px;
            margin-left: auto;
            margin-right: auto;
        }

        /* ———— hero 酷炫升级 ———— */
        .home-hero { perspective: 1300px; }

        /* 首屏入场编排：badge→标题→副标题→按钮→卡片 依次浮现（backwards 填充，结束后释放 transform 供悬停倾斜） */
        @keyframes heroRise {
            from { opacity: 0; transform: translateY(22px); }
            to { opacity: 1; transform: translateY(0); }
        }
        .home-hero-badge,
        .home-hero-title,
        .home-hero-subtitle,
        .home-hero-actions,
        .home-hero-visual {
            animation: heroRise 0.72s cubic-bezier(.22,.61,.36,1) backwards;
        }
        .home-hero-badge { animation-delay: 0.05s; }
        .home-hero-title { animation-delay: 0.16s; }
        .home-hero-subtitle { animation-delay: 0.30s; }
        .home-hero-actions { animation-delay: 0.42s; }
        .home-hero-visual { animation-delay: 0.52s; }

        /* H1 关键词渐变流光 */
        .home-hero-title .grad-shine {
            background: linear-gradient(100deg, var(--brand) 15%, #6366f1 40%, #38bdf8 55%, var(--brand) 80%);
            background-size: 220% 100%;
            -webkit-background-clip: text;
            background-clip: text;
            color: transparent;
            -webkit-text-fill-color: transparent;
            animation: gradShine 5s linear infinite;
        }
        @keyframes gradShine { to { background-position: 220% 0; } }

        /* 玻璃拟态卡片（背景/边框/阴影覆盖原白色卡片，倾斜 transform 由 JS 控制故不含在 transition 内） */
        .home-hero-visual {
            background: rgba(255, 255, 255, 0.68);
            backdrop-filter: blur(14px) saturate(1.25);
            -webkit-backdrop-filter: blur(14px) saturate(1.25);
            border: 1px solid rgba(255, 255, 255, 0.7);
            box-shadow: 0 24px 60px rgba(15, 23, 42, 0.12), 0 0 0 1px rgba(37, 99, 235, 0.06), 0 0 44px rgba(37, 99, 235, 0.10);
            transform-style: preserve-3d;
            transition: box-shadow 0.3s ease;
        }
        .home-hero-visual:hover {
            box-shadow: 0 34px 84px rgba(15, 23, 42, 0.18), 0 0 64px rgba(37, 99, 235, 0.18);
        }

        /* 卡片内动态 sparkline（pathLength=1，dashoffset 1→0 自绘） */
        .sparkline path.line {
            stroke-dasharray: 1;
            stroke-dashoffset: 1;
            animation: sparkDraw 3.2s ease-in-out infinite;
        }
        @keyframes sparkDraw {
            0% { stroke-dashoffset: 1; opacity: 0.3; }
            55% { stroke-dashoffset: 0; opacity: 1; }
            100% { stroke-dashoffset: 0; opacity: 1; }
        }
        .sparkline .dot { animation: sparkPulse 1.6s ease-in-out infinite; transform-origin: center; transform-box: fill-box; }
        @keyframes sparkPulse { 0%,100% { transform: scale(1); opacity: 0.75; } 50% { transform: scale(1.6); opacity: 1; } }

        /* 降级 */
        @media (prefers-reduced-motion: reduce) {
            .home-hero-badge, .home-hero-title, .home-hero-subtitle, .home-hero-actions, .home-hero-visual { animation: none !important; }
            .home-hero-title .grad-shine { animation: none; }
            .sparkline path.line, .sparkline .dot { animation: none; }
        }

        .eyebrow {
            display: inline-block;
            font-size: 12px;
            font-weight: 600;
            letter-spacing: 0.08em;
            text-transform: uppercase;
            color: var(--brand);
            margin-bottom: 12px;
        }

        .home-section-head {
            text-align: center;
            margin-bottom: 28px;
        }

        .home-section-head h2 {
            font-size: 22px;
            font-weight: 700;
            color: #0f172a;
            margin: 0;
        }

        .home-hero-badge {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            padding: 6px 12px;
            border-radius: 999px;
            background: #f8fafc;
            border: 1px solid #e2e8f0;
            font-size: 12px;
            font-weight: 600;
            color: #64748b;
            margin-bottom: 28px;
        }

        .home-hero-badge .badge-dot {
            width: 8px;
            height: 8px;
            border-radius: 999px;
            background: var(--success-color);
        }

        .home-hero-title {
            font-size: clamp(36px, 5vw, 64px);
            font-weight: 800;
            line-height: 1.1;
            color: #0a192f;
            margin-bottom: 24px;
        }

        .home-hero-title span {
            color: var(--brand);
        }

        .home-hero-subtitle {
            font-size: 18px;
            color: #64748b;
            max-width: 640px;
            margin: 0 auto 36px;
            line-height: 1.7;
        }

        .home-hero-actions {
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            justify-content: center;
            gap: 16px;
        }

        .hero-button {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            min-height: 44px;
            padding: 12px 26px;
            border-radius: 999px;
            font-size: 15px;
            font-weight: 600;
            transition: all 0.2s ease;
            cursor: pointer;
        }

        .hero-primary {
            background: var(--brand);
            border: 1px solid var(--brand);
            color: #ffffff;
            box-shadow: var(--shadow-brand);
        }

        .hero-primary:hover {
            background: var(--brand-700);
            border-color: var(--brand-700);
        }

        .hero-secondary {
            background: #ffffff;
            border: 1px solid #e2e8f0;
            color: #64748b;
        }

        .hero-secondary:hover {
            border-color: #cbd5e1;
            color: #475569;
        }

        .home-hero-visual {
            margin-top: 48px;
            border-radius: 16px;
            overflow: hidden;
            border: 1px solid #e2e8f0;
            background: #ffffff;
            box-shadow: 0 24px 60px rgba(15, 23, 42, 0.12);
        }

        .visual-header {
            display: flex;
            align-items: center;
            gap: 8px;
            padding: 12px 16px;
            background: #f8fafc;
            border-bottom: 1px solid #f1f5f9;
        }

        .visual-header span {
            width: 10px;
            height: 10px;
            border-radius: 999px;
            background: #cbd5f5;
        }

        .visual-body {
            display: grid;
            grid-template-columns: 220px 1fr;
            gap: 24px;
            padding: 24px;
        }

        .visual-sidebar {
            border-right: 1px solid #f1f5f9;
            padding-right: 16px;
            display: flex;
            flex-direction: column;
            gap: 12px;
        }

        .visual-sidebar .sidebar-line {
            height: 10px;
            width: 100%;
            background: #f1f5f9;
            border-radius: 999px;
        }

        .visual-sidebar .sidebar-line.short {
            width: 60%;
        }

        .visual-sidebar .sidebar-pill {
            height: 24px;
            border-radius: 8px;
            background: #f8fafc;
        }

        .visual-sidebar .sidebar-pill.active {
            background: rgba(37, 99, 235, 0.1);
            border: 1px solid rgba(37, 99, 235, 0.2);
        }

        .visual-sidebar .sidebar-list {
            display: flex;
            flex-direction: column;
            gap: 8px;
        }

        .visual-sidebar .sidebar-list span {
            height: 6px;
            border-radius: 999px;
            background: #f1f5f9;
        }

        .visual-main {
            display: flex;
            flex-direction: column;
            gap: 16px;
        }

        .visual-toolbar {
            display: flex;
            align-items: center;
            justify-content: space-between;
        }

        .visual-toolbar .toolbar-title {
            height: 14px;
            width: 200px;
            border-radius: 999px;
            background: #f1f5f9;
        }

        .visual-toolbar .toolbar-action {
            height: 28px;
            width: 96px;
            border-radius: 8px;
            background: rgba(10, 25, 47, 0.08);
        }

        .visual-chart {
            border: 1px solid #f1f5f9;
            border-radius: 12px;
            padding: 20px;
        }

        .chart-header {
            display: flex;
            justify-content: space-between;
            font-size: 12px;
            font-weight: 600;
            color: #64748b;
            margin-bottom: 16px;
        }

        .chart-rows {
            display: flex;
            flex-direction: column;
            gap: 14px;
        }

        .chart-row {
            display: grid;
            grid-template-columns: 140px 1fr 60px;
            gap: 12px;
            align-items: center;
            font-size: 12px;
            color: #64748b;
        }

        .chart-track {
            position: relative;
            height: 12px;
            display: flex;
            align-items: center;
        }

        .chart-midline {
            position: absolute;
            left: 50%;
            width: 1px;
            height: 100%;
            background: #e2e8f0;
        }

        .chart-bar {
            height: 6px;
            border-radius: 999px;
            background: #0a192f;
            width: 35%;
            margin-left: 45%;
            position: relative;
        }

        .chart-bar::after {
            content: '';
            position: absolute;
            right: 6px;
            top: 50%;
            width: 8px;
            height: 8px;
            border-radius: 999px;
            background: #0a192f;
            transform: translateY(-50%);
        }

        .chart-bar.wide {
            width: 45%;
            margin-left: 40%;
        }

        .chart-bar.narrow {
            width: 25%;
            margin-left: 50%;
        }

        .home-feature-grid {
            background: var(--bg-secondary, #f8fafc);
            padding: 80px 24px;
            transition: background-color var(--dur-slow) var(--ease);
        }

        /* Bento Grid 布局（不规则网格） */
        .feature-grid-inner {
            max-width: 1200px;
            margin: 0 auto;
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            grid-template-rows: auto auto;
            gap: 24px;
        }

        /* Bento Grid：第一张卡片跨 2 列（grid 第 2 个子元素，第 1 个是 section-head） */
        .feature-grid-inner > .feature-card:nth-child(2) {
            grid-column: span 2;
            grid-row: span 2;
            display: flex;
            flex-direction: column;
            justify-content: center;
        }

        /* Bento Grid：最后一张卡片跨 2 列 */
        .feature-grid-inner .feature-card:last-child {
            grid-column: span 2;
        }

        .home-feature-grid .feature-card {
            background: var(--bg-card, #ffffff);
            border: 1px solid var(--line);
            border-radius: var(--radius-lg);
            padding: 28px;
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            position: relative;
            overflow: hidden;
        }

        .home-feature-grid .feature-card--hero {
            background: linear-gradient(135deg, #eff6ff 0%, #ffffff 100%);
            border-color: #bfdbfe;
        }

        .home-feature-grid .feature-card::before {
            content: '';
            position: absolute;
            inset: 0;
            background: linear-gradient(135deg, transparent 40%, rgba(37, 99, 235, 0.03));
            opacity: 0;
            transition: opacity var(--dur) var(--ease);
        }

        .home-feature-grid .feature-card:hover {
            border-color: rgba(37, 99, 235, 0.35);
            transform: translateY(-6px);
            box-shadow: var(--shadow-float);
        }

        .home-feature-grid .feature-card:hover::before {
            opacity: 1;
        }

        .feature-card .feature-icon {
            width: 48px;
            height: 48px;
            border-radius: 12px;
            background: #f8fafc;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 20px;
            color: var(--brand);
        }

        .feature-card .feature-icon.accent {
            color: var(--success-color);
        }

        .feature-card .feature-icon.dark {
            color: #0a192f;
        }

        .feature-card h3 {
            font-size: 20px;
            font-weight: 700;
            margin-bottom: 10px;
            color: #0a192f;
        }

        .feature-card p {
            color: #64748b;
            line-height: 1.7;
        }

        .home-rigor {
            padding: 88px 24px;
            background: var(--bg-primary, #ffffff);
            border-top: 1px solid var(--line);
            border-bottom: 1px solid var(--line);
            transition: background-color var(--dur-slow) var(--ease),
                        border-color var(--dur-slow) var(--ease);
        }

        .rigor-content {
            max-width: 1200px;
            margin: 0 auto;
            display: grid;
            grid-template-columns: repeat(2, minmax(0, 1fr));
            gap: 48px;
            align-items: center;
        }

        .rigor-badge {
            width: 56px;
            height: 56px;
            border-radius: 18px;
            background: rgba(10, 25, 47, 0.06);
            display: inline-flex;
            align-items: center;
            justify-content: center;
            color: #0a192f;
            margin-bottom: 20px;
        }

        .rigor-text h2 {
            font-size: 28px;
            font-weight: 700;
            margin-bottom: 16px;
            color: #0a192f;
        }

        .rigor-text p {
            color: #64748b;
            line-height: 1.8;
            margin-bottom: 20px;
        }

        .rigor-text ul {
            list-style: none;
            padding: 0;
            margin: 0;
            display: grid;
            gap: 12px;
        }

        .rigor-text li {
            display: flex;
            align-items: center;
            gap: 10px;
            color: #334155;
            font-weight: 500;
        }

        .rigor-text li svg {
            color: var(--success-color);
            flex-shrink: 0;
        }

        .rigor-code {
            background: #1e1e1e;
            border-radius: 16px;
            padding: 20px;
            color: #cbd5f5;
            font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
            box-shadow: 0 24px 60px rgba(15, 23, 42, 0.2);
        }

        .code-header {
            display: flex;
            gap: 8px;
            padding-bottom: 16px;
            border-bottom: 1px solid rgba(255, 255, 255, 0.1);
            margin-bottom: 16px;
        }

        .code-header span {
            width: 10px;
            height: 10px;
            border-radius: 999px;
            background: #ef4444;
        }

        .code-header span:nth-child(2) {
            background: #f59e0b;
        }

        .code-header span:nth-child(3) {
            background: var(--brand);
        }

        .code-body p {
            margin: 0 0 10px;
            font-size: 13px;
            line-height: 1.6;
        }

        .code-muted {
            color: #64748b;
        }

        .code-keyword {
            color: #c084fc;
        }

        .code-operator {
            color: #60a5fa;
        }

        .code-fn {
            color: #fcd34d;
        }

        .code-success {
            margin-top: 16px;
            padding-left: 12px;
            border-left: 2px solid #22c55e;
            color: #4ade80;
        }

        .home-gallery {
            padding: 80px 0 96px;
            background: var(--bg-secondary, #f8fafc);
            transition: background-color var(--dur-slow) var(--ease);
        }

        .gallery-inner {
            max-width: 1200px;
            margin: 0 auto;
        }

        .gallery-title {
            text-align: center;
            margin-bottom: 40px;
            padding: 0 24px;
        }

        .gallery-title h2 {
            font-size: 28px;
            font-weight: 700;
            margin-bottom: 12px;
            color: #0a192f;
        }

        .gallery-title p {
            color: #64748b;
        }

        .gallery-track {
            display: flex;
            gap: 24px;
            overflow-x: auto;
            cursor: grab;
            scroll-behavior: auto;
            -webkit-overflow-scrolling: touch;
            scrollbar-width: none;
            justify-content: center;
        }
        .gallery-track::-webkit-scrollbar { display: none; }
        .gallery-track.dragging { cursor: grabbing; user-select: none; }
        .gallery-track.overflow { justify-content: flex-start; }

        .gallery-carousel {
            position: relative;
            padding: 0 52px;
        }

        .gallery-nav {
            position: absolute;
            z-index: 10;
            top: 50%;
            display: flex;
            width: 44px;
            height: 44px;
            align-items: center;
            justify-content: center;
            transform: translateY(-50%);
            border: 1px solid #cbd5e1;
            border-radius: 50%;
            background: #ffffff;
            box-shadow: 0 4px 14px rgba(15, 23, 42, .12);
            color: var(--brand);
            cursor: pointer;
            transition: all .2s cubic-bezier(.4, 0, .2, 1);
        }
        .gallery-nav:hover {
            transform: translateY(-50%) scale(1.1);
            background: var(--brand);
            color: #ffffff;
            border-color: var(--brand);
            box-shadow: 0 8px 24px rgba(37, 99, 235, .35);
        }
        .gallery-nav svg {
            width: 22px;
            height: 22px;
            stroke-width: 2.5;
            transition: stroke .2s ease;
        }
        .gallery-nav--prev { left: 4px; }
        .gallery-nav--next { right: 4px; }

        .gallery-dots {
            display: flex;
            justify-content: center;
            gap: 8px;
            margin-top: 22px;
        }
        .gallery-dot {
            width: 7px;
            height: 7px;
            padding: 0;
            border: 0;
            border-radius: 999px;
            background: #cbd5e1;
            cursor: pointer;
            transition: width .2s ease, background .2s ease;
        }
        .gallery-dot.is-active { width: 22px; background: var(--brand); }

        /* Lightbox */
        .lightbox-overlay {
            display: none;
            position: fixed;
            top: 0; left: 0; width: 100%; height: 100%;
            background: rgba(0,0,0,0.85);
            z-index: 9999;
            justify-content: center;
            align-items: center;
            cursor: pointer;
            backdrop-filter: blur(4px);
        }
        .lightbox-overlay.active { display: flex; }
        .lightbox-overlay img {
            max-width: 90vw;
            max-height: 90vh;
            border-radius: 8px;
            box-shadow: 0 20px 60px rgba(0,0,0,0.5);
            cursor: default;
            object-fit: contain;
        }
        .lightbox-close {
            position: fixed;
            top: 20px;
            right: 28px;
            width: 44px;
            height: 44px;
            border-radius: 50%;
            background: rgba(255,255,255,0.15);
            border: none;
            color: #fff;
            font-size: 26px;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: background 0.2s;
            z-index: 10000;
        }
        .lightbox-close:hover { background: rgba(255,255,255,0.3); }

        .gallery-card {
            flex: 0 0 calc((100% - 48px) / 3);
            min-width: 0;
            height: 240px;
            scroll-snap-align: start;
            background: var(--bg-card, #ffffff);
            border: 1px solid var(--line);
            border-radius: var(--radius-lg);
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            gap: 12px;
            position: relative;
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            overflow: hidden;
        }

        .gallery-card:hover {
            box-shadow: var(--shadow-float);
            transform: scale(1.02) translateY(-4px);
        }

        .gallery-card img {
            transition: transform 0.3s ease;
        }

        .gallery-card:hover img {
            transform: scale(1.05);
        }

        .gallery-icon {
            font-size: 36px;
            color: rgba(10, 25, 47, 0.25);
        }

        .gallery-meta p {
            margin: 0;
            font-weight: 600;
            color: #0f172a;
        }

        .gallery-meta span {
            font-size: 12px;
            color: #64748b;
        }

        @media (max-width: 900px) {
            .gallery-card { flex-basis: calc((100% - 24px) / 2); }
        }
        @media (max-width: 640px) {
            .gallery-carousel { padding: 0 42px; }
            .gallery-card { flex-basis: 100%; }
            .gallery-nav { width: 32px; height: 32px; }
        }

        .home-citation {
            padding: 56px 24px 40px;
            background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
        }

        .citation-card {
            max-width: 1120px;
            margin: 0 auto;
            background: linear-gradient(135deg, #081a35 0%, #0a2348 55%, #0d2b57 100%);
            border-radius: 24px;
            color: #ffffff;
            position: relative;
            overflow: hidden;
            padding: 32px 36px;
            border: 1px solid rgba(255, 255, 255, 0.08);
            box-shadow: 0 24px 60px rgba(15, 23, 42, 0.18);
        }

        .citation-glow {
            position: absolute;
            top: -120px;
            right: -120px;
            width: 260px;
            height: 260px;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.08);
            filter: blur(40px);
        }

        .citation-content {
            position: relative;
            z-index: 1;
            display: flex;
            flex-direction: column;
            gap: 20px;
        }

        .citation-icon {
            font-size: 32px;
            color: var(--success-color);
            flex-shrink: 0;
        }

        .citation-head {
            display: flex;
            align-items: flex-start;
            gap: 16px;
        }

        .citation-head h2 {
            margin: 0;
            font-size: 26px;
            font-weight: 700;
        }

        .citation-subtitle {
            margin: 8px 0 0;
            color: rgba(226, 232, 240, 0.82);
            font-size: 14px;
            line-height: 1.7;
        }

        .citation-highlight {
            background: rgba(7, 18, 38, 0.46);
            border: 1px solid rgba(255, 255, 255, 0.1);
            border-radius: 18px;
            padding: 18px 20px;
        }

        .citation-highlight-meta {
            display: flex;
            align-items: center;
            gap: 10px;
            margin-bottom: 10px;
        }

        .citation-highlight-tag {
            display: inline-flex;
            align-items: center;
            height: 24px;
            padding: 0 10px;
            border-radius: 999px;
            background: rgba(16, 185, 129, 0.16);
            color: #7dd3fc;
            font-size: 12px;
            font-weight: 700;
        }

        .citation-highlight-label {
            color: #ffffff;
            font-size: 13px;
            font-weight: 600;
        }

        .citation-text {
            font-size: 14px;
            color: rgba(226, 232, 240, 0.8);
            text-align: left;
            margin: 0;
            line-height: 1.8;
            word-break: break-word;
        }

        .citation-actions {
            display: flex;
            justify-content: flex-start;
            margin-top: 14px;
        }

        .citation-button {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            border-radius: 999px;
            background: #ffffff;
            color: #0a192f;
            border: 1px solid transparent;
            font-weight: 600;
            padding: 10px 16px;
            cursor: pointer;
        }

        .citation-format-grid {
            display: grid;
            grid-template-columns: repeat(2, minmax(0, 1fr));
            gap: 14px;
        }

        .citation-format-card {
            background: rgba(255, 255, 255, 0.06);
            border: 1px solid rgba(255, 255, 255, 0.08);
            border-radius: 16px;
            padding: 16px;
            backdrop-filter: blur(8px);
        }

        .citation-format-top {
            display: flex;
            align-items: flex-start;
            justify-content: space-between;
            gap: 12px;
            margin-bottom: 10px;
        }

        .citation-format-name {
            color: #ffffff;
            font-size: 15px;
            font-weight: 700;
        }

        .citation-format-use {
            margin-top: 4px;
            color: rgba(226, 232, 240, 0.7);
            font-size: 12px;
        }

        .citation-format-text {
            color: rgba(241, 245, 249, 0.92);
            font-size: 13px;
            line-height: 1.75;
            white-space: pre-wrap;
            word-break: break-word;
        }

        .citation-copy-link {
            color: #c7d2fe;
            background: transparent;
            border: 0;
            padding: 0;
            cursor: pointer;
            font-size: 13px;
            font-weight: 600;
        }

        .hide-sm {
            display: inline;
        }

        @keyframes fade-in {
            from {
                opacity: 0;
                transform: translateY(10px);
            }

            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .animate-fade-in {
            animation: fade-in 0.8s ease-out forwards;
        }

        @media (max-width: 1024px) {
            .visual-body {
                grid-template-columns: 1fr;
            }

            .visual-sidebar {
                display: none;
            }

            /* Bento Grid 降级为 2 列 */
            .feature-grid-inner {
                grid-template-columns: repeat(2, 1fr);
            }

            .feature-grid-inner > .feature-card:nth-child(2),
            .feature-grid-inner .feature-card:last-child {
                grid-column: span 1;
                grid-row: span 1;
            }

            .rigor-content {
                grid-template-columns: 1fr;
            }
        }

        @media (max-width: 768px) {
            .citation-card {
                padding: 24px 20px;
            }

            .citation-head {
                flex-direction: column;
            }

            .citation-format-grid {
                grid-template-columns: 1fr;
            }

            .home-hero {
                padding: 20px 20px 80px;
                text-align: left;
            }

            .home-hero-actions {
                justify-content: flex-start;
            }

            .feature-grid-inner {
                grid-template-columns: 1fr;
            }

            .hide-sm {
                display: none;
            }
        }
        .contact-rail {
            position: fixed;
            z-index: 60;
            top: 50%;
            right: 24px;
            width: 86px;
            overflow: visible;
            transform: translateY(-50%);
            border-radius: var(--radius);
            padding-top: 8px;
            background: var(--bg-card, #fff);
            box-shadow: var(--shadow-float);
            transition: background-color var(--dur-slow) var(--ease),
                        box-shadow var(--dur-slow) var(--ease);
        }
        .contact-rail__item {
            position: relative;
            display: flex;
            min-height: 64px;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            gap: 4px;
            color: #475569;
            font-size: 10px;
            font-weight: 600;
            text-decoration: none;
        }
        .contact-rail__item + .contact-rail__item { border-top: 1px solid #edf0f4; }
        .contact-rail__item svg { width: 23px; height: 23px; color: var(--brand); stroke-width: 1.8; }
        .contact-rail__item--phone:hover { background: #f4f9ff; color: #1263f3; }
        .contact-rail__qr {
            position: absolute;
            top: 50%;
            right: calc(100% + 12px);
            display: flex;
            width: 174px;
            transform: translateY(-50%) translateX(8px);
            visibility: hidden;
            opacity: 0;
            flex-direction: column;
            align-items: center;
            gap: 8px;
            border: 1px solid #e6ebf1;
            border-radius: 12px;
            padding: 12px;
            background: #fff;
            box-shadow: 0 12px 32px rgba(22, 37, 61, .18);
            color: #384152;
            font-size: 13px;
            transition: .18s ease;
            pointer-events: none;
        }
        .contact-rail__qr img { display: block; width: 150px; height: 150px; object-fit: contain; }
        .contact-rail__item:hover .contact-rail__qr { transform: translateY(-50%); visibility: visible; opacity: 1; }
        .contact-rail__phone { display: block; max-height: 0; overflow: hidden; padding: 0 2px; border-top: 0 solid #edf0f4; color: #2878d8; font-size: 12px; font-weight: 800; letter-spacing: -.35px; line-height: 1; text-align: center; text-decoration: none; white-space: nowrap; opacity: 0; transition: max-height .18s ease, padding .18s ease, opacity .15s ease; }
        .contact-rail:hover .contact-rail__phone { max-height: 28px; padding: 7px 2px 9px; border-top-width: 1px; opacity: 1; }
        @media (max-width: 768px) {
            .contact-rail { right: 10px; transform: translateY(-50%) scale(.82); transform-origin: right center; }
        }

        /* ============================================================
         * Index 页面暗色模式专项适配
         * ============================================================ */
        [data-theme="dark"] .home-section-head h2,
        [data-theme="dark"] .feature-card h3,
        [data-theme="dark"] .rigor-text h2,
        [data-theme="dark"] .gallery-title h2,
        [data-theme="dark"] .gallery-meta p {
            color: var(--text-primary, #f1f5f9) !important;
        }

        [data-theme="dark"] .rigor-text li {
            color: var(--text-secondary, #cbd5e1) !important;
        }

        [data-theme="dark"] .home-hero-visual {
            background: rgba(30, 41, 59, 0.78) !important;
            border-color: var(--line, #334155) !important;
        }

        [data-theme="dark"] .visual-header {
            background: var(--bg-tertiary, #334155) !important;
            border-color: var(--line, #334155) !important;
        }

        [data-theme="dark"] .visual-sidebar {
            border-color: var(--line, #334155) !important;
        }

        [data-theme="dark"] .visual-sidebar .sidebar-line,
        [data-theme="dark"] .visual-sidebar .sidebar-pill,
        [data-theme="dark"] .visual-sidebar .sidebar-list span,
        [data-theme="dark"] .visual-toolbar .toolbar-title,
        [data-theme="dark"] .visual-toolbar .toolbar-action {
            background: rgba(255, 255, 255, 0.08) !important;
        }

        [data-theme="dark"] .visual-chart {
            border-color: var(--line, #334155) !important;
        }

        /* Feature Grid 暗色模式适配 */
        [data-theme="dark"] .home-feature-grid {
            background: var(--bg-secondary, #1e293b) !important;
        }
        [data-theme="dark"] .home-feature-grid .feature-card {
            background: var(--bg-card, #1e293b) !important;
            border-color: var(--line, #334155) !important;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3) !important;
        }
        [data-theme="dark"] .home-feature-grid .feature-card--hero {
            background: linear-gradient(135deg, rgba(37, 99, 235, 0.18) 0%, #1e293b 100%) !important;
            border-color: rgba(96, 165, 250, 0.35) !important;
        }
        [data-theme="dark"] .home-feature-grid .feature-card:hover {
            border-color: rgba(96, 165, 250, 0.5) !important;
            box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5), 0 0 15px rgba(37, 99, 235, 0.2) !important;
        }
        [data-theme="dark"] .feature-card .feature-icon {
            background: rgba(37, 99, 235, 0.16) !important;
            color: var(--brand, #60a5fa) !important;
        }
        [data-theme="dark"] .feature-card .feature-icon.dark {
            background: rgba(255, 255, 255, 0.08) !important;
            color: var(--text-primary, #f1f5f9) !important;
        }
        [data-theme="dark"] .feature-card h3 {
            color: var(--text-primary, #f1f5f9) !important;
        }
        [data-theme="dark"] .feature-card p {
            color: var(--text-secondary, #cbd5e1) !important;
        }

        /* Rigor 暗色模式适配 */
        [data-theme="dark"] .home-rigor {
            background: var(--bg-primary, #0f172a) !important;
            border-color: var(--line, #334155) !important;
        }
        [data-theme="dark"] .rigor-badge {
            background: rgba(255, 255, 255, 0.08) !important;
            color: var(--brand, #60a5fa) !important;
        }
        [data-theme="dark"] .rigor-text p {
            color: var(--text-secondary, #cbd5e1) !important;
        }

        /* Gallery 暗色模式适配 */
        [data-theme="dark"] .home-gallery {
            background: #0b1120 !important;
        }

        [data-theme="dark"] .gallery-nav {
            background: rgba(30, 41, 59, 0.92) !important;
            border-color: rgba(96, 165, 250, 0.4) !important;
            color: #60a5fa !important;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5), 0 0 12px rgba(96, 165, 250, 0.2) !important;
        }
        [data-theme="dark"] .gallery-nav:hover {
            background: var(--brand, #3b82f6) !important;
            border-color: var(--brand, #3b82f6) !important;
            color: #ffffff !important;
            box-shadow: 0 0 24px rgba(96, 165, 250, 0.6), 0 8px 28px rgba(0, 0, 0, 0.6) !important;
        }

        [data-theme="dark"] .gallery-dot {
            background: #334155 !important;
        }
        [data-theme="dark"] .gallery-dot.is-active {
            background: var(--brand, #60a5fa) !important;
            box-shadow: 0 0 8px rgba(96, 165, 250, 0.5) !important;
        }

        [data-theme="dark"] .hero-secondary {
            background: var(--bg-card, #1e293b) !important;
            border-color: var(--line, #334155) !important;
            color: var(--text-secondary, #cbd5e1) !important;
        }
        [data-theme="dark"] .hero-secondary:hover {
            border-color: var(--brand, #60a5fa) !important;
            color: var(--text-primary, #f1f5f9) !important;
        }

        /* Citation 暗色模式适配 */
        [data-theme="dark"] .home-citation {
            background: var(--bg-primary, #0f172a) !important;
        }
        [data-theme="dark"] .citation-card {
            background: linear-gradient(135deg, #071326 0%, #0b1e38 55%, #0f274a 100%) !important;
            border-color: rgba(96, 165, 250, 0.25) !important;
            box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6) !important;
        }
        [data-theme="dark"] .citation-highlight {
            background: rgba(15, 23, 42, 0.75) !important;
            border-color: rgba(96, 165, 250, 0.2) !important;
        }
        [data-theme="dark"] .citation-button {
            background: var(--bg-secondary, #1e293b) !important;
            color: var(--text-primary, #f1f5f9) !important;
            border: 1px solid var(--line, #334155) !important;
        }
        [data-theme="dark"] .citation-button:hover {
            background: var(--brand-700, #3b82f6) !important;
            color: #ffffff !important;
            border-color: var(--brand-700, #3b82f6) !important;
        }
