/* Integrations Page CSS - Matching Features Page Styling */

/* Ensure consistent body padding */
body {
    padding-top: 80px !important;
}

/* Page header styling to match features page exactly */
.page-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    padding: 180px 0 80px !important;
    text-align: center !important;
    position: relative !important;
    overflow: hidden !important;
    margin-top: 0 !important;
}

/* Add the animated background effect */
.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><circle cx="200" cy="200" r="150" fill="rgba(255,255,255,0.1)" /><circle cx="800" cy="400" r="120" fill="rgba(255,255,255,0.08)" /></svg>');
    animation: float 20s ease-in-out infinite;
}

/* Header text styling */
.page-header h1 {
    font-size: 4rem;
    font-weight: 800;
    color: white;
    margin-bottom: 30px;
    position: relative;
    z-index: 2;
    text-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.page-header p {
    font-size: 1.4rem;
    color: rgba(255,255,255,0.95);
    position: relative;
    z-index: 2;
    max-width: 700px;
    margin: 0 auto 40px;
}

/* Header Stats */
.header-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-top: 50px;
    position: relative;
    z-index: 2;
}

.stat-item {
    text-align: center;
    color: white;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    display: block;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 1rem;
    opacity: 0.9;
}

/* Popular Integrations Section */
.popular-integrations {
    padding: 120px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    margin-top: -60px;
    position: relative;
    z-index: 2;
}

.integration-card {
    background: white;
    border-radius: 25px;
    padding: 40px 30px;
    text-align: center;
    height: 100%;
    box-shadow: var(--shadow-lg);
    transition: all 0.5s ease;
    border: 3px solid transparent;
    position: relative;
    overflow: hidden;
}

.integration-card:hover {
    transform: translateY(-20px) scale(1.02);
    box-shadow: var(--shadow-xl);
    border-color: var(--brand-primary);
}

.integration-card.featured {
    border-color: var(--brand-warning);
    transform: scale(1.02);
    z-index: 3;
}

.integration-card.featured::after {
    content: 'Popular';
    position: absolute;
    top: -15px;
    right: 20px;
    background: var(--warning-gradient);
    color: white;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    box-shadow: var(--shadow-md);
}

.integration-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(102, 126, 234, 0.05) 0%, transparent 70%);
    transform: scale(0);
    transition: transform 0.6s ease;
}

.integration-card:hover::before {
    transform: scale(1);
}

.integration-logo {
    margin-bottom: 25px;
    position: relative;
    z-index: 2;
}

.integration-logo i {
    transition: all 0.4s ease;
}

.integration-card:hover .integration-logo i {
    transform: scale(1.1);
}

.integration-card h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
}

.integration-card p {
    color: #6c757d;
    line-height: 1.7;
    margin-bottom: 25px;
    position: relative;
    z-index: 2;
}

.integration-features {
    list-style: none;
    padding: 0;
    text-align: left;
    margin-bottom: 25px;
    position: relative;
    z-index: 2;
}

.integration-features li {
    padding: 6px 0;
    color: #2c3e50;
    font-size: 14px;
    font-weight: 500;
}

.integration-features .check {
    color: var(--brand-accent);
    margin-right: 10px;
    font-size: 14px;
}

.integration-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 25px;
    position: relative;
    z-index: 2;
}

.setup-time {
    font-size: 14px;
    color: #6c757d;
    font-weight: 600;
}

.setup-time i {
    margin-right: 5px;
    color: var(--brand-accent);
}

/* Industry Integrations Section */
.industry-integrations {
    padding: 120px 0;
    background: white;
}

.industry-tabs {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 60px;
    flex-wrap: wrap;
}

.tab-button {
    background: transparent;
    border: 2px solid var(--brand-primary);
    color: var(--brand-primary);
    padding: 15px 30px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.4s ease;
    cursor: pointer;
}

.tab-button:hover,
.tab-button.active {
    background: var(--brand-primary);
    color: white;
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.tab-content {
    display: none;
}

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

.industry-card {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    height: 100%;
    box-shadow: var(--shadow-sm);
    transition: all 0.4s ease;
    border: 1px solid rgba(0,0,0,0.05);
    position: relative;
    overflow: hidden;
}

.industry-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.industry-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(102, 126, 234, 0.03) 0%, transparent 70%);
    transform: scale(0);
    transition: transform 0.6s ease;
}

.industry-card:hover::before {
    transform: scale(1);
}

.industry-icon {
    width: 80px;
    height: 80px;
    background: var(--accent-gradient);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 2rem;
    box-shadow: var(--shadow-md);
    position: relative;
    z-index: 2;
    transition: all 0.4s ease;
}

.industry-card:hover .industry-icon {
    transform: scale(1.1);
    box-shadow: var(--shadow-lg);
}

.industry-card h4 {
    color: #2c3e50;
    margin-bottom: 15px;
    font-size: 1.4rem;
    font-weight: 700;
    position: relative;
    z-index: 2;
}

.industry-card p {
    color: #6c757d;
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
}

.industry-features {
    list-style: none;
    padding: 0;
    text-align: left;
    margin-bottom: 0;
    position: relative;
    z-index: 2;
}

.industry-features li {
    padding: 6px 0;
    color: #2c3e50;
    font-size: 14px;
    font-weight: 500;
}

.industry-features .check {
    color: var(--brand-accent);
    margin-right: 10px;
    font-size: 14px;
}

/* API Integrations Section */
.api-integrations {
    padding: 120px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
}

.api-integrations::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><circle cx="900" cy="100" r="100" fill="rgba(102, 126, 234, 0.03)" /><circle cx="100" cy="500" r="150" fill="rgba(118, 75, 162, 0.02)" /></svg>');
    animation: float 30s ease-in-out infinite reverse;
}

.api-integrations h2 {
    font-size: 3rem;
    font-weight: 800;
    color: #2c3e50;
    margin-bottom: 25px;
    position: relative;
    z-index: 2;
}

.api-integrations > .container > .row > .col-lg-6 > p {
    font-size: 1.3rem;
    color: #6c757d;
    margin-bottom: 40px;
    position: relative;
    z-index: 2;
}

.api-features {
    margin: 40px 0;
    position: relative;
    z-index: 2;
}

.api-feature {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    align-items: flex-start;
}

.api-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-gradient);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: var(--shadow-md);
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.api-feature:hover .api-icon {
    transform: scale(1.1);
    box-shadow: var(--shadow-lg);
}

.api-details h4 {
    color: var(--brand-primary);
    margin-bottom: 10px;
    font-size: 1.3rem;
    font-weight: 700;
}

.api-details p {
    color: #6c757d;
    margin: 0;
    line-height: 1.6;
}

.api-actions {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    position: relative;
    z-index: 2;
}

.code-block {
    background: #1e1e1e;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    position: relative;
    z-index: 2;
}

.code-header {
    background: #2d2d2d;
    padding: 15px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    color: #888;
}

.language {
    background: #007acc;
    color: white;
    padding: 4px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
}

.code-block pre {
    margin: 0;
    padding: 30px;
    overflow-x: auto;
}

.code-block code {
    color: #d4d4d4;
    font-family: 'Monaco', 'Consolas', monospace;
    font-size: 14px;
    line-height: 1.6;
}

/* Integration Benefits Section */
.integration-benefits {
    padding: 120px 0;
    background: white;
}

.benefit-card {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    height: 100%;
    box-shadow: var(--shadow-sm);
    transition: all 0.4s ease;
    border: 1px solid rgba(0,0,0,0.05);
    position: relative;
    overflow: hidden;
}

.benefit-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.benefit-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(79, 172, 254, 0.05) 0%, transparent 70%);
    transform: scale(0);
    transition: transform 0.6s ease;
}

.benefit-card:hover::before {
    transform: scale(1);
}

.benefit-icon {
    width: 80px;
    height: 80px;
    background: var(--success-gradient);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 2rem;
    box-shadow: var(--shadow-md);
    position: relative;
    z-index: 2;
    transition: all 0.4s ease;
}

.benefit-card:hover .benefit-icon {
    transform: scale(1.1);
    box-shadow: var(--shadow-lg);
}

.benefit-card h3 {
    color: #2c3e50;
    margin-bottom: 15px;
    font-size: 1.4rem;
    font-weight: 700;
    position: relative;
    z-index: 2;
}

.benefit-card p {
    color: #6c757d;
    margin: 0;
    line-height: 1.6;
    position: relative;
    z-index: 2;
}

/* Integration Support Section */
.integration-support-section {
    background: var(--dark-gradient);
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.integration-support-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><circle cx="200" cy="200" r="200" fill="rgba(255,255,255,0.08)" /><circle cx="800" cy="500" r="150" fill="rgba(255,255,255,0.05)" /></svg>');
    animation: float 20s ease-in-out infinite reverse;
}

.support-icon {
    font-size: 4rem;
    color: white;
    margin-bottom: 30px;
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 4px 15px rgba(0,0,0,0.2));
}

.integration-support-section h2 {
    font-size: 3rem;
    font-weight: 800;
    color: white;
    margin-bottom: 25px;
    position: relative;
    z-index: 2;
    text-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.integration-support-section > .container > p {
    font-size: 1.2rem;
    color: rgba(255,255,255,0.95);
    margin-bottom: 50px;
    position: relative;
    z-index: 2;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.support-features {
    margin: 50px 0;
    position: relative;
    z-index: 2;
}

.support-feature {
    text-align: center;
    color: white;
    margin-bottom: 30px;
}

.support-feature-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: rgba(255,255,255,0.9);
}

.support-feature h4 {
    color: white;
    margin-bottom: 15px;
    font-size: 1.4rem;
    font-weight: 700;
}

.support-feature p {
    color: rgba(255,255,255,0.9);
    margin: 0;
    line-height: 1.6;
}

.integration-support-section .cta-buttons {
    position: relative;
    z-index: 2;
    display: flex;
    gap: 25px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Animation keyframes */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

/* Responsive Design for Integrations */
@media (max-width: 1200px) {
    .page-header h1 {
        font-size: 3.5rem;
    }
}

@media (max-width: 992px) {
    .page-header h1 {
        font-size: 3rem;
    }

    .page-header p {
        font-size: 1.3rem;
    }

    .header-stats {
        flex-direction: column;
        gap: 30px;
    }

    .industry-tabs {
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 10px;
    }

    .api-integrations .row {
        flex-direction: column-reverse;
    }

    .code-block {
        margin-bottom: 40px;
    }
}

@media (max-width: 768px) {
    .page-header {
        padding: 150px 0 60px;
    }

    .page-header h1 {
        font-size: 2.5rem;
    }

    .page-header p {
        font-size: 1.1rem;
        max-width: 100%;
    }

    .integration-card,
    .industry-card,
    .benefit-card {
        padding: 30px 20px;
        margin-bottom: 30px;
    }

    .integration-logo i {
        font-size: 2.5rem !important;
    }

    .industry-icon,
    .benefit-icon {
        width: 70px;
        height: 70px;
        font-size: 1.5rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    .header-stats {
        gap: 20px;
    }

    .api-features {
        margin: 30px 0;
    }

    .api-feature {
        margin-bottom: 25px;
    }

    .api-icon {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }

    .integration-support-section h2 {
        font-size: 2.5rem;
    }

    .support-icon {
        font-size: 3rem;
    }

    .integration-support-section .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .tab-button {
        padding: 12px 20px;
        font-size: 12px;
    }

    .industry-tabs {
        gap: 10px;
    }
}

@media (max-width: 576px) {
    .page-header h1 {
        font-size: 2rem;
    }

    .integration-card,
    .industry-card,
    .benefit-card {
        padding: 25px 15px;
    }

    .integration-actions {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .api-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .code-block pre {
        padding: 20px;
        font-size: 12px;
    }

    .support-feature-icon {
        font-size: 2rem;
    }

    .support-feature h4 {
        font-size: 1.2rem;
    }
}
