

/* =========================================================
   OPENMARKET HOME PAGE
   ========================================================= */
.home-page {
    width: 100%;
    overflow: hidden;
}


/* =========================================================
   HERO
========================================================= */

.openmarket-hero {
    position: relative;
    width: 100%;
    background:
        radial-gradient(
            circle at 75% 45%,
            rgba(255, 98, 0, 0.08),
            transparent 32%
        ),
        #ffffff;
    overflow: hidden;
}


.hero-container {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;

    min-height: 360px;

    display: grid;
    grid-template-columns: 0.95fr 1.05fr;

    align-items: center;

    gap: 20px;

    padding: 35px 0 30px;
}


/* =========================================================
   HERO CONTENT
========================================================= */

.hero-content {
    position: relative;
    z-index: 5;

    max-width: 540px;
}


.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    font-size: 11px;
    font-weight: 800;

    letter-spacing: 1.4px;

    color: #ff5a00;

    margin-bottom: 13px;
}


.hero-eyebrow-dot {
    width: 7px;
    height: 7px;

    border-radius: 50%;

    background: #ff5a00;

    box-shadow:
        0 0 0 4px rgba(255, 90, 0, 0.10);
}


.hero-title {
    margin: 0;

    font-size: clamp(2.4rem, 4.5vw, 4.1rem);

    line-height: 0.98;

    letter-spacing: -2.5px;

    font-weight: 850;

    color: #071a2d;
}


.hero-title span {
    color: #ff5a00;
}


.hero-description {
    max-width: 420px;

    margin: 17px 0 22px;

    color: #687385;

    font-size: 14px;

    line-height: 1.7;
}


/* =========================================================
   HERO BUTTONS
========================================================= */

.hero-actions {
    display: flex;
    align-items: center;
    gap: 10px;

    flex-wrap: wrap;
}


.hero-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

    min-height: 42px;

    padding: 0 18px;

    border-radius: 8px;

    text-decoration: none;

    font-size: 12px;
    font-weight: 750;

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        background 0.2s ease;
}


.hero-btn:hover {
    transform: translateY(-2px);
}


.hero-btn-primary {
    color: #ffffff;

    background: #ff5a00;

    box-shadow:
        0 8px 20px rgba(255, 90, 0, 0.20);
}


.hero-btn-primary:hover {
    background: #e84f00;

    box-shadow:
        0 12px 25px rgba(255, 90, 0, 0.28);
}


.hero-btn-primary span {
    font-size: 17px;
}


.hero-btn-secondary {
    color: #071a2d;

    background: #ffffff;

    border: 1px solid #e5e7eb;
}


.hero-btn-secondary:hover {
    border-color: #cfd5dc;

    background: #f8fafc;
}


/* =========================================================
   TRUST
========================================================= */

.hero-trust {
    display: flex;
    align-items: center;

    gap: 11px;

    margin-top: 24px;
}


.hero-avatars {
    display: flex;
    align-items: center;
}


.hero-avatar {
    width: 27px;
    height: 27px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-left: -5px;

    border: 2px solid #ffffff;

    border-radius: 50%;

    background: #071a2d;

    color: #ffffff;

    font-size: 8px;
    font-weight: 800;
}


.hero-avatar:first-child {
    margin-left: 0;
}


.hero-avatar:nth-child(2) {
    background: #ff5a00;
}


.hero-avatar:nth-child(3) {
    background: #6b7280;
}


.hero-avatar:nth-child(4) {
    background: #d97706;
}


.hero-trust p {
    margin: 0;

    color: #7b8491;

    font-size: 10px;
}


.hero-trust strong {
    color: #071a2d;
}


/* =========================================================
   HERO VISUAL
========================================================= */

.hero-visual {
    position: relative;

    min-height: 310px;

    display: flex;
    align-items: center;
    justify-content: center;
}


.hero-glow {
    position: absolute;

    width: 290px;
    height: 290px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(255, 90, 0, 0.16),
            rgba(255, 90, 0, 0.04) 50%,
            transparent 72%
        );

    filter: blur(3px);
}


/* =========================================================
   DECORATIVE SHAPES
========================================================= */

.hero-shape {
    position: absolute;

    background: #ff5a00;

    opacity: 0.9;

    z-index: 1;
}


.hero-shape-one {
    width: 190px;
    height: 190px;

    right: 35px;
    bottom: 10px;

    border-radius: 50% 45% 50% 40%;

    transform: rotate(-15deg);
}


.hero-shape-two {
    width: 100px;
    height: 100px;

    left: 40px;
    top: 40px;

    border-radius: 50%;

    opacity: 0.12;
}


/* =========================================================
   MAIN HERO IMAGE
========================================================= */

.hero-main-image {
    position: relative;

    z-index: 3;

    width: min(360px, 75%);

    height: auto;

    display: flex;
    align-items: flex-end;
    justify-content: center;

    overflow: hidden;

    border-radius: 22px 22px 0 0;

    background:
        linear-gradient(
            145deg,
            #f8fafc,
            #eef1f4
        );
}


.hero-main-image img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;

    object-position: center;

    transition: transform 0.5s ease;
}


.hero-main-image:hover img {
    transform: scale(1.025);
}


/* =========================================================
   FLOATING PRODUCT CARDS
========================================================= */

.hero-product-card {
    position: absolute;

    z-index: 5;

    display: flex;
    align-items: center;

    gap: 8px;

    padding: 8px;

    min-width: 135px;

    background: rgba(255, 255, 255, 0.96);

    border: 1px solid rgba(229, 231, 235, 0.8);

    border-radius: 10px;

    box-shadow:
        0 12px 30px rgba(15, 23, 42, 0.10);

    backdrop-filter: blur(10px);

    animation: heroFloat 4s ease-in-out infinite;
}


.hero-card-image {
    width: 38px;
    height: 38px;

    display: flex;
    align-items: center;
    justify-content: center;

    flex-shrink: 0;

    background: #f5f6f8;

    border-radius: 7px;

    font-size: 19px;
}


.hero-card-info {
    display: flex;
    flex-direction: column;

    gap: 3px;
}


.hero-card-info strong {
    color: #071a2d;

    font-size: 9px;

    line-height: 1.2;
}


.hero-card-info span {
    color: #ff5a00;

    font-size: 8px;

    font-weight: 700;
}


.hero-card-one {
    left: 2px;
    top: 52px;

    animation-delay: 0s;
}


.hero-card-two {
    right: 0;
    top: 28px;

    animation-delay: 1.2s;
}


.hero-card-three {
    right: 18px;
    bottom: 22px;

    animation-delay: 2.2s;
}


@keyframes heroFloat {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-7px);
    }
}


/* =========================================================
   BENEFITS
========================================================= */

.hero-benefits {
    width: min(1100px, calc(100% - 40px));

    margin: 0 auto;

    padding: 17px 0;

    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 15px;

    border-top: 1px solid #edf0f2;
}


.hero-benefit {
    display: flex;
    align-items: center;

    gap: 9px;
}


.hero-benefit-icon {
    width: 34px;
    height: 34px;

    flex-shrink: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 8px;

    background: #fff4ed;

    font-size: 14px;
}


.hero-benefit div:last-child {
    display: flex;
    flex-direction: column;

    gap: 2px;
}


.hero-benefit strong {
    color: #071a2d;

    font-size: 10px;
}


.hero-benefit span {
    color: #89919d;

    font-size: 8px;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 900px) {

    .hero-container {
        grid-template-columns: 1fr 1fr;

        gap: 5px;

        min-height: 330px;

        padding-top: 25px;
        padding-bottom: 25px;
    }


    .hero-title {
        font-size: clamp(2.2rem, 5vw, 3.2rem);
    }


    .hero-main-image {
        width: 78%;
        height: auto;
    }


    .hero-card-one {
        left: -5px;
    }
.openmarket-hero {
    
    display: none;
}

    .hero-card-two {
        right: -5px;
    }


    .hero-card-three {
        right: 5px;
    }
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 700px) {

    .openmarket-hero {
        background:
            radial-gradient(
                circle at 90% 20%,
                rgba(255, 90, 0, 0.08),
                transparent 35%
            ),
            #ffffff;
    }


    .hero-container {
        width: calc(100% - 28px);

        display: flex;
        flex-direction: column;

        align-items: stretch;

        min-height: auto;

        gap: 5px;

        padding: 22px 0 18px;
    }


    .hero-content {
        max-width: none;
    }


    .hero-eyebrow {
        font-size: 9px;

        margin-bottom: 9px;
    }


    .hero-eyebrow-dot {
        width: 6px;
        height: 6px;
    }


    .hero-title {
        font-size: clamp(2.05rem, 10vw, 3rem);

        line-height: 1;

        letter-spacing: -1.7px;
    }


    .hero-description {
        max-width: 330px;

        margin: 12px 0 16px;

        font-size: 12px;

        line-height: 1.6;
    }


    .hero-actions {
        gap: 7px;
    }


    .hero-btn {
        min-height: 39px;

        padding: 0 14px;

        border-radius: 7px;

        font-size: 10px;
    }


    .hero-btn-primary span {
        font-size: 14px;
    }


    .hero-trust {
        margin-top: 15px;

        gap: 8px;
    }


    .hero-avatar {
        width: 23px;
        height: 23px;

        font-size: 7px;
    }


    .hero-trust p {
        font-size: 8px;
    }


    /* -----------------------------------------
       Mobile visual
    ----------------------------------------- */

    .hero-visual {
        min-height: 245px;

        margin-top: 2px;
    }


    .hero-glow {
        width: 230px;
        height: 230px;
    }


    .hero-main-image {
        width: 70%;

        height: auto;

        border-radius: 18px 18px 0 0;
    }


    .hero-shape-one {
        width: 145px;
        height: 145px;

        right: 15%;

        bottom: 3px;
    }


    .hero-shape-two {
        width: 65px;
        height: 65px;

        left: 15%;
        top: 30px;
    }


    .hero-product-card {
        min-width: 108px;

        padding: 6px;

        gap: 6px;

        border-radius: 8px;
    }


    .hero-card-image {
        width: 30px;
        height: 30px;

        font-size: 15px;

        border-radius: 5px;
    }


    .hero-card-info strong {
        font-size: 7px;
    }


    .hero-card-info span {
        font-size: 6.5px;
    }


    .hero-card-one {
        left: 0;
        top: 38px;
    }


    .hero-card-two {
        right: 0;
        top: 18px;
    }


    .hero-card-three {
        right: 3px;
        bottom: 10px;
    }


    /* -----------------------------------------
       Benefits
    ----------------------------------------- */

    .hero-benefits {
        width: calc(100% - 28px);

        grid-template-columns: repeat(2, 1fr);

        gap: 0;

        padding: 12px 0;

        border-top: 1px solid #edf0f2;
                display: none;

    }


    .hero-benefit {
        min-height: 42px;

        padding: 7px 5px;
    }


    .hero-benefit-icon {
        width: 29px;
        height: 29px;

        font-size: 12px;
    }


    .hero-benefit strong {
        font-size: 8px;
    }


    .hero-benefit span {
        font-size: 7px;
    }
}


/* =========================================================
   SMALL PHONES
========================================================= */

@media (max-width: 380px) {

    .hero-container {
        width: calc(100% - 22px);

        padding-top: 18px;
    }


    .hero-title {
        font-size: 2rem;
    }


    .hero-description {
        font-size: 11px;
    }


    .hero-btn {
        padding: 0 11px;

        font-size: 9px;
    }


    .hero-visual {
        min-height: 220px;
    }


    .hero-main-image {
        height: 205px;
    }


    .hero-product-card {
        min-width: 96px;
    }


   
   
}


/* =========================================================
   PAGE LOADER
========================================================= */
.page-loader {
    position: fixed;
    inset: 0;
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    transition: opacity 0.35s ease, visibility 0.35s ease;
}

.page-loader.is-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.loader {
    width: 40px;
    height: 20px;
    --c: no-repeat radial-gradient(farthest-side, #ff5a00 93%, #0000);
    background:
        var(--c) 0 0,
        var(--c) 50% 0;
    background-size: 8px 8px;
    position: relative;
    clip-path: inset(-200% -100% 0 0);
    animation: l6-0 1.5s linear infinite;
}

.loader:before {
    content: "";
    position: absolute;
    width: 8px;
    height: 12px;
    background: #ff5a00;
    left: -16px;
    top: 0;
    animation:
        l6-1 1.5s linear infinite,
        l6-2 0.5s cubic-bezier(0, 200, .8, 200) infinite;
}

.loader:after {
    content: "";
    position: absolute;
    inset: 0 0 auto auto;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ff5a00;
    animation: l6-3 1.5s linear infinite;
}

@keyframes l6-0 {
    0%, 30%  { background-position: 0 0, 50% 0; }
    33%      { background-position: 0 100%, 50% 0; }
    41%, 63% { background-position: 0 0, 50% 0; }
    66%      { background-position: 0 0, 50% 100%; }
    74%, 100%{ background-position: 0 0, 50% 0; }
}

@keyframes l6-1 {
    90%  { transform: translateY(0); }
    95%  { transform: translateY(15px); }
    100% { transform: translateY(15px); left: calc(100% - 8px); }
}

@keyframes l6-2 {
    100% { top: -0.1px; }
}

@keyframes l6-3 {
    0%, 80%, 100% { transform: translate(0); }
    90%           { transform: translate(26px); }
}

/* Optional: soft fade for content while loading */
body.is-loading {
    overflow: hidden;
}

