/* Carbon Management Platform Page Specific Styles */

/* Platform Hero Section */
.platform-hero {
    padding: 140px 0 80px;
    background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
    position: relative;
    overflow: hidden;
}

.platform-hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" fill="%230da46f" opacity="0.05"><path d="M30,30 Q50,10 70,30 T90,50 T70,70 T50,90 T30,70 T10,50 T30,30 Z"/></svg>') no-repeat;
    background-size: cover;
}

.platform-hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.platform-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #10b981;
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.hero-text h1 {
    font-size: 3.5rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: #475569;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.hero-description {
    font-size: 1.1rem;
    color: #64748b;
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.hero-actions .btn {
    display: flex;
    align-items: center;
    gap: 8px;
}

.hero-stats {
    display: flex;
    gap: 2rem;
}

.hero-stat {
    text-align: center;
}

.hero-stat .stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: #10b981;
    margin-bottom: 0.5rem;
}

.hero-stat .stat-label {
    font-size: 0.9rem;
    color: #64748b;
    font-weight: 500;
}

/* Platform Preview */
.platform-preview {
    background: white;
    border-radius: 16px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    border: 1px solid #e2e8f0;
}

.preview-header {
    background: #1e293b;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.preview-dots {
    display: flex;
    gap: 6px;
}

.preview-dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #475569;
}

.preview-dots span:first-child {
    background: #ef4444;
}

.preview-dots span:nth-child(2) {
    background: #f59e0b;
}

.preview-dots span:last-child {
    background: #10b981;
}

.preview-title {
    color: white;
    font-weight: 600;
    font-size: 0.9rem;
}

.preview-content {
    padding: 25px;
}

.metric-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-bottom: 25px;
}

.metric-card {
    background: #f8fafc;
    padding: 15px;
    border-radius: 8px;
    text-align: center;
    border: 1px solid #e2e8f0;
}

.metric-icon {
    width: 40px;
    height: 40px;
    background: #10b981;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    margin: 0 auto 10px;
    font-size: 1rem;
}

.metric-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 0.25rem;
}

.metric-label {
    font-size: 0.8rem;
    color: #64748b;
    margin-bottom: 0.5rem;
}

.metric-trend {
    font-size: 0.75rem;
    font-weight: 600;
    padding: 2px 6px;
    border-radius: 10px;
}

.metric-trend.down {
    background: #dcfce7;
    color: #166534;
}

.metric-trend.up {
    background: #fef2f2;
    color: #dc2626;
}

.chart-preview {
    display: flex;
    align-items: end;
    gap: 10px;
    height: 120px;
    background: #f8fafc;
    border-radius: 8px;
    padding: 15px;
}

.chart-bar {
    flex: 1;
    background: linear-gradient(to top, #10b981, #34d399);
    border-radius: 4px 4px 0 0;
    min-height: 20px;
}

/* Platform Benefits */
.platform-benefits {
    padding: 80px 0;
    background: white;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin-top: 3rem;
}

.benefit-card {
    background: #f8fafc;
    padding: 40px 30px;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

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

.benefit-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
}

.benefit-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #10b981, #059669);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}

.benefit-card h3 {
    color: #1e293b;
    margin-bottom: 1rem;
    font-weight: 600;
    font-size: 1.4rem;
}

.benefit-card p {
    color: #64748b;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.benefit-card ul {
    color: #475569;
    padding-left: 1.2rem;
    margin: 0;
}

.benefit-card li {
    margin-bottom: 0.5rem;
    line-height: 1.5;
    font-size: 0.95rem;
}

/* Platform Features */
.platform-features {
    padding: 80px 0;
    background: #f8fafc;
}

.features-tabs {
    margin-top: 3rem;
}

.tab-headers {
    display: flex;
    gap: 1px;
    background: #e2e8f0;
    border-radius: 12px 12px 0 0;
    overflow: hidden;
    max-width: 800px;
    margin: 0 auto;
}

.tab-header {
    flex: 1;
    background: white;
    border: none;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-weight: 600;
    color: #64748b;
    cursor: pointer;
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent;
}

.tab-header.active {
    color: #10b981;
    border-bottom-color: #10b981;
    background: #f0fdf9;
}

.tab-header:hover:not(.active) {
    color: #475569;
    background: #f8fafc;
}

.tab-content {
    background: white;
    border-radius: 0 0 12px 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.tab-pane {
    display: none;
    padding: 0;
}

.tab-pane.active {
    display: block;
}

.tab-content-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    padding: 60px;
    align-items: center;
}

.tab-text h3 {
    color: #1e293b;
    margin-bottom: 1rem;
    font-weight: 600;
    font-size: 1.8rem;
}

.tab-text p {
    color: #64748b;
    margin-bottom: 2rem;
    line-height: 1.6;
    font-size: 1.1rem;
}

.feature-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.feature-item i {
    color: #10b981;
    font-size: 1.2rem;
    margin-top: 3px;
    flex-shrink: 0;
}

.feature-item h4 {
    color: #1e293b;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.feature-item p {
    color: #64748b;
    margin: 0;
    font-size: 0.95rem;
}

/* Feature Previews */
.feature-preview {
    background: #f8fafc;
    padding: 30px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
}

.data-flow {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.data-source, .data-processor, .data-output {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    text-align: center;
}

.data-source i, .data-processor i, .data-output i {
    width: 60px;
    height: 60px;
    background: #10b981;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
}

.data-arrow {
    color: #64748b;
    font-size: 1.5rem;
    font-weight: 300;
}

.analytics-preview {
    background: white;
    padding: 25px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.chart-container {
    text-align: center;
}

.chart-title {
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 1.5rem;
}

.chart-bars {
    display: flex;
    align-items: end;
    gap: 20px;
    height: 150px;
    justify-content: center;
}

.chart-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.bar {
    width: 40px;
    background: linear-gradient(to top, #10b981, #34d399);
    border-radius: 4px 4px 0 0;
    min-height: 20px;
}

.chart-item span {
    font-size: 0.8rem;
    color: #64748b;
    font-weight: 500;
}

.reporting-preview {
    display: flex;
    justify-content: center;
}

.report-card {
    background: #f8fafc;
    padding: 25px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    text-align: center;
    min-width: 200px;
}

.report-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 1.5rem;
    color: #1e293b;
    font-weight: 600;
}

.report-header i {
    color: #ef4444;
    font-size: 1.2rem;
}

.report-stats {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.report-stat {
    text-align: center;
}

.report-stat span {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: #10b981;
    margin-bottom: 0.25rem;
}

.report-stat small {
    color: #64748b;
    font-size: 0.8rem;
}

.collaboration-preview {
    text-align: center;
}

.user-avatars {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 2rem;
}

.avatar {
    width: 50px;
    height: 50px;
    background: #10b981;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
}

.avatar span {
    font-size: 0.8rem;
    font-weight: 600;
}

.collaboration-stats {
    display: flex;
    gap: 30px;
    justify-content: center;
}

.collab-stat {
    text-align: center;
}

.collab-stat strong {
    display: block;
    font-size: 1.8rem;
    color: #10b981;
    margin-bottom: 0.5rem;
}

.collab-stat span {
    color: #64748b;
    font-size: 0.9rem;
}

/* Integration Capabilities */
.integration-capabilities {
    padding: 80px 0;
    background: white;
}

.integration-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 3rem;
}

.integration-card {
    background: #f8fafc;
    padding: 40px 30px;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    text-align: center;
    transition: transform 0.3s ease;
}

.integration-card:hover {
    transform: translateY(-5px);
}

.integration-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #10b981, #059669);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    margin: 0 auto 1.5rem;
}

.integration-card h3 {
    color: #1e293b;
    margin-bottom: 1rem;
    font-weight: 600;
}

.integration-card p {
    color: #64748b;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.integration-partners {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
}

.partner-logo {
    background: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #475569;
    border: 1px solid #e2e8f0;
}

/* Industry Solutions */
.industry-solutions {
    padding: 80px 0;
    background: #f8fafc;
}

.industry-tab-headers {
    display: flex;
    gap: 1px;
    background: #e2e8f0;
    border-radius: 12px 12px 0 0;
    overflow: hidden;
    max-width: 600px;
    margin: 0 auto 3rem;
}

.industry-tab-header {
    flex: 1;
    background: white;
    border: none;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-weight: 600;
    color: #64748b;
    cursor: pointer;
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent;
}

.industry-tab-header.active {
    color: #10b981;
    border-bottom-color: #10b981;
    background: #f0fdf9;
}

.industry-tab-pane {
    display: none;
}

.industry-tab-pane.active {
    display: block;
}

.industry-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    align-items: start;
}

.industry-text h3 {
    color: #1e293b;
    margin-bottom: 1rem;
    font-weight: 600;
    font-size: 1.8rem;
}

.industry-text p {
    color: #64748b;
    margin-bottom: 2rem;
    line-height: 1.6;
    font-size: 1.1rem;
}

.solution-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.solution-feature h4 {
    color: #1e293b;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.solution-feature p {
    color: #64748b;
    margin: 0;
    font-size: 0.95rem;
}

.industry-metrics {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.industry-metric {
    text-align: center;
    padding: 25px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    border: 1px solid #e2e8f0;
}

.metric-value {
    font-size: 2.5rem;
    font-weight: 700;
    color: #10b981;
    margin-bottom: 0.5rem;
}

.metric-unit {
    font-size: 1rem;
    color: #64748b;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.metric-label {
    color: #475569;
    font-size: 0.9rem;
}

/* Platform Demo */
.platform-demo {
    padding: 80px 0;
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    color: white;
}

.demo-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.demo-text h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.demo-text p {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    line-height: 1.6;
    opacity: 0.9;
}

.demo-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.demo-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.1rem;
}

.demo-feature i {
    color: #10b981;
}

.demo-form {
    background: white;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.demo-request-form h3 {
    color: #1e293b;
    margin-bottom: 2rem;
    font-weight: 600;
    text-align: center;
    font-size: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #10b981;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

.btn-block {
    width: 100%;
    justify-content: center;
}

.form-note {
    text-align: center;
    color: #64748b;
    font-size: 0.9rem;
    margin-top: 1rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .platform-hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .tab-content-inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .integration-grid {
        grid-template-columns: 1fr;
    }
    
    .industry-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .solution-features {
        grid-template-columns: 1fr;
    }
    
    .demo-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .platform-hero {
        padding: 120px 0 60px;
    }
    
    .hero-text h1 {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .metric-cards {
        grid-template-columns: 1fr;
    }
    
    .tab-headers {
        flex-direction: column;
    }
    
    .industry-tab-headers {
        flex-direction: column;
    }
    
    .tab-content-inner {
        padding: 40px 20px;
    }
    
    .data-flow {
        flex-direction: column;
        gap: 20px;
    }
    
    .data-arrow {
        transform: rotate(90deg);
    }
}

@media (max-width: 480px) {
    .hero-actions {
        flex-direction: column;
    }
    
    .hero-actions .btn {
        width: 100%;
        justify-content: center;
    }
    
    .platform-preview {
        transform: scale(0.9);
        transform-origin: center;
    }
}