/* ===== CTA Section ===== */
.ctaSectionV2 {
    padding: var(--section-bg-py) 0;
}

@keyframes gradientShift {
    0%   { background-position: 0% 50%; }
    50%  { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes trustWave {
    0%, 100% { opacity: 0.45; }
    50%       { opacity: 0.85; }
}

@keyframes ctaPulse {
    0%   { box-shadow: 0 0 0 0 rgba(255,255,255,0.45); }
    70%  { box-shadow: 0 0 0 10px rgba(255,255,255,0); }
    100% { box-shadow: 0 0 0 0 rgba(255,255,255,0); }
}

/* ===== Card ===== */
.cta-card {
    border-radius: 24px;
    overflow: hidden;
    position: relative;
    text-align: center;
}

/* ===== Animated gradient bg ===== */
.cta-bg-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #3F3494 0%, #5244B8 40%, #685ADB 80%, #8578E6 100%);
    background-size: 250% 250%;
    animation: gradientShift 10s ease infinite;
    z-index: 0;
}

/* ===== Mouse glow overlay ===== */
.cta-mouse-glow {
    position: absolute;
    inset: 0;
    pointer-events: none;
    transition: background 0.3s ease;
    z-index: 1;
}

/* ===== Grid overlay ===== */
.cta-grid-overlay {
    position: absolute;
    inset: 0;
    opacity: 0.03;
    background-image:
        linear-gradient(rgba(255,255,255,0.5) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.5) 1px, transparent 1px);
    background-size: 36px 36px;
    pointer-events: none;
    z-index: 2;
}

/* ===== Bottom accent line ===== */
.cta-bottom-line {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 10%, rgba(255,255,255,0.12) 50%, transparent 90%);
    z-index: 3;
}

/* ===== Content ===== */
.cta-content-v2 {
    position: relative;
    z-index: 10;
    margin: 0 auto;
    padding: 64px 56px 52px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* ===== Eyebrow badge ===== */
.cta-eyebrow-v2 {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 18px 7px 12px;
    background: rgba(255,255,255,0.08);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 100px;
    color: rgba(255,255,255,0.85);
    font-family: var(--font-primary);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 28px;
}

.cta-eyebrow-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #A594F9;
    flex-shrink: 0;
}

/* ===== Headline ===== */
.cta-headline {
    font-family: var(--font-primary);
    font-size: 44px;
    font-weight: 900;
    color: #fff;
    line-height: 1.18;
    max-width: 560px;
    margin: 0 0 18px;
    position: relative;
    display: inline-block;
}

/* SVG underline */
.cta-underline-svg {
    position: absolute;
    bottom: -6px;
    left: 10%;
    width: 80%;
    height: 12px;
    overflow: visible;
    pointer-events: none;
}

.cta-underline-path {
    stroke-dasharray: 500;
    stroke-dashoffset: 500;
}

/* ===== Subtext ===== */
.cta-subtext,
.cta-subtext p {
    font-family: var(--font-primary);
    font-size: 17px;
    line-height: 1.72;
    color: rgba(255,255,255,0.55);
    max-width: 520px;
    margin: 0 0 40px;
    text-align: center;
}

/* ===== Buttons ===== */
.cta-buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-bottom: 44px;
    flex-wrap: wrap;
}

.cta-btn-v2 {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 16px 40px;
    border-radius: 12px;
    font-family: var(--font-primary);
    font-size: 16px;
    font-weight: 900;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
    border: 1.5px solid transparent;
    line-height: 1;
}

.cta-btn-primary {
    background: rgba(255,255,255,0.95);
    color: #3F3494;
    border-color: transparent;
    animation: ctaPulse 2s ease-out infinite;
}

.cta-btn-primary:hover {
    background: #fff;
    color: #3F3494;
    transform: translateY(-4px) scale(1.04);
    box-shadow: 0 16px 40px rgba(0,0,0,0.2), 0 0 0 4px rgba(255,255,255,0.12);
}

.cta-btn-primary .cta-btn-arrow {
    transition: transform 0.3s ease;
}

.cta-btn-primary:hover .cta-btn-arrow {
    transform: translateX(3px);
}

.cta-btn-secondary {
    background: rgba(255,255,255,0.06);
    color: #fff;
    border-color: rgba(255,255,255,0.15);
    backdrop-filter: blur(8px);
}

.cta-btn-secondary:hover {
    background: rgba(255,255,255,0.16);
    border-color: rgba(255,255,255,0.35);
    color: #fff;
    transform: translateY(-4px);
}

/* ===== Divider ===== */
.cta-divider {
    width: 100%;
    max-width: 520px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.12), transparent);
    margin: 0 auto 28px;
}

/* ===== Trust badges ===== */
.cta-trust-badges {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
}

.cta-trust-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: rgba(255,255,255,0.45);
    font-family: var(--font-primary);
    font-size: 13px;
    font-weight: 600;
    animation: trustWave 3s ease infinite var(--wave-delay, 0s);
}

.cta-trust-badge svg {
    flex-shrink: 0;
}

/* ===== Responsive ===== */
@media (max-width: 991px) {
    .cta-content-v2 { padding: 52px 40px 44px; }
    .cta-headline { font-size: 36px; }
}

@media (max-width: 768px) {
    .cta-content-v2 { padding: 44px 28px 36px; }
    .cta-headline { font-size: 30px; }
    .cta-subtext, .cta-subtext p { font-size: 15px; }
    .cta-trust-badges { gap: 16px; }
}

@media (max-width: 575px) {
    .cta-content-v2 { padding: 36px 18px 28px; }
    .cta-headline { font-size: 24px; }
    .cta-subtext, .cta-subtext p { font-size: 14px; margin-bottom: 28px; }
    .cta-buttons { flex-direction: column; gap: 10px; margin-bottom: 28px; width: 100%; }
    .cta-btn-v2 { width: 100%; justify-content: center; padding: 14px 24px; }
    .cta-trust-badges { gap: 12px; }
    .cta-trust-badge { font-size: 12px; }
}
