/**
 * Keplor ROI Engine – Front-end Stylesheet
 * Styles the auto-inserted CTA block and any front-end Schema badge.
 * Enqueued on public pages when auto-inserted content is detected.
 */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&display=swap');

/* ── Keplor CTA Block ────────────────────────────────────────────────────────── */
.keplor-cta-block {
    position: relative;
    background: linear-gradient(135deg, #0a0a0a 0%, #242424 100%);
    border-radius: 14px;
    padding: 48px 40px;
    text-align: center;
    margin: 48px 0;
    overflow: hidden;
}

/* Subtle background grid */
.keplor-cta-block::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
    background-size: 32px 32px;
    pointer-events: none;
}

.keplor-cta-headline {
    font-family: 'Inter', sans-serif;
    font-size: clamp(20px, 4vw, 26px);
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 24px;
    letter-spacing: -0.01em;
    position: relative;
    z-index: 1;
}

.keplor-cta-btn {
    font-family: 'Inter', sans-serif;
    display: inline-block;
    background: #ffffff;
    color: #0a0a0a;
    padding: 15px 36px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 15px;
    text-decoration: none;
    letter-spacing: 0.02em;
    position: relative;
    z-index: 1;
    transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 4px 16px rgba(0,0,0,.25);
}

.keplor-cta-btn:hover {
    background: #f0f0f0;
    transform: translateY(-3px);
    box-shadow: 0 10px 32px rgba(0,0,0,.35);
    color: #0a0a0a;
    text-decoration: none;
}

.keplor-cta-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(0,0,0,.2);
}

/* ── Responsive ──────────────────────────────────────────────────────────────── */
@media (max-width: 600px) {
    .keplor-cta-block {
        padding: 36px 24px;
        border-radius: 10px;
    }

    .keplor-cta-btn {
        display: block;
        text-align: center;
    }
}
