/* =========================================================
   HYRO TECHNOLOGIES FZE
   PRODUCT SCREENSHOTS SHOWCASE

   File:
   /assets/css/screenshots.css
========================================================= */

.product-showcase {
    position: relative;
    overflow: hidden;
    padding: 100px 0 105px;

    background:
        radial-gradient(circle at 6% 10%, rgba(229,43,135,.07), transparent 27%),
        radial-gradient(circle at 94% 85%, rgba(132,87,232,.08), transparent 30%),
        #ffffff;
}

.product-showcase::before {
    content: "";
    position: absolute;
    width: 330px;
    height: 330px;
    top: -150px;
    right: -140px;
    border-radius: 50%;

    background: linear-gradient(
        135deg,
        rgba(229,43,135,.07),
        rgba(132,87,232,.11)
    );
}

.product-showcase .container {
    position: relative;
    z-index: 2;
}

/* =========================================================
   HEADING
========================================================= */

.showcase-heading {
    max-width: 820px;
    margin: 0 auto 42px;
    text-align: center;
}

.showcase-heading .eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;

    margin-bottom: 14px;

    color: #d62f83;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 1.2px;
    text-transform: uppercase;
}

.showcase-heading .eyebrow::before,
.showcase-heading .eyebrow::after {
    content: "";
    width: 24px;
    height: 2px;
    border-radius: 10px;

    background: linear-gradient(
        90deg,
        #e52b87,
        #8b63f5
    );
}

.showcase-heading h2 {
    margin: 0;

    color: #182033;

    font-size: clamp(36px, 4.4vw, 54px);
    line-height: 1.14;
    letter-spacing: -1.8px;
}

.showcase-heading h2 span {
    color: transparent;

    background: linear-gradient(
        100deg,
        #df2b83,
        #8b60eb
    );

    -webkit-background-clip: text;
    background-clip: text;
}

.showcase-heading p {
    max-width: 730px;
    margin: 18px auto 0;

    color: #667085;

    font-size: 16px;
    line-height: 1.8;
}

/* =========================================================
   PRODUCT SELECTOR
========================================================= */

.product-tabs {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;

    margin-bottom: 38px;
}

.product-tab {
    min-height: 48px;
    padding: 0 23px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border: 1px solid #dddfea;
    border-radius: 999px;

    background: #ffffff;
    color: #263247;

    font: inherit;
    font-size: 14px;
    font-weight: 700;

    cursor: pointer;

    transition:
        transform .22s ease,
        box-shadow .22s ease,
        background .22s ease,
        color .22s ease,
        border-color .22s ease;
}

.product-tab:hover {
    transform: translateY(-2px);
    border-color: rgba(214,47,131,.30);
}

.product-tab.active {
    color: #ffffff;
    border-color: transparent;

    background: linear-gradient(
        135deg,
        #e52b87 0%,
        #c53cad 50%,
        #855fea 100%
    );

    box-shadow:
        0 12px 28px rgba(194,54,169,.23);
}

/* =========================================================
   MAIN SHOWCASE CARD
========================================================= */

.showcase-panel {
    position: relative;
    overflow: hidden;

    padding: 20px 22px 24px;

    background: linear-gradient(
        145deg,
        #ffffff,
        #fcfaff
    );

    border: 1px solid #e7e6ef;
    border-radius: 28px;

    box-shadow:
        0 22px 60px rgba(31,40,70,.09);
}

.showcase-panel::after {
    content: "";
    position: absolute;
    right: -90px;
    bottom: -100px;

    width: 220px;
    height: 220px;

    border-radius: 50%;

    background: linear-gradient(
        135deg,
        rgba(229,43,135,.05),
        rgba(132,87,232,.10)
    );

    pointer-events: none;
}

/* =========================================================
   SCREENSHOT VIEW
========================================================= */
/* =========================================================
   COMPACT RESPONSIVE SOFTWARE PREVIEW
   Full screenshot + buttons visible on normal screen
========================================================= */

.showcase-screen {
    position: relative;
    z-index: 2;

    width: 100%;
    max-width: 1080px;

    margin: 0 auto;

    overflow: hidden;

    background: #ffffff;

    border: 1px solid #e1e3eb;
    border-radius: 20px;

    box-shadow:
        0 16px 40px rgba(31,40,70,.10);
}


/* Small browser header */

.showcase-browser-bar {
    height: 38px;

    display: flex;
    align-items: center;

    gap: 6px;

    padding: 0 14px;

    background: #f7f7fb;

    border-bottom: 1px solid #ececf2;
}

.showcase-browser-bar i {
    width: 8px;
    height: 8px;

    border-radius: 50%;

    background: #d8d9e2;
}

.showcase-browser-bar span {
    margin-left: 7px;

    color: #667085;

    font-size: 11px;
}


/* =========================================================
   IMPORTANT FIX
   Give preview an actual responsive HEIGHT
========================================================= */

.showcase-image-wrap {
    position: relative;

    width: 100%;

    height: clamp(320px, 46vh, 445px);

    display: flex;
    align-items: center;
    justify-content: center;

    overflow: hidden;

    background: #f8f8fb;

    cursor: zoom-in;
}


/* Full screenshot always visible */

.showcase-image {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: contain;
    object-position: center;

    transition:
        opacity .30s ease,
        transform .30s ease;
}


.showcase-image.is-changing {
    opacity: .25;
    transform: scale(.985);
}

/* =========================================================
   SCREEN NAVIGATION
========================================================= */

.screen-tabs {
    position: relative;
    z-index: 2;

    display: flex;
    justify-content: center;

    gap: 10px;
    flex-wrap: wrap;

   margin-top: 18px;
}

.screen-tab {
    padding: 10px 15px;

    border: 1px solid #e0e2eb;
    border-radius: 12px;

    background: #ffffff;
    color: #4f5d73;

    font: inherit;
    font-size: 12px;
    font-weight: 700;

    cursor: pointer;

    transition:
        color .20s ease,
        border-color .20s ease,
        background .20s ease,
        transform .20s ease;
}

.screen-tab:hover {
    color: #d62f83;
    border-color: rgba(214,47,131,.30);
    transform: translateY(-2px);
}

.screen-tab.active {
    color: #ffffff;
    border-color: transparent;

    background: linear-gradient(
        135deg,
        #e52b87,
        #875fea
    );
}

/* =========================================================
   SCREEN DESCRIPTION
========================================================= */

.showcase-info {
    position: relative;
    z-index: 2;

    max-width: 820px;

  margin: 18px auto 0;

    text-align: center;
}

.showcase-info h3 {
    margin: 0 0 8px;

    color: #182033;

    font-size: 24px;
    line-height: 1.3;
}

.showcase-info p {
    margin: 0 auto;

    max-width: 680px;

    color: #667085;

    font-size: 14px;
    line-height: 1.75;
}

/* =========================================================
   ACTIONS
========================================================= */

.showcase-actions {
    position: relative;
    z-index: 2;

    display: flex;
    justify-content: center;

    gap: 12px;
    flex-wrap: wrap;

   margin-top: 18px;
}

/* =========================================================
   ACCOUNTING GREEN MODE
========================================================= */

.showcase-panel.accounting-mode {
    background: linear-gradient(
        145deg,
        #ffffff,
        #f4fff8
    );

    border-color: rgba(32,179,88,.20);
}

.showcase-panel.accounting-mode .screen-tab.active {
    background: linear-gradient(
        135deg,
        #20b358,
        #75cd69
    );
}

/* =========================================================
   GYM BLUE-LAVENDER MODE
========================================================= */

.showcase-panel.gym-mode {
    background: linear-gradient(
        145deg,
        #ffffff,
        #f4f6ff
    );

    border-color: rgba(111,95,220,.18);
}

/* =========================================================
   LIGHTBOX
========================================================= */

.showcase-lightbox {
    position: fixed;
    inset: 0;
    z-index: 9999;

    display: none;
    align-items: center;
    justify-content: center;

    padding: 30px;

    background: rgba(15,20,35,.88);

    backdrop-filter: blur(8px);
}

.showcase-lightbox.open {
    display: flex;
}

.showcase-lightbox img {
    max-width: 95vw;
    max-height: 90vh;

    border-radius: 18px;

    box-shadow:
        0 30px 90px rgba(0,0,0,.40);
}

.showcase-lightbox-close {
    position: absolute;
    top: 20px;
    right: 24px;

    width: 45px;
    height: 45px;

    border: 0;
    border-radius: 50%;

    background: #ffffff;
    color: #182033;

    font-size: 23px;

    cursor: pointer;
}

/* =========================================================
   TABLET
========================================================= */

@media (max-width: 980px) {

    .product-showcase {
        padding: 84px 0 90px;
    }

    .showcase-panel {
       padding: 18px 20px 22px;
    }
}

/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 640px) {

    .product-showcase {
        padding: 68px 0 74px;
    }

    .showcase-heading h2 {
        font-size: 35px;
        letter-spacing: -.9px;
    }

    .product-tabs {
        display: grid;
        grid-template-columns: 1fr;
    }

    .product-tab {
        width: 100%;
    }

    .showcase-panel {
        padding: 14px;

        border-radius: 22px;
    }

    .showcase-screen {
        border-radius: 16px;
    }

    .showcase-browser-bar {
        height: 40px;
    }

    .screen-tabs {
        justify-content: flex-start;

        overflow-x: auto;
        flex-wrap: nowrap;

        padding-bottom: 6px;
    }

    .screen-tab {
        flex: 0 0 auto;
    }

    .showcase-actions {
        flex-direction: column;
    }

    .showcase-actions .btn {
        width: 100%;
    }

    .showcase-lightbox {
        padding: 12px;
    }
}

/* =========================================================
   RESPONSIVE PREVIEW HEIGHT
========================================================= */

/* Large desktop */

@media (min-width: 1500px) {

    .showcase-image-wrap {
        height: 470px;
    }

}


/* Normal desktop / laptop */

@media (max-width: 1499px) {

    .showcase-image-wrap {
        height: 420px;
    }

}


/* Smaller laptop */

@media (max-width: 1200px) {

    .showcase-image-wrap {
        height: 380px;
    }

}


/* Tablet */

@media (max-width: 980px) {

    .showcase-image-wrap {
        height: 340px;
    }

}


/* Mobile */

@media (max-width: 640px) {

    .showcase-image-wrap {
        height: 230px;
    }

    .showcase-image {
        width: 100%;
        height: 100%;

        object-fit: contain;
    }

}