/* ===== 影响力页面专属样式 ===== */

/* 页面标题区 */
.page-hero {
    padding: 150px 0 100px;
    background: linear-gradient(135deg, #0f2027 0%, #203a43 50%, #2c5364 100%);
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 30% 50%, rgba(0, 102, 204, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 70% 80%, rgba(0, 180, 216, 0.2) 0%, transparent 50%);
    animation: gradientMove 15s ease infinite;
}

.page-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.page-tag {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    color: var(--white);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: var(--spacing-sm);
}

.page-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 900;
    color: var(--white);
    margin-bottom: var(--spacing-sm);
}

.page-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
    max-width: 700px;
    margin: 0 auto;
}

/* 关键指标区 */
.metrics-section {
    padding: var(--spacing-xl) 0;
    background: var(--white);
}

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-md);
}

.metric-card {
    padding: var(--spacing-lg);
    text-align: center;
    background: rgba(0, 102, 204, 0.03);
    position: relative;
    overflow: hidden;
}

.metric-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 102, 204, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity var(--transition-slow);
}

.metric-card:hover::before {
    opacity: 1;
}

.metric-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto var(--spacing-md);
    background: var(--gradient-2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--white);
    box-shadow: 0 10px 30px rgba(0, 102, 204, 0.3);
    transition: all var(--transition-normal);
}

.metric-card:hover .metric-icon {
    transform: scale(1.1) rotate(10deg);
}

.metric-number {
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--primary-color);
    margin-bottom: var(--spacing-sm);
    line-height: 1;
}

.metric-number .unit {
    font-size: 2rem;
    margin-left: 0.2rem;
}

.metric-card h4 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.metric-card p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* 社会影响区 */
.social-impact {
    padding: var(--spacing-xl) 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e0f2fe 100%);
}

.impact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: var(--spacing-lg);
}

.impact-card {
    padding: var(--spacing-lg);
    background: rgba(255, 255, 255, 0.7);
}

.impact-icon {
    width: 70px;
    height: 70px;
    margin-bottom: var(--spacing-md);
    background: var(--gradient-3);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--white);
}

.impact-card h3 {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: var(--spacing-sm);
}

.impact-card p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: var(--spacing-md);
}

.impact-card strong {
    color: var(--primary-color);
    font-weight: 700;
}

.impact-stats {
    display: flex;
    gap: var(--spacing-md);
    margin-top: var(--spacing-md);
    padding-top: var(--spacing-md);
    border-top: 2px solid rgba(0, 102, 204, 0.1);
}

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

.stat-value {
    display: block;
    font-size: 2rem;
    font-weight: 900;
    color: var(--primary-color);
    margin-bottom: 0.25rem;
}

.stat-label {
    display: block;
    font-size: 0.875rem;
    color: var(--text-light);
}

/* 项目历程时间线 */
.timeline-section {
    padding: var(--spacing-xl) 0;
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
}

.timeline-section .section-header h2,
.timeline-section .section-subtitle {
    color: var(--white);
}

.timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding: var(--spacing-md) 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, rgba(0, 102, 204, 0.3) 0%, rgba(0, 180, 216, 0.3) 100%);
}

.timeline-item {
    position: relative;
    margin-bottom: var(--spacing-xl);
    width: calc(50% - 40px);
}

.timeline-item:nth-child(odd) {
    margin-left: 0;
    text-align: right;
}

.timeline-item:nth-child(even) {
    margin-left: calc(50% + 40px);
    text-align: left;
}

.timeline-dot {
    position: absolute;
    top: 0;
    width: 24px;
    height: 24px;
    background: rgba(255, 255, 255, 0.3);
    border: 4px solid rgba(0, 102, 204, 0.5);
    border-radius: 50%;
    z-index: 2;
}

.timeline-item:nth-child(odd) .timeline-dot {
    right: -52px;
}

.timeline-item:nth-child(even) .timeline-dot {
    left: -52px;
}

.timeline-dot.active {
    background: var(--primary-color);
    border-color: var(--primary-light);
    box-shadow: 0 0 20px rgba(0, 102, 204, 0.6);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 0 20px rgba(0, 102, 204, 0.6);
    }
    50% {
        box-shadow: 0 0 40px rgba(0, 102, 204, 0.8);
    }
}

.timeline-dot.future {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
}

.timeline-content {
    padding: var(--spacing-md) var(--spacing-lg);
    background: rgba(255, 255, 255, 0.05);
}

.timeline-content.active {
    background: rgba(0, 102, 204, 0.1);
    border: 2px solid rgba(0, 102, 204, 0.3);
}

.timeline-content.future {
    background: rgba(255, 255, 255, 0.03);
    opacity: 0.7;
}

.timeline-date {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: var(--gradient-2);
    color: var(--white);
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
}

.timeline-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: var(--spacing-sm);
}

.timeline-content p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
    margin-bottom: var(--spacing-md);
}

.timeline-achievements {
    list-style: none;
    text-align: left;
}

.timeline-achievements li {
    color: rgba(255, 255, 255, 0.7);
    padding: 0.5rem 0;
    font-size: 0.95rem;
}

.timeline-achievements i {
    margin-right: 0.5rem;
    color: #10b981;
}

.timeline-achievements .fa-spinner {
    color: #60a5fa;
}

.timeline-achievements .fa-circle {
    color: rgba(255, 255, 255, 0.3);
}

/* 案例展示 */
.case-studies {
    padding: var(--spacing-xl) 0;
    background: var(--white);
}

.cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--spacing-lg);
}

.case-item {
    background: rgba(0, 102, 204, 0.03);
    overflow: hidden;
}

.case-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.case-image .placeholder-image {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 102, 204, 0.2) 0%, rgba(0, 180, 216, 0.2) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: var(--primary-color);
    transition: all var(--transition-normal);
}

.case-item:hover .placeholder-image {
    background: linear-gradient(135deg, rgba(0, 102, 204, 0.4) 0%, rgba(0, 180, 216, 0.4) 100%);
    transform: scale(1.05);
}

.case-content {
    padding: var(--spacing-lg);
}

.case-tag {
    display: inline-block;
    padding: 0.25rem 1rem;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: var(--spacing-sm);
}

.case-content h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: var(--spacing-sm);
}

.case-content p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: var(--spacing-md);
}

.case-results {
    display: flex;
    gap: var(--spacing-md);
    padding-top: var(--spacing-md);
    border-top: 2px solid rgba(0, 102, 204, 0.1);
}

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

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

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

/* 响应式设计 */
@media (max-width: 768px) {
    .page-hero {
        padding: 120px 0 80px;
    }
    
    .page-title {
        font-size: 2rem;
    }
    
    .page-subtitle {
        font-size: 1rem;
    }
    
    .metrics-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
    
    .metric-number {
        font-size: 2.5rem;
    }
    
    .impact-grid {
        grid-template-columns: 1fr;
    }
    
    .timeline::before {
        left: 20px;
    }
    
    .timeline-item {
        width: calc(100% - 60px);
        margin-left: 60px !important;
        text-align: left !important;
    }
    
    .timeline-item:nth-child(odd) .timeline-dot,
    .timeline-item:nth-child(even) .timeline-dot {
        left: -52px;
        right: auto;
    }
    
    .cases-grid {
        grid-template-columns: 1fr;
    }
}