/* --- 0. 全局定义 (与首页保持一致) --- */
:root {
    --bg-color: #FAFAFA;
    --text-main: #111111;
    --text-sub: #666666;
    --brand-purple: #6D28D9;
    --brand-accent: #8B5CF6;
    --brand-gradient: linear-gradient(135deg, #6D28D9 0%, #A78BFA 100%);
    --border-light: rgba(0, 0, 0, 0.08);
    --shadow-float: 0 20px 40px -10px rgba(109, 40, 217, 0.15);
    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
}

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

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    overflow-x: hidden;
    line-height: 1.5;
    background-image: radial-gradient(#e5e7eb 1px, transparent 1px);
    background-size: 32px 32px;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { letter-spacing: -0.03em; font-weight: 800; }
p { color: var(--text-sub); margin-bottom: 1rem; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* --- 动画类 --- */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s var(--ease-out-expo), transform 0.8s var(--ease-out-expo);
}
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* --- 导航栏 (复用首页样式) --- */
nav {
    position: fixed; top: 0; left: 0; width: 100%; padding: 1rem 5%;
    display: flex; justify-content: center; align-items: center;
    background: rgba(250, 250, 250, 0.85);
    backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-light); z-index: 999;
    transition: all 0.3s var(--ease-out-expo);
}

nav.scrolled {
    padding: 0.7rem 5%;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    background: rgba(250, 250, 250, 0.95);
}
.nav-container { max-width: 1200px; width: 100%; display: flex; justify-content: space-between; align-items: center; }
.brand { font-size: 1.2rem; font-weight: 900; display: flex; align-items: center; gap: 10px; }
.brand-icon {
    width: 32px; height: 32px;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f3f4f6;
}
.brand-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.nav-menu { display: flex; align-items: center; gap: 2rem; list-style: none; }
.nav-menu li { position: relative; }
.nav-menu a { color: var(--text-main); font-size: 0.95rem; font-weight: 500; transition: color 0.3s; white-space: nowrap; position: relative; }
.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--brand-gradient);
    transition: width 0.3s;
}
@media (hover: hover) {
    .nav-menu a:hover { color: var(--brand-purple); }
    .nav-menu a:hover::after { width: 100%; }
}
.nav-menu a.active { color: var(--brand-purple); }
.nav-menu a.active::after { width: 100%; }

/* 移动端菜单按钮 */
.mobile-menu-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 5px; }
.mobile-menu-toggle span { width: 24px; height: 2px; background: var(--text-main); transition: all 0.3s; border-radius: 2px; }
.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
}
.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}
.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* --- 页面通用布局 --- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 5%; }
.section { padding: 6rem 0; position: relative; }
.text-center { text-align: center; }
.section-tag {
    color: var(--brand-purple); font-weight: 700; text-transform: uppercase;
    font-size: 0.85rem; letter-spacing: 0.05em; display: inline-block;
    background: #F3E8FF; padding: 4px 12px; border-radius: 20px; margin-bottom: 1.5rem;
}

/* --- Hero Section --- */
.page-hero {
    padding: 10rem 0 5rem;
    background: radial-gradient(circle at 50% 0%, rgba(139, 92, 246, 0.1) 0%, transparent 60%);
    border-bottom: 1px solid var(--border-light);
}
.page-hero h1 { font-size: clamp(2.5rem, 5vw, 4rem); margin-bottom: 1rem; }
.page-hero h2 { font-size: clamp(1.2rem, 2vw, 1.8rem); font-weight: 500; color: var(--text-sub); margin-bottom: 2rem; }
.hero-desc { max-width: 700px; margin: 0 auto; font-size: 1.1rem; line-height: 1.8; }

/* --- Architecture Grid --- */
.arch-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; margin-top: 4rem;
}
.arch-card {
    background: white; border: 1px solid var(--border-light); border-radius: 24px; padding: 2.5rem 2rem;
    text-align: center; transition: 0.3s; position: relative; overflow: hidden;
}
@media (hover: hover) {
    .arch-card {
    position: relative;
    overflow: hidden;
}

.arch-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--brand-gradient);
    opacity: 0;
    transition: opacity 0.3s;
    z-index: -1;
}

.arch-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: var(--shadow-float), 0 0 30px rgba(109, 40, 217, 0.3);
    border-color: rgba(109, 40, 217, 0.3);
}

.arch-card:hover::after {
    opacity: 0.05;
}
}
.arch-icon {
    width: 64px; height: 64px; margin: 0 auto 1.5rem; border-radius: 50%;
    background: #F3E8FF; color: var(--brand-purple); display: flex; align-items: center; justify-content: center;
}
.arch-card h3 { font-size: 1.25rem; margin-bottom: 0.5rem; }
.arch-card p { font-size: 0.95rem; margin-bottom: 0; }

/* --- Split Sections (Pad & Mobile) --- */
.split-section {
    display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; margin-top: 2rem;
}
.split-section > * { min-width: 0; }
.split-section.reverse { direction: rtl; } /* 图片在左，文字在右 */
.split-section.reverse .text-content { direction: ltr; }

.feature-list { margin-top: 2rem; }
.feature-list li { margin-bottom: 1.5rem; padding-left: 1.5rem; border-left: 3px solid var(--brand-accent); }
.feature-list h4 { font-size: 1.1rem; color: var(--text-main); margin-bottom: 0.3rem; }
.feature-list p { font-size: 0.95rem; margin-bottom: 0; }

/* --- 3D样机系统（与首页一致）--- */
.device-stage-wrapper {
    width: 100%;
    height: 600px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: visible;
    position: relative;
}

/* 实际样机组，固定宽度，通过 transform scale 适配 */
.device-group {
    position: relative;
    width: 1200px; /* 调整为适应平板和手机 */
    height: 700px;
    transform-origin: center center;
    /* 默认缩放，根据JS或媒体查询调整 */
}

/* 等比缩放系统：样机容器根据视口自适应 */
@media (max-width: 1024px) {
    .device-stage-wrapper {
        height: 500px;
    }
}

@media (max-width: 768px) {
    /* 移动端：与首页一致，改为上下堆叠的平板 + 大号手机样机 */
    .device-stage-wrapper {
        height: auto;
        padding: 2rem 0 1rem;
    }
    .device-group {
        width: 100%;
        height: auto;
        position: relative;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        gap: 1.5rem;
        transform: none;
    }
    .tablet-scene {
        position: relative;
        left: auto;
        top: auto;
        transform: none;
        width: min(100%, 520px);
        height: auto;
        aspect-ratio: 820 / 580;
    }
}

@media (max-width: 480px) {
    /* 小屏移动端：保持自适应高度，避免内容被裁切 */
    .device-stage-wrapper {
        height: auto;
        padding-top: 1.5rem;
    }
    .device-group {
        height: auto;
    }
    .tablet-scene {
        max-width: 90%;
        height: auto !important;
    }
}

/* --- 平板样机样式 --- */
.tablet-scene {
    width: 820px;
    height: 580px;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    transform-style: preserve-3d;
    perspective: 2000px;
}

/* 手机端下，适当减薄平板边框与内屏圆角，让视觉更精致（与首页一致） */
@media (max-width: 768px) {
    .tablet-face-front {
        padding: 10px;
        border-radius: 32px;
    }
    .tablet-screen-glass {
        border-radius: 24px;
    }
}

/* 动态阴影 */
.tablet-floor-shadow {
    position: absolute;
    width: 80%;
    height: 20%;
    bottom: -80px;
    left: 10%;
    background: radial-gradient(ellipse at center, rgba(0,0,0,0.4) 0%, transparent 70%);
    transform: rotateX(90deg) translateZ(0px);
    opacity: 0;
    filter: blur(20px);
    transition: opacity 0.5s;
    z-index: -1;
}

/* 平板容器 */
.tablet {
    width: 100%;
    height: 100%;
    position: relative;
    transform-style: preserve-3d;
}

/* 通用面材质 */
.tablet-face {
    position: absolute;
    background-color: #151516;
    backface-visibility: hidden;
}

/* 噪点纹理 */
.tablet-texture-layer {
    position: absolute;
    inset: 0;
    background-image: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0naHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmcnIHdpZHRoPScyNTAnIGhlaWdodD0nMjUwJz48ZmlsdGVyIGlkPSdub2lzZSc+PGZlVHVyYnVsZW5jZSB0eXBlPSdmcmFjdGFsTm9pc2UnIGJhc2VGcmVxdWVuY3k9JzAuOScgbnVtT2N0YXZlcz0nMycgc3RpdGNoVGlsZXM9J3N0aXRjaCcvPjwvZmlsdGVyPjxyZWN0IHdpZHRoPScxMDAlJyBoZWlnaHQ9JzEwMCUnIGZpbHRlXI9J3VybCgjbm9pc2UpJyBvcGFjaXR5PScwLjA2Jy8+PC9zdmc+');
    opacity: 0.7;
    pointer-events: none;
}

/* 背面 */
.tablet-face-back {
    width: 100%;
    height: 100%;
    border-radius: 40px;
    transform: rotateY(180deg) translateZ(8px);
    background: linear-gradient(135deg, #222 0%, #111 100%);
    overflow: hidden;
    box-shadow: 
        inset 0 0 0 1px rgba(255,255,255,0.08),
        inset 2px 2px 4px rgba(255,255,255,0.05);
}

/* 动态光泽带 */
.tablet-sheen-layer {
    position: absolute;
    inset: -50%;
    background: linear-gradient(
        105deg,
        transparent 40%,
        rgba(255,255,255,0.03) 45%,
        rgba(255,255,255,0.1) 48%,
        rgba(255,255,255,0.03) 55%,
        transparent 60%
    );
    transform: rotate(15deg);
    opacity: 0.8;
    mix-blend-mode: color-dodge;
}

/* 摄像头模组 */
.tablet-camera-bump {
    position: absolute;
    top: 24px;
    right: 24px;
    width: 90px;
    height: 90px;
    background: linear-gradient(145deg, #1f1f1f, #0d0d0d);
    border-radius: 22px;
    box-shadow: 
        -1px -1px 2px rgba(255,255,255,0.1),
        5px 5px 10px rgba(0,0,0,0.5);
    display: flex;
    justify-content: center;
    align-items: center;
}

.tablet-lens-ring {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 1px solid #333;
    background: radial-gradient(circle at 70% 30%, #444, #000);
    position: relative;
    box-shadow: inset 0 0 6px #000;
}

/* 手机端下，整体缩小摄像头与 UI 细节比例，让画面不显得“放大裁切”（与首页一致） */
@media (max-width: 768px) {
    .tablet-camera-bump {
        top: 18px;
        right: 18px;
        width: 72px;
        height: 72px;
        border-radius: 18px;
    }
    .tablet-lens-ring {
        width: 42px;
        height: 42px;
    }
    .tablet-ui-sidebar {
        padding: 10px !important;
        width: 30px !important;
    }

    .tablet-ui-logo {
        width: 20px !important;
        height: 20px !important;
        margin-bottom: 15px !important;
        border-radius: 6px !important;
    }

    .tablet-ui-logo2{
        width: 10px !important;
        height: 10px !important;
        margin-bottom: 6px !important;
        border-radius: 3px !important;
    }

    .tablet-ui-content {
        padding: 10px !important;
        gap: 8px !important;
    }

    .tablet-ui-stats {
        gap: 10px !important;
    }
    .tablet-stat-card {
        height: 40px !important;
        padding: 3px 15px !important;
        border-radius: 8px !important;
        justify-content: space-evenly !important;
        align-items: flex-start !important;
        display: flex !important;
    }
    .tablet-stat-lbl {
        font-size: 8px !important;
        transform: scale(0.8) !important;
    }

    .tablet-ui-chart {
        border-radius: 6px !important;
    }

    .tablet-stat-val {
        font-size: 10px !important;
    }

    .section {
        padding: 10px 0px !important;
    }
    .assistant-chat-card {
        padding: 0px !important;
    }

    .assistant-chat-header {
        padding:1.5rem 1.75rem 0.5rem !important;
    }

    .assistant-chat-body {
        height: 60vh !important;
        overflow-y: auto !important;
        padding:1.5rem 1.75rem 0.5rem !important;
    }

    .assistant-chat-footer {
        padding:0.5rem 1.75rem 1.5rem !important; 
    }
    
    .assistant-name {
        font-size: 12px !important;
    }

    .assistant-chip {
        font-size: 11px !important;
    }

    .assistant-metric-value {
        font-size: 13px !important;
    }
}

.tablet-lens-glass {
    position: absolute;
    inset: 4px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, rgba(30, 60, 100, 0.4), black 60%);
    box-shadow: inset 0 1px 2px rgba(255,255,255,0.3);
    overflow: hidden;
}

.tablet-lens-glass::after {
    content: '';
    position: absolute;
    width: 6px;
    height: 4px;
    background: rgba(255,255,255,0.7);
    border-radius: 50%;
    top: 12px;
    left: 10px;
    filter: blur(1px);
}

.tablet-lens-glass::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, transparent, rgba(0,0,255,0.1));
}

.tablet-brand-logo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 20px;
    font-weight: 700;
    color: #333;
    letter-spacing: 2px;
    text-shadow: 0 1px 0 rgba(255,255,255,0.05);
}

/* 侧面 */
.tablet-face-top {
    width: calc(100% - 60px);
    height: 16px;
    top: -8px;
    left: 30px;
    transform: rotateX(90deg);
    background: #222;
}

.tablet-face-bottom {
    width: calc(100% - 60px);
    height: 16px;
    bottom: -8px;
    left: 30px;
    transform: rotateX(-90deg);
    background: #111;
}

.tablet-face-left {
    width: 16px;
    height: calc(100% - 60px);
    left: -8px;
    top: 30px;
    transform: rotateY(-90deg);
    background: #1a1a1a;
}

.tablet-face-right {
    width: 16px;
    height: calc(100% - 60px);
    right: -8px;
    top: 30px;
    transform: rotateY(90deg);
    background: #1a1a1a;
}

.tablet-face-top::after,
.tablet-face-right::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, transparent, rgba(255,255,255,0.1), transparent);
}

/* 圆角填补 */
.tablet-corner-filler {
    position: absolute;
    inset: 2px;
    background: #0a0a0a;
    border-radius: 38px;
    transform: translateZ(0);
    box-shadow: 0 0 0 6px #111;
}

/* 正面 */
.tablet-face-front {
    width: 100%;
    height: 100%;
    transform: translateZ(8px);
    border-radius: 40px;
    background: #e4eafe;
    /* padding: 14px; */
    box-shadow: inset 0 0 0 1px #333;
}

.tablet-screen-glass {
    width: 100%;
    height: 100%;
    background: #fff;
    border-radius: 28px;
    overflow: hidden;
    position: relative;
    box-shadow: inset 0 0 20px rgba(0,0,0,0.2);
}

/* 强烈的玻璃反光 */
.tablet-glass-reflection {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(120deg, transparent 45%, rgba(255,255,255,0.7) 50%, transparent 55%);
    transform: rotate(25deg);
    z-index: 100;
    pointer-events: none;
    opacity: 0;
    mix-blend-mode: overlay;
}

/* --- 平板UI系统（与首页一致）--- */
.tablet-ui-container {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #f0f4ff 0%, #e0e7ff 100%);
    display: flex;
}

.tablet-ui-sidebar {
    width: 90px;
    background: rgba(255,255,255,0.7);
    backdrop-filter: blur(10px);
    border-right: 1px solid rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 30px 0;
}

.tablet-ui-logo {
    width: 44px;
    height: 44px;
    background: #2563eb;
    border-radius: 12px;
    margin-bottom: 40px;
    box-shadow: 0 4px 10px rgba(37, 99, 235, 0.3);
}

.tablet-ui-content {
    flex: 1;
    padding: 32px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* 顶部卡片 */
.tablet-ui-stats {
    display: flex;
    gap: 20px;
}

.tablet-stat-card {
    flex: 1;
    height: 110px;
    background: rgba(255,255,255,0.6);
    backdrop-filter: blur(12px);
    border: 1px solid #fff;
    border-radius: 18px;
    padding: 20px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.tablet-stat-val {
    font-size: 28px;
    font-weight: 700;
    color: #1e293b;
    letter-spacing: -0.5px;
}

.tablet-stat-lbl {
    font-size: 13px;
    font-weight: 500;
    color: #64748b;
    text-transform: uppercase;
}

/* 图表区 */
.tablet-ui-chart {
    flex: 2;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.04);
    padding: 24px;
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    padding-bottom: 0;
    overflow: hidden;
}

.tablet-chart-col {
    width: 10%;
    background: #eff6ff;
    border-radius: 6px 6px 0 0;
    position: relative;
    height: 100%;
}

.tablet-col-fill {
    position: absolute;
    bottom: 0;
    width: 100%;
    background: linear-gradient(to top, #2563eb, #60a5fa);
    border-radius: 6px 6px 0 0;
    height: 0%;
    transition: height 1.2s cubic-bezier(0.22, 1, 0.36, 1);
    box-shadow: 0 0 10px rgba(37, 99, 235, 0.3);
}

/* Mobile Mockup - 375*812 等比缩放（按宽度自适应，不再用 transform 缩放） */
.css-mobile {
    /* 保持与实际设备接近的比例，按容器宽度自适应 */
    width: min(100%, 340px);
    aspect-ratio: 375 / 812; /* 锁定长宽比，防止被拉长 */
    height: auto;
    background: #111; 
    border-radius: 40px;
    position: relative; 
    overflow: hidden; 
    margin: 0 auto;
    border: 8px solid #333;
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
}

@media (min-width: 1200px) {
    /* 大屏下给足 375px 的视觉宽度 */
    .css-mobile {
        width: 375px;
    }
}
.mobile-screen { 
    background: #f5f7fa; 
    width: 100%; 
    height: 100%; 
    border-radius: 22px; 
    overflow: hidden; 
    position: relative;
    display: flex;
    flex-direction: column;
}
.notif-card {
    background: white; padding: 15px; border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05); border-left: 4px solid var(--brand-purple);
}
.notif-title { font-size: 0.85rem; font-weight: 700; margin-bottom: 4px; }
.notif-desc { font-size: 0.75rem; color: #666; }

/* 小程序样机内容容器 - 与 index.html 一致 */
.phone-content-wrapper {
    width: 100%;
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    position: relative;
    transform-origin: top left;
    background: #f5f7fa;
}

/* 底部菜单栏样式 */
.phone-tab-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50px;
    background: white;
    display: flex;
    justify-content: space-around;
    align-items: center;
    border-top: 1px solid #e9ecef;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.05);
    z-index: 10;
}

.phone-content-wrapper::-webkit-scrollbar {
    display: none;
}

.phone-content-wrapper {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* 手机状态栏样式（与 index.html 一致） */
.phone-status-bar {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 4px 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 10px;
    font-weight: 600;
    position: relative;
    z-index: 10;
}

.phone-status-bar .status-time {
    font-weight: 600;
}

.phone-status-bar .status-right {
    display: flex;
    align-items: center;
    gap: 4px;
}

.status-signal {
    display: flex;
    gap: 2px;
    align-items: center;
}

.signal-bar {
    width: 3px;
    height: 4px;
    background: white;
    border-radius: 1px;
    opacity: 0.9;
}

.signal-bar:nth-child(1) { height: 3px; }
.signal-bar:nth-child(2) { height: 4px; }
.signal-bar:nth-child(3) { height: 5px; }
.signal-bar:nth-child(4) { height: 6px; }

.status-battery {
    width: 18px;
    height: 8px;
    border: 1px solid white;
    border-radius: 2px;
    position: relative;
    opacity: 0.9;
}

.status-battery::after {
    content: '';
    position: absolute;
    right: -3px;
    top: 2px;
    width: 2px;
    height: 4px;
    background: white;
    border-radius: 0 1px 1px 0;
}

.status-battery-fill {
    position: absolute;
    left: 1px;
    top: 1px;
    width: 85%;
    height: calc(100% - 2px);
    background: white;
    border-radius: 1px;
}

/* --- Dark Section --- */
.bg-dark { background: #0f172a; color: white; }
.bg-dark p { color: #94a3b8; }
.bg-dark h2 { color: white; }

/* --- Ozonglod 智能助手模块 --- */
.assistant-section {
    background: radial-gradient(circle at 0 0, rgba(109, 40, 217, 0.08) 0%, transparent 55%);
}
.assistant-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
    gap: 3rem;
    align-items: stretch;
    margin-top: 3rem;
}
.assistant-header {
    max-width: 640px;
    margin: 0 auto;
    text-align: center;
}
.assistant-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 4px 12px;
    border-radius: 999px;
    font-size: 0.8rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    background: rgba(109,40,217,0.08);
    color: var(--brand-purple);
    border: 1px solid rgba(109,40,217,0.18);
}
.assistant-tag-dot {
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: #22c55e;
    box-shadow: 0 0 0 4px rgba(34,197,94,0.3);
}
.assistant-title {
    font-size: 2rem;
    margin: 1rem 0 0.75rem;
}
.assistant-desc {
    font-size: 0.98rem;
    color: var(--text-sub);
    line-height: 1.8;
}

/* 对话区域 */
.assistant-chat-card {
    background: white;
    border-radius: 24px;
    border: 1px solid var(--border-light);
    padding: 1.5rem 1.75rem;
    box-shadow: 0 18px 40px -18px rgba(15,23,42,0.25);
    position: relative;
    overflow: hidden;
}
.assistant-chat-card::before {
    content: '';
    position: absolute;
    inset: -40%;
    background:
        radial-gradient(circle at 0% 0%, rgba(248, 113, 165, 0.06) 0%, transparent 60%),
        radial-gradient(circle at 100% 100%, rgba(129, 140, 248, 0.08) 0%, transparent 55%);
    opacity: 1;
    pointer-events: none;
}
.assistant-chat-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}
.assistant-chat-user {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}
.assistant-avatar {
    width: 32px;
    height: 32px;
    border-radius: 999px;
    background: linear-gradient(135deg,#6366f1,#ec4899);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 0.9rem;
    font-weight: 700;
    box-shadow: 0 0 0 3px #eef2ff;
}
.assistant-name {
    font-size: 0.9rem;
    font-weight: 600;
}
.assistant-status {
    font-size: 0.75rem;
    color: #16a34a;
    display: flex;
    align-items: center;
    gap: 4px;
}
.assistant-status-dot {
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: #22c55e;
    box-shadow: 0 0 0 6px rgba(34,197,94,0.18);
}
.assistant-chat-body {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}
.assistant-bubble {
    max-width: 92%;
    padding: 0.75rem 0.95rem;
    border-radius: 14px;
    font-size: 0.85rem;
    line-height: 1.5;
    opacity: 0;
    transform: translateY(12px) translateX(-8px);
    transition: opacity 0.6s var(--ease-out-expo), transform 0.6s var(--ease-out-expo);
}
.assistant-bubble.visible {
    opacity: 1;
    transform: translateY(0) translateX(0);
}
.assistant-bubble.typing {
    position: relative;
    overflow: hidden;
}
.assistant-bubble.typing::after {
    content: '';
    position: absolute;
    top: 0.55rem;
    right: 0.6rem;
    width: 2px;
    height: 1.1em;
    background: rgba(15,23,42,0.45);
    animation: assistant-caret 0.8s steps(2, start) infinite;
}
@keyframes assistant-caret {
    0%, 100% { opacity: 0; }
    50% { opacity: 1; }
}
.assistant-bubble.user {
    align-self: flex-end;
    background: #111827;
    color: #f9fafb;
    border-bottom-right-radius: 4px;
}
.assistant-bubble.bot {
    align-self: flex-start;
    background: #f3f4ff;
    color: #111827;
    border-bottom-left-radius: 4px;
    border: 1px solid rgba(129,140,248,0.35);
}
.assistant-bubble-label {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 0.35rem;
    opacity: 0.7;
}
.assistant-bubble-label span {
    width: 4px;
    height: 4px;
    border-radius: 999px;
    background: currentColor;
}
.assistant-chat-footer {
    margin-top: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    color: #6b7280;
}
.assistant-chip {
    padding: 0.3rem 0.6rem;
    border-radius: 999px;
    background: #f3f4ff;
    border: 1px dashed rgba(129,140,248,0.5);
    font-size: 0.7rem;
    color: #4b5563;
}

/* 右侧：数据与日报示意 */
.assistant-metrics {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.assistant-metric-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem;
}
.assistant-metric-card {
    background: white;
    border-radius: 16px;
    border: 1px solid var(--border-light);
    padding: 0.85rem 0.9rem;
    font-size: 0.78rem;
    box-shadow: 0 10px 25px -18px rgba(15,23,42,0.3);
}
.assistant-metric-label {
    color: #6b7280;
    margin-bottom: 0.25rem;
    font-weight: 500;
}
.assistant-metric-value {
    font-size: 1rem;
    font-weight: 700;
}
.assistant-metric-tag {
    font-size: 0.68rem;
    color: #22c55e;
    margin-left: 0.25rem;
}
.assistant-metric-value.warn {
    color: #ef4444;
}
.assistant-metric-tag.warn {
    color: #f97316;
}

.assistant-report-card {
    background: #0f172a;
    color: #e5e7eb;
    border-radius: 18px;
    padding: 1rem 1.1rem;
    font-size: 0.78rem;
    border: 1px solid rgba(148,163,184,0.5);
    position: relative;
    overflow: hidden;
}
.assistant-report-card::before {
    content: '';
    position: absolute;
    inset: -30%;
    background: radial-gradient(circle at 0 0, rgba(56,189,248,0.18) 0%, transparent 55%);
    opacity: 0.8;
    pointer-events: none;
}
.assistant-report-card-inner {
    position: relative;
    z-index: 1;
}
.assistant-report-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.6rem;
}
.assistant-report-title {
    font-size: 0.8rem;
    font-weight: 600;
}
.assistant-report-date {
    font-size: 0.7rem;
    color: #9ca3af;
}
.assistant-report-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    margin-bottom: 0.5rem;
}
.assistant-report-badge {
    padding: 0.18rem 0.5rem;
    border-radius: 999px;
    background: rgba(15,23,42,0.9);
    border: 1px solid rgba(148,163,184,0.6);
    font-size: 0.68rem;
    color: #e5e7eb;
}
.assistant-report-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 0.25rem;
}
.assistant-report-table th,
.assistant-report-table td {
    padding: 0.25rem 0.15rem;
    text-align: left;
    font-size: 0.7rem;
}
.assistant-report-table th {
    color: #9ca3af;
    font-weight: 500;
}
.assistant-report-table tr:nth-child(odd) td {
    background: rgba(15,23,42,0.88);
}
.assistant-report-table tr:nth-child(even) td {
    background: rgba(15,23,42,0.96);
}
.assistant-report-tag-up {
    color: #22c55e;
}
.assistant-report-tag-down {
    color: #f97316;
}

@media (max-width: 900px) {
    .assistant-layout {
        grid-template-columns: 1fr;
    }
}

/* --- Pricing --- */
.pricing-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; max-width: 900px; margin: 3rem auto 0; }
.price-card {
    background: white; border: 1px solid var(--border-light); border-radius: 24px; padding: 3rem;
    text-align: center; transition: 0.3s;
}
@media (hover: hover) {
    .price-card:hover { transform: translateY(-5px); }
}
.price-card.highlight { border: 2px solid var(--brand-purple); box-shadow: var(--shadow-float); position: relative; }
.tag-recommend {
    position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
    background: var(--brand-purple); color: white; padding: 4px 12px;
    border-radius: 20px; font-size: 0.8rem; font-weight: 700;
}
.price-num { font-size: 3rem; font-weight: 800; color: var(--text-main); margin: 1rem 0; }
.price-num span { font-size: 1rem; color: var(--text-sub); font-weight: 500; }

/* --- Buttons --- */
.btn {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 0.8rem 2rem; border-radius: 50px; font-weight: 600; cursor: pointer; transition: 0.3s;
}
.btn-primary { background: var(--text-main); color: white; box-shadow: 0 4px 15px rgba(0,0,0,0.2); }
.btn-outline { border: 2px solid var(--text-main); background: transparent; color: var(--text-main); margin-right: 1rem; }
@media (hover: hover) {
    .btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(0,0,0,0.3); }
    .btn-outline:hover { background: var(--text-main); color: white; }
}

/* --- Footer --- */
footer { border-top: 1px solid var(--border-light); padding: 3rem 5%; font-size: 0.9rem; color: var(--text-sub); display: flex; justify-content: space-between; }

/* --- Responsive --- */
@media (max-width: 900px) {
    .split-section, .split-section.reverse { grid-template-columns: 1fr; text-align: left; direction: ltr; gap: 2rem; }
    .split-section.reverse .text-content { direction: ltr; }
    .device-stage-wrapper { order: -1; height: 500px; }
    .pricing-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .nav-menu { display: none; } /* 简化处理，移动端隐藏菜单 */
    .mobile-menu-toggle { display: flex; }
    .nav-menu a { font-size: 1.1rem; padding: 1.2rem 0; }
    .arch-grid { grid-template-columns: 1fr; }
    .page-hero { padding: 8rem 0 3rem; }
    .page-hero h1 { font-size: 2.8rem; }
    .section-tag { font-size: 0.95rem; }
    footer { flex-direction: column; gap: 1rem; text-align: center; }
    .device-stage-wrapper { height: 600px; }
}

@media (max-width: 480px) {
    .device-stage-wrapper { height: 400px; }
}