/* ==========================================================================
   Motivarto Hero Section – Homepage v2
   Full-width, compact, works great with or without image
   ========================================================================== */

/* Hide the product menu bar on the homepage */
body.home #vf-product-menu {
    display: none !important;
}

.mp-hero {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: #111;
}

/* ---- Background ---- */
.mp-hero__bg {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.mp-hero__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
    display: block;
}

/* When no image - show a nice gradient */
.mp-hero__bg--empty {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 40%, #0f3460 70%, #1a1a2e 100%);
}

.mp-hero__bg--empty::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(231,104,0,0.12) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 30%, rgba(255,255,255,0.04) 0%, transparent 40%);
}

/* Overlay for when image IS present */
.mp-hero__bg:not(.mp-hero__bg--empty)::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(0,0,0,0.78) 0%, rgba(0,0,0,0.55) 45%, rgba(0,0,0,0.30) 100%);
    z-index: 1;
}

/* ---- Content ---- */
.mp-hero__content {
    position: relative;
    z-index: 3;
    padding: 36px 0 32px;
}

.mp-hero__content-inner {
    max-width: 660px;
}

/* ---- H1 ---- */
.mp-hero__title {
    font-size: clamp(26px, 3vw, 40px);
    font-weight: 800;
    color: #fff;
    line-height: 1.18;
    margin: 0 0 10px;
    letter-spacing: -0.5px;
}

.mp-hero__title span {
    color: #f5a623;
    display: inline;
}

/* ---- Subtitle ---- */
.mp-hero__subtitle {
    font-size: 14px;
    color: rgba(255,255,255,0.7);
    margin: 0 0 14px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 7px;
    font-weight: 500;
}

.mp-hero__subtitle-dot {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: rgba(255,255,255,0.3);
    flex-shrink: 0;
}

/* ---- Trust Badges ---- */
.mp-hero__badges {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 18px;
    margin-bottom: 18px;
}

.mp-hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 500;
    color: rgba(255,255,255,0.85);
    white-space: nowrap;
}

.mp-hero__badge-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: rgba(46,125,50,0.25);
    color: #66bb6a;
    flex-shrink: 0;
}

.mp-hero__badge-icon svg {
    width: 11px;
    height: 11px;
}

/* ---- CTA Buttons ---- */
.mp-hero__cta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 16px;
    align-items: center;
}

.mp-hero__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 700;
    border-radius: 10px;
    text-decoration: none !important;
    cursor: pointer;
    transition: all 200ms ease;
    border: 2px solid transparent;
    white-space: nowrap;
    line-height: 1.2;
}

.mp-hero__btn--primary {
    background: #f5a623;
    color: #111 !important;
    border-color: #f5a623;
    font-size: 15px;
    padding: 13px 28px;
}

.mp-hero__btn--primary:hover {
    background: #ffc107;
    border-color: #ffc107;
    color: #111 !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(245,166,35,0.35);
}

.mp-hero__btn--secondary {
    background: rgba(255,255,255,0.12);
    color: #fff !important;
    border-color: rgba(255,255,255,0.3);
    backdrop-filter: blur(4px);
}

.mp-hero__btn--secondary:hover {
    background: rgba(255,255,255,0.2);
    border-color: rgba(255,255,255,0.5);
    color: #fff !important;
    transform: translateY(-2px);
}

.mp-hero__btn--link {
    background: transparent;
    color: rgba(255,255,255,0.8) !important;
    border-color: transparent;
    padding: 12px 6px;
    font-weight: 600;
    font-size: 14px;
}

.mp-hero__btn--link:hover {
    color: #f5a623 !important;
}

.mp-hero__btn--link svg {
    width: 14px;
    height: 14px;
    transition: transform 200ms ease;
}

.mp-hero__btn--link:hover svg {
    transform: translateX(4px);
}

/* ---- Social Proof ---- */
.mp-hero__social-proof {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 12px;
    color: rgba(255,255,255,0.5);
    font-weight: 400;
}

.mp-hero__social-proof-dot {
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: rgba(255,255,255,0.25);
}

/* ==========================================================================
   Responsive
   ========================================================================== */

/* Mobile */
@media (max-width: 767px) {
    .mp-hero__content {
        padding: 24px 0 20px;
        text-align: center;
    }

    .mp-hero__content-inner {
        max-width: 100%;
    }

    .mp-hero__title {
        font-size: 22px;
        line-height: 1.22;
        margin-bottom: 8px;
    }

    .mp-hero__title br {
        display: none;
    }

    .mp-hero__subtitle {
        justify-content: center;
        font-size: 12px;
        margin-bottom: 10px;
        gap: 5px;
    }

    .mp-hero__badges {
        justify-content: center;
        margin-bottom: 14px;
        gap: 3px 10px;
    }

    .mp-hero__badge {
        font-size: 11px;
        gap: 4px;
    }

    .mp-hero__badge-icon {
        width: 16px;
        height: 16px;
    }

    .mp-hero__badge-icon svg {
        width: 10px;
        height: 10px;
    }

    .mp-hero__cta {
        flex-direction: column;
        gap: 8px;
        align-items: stretch;
        margin-bottom: 12px;
    }

    .mp-hero__btn {
        width: 100%;
        padding: 12px 20px;
        font-size: 14px;
    }

    .mp-hero__btn--primary {
        font-size: 15px;
        padding: 13px 20px;
    }

    .mp-hero__btn--link {
        width: auto;
        align-self: center;
        padding: 4px 4px;
    }

    .mp-hero__social-proof {
        justify-content: center;
        font-size: 11px;
        gap: 5px;
    }

    /* On mobile, use a uniform overlay for centered text readability */
    .mp-hero__bg:not(.mp-hero__bg--empty)::after {
        background: rgba(0,0,0,0.62);
    }
}

/* Tablet */
@media (min-width: 768px) and (max-width: 991px) {
    .mp-hero__content {
        padding: 30px 0 28px;
    }

    .mp-hero__title {
        font-size: 32px;
    }

    .mp-hero__cta {
        flex-wrap: wrap;
    }
}

/* Large desktop */
@media (min-width: 1200px) {
    .mp-hero__content {
        padding: 48px 0 44px;
    }

    .mp-hero__title {
        font-size: 42px;
    }
}
