:root {
    --bg-color: #050507;
    --text-primary: #ffffff;
    --text-secondary: #a1a1aa;
    --accent: #2563eb;
    --accent-glow: #3b82f6;
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --glass-blur: 20px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

/* 全局禁止图片拖动，提升 App 质感 */
img {
    -webkit-user-drag: none;
    -khtml-user-drag: none;
    -moz-user-drag: none;
    -o-user-drag: none;
    user-drag: none;
    user-select: none;
    -webkit-user-select: none;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
}

/* 动态背景 */
.ambient-light {
    position: fixed;
    top: -20%;
    left: -10%;
    width: 50vw;
    height: 50vw;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.15) 0%, rgba(0, 0, 0, 0) 70%);
    filter: blur(80px);
    z-index: -1;
    animation: float 10s infinite ease-in-out;
}

.light-2 {
    top: auto;
    bottom: -20%;
    left: auto;
    right: -10%;
    background: radial-gradient(circle, rgba(147, 51, 234, 0.15) 0%, rgba(0, 0, 0, 0) 70%);
    animation: float 15s infinite ease-in-out reverse;
}

@keyframes float {

    0%,
    100% {
        transform: translate(0, 0);
    }

    50% {
        transform: translate(30px, 50px);
    }
}

/* 通用样式 */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

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

/* 玻璃拟态类 */
.glass {
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--glass-border);
}

/* 导航栏 */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    border-bottom: 1px solid var(--glass-border);
}

.nav-content {
    max-width: 1200px;
    margin: 0 auto;
    height: 70px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 1.2rem;
}

.logo img {
    height: 32px;
}

.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-links a {
    color: var(--text-secondary);
    transition: color 0.3s;
    font-size: 0.95rem;
}

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

.github-btn {
    background: rgba(255, 255, 255, 0.1);
    padding: 8px 16px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: background 0.3s !important;
}

.github-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* 语言切换按钮 */
.lang-btn {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--text-secondary);
    padding: 6px 14px;
    border-radius: 16px;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
}

.lang-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
    color: var(--text-primary);
}

/* Hero 区域 */
.hero-section {
    padding-top: 160px;
    padding-bottom: 80px;
    text-align: center;
}

.badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(59, 130, 246, 0.1);
    color: #60a5fa;
    border-radius: 20px;
    border: 1px solid rgba(59, 130, 246, 0.2);
    font-size: 0.9rem;
    margin-bottom: 24px;
}

h1 {
    font-size: 4rem;
    line-height: 1.1;
    font-weight: 800;
    margin-bottom: 24px;
    background: linear-gradient(to right, #fff, #94a3b8);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 40px;
}

.cta-group {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 80px;
}

.btn {
    padding: 14px 32px;
    border-radius: 30px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary {
    background: var(--accent);
    color: white;
    box-shadow: 0 10px 20px -10px var(--accent-glow);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* 窗口截图外框 */
.hero-image {
    max-width: 1000px;
    margin: 0 auto;
    perspective: 1000px;
}

/* 窗口截图外框 */
.hero-image {
    max-width: 1000px;
    margin: 0 auto;
    /* 增加 perspective 视距，让 3D 效果更明显 */
    perspective: 1500px;
    /* 初始状态稍微缩小一点，配合后面的放大效果 */
    transform: scale(0.95);
    /* 保持淡入动画 */
    opacity: 0;
    animation: fadeInUp 1s forwards ease-out 0.2s;
}

.window-frame {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);

    /* 关键修改 1：删除原来的 transform: rotateX(...) */
    /* 关键修改 2：删除 transition，因为我们要用 JS 实时控制，加 transition 会导致卡顿延迟 */
    /* transition: transform 0.5s ease;  <-- 删除这一行 */

    /* 初始状态由 JS 接管，但我们可以给个默认值防止 JS 加载失败 */
    transform: rotateX(15deg);

    will-change: transform;
    /* 告诉浏览器我们要频繁变换它，开启硬件加速 */
}

.window-header {
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    padding-left: 16px;
    gap: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.red {
    background: #ff5f56;
}

.yellow {
    background: #ffbd2e;
}

.green {
    background: #27c93f;
}

.window-frame img {
    width: 100%;
    display: block;
}

/* Bento Grid */
.features-section {
    padding: 100px 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 60px;
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 300px);
    gap: 24px;
}

.bento-card {
    border-radius: 24px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    /* 内容底部对齐 */
    position: relative;
    overflow: hidden;
    transition: transform 0.3s;
}

.bento-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.2);
}

.bento-card h3 {
    margin: 10px 0;
    font-size: 1.25rem;
}

.bento-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.icon {
    font-size: 2rem;
    margin-bottom: auto;
    color: var(--accent);
}

.large {
    grid-row: span 2;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.05));
    justify-content: flex-start;
}

.card-image-bg {
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 80%;
    transform: rotate(-10deg);
    opacity: 0.6;
    transition: transform 0.3s;
}

.bento-card:hover .card-image-bg {
    transform: rotate(0deg) scale(1.05);
}

.card-image-bg img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.wide {
    grid-column: span 2;
}

.split-content {
    display: flex;
    align-items: center;
    height: 100%;
    gap: 20px;
}

.split-content .text {
    flex: 1;
}

.split-content .visual {
    flex: 1;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.split-content img {
    max-width: 100%;
    max-height: 200px;
    border-radius: 12px;
}

/* 演示画廊 */
.showcase-section {
    padding: 80px 0;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.gallery-item {
    border-radius: 16px;
    overflow: hidden;
}

.video-wrapper {
    width: 100%;
    aspect-ratio: 16/10;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.video-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.gallery-item:hover .video-wrapper img {
    transform: scale(1.05);
}

.gallery-item .caption {
    padding: 20px;
}

.gallery-item h4 {
    margin-bottom: 5px;
}

/* 安装代码块 */
.install-section {
    padding: 80px 0;
    text-align: center;
}

.install-box {
    max-width: 700px;
    margin: 0 auto;
    padding: 40px;
    border-radius: 24px;
}

.code-block {
    text-align: left;
    background: rgba(0, 0, 0, 0.5);
    padding: 20px;
    border-radius: 12px;
    margin: 30px 0;
    font-family: 'Courier New', monospace;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.1);
    overflow-x: auto;
}

.code-block code {
    color: #e2e8f0;
    font-size: 0.9rem;
}

.comment {
    color: #64748b;
}

.copy-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background: transparent;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    font-size: 1.2rem;
}

.copy-btn:hover {
    color: white;
}

.link-item {
    color: var(--accent);
    font-weight: 600;
}

/* 页脚 */
footer {
    padding: 60px 0 30px;
    text-align: center;
    border-top: 1px solid var(--glass-border);
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.socials {
    margin-top: 20px;
    font-size: 1.5rem;
}

.disclaimer {
    font-size: 0.8rem;
    margin-top: 10px;
    opacity: 0.6;
}

/* 动画工具类 */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s forwards ease-out;
}

.delay-200 {
    animation-delay: 0.2s;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* 移动端适配 */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    h1 {
        font-size: 2.5rem;
    }

    .bento-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }

    .large,
    .wide {
        grid-column: auto;
        grid-row: auto;
    }

    .wide .split-content {
        flex-direction: column;
    }

    .card-image-bg {
        display: none;
    }
}

/* =========================================
   新增：多端展示区 (Platform Section)
   ========================================= */
.platform-section {
    padding: 100px 0 150px;
    /* 底部留多点空间给重叠效果 */
    position: relative;
    overflow: visible;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.devices-showcase {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    height: 500px;
    /* 给绝对定位留高度 */
    perspective: 1200px;
    /* 增加透视距离，让 3D 效果更明显 */
    perspective-origin: 50% 40%;
    /* 视角原点略微上移 */
    transform-style: preserve-3d;
}

/* =========================================
   设备展示区重构 (Wrapper Pattern)
   ========================================= */

/* 通用 Wrapper: 负责定位、层级和动画 */
.device-wrapper {
    position: absolute;
    /* 默认不裁剪，允许标签悬浮 */
    overflow: visible;
    /* 3D 变换支持 */
    transform-style: preserve-3d;
    /* 硬件加速 */
    will-change: transform, opacity, filter;
    /* 初始状态：透明 (由 JS 控制) */
    opacity: 0;
    /* 🔥 关键：禁用所有 CSS animation，完全由 JS 控制 */
    animation: none !important;
}

/* 通用 Label: 悬浮在 Wrapper 上方 (Inside Top-Center) */
.device-label {
    position: absolute;
    top: 20px;
    /* 移入设备内部上方 */
    left: 50%;
    transform: translateX(-50%);
    padding: 6px 14px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    font-size: 11px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.95);
    z-index: 30;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
}

/* 通用 Content: 负责裁剪、边框和背景 */
.device-content {
    position: relative;
    width: 100%;
    height: 100%;
    /* 填满 Wrapper */
    overflow: hidden;
    /* 关键：裁剪内部图片 */
    background: #111;
    /* 继承原有的视觉风格 */
}

/* 禁止所有设备内的图片被拖动 */
.device-content img {
    -webkit-user-drag: none;
    -khtml-user-drag: none;
    -moz-user-drag: none;
    -o-user-drag: none;
    user-drag: none;
    user-select: none;
    -webkit-user-select: none;
    pointer-events: none;
    /* 彻底禁止鼠标交互，防止拖拽 */
}

/* ----------------------------------
   1. Desktop (电脑)
   ---------------------------------- */
.device-wrapper.desktop {
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 82.5%;
    /* +10% from 75% */
    z-index: 1;
}

.device-content.desktop-content {
    border-radius: 16px;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: #1e1e1e;
}

.browser-bar {
    height: 36px;
    background: rgba(40, 40, 40, 0.95);
    /* 更实一点的背景，防止透底 */
    display: flex;
    align-items: center;
    padding: 0 16px;
    gap: 16px;
    position: relative;
    z-index: 10;
    /* Ensure bar is above content */
}

/* ... browser bar children ... */
.browser-bar .dots {
    display: flex;
    gap: 8px;
    position: absolute;
    left: 20px;
    /* Explicit left position */
    top: 50%;
    transform: translateY(-50%);
    z-index: 20;
    /* High z-index */
    pointer-events: none;
}

.browser-bar .dots .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.browser-bar .dots .dot.red {
    background: #ff5f56;
    border: 1px solid #e0443e;
}

.browser-bar .dots .dot.yellow {
    background: #ffbd2e;
    border: 1px solid #dea123;
}

.browser-bar .dots .dot.green {
    background: #27c93f;
    border: 1px solid #1aab29;
}

.browser-bar .url-bar {
    flex: 1;
    height: 24px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 6px;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    margin-left: 80px;
    /* Space for dots */
    margin-right: 80px;
    /* Balance */
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.2);
}

.device-content.desktop-content img {
    width: 100%;
    display: block;
}

/* ----------------------------------
   2. Tablet (平板)
   ---------------------------------- */
.device-wrapper.tablet {
    bottom: -40px;
    left: -12%;
    /* Increase spacing 10% (10% -> 12%) */
    width: 420px;
    z-index: 2;
}

.device-content.tablet-content {
    border-radius: 20px;
    box-shadow: 0 35px 70px rgba(0, 0, 0, 0.5);
    border: 8px solid #252525;
    background: #111;
}

.device-content.tablet-content img {
    width: 100%;
    display: block;
}

.camera-dot {
    /* fix styles if needed */
    position: absolute;
    top: 50%;
    left: 8px;
    width: 6px;
    height: 6px;
    background: #333;
    border-radius: 50%;
    transform: translateY(-50%);
    z-index: 2;
}


/* ----------------------------------
   3. VR / Vision (头显) - Ultimate Realism
   ---------------------------------- */
.device-wrapper.vr {
    bottom: -60px;
    left: 26%;
    /* Adjust position */
    width: 360px;
    /* Slightly wider */
    height: 170px;
    z-index: 4;
}

.device-content.vr-content {
    border-radius: 80px / 60px;
    /* 椭圆形状，更像眼罩 */
    box-shadow: 0 50px 120px rgba(0, 0, 0, 0.8);
    background: #000;
    display: flex;
    flex-direction: row;
    position: relative;
    overflow: hidden;
    /* Simulate aluminum frame */
    border: 4px solid #333;
    outline: 1px solid rgba(0, 0, 0, 0.5);
}

/* 玻璃前面板 (Laminated Glass) */
.vr-glass-front {
    position: absolute;
    inset: 0;
    /* 使用半透明渐变，让内部屏幕显露出来 */
    background: radial-gradient(circle at 50% 50%, rgba(34, 34, 34, 0.2) 0%, rgba(8, 8, 8, 0.5) 60%, rgba(0, 0, 0, 0.8) 100%);
    border-radius: 40px;
    z-index: 10;
    mix-blend-mode: normal;
    overflow: hidden;
    /* High-gloss finish */
    box-shadow: inset 0 0 20px rgba(255, 255, 255, 0.08), inset 0 0 40px rgba(0, 0, 0, 0.3);
    /* 移除 backdrop-filter blur，保持清晰 */
}

/* 强力反光 (Specular Highlight) */
.vr-reflection {
    position: absolute;
    top: -20%;
    left: -20%;
    width: 140%;
    height: 60%;
    background: linear-gradient(170deg, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    filter: blur(8px);
    pointer-events: none;
    border-radius: 50%;
}

/* 内部双目透镜 (Lenticular Display) */
.vr-internal-screen {
    position: absolute;
    inset: 0;
    /* Full fill */
    display: flex;
    flex-direction: row;
    /* Enforce row */
    justify-content: center;
    align-items: center;
    gap: 20px;
    z-index: 5;
    /* Eyes visible BEHIND the tinted glass */
    padding: 0 20px;
}

.vr-eye {
    flex: 1;
    /* Grow to fill */
    height: 90%;
    /* Almost full height */
    max-width: 150px;
    border-radius: 40% 40% 45% 45%;
    /* Eye shape */
    background: #050505;
    position: relative;
    overflow: hidden;
    /* Lens effect */
    border: 1px solid #222;
    box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.8), 0 0 30px rgba(100, 149, 237, 0.1);
}

.vr-eye img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.95;
    /* 提高不透明度 */
    filter: saturate(1.3) contrast(1.15);
    /* 更鲜艳清晰 */
}

/* 边缘模糊渐变效果 (Vignette) - 模拟透镜景深 */
.vr-eye::after {
    content: '';
    position: absolute;
    inset: 0;
    /* 径向渐变：中心透明，边缘深色 */
    background: radial-gradient(ellipse at center,
            transparent 40%,
            rgba(0, 0, 0, 0.15) 65%,
            rgba(0, 0, 0, 0.5) 100%);
    pointer-events: none;
    border-radius: inherit;
}

/* Mesh Fabric Strap Hint */
.device-wrapper.vr::after {
    content: '';
    position: absolute;
    top: 50%;
    left: -20px;
    right: -20px;
    height: 60px;
    background: #1a1a1a;
    z-index: -1;
    transform: translateY(-50%);
    border-radius: 12px;
}

/* 顶部按钮 (Digital Crown) - More detail */
.vr-crown {
    position: absolute;
    top: -6px;
    right: 50px;
    width: 36px;
    height: 8px;
    background: linear-gradient(to right, #222, #555, #222);
    border-radius: 4px;
    z-index: 20;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
}


/* ----------------------------------
   4. Mobile (手机)
   ---------------------------------- */
.device-wrapper.mobile {
    right: -8%;
    /* Increase spacing (was -5%) */
    bottom: -90px;
    width: 224px;
    /* -20% from 280px */
    z-index: 3;
}

.device-content.mobile-content {
    border-radius: 32px;
    border: 6px solid #1a1a1a;
    /* Darker bezel */
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
    background: #000;
}

.device-content.mobile-content img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 22px;
}

@keyframes float-y {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

/* 背景光晕 */
.device-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.5);
    width: 80%;
    height: 80%;
    background: radial-gradient(ellipse at center,
            rgba(59, 130, 246, 0.25) 0%,
            rgba(139, 92, 246, 0.15) 30%,
            rgba(236, 72, 153, 0.1) 50%,
            rgba(0, 0, 0, 0) 70%);
    filter: blur(80px);
    z-index: 0;
    opacity: 0;
    /* 初始隐藏，由 JS 控制 */
    will-change: transform, opacity;
    pointer-events: none;
}

/* =========================================
   中等屏幕 (平板横屏) 多端展示区适配
   ========================================= */
@media (max-width: 1024px) and (min-width: 769px) {
    .devices-showcase {
        height: 420px;
    }

    .device-wrapper.desktop {
        width: 90%;
    }

    .device-wrapper.tablet {
        width: 320px;
        left: -8%;
        bottom: -30px;
    }

    .device-wrapper.mobile {
        width: 180px;
        right: -5%;
        bottom: -60px;
    }

    .device-wrapper.vr {
        width: 280px;
        height: 130px;
        left: 30%;
        bottom: -40px;
    }

    .vr-eye {
        max-width: 110px;
    }
}

/* =========================================
   优化：新版 Bento Grid (V2)
   ========================================= */
.bento-grid-v2 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    /* 上面3列 */
    gap: 24px;
}

.bento-card {
    display: flex;
    flex-direction: column;
    padding: 28px;
    height: 100%;
}

/* 图标盒子美化 */
.card-icon-box {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 20px;
}

.blue {
    background: rgba(59, 130, 246, 0.1);
    color: #60a5fa;
}

.green {
    background: rgba(16, 185, 129, 0.1);
    color: #34d399;
}

.purple {
    background: rgba(139, 92, 246, 0.1);
    color: #a78bfa;
}

/* 宽卡片 (第二行) */
.wide {
    grid-column: span 3;
    /* 默认手机占满 */
}

/* 宽卡片内部布局 */
.split-layout {
    display: flex;
    align-items: center;
    gap: 40px;
    height: 100%;
}

.split-layout.reverse {
    flex-direction: row-reverse;
}

.split-layout .text-content {
    flex: 1;
}

.split-layout .visual-content {
    flex: 1.2;
    display: flex;
    justify-content: center;
    align-items: center;
}

.rounded-img {
    width: 100%;
    max-width: 400px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

@media (min-width: 1024px) {
    .bento-grid-v2 {
        grid-template-columns: repeat(6, 1fr);
        /* 分成6份，灵活控制 */
    }

    /* 上面三个，每个占2份 (2+2+2=6) */
    .bento-card {
        grid-column: span 2;
    }

    /* 下面两个，每个占3份 (3+3=6) */
    .wide {
        grid-column: span 3;
    }
}

/* 移动端适配修正 */
@media (max-width: 768px) {

    /* =========================================
       移动端：多端展示区重构为垂直卡片布局
       ========================================= */
    .platform-section {
        padding: 60px 0 80px;
    }

    .section-header h2 {
        font-size: 1.8rem;
    }

    .section-header .subtitle {
        font-size: 1rem;
    }

    .devices-showcase {
        height: auto;
        /* 自适应高度 */
        display: flex;
        flex-direction: column;
        gap: 30px;
        padding: 0 10px;
        perspective: none;
    }

    /* 重置所有设备 Wrapper 的绝对定位 */
    .device-wrapper {
        position: relative !important;
        top: auto !important;
        left: auto !important;
        right: auto !important;
        bottom: auto !important;
        transform: none !important;
        width: 100% !important;
        opacity: 1 !important;
        /* 确保移动端可见 */
    }

    /* 移动端：所有设备都显示 */
    .device-wrapper.tablet,
    .device-wrapper.vr {
        display: block;
    }

    /* 移动端：设备标签调整 */
    .device-label {
        position: relative;
        top: auto;
        left: auto;
        transform: none;
        margin-bottom: 12px;
        align-self: flex-start;
    }

    /* 移动端：Desktop */
    .device-wrapper.desktop {
        order: 1;
    }

    .device-content.desktop-content {
        border-radius: 12px;
    }

    /* 移动端：Mobile - 居中显示，限制最大宽度 */
    .device-wrapper.mobile {
        order: 2;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .device-content.mobile-content {
        width: 200px;
        /* 固定宽度 */
        border-radius: 28px;
    }

    /* 移动端：Tablet - 横屏展示效果 */
    .device-wrapper.tablet {
        order: 3;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .device-content.tablet-content {
        width: 90%;
        max-width: 400px;
        border-radius: 16px;
        border-width: 6px;
    }

    /* 移动端：VR - 水平居中，缩小尺寸 */
    .device-wrapper.vr {
        order: 4;
        display: flex;
        flex-direction: column;
        align-items: center;
        height: auto;
    }

    .device-content.vr-content {
        width: 280px;
        height: 130px;
        border-radius: 60px / 45px;
    }

    .vr-eye {
        max-width: 110px;
        border-radius: 35% 35% 40% 40%;
    }

    .vr-internal-screen {
        gap: 12px;
        padding: 0 15px;
    }

    /* 隐藏 VR 头带 */
    .device-wrapper.vr::after {
        display: none;
    }

    /* 移动端：隐藏背景光晕 */
    .device-glow {
        display: none;
    }

    /* 移动端：禁用悬浮动画 */
    .floating,
    .float-anim-delayed,
    .float-anim-slow {
        animation: none;
    }

    .bento-grid-v2 {
        grid-template-columns: 1fr;
    }

    .bento-card,
    .wide {
        grid-column: span 1;
    }

    .split-layout,
    .split-layout.reverse {
        flex-direction: column;
        gap: 20px;
    }
}

/* =========================================
   新增：分享功能聚光灯模块 (Share Spotlight)
   ========================================= */
.share-spotlight-section {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

/* 独特的背景聚光灯效果 */
.spotlight-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: 80%;
    background: radial-gradient(circle, rgba(147, 51, 234, 0.15) 0%, rgba(0, 0, 0, 0) 70%);
    /* 紫色光晕 */
    filter: blur(80px);
    z-index: -1;
    pointer-events: none;
}

.spotlight-card {
    border-radius: 30px;
    padding: 0;
    /* 内部用 padding */
    overflow: hidden;
    background: rgba(20, 20, 25, 0.6);
    /* 比普通卡片深一点，突出高级感 */
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.spotlight-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* 左侧文字区域 */
.text-area {
    padding: 60px;
    flex: 1;
    max-width: 500px;
    z-index: 2;
}

.mini-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    color: #c084fc;
    /* 紫色文字 */
    background: rgba(147, 51, 234, 0.1);
    padding: 4px 12px;
    border-radius: 20px;
    border: 1px solid rgba(147, 51, 234, 0.2);
    margin-bottom: 24px;
    font-weight: 600;
}

.text-area h2 {
    font-size: 2.8rem;
    line-height: 1.2;
    margin-bottom: 20px;
    background: linear-gradient(to bottom right, #fff, #a5b4fc);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-area p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 40px;
}

/* 列表样式 */
.feature-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.feature-list li {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.check-icon {
    width: 32px;
    height: 32px;
    background: #222;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #4ade80;
    /* 绿色对勾 */
    border: 1px solid rgba(255, 255, 255, 0.1);
    flex-shrink: 0;
}

.feature-list strong {
    display: block;
    color: var(--text-primary);
    font-size: 1rem;
    margin-bottom: 4px;
}

.feature-list .desc {
    display: block;
    font-size: 0.85rem;
    color: #64748b;
}

/* 右侧视觉区域 */
.visual-area {
    flex: 1.2;
    position: relative;
    height: 600px;
    /* 固定高度以撑开图片 */
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.03) 0%, rgba(0, 0, 0, 0) 70%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    /* 切割溢出的图片 */
}

/* 模拟悬浮的文件图标 */
.file-icon {
    position: absolute;
    top: 10%;
    right: 18%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 15px 20px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    z-index: 5;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.file-icon i {
    font-size: 2rem;
    color: #fb923c;
}

.file-icon .file-name {
    font-size: 0.8rem;
    font-family: monospace;
    color: white;
}

.floating-slow {
    animation: floatFile 4s ease-in-out infinite;
}

@keyframes floatFile {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

/* 主图容器 */
.main-visual-wrapper {
    width: 90%;
    height: auto;
    transform: perspective(1000px) rotateY(-10deg) rotateX(5deg);
    /* 3D 偏转 */
    transition: transform 0.5s ease;
    box-shadow: -20px 20px 60px rgba(0, 0, 0, 0.5);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.spotlight-card:hover .main-visual-wrapper {
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
    /* 悬停回正 */
}

.main-visual-wrapper img {
    width: 100%;
    height: auto;
    display: block;
}

/* 移动端适配 */
@media (max-width: 968px) {
    .spotlight-content {
        flex-direction: column-reverse;
        /* 图片在上，文字在下 */
    }

    .visual-area {
        width: 100%;
        height: 300px;
    }

    .main-visual-wrapper {
        width: 80%;
        transform: perspective(1000px) rotateY(0) rotateX(0);
        /* 移动端不偏转 */
    }

    .text-area {
        padding: 40px 30px;
        max-width: 100%;
    }

    .text-area h2 {
        font-size: 2rem;
    }

    .file-icon {
        top: 10%;
        right: 10%;
        transform: scale(0.8);
    }
}

/* =========================================
   Modern Workflow Section (极简工作流 - 重构优化版)
   ========================================= */
.workflow-section {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

/* 背景装饰光 */
.workflow-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: 60%;
    background: radial-gradient(ellipse at center, rgba(59, 130, 246, 0.1) 0%, transparent 60%);
    filter: blur(80px);
    z-index: -1;
    pointer-events: none;
}

/* Steps 容器 */
.workflow-steps {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    max-width: 900px;
    margin: 60px auto 0;
    position: relative;
    padding: 0 20px;
}

/* 连接线底层 - 渐变虚线效果 */
.workflow-steps::before {
    content: '';
    position: absolute;
    top: 40px;
    left: calc(16.67% + 50px);
    right: calc(16.67% + 50px);
    height: 2px;
    background: repeating-linear-gradient(90deg,
            rgba(59, 130, 246, 0.4) 0px,
            rgba(59, 130, 246, 0.4) 8px,
            transparent 8px,
            transparent 16px);
    z-index: 0;
}

/* 流光动画层 */
.workflow-steps::after {
    content: '';
    position: absolute;
    top: 38px;
    left: calc(16.67% + 50px);
    right: calc(16.67% + 50px);
    height: 6px;
    background: linear-gradient(90deg,
            transparent 0%,
            rgba(96, 165, 250, 0.8) 30%,
            #60a5fa 50%,
            rgba(96, 165, 250, 0.8) 70%,
            transparent 100%);
    background-size: 120px 100%;
    background-repeat: no-repeat;
    opacity: 0.9;
    animation: workflowFlow 2.5s ease-in-out infinite;
    z-index: 0;
    filter: blur(2px);
}

@keyframes workflowFlow {
    0% {
        background-position: -120px 0;
        opacity: 0;
    }

    10% {
        opacity: 0.9;
    }

    90% {
        opacity: 0.9;
    }

    100% {
        background-position: calc(100% + 120px) 0;
        opacity: 0;
    }
}

/* 单个步骤 */
.workflow-step {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    z-index: 2;
    position: relative;
}

/* 图标容器 */
.step-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(145deg, #0a0a0c 0%, #0f1016 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    font-size: 2rem;
    color: var(--text-secondary);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    box-shadow:
        0 10px 40px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
    z-index: 2;
}

/* 图标外层光环 - 遮挡连接线 */
.step-icon::before {
    content: '';
    position: absolute;
    inset: -12px;
    background: radial-gradient(circle, var(--bg-color) 40%, transparent 70%);
    z-index: -1;
    border-radius: 32px;
}

/* 悬停状态 */
.workflow-step:hover .step-icon {
    transform: translateY(-6px) scale(1.05);
    border-color: rgba(96, 165, 250, 0.5);
    color: #fff;
    box-shadow:
        0 20px 50px rgba(59, 130, 246, 0.25),
        0 0 30px rgba(59, 130, 246, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    background: linear-gradient(145deg, #0d1020 0%, #0a0f18 100%);
}

.workflow-step:hover .step-icon i {
    text-shadow: 0 0 20px rgba(96, 165, 250, 0.5);
}

/* 序号徽章 */
.step-number {
    position: absolute;
    top: -6px;
    right: -6px;
    width: 22px;
    height: 22px;
    background: linear-gradient(135deg, #1e3a5f 0%, #0f172a 100%);
    border: 1.5px solid rgba(96, 165, 250, 0.6);
    border-radius: 50%;
    font-size: 0.7rem;
    font-weight: 700;
    color: #60a5fa;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

/* Pulse Animation for Step 2 */
.pulse-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    border-radius: 24px;
    border: 1.5px solid rgba(96, 165, 250, 0.5);
    opacity: 0;
    animation: pulse-ring 2.5s ease-out infinite;
    pointer-events: none;
}

@keyframes pulse-ring {
    0% {
        transform: translate(-50%, -50%) scale(0.9);
        opacity: 0;
    }

    30% {
        opacity: 0.6;
    }

    100% {
        transform: translate(-50%, -50%) scale(1.4);
        opacity: 0;
    }
}

/* 文本样式 */
.workflow-step h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--text-primary);
    font-weight: 600;
    letter-spacing: 0.02em;
}

.workflow-step p {
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--text-secondary);
    max-width: 220px;
    opacity: 0.85;
}

/* 隐藏旧的箭头 */
.step-arrow {
    display: none !important;
}

/* 移动端适配 */
@media (max-width: 768px) {
    .workflow-section {
        padding: 60px 0;
    }

    .workflow-steps {
        flex-direction: column;
        align-items: center;
        gap: 50px;
        padding: 0 20px;
    }

    /* 移动端垂直连接线 */
    .workflow-steps::before {
        top: 90px;
        bottom: 90px;
        left: 50%;
        right: auto;
        width: 2px;
        height: auto;
        transform: translateX(-50%);
        background: repeating-linear-gradient(180deg,
                rgba(59, 130, 246, 0.4) 0px,
                rgba(59, 130, 246, 0.4) 8px,
                transparent 8px,
                transparent 16px);
    }

    .workflow-steps::after {
        top: 90px;
        bottom: 90px;
        left: 50%;
        right: auto;
        width: 6px;
        height: auto;
        transform: translateX(-50%);
        background: linear-gradient(180deg,
                transparent 0%,
                rgba(96, 165, 250, 0.8) 30%,
                #60a5fa 50%,
                rgba(96, 165, 250, 0.8) 70%,
                transparent 100%);
        background-size: 100% 80px;
        animation: workflowFlowVertical 2.5s ease-in-out infinite;
    }

    @keyframes workflowFlowVertical {
        0% {
            background-position: 0 -80px;
            opacity: 0;
        }

        10% {
            opacity: 0.9;
        }

        90% {
            opacity: 0.9;
        }

        100% {
            background-position: 0 calc(100% + 80px);
            opacity: 0;
        }
    }

    .workflow-step h3 {
        font-size: 1.15rem;
    }

    .workflow-step p {
        max-width: 280px;
    }
}

/* =========================================
   Bento Grid 设备展示适配 (Reusing Device Styles)
   ========================================= */

/* 在 Bento Grid 卡片内，我们需要调整复用设备的尺寸和变换 */
.bento-card .device-content.mobile-content {
    /*覆盖宽度，适应卡片*/
    width: 140px;
    height: auto;
    border-width: 4px;
    border-radius: 20px;
    /*轻微旋转，增加动感*/
    transform: rotate(-5deg) translateY(10px);
    transition: transform 0.3s ease;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
    -webkit-border-radius: ;
    -moz-border-radius: ;
    -ms-border-radius: ;
    -o-border-radius: ;
}

.bento-card:hover .device-content.mobile-content {
    transform: rotate(0deg) translateY(0) scale(1.05);
}

.bento-card .device-content.tablet-content {
    /* 适配平板 */
    width: 265px;
    height: auto;
    border-width: 6px;
    border-radius: 12px;
    transform: rotate(3deg) translateY(10px);
    transition: transform 0.3s ease;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
}

.bento-card:hover .device-content.tablet-content {
    transform: rotate(0deg) translateY(0) scale(1.05);
}

/* 确保内部图片填充 */
.bento-card .device-content img {
    width: 100%;
    display: block;
}

/* 移除刘海 (Notch) - 如果有残留的话 */
.bento-card .notch {
    display: none !important;
}

/* 隐藏无关元素 */
.bento-card .home-bar,
.bento-card .camera-dot {
    display: none;
}

/* =========================================
   高级特效：无限制 (Premium Unrestricted)
   ========================================= */

/* 1. 文字流光渐变效果 */
.text-premium {
    background: linear-gradient(90deg, #60a5fa, #a78bfa, #f472b6, #60a5fa);
    background-size: 300% auto;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-weight: 700;
    animation: textShine 4s linear infinite;
}

@keyframes textShine {
    to {
        background-position: 300% center;
    }
}

/* 2. 卡片内发光氛围 */
.bento-card.premium-glow {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(167, 139, 250, 0.3);
    /* 紫色微边框 */
}

/* 动态背景光点 */
.bento-card.premium-glow::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 50% 50%, rgba(167, 139, 250, 0.08) 0%, transparent 50%);
    animation: rotateGlow 10s linear infinite;
    z-index: 0;
    pointer-events: none;
}

@keyframes rotateGlow {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* 确保内容在背景之上 */
.bento-card.premium-glow>* {
    position: relative;
    z-index: 1;
}

/* 3. 图标呼吸效果 */
.bento-card.premium-glow .card-icon-box {
    background: rgba(167, 139, 250, 0.15);
    color: #a78bfa;
    box-shadow: 0 0 20px rgba(167, 139, 250, 0.2);
    animation: iconPulse 3s ease-in-out infinite;
    -webkit-animation: iconPulse 3s ease-in-out infinite;
}

@keyframes iconPulse {

    0%,
    100% {
        box-shadow: 0 0 20px rgba(167, 139, 250, 0.2);
        transform: scale(1);
    }

    50% {
        box-shadow: 0 0 35px rgba(167, 139, 250, 0.4);
        transform: scale(1.05);
    }
}

/* =========================================
   技术架构板块 (Architecture Section)
   ========================================= */
.architecture-section {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

/* 背景光效 */
.architecture-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at center, rgba(37, 99, 235, 0.08) 0%, transparent 60%);
    filter: blur(100px);
    z-index: -1;
}

.arch-diagram {
    max-width: 1000px;
    margin: 0 auto;
}

/* 架构流程图容器 */
.arch-flow {
    display: flex;
    flex-direction: column;
    gap: 0;
    align-items: center;
}

/* 单层架构 */
.arch-layer {
    width: 100%;
    max-width: 600px;
}

.layer-header {
    display: flex;
    justify-content: center;
    margin-bottom: 12px;
}

.layer-tag {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-secondary);
    background: rgba(255, 255, 255, 0.05);
    padding: 6px 16px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.layer-tag.accent {
    color: #a78bfa;
    background: rgba(167, 139, 250, 0.1);
    border-color: rgba(167, 139, 250, 0.3);
}

/* 架构卡片 */
.arch-card {
    border-radius: 20px;
    padding: 24px 28px;
    transition: all 0.3s ease;
}

.arch-card:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* 技术栈列表 */
.tech-stack {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.tech-item {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
    padding: 12px 16px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.tech-item:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.1);
}

.tech-item.highlight {
    background: rgba(167, 139, 250, 0.08);
    border-color: rgba(167, 139, 250, 0.2);
}

.tech-item.highlight:hover {
    background: rgba(167, 139, 250, 0.12);
    box-shadow: 0 0 20px rgba(167, 139, 250, 0.15);
}

.tech-item i {
    font-size: 1.5rem;
    color: var(--text-secondary);
    flex-shrink: 0;
}

.tech-item.highlight i {
    color: #a78bfa;
}

.tech-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.tech-info strong {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
}

.tech-info span {
    font-size: 0.75rem;
    color: var(--text-secondary);
    opacity: 0.8;
}

/* 连接线 */
.arch-connector {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    height: 60px;
    width: 2px;
}

.connector-line {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background: linear-gradient(180deg,
            rgba(255, 255, 255, 0.1) 0%,
            rgba(59, 130, 246, 0.3) 50%,
            rgba(255, 255, 255, 0.1) 100%);
}

.connector-flow {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background: linear-gradient(180deg, transparent 0%, #60a5fa 50%, transparent 100%);
    background-size: 100% 30px;
    background-repeat: no-repeat;
    animation: connectorFlow 1.5s linear infinite;
}

@keyframes connectorFlow {
    0% {
        background-position: 0 -30px;
    }

    100% {
        background-position: 0 60px;
    }
}

.connector-label {
    position: absolute;
    top: 50%;
    left: 20px;
    transform: translateY(-50%);
    font-size: 0.7rem;
    color: var(--text-secondary);
    opacity: 0.6;
    white-space: nowrap;
    letter-spacing: 0.5px;
}

/* 性能指标 */
.arch-metrics {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-top: 50px;
    flex-wrap: wrap;
}

.metric-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px 32px;
    border-radius: 16px;
    min-width: 120px;
    transition: all 0.3s ease;
}

.metric-item:hover {
    transform: translateY(-3px);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.metric-value {
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, #60a5fa, #a78bfa);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 4px;
}

.metric-label {
    font-size: 0.8rem;
    color: var(--text-secondary);
    opacity: 0.8;
}

/* 移动端适配 */
@media (max-width: 768px) {
    .architecture-section {
        padding: 60px 0;
    }

    .arch-layer {
        max-width: 100%;
    }

    .tech-stack {
        flex-direction: column;
        gap: 12px;
    }

    .tech-item {
        padding: 14px 16px;
    }

    .arch-connector {
        height: 40px;
    }

    .connector-label {
        left: 16px;
    }

    .arch-metrics {
        gap: 16px;
    }

    .metric-item {
        padding: 16px 24px;
        min-width: 100px;
    }

    .metric-value {
        font-size: 1.25rem;
    }
}

/* 中等屏幕适配 */
@media (max-width: 1024px) and (min-width: 769px) {
    .arch-layer {
        max-width: 550px;
    }

    .tech-stack {
        gap: 16px;
    }

    .tech-item {
        padding: 10px 12px;
    }

    .tech-info strong {
        font-size: 0.9rem;
    }

    .tech-info span {
        font-size: 0.7rem;
    }
}