/* ---------- Homepage polish ---------- */

/* Badge in hero */
.fa-pill-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.75rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 600;
    background: rgba(37, 99, 235, 0.06);
    color: #1d4ed8;
    border: 1px solid rgba(37, 99, 235, 0.2);
}

/* Hero stacked cards */
.fa-hero-stack {
    position: relative;
    max-width: 480px;
    margin: 0 auto;
}

.fa-hero-card {
    position: relative;
    z-index: 2;
}

.fa-hero-card-secondary {
    position: absolute;
    right: 8%;
    bottom: -22%;
    width: 75%;
    z-index: 1;
    opacity: 0.98;
}

@media (max-width: 991.98px) {
    .fa-hero-card-secondary {
        position: static;
        width: 100%;
        margin-top: 0.75rem;
    }
}

.fa-hero-chart-placeholder {
    background: radial-gradient(circle at top left, #e0ecff 0, #ffffff 60%);
    border-radius: 1rem;
    border: 1px solid rgba(148, 163, 184, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
}

.fa-hero-chart-lines {
    text-align: center;
}

/* Feature cards hover */
.fa-feature-card {
    transition: transform 0.15s ease, box-shadow 0.15s ease, translate 0.15s ease;
}

.fa-feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.12);
}

/* Step cards */
.fa-step-card {
    position: relative;
    background: #ffffff;
    border-radius: 1.25rem;
    padding: 1.75rem 1.5rem 1.25rem;
    box-shadow: 0 8px 30px rgba(15, 23, 42, 0.08);
    border: 1px solid rgba(148, 163, 184, 0.25);
}

.fa-step-number {
    width: 2rem;
    height: 2rem;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.5rem;
    font-weight: 700;
    font-size: 0.9rem;
    background: rgba(37, 99, 235, 0.06);
    color: #1d4ed8;
}
/* ---------- Scroll reveal animations (stronger) ---------- */

.fa-reveal {
    opacity: 0;
    transform: translateY(36px);
    filter: blur(4px);
    transition:
        opacity 0.6s ease-out,
        transform 0.6s ease-out,
        filter 0.6s ease-out;
}

.fa-reveal.fa-reveal-visible {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
}

/* Slight delay helpers for staggered animations */
.fa-reveal-delay-1 {
    transition-delay: 0.08s;
}
.fa-reveal-delay-2 {
    transition-delay: 0.16s;
}
.fa-reveal-delay-3 {
    transition-delay: 0.24s;
}


/* ---------- Icon circles ---------- */

.fa-feature-icon {
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
    background: rgba(37, 99, 235, 0.06);
    color: #1d4ed8;
}

/* Variant for darker backgrounds if needed */
.fa-feature-icon-alt {
    background: rgba(15, 23, 42, 0.9);
    color: #e5e7eb;
}

/* ---------- Extra card polish ---------- */

.fa-feature-card {
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.fa-feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 42px rgba(15, 23, 42, 0.16);
    border-color: rgba(37, 99, 235, 0.4);
}

/* Slight gradient on light sections (optional helper) */
.fa-section-soft-gradient {
    background: radial-gradient(circle at top left, #e2edff 0, #ffffff 55%);
}

/* ---------- Full-screen sections for homepage ---------- */

.fa-screen-section {
    min-height: calc(100vh - 80px); /* 80px to account for header */
    display: flex;
    align-items: center;
}

.fa-screen-section > .container {
    padding-top: 2rem;
    padding-bottom: 2rem;
}

/* Limit text width in hero so it breathes more */
.fa-hero-text {
    max-width: 38rem;
}

/* On smaller screens, don't force full height */
@media (max-width: 768px) {
    .fa-screen-section {
        min-height: auto;
        align-items: flex-start;
    }

    .fa-screen-section > .container {
        padding-top: 2.5rem;
        padding-bottom: 2.5rem;
    }
}
