/* Ecosystem Partnership Section Styles */

.ecosystem-section {
    background: linear-gradient(135deg, #f7fafc 0%, #e6f4ea 100%);
    padding: 80px 0;
}

.ecosystem-header {
    text-align: center;
    margin-bottom: 60px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.ecosystem-badge {
    display: inline-block;
    padding: 8px 20px;
    background: var(--gradient-primary);
    color: white;
    border-radius: 24px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 20px;
}

.ecosystem-header .section-title {
    font-size: clamp(28px, 5vw, 42px);
    color: var(--text-primary);
    margin-bottom: 16px;
    font-family: var(--font-heading);
}

.ecosystem-header .section-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* Ecosystem Grid */
.ecosystem-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

/* Ecosystem Cards */
.ecosystem-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid var(--border-light);
}

.ecosystem-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-2xl);
    border-color: var(--primary-light);
}

.ecosystem-card-header {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 24px;
    border-bottom: 2px solid var(--border-light);
    flex-wrap: wrap;
}

.ecosystem-icon {
    font-size: 48px;
    flex-shrink: 0;
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    border-radius: 12px;
}

.ecosystem-title-group {
    flex: 1;
    min-width: 150px;
}

.ecosystem-card-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 4px;
    font-family: var(--font-heading);
}

.ecosystem-role {
    font-size: 13px;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

.ecosystem-badge-small {
    padding: 6px 14px;
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
    color: #1e40af;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
}

/* Card Body */
.ecosystem-card-body {
    padding: 24px;
}

.ecosystem-description {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 20px;
}

/* Proof Points */
.ecosystem-proof {
    margin-bottom: 24px;
}

.proof-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 12px;
    font-size: 15px;
    color: var(--text-primary);
    line-height: 1.6;
}

.check-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: #dcfce7;
    color: #16a34a;
    border-radius: 50%;
    font-weight: 700;
    font-size: 14px;
    flex-shrink: 0;
    margin-top: 2px;
}

/* Ecosystem Link */
.ecosystem-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    transition: all 0.2s ease;
    border-bottom: 2px solid transparent;
}

.ecosystem-link:hover {
    color: var(--primary-light);
    gap: 12px;
    border-bottom-color: var(--primary-light);
}

/* Ecosystem CTA */
.ecosystem-cta {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    padding: 48px;
    border-radius: 20px;
    text-align: center;
    box-shadow: var(--shadow-xl);
}

.ecosystem-cta-title {
    font-size: 28px;
    font-weight: 700;
    color: white;
    margin-bottom: 16px;
    font-family: var(--font-heading);
}

.ecosystem-cta-text {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.7;
    max-width: 900px;
    margin: 0 auto;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .ecosystem-section {
        padding: 60px 0;
    }

    .ecosystem-header {
        margin-bottom: 40px;
    }

    .ecosystem-grid {
        grid-template-columns: 1fr;
        gap: 24px;
        margin-bottom: 40px;
    }

    .ecosystem-card-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .ecosystem-icon {
        width: 56px;
        height: 56px;
        font-size: 40px;
    }

    .ecosystem-badge-small {
        align-self: flex-start;
    }

    .ecosystem-cta {
        padding: 32px 24px;
    }

    .ecosystem-cta-title {
        font-size: 24px;
    }

    .ecosystem-cta-text {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .ecosystem-badge {
        font-size: 12px;
        padding: 6px 16px;
    }

    .ecosystem-card-title {
        font-size: 20px;
    }

    .ecosystem-role {
        font-size: 12px;
    }
}
