/* BrainyTech - CTA Section Styles */
/* Call to action section with gradient card and buttons */

/* CTA Section */
.ctaSection {
    padding: 80px 0;
}

.ctaCard {
    text-align: center;
    padding: 80px 60px;
    background: rgba(255, 255, 255, 0.5);
    border: 1px solid rgba(30, 58, 138, 0.2);
    border-radius: 32px;
    box-shadow: 0 30px 80px rgba(30, 58, 138, 0.1);
    position: relative;
    overflow: hidden;
}

[data-theme="dark"] .ctaCard {
    background: linear-gradient(135deg, rgba(14, 31, 64, 0.85), rgba(7, 15, 32, 0.9));
    border: 1px solid rgba(30, 58, 138, 0.4);
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(59, 130, 246, 0.12),
        0 0 40px rgba(30, 58, 138, 0.15);
}

.ctaCard::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.05), rgba(59, 130, 246, 0.05));
    z-index: 0;
    pointer-events: none;
}

[data-theme="dark"] .ctaCard::before {
    background: linear-gradient(135deg,
        rgba(30, 58, 138, 0.1) 0%,
        rgba(59, 130, 246, 0.08) 50%,
        rgba(30, 58, 138, 0.1) 100%);
}

.ctaTitle {
    font-size: 48px;
    font-weight: 900;
    color: var(--color-text);
    margin-bottom: 20px;
    letter-spacing: -0.02em;
    position: relative;
    z-index: 1;
}

[data-theme="dark"] .ctaTitle {
    color: #f1f5f9;
}

.ctaDescription {
    font-size: 20px;
    color: var(--color-text-secondary);
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
    position: relative;
    z-index: 1;
}

[data-theme="dark"] .ctaDescription {
    color: #cbd5e1;
}

.ctaButtons {
    display: flex;
    gap: 16px;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.btnCtaPrimary, .btnCtaSecondary {
    padding: 18px 36px;
    border-radius: 14px;
    font-size: 16px;
    font-weight: 700;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.btnCtaPrimary {
    background: linear-gradient(135deg, #1e3a8a, #3b82f6);
    color: white;
    border: 1px solid rgba(59, 130, 246, 0.3);
    box-shadow:
        0 8px 24px rgba(30, 58, 138, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
    position: relative;
    overflow: hidden;
}

[data-theme="dark"] .btnCtaPrimary {
    background: linear-gradient(135deg, #1e3a8a, #2563eb);
    border: 1px solid rgba(59, 130, 246, 0.4);
    box-shadow:
        0 8px 24px rgba(30, 58, 138, 0.5),
        inset 0 1px 0 rgba(59, 130, 246, 0.2);
}

.btnCtaPrimary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #2563eb, #60a5fa);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.btnCtaPrimary span {
    position: relative;
    z-index: 1;
}

.btnCtaPrimary svg {
    position: relative;
    z-index: 1;
}

.btnCtaPrimary:hover {
    transform: translateY(-3px);
    box-shadow:
        0 12px 32px rgba(30, 58, 138, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

[data-theme="dark"] .btnCtaPrimary:hover {
    box-shadow:
        0 12px 32px rgba(59, 130, 246, 0.6),
        inset 0 1px 0 rgba(59, 130, 246, 0.25);
}

.btnCtaPrimary:hover::before {
    opacity: 1;
}

.btnCtaPrimary:hover span,
.btnCtaPrimary:hover svg {
    color: white;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.btnCtaSecondary {
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
    color: var(--color-text);
    border: 2px solid var(--color-border);
}

[data-theme="dark"] .btnCtaSecondary {
    background: rgba(255, 255, 255, 0.03);
}

.btnCtaSecondary:hover {
    background: rgba(92, 23, 243, 0.1);
    border-color: var(--color-primary);
    transform: translateY(-3px);
}
