/* =========================================================
   ESAR DIGITAL
   HOMEPAGE — HERO
   ========================================================= */


/* =========================================================
   HERO BASE
   ========================================================= */

   .home-hero {
    position: relative;

    min-height: 590px;

    display: flex;
    align-items: center;

    overflow: hidden;

    background: #071A33;

    isolation: isolate;
}


/* =========================================================
   BACKGROUND
   ========================================================= */

.home-hero__background {
    position: absolute;

    inset: 0;

    z-index: -1;

    overflow: hidden;

    pointer-events: none;
}


.home-hero__glow {
    position: absolute;

    width: 520px;
    height: 520px;

    border-radius: 50%;

    filter: blur(80px);

    opacity: 0.18;
}


.home-hero__glow--one {
    top: -260px;
    right: 4%;

    background: #FFCC00;
}


.home-hero__glow--two {
    bottom: -320px;
    left: -120px;

    background: #1A5A96;

    opacity: 0.28;
}


.home-hero__grid {
    position: absolute;

    inset: 0;

    opacity: 0.055;

    background-image:
        linear-gradient(
            rgba(255, 255, 255, 0.8) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255, 255, 255, 0.8) 1px,
            transparent 1px
        );

    background-size: 50px 50px;

    mask-image: linear-gradient(
        to right,
        transparent,
        black 30%,
        black 75%,
        transparent
    );
}


/* =========================================================
   MAIN LAYOUT
   ========================================================= */

.home-hero__layout {
    display: grid;

    grid-template-columns: minmax(0, 1.05fr) minmax(380px, 0.95fr);

    align-items: center;

    gap: 70px;

    min-height: 590px;

    padding: 55px 0;
}


/* =========================================================
   HERO CONTENT
   ========================================================= */

.home-hero__content {
    position: relative;

    max-width: 700px;

    z-index: 2;
}


/* =========================================================
   EYEBROW
   ========================================================= */

.home-hero__eyebrow {
    display: inline-flex;

    align-items: center;

    gap: 11px;

    margin-bottom: 20px;

    color: #FFCC00;

    font-size: 11px;
    font-weight: 700;

    letter-spacing: 2.2px;
}


.home-hero__eyebrow-line {
    display: block;

    width: 34px;
    height: 2px;

    background: #FFCC00;
}


/* =========================================================
   TITLE
   ========================================================= */

.home-hero__title {
    max-width: 760px;

    margin: 0;

    color: #FFFFFF;

    font-size: clamp(48px, 5vw, 72px);

    font-weight: 800;

    line-height: 1.02;

    letter-spacing: -2.8px;
}


.home-hero__title span {
    display: block;

    color: #FFCC00;
}


/* =========================================================
   DESCRIPTION
   ========================================================= */

.home-hero__description {
    max-width: 620px;

    margin: 26px 0 0;

    color: rgba(255, 255, 255, 0.68);

    font-size: 16px;

    line-height: 1.75;
}


/* =========================================================
   ACTIONS
   ========================================================= */

.home-hero__actions {
    display: flex;

    align-items: center;

    gap: 13px;

    margin-top: 32px;
}


.home-hero__button {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 9px;

    min-height: 48px;

    padding: 0 22px;

    border-radius: 5px;

    font-size: 13px;
    font-weight: 700;

    text-decoration: none;

    transition:
        transform 180ms ease,
        background 180ms ease,
        border-color 180ms ease,
        color 180ms ease,
        box-shadow 180ms ease;
}


.home-hero__button:hover {
    transform: translateY(-2px);
}


.home-hero__button--primary {
    background: #FFCC00;

    color: #071A33;

    box-shadow:
        0 10px 28px rgba(255, 204, 0, 0.16);
}


.home-hero__button--primary:hover {
    background: #FFD633;

    color: #071A33;

    box-shadow:
        0 14px 34px rgba(255, 204, 0, 0.22);
}


.home-hero__button--secondary {
    border: 1px solid rgba(255, 255, 255, 0.24);

    background: rgba(255, 255, 255, 0.025);

    color: #FFFFFF;
}


.home-hero__button--secondary:hover {
    border-color: #FFCC00;

    color: #FFCC00;

    background: rgba(255, 204, 0, 0.04);
}


/* =========================================================
   TRUST LINE
   ========================================================= */

.home-hero__trust {
    display: flex;

    align-items: center;

    gap: 10px;

    margin-top: 30px;

    color: rgba(255, 255, 255, 0.42);

    font-size: 11px;
}


.home-hero__trust-line {
    width: 24px;
    height: 1px;

    background: rgba(255, 204, 0, 0.6);
}


/* =========================================================
   HERO VISUAL
   ========================================================= */

.home-hero__visual {
    position: relative;

    display: flex;

    align-items: center;
    justify-content: center;

    min-height: 430px;

    z-index: 1;
}


.home-hero__visual-frame {
    position: relative;

    width: min(100%, 510px);

    aspect-ratio: 1 / 0.86;

    display: flex;

    align-items: center;
    justify-content: center;
}


/* =========================================================
   HERO IMAGE
   ========================================================= */

.home-hero__image {
    position: relative;

    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;

    border-radius: 14px;

    border: 1px solid rgba(255, 255, 255, 0.12);

    box-shadow:
        0 30px 80px rgba(0, 0, 0, 0.42);

    z-index: 1;
}


/* =========================================================
   IMAGE FRAME EFFECT
   ========================================================= */

.home-hero__visual-frame::before {
    content: "";

    position: absolute;

    inset: -12px;

    border: 1px solid rgba(255, 204, 0, 0.18);

    border-radius: 18px;

    z-index: 0;
}


.home-hero__visual-frame::after {
    content: "";

    position: absolute;

    width: 180px;
    height: 180px;

    right: -55px;
    bottom: -55px;

    border-radius: 50%;

    border: 1px solid rgba(255, 204, 0, 0.2);

    box-shadow:
        0 0 80px rgba(255, 204, 0, 0.08);

    z-index: -1;
}


/* =========================================================
   FALLBACK VISUAL
   ========================================================= */

.home-hero__visual-placeholder {
    position: relative;

    width: 100%;
    height: 100%;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 14px;

    background:
        linear-gradient(
            145deg,
            #102D50,
            #071A33 65%,
            #030B14
        );

    border: 1px solid rgba(255, 255, 255, 0.1);

    box-shadow:
        0 30px 80px rgba(0, 0, 0, 0.4);

    overflow: hidden;
}


.home-hero__visual-placeholder::before {
    content: "";

    position: absolute;

    width: 320px;
    height: 320px;

    top: -180px;
    right: -100px;

    border-radius: 50%;

    background: rgba(255, 204, 0, 0.1);

    filter: blur(35px);
}


/* =========================================================
   DASHBOARD FALLBACK
   ========================================================= */

.hero-dashboard {
    position: relative;

    width: 72%;

    min-height: 270px;

    padding: 18px;

    border-radius: 10px;

    background: rgba(3, 11, 20, 0.75);

    border: 1px solid rgba(255, 255, 255, 0.12);

    box-shadow:
        0 25px 60px rgba(0, 0, 0, 0.35);
}


.hero-dashboard__top {
    display: flex;

    gap: 6px;

    margin-bottom: 25px;
}


.hero-dashboard__top span {
    width: 7px;
    height: 7px;

    border-radius: 50%;

    background: rgba(255, 255, 255, 0.25);
}


.hero-dashboard__content {
    position: relative;
}


.hero-dashboard__label {
    color: rgba(255, 255, 255, 0.45);

    font-size: 9px;

    letter-spacing: 1.5px;
}


.hero-dashboard__number {
    margin-top: 8px;

    color: #FFCC00;

    font-size: 40px;
    font-weight: 800;

    line-height: 1;
}


.hero-dashboard__caption {
    margin-top: 7px;

    color: rgba(255, 255, 255, 0.5);

    font-size: 10px;
}


.hero-dashboard__chart {
    position: relative;

    height: 105px;

    margin-top: 25px;

    border-bottom: 1px solid rgba(255, 255, 255, 0.1);

    overflow: hidden;
}


.hero-dashboard__chart::before {
    content: "";

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            rgba(255, 255, 255, 0.05) 1px,
            transparent 1px
        );

    background-size: 100% 25px;
}


.chart-line {
    position: absolute;

    height: 2px;

    background: #FFCC00;

    border-radius: 10px;

    transform-origin: left center;

    box-shadow:
        0 0 10px rgba(255, 204, 0, 0.4);
}


.chart-line--one {
    width: 23%;

    left: 4%;
    bottom: 22%;

    transform: rotate(-12deg);
}


.chart-line--two {
    width: 22%;

    left: 25%;
    bottom: 27%;

    transform: rotate(-35deg);
}


.chart-line--three {
    width: 22%;

    left: 45%;
    bottom: 48%;

    transform: rotate(20deg);
}


.chart-line--four {
    width: 20%;

    left: 65%;
    bottom: 55%;

    transform: rotate(-22deg);
}


.chart-line--five {
    width: 17%;

    left: 82%;
    bottom: 68%;

    transform: rotate(18deg);
}


/* =========================================================
   FLOATING BADGE
   ========================================================= */

.home-hero__badge {
    position: absolute;

    right: -28px;
    bottom: 28px;

    display: flex;

    align-items: center;

    gap: 10px;

    min-width: 160px;

    padding: 12px 15px;

    border: 1px solid rgba(255, 255, 255, 0.12);

    border-radius: 8px;

    background: rgba(7, 26, 51, 0.92);

    box-shadow:
        0 20px 45px rgba(0, 0, 0, 0.35);

    backdrop-filter: blur(12px);

    z-index: 4;
}


.home-hero__badge-icon {
    width: 32px;
    height: 32px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 6px;

    background: #FFCC00;

    color: #071A33;

    font-size: 17px;
    font-weight: 800;
}


.home-hero__badge strong {
    display: block;

    color: #FFFFFF;

    font-size: 12px;
}


.home-hero__badge small {
    display: block;

    margin-top: 2px;

    color: rgba(255, 255, 255, 0.45);

    font-size: 9px;
}


/* =========================================================
   DECORATIVE DOTS
   ========================================================= */

.home-hero__dot {
    position: absolute;

    width: 5px;
    height: 5px;

    border-radius: 50%;

    background: #FFCC00;

    box-shadow:
        0 0 12px rgba(255, 204, 0, 0.55);
}


.home-hero__dot--one {
    top: 12%;

    right: 7%;
}


.home-hero__dot--two {
    top: 48%;

    left: -3%;
}


.home-hero__dot--three {
    bottom: 8%;

    right: 15%;
}


/* =========================================================
   RESPONSIVE — TABLET
   ========================================================= */

@media (max-width: 1100px) {

    .home-hero__layout {
        grid-template-columns:
            minmax(0, 1fr)
            minmax(320px, 0.8fr);

        gap: 45px;
    }


    .home-hero__title {
        font-size: clamp(44px, 5vw, 62px);
    }


    .home-hero__badge {
        right: -10px;
    }

}


/* =========================================================
   RESPONSIVE — MOBILE
   ========================================================= */

@media (max-width: 800px) {

    .home-hero {
        min-height: auto;
    }


    .home-hero__layout {
        grid-template-columns: 1fr;

        gap: 45px;

        min-height: auto;

        padding: 65px 0 75px;
    }


    .home-hero__content {
        max-width: 680px;
    }


    .home-hero__title {
        font-size: clamp(42px, 10vw, 58px);

        letter-spacing: -2px;
    }


    .home-hero__visual {
        min-height: 350px;
    }


    .home-hero__visual-frame {
        width: min(100%, 520px);
    }


    .home-hero__badge {
        right: 5px;
    }

}


/* =========================================================
   RESPONSIVE — SMALL MOBILE
   ========================================================= */

@media (max-width: 500px) {

    .home-hero__layout {
        padding-top: 50px;
        padding-bottom: 60px;
    }


    .home-hero__title {
        font-size: 42px;

        line-height: 1.04;
    }


    .home-hero__description {
        font-size: 14px;

        line-height: 1.7;
    }


    .home-hero__actions {
        flex-direction: column;

        align-items: stretch;
    }


    .home-hero__button {
        width: 100%;
    }


    .home-hero__trust {
        line-height: 1.5;
    }


    .home-hero__visual {
        min-height: 280px;
    }


    .home-hero__badge {
        right: 0;

        bottom: 15px;

        min-width: 145px;

        padding: 10px 12px;
    }


    .home-hero__badge-icon {
        width: 28px;
        height: 28px;
    }

}