/* Reusable CTA Section Styles */
.cta-section {
    height: 640px;
    padding: 80px 96px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    position: relative;
    overflow: hidden;
}

.cta-content {
    width: 560px;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.cta-text {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.cta-text h2 {
    font-size: 48px;
    line-height: 56px;
    font-weight: 700;
    color: white;
    margin: 0;
}

.cta-text p {
    font-size: 16px;
    line-height: 24px;
    color: white;
    margin: 0;
}

.btn-cta {
    width: 220px;
    height: 56px;
    padding: 0 16px;
    background: #14171A;
    border-radius: 16px;
    color: white;
    font-size: 18px;
    font-family: 'Red Hat Display', sans-serif;
    font-weight: 700;
    line-height: 26px;
    text-decoration: none;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}

.btn-cta:hover {
    background: #000000;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.btn-cta:active {
    transform: translateY(0);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
}

/* Responsive Design */
@media (max-width: 1200px) {
    .cta-section {
        padding: 60px 2rem;
        background: #3B5EF6;
        justify-content: center;
        align-items: center;
        position: relative;
        overflow: hidden;
    }

    .cta-content {
        width: 100%;
        max-width: 600px;
        text-align: center;
        z-index: 2;
        align-items: center;
        position: relative;
    }

    .btn-cta {
        margin: 0 auto;
    }

    .cta-text h2 {
        font-size: 36px;
        line-height: 44px;
    }
}

/* iPad and tablet specific */
@media (max-width: 1024px) {
    .cta-section {
        height: auto;
        min-height: 800px;
        padding: 60px 2rem 350px 2rem;
        display: flex;
        flex-direction: column;
        align-items: center;
        position: relative;
    }

    .cta-content {
        margin-bottom: 0;
        position: relative;
        z-index: 10;
        align-items: center;
        text-align: center;
    }

    .cta-text {
        align-items: center;
        text-align: center;
    }

    .cta-text h2,
    .cta-text p {
        text-align: center;
    }

    .btn-cta {
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .cta-section {
        height: auto;
        min-height: 700px;
        padding: 40px 1rem 320px 1rem;
        display: flex;
        flex-direction: column;
        align-items: center;
        position: relative;
    }

    .cta-content {
        margin-bottom: 0;
        position: relative;
        z-index: 10;
    }

    .cta-text h2 {
        font-size: 28px;
        line-height: 36px;
    }

    .cta-text p {
        font-size: 14px;
        line-height: 20px;
    }

    .btn-cta {
        width: 200px;
        height: 48px;
        font-size: 16px;
    }
}

/* Alternative CTA themes */
.cta-section.cta-dark {
    background: 
        linear-gradient(180deg, rgba(20, 23, 26, 0) 30%, rgba(20, 23, 26, 0.8) 100%),
        #14171A;
}

.cta-section.cta-dark .btn-cta {
    background: #3B5EF6;
}

.cta-section.cta-dark .btn-cta:hover {
    background: #2A4CE6;
}

.cta-section.cta-light {
    background: 
        linear-gradient(180deg, rgba(245, 246, 252, 0) 30%, rgba(245, 246, 252, 0.9) 100%),
        #F5F6FC;
}

.cta-section.cta-light .cta-text h2,
.cta-section.cta-light .cta-text p {
    color: #14171A;
}