/* ===================================
   昕升途官网 - 原始配色方案（完全匹配）
   精确还原 ammjcwbj.gensparkspace.com
   =================================== */

:root {
    /* 主色 - 深酒红色系 */
    --primary-red: #8B1F2F;         /* 主深酒红色（原网站主色） */
    --primary-dark: #6B1623;        /* 更深酒红 */
    --primary-light: #A82C3D;       /* 浅酒红 */
    
    /* 中性色 */
    --gray-900: #1A1A1A;
    --gray-800: #2C2C2C;
    --gray-700: #4A4A4A;
    --gray-600: #666666;
    --gray-500: #808080;
    --gray-400: #999999;
    --gray-300: #CCCCCC;
    --gray-200: #E5E5E5;
    --gray-100: #F5F5F5;
    
    /* 背景色 */
    --bg-white: #FFFFFF;
    --bg-light: #FAFAFA;
    --bg-gray: #F5F5F5;
    
    /* 文字颜色 */
    --text-primary: #333333;
    --text-secondary: #666666;
    --text-light: #999999;
    
    /* 阴影 */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.12);
    
    /* 圆角 */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    
    /* 间距 */
    --spacing-xs: 8px;
    --spacing-sm: 16px;
    --spacing-md: 24px;
    --spacing-lg: 32px;
    --spacing-xl: 48px;
    --spacing-xxl: 64px;
    
    /* 字体 */
    --font-primary: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", system-ui, sans-serif;
}

/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    color: var(--text-primary);
    background-color: var(--bg-white);  /* 纯白背景，移除所有渐变 */
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

/* Logo样式 */
.logo-img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.logo-placeholder {
    width: 40px;
    height: 40px;
    background: var(--primary-red);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 700;
    color: white;
}

/* 导航栏 */
.navbar {
    background: var(--bg-white);
    border-bottom: 1px solid var(--gray-200);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 64px;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand-name {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 8px;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 15px;
    padding: 8px 16px;
    border-radius: var(--radius-md);
    transition: all 0.2s;
}

.nav-menu a:hover {
    color: var(--primary-red);
    background: rgba(139, 31, 47, 0.05);
}

.nav-menu a.active {
    color: var(--primary-red);
    background: rgba(139, 31, 47, 0.1);
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: var(--primary-red);
    cursor: pointer;
}

/* Hero区域 - 深红纯色背景（无渐变） */
.hero {
    background: var(--primary-red);  /* 纯深红色 */
    color: white;
    padding: 80px 0 64px;
    position: relative;
}

.hero-content {
    text-align: center;
    margin-bottom: var(--spacing-xl);
}

.hero-title {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
    color: white;
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 32px;
    line-height: 1.8;
}

/* 统计卡片（Hero内） */
.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 900px;
    margin: 0 auto;
}

.stat-card {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 24px;
    border-radius: var(--radius-lg);
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.25);
    transition: all 0.3s;
}

.stat-card:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-4px);
}

.stat-card i {
    font-size: 32px;
    color: white;
    margin-bottom: 12px;
}

.stat-number {
    font-size: 36px;
    font-weight: 700;
    color: white;
    margin-bottom: 4px;
}

.stat-label {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.95);
    font-weight: 500;
}

/* 信息卡片墙（Hero内） */
.card-wall {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-top: 48px;
}

.info-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-xl);
    padding: 32px;
    transition: all 0.3s;
}

.info-card:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-4px);
}

.card-icon {
    width: 56px;
    height: 56px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.card-icon i {
    font-size: 28px;
    color: white;
}

.info-card h3 {
    font-size: 20px;
    font-weight: 600;
    color: white;
    margin-bottom: 12px;
}

.info-card p {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    margin-bottom: 16px;
}

.card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 500;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

/* Section样式 */
section {
    padding: 64px 0;
}

.section-title {
    font-size: 36px;
    font-weight: 700;
    text-align: center;
    color: var(--text-primary);
    margin-bottom: 48px;
}

/* 数据可视化Section */
.data-viz-section {
    background: var(--bg-gray);
}

.charts-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-top: 32px;
}

.chart-card {
    background: var(--bg-white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.chart-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
    border-color: var(--primary-red);
}

.chart-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.chart-title i {
    color: var(--primary-red);
    font-size: 18px;
}

.chart-container {
    position: relative;
    width: 100%;
}

/* 雷达图样式 */
.radar-charts-section {
    margin: 40px 0;
}

.radar-chart-large {
    background: var(--bg-white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: var(--shadow-md);
    margin-bottom: 32px;
}

.chart-subtitle {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: center;
}

.chart-subtitle i {
    color: var(--primary-red);
    font-size: 20px;
}

/* 时间轴图表样式 */
.timeline-viz-section {
    margin: 40px 0;
}

.timeline-chart-wrapper {
    background: var(--bg-white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: var(--shadow-md);
    margin-bottom: 48px;
}

/* 白色section */
.value-section,
.deliverables-section {
    background: var(--bg-white);
}

/* 灰色section */
.dimensions-section,
.ai-section {
    background: var(--bg-gray);
}

/* 价值卡片 */
.value-grid,
.deliverables-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.value-card,
.deliverable-card {
    background: var(--bg-white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 24px;
    text-align: center;
    transition: all 0.3s;
}

.value-card:hover,
.deliverable-card:hover {
    border-color: var(--primary-red);
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.value-icon {
    width: 64px;
    height: 64px;
    background: rgba(139, 31, 47, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.value-icon i {
    font-size: 32px;
    color: var(--primary-red);
}

.value-card h3,
.deliverable-card h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.value-card p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* 维度卡片 */
.dimensions-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
}

.dimension-card {
    background: var(--bg-white);
    border: 1px solid var(--gray-200);
    padding: 20px;
    border-radius: var(--radius-lg);
    text-align: center;
    transition: all 0.3s;
}

.dimension-card:hover {
    border-color: var(--primary-red);
    transform: translateY(-4px);
}

.dimension-icon {
    width: 48px;
    height: 48px;
    background: rgba(139, 31, 47, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
}

.dimension-icon i {
    font-size: 24px;
    color: var(--primary-red);
}

.dimension-card h4 {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.dimension-card p {
    font-size: 13px;
    color: var(--text-secondary);
}

/* AI卡片 */
.ai-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.ai-card {
    background: var(--bg-white);
    border: 1px solid var(--gray-200);
    padding: 24px;
    border-radius: var(--radius-lg);
    text-align: center;
    transition: all 0.3s;
}

.ai-card:hover {
    border-color: var(--primary-red);
    box-shadow: var(--shadow-lg);
}

.ai-icon {
    width: 64px;
    height: 64px;
    background: rgba(139, 31, 47, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.ai-icon i {
    font-size: 32px;
    color: var(--primary-red);
}

.ai-card h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.ai-card p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* CTA区域 */
.cta-section {
    background: var(--primary-red);
    color: white;
    padding: 64px 0;
}

.cta-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 16px;
    color: white;
}

.cta-content p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 32px;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: var(--radius-md);
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: white;
    color: var(--primary-red);
}

.btn-primary:hover {
    background: var(--gray-100);
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* 页脚 */
.footer {
    background: var(--gray-900);
    color: var(--gray-400);
    padding: 48px 0 24px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 3fr;
    gap: 48px;
    margin-bottom: 32px;
}

.footer-brand .logo-img {
    width: 120px;
    height: auto;
    margin-bottom: 16px;
}

.footer-brand .logo-placeholder {
    background: var(--primary-red);
    margin-bottom: 16px;
}

.footer-company {
    font-size: 14px;
    line-height: 1.6;
    color: var(--gray-400);
}

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

.footer-section h4 {
    color: white;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 12px;
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 8px;
}

.footer-section a {
    color: var(--gray-400);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s;
}

.footer-section a:hover {
    color: white;
}

.footer-contact {
    font-size: 14px;
    color: var(--gray-400);
    line-height: 2.2;
}

.footer-contact i {
    color: var(--primary-red);
    margin-right: 8px;
    width: 16px;
    display: inline-block;
    text-align: center;
}

.footer-logo {
    width: 120px;
    height: auto;
    margin-bottom: 16px;
}

.footer-bottom {
    border-top: 1px solid var(--gray-800);
    padding-top: 24px;
    text-align: center;
}

.footer-bottom p {
    font-size: 13px;
    color: var(--gray-500);
    margin: 4px 0;
}

.disclaimer {
    font-size: 12px !important;
    color: var(--gray-600) !important;
}

/* 响应式 */
@media (max-width: 1024px) {
    .hero-stats {
        grid-template-columns: 1fr;
        max-width: 400px;
    }
    
    .card-wall {
        grid-template-columns: 1fr;
    }
    
    .value-grid,
    .deliverables-grid,
    .ai-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .dimensions-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .charts-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
        transform: translateY(-100%);
        opacity: 0;
        transition: all 0.3s ease;
        pointer-events: none;
        z-index: 1000;
    }
    
    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }
    
    .nav-menu li {
        margin: 10px 0;
    }
    
    .nav-menu a {
        display: block;
        padding: 12px 16px;
        font-size: 16px;
    }
    
    .nav-toggle {
        display: block;
    }
    
    .hero-title {
        font-size: 28px;
        line-height: 1.3;
    }
    
    .hero-subtitle {
        font-size: 14px;
    }
    
    /* 图表网格移动端优化 */
    .charts-grid {
        grid-template-columns: 1fr !important;
        gap: 20px;
    }
    
    .chart-card {
        padding: 16px;
    }
    
    .chart-container {
        height: 280px !important;
        min-height: 280px;
    }
    
    /* Canvas元素确保可见 */
    canvas {
        max-width: 100%;
        height: auto !important;
        display: block;
    }
    
    .value-grid,
    .deliverables-grid,
    .ai-grid,
    .dimensions-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
    }
}
