/* Integrations Page Specific Styles */

/* Hero Section */
.integrations-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 6rem 0 4rem;
    color: white;
}

.integrations-hero .hero-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.integrations-hero .hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 3rem;
    opacity: 0.95;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.integration-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.integration-stats .stat {
    text-align: center;
}

.integration-stats .stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.5rem;
}

.integration-stats .stat-label {
    font-size: 0.95rem;
    opacity: 0.9;
}

/* Vendors Grid */
.vendors-section {
    padding: 5rem 0;
    background: #f7fafc;
}

.section-header {
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #718096;
    max-width: 700px;
    margin: 0 auto;
}

.vendors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.vendor-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.07);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.vendor-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
}

.vendor-card.complete {
    border-color: #48bb78;
    background: linear-gradient(135deg, #ffffff 0%, #f0fff4 100%);
}

.vendor-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.vendor-icon {
    font-size: 3rem;
    line-height: 1;
}

.vendor-badge {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 0.35rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.vendor-card.complete .vendor-badge {
    background: linear-gradient(135deg, #48bb78 0%, #38a169 100%);
}

.vendor-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 0.75rem;
}

.vendor-description {
    color: #4a5568;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    min-height: 60px;
}

.vendor-stats {
    display: flex;
    gap: 2rem;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: #f7fafc;
    border-radius: 8px;
}

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

.stat-item strong {
    display: block;
    font-size: 1.75rem;
    font-weight: 700;
    color: #667eea;
    margin-bottom: 0.25rem;
}

.vendor-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.feature-tag {
    background: #edf2f7;
    color: #4a5568;
    padding: 0.4rem 0.75rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

.vendor-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e2e8f0;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
}

.btn-outline {
    background: transparent;
    border: 2px solid #667eea;
    color: #667eea;
}

.btn-outline:hover {
    background: #667eea;
    color: white;
}

.coverage-indicator {
    font-size: 0.85rem;
    font-weight: 600;
    color: #4a5568;
}

/* Architecture Section */
.architecture-section {
    padding: 5rem 0;
    background: white;
}

.architecture-diagram {
    max-width: 1000px;
    margin: 3rem auto;
    padding: 2rem;
    background: #f7fafc;
    border-radius: 16px;
}

.arch-layer {
    margin-bottom: 2rem;
}

.layer-title {
    text-align: center;
    font-size: 1.25rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 1rem;
}

.layer-boxes {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}

.arch-box {
    background: white;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    border: 2px solid #e2e8f0;
    font-weight: 600;
    color: #4a5568;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.arch-box:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.arch-box.primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-color: #667eea;
}

.arch-layer.highlight {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    padding: 2rem;
    border-radius: 12px;
    margin: 2rem 0;
}

.arch-arrow {
    text-align: center;
    font-size: 2rem;
    margin: 1rem 0;
}

.architecture-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-block {
    text-align: center;
    padding: 2rem;
}

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

.feature-block h4 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 0.75rem;
}

.feature-block p {
    color: #718096;
    line-height: 1.6;
}

/* Coverage Comparison */
.coverage-section {
    padding: 5rem 0;
    background: #f7fafc;
}

.comparison-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 2rem;
    max-width: 1000px;
    margin: 3rem auto;
    align-items: center;
}

.comparison-card {
    background: white;
    border-radius: 12px;
    padding: 2.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.07);
}

.comparison-card.enhanced {
    background: linear-gradient(135deg, #ffffff 0%, #f0e7ff 100%);
    border: 2px solid #667eea;
}

.comparison-header h3 {
    font-size: 1.75rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 0.5rem;
}

.comparison-subtitle {
    color: #718096;
    margin-bottom: 2rem;
}

.stat-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 1px solid #e2e8f0;
}

.stat-row:last-child {
    border-bottom: none;
}

.stat-label {
    font-weight: 600;
    color: #4a5568;
}

.stat-value {
    font-size: 2rem;
    font-weight: 700;
    color: #2d3748;
}

.stat-badge {
    margin-left: 0.5rem;
    background: #48bb78;
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.vs-divider {
    text-align: center;
    padding: 2rem 0;
}

.vs-text {
    display: inline-block;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    width: 60px;
    height: 60px;
    line-height: 60px;
    border-radius: 50%;
    font-weight: 700;
    font-size: 1.5rem;
}

.improvement-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    justify-content: center;
    margin-top: 3rem;
}

.highlight-item {
    background: white;
    padding: 1rem 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.highlight-icon {
    font-size: 1.5rem;
}

/* Documentation Section */
.docs-section {
    padding: 5rem 0;
    background: white;
}

.docs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.doc-card {
    background: #f7fafc;
    border-radius: 12px;
    padding: 2rem;
    border: 2px solid #e2e8f0;
    transition: all 0.3s ease;
}

.doc-card:hover {
    border-color: #667eea;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.doc-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.doc-icon {
    font-size: 2.5rem;
}

.doc-header h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #2d3748;
}

.doc-links {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem 0;
}

.doc-links li {
    margin-bottom: 0.75rem;
}

.doc-links a {
    color: #667eea;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.doc-links a:hover {
    color: #764ba2;
    text-decoration: underline;
}

.doc-links a.internal-link {
    color: #4a5568;
}

.doc-stats {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    padding-top: 1rem;
    border-top: 1px solid #e2e8f0;
}

.doc-stat {
    background: white;
    padding: 0.4rem 0.75rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #4a5568;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 5rem 0;
    color: white;
}

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.cta-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.cta-note {
    font-size: 0.95rem;
    opacity: 0.9;
}

/* Utilities */
.text-center {
    text-align: center;
}

.gradient-text {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Responsive */
@media (max-width: 768px) {
    .integrations-hero .hero-title {
        font-size: 2rem;
    }

    .integration-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .vendors-grid {
        grid-template-columns: 1fr;
    }

    .comparison-grid {
        grid-template-columns: 1fr;
    }

    .vs-divider {
        transform: rotate(90deg);
    }

    .docs-grid {
        grid-template-columns: 1fr;
    }

    .architecture-diagram {
        padding: 1rem;
    }

    .layer-boxes {
        flex-direction: column;
    }

    .arch-box {
        width: 100%;
        text-align: center;
    }

    .cta-content h2 {
        font-size: 1.75rem;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .cta-buttons .btn {
        width: 100%;
    }
}
