/* CoreChat AI+CRM 官网样式 */

/* ==================== 基础样式重置 ==================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* 科技蓝主色调 */
    --primary-blue: #00D4FF;
    --primary-dark: #0099CC;
    --primary-gradient: linear-gradient(135deg, #00D4FF 0%, #0099CC 100%);
    
    /* 背景色 */
    --bg-dark: #0a0e27;
    --bg-darker: #060a1a;
    --bg-card: rgba(255, 255, 255, 0.05);
    --bg-card-hover: rgba(255, 255, 255, 0.1);
    
    /* 文字颜色 */
    --text-primary: #ffffff;
    --text-secondary: #b0b8c8;
    --text-muted: #6b7280;
    
    /* 辅助色 */
    --accent-purple: #8b5cf6;
    --accent-green: #10b981;
    --accent-orange: #f59e0b;
    
    /* 阴影 */
    --shadow-glow: 0 0 30px rgba(0, 212, 255, 0.3);
    --shadow-card: 0 10px 40px rgba(0, 0, 0, 0.3);
    
    /* 过渡 */
    --transition-base: all 0.3s ease;
    --transition-slow: all 0.5s ease;
}

html {
    scroll-behavior: smooth;
}

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

/* ==================== AI 粒子背景 ==================== */
#particleCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    opacity: 0.6;
}

/* ==================== 导航栏 ==================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: transparent;
    backdrop-filter: blur(10px);
    transition: var(--transition-base);
    border-bottom: 1px solid transparent;
}

.navbar.scrolled {
    background: rgba(10, 14, 39, 0.95);
    border-bottom: 1px solid rgba(0, 212, 255, 0.2);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo-badge {
    padding: 0.25rem 0.75rem;
    background: var(--primary-gradient);
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    color: white;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-item {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition-base);
    position: relative;
    padding: 0.5rem 0;
}

.nav-item:hover {
    color: var(--primary-blue);
}

.nav-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-gradient);
    transition: var(--transition-base);
}

.nav-item:hover::after {
    width: 100%;
}

.nav-dropdown {
    position: relative;
}

.dropdown-icon {
    font-size: 0.65rem;
    margin-left: 0.25rem;
    transition: var(--transition-base);
}

.nav-dropdown:hover .dropdown-icon {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: rgba(10, 14, 39, 0.98);
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: 8px;
    padding: 0.5rem 0;
    min-width: 180px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition-base);
    box-shadow: var(--shadow-card);
}

.nav-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu a {
    display: block;
    padding: 0.75rem 1.5rem;
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition-base);
}

.dropdown-menu a:hover {
    background: rgba(0, 212, 255, 0.1);
    color: var(--primary-blue);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.btn-consult {
    padding: 0.75rem 1.5rem;
    background: var(--primary-gradient);
    border: none;
    border-radius: 25px;
    color: white;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-base);
    box-shadow: var(--shadow-glow);
}

.btn-consult:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 40px rgba(0, 212, 255, 0.5);
}

.ai-assistant-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--bg-card);
    border: 1px solid rgba(0, 212, 255, 0.3);
    color: var(--primary-blue);
    cursor: pointer;
    transition: var(--transition-base);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.ai-assistant-btn::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: var(--primary-gradient);
    opacity: 0;
    transition: var(--transition-base);
}

.ai-assistant-btn:hover::before {
    opacity: 0.2;
}

.ai-assistant-btn:hover {
    border-color: var(--primary-blue);
    box-shadow: var(--shadow-glow);
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-btn span {
    width: 25px;
    height: 2px;
    background: var(--text-primary);
    transition: var(--transition-base);
}

/* ==================== Hero 区域 ==================== */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 8rem 2rem 4rem;
    position: relative;
    z-index: 1;
    background: linear-gradient(135deg, rgba(10, 14, 39, 0.95) 0%, rgba(6, 10, 26, 0.95) 100%);
}

.hero-content {
    max-width: 600px;
    margin-right: 4rem;
}

.hero-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: 20px;
    font-size: 0.875rem;
    color: var(--primary-blue);
    margin-bottom: 1.5rem;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.hero-title .highlight {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.hero-subtitle strong {
    color: var(--primary-blue);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
}

.btn-primary {
    position: relative;
    padding: 1rem 2rem;
    background: var(--primary-gradient);
    border: none;
    border-radius: 30px;
    color: white;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    overflow: hidden;
    transition: var(--transition-base);
    box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 50px rgba(0, 212, 255, 0.5);
}

.btn-glow {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: 0.5s;
}

.btn-primary:hover .btn-glow {
    left: 100%;
}

.btn-secondary {
    padding: 1rem 2rem;
    background: transparent;
    border: 2px solid rgba(0, 212, 255, 0.5);
    border-radius: 30px;
    color: var(--primary-blue);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-base);
}

.btn-secondary:hover {
    background: rgba(0, 212, 255, 0.1);
    border-color: var(--primary-blue);
}

.hero-stats {
    display: flex;
    gap: 3rem;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-blue);
}

.stat-label {
    font-size: 1.5rem;
    color: var(--primary-blue);
}

.stat-text {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-top: 0.25rem;
}

.hero-visual {
    flex: 1;
    display: flex;
    justify-content: center;
}

.ai-interface {
    width: 100%;
    max-width: 500px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-card);
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

.interface-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    background: rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid rgba(0, 212, 255, 0.1);
}

.interface-dots {
    display: flex;
    gap: 0.5rem;
}

.interface-dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
}

.interface-dots span:first-child { background: #ff5f57; }
.interface-dots span:nth-child(2) { background: #febc2e; }
.interface-dots span:last-child { background: #28c840; }

.interface-header span:last-child {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.interface-content {
    padding: 1.5rem;
}

.chat-bubble {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.ai-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--primary-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.875rem;
    flex-shrink: 0;
}

.chat-bubble .message {
    background: rgba(0, 212, 255, 0.1);
    padding: 0.75rem 1rem;
    border-radius: 12px;
    color: var(--text-primary);
    font-size: 0.875rem;
}

.data-flow {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.flow-item {
    flex: 1;
    background: rgba(255, 255, 255, 0.05);
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
    border: 1px solid rgba(0, 212, 255, 0.1);
}

.flow-icon {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.flow-item span {
    font-size: 0.75rem;
    color: var(--text-secondary);
}

/* ==================== 核心优势区 ==================== */
.advantages-section {
    padding: 6rem 2rem;
    position: relative;
    z-index: 1;
    background: linear-gradient(180deg, var(--bg-darker) 0%, var(--bg-dark) 100%);
}

.section-container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.advantage-card {
    background: var(--bg-card);
    border: 1px solid rgba(0, 212, 255, 0.1);
    border-radius: 16px;
    padding: 2.5rem;
    transition: var(--transition-base);
    position: relative;
    overflow: hidden;
}

.advantage-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--primary-gradient);
    transform: scaleX(0);
    transition: var(--transition-base);
}

.advantage-card:hover {
    background: var(--bg-card-hover);
    border-color: rgba(0, 212, 255, 0.3);
    transform: translateY(-10px);
    box-shadow: var(--shadow-glow);
}

.advantage-card:hover::before {
    transform: scaleX(1);
}

.advantage-icon {
    width: 64px;
    height: 64px;
    margin-bottom: 1.5rem;
    transition: var(--transition-slow);
}

.advantage-card:hover .advantage-icon {
    transform: rotateY(360deg);
}

.advantage-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.advantage-desc {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.advantage-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: 20px;
    font-size: 0.875rem;
    color: var(--primary-blue);
}

/* ==================== 产品功能区 ==================== */
.features-section {
    padding: 6rem 2rem;
    position: relative;
    z-index: 1;
    background: var(--bg-dark);
}

.features-timeline {
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

.feature-item {
    position: relative;
}

.feature-number {
    position: absolute;
    top: 0;
    left: 0;
    font-size: 6rem;
    font-weight: 700;
    color: rgba(0, 212, 255, 0.1);
    line-height: 1;
}

.feature-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    padding-top: 3rem;
}

.feature-content.reverse {
    direction: rtl;
}

.feature-content.reverse > * {
    direction: ltr;
}

.feature-visual {
    display: flex;
    justify-content: center;
}

.demo-window {
    width: 100%;
    max-width: 450px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-card);
}

.demo-header {
    display: flex;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    background: rgba(0, 0, 0, 0.3);
}

.demo-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
}

.demo-dot:first-child { background: #ff5f57; }
.demo-dot:nth-child(2) { background: #febc2e; }
.demo-dot:last-child { background: #28c840; }

.demo-body {
    padding: 1.5rem;
    min-height: 200px;
}

.chat-demo {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.demo-message {
    padding: 0.75rem 1rem;
    border-radius: 12px;
    font-size: 0.875rem;
    max-width: 80%;
}

.demo-message.ai-msg {
    background: rgba(0, 212, 255, 0.1);
    align-self: flex-start;
}

.demo-message.user-msg {
    background: rgba(139, 92, 246, 0.1);
    align-self: flex-end;
}

.demo-message.typing::after {
    content: '|';
    animation: blink 1s infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

.analysis-demo .tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.tag {
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 500;
}

.tag.high { background: rgba(16, 185, 129, 0.2); color: #10b981; }
.tag.medium { background: rgba(0, 212, 255, 0.2); color: #00D4FF; }
.tag.low { background: rgba(245, 158, 11, 0.2); color: #f59e0b; }
.tag.active { background: rgba(139, 92, 246, 0.2); color: #8b5cf6; }

.analysis-chart {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.chart-bar {
    height: 24px;
    background: var(--primary-gradient);
    border-radius: 4px;
    width: var(--width);
    animation: grow 1s ease-out;
}

@keyframes grow {
    from { width: 0; }
    to { width: var(--width); }
}

.timeline-demo .timeline {
    display: flex;
    justify-content: space-between;
    position: relative;
    margin-top: 2rem;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 12px;
    left: 0;
    right: 0;
    height: 2px;
    background: rgba(0, 212, 255, 0.2);
}

.timeline-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    position: relative;
    z-index: 1;
}

.timeline-dot {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: rgba(0, 212, 255, 0.2);
    border: 2px solid rgba(0, 212, 255, 0.3);
}

.timeline-item.active .timeline-dot {
    background: var(--primary-gradient);
    border-color: var(--primary-blue);
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.5);
}

.timeline-item span {
    font-size: 0.75rem;
    color: var(--text-secondary);
}

.activation-demo .activation-flow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.flow-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.step-icon {
    font-size: 2rem;
}

.flow-step span {
    font-size: 0.75rem;
    color: var(--text-secondary);
}

.flow-arrow {
    color: var(--primary-blue);
    font-size: 1.5rem;
}

.success-rate {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: rgba(16, 185, 129, 0.1);
    border-radius: 8px;
}

.rate-label {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.rate-value {
    font-size: 2rem;
    font-weight: 700;
    color: #10b981;
}

.feature-info {
    padding: 1rem;
}

.feature-title {
    font-size: 1.75rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.feature-desc {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.feature-points {
    list-style: none;
}

.feature-points li {
    padding: 0.5rem 0;
    color: var(--text-secondary);
}

.feature-points li::before {
    content: '✓';
    color: var(--primary-blue);
    margin-right: 0.5rem;
}

.features-cta {
    text-align: center;
    margin-top: 4rem;
}

/* ==================== 场景落地区 ==================== */
.scenarios-section {
    padding: 6rem 2rem;
    position: relative;
    z-index: 1;
    background: linear-gradient(180deg, var(--bg-dark) 0%, var(--bg-darker) 100%);
}

.scenario-filters {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.6rem 1.25rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: 20px;
    color: var(--text-secondary);
    font-size: 0.85rem;
    cursor: pointer;
    transition: var(--transition-base);
}

.filter-btn:hover {
    background: rgba(0, 212, 255, 0.1);
    border-color: rgba(0, 212, 255, 0.4);
    color: var(--text-primary);
}

.filter-btn.active {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.15), rgba(139, 92, 246, 0.15));
    border-color: var(--primary-blue);
    color: var(--primary-blue);
    font-weight: 500;
}

.scenarios-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

@media (min-width: 1400px) {
    .scenarios-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 1024px) {
    .scenarios-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .scenarios-grid {
        grid-template-columns: 1fr;
    }
}

.scenario-card {
    background: var(--bg-card);
    border: 1px solid rgba(0, 212, 255, 0.1);
    border-radius: 16px;
    padding: 1.5rem;
    transition: var(--transition-base);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.scenario-card:hover {
    background: var(--bg-card-hover);
    border-color: rgba(0, 212, 255, 0.3);
    transform: translateY(-8px);
    box-shadow: var(--shadow-glow);
}

.scenario-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.scenario-icon {
    font-size: 2.5rem;
    margin-bottom: 0;
    line-height: 1;
}

.scenario-badge {
    padding: 0.25rem 0.6rem;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.2), rgba(139, 92, 246, 0.2));
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: 12px;
    font-size: 0.65rem;
    font-weight: 600;
    color: var(--primary-blue);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.scenario-badge.new {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.2), rgba(0, 212, 255, 0.2));
    border-color: rgba(16, 185, 129, 0.3);
    color: #10b981;
}

.scenario-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.scenario-desc {
    color: var(--text-secondary);
    font-size: 0.8rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.scenario-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.25rem;
}

.feature-tag {
    padding: 0.3rem 0.6rem;
    background: rgba(0, 212, 255, 0.08);
    border: 1px solid rgba(0, 212, 255, 0.15);
    border-radius: 10px;
    font-size: 0.65rem;
    color: var(--primary-blue);
    transition: all 0.2s ease;
}

.scenario-card:hover .feature-tag {
    background: rgba(0, 212, 255, 0.15);
    border-color: rgba(0, 212, 255, 0.3);
}

.scenario-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.s-stat {
    text-align: center;
    padding: 0.5rem;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 8px;
}

.s-value {
    display: block;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 0.15rem;
}

.s-label {
    font-size: 0.6rem;
    color: var(--text-muted);
    display: block;
}

/* 场景筛选动画 - 平滑过渡 */
.scenario-card {
    transition: opacity 0.35s ease, transform 0.35s ease;
}

.scenario-card.hidden {
    opacity: 0;
    transform: scale(0.95);
    pointer-events: none;
    position: absolute;
    visibility: hidden;
}

/* ==================== 客户案例区 ==================== */
.cases-section {
    padding: 6rem 2rem;
    position: relative;
    z-index: 1;
    background: var(--bg-dark);
}

.cases-slider {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

.case-card {
    background: var(--bg-card);
    border: 1px solid rgba(0, 212, 255, 0.1);
    border-radius: 16px;
    padding: 2rem;
    transition: var(--transition-base);
}

.case-card:hover {
    background: var(--bg-card-hover);
    border-color: rgba(0, 212, 255, 0.3);
    transform: translateY(-5px);
}

.case-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.case-logo {
    font-size: 1.125rem;
    font-weight: 600;
}

.case-industry {
    padding: 0.25rem 0.75rem;
    background: rgba(0, 212, 255, 0.1);
    border-radius: 12px;
    font-size: 0.75rem;
    color: var(--primary-blue);
}

.case-results {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.result-item {
    text-align: center;
}

.result-value {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-blue);
}

.result-unit {
    font-size: 1.5rem;
    color: var(--primary-blue);
}

.result-label {
    display: block;
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-top: 0.25rem;
}

.cases-more {
    display: block;
    margin: 0 auto;
}

/* ==================== 技术实力区 ==================== */
.technology-section {
    padding: 6rem 2rem;
    position: relative;
    z-index: 1;
    background: linear-gradient(180deg, var(--bg-darker) 0%, var(--bg-dark) 100%);
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.tech-card {
    background: var(--bg-card);
    border: 1px solid rgba(0, 212, 255, 0.1);
    border-radius: 16px;
    padding: 2.5rem;
    text-align: center;
    transition: var(--transition-base);
}

.tech-card:hover {
    background: var(--bg-card-hover);
    border-color: rgba(0, 212, 255, 0.3);
    transform: translateY(-10px);
    box-shadow: var(--shadow-glow);
}

.tech-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1.5rem;
    color: var(--primary-blue);
}

.tech-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.tech-desc {
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: 0.875rem;
}

/* ==================== 合作咨询区 ==================== */
.contact-section {
    padding: 6rem 2rem;
    position: relative;
    z-index: 1;
    background: var(--bg-dark);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.contact-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.contact-desc {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.contact-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-feature {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-secondary);
}

.feature-icon {
    color: var(--primary-blue);
    font-weight: 700;
}

.contact-form-wrapper {
    background: var(--bg-card);
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: var(--shadow-card);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group label {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.875rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: 8px;
    color: var(--text-primary);
    font-size: 1rem;
    transition: var(--transition-base);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
}

.form-group select {
    cursor: pointer;
}

.btn-submit {
    width: 100%;
    padding: 1rem;
    background: var(--primary-gradient);
    border: none;
    border-radius: 8px;
    color: white;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-base);
    position: relative;
    overflow: hidden;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

/* ==================== 底部信息区 ==================== */
.footer-section {
    background: var(--bg-darker);
    border-top: 1px solid rgba(0, 212, 255, 0.1);
    position: relative;
    z-index: 1;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem 2rem;
}

.footer-main {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer-logo {
    font-size: 2rem;
    font-weight: 700;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
}

.footer-slogan {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.footer-ai-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(0, 212, 255, 0.1);
    border-radius: 20px;
    font-size: 0.875rem;
    color: var(--primary-blue);
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.footer-column h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer-column a {
    display: block;
    color: var(--text-secondary);
    text-decoration: none;
    padding: 0.5rem 0;
    transition: var(--transition-base);
}

.footer-column a:hover {
    color: var(--primary-blue);
}

.footer-column p {
    color: var(--text-secondary);
    font-size: 0.875rem;
    padding: 0.25rem 0;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-legal {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.footer-legal a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.875rem;
    transition: var(--transition-base);
}

.footer-legal a:hover {
    color: var(--primary-blue);
}

.copyright {
    color: var(--text-muted);
    font-size: 0.875rem;
}

.beian {
    color: var(--text-muted);
    font-size: 0.75rem;
    text-decoration: none;
}

.beian:hover {
    color: var(--primary-blue);
}

.security-badge {
    padding: 0.5rem 1rem;
    background: rgba(16, 185, 129, 0.1);
    border-radius: 20px;
    font-size: 0.875rem;
    color: #10b981;
}

.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--primary-gradient);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-base);
    box-shadow: var(--shadow-glow);
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-5px);
}

/* ==================== AI 咨询窗口 ==================== */
.ai-chat-modal {
    position: fixed;
    bottom: 2rem;
    right: 6rem;
    width: 380px;
    height: 500px;
    background: rgba(10, 14, 39, 0.98);
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    display: none;
    flex-direction: column;
    z-index: 1001;
    overflow: hidden;
}

.ai-chat-modal.active {
    display: flex;
    animation: slideUp 0.3s ease;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.chat-modal-content {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.chat-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    background: rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid rgba(0, 212, 255, 0.2);
}

.chat-modal-header h3 {
    font-size: 1rem;
    font-weight: 600;
}

.close-btn {
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 1.5rem;
    cursor: pointer;
    transition: var(--transition-base);
}

.close-btn:hover {
    color: var(--primary-blue);
}

.chat-modal-body {
    flex: 1;
    padding: 1rem;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.chat-message {
    display: flex;
    gap: 0.75rem;
}

.chat-message.user {
    flex-direction: row-reverse;
}

.message-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--primary-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 600;
    flex-shrink: 0;
}

.chat-message.user .message-avatar {
    background: rgba(139, 92, 246, 0.5);
}

.message-content {
    padding: 0.75rem 1rem;
    border-radius: 12px;
    font-size: 0.875rem;
    max-width: 75%;
}

.chat-message.ai .message-content {
    background: rgba(0, 212, 255, 0.1);
}

.chat-message.user .message-content {
    background: rgba(139, 92, 246, 0.1);
}

.chat-modal-footer {
    display: flex;
    gap: 0.75rem;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.3);
    border-top: 1px solid rgba(0, 212, 255, 0.2);
}

#chatInput {
    flex: 1;
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: 8px;
    color: var(--text-primary);
    font-size: 0.875rem;
}

#chatInput:focus {
    outline: none;
    border-color: var(--primary-blue);
}

.send-btn {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: var(--primary-gradient);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: var(--transition-base);
}

.send-btn:hover {
    transform: scale(1.05);
}

/* ==================== 响应式设计 ==================== */
@media (max-width: 1024px) {
    .hero-section {
        flex-direction: column;
        text-align: center;
    }

    .hero-content {
        margin-right: 0;
        margin-bottom: 3rem;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .advantages-grid {
        grid-template-columns: 1fr;
    }

    .feature-content {
        grid-template-columns: 1fr;
    }

    .feature-content.reverse {
        direction: ltr;
    }

    .cases-slider {
        grid-template-columns: 1fr;
    }

    .tech-grid {
        grid-template-columns: 1fr;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .footer-main {
        grid-template-columns: 1fr;
    }

    .footer-links {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(10, 14, 39, 0.98);
        flex-direction: column;
        padding: 1rem;
        gap: 0;
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-item {
        padding: 1rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        background: transparent;
        border: none;
        padding-left: 1rem;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .btn-consult {
        display: none;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-visual {
        display: none;
    }

    .section-title {
        font-size: 2rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .scenario-filters {
        gap: 0.5rem;
    }
    
    .filter-btn {
        padding: 0.5rem 1rem;
        font-size: 0.75rem;
    }
    
    .scenario-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.5rem;
    }
    
    .s-value {
        font-size: 1rem;
    }

    .footer-links {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .footer-legal {
        flex-direction: column;
        gap: 0.5rem;
    }

    .ai-chat-modal {
        right: 1rem;
        left: 1rem;
        width: auto;
    }
}

@media (max-width: 480px) {
    .nav-container {
        padding: 0.75rem 1rem;
    }

    .hero-section {
        padding: 6rem 1rem 2rem;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
    }

    .section-container {
        padding: 0 1rem;
    }

    .advantage-card,
    .scenario-card,
    .case-card,
    .tech-card {
        padding: 1.5rem;
    }
}

/* ==================== 滚动条样式 ==================== */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
}

::-webkit-scrollbar-thumb {
    background: rgba(0, 212, 255, 0.3);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 212, 255, 0.5);
}

/* ==================== 加载动画 ==================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease forwards;
}

/* ==================== 数字动画 ==================== */
@keyframes countUp {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* ==================== 自定义光标 ==================== */
.custom-cursor {
    width: 20px;
    height: 20px;
    border: 2px solid var(--primary-blue);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 10000;
    transition: transform 0.1s ease, background 0.2s ease;
    transform: translate(-50%, -50%);
    mix-blend-mode: difference;
}

.custom-cursor.hover {
    transform: translate(-50%, -50%) scale(1.5);
    background: rgba(0, 212, 255, 0.3);
}

.cursor-trail {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    transition: all 0.3s ease;
    transform: translate(-50%, -50%);
}

.trail-dot {
    width: 8px;
    height: 8px;
    background: var(--primary-blue);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9998;
    transform: translate(-50%, -50%);
    opacity: 0;
}

/* ==================== 卡片悬浮粒子效果 ==================== */
.hover-particle {
    position: absolute;
    width: 6px;
    height: 6px;
    background: var(--primary-blue);
    border-radius: 50%;
    pointer-events: none;
    animation: particleBurst 1s ease-out forwards;
    box-shadow: 0 0 10px var(--primary-blue);
}

@keyframes particleBurst {
    0% {
        transform: translate(0, 0) scale(1);
        opacity: 1;
    }
    100% {
        transform: translate(
            calc(cos(var(--angle)) * var(--distance)),
            calc(sin(var(--angle)) * var(--distance))
        ) scale(0);
        opacity: 0;
    }
}

/* ==================== 按钮波纹效果 ==================== */
.button-ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    transform: scale(0);
    animation: ripple 0.6s linear;
    pointer-events: none;
}

@keyframes ripple {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* ==================== 滚动进度条 ==================== */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: var(--primary-gradient);
    z-index: 10000;
    transition: width 0.1s ease;
    box-shadow: 0 0 10px var(--primary-blue);
}

/* ==================== 文字故障效果 ==================== */
.glitch {
    animation: glitch 0.3s ease;
}

@keyframes glitch {
    0%, 100% {
        text-shadow: none;
    }
    25% {
        text-shadow: -2px 0 #ff00ff, 2px 0 #00ffff;
        transform: translate(-1px, 0);
    }
    50% {
        text-shadow: 2px 0 #ff00ff, -2px 0 #00ffff;
        transform: translate(1px, 0);
    }
    75% {
        text-shadow: -1px 0 #ff00ff, 1px 0 #00ffff;
        transform: translate(0, -1px);
    }
}

/* ==================== 滚动动画 ==================== */
.animate-in {
    animation: fadeInUp 0.6s ease forwards;
}

/* ==================== 数据流动画 ==================== */
.flowing-dot {
    position: absolute;
    width: 8px;
    height: 8px;
    background: var(--primary-blue);
    border-radius: 50%;
    animation: flowMove 3s ease-in-out infinite;
    box-shadow: 0 0 15px var(--primary-blue);
}

@keyframes flowMove {
    0%, 100% {
        transform: translateX(-100%) scale(0);
        opacity: 0;
    }
    10% {
        opacity: 1;
        transform: scale(1);
    }
    90% {
        opacity: 1;
        transform: scale(1);
    }
    100% {
        transform: translateX(100%) scale(0);
        opacity: 0;
    }
}

/* ==================== 加载动画 ==================== */
.loading-spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-right: 10px;
    vertical-align: middle;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ==================== 成功消息样式 ==================== */
.success-message {
    text-align: center;
    padding: 3rem;
    animation: fadeInUp 0.5s ease;
}

.success-icon {
    width: 80px;
    height: 80px;
    background: var(--primary-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    margin: 0 auto 1.5rem;
    animation: successPop 0.5s ease;
    box-shadow: 0 0 30px rgba(0, 212, 255, 0.5);
}

@keyframes successPop {
    0% {
        transform: scale(0);
    }
    50% {
        transform: scale(1.2);
    }
    100% {
        transform: scale(1);
    }
}

.success-message h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--primary-blue);
}

.success-message p {
    color: var(--text-secondary);
}

/* ==================== 打字指示器 ==================== */
.typing-indicator .message-content {
    display: flex;
    gap: 4px;
    padding: 0.5rem 1rem;
}

.typing-indicator .dot {
    width: 8px;
    height: 8px;
    background: var(--primary-blue);
    border-radius: 50%;
    animation: typingDot 1.4s ease-in-out infinite;
}

.typing-indicator .dot:nth-child(2) {
    animation-delay: 0.2s;
}

.typing-indicator .dot:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes typingDot {
    0%, 60%, 100% {
        transform: translateY(0);
        opacity: 0.5;
    }
    30% {
        transform: translateY(-10px);
        opacity: 1;
    }
}

/* ==================== 霓虹发光效果 ==================== */
.neon-glow {
    animation: neonPulse 2s ease-in-out infinite;
}

@keyframes neonPulse {
    0%, 100% {
        text-shadow: 
            0 0 5px var(--primary-blue),
            0 0 10px var(--primary-blue),
            0 0 20px var(--primary-blue);
    }
    50% {
        text-shadow: 
            0 0 10px var(--primary-blue),
            0 0 20px var(--primary-blue),
            0 0 40px var(--primary-blue),
            0 0 80px var(--primary-blue);
    }
}

/* ==================== 浮动动画 ==================== */
.float-animation {
    animation: floatUpDown 3s ease-in-out infinite;
}

@keyframes floatUpDown {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* ==================== 脉冲边框 ==================== */
.pulse-border {
    position: relative;
}

.pulse-border::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: inherit;
    padding: 2px;
    background: var(--primary-gradient);
    -webkit-mask: 
        linear-gradient(#fff 0 0) content-box, 
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    animation: pulseBorder 2s ease-in-out infinite;
}

@keyframes pulseBorder {
    0%, 100% {
        opacity: 0.5;
    }
    50% {
        opacity: 1;
    }
}

/* ==================== 光效扫描 ==================== */
.sweep-light {
    position: relative;
    overflow: hidden;
}

.sweep-light::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent
    );
    animation: sweepLight 3s ease-in-out infinite;
}

@keyframes sweepLight {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

/* ==================== 3D 卡片悬浮 ==================== */
.card-3d {
    transform-style: preserve-3d;
    transition: transform 0.5s ease;
}

.card-3d:hover {
    transform: perspective(1000px) rotateX(5deg) rotateY(5deg);
}

/* ==================== 闪烁星星效果 ==================== */
.sparkle {
    position: relative;
}

.sparkle::before,
.sparkle::after {
    content: '✦';
    position: absolute;
    color: var(--primary-blue);
    font-size: 12px;
    animation: sparkle 1.5s ease-in-out infinite;
}

.sparkle::before {
    top: -5px;
    right: -5px;
    animation-delay: 0.5s;
}

.sparkle::after {
    bottom: -5px;
    left: -5px;
}

@keyframes sparkle {
    0%, 100% {
        opacity: 0;
        transform: scale(0);
    }
    50% {
        opacity: 1;
        transform: scale(1);
    }
}

/* ==================== 渐变边框动画 ==================== */
.gradient-border {
    position: relative;
    background: var(--bg-card);
    border-radius: 16px;
}

.gradient-border::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: inherit;
    padding: 2px;
    background: linear-gradient(
        45deg,
        var(--primary-blue),
        var(--accent-purple),
        var(--accent-green),
        var(--primary-blue)
    );
    background-size: 300% 300%;
    -webkit-mask: 
        linear-gradient(#fff 0 0) content-box, 
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    animation: gradientMove 4s linear infinite;
}

@keyframes gradientMove {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* ==================== 粒子背景增强 ==================== */
#particleCanvas {
    opacity: 0.7;
}

/* ==================== 装饰元素 ==================== */
.decorative-elements {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.floating-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.3;
    animation: orbFloat 20s ease-in-out infinite;
}

.orb-1 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.4) 0%, transparent 70%);
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.orb-2 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.4) 0%, transparent 70%);
    top: 60%;
    right: 10%;
    animation-delay: -7s;
}

.orb-3 {
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.3) 0%, transparent 70%);
    bottom: 20%;
    left: 30%;
    animation-delay: -14s;
}

@keyframes orbFloat {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    25% {
        transform: translate(50px, -30px) scale(1.1);
    }
    50% {
        transform: translate(-30px, 50px) scale(0.9);
    }
    75% {
        transform: translate(-50px, -20px) scale(1.05);
    }
}

.grid-lines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(0, 212, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 212, 255, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: gridMove 30s linear infinite;
}

@keyframes gridMove {
    0% {
        transform: translate(0, 0);
    }
    100% {
        transform: translate(50px, 50px);
    }
}

/* ==================== 交互提示动画 ==================== */
.interaction-hint {
    position: fixed;
    bottom: 100px;
    right: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    animation: hintBounce 2s ease-in-out infinite;
    z-index: 100;
    opacity: 0.8;
    pointer-events: none;
}

@keyframes hintBounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* ==================== 数字计数动画增强 ==================== */
.stat-item {
    position: relative;
}

.stat-item::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--primary-gradient);
    transition: width 0.3s ease;
}

.stat-item:hover::after {
    width: 100%;
}

/* ==================== 波纹背景 ==================== */
.ripple-bg {
    position: relative;
    overflow: hidden;
}

.ripple-bg::before {
    content: '';
    position: absolute;
    width: 200%;
    height: 200%;
    top: -50%;
    left: -50%;
    background: radial-gradient(
        circle,
        rgba(0, 212, 255, 0.1) 0%,
        transparent 50%
    );
    animation: rippleBg 10s linear infinite;
}

@keyframes rippleBg {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* ==================== 响应式调整（新增样式） ==================== */
@media (max-width: 768px) {
    .custom-cursor,
    .cursor-trail,
    .trail-dot {
        display: none;
    }
    
    .scroll-progress {
        height: 2px;
    }
}

/* ==================== 减少动画（无障碍） ==================== */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ==================== AI销售场景演示区 - 增强版布局 ==================== */
.ai-sales-section {
    padding: 6rem 2rem;
    position: relative;
    z-index: 1;
    background: linear-gradient(180deg, var(--bg-dark) 0%, var(--bg-darker) 100%);
}

/* 主容器 - 左右两栏布局 */
.sales-demo-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 3rem;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

/* 左侧列 */
.demo-left-column {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

/* 右侧列 */
.demo-right-column {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

/* 卡片基础样式 */
.sales-demo-card {
    background: var(--bg-card);
    border: 1px solid rgba(0, 212, 255, 0.15);
    border-radius: 16px;
    overflow: hidden;
    transition: var(--transition-base);
    position: relative;
}

.sales-demo-card:hover {
    border-color: rgba(0, 212, 255, 0.4);
    box-shadow: 0 10px 40px rgba(0, 212, 255, 0.15);
}

/* 卡片头部 */
.demo-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.25rem;
    background: rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid rgba(0, 212, 255, 0.1);
}

.header-left {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.demo-status {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.7rem;
    color: var(--text-secondary);
    padding: 0.25rem 0.6rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
}

.demo-status .status-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--text-muted);
}

.demo-status.live .status-dot {
    background: #ef4444;
    animation: pulse 2s ease-in-out infinite;
}

.demo-status.processing .status-dot {
    background: #f59e0b;
    animation: spin 1s linear infinite;
}

.demo-status.success .status-dot {
    background: #10b981;
}

.demo-status.ai .status-dot {
    background: var(--primary-blue);
    animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.2); }
}

.demo-title {
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--text-primary);
}

.session-info {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.7rem;
    color: var(--text-muted);
}

.session-id {
    opacity: 0.7;
}

.session-time {
    font-family: 'JetBrains Mono', monospace;
    color: var(--primary-blue);
}

/* ==================== 聊天演示 - 增强版 ==================== */
.chat-container-enhanced {
    height: 320px;
    overflow-y: auto;
    padding: 1rem;
    position: relative;
    background: rgba(0, 0, 0, 0.2);
}

.chat-messages-wrapper {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding-bottom: 1rem;
}

.chat-msg {
    max-width: 90%;
    padding: 0.75rem 1rem;
    border-radius: 12px;
    font-size: 0.8rem;
    animation: slideIn 0.3s ease;
    line-height: 1.6;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.chat-msg.ai {
    background: rgba(0, 212, 255, 0.12);
    align-self: flex-start;
    border-bottom-left-radius: 4px;
    border: 1px solid rgba(0, 212, 255, 0.2);
}

.chat-msg.user {
    background: rgba(139, 92, 246, 0.12);
    align-self: flex-end;
    border-bottom-right-radius: 4px;
    border: 1px solid rgba(139, 92, 246, 0.2);
}

.chat-msg .sender {
    font-size: 0.65rem;
    color: var(--primary-blue);
    margin-bottom: 0.35rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.sender-badge {
    font-size: 0.55rem;
    padding: 0.15rem 0.4rem;
    background: rgba(0, 212, 255, 0.2);
    border-radius: 8px;
    color: var(--primary-blue);
}

.chat-msg .message-text {
    color: var(--text-secondary);
    white-space: pre-line;
}

/* 打字指示器 */
.typing-indicator-chat {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
}

.typing-avatar {
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-purple));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.6rem;
    font-weight: 600;
    color: white;
}

.typing-dots {
    display: flex;
    gap: 4px;
}

.typing-dots span {
    width: 6px;
    height: 6px;
    background: var(--primary-blue);
    border-radius: 50%;
    animation: typingBounce 1.4s ease-in-out infinite;
}

.typing-dots span:nth-child(2) { animation-delay: 0.2s; }
.typing-dots span:nth-child(3) { animation-delay: 0.4s; }

@keyframes typingBounce {
    0%, 60%, 100% { transform: translateY(0); }
    30% { transform: translateY(-4px); }
}

/* 聊天输入区域 */
.chat-input-area {
    padding: 0.75rem 1rem;
    background: rgba(0, 0, 0, 0.3);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.quick-replies {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.quick-reply {
    padding: 0.4rem 0.8rem;
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: 16px;
    font-size: 0.7rem;
    color: var(--primary-blue);
    cursor: pointer;
    transition: all 0.2s ease;
}

.quick-reply:hover {
    background: rgba(0, 212, 255, 0.2);
    border-color: var(--primary-blue);
}

/* 聊天指标 */
.demo-metrics-enhanced {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.2);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.metric-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
}

.metric-icon {
    font-size: 1rem;
}

.metric-content {
    display: flex;
    flex-direction: column;
}

.metric-value {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary-blue);
}

.metric-label {
    font-size: 0.6rem;
    color: var(--text-muted);
}

/* ==================== 客户分析 - 增强版 ==================== */
.analysis-container {
    padding: 1.25rem;
}

.customer-basic-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.customer-avatar-section {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex: 1;
}

.profile-avatar-enhanced {
    position: relative;
    width: 56px;
    height: 56px;
}

.avatar-ring {
    position: absolute;
    inset: -3px;
    border: 2px solid transparent;
    border-top-color: var(--primary-blue);
    border-right-color: var(--primary-purple);
    border-radius: 50%;
    animation: rotate 3s linear infinite;
}

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

.avatar-inner {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.2), rgba(139, 92, 246, 0.2));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.avatar-icon {
    font-size: 1.5rem;
}

.avatar-badge {
    position: absolute;
    bottom: -2px;
    right: -2px;
    width: 18px;
    height: 18px;
    background: #10b981;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--bg-card);
}

.avatar-badge svg {
    width: 10px;
    height: 10px;
    color: white;
}

.customer-name-section {
    flex: 1;
}

.profile-name {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.customer-company {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.intent-score-section {
    text-align: center;
}

.score-ring-container {
    position: relative;
    width: 80px;
    height: 80px;
    margin: 0 auto;
}

.score-ring-svg {
    width: 100%;
    height: 100%;
}

.score-center {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1px;
}

.score-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
}

.score-suffix {
    font-size: 0.7rem;
    color: var(--text-muted);
}

.score-label {
    font-size: 0.65rem;
    color: var(--text-muted);
    margin-top: 0.25rem;
}

.score-level {
    font-size: 0.7rem;
    font-weight: 600;
    color: #10b981;
    margin-top: 0.25rem;
}

/* 分析维度 */
.analysis-dimensions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.dimension-item {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    padding: 0.75rem 1rem;
}

.dimension-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.dimension-icon {
    font-size: 0.9rem;
}

.dimension-name {
    font-size: 0.75rem;
    color: var(--text-secondary);
    flex: 1;
}

.dimension-score {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary-blue);
}

.dimension-bar {
    height: 6px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 0.35rem;
}

.dimension-fill {
    height: 100%;
    width: var(--width);
    background: linear-gradient(90deg, var(--primary-blue), var(--primary-purple));
    border-radius: 3px;
    animation: fillIn 1s ease forwards;
}

@keyframes fillIn {
    from { width: 0; }
}

.dimension-detail {
    font-size: 0.65rem;
    color: var(--text-muted);
}

/* AI标签 */
.ai-tags-section {
    margin-bottom: 1rem;
}

.tags-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.75rem;
}

.tags-title {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.tags-count {
    font-size: 0.65rem;
    color: var(--text-muted);
}

.tags-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.profile-tag {
    padding: 0.3rem 0.7rem;
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: 12px;
    font-size: 0.65rem;
    color: var(--primary-blue);
    animation: tagPop 0.3s ease;
}

.profile-tag.highlight {
    background: rgba(16, 185, 129, 0.15);
    border-color: rgba(16, 185, 129, 0.3);
    color: #10b981;
}

.profile-tag.warning {
    background: rgba(245, 158, 11, 0.15);
    border-color: rgba(245, 158, 11, 0.3);
    color: #f59e0b;
}

@keyframes tagPop {
    0% { transform: scale(0); opacity: 0; }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); opacity: 1; }
}

/* 行为轨迹 */
.behavior-trail {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    padding: 1rem;
}

.trail-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.75rem;
}

.trail-title {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.trail-time {
    font-size: 0.65rem;
    color: var(--text-muted);
}

.trail-items {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.trail-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 6px;
    animation: slideIn 0.3s ease;
}

.trail-icon {
    font-size: 0.9rem;
}

.trail-text {
    flex: 1;
    font-size: 0.7rem;
    color: var(--text-secondary);
}

.trail-timestamp {
    font-size: 0.6rem;
    color: var(--text-muted);
}

/* ==================== 销售漏斗 - 增强版 ==================== */
.funnel-container-enhanced {
    padding: 1.25rem;
}

.funnel-visual {
    margin-bottom: 1.5rem;
}

.funnel-stage-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.75rem;
    position: relative;
}

.stage-visual {
    width: 100%;
    max-width: 200px;
    height: 24px;
    background: rgba(0, 212, 255, 0.05);
    border-radius: 4px;
    position: relative;
    overflow: hidden;
}

.stage-fill {
    position: absolute;
    inset: 0;
    width: var(--stage-width);
    background: linear-gradient(90deg, rgba(0, 212, 255, 0.3), rgba(0, 212, 255, 0.5));
    border-radius: 4px;
    animation: fillIn 1s ease forwards;
}

.funnel-stage-item.success .stage-fill {
    background: linear-gradient(90deg, rgba(16, 185, 129, 0.3), rgba(16, 185, 129, 0.5));
}

.stage-label {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.stage-name {
    font-size: 0.7rem;
    color: var(--text-secondary);
}

.stage-num {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-primary);
}

.stage-num.highlight {
    color: #10b981;
}

.stage-rate {
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--text-muted);
    min-width: 50px;
    text-align: right;
}

.stage-rate.success {
    color: #10b981;
}

/* 漏斗统计卡片 */
.funnel-stats-enhanced {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
}

.funnel-stat-card {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    padding: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.stat-icon-wrapper {
    width: 36px;
    height: 36px;
    background: rgba(0, 212, 255, 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.stat-icon {
    font-size: 1rem;
}

.stat-body {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.stat-value {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-primary);
}

.stat-label {
    font-size: 0.6rem;
    color: var(--text-muted);
}

.stat-trend {
    font-size: 0.6rem;
    font-weight: 600;
    margin-top: 0.15rem;
}

.stat-trend.up {
    color: #10b981;
}

.realtime-badge {
    font-size: 0.6rem;
    padding: 0.2rem 0.5rem;
    background: rgba(16, 185, 129, 0.15);
    color: #10b981;
    border-radius: 8px;
    animation: pulse 2s ease-in-out infinite;
}

.analysis-progress {
    font-size: 0.65rem;
    color: var(--primary-blue);
    font-family: 'JetBrains Mono', monospace;
}

/* ==================== 产品推荐 - 增强版 ==================== */
.recommend-container-enhanced {
    padding: 1.25rem;
}

.customer-demand-analysis {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    padding: 1rem;
    margin-bottom: 1rem;
}

.demand-title {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 0.75rem;
}

.demand-items {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.demand-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.7rem;
    color: var(--text-muted);
}

.demand-item.active {
    color: var(--text-secondary);
}

.demand-icon {
    font-size: 0.65rem;
}

.demand-item.active .demand-icon {
    color: #10b981;
}

.recommend-results {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    padding: 1rem;
}

.recommend-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.75rem;
}

.recommend-title {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.recommend-tip {
    font-size: 0.6rem;
    color: var(--text-muted);
}

.product-cards {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.product-card {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    animation: slideIn 0.3s ease;
}

.product-card.recommended {
    border-color: rgba(16, 185, 129, 0.3);
    background: rgba(16, 185, 129, 0.05);
}

.product-icon {
    font-size: 1.25rem;
}

.product-info {
    flex: 1;
}

.product-name {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.15rem;
}

.product-desc {
    font-size: 0.65rem;
    color: var(--text-muted);
}

.product-price {
    text-align: right;
}

.price-value {
    display: block;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary-blue);
}

.price-period {
    font-size: 0.6rem;
    color: var(--text-muted);
}

.match-badge {
    font-size: 0.6rem;
    padding: 0.2rem 0.5rem;
    background: rgba(16, 185, 129, 0.15);
    color: #10b981;
    border-radius: 8px;
}

/* ==================== 成交动画 - 增强版 ==================== */
.deal-container-enhanced {
    padding: 1.25rem;
}

.deal-animation-container {
    text-align: center;
    padding: 2rem 1rem;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), rgba(0, 212, 255, 0.1));
    border-radius: 12px;
    margin-bottom: 1rem;
    position: relative;
    overflow: hidden;
}

.deal-success-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1rem;
    color: #10b981;
}

.deal-success-icon svg {
    width: 100%;
    height: 100%;
}

.success-circle {
    stroke-dasharray: 283;
    stroke-dashoffset: 283;
    animation: circleIn 0.5s ease forwards;
}

.success-check {
    stroke-dasharray: 80;
    stroke-dashoffset: 80;
    animation: checkDraw 0.5s ease forwards 0.3s;
}

@keyframes circleIn {
    to { stroke-dashoffset: 0; }
}

@keyframes checkDraw {
    to { stroke-dashoffset: 0; }
}

.deal-info-enhanced {
    position: relative;
    z-index: 1;
}

.deal-amount-large {
    font-size: 2rem;
    font-weight: 700;
    color: #10b981;
    margin-bottom: 0.5rem;
}

.deal-product-name {
    font-size: 0.85rem;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.deal-customer-info {
    font-size: 0.7rem;
    color: var(--text-muted);
}

.deal-particles-enhanced {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.deal-particle-enhanced {
    position: absolute;
    border-radius: 50%;
    animation: particleFly 1s ease-out forwards;
}

@keyframes particleFly {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }
    100% {
        transform: translate(calc(-50% + var(--tx)), calc(-50% + var(--ty))) scale(0);
        opacity: 0;
    }
}

/* 最近成交列表 */
.recent-deals-list {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    padding: 1rem;
}

.list-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.75rem;
}

.list-title {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.list-more {
    font-size: 0.65rem;
    color: var(--primary-blue);
    cursor: pointer;
}

.deal-items-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.deal-item-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 0.75rem;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 6px;
}

.deal-time-badge {
    font-size: 0.6rem;
    color: var(--text-muted);
    min-width: 50px;
}

.deal-product-badge {
    font-size: 0.65rem;
    color: var(--text-secondary);
    flex: 1;
}

.deal-amount-text {
    font-size: 0.75rem;
    font-weight: 600;
    color: #10b981;
}

/* ==================== 响应式调整 ==================== */
@media (max-width: 1200px) {
    .sales-demo-wrapper {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .demo-left-column,
    .demo-right-column {
        gap: 1.5rem;
    }
    
    .funnel-stats-enhanced {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .ai-sales-section {
        padding: 4rem 1rem;
    }
    
    .sales-demo-wrapper {
        gap: 1rem;
    }
    
    .demo-left-column,
    .demo-right-column {
        gap: 1rem;
    }
    
    .demo-card-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .header-right {
        width: 100%;
        justify-content: space-between;
    }
    
    .chat-container-enhanced {
        height: 250px;
    }
    
    .chat-msg {
        max-width: 95%;
        font-size: 0.75rem;
    }
    
    .demo-metrics-enhanced {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }
    
    .customer-basic-info {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .intent-score-section {
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }
    
    .score-ring-container {
        margin: 0;
    }
    
    .funnel-stage-item {
        flex-wrap: wrap;
    }
    
    .stage-visual {
        max-width: 120px;
    }
    
    .stage-rate {
        position: absolute;
        right: 0;
        top: 0;
    }
    
    .funnel-stats-enhanced {
        grid-template-columns: 1fr;
    }
    
    .funnel-stat-card {
        flex-direction: column;
        text-align: center;
    }
    
    .product-card {
        flex-wrap: wrap;
    }
    
    .product-price {
        width: 100%;
        text-align: left;
        margin-top: 0.5rem;
        padding-top: 0.5rem;
        border-top: 1px solid rgba(255, 255, 255, 0.05);
    }
    
    .deal-amount-large {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .ai-sales-section {
        padding: 3rem 0.75rem;
    }
    
    .demo-card-header {
        padding: 0.75rem 1rem;
    }
    
    .analysis-container,
    .funnel-container-enhanced,
    .recommend-container-enhanced,
    .deal-container-enhanced {
        padding: 1rem;
    }
    
    .chat-input-area {
        padding: 0.5rem 0.75rem;
    }
    
    .quick-replies {
        gap: 0.4rem;
    }
    
    .quick-reply {
        padding: 0.3rem 0.6rem;
        font-size: 0.65rem;
    }
    
    .tags-grid {
        gap: 0.4rem;
    }
    
    .profile-tag {
        font-size: 0.6rem;
        padding: 0.25rem 0.5rem;
    }
    
    .deal-item-row {
        flex-wrap: wrap;
        gap: 0.5rem;
    }
}

.chat-messages-wrapper {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.chat-msg {
    max-width: 85%;
    padding: 0.75rem 1rem;
    border-radius: 12px;
    font-size: 0.875rem;
    animation: slideIn 0.3s ease;
    line-height: 1.5;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.chat-msg.ai {
    background: rgba(0, 212, 255, 0.15);
    align-self: flex-start;
    border-bottom-left-radius: 4px;
}

.chat-msg.user {
    background: rgba(139, 92, 246, 0.15);
    align-self: flex-end;
    border-bottom-right-radius: 4px;
}

.chat-msg .sender {
    font-size: 0.7rem;
    color: var(--primary-blue);
    margin-bottom: 0.25rem;
    font-weight: 600;
}

.demo-metrics {
    display: flex;
    justify-content: space-around;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.2);
    border-top: 1px solid rgba(0, 212, 255, 0.1);
}

.metric {
    text-align: center;
}

.metric-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-blue);
}

.metric-label {
    display: block;
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 0.25rem;
}

/* 客户画像演示 */
.profile-container {
    padding: 1.5rem;
    text-align: center;
}

.profile-avatar {
    position: relative;
    width: 80px;
    height: 80px;
    margin: 0 auto 1rem;
}

.avatar-ring {
    position: absolute;
    inset: -4px;
    border: 2px solid var(--primary-blue);
    border-radius: 50%;
    animation: ringPulse 2s ease-in-out infinite;
}

@keyframes ringPulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.1); opacity: 0.5; }
}

.avatar-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background: rgba(0, 212, 255, 0.1);
    border-radius: 50%;
    font-size: 2.5rem;
}

.profile-name {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.profile-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    margin-bottom: 1rem;
}

.profile-tag {
    padding: 0.25rem 0.75rem;
    background: rgba(0, 212, 255, 0.15);
    border-radius: 12px;
    font-size: 0.75rem;
    color: var(--primary-blue);
    animation: tagPop 0.3s ease;
}

@keyframes tagPop {
    0% { transform: scale(0); opacity: 0; }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); opacity: 1; }
}

.profile-score {
    margin: 1rem 0;
}

.score-circle {
    position: relative;
    width: 100px;
    height: 100px;
    margin: 0 auto;
}

.score-circle svg {
    width: 100%;
    height: 100%;
}

.score-value {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary-blue);
}

.score-label {
    display: block;
    margin-top: 0.5rem;
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.profile-details {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    color: var(--text-secondary);
}

/* 销售漏斗演示 */
.funnel-container {
    padding: 1.5rem;
}

.funnel-stages {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.funnel-stage {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.stage-bar {
    flex: 1;
    height: 40px;
    background: rgba(0, 212, 255, 0.1);
    border-radius: 8px;
    overflow: hidden;
    position: relative;
}

.bar-fill {
    height: 100%;
    background: linear-gradient(90deg, rgba(0, 212, 255, 0.3), rgba(0, 212, 255, 0.6));
    width: 0;
    animation: barGrow 1.5s ease forwards;
    animation-delay: var(--delay);
    border-radius: 8px;
}

.stage-bar.success .bar-fill {
    background: linear-gradient(90deg, rgba(16, 185, 129, 0.3), rgba(16, 185, 129, 0.6));
}

@keyframes barGrow {
    to { width: var(--width); }
}

.stage-info {
    min-width: 100px;
    text-align: right;
}

.stage-name {
    display: block;
    font-size: 0.75rem;
    color: var(--text-secondary);
}

.stage-count {
    font-size: 1.25rem;
    font-weight: 600;
}

.stage-count.highlight {
    color: #10b981;
}

.funnel-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.funnel-stat {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 12px;
}

.stat-icon {
    font-size: 2rem;
}

.stat-content .stat-value {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-blue);
}

.stat-content .stat-label {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* 智能推荐演示 */
.recommend-container {
    padding: 1.5rem;
}

.customer-need {
    margin-bottom: 1rem;
}

.need-label {
    display: block;
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.need-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.need-tag {
    padding: 0.5rem 1rem;
    background: rgba(139, 92, 246, 0.15);
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 20px;
    font-size: 0.8rem;
    color: #a78bfa;
}

.recommend-arrow {
    display: flex;
    justify-content: center;
    margin: 1rem 0;
    color: var(--primary-blue);
    animation: bounce 1s ease-in-out infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(5px); }
}

.product-recommendations {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.product-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(0, 212, 255, 0.05);
    border: 1px solid rgba(0, 212, 255, 0.1);
    border-radius: 12px;
    animation: fadeInRight 0.5s ease;
    cursor: pointer;
    transition: var(--transition-base);
}

.product-item:hover {
    background: rgba(0, 212, 255, 0.1);
    border-color: var(--primary-blue);
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.product-icon {
    width: 40px;
    height: 40px;
    background: var(--primary-gradient);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.product-info {
    flex: 1;
}

.product-name {
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
}

.product-desc {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.product-match {
    padding: 0.25rem 0.75rem;
    background: rgba(16, 185, 129, 0.2);
    border-radius: 12px;
    font-size: 0.75rem;
    color: #10b981;
    font-weight: 600;
}

/* 成交动画演示 */
.deal-container {
    padding: 1.5rem;
}

.deal-animation {
    text-align: center;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), rgba(0, 212, 255, 0.1));
    border-radius: 12px;
    margin-bottom: 1rem;
    position: relative;
    overflow: hidden;
}

.deal-checkmark {
    width: 60px;
    height: 60px;
    margin: 0 auto 1rem;
    color: #10b981;
}

.deal-checkmark svg {
    animation: checkmark 0.5s ease forwards;
}

@keyframes checkmark {
    0% { transform: scale(0); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

.deal-checkmark circle {
    animation: circleIn 0.3s ease forwards;
}

.deal-checkmark path {
    stroke-dasharray: 50;
    stroke-dashoffset: 50;
    animation: checkDraw 0.5s ease forwards 0.3s;
}

@keyframes checkDraw {
    to { stroke-dashoffset: 0; }
}

.deal-amount {
    font-size: 2rem;
    font-weight: 700;
    color: #10b981;
    margin-bottom: 0.5rem;
}

.deal-product {
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.deal-customer {
    font-size: 0.875rem;
    color: var(--text-muted);
}

.deal-particles {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.deal-particle {
    position: absolute;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    animation: particleFly 1s ease-out forwards;
}

@keyframes particleFly {
    0% {
        transform: translate(0, 0) scale(1);
        opacity: 1;
    }
    100% {
        transform: translate(var(--tx), var(--ty)) scale(0);
        opacity: 0;
    }
}

.recent-deals {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.deal-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1rem;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    font-size: 0.8rem;
}

.deal-time {
    color: var(--text-muted);
}

.deal-product {
    color: var(--text-secondary);
}

.deal-item .deal-amount {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary-blue);
}

