/* 长沙AI大模型创新中心 - 公共样式 */

/* CSS变量 */
:root {
    --primary: #0a1628;
    --accent: #00d4ff;
    --secondary: #1a365d;
    --cyan-400: #22d3ee;
    --cyan-500: #06b6d4;
    --cyan-600: #0891b2;
    --blue-400: #60a5fa;
    --blue-500: #3b82f6;
    --blue-600: #2563eb;
    --indigo-400: #818cf8;
    --indigo-500: #6366f1;
    --indigo-600: #4f46e5;
    --purple-400: #c084fc;
    --purple-500: #a855f7;
    --purple-600: #9333ea;
    --pink-400: #f472b6;
    --pink-500: #ec4899;
    --pink-600: #db2777;
}

/* 字体 */
body {
    font-family: 'PingFang SC', 'Microsoft YaHei', 'Helvetica Neue', Arial, sans-serif;
}

/* 科技感背景 */
.tech-bg {
    background: linear-gradient(135deg, #0a1628 0%, #1a365d 50%, #0d1b2a 100%);
    position: relative;
    overflow: hidden;
}
.tech-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(0, 212, 255, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(0, 150, 255, 0.1) 0%, transparent 40%);
    pointer-events: none;
}

/* 渐变背景 */
.gradient-bg {
    background: linear-gradient(135deg, #1e3a5f 0%, #0f172a 100%);
}
.gradient-accent {
    background: linear-gradient(135deg, #06b6d4 0%, #0891b2 100%);
}

/* 导航栏 */
.nav-blur {
    background: rgba(10, 22, 40, 0.9);
    backdrop-filter: blur(20px);
}
.nav-link {
    position: relative;
    transition: all 0.3s ease;
}
.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #00d4ff, #0096ff);
    transition: width 0.3s ease;
}
.nav-link:hover::after { width: 100%; }
.nav-link:hover { color: #00d4ff; }

/* 网格线背景 */
.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;
    pointer-events: none;
}

/* 粒子动画 */
.particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
}
.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(0, 212, 255, 0.6);
    border-radius: 50%;
    animation: float 15s infinite;
}
@keyframes float {
    0%, 100% { transform: translateY(100vh) rotate(0deg); opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { transform: translateY(-100vh) rotate(720deg); opacity: 0; }
}

/* 卡片效果 */
.card-hover {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.card-hover:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px -12px rgba(0, 212, 255, 0.25);
}

/* 渐变文字 */
.gradient-text {
    background: linear-gradient(135deg, #00d4ff 0%, #0096ff 50%, #7c3aed 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* 发光按钮 */
.glow-btn {
    background: linear-gradient(135deg, #00d4ff, #0096ff);
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.4);
    transition: all 0.3s ease;
}
.glow-btn:hover {
    box-shadow: 0 0 40px rgba(0, 212, 255, 0.6);
    transform: translateY(-2px);
}

/* 统计卡片 */
.stat-card {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.1), rgba(0, 150, 255, 0.05));
    border: 1px solid rgba(0, 212, 255, 0.2);
    backdrop-filter: blur(10px);
}

/* 服务卡片 */
.service-card {
    background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
    border: 1px solid rgba(226, 232, 240, 0.8);
    position: relative;
    overflow: hidden;
}
.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #00d4ff, #0096ff, #7c3aed);
}

/* 案例卡片 */
.case-card {
    background: linear-gradient(145deg, #0f172a 0%, #1e293b 100%);
    border: 1px solid rgba(0, 212, 255, 0.2);
}

/* 城市卡片 */
.city-card {
    background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
    border: 1px solid rgba(226, 232, 240, 0.8);
    position: relative;
    overflow: hidden;
}
.city-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #00d4ff, #0096ff, #7c3aed);
}

/* 大模型架构图 */
.model-tier {
    position: relative;
}
.model-tier::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 20px;
    background: linear-gradient(180deg, #00d4ff, transparent);
}
.model-tier:last-child::after { display: none; }

/* 动画 - 淡入上移 */
.animate-fade-up {
    animation: fadeUp 0.8s ease-out forwards;
    opacity: 0;
}
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }

/* 滚动显示 */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}
.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* 时间线 */
.timeline-item {
    position: relative;
    padding-left: 24px;
    border-left: 2px solid #e5e7eb;
}
.timeline-item::before {
    content: '';
    position: absolute;
    left: -6px;
    top: 6px;
    width: 10px;
    height: 10px;
    background: #00d4ff;
    border-radius: 50%;
}

/* 奖项卡片 */
.award-item {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.1), rgba(0, 150, 255, 0.05));
    border: 1px solid rgba(0, 212, 255, 0.2);
}

/* 指标卡片 */
.metric-card {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.1), rgba(0, 150, 255, 0.05));
    border: 1px solid rgba(0, 212, 255, 0.2);
}

/* 需求标签 */
.demand-tab {
    cursor: pointer;
    transition: all 0.3s;
}
.demand-tab.active {
    background: linear-gradient(135deg, #06b6d4, #0891b2);
    color: white;
}
.demand-content {
    display: none;
}
.demand-content.active {
    display: block;
    animation: fadeIn 0.5s;
}
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* 行业卡片边框 */
.industry-card {
    border-left: 4px solid transparent;
}
.pillar { border-left-color: #06b6d4; }
.emerging { border-left-color: #8b5cf6; }
.traditional { border-left-color: #f59e0b; }
.future { border-left-color: #ec4899; }

/* 阶段卡片 */
.phase-card {
    position: relative;
    overflow: hidden;
}
.phase-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
}
.phase-1::before { background: linear-gradient(90deg, #06b6d4, #0891b2); }
.phase-2::before { background: linear-gradient(90deg, #3b82f6, #6366f1); }
.phase-3::before { background: linear-gradient(90deg, #8b5cf6, #a855f7); }

/* 结论卡片 */
.conclusion-card {
    background: linear-gradient(135deg, #f0f9ff, #e0f2fe);
    border: 2px solid #06b6d4;
}

/* 建议卡片 */
.recommendation-card {
    background: linear-gradient(135deg, #fefce8, #fef9c3);
    border: 2px solid #eab308;
}

/* Tab激活状态 */
.tab-active {
    background: linear-gradient(135deg, #00d4ff, #0096ff);
    color: white;
}

/* 响应式隐藏 */
@media (max-width: 640px) {
    .sm\:hidden { display: none; }
}
