/*
 * Homepage "home3" A/B variant styles (page-scoped: loaded only on the homepage variant).
 * Builds on the existing hero/feature/process identity in custom + ui-refresh.
 */

/* ── HERO ── */
.home3-hero {
    min-height: calc(100vh - 320px);
    padding: 30px 0 50px;
}

.home3-headline {
    line-height: 1.15;
}

.home3-subhead {
    max-width: 760px;
    opacity: .95;
}

.home3-form .home3-form-group {
    max-width: 520px;
    margin-top: 10px;
}

.text-lg-left .home3-form-group {
    margin-left: 0;
}

@media (min-width: 992px) {
    .home3-form-group {
        margin-left: 0 !important;
    }
}

.home3-microcopy {
    display: block;
    margin-top: 10px;
    opacity: .8;
}

/* ── Screenshot placeholders (swap for real images) ── */
.home3-shot {
    position: relative;
    width: 100%;
    border: 2px dashed rgba(255, 255, 255, .45);
    border-radius: 12px;
    background: rgba(255, 255, 255, .08);
    display: flex;
    justify-content: center;
    overflow: hidden;
}

.home3-shot--dashboard {
    /* 16:10-ish dashboard aspect */
    aspect-ratio: 16 / 10;
    box-shadow: 0 24px 60px rgba(0, 0, 0, .25);
}

.home3-shot-label {
    font-size: 14px;
    color: rgba(255, 255, 255, .8);
    text-align: center;
}

/* On light sections, invert the placeholder colours */
.home3-proof .home3-shot {
    border-color: #d6dae1;
    background: #f7f8fa;
    box-shadow: 0 16px 40px rgba(13, 15, 20, .08);
}

.home3-shot--analytics {
    aspect-ratio: 16 / 9;
}

.home3-proof .home3-shot-label {
    color: #9aa0ac;
}

/* ── TRUST / STAT BAR ── */
.home3-statbar {
    background: #0d0f14;
    color: #fff;
    padding: 16px 0;
}

.home3-stats {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 10px 28px;
    font-size: 15px;
}

.home3-stats li {
    position: relative;
    color: rgba(255, 255, 255, .8);
    white-space: nowrap;
}

.home3-stats li strong {
    color: #fff;
}

.home3-stats li:not(:last-child)::after {
    content: '';
    position: absolute;
    right: -15px;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 16px;
    background: rgba(255, 255, 255, .2);
}

/* ── PROOF SECTION ── */
.home3-proof {
    padding-top: 60px;
    padding-bottom: 60px;
}

/* ── USE CASES ── */
.home3-usecases {
    padding-top: 10px;
    padding-bottom: 60px;
}

.home3-usecase {
    height: 100%;
    background: #fff;
    border: 1px solid #ebedf2;
    border-radius: 12px;
    padding: 22px 24px;
    box-shadow: 0 8px 24px rgba(13, 15, 20, .06);
}

.home3-usecase-tag {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: #5d78ff;
    background: #f4f6ff;
    border-radius: 20px;
    padding: 4px 12px;
    margin-bottom: 12px;
}

.home3-usecase p {
    margin: 0;
    color: #595d6e;
}

/* ── FINAL CTA ── */
.home3-finalcta-sub {
    margin-top: 6px;
    opacity: .85;
}

@media (max-width: 991px) {
    .home3-hero {
        min-height: 0;
        text-align: center;
    }

    .home3-subhead {
        margin-left: auto;
        margin-right: auto;
    }
}

/* ── Headline: smaller than the global .home-headline so it fits the half-width hero ── */
.home3-headline {
    font-size: 2.5rem;
    line-height: 1.18;
}

@media (min-width: 1200px) {
    .home3-headline {
        font-size: 3.4rem;
        line-height: 1.2;
    }
}

.homepage-keyword {
    font-size: 4rem;
}

/* ── Flush hero: drop the diagonal clip so the dark stat bar glues to the blue
      (the clip otherwise exposes the gray page background as a triangle). ── */
.header-serpempire--flush {
    clip-path: none;
    padding-bottom: 0;
    background-color: #366cf3; /* covers any area the header image doesn't reach */
}

.home3-statbar {
    margin-top: 0;
}

/* ── HOW IT WORKS: cleaner cards, icon in a colored circle, no dated connector line ── */
.home3-how .process-step {
    border-radius: 14px;
    border: 1px solid #ebedf2;
    background: #fff;
    box-shadow: 0 10px 30px rgba(33, 54, 61, .08);
    height: 100%;
}

.home3-how .process-step::after {
    display: none !important;
}

.home3-how .process-step i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    margin-bottom: 14px;
    border-radius: 50%;
    background: #eef1ff;
    color: #5d78ff;
    font-size: 26px;
}

/* ── FEATURES: icon as a blue glyph inside a gray rounded square ── */
.home3-features .feature-icon {
    float: left;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    padding: 0;
    border-radius: 12px;
    background: #f0f1f5;
    color: #5d78ff;
    font-size: 24px;
}

.home3-features .feature-text {
    padding-left: 76px;
}

/* ── "Built for modern search" needs breathing room before the FAQ ── */
.home3-modern {
    margin-bottom: 60px;
}
