/* ========================================
   AI技术发展分析网站 - 样式表
   设计风格：深色科技感 + 东方美学
   ======================================== */

:root {
    /* 主色调 - 琥珀金 */
    --primary: #E8B931;
    --primary-dim: #B8941F;
    --primary-glow: rgba(232, 185, 49, 0.3);
    
    /* 背景色 - 深邃墨色 */
    --bg-primary: #0A0A0F;
    --bg-secondary: #12121A;
    --bg-tertiary: #1A1A25;
    --bg-card: rgba(26, 26, 37, 0.8);
    
    /* 文字色 */
    --text-primary: #F5F5F7;
    --text-secondary: #A1A1AA;
    --text-muted: #71717A;
    
    /* 强调色 */
    --accent-cyan: #22D3EE;
    --accent-purple: #A78BFA;
    --accent-emerald: #34D399;
    
    /* 边框与分割 */
    --border-color: rgba(255, 255, 255, 0.08);
    --border-glow: rgba(232, 185, 49, 0.2);
    
    /* 字体 */
    --font-serif: 'Noto Serif SC', serif;
    --font-mono: 'JetBrains Mono', monospace;
    
    /* 间距 */
    --section-padding: clamp(80px, 10vw, 140px);
    --container-max: 1280px;
}

/* Reset & Base */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-serif);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.7;
    overflow-x: hidden;
}

/* 背景动画 */
.bg-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.neural-network {
    position: absolute;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(ellipse 80% 50% at 50% -20%, rgba(232, 185, 49, 0.08), transparent),
        radial-gradient(ellipse 60% 40% at 100% 100%, rgba(34, 211, 238, 0.05), transparent),
        radial-gradient(ellipse 50% 30% at 0% 80%, rgba(167, 139, 250, 0.05), transparent);
}

/* 容器 */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 clamp(20px, 5vw, 60px);
}

/* 导航栏 */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px clamp(20px, 5vw, 60px);
    background: rgba(10, 10, 15, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand-icon {
    font-size: 24px;
    color: var(--primary);
    animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

.brand-text {
    font-size: 1.25rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 40px;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--primary);
    transition: width 0.3s ease;
}

.nav-links a:hover {
    color: var(--text-primary);
}

.nav-links a:hover::after {
    width: 100%;
}

/* 英雄区域 */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: calc(var(--section-padding) + 80px) clamp(20px, 5vw, 60px) var(--section-padding);
    position: relative;
    z-index: 1;
}

.hero-content {
    max-width: 600px;
}

.hero-badge {
    display: inline-block;
    padding: 8px 16px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--primary);
    margin-bottom: 32px;
    animation: fadeInUp 0.8s ease-out;
}

.hero-title {
    margin-bottom: 24px;
}

.title-line {
    display: block;
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.02em;
    animation: fadeInUp 0.8s ease-out backwards;
}

.title-line:nth-child(1) { animation-delay: 0.1s; }
.title-line:nth-child(2) { animation-delay: 0.2s; }
.title-line:nth-child(3) { animation-delay: 0.3s; }

.title-line.accent {
    background: linear-gradient(135deg, var(--primary), var(--accent-cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    animation: fadeInUp 0.8s ease-out 0.4s backwards;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    background: transparent;
    border: 1px solid var(--primary);
    color: var(--primary);
    text-decoration: none;
    font-size: 0.95rem;
    border-radius: 4px;
    transition: all 0.3s ease;
    animation: fadeInUp 0.8s ease-out 0.5s backwards;
}

.cta-button:hover {
    background: var(--primary);
    color: var(--bg-primary);
    box-shadow: 0 0 30px var(--primary-glow);
}

.cta-button svg {
    animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(4px); }
}

/* 英雄视觉 */
.hero-visual {
    position: relative;
    width: 400px;
    height: 400px;
    animation: fadeIn 1.2s ease-out 0.6s backwards;
}

.orbit-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.center-sphere {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: radial-gradient(circle at 30% 30%, var(--primary), var(--primary-dim));
    border-radius: 50%;
    box-shadow: 
        0 0 60px var(--primary-glow),
        inset 0 0 30px rgba(0,0,0,0.3);
}

.orbit {
    position: absolute;
    top: 50%;
    left: 50%;
    border: 1px solid var(--border-color);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    animation: spin 20s linear infinite;
}

.orbit-1 {
    width: 180px;
    height: 180px;
    animation-duration: 15s;
}

.orbit-2 {
    width: 280px;
    height: 280px;
    animation-duration: 25s;
    animation-direction: reverse;
}

.orbit-3 {
    width: 380px;
    height: 380px;
    animation-duration: 35s;
}

.satellite {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 12px;
    height: 12px;
    background: var(--accent-cyan);
    border-radius: 50%;
    box-shadow: 0 0 20px var(--accent-cyan);
}

.orbit-2 .satellite { background: var(--accent-purple); box-shadow: 0 0 20px var(--accent-purple); }
.orbit-3 .satellite { background: var(--accent-emerald); box-shadow: 0 0 20px var(--accent-emerald); }

@keyframes spin {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

/* 通用动画 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* 通用 Section 样式 */
.section {
    position: relative;
    z-index: 1;
    padding: var(--section-padding) 0;
}

.section-header {
    margin-bottom: 60px;
}

.section-number {
    display: block;
    font-family: var(--font-mono);
    font-size: 0.875rem;
    color: var(--primary);
    margin-bottom: 12px;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    letter-spacing: -0.01em;
}

/* 概述区域 */
.overview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.overview-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 32px;
    transition: all 0.4s ease;
}

.overview-card:hover {
    border-color: var(--border-glow);
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.overview-card.primary {
    grid-column: span 2;
    background: linear-gradient(135deg, rgba(232, 185, 49, 0.1), transparent);
    border-color: var(--border-glow);
}

.card-icon {
    margin-bottom: 20px;
    color: var(--primary);
}

.overview-card h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.overview-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.card-stats {
    display: flex;
    gap: 32px;
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid var(--border-color);
}

.stat {
    display: flex;
    flex-direction: column;
}

.stat-value {
    font-family: var(--font-mono);
    font-size: 1.75rem;
    font-weight: 500;
    color: var(--accent-cyan);
}

.stat-label {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* 趋势时间线 */
.trends-section {
    background: var(--bg-secondary);
}

.trends-timeline {
    position: relative;
    padding-left: 80px;
}

.trends-timeline::before {
    content: '';
    position: absolute;
    left: 28px;
    top: 0;
    bottom: 0;
    width: 1px;
    background: linear-gradient(to bottom, var(--primary), var(--border-color));
}

.trend-item {
    position: relative;
    padding-bottom: 48px;
}

.trend-item:last-child {
    padding-bottom: 0;
}

.trend-marker {
    position: absolute;
    left: -80px;
    top: 0;
    width: 56px;
    height: 56px;
    background: var(--bg-secondary);
    border: 2px solid var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.trend-num {
    font-family: var(--font-mono);
    font-size: 0.875rem;
    color: var(--primary);
}

.trend-content h3 {
    font-size: 1.5rem;
    margin-bottom: 16px;
}

.trend-content p {
    color: var(--text-secondary);
    font-size: 1rem;
    margin-bottom: 20px;
    max-width: 700px;
}

.trend-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag {
    padding: 6px 14px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    font-size: 0.8rem;
    color: var(--text-secondary);
}

/* 应用领域 */
.apps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 24px;
}

.app-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 32px;
    transition: all 0.4s ease;
}

.app-card:hover {
    border-color: var(--border-glow);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.app-visual {
    margin-bottom: 24px;
}

.app-icon-wrapper {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--bg-tertiary), var(--bg-secondary));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
}

.app-card h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.app-card > p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.app-features {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.app-features li {
    font-size: 0.85rem;
    color: var(--text-muted);
    padding-left: 16px;
    position: relative;
}

.app-features li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-size: 0.75rem;
}

/* 数据统计区域 */
.stats-section {
    background: linear-gradient(135deg, var(--bg-tertiary), var(--bg-secondary));
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    text-align: center;
}

.stat-block {
    padding: 20px;
}

.stat-number {
    font-family: var(--font-mono);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 500;
    color: var(--primary);
    line-height: 1;
}

.stat-unit {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.stat-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* 未来展望 */
.future-section {
    background: var(--bg-secondary);
}

.future-content {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 48px;
}

.future-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 40px;
    margin-bottom: 32px;
}

.future-card.highlight {
    background: linear-gradient(135deg, rgba(232, 185, 49, 0.08), transparent);
    border-color: var(--border-glow);
}

.future-card h3 {
    font-size: 1.5rem;
    margin-bottom: 16px;
}

.future-card > p {
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.future-card ul {
    list-style: none;
}

.future-card li {
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-secondary);
}

.future-card li:last-child {
    border-bottom: none;
}

.future-card li strong {
    color: var(--text-primary);
}

.future-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.future-item {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 28px;
    transition: all 0.3s ease;
}

.future-item:hover {
    border-color: var(--border-glow);
}

.future-icon {
    font-size: 2rem;
    margin-bottom: 16px;
}

.future-item h4 {
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.future-item p {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* 侧边栏 */
.sidebar-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 28px;
    margin-bottom: 24px;
}

.sidebar-card.dark {
    background: var(--bg-tertiary);
}

.sidebar-card h4 {
    font-size: 1rem;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border-color);
}

.watch-list {
    list-style: none;
}

.watch-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.watch-icon {
    color: var(--primary);
    font-size: 0.6rem;
}

.prediction {
    padding: 16px 0;
    border-bottom: 1px solid var(--border-color);
}

.prediction:last-child {
    border-bottom: none;
}

.prediction-year {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--accent-cyan);
    margin-bottom: 8px;
}

.prediction p {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* 页脚 */
.footer {
    background: var(--bg-primary);
    border-top: 1px solid var(--border-color);
    padding: 80px 0 40px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    margin-bottom: 60px;
}

.footer-brand {
    max-width: 300px;
}

.footer-brand .brand-icon,
.footer-brand .brand-text {
    display: inline-block;
    vertical-align: middle;
}

.footer-tagline {
    margin-top: 16px;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.footer-links {
    display: flex;
    gap: 80px;
}

.footer-col h5 {
    font-size: 0.9rem;
    margin-bottom: 20px;
    color: var(--text-secondary);
}

.footer-col a {
    display: block;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    padding: 6px 0;
    transition: color 0.3s ease;
}

.footer-col a:hover {
    color: var(--primary);
}

.footer-bottom {
    padding-top: 40px;
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.footer-icp a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-icp a:hover {
    color: var(--primary);
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .hero {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-visual {
        width: 300px;
        height: 300px;
        margin-top: 60px;
    }
    
    .overview-card.primary {
        grid-column: span 1;
    }
    
    .future-content {
        grid-template-columns: 1fr;
    }
    
    .future-sidebar {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
    
    .sidebar-card {
        margin-bottom: 0;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .trends-timeline {
        padding-left: 60px;
    }
    
    .trend-marker {
        left: -60px;
        width: 40px;
        height: 40px;
    }
    
    .trends-timeline::before {
        left: 20px;
    }
    
    .apps-grid {
        grid-template-columns: 1fr;
    }
    
    .future-grid {
        grid-template-columns: 1fr;
    }
    
    .future-sidebar {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 40px;
    }
    
    .footer-links {
        gap: 40px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
}

/* 滚动动画 */
.trend-item,
.overview-card,
.app-card,
.future-item {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.trend-item.visible,
.overview-card.visible,
.app-card.visible,
.future-item.visible {
    opacity: 1;
    transform: translateY(0);
}

/* 自定义滚动条 */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
    background: var(--bg-tertiary);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dim);
}

/* 选择文字样式 */
::selection {
    background: var(--primary);
    color: var(--bg-primary);
}
