/* Template 3: Split hero + feature cards section */

/* Retain rapidlendex background image in hero; lighter overlay so image is visible */
.hero-section {
    background: linear-gradient(180deg, rgba(30, 41, 59, 0.5) 0%, rgba(30, 41, 59, 0.65) 100%),
                url('https://res.cloudinary.com/dbtcg826q/image/upload/v1769192995/common/sp-buckets/img/rapidlendex-bg.jpg') center/cover no-repeat;
}

/* Hero feature boxes: keep all three the same style */
.hero-features .hero-feature {
    background: rgba(51, 65, 85, 0.75);
    border-color: rgba(71, 85, 105, 0.8);
}

.hero-form-wrap .form-container { width: 100%; max-width: 100%; }

/* Features section (replaces four steps) */
.features-section {
    padding: 3rem 1rem 4rem;
    max-width: 1100px;
    margin: 0 auto;
    background: #fff;
}

.features-headline {
    text-align: center;
    font-size: 1.25rem;
    font-weight: 700;
    color: #333;
    margin: 0 0 2.5rem 0;
    line-height: 1.4;
    padding: 0 0.5rem;
}

.features-headline .highlight {
    color: #0ea5e9;
}

.features-cards {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.feature-card {
    border-radius: 10px;
    padding: 2rem 1.5rem;
    text-align: center;
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Feature cards: match background image slate/blue palette */
.feature-card[data-color="indigo"] { background: #334155; }
.feature-card[data-color="teal"] { background: #475569; }
.feature-card[data-color="coral"] { background: #64748b; }

.feature-card-icon {
    margin-bottom: 1rem;
    font-size: 2.25rem;
    opacity: 0.95;
}

.feature-card-icon i {
    display: block;
}

.feature-card-title {
    font-size: 1.125rem;
    font-weight: 700;
    margin: 0 0 0.75rem 0;
    color: #fff;
    line-height: 1.3;
}

.feature-card-body {
    font-size: 0.875rem;
    line-height: 1.55;
    margin: 0;
    color: rgba(255,255,255,0.95);
    max-width: 320px;
}

.footer-content { max-width: 1100px; margin: 0 auto; text-align: center; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem 1rem; margin-bottom: 1rem; }
.footer-links a { color: #94a3b8; text-decoration: none; font-size: 0.875rem; }
.footer-links a:hover { color: #fff; }
.footer-info { margin-bottom: 0.5rem; }
.footer-info p { margin: 0.25rem 0; font-size: 0.875rem; }
.copyright { margin: 0; font-size: 0.8125rem; opacity: 0.9; }

.popup-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.4); z-index: 9999; align-items: center; justify-content: center; padding: 1rem; }
.popup-overlay[aria-hidden="false"] { display: flex; }
.popup-content { background: #fff; border-radius: 8px; max-width: 90vw; max-height: 90vh; overflow: auto; position: relative; padding: 2rem; border: 1px solid #e2e8f0; }
.popup-close { position: absolute; top: 0.5rem; right: 0.5rem; background: none; border: none; font-size: 1.5rem; cursor: pointer; color: #64748b; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.disclaimer-content { max-width: 1100px; margin: 0 auto; }

@media (min-width: 768px) {
    .hero-left {
        padding: 2rem 2.5rem 2.5rem;
    }
    .hero-headline { font-size: 2rem; }
    .hero-subhead { font-size: 1rem; }
    .hero-features { flex-wrap: nowrap; margin-bottom: 1.5rem; }
    .hero-feature { flex: 1 1 0; min-width: 0; }
    .features-headline { font-size: 1.75rem; margin-bottom: 3rem; }
    .features-cards {
        flex-direction: row;
        gap: 1.5rem;
        align-items: stretch;
    }
    .feature-card { flex: 1 1 0; min-width: 0; }
    .feature-card-body { max-width: none; }
}
