/* 低碳技术专用样式 */

/* Hero区域 */
.lc-hero {
    background: linear-gradient(135deg, #065f46 0%, #059669 50%, #10b981 100%);
    color: white;
    padding: 140px 2rem 80px;
    text-align: center;
    margin-top: 70px;
}

.lc-hero-content h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.lc-hero-content p {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* 主内容区 */
.lc-main {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem;
}

/* 概览卡片 */
.lc-overview {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.lc-overview-card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.lc-overview-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #059669, #10b981);
}

.lc-overview-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.lc-overview-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.lc-overview-card h3 {
    font-size: 1.2rem;
    color: #1f2937;
    margin-bottom: 0.5rem;
}

.lc-overview-card p {
    color: #6b7280;
    font-size: 14px;
    margin-bottom: 1rem;
}

.lc-overview-count {
    display: inline-block;
    padding: 4px 12px;
    background: linear-gradient(135deg, #d1fae5, #a7f3d0);
    color: #065f46;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
}

/* 区块 */
.lc-section {
    margin-bottom: 4rem;
}

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

.lc-section-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 0.5rem;
}

.lc-section-subtitle {
    color: #6b7280;
    font-size: 16px;
}

/* 技术清单网格 */
.lc-tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

/* 技术卡片 */
.lc-tech-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    cursor: pointer;
    transition: all 0.3s;
}

.lc-tech-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.lc-tech-card-image {
    height: 180px;
    background: linear-gradient(135deg, #d1fae5, #a7f3d0);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    position: relative;
    overflow: hidden;
}

.lc-tech-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.lc-tech-card-body {
    padding: 1.5rem;
}

.lc-tech-card-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 0.5rem;
}

.lc-tech-card-desc {
    color: #6b7280;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.lc-tech-card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.lc-tech-tag {
    display: inline-block;
    padding: 4px 12px;
    background: #d1fae5;
    color: #065f46;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
}

.lc-tech-arrow {
    color: #059669;
    font-size: 18px;
    transition: transform 0.2s;
}

.lc-tech-card:hover .lc-tech-arrow {
    transform: translateX(5px);
}

/* 案例网格 */
.lc-cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
}

/* 案例卡片 */
.lc-case-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    cursor: pointer;
    transition: all 0.3s;
}

.lc-case-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.lc-case-card-header {
    height: 200px;
    background: linear-gradient(135deg, #065f46, #059669);
    position: relative;
    display: flex;
    align-items: flex-end;
    padding: 1.5rem;
}

.lc-case-card-header img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.8;
}

.lc-case-card-title {
    position: relative;
    z-index: 1;
    color: white;
    font-size: 1.3rem;
    font-weight: 600;
}

.lc-case-card-body {
    padding: 1.5rem;
}

.lc-case-card-desc {
    color: #6b7280;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.lc-case-card-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #e5e7eb;
}

.lc-case-stat {
    text-align: center;
}

.lc-case-stat-value {
    font-size: 1.2rem;
    font-weight: 700;
    color: #059669;
}

.lc-case-stat-label {
    font-size: 12px;
    color: #9ca3af;
}

/* 监测卡片 */
.lc-monitor-card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.lc-monitor-content h3 {
    font-size: 1.3rem;
    color: #1f2937;
    margin-bottom: 1rem;
}

.lc-monitor-content p {
    color: #6b7280;
    margin-bottom: 1.5rem;
}

.lc-monitor-features {
    display: flex;
    gap: 1.5rem;
}

.lc-monitor-feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #374151;
}

.lc-feature-icon {
    font-size: 1.5rem;
}

.lc-monitor-chart {
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.lc-chart-placeholder {
    display: flex;
    align-items: flex-end;
    gap: 1.5rem;
    height: 200px;
    width: 100%;
    padding: 1rem;
    background: #f8fafc;
    border-radius: 12px;
}

.lc-chart-bar {
    flex: 1;
    background: linear-gradient(180deg, #059669, #10b981);
    border-radius: 8px 8px 0 0;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 10px;
    color: white;
    font-size: 12px;
    font-weight: 600;
}

/* 模态框 */
.lc-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    padding: 20px;
}

.lc-modal.active {
    opacity: 1;
    visibility: visible;
}

.lc-modal-content {
    background: white;
    border-radius: 20px;
    width: 100%;
    max-width: 700px;
    max-height: 90vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
}

.lc-modal-content.lc-modal-large {
    max-width: 1000px;
}

.lc-modal-header {
    padding: 1.5rem 2rem;
    border-bottom: 1px solid #e5e7eb;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(135deg, #f0fdf4, #dcfce7);
}

.lc-modal-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: #065f46;
}

.lc-modal-close {
    width: 36px;
    height: 36px;
    border: none;
    background: white;
    border-radius: 50%;
    font-size: 24px;
    color: #6b7280;
    cursor: pointer;
    transition: all 0.2s;
}

.lc-modal-close:hover {
    background: #e5e7eb;
}

.lc-modal-body {
    flex: 1;
    overflow-y: auto;
    padding: 2rem;
}

.lc-modal-footer {
    padding: 1.5rem 2rem;
    border-top: 1px solid #e5e7eb;
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
}

/* 技术详情 */
.lc-tech-info {
    margin-bottom: 1.5rem;
}

.lc-tech-meta {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.lc-tech-applications {
    color: #6b7280;
    font-size: 14px;
}

.lc-tech-image {
    margin-bottom: 1.5rem;
    border-radius: 12px;
    overflow: hidden;
}

.lc-tech-image img {
    width: 100%;
    height: auto;
}

.lc-tech-description {
    line-height: 1.8;
    color: #374151;
    margin-bottom: 1.5rem;
}

.lc-tech-specs {
    background: #f8fafc;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.lc-tech-specs h4 {
    margin-bottom: 1rem;
    color: #1f2937;
}

.lc-tech-specs table {
    width: 100%;
    border-collapse: collapse;
}

.lc-tech-specs th, .lc-tech-specs td {
    padding: 10px;
    text-align: left;
    border-bottom: 1px solid #e5e7eb;
}

.lc-tech-specs th {
    color: #6b7280;
    font-weight: 500;
    width: 40%;
}

/* 案例导航 */
.lc-case-nav {
    display: flex;
    gap: 0;
    background: #f3f4f6;
    border-radius: 10px;
    padding: 4px;
    margin-bottom: 1.5rem;
}

.lc-case-nav-btn {
    flex: 1;
    padding: 10px;
    border: none;
    background: transparent;
    color: #6b7280;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    border-radius: 8px;
    transition: all 0.2s;
}

.lc-case-nav-btn.active {
    background: white;
    color: #059669;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

/* 案例内容 */
.lc-case-content {
    line-height: 1.8;
}

.lc-case-section {
    margin-bottom: 2rem;
}

.lc-case-section h4 {
    font-size: 1.1rem;
    color: #1f2937;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #059669;
}

.lc-case-data-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.lc-case-data-item {
    background: #f8fafc;
    border-radius: 10px;
    padding: 1rem;
    text-align: center;
}

.lc-case-data-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: #059669;
}

.lc-case-data-label {
    font-size: 12px;
    color: #6b7280;
}

.lc-case-photos {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.lc-case-photo {
    border-radius: 10px;
    overflow: hidden;
    aspect-ratio: 16/10;
}

.lc-case-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 按钮 */
.lc-btn {
    padding: 10px 24px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    border: none;
}

.lc-btn-primary {
    background: linear-gradient(135deg, #059669, #10b981);
    color: white;
}

.lc-btn-outline {
    background: white;
    border: 2px solid #e5e7eb;
    color: #6b7280;
}

.lc-btn-outline:hover {
    border-color: #059669;
    color: #059669;
}

/* 加载状态 */
.lc-loading {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem;
    color: #6b7280;
}

.lc-loading-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid #e5e7eb;
    border-top-color: #059669;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin-bottom: 1rem;
}

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

/* 响应式 */
@media (max-width: 1024px) {
    .lc-overview {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .lc-monitor-card {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .lc-hero {
        padding: 100px 1rem 60px;
    }
    
    .lc-hero-content h1 {
        font-size: 1.8rem;
    }
    
    .lc-overview {
        grid-template-columns: 1fr;
    }
    
    .lc-tech-grid, .lc-cases-grid {
        grid-template-columns: 1fr;
    }
    
    .lc-case-card-stats {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }
    
    .lc-case-data-grid {
        grid-template-columns: 1fr;
    }
    
    .lc-case-photos {
        grid-template-columns: 1fr;
    }
    
    .lc-modal-content {
        max-height: 100vh;
        border-radius: 0;
    }
}
