/* =========================
XZONE TRANSFORMATIONS
ULTRA PREMIUM FINAL
READY TO PASTE
========================= */

.results-section{

    position:relative;

    padding:40px 20px 60px;

    overflow:hidden;
}

/* HEADER */

.results-header{

    text-align:center;

    margin-bottom:70px;
}

.results-header h1{

    font-size:72px;

    line-height:1.1;

    font-weight:900;

    color:#fff;

    margin-bottom:18px;

    letter-spacing:-2px;
}

.results-header p{

    color:#b8c2d6;

    font-size:18px;

    line-height:1.8;
}

/* GRID */

.results-grid{

    width:100%;

    max-width:1500px;

    margin:0 auto;

    display:grid;

    grid-template-columns:
    repeat(4,1fr);

    gap:24px;

    align-items:start;
}

/* CARD */

.result-card{

    position:relative;

    overflow:hidden;

    border-radius:34px;

    background:
    linear-gradient(
        180deg,
        rgba(11,24,52,0.98),
        rgba(4,12,30,1)
    );

    border:
    1px solid rgba(255,255,255,0.06);

    box-shadow:
    0 20px 70px rgba(0,0,0,0.35);

    transition:
    transform .4s ease,
    box-shadow .4s ease,
    border-color .4s ease,
    background .4s ease;

    backdrop-filter:blur(18px);

    cursor:pointer;

    display:flex;

    flex-direction:column;

    width:100%;

    min-width:0;

    height:100%;

    isolation:isolate;
}

/* PREMIUM HOVER */

.result-card:hover{

    transform:
    translateY(-10px);

    border-color:
    rgba(247,164,0,0.24);

    background:
    linear-gradient(
        180deg,
        rgba(13,28,58,1),
        rgba(4,12,30,1)
    );

    box-shadow:
    0 30px 90px rgba(0,0,0,0.45);
}

/* IMAGE AREA */

.result-images{

    position:relative;

    display:grid;

    grid-template-columns:
    1fr 1fr;

    height:360px;

    overflow:hidden;

    background:#000;

    border-bottom:
    3px solid rgba(247,164,0,0.18);

    z-index:2;
}

/* BOX */

.before-box,
.after-box{

    position:relative;

    overflow:hidden;

    height:100%;
}

/* BEFORE */

.before-box{

    border-right:
    3px solid rgba(247,164,0,0.55);

    background:#111827;
}

/* AFTER */

.after-box{

    background:#000;
}

/* IMAGES */

.before-box img,
.after-box img{

    width:100%;

    height:100%;

    object-fit:cover;

    object-position:center;

    display:block;

    transition:
    transform .7s ease;
}

/* HOVER IMAGE */

.result-card:hover img{

    transform:scale(1.08);
}

/* OVERLAY */

.before-box::after,
.after-box::after{

    content:'';

    position:absolute;

    inset:0;

    background:
    linear-gradient(
        180deg,
        rgba(0,0,0,0),
        rgba(0,0,0,.15),
        rgba(0,0,0,.35)
    );

    z-index:1;
}

/* BEFORE AFTER LABELS */

.ba-labels{

    display:flex;

    justify-content:space-between;

    align-items:center;

    margin-bottom:30px;

    padding:0 2px;
}

.ba-labels span{

    display:inline-flex;

    align-items:center;

    justify-content:center;

    min-width:92px;

    height:42px;

    padding:0 20px;

    border-radius:50px;

    font-size:12px;

    font-weight:900;

    letter-spacing:1px;

    text-transform:uppercase;

    box-shadow:
    0 8px 18px rgba(0,0,0,.25);
}

.ba-before{

    background:
    rgba(255,255,255,.95);

    color:#000;
}

.ba-after{

    background:
    linear-gradient(
        135deg,
        #f7a400,
        #ffcf53
    );

    color:#000;
}

/* CONTENT */

.result-content{

    position:relative;

    z-index:5;

    padding:32px;

    display:flex;

    flex-direction:column;

    flex:1;

    background:
    linear-gradient(
        180deg,
        rgba(7,20,45,0.96),
        rgba(4,12,30,1)
    );
}

/* NAME */

.result-content h3{

    font-size:30px;

    line-height:1.15;

    font-weight:900;

    color:#fff;

    margin-bottom:34px;

    text-transform:uppercase;

    letter-spacing:-1px;
}

/* STATS */

.result-stats{

    display:flex;

    justify-content:space-between;

    align-items:center;

    flex-wrap:wrap;

    gap:14px;

    margin-bottom:22px;
}

/* STATS BOX */

.result-stats span{

    display:flex;

    align-items:center;

    justify-content:center;

    min-height:54px;

    padding:14px 20px;

    border-radius:18px;

    background:
    rgba(255,255,255,0.05);

    border:
    1px solid rgba(247,164,0,0.14);

    color:#f7a400;

    font-weight:800;

    font-size:15px;

    text-align:center;
}

/* TAGS */

.result-tags{

    display:flex;

    flex-wrap:wrap;

    gap:12px;

    margin-bottom:34px;
}

/* TAG */

.result-tags span{

    display:inline-flex;

    align-items:center;

    justify-content:center;

    padding:12px 18px;

    border-radius:40px;

    background:
    rgba(247,164,0,0.10);

    border:
    1px solid rgba(247,164,0,0.16);

    color:#f7a400;

    font-size:14px;

    font-weight:700;
}

/* VIEW STORY BUTTON */

.view-story-btn{

    width:100%;

    display:flex;

    align-items:center;

    justify-content:center;

    min-height:58px;

    padding:16px 24px;

    border-radius:18px;

    background:
    rgba(255,255,255,.05);

    border:
    1px solid rgba(247,164,0,.16);

    color:#fff;

    text-decoration:none;

    font-size:15px;

    font-weight:800;

    letter-spacing:.8px;

    margin-bottom:22px;

    transition:.3s ease;

    backdrop-filter:blur(10px);
}

.view-story-btn:hover{

    transform:
    translateY(-3px);

    background:
    rgba(247,164,0,.12);

    border-color:
    rgba(247,164,0,.35);
}

/* CTA TEXT */

.transformation-cta{

    margin-top:auto;

    margin-bottom:24px;

    text-align:center;

    font-size:24px;

    font-weight:900;

    line-height:1.45;

    color:#fff;

    letter-spacing:-1px;
}

/* MAIN BUTTON */

.transform-btn{

    width:100%;

    display:flex;

    align-items:center;

    justify-content:center;

    min-height:64px;

    padding:18px 24px;

    border-radius:20px;

    background:
    linear-gradient(
        135deg,
        #f7a400,
        #ffcf53
    );

    color:#000;

    text-decoration:none;

    font-size:15px;

    font-weight:900;

    letter-spacing:1px;

    text-transform:uppercase;

    white-space:nowrap;

    transition:.3s ease;

    box-shadow:
    0 15px 35px rgba(247,164,0,.22);
}

/* ALL BUTTON */

.all-transformations-wrap{

    text-align:center;

    margin-top:60px;
}

.all-transformations-btn{

    display:inline-flex;

    align-items:center;

    justify-content:center;

    min-height:68px;

    padding:0 40px;

    border-radius:20px;

    background:
    linear-gradient(
        135deg,
        #f7a400,
        #ffcf53
    );

    color:#000;

    text-decoration:none;

    font-size:17px;

    font-weight:900;

    transition:.3s ease;
}

.all-transformations-btn:hover{

    transform:
    translateY(-4px);
}

/* TABLET */

@media(max-width:1100px){

    .results-header h1{

        font-size:56px;
    }

    .results-grid{

        grid-template-columns:
        repeat(auto-fit,minmax(320px,1fr));
    }
}

/* MOBILE */

@media(max-width:768px){

    .results-section{

        padding:30px 16px 50px;
    }

    .results-header{

        margin-bottom:50px;
    }

    .results-header h1{

        font-size:42px;

        line-height:1.1;
    }

    .results-header p{

        font-size:15px;
    }

    .results-grid{

        grid-template-columns:1fr;

        gap:26px;
    }

    .result-card{

        border-radius:28px;
    }

    .result-images{

        height:320px;
    }

    .result-content{

        padding:24px;
    }

    .result-content h3{

        font-size:24px;

        margin-bottom:24px;
    }

    .ba-labels{

        margin-bottom:24px;
    }

    .ba-labels span{

        min-width:84px;

        height:40px;

        font-size:11px;
    }

    .result-stats{

        flex-direction:column;

        align-items:stretch;
    }

    .result-stats span{

        width:100%;

        min-height:52px;

        font-size:14px;
    }

    .result-tags{

        gap:10px;
    }

    .result-tags span{

        width:100%;

        justify-content:flex-start;

        font-size:13px;

        padding:12px 16px;
    }

    .transformation-cta{

        font-size:20px;

        line-height:1.5;
    }

    .view-story-btn{

        min-height:56px;

        font-size:14px;
    }

    .transform-btn{

        min-height:58px;

        font-size:14px;
    }

    .all-transformations-btn{

        width:100%;

        min-height:58px;

        font-size:15px;
    }
}

/* SMALL MOBILE */

@media(max-width:480px){

    .result-images{

        height:280px;
    }

    .result-content{

        padding:22px;
    }

    .result-content h3{

        font-size:22px;
    }

    .transformation-cta{

        font-size:18px;
    }
}