/* ==========================================================================
   UNIFIED IMAGE PAGES CORE LAYOUT (Synchronized with video_page_css.css)
   ========================================================================== */
*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{
    font-family: "Manrope", sans-serif;
    background:
    linear-gradient(
    135deg,
    #061C3F 0%,
    #0B2E63 40%,
    #091e3e 100%
    );
    background-size:300% 300%;
    color:#ffffff;
    opacity:0;
    animation:
        pageFadeIn .9s ease forwards,
        gradientShift 20s ease-in-out infinite .9s;
}

#pageLoader{
    position:fixed; inset:0; z-index:9999;
    background:#061C3F;
    display:flex; flex-direction:column; align-items:center; justify-content:center;
    gap:20px;
}
.loader-logo{ font-size:28px; font-weight:800; color:#fff; letter-spacing:-1px; }
.loader-bar{ width:200px; height:3px; background:rgba(255,255,255,.1); border-radius:99px; overflow:hidden; }
.loader-fill{ width:0%; height:100%; background:#2563EB; }

/* -------------------- */
/* BACK BUTTON          */
/* -------------------- */
.back-btn {
    position: fixed;
    top: 24px;
    left: 24px;
    z-index: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    min-width: 42px;
    min-height: 42px;
    border-radius: 50%;
    background: linear-gradient(135deg, #061C3F 0%, #0B2E63 60%, #091e3e 100%);
    color: #ffffff;
    border: none;
    text-decoration: none;
    box-shadow: 0 8px 20px rgba(0,0,0,.25);
    transition: transform .3s cubic-bezier(.34,1.56,.64,1), box-shadow .3s ease;
}

.back-btn svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    transition: transform .3s ease;
}

.back-btn:hover {
    transform: translateY(-2px) scale(1.08);
    box-shadow: 0 10px 25px rgba(11,46,99,.5);
}

.back-btn:hover svg {
    transform: translateX(-3px);
}


/* ==========================================
   GLOBAL TRANSITIONS FOR NAV TOGGLE
   ========================================== */
.page-nav-toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 999px;
    background: #EFF6FF;
    color: #2563EB;
    border: 1px solid #BFDBFE;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Hamburger default state (Hidden on desktop) */
.hamburger-icon {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 18px;
    height: 12px;
    position: relative;
    cursor: pointer;
}

.hamburger-icon span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: #2563EB;
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Open State Animation for Hamburger */
.page-nav.open .hamburger-icon span:nth-child(1) {
    transform: translateY(5px) rotate(45deg);
}
.page-nav.open .hamburger-icon span:nth-child(2) {
    opacity: 0;
}
.page-nav.open .hamburger-icon span:nth-child(3) {
    transform: translateY(-5px) rotate(-45deg);
}

/* -------------------- */
/* NAV TOGGLE & DROPDOWN*/
/* -------------------- */
.page-nav-toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 999px;
    background: #EFF6FF;
    color: #2563EB;
    border: 1px solid #BFDBFE;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}



.page-nav.open .hamburger-icon span:nth-child(1) {
    transform: translateY(5px) rotate(45deg);
}
.page-nav.open .hamburger-icon span:nth-child(2) {
    opacity: 0;
}
.page-nav.open .hamburger-icon span:nth-child(3) {
    transform: translateY(-5px) rotate(-45deg);
}

.page-nav{
    position:fixed;
    top:24px;
    right:24px;
    z-index:500;
}
.page-nav-toggle:hover{
    transform:translateY(-2px) scale(1.04);
    box-shadow:0 8px 20px rgba(37,99,235,.18);
}
.page-nav-toggle svg{
    width:14px;
    height:14px;
    transition:transform .3s ease;
}
.page-nav.open .page-nav-toggle svg{
    transform:rotate(180deg);
}
.page-nav-menu{
    position:absolute;
    top:calc(100% + 10px);
    right:0;
    min-width:220px;
    background:#ffffff;
    border:1px solid #E5E7EB;
    border-radius:18px;
    box-shadow:0 20px 50px rgba(15,23,42,.18);
    padding:10px;
    opacity:0;
    visibility:hidden;
    transform:translateY(-8px);
    max-height:70vh;
    overflow-y:auto;
    transition:opacity .25s ease, transform .25s ease, visibility .25s;
}
.page-nav.open .page-nav-menu{
    opacity:1;
    visibility:visible;
    transform:translateY(0);
}
.page-nav-menu a{
    display:block;
    padding:11px 16px;
    border-radius:12px;
    color:#334155;
    font-size:14px;
    font-weight:600;
    text-decoration:none;
    transition:background .2s ease, color .2s ease, transform .2s ease;
}
.page-nav-menu a:hover{
    background:#EFF6FF;
    color:#2563EB;
    transform:translateX(3px);
}
.page-nav-menu a.current{
    background:#2563EB;
    color:#fff;
}

/* -------------------- */
/* BACKDROP ANIMATIONS  */
/* -------------------- */
@keyframes pageFadeIn{
    to{ opacity:1; }
}
@keyframes gradientShift{
    0%{ background-position:0% 50%; }
    50%{ background-position:100% 50%; }
    100%{ background-position:0% 50%; }
}

.showcase{
    display:grid;
    grid-template-columns:48% 52%;
    min-height:100vh;
}

/* -------------------- */
/* LEFT PANEL CONTAINER */
/* -------------------- */
.left-panel{
    position:sticky;
    top:0;
    height:100vh;
    display:flex;
    justify-content:center;
    align-items:center;
    padding:60px;
    background:#F8FAFC;
    border-right:1px solid #E5E7EB;
    overflow:hidden;
}

.left-panel::before{
    content:"";
    position:absolute;
    width:500px;
    height:500px;
    border-radius:50%;
    background:radial-gradient(circle, rgba(37,99,235,.18), transparent 70%);
    top:-150px;
    left:-120px;
    filter:blur(40px);
    animation: floatBlobA 13s ease-in-out infinite;
    will-change: transform;
}

.left-panel::after{
    content:"";
    position:absolute;
    width:350px;
    height:350px;
    border-radius:50%;
    background:radial-gradient(circle, rgba(59,130,246,.15), transparent 70%);
    bottom:-100px;
    right:-80px;
    filter:blur(30px);
    animation: floatBlobB 16s ease-in-out infinite;
    will-change: transform;
}

@keyframes floatBlobA{
    0%,100%{ transform:translate(0,0) scale(1); }
    50%{ transform:translate(35px,25px) scale(1.12); }
}
@keyframes floatBlobB{
    0%,100%{ transform:translate(0,0) scale(1); }
    50%{ transform:translate(-30px,-20px) scale(1.18); }
}

.left-content{
    position:relative;
    z-index:2;
    display:flex;
    flex-direction:column;
    align-items:center;
    gap:38px;
    width:100%;
    perspective:1000px; 
}

/* -------------------- */
/* PREVIEW MEDIA GROUP  */
/* -------------------- */
.preview-media-group{
    display:flex;
    flex-direction:column;
    align-items:center;
    gap: 38px;             
    width:100%;
}

.preview-card{
    width:100%;
    max-width:650px;
    height: auto;
    border-radius:30px;
    overflow:hidden;
    transition:transform .5s cubic-bezier(.22,1,.36,1), box-shadow .5s ease;
    position:relative;
    transform-style:preserve-3d;
    cursor: zoom-in;

}
.preview-card:hover{
    box-shadow: 0 25px 70px rgba(15,23,42,.12);
}

.preview-card::before{
    content:"";
    position:absolute;
    inset:0;
    z-index:3;
    pointer-events:none;
    background:linear-gradient(115deg, transparent 25%, rgba(255,255,255,.28) 48%, transparent 70%);
    transform:translateX(-120%);
}
.preview-card:hover::before{
    animation:shineSweep 1.1s ease;
}
@keyframes shineSweep{
    to{ transform:translateX(120%); }
}

.preview-card video,
.preview-card img{
    width:40rem;
    height:40rem;
    object-fit:contain;
}

/* -------------------- */
/* RIGHT PANEL BASICS   */
/* -------------------- */
.right-panel{
    padding: 85px 100px 20vh;
    position:relative;
    overflow:hidden;
}

.right-panel::before{
    content:"";
    position:fixed;
    width:600px; height:600px;
    border-radius:50%;
    background:radial-gradient(circle, rgba(59,130,235,.16), transparent 70%);
    top:8%;
    right:-220px;
    filter:blur(60px);
    animation: floatBlobC 18s ease-in-out infinite;
    pointer-events:none;
    z-index:0;
}
.right-panel::after{
    content:"";
    position:fixed;
    width:450px; height:450px;
    border-radius:50%;
    background:radial-gradient(circle, rgba(139,180,255,.13), transparent 70%);
    bottom:12%;
    left:52%;
    filter:blur(50px);
    animation: floatBlobD 22s ease-in-out infinite;
    pointer-events:none;
    z-index:0;
}
@keyframes floatBlobC{
    0%,100%{ transform:translate(0,0) scale(1); }
    50%{ transform:translate(-40px,30px) scale(1.15); }
}
@keyframes floatBlobD{
    0%,100%{ transform:translate(30px,-25px) scale(1.1); }
}

/* BACKGROUND PARTICLES */
.ambient-particles{
    position:fixed;
    top:0;
    left:48%;
    right:0;
    bottom:0;
    z-index:0;
    pointer-events:none;
    overflow:hidden;
}
.particle{
    position:absolute;
    width:6px; height:6px;
    border-radius:50%;
    background:rgba(147,197,253,.55);
    box-shadow:0 0 12px rgba(147,197,253,.6);
    bottom:0;
    animation: particleFloat 18s linear infinite;
}
.p1{ left:8%;  animation-duration:16s; animation-delay:0s;   }
.p2{ left:22%; animation-duration:20s; animation-delay:-4s;  }
.p3{ left:45%; animation-duration:15s; animation-delay:-8s;  }
.p4{ left:63%; animation-duration:22s; animation-delay:-2s;  }
.p5{ left:78%; animation-duration:18s; animation-delay:-10s; }
.p6{ left:90%; animation-duration:17s; animation-delay:-6s;  }

@keyframes particleFloat{
    0%{ transform:translateY(110vh) scale(.6); opacity:0; }
    10%{ opacity:.8; }
    90%{ opacity:.6; }
    100%{ transform:translateY(-120vh) scale(1); opacity:0; }
}

.hero, .product{
    position:relative;
    z-index:1;
}

.hero{
    margin-bottom:60px;
}

.tag{
    display:inline-flex;
    padding:10px 20px;
    border-radius:999px;
    background:#EFF6FF;
    color:#2563EB;
    border:1px solid #BFDBFE;
    font-size:14px;
    font-weight:700;
    margin-bottom:28px;
    transition:transform .3s cubic-bezier(.34,1.56,.64,1), box-shadow .3s ease;
}
.tag:hover{
    transform:translateY(-2px) scale(1.04);
    box-shadow:0 8px 20px rgba(37,99,235,.18);
}
.hero h1{
    font-size:50px;
    line-height:1.05;
    padding-bottom:8px;
    letter-spacing:-2px;
    font-weight:800;
    margin-bottom:15px;
    max-width:750px;
    background:linear-gradient(120deg,#ffffff 40%,#8fb4ff 55%,#ffffff 70%);
    background-size:220% auto;
    -webkit-background-clip:text;
    background-clip:text;
    -webkit-text-fill-color:transparent;
    animation:heroShine 6s linear infinite 1.4s;
}

@keyframes heroShine{
    0%{ background-position:0% 50%; }
    100%{ background-position:-220% 50%; }
}
.hero p{
    font-size:16px;
    color:#fff;
    line-height:1.9;
    max-width:700px;
    display: none;
}

/* -------------------- */
/* PRODUCT CONTENT CARD */
/* -------------------- */
.preview-heading{
    display:flex; align-items:center; gap:14px;
    width:100%; max-width:650px;
}
.preview-heading-num{
    font-size:16px; font-weight:800; color:#2563EB;
    background:#EFF6FF; border:1px solid #BFDBFE;
    padding:4px 10px; border-radius:999px;
}
.preview-heading h3{
    font-size:32px; font-weight:800; color:#0B2E63;
}

.product{
     background:rgba(255,255,255,.05);
    backdrop-filter:blur(15px);
    border:1px solid rgba(255,255,255,.08);
    padding:60px;
    margin-bottom:80px;
    border-radius:30px;
    box-shadow:
    0 20px 60px rgba(0,0,0,.20);

    --scale: 0.90;
    transform: scale(var(--scale));
    opacity: .45;
    filter: saturate(.7);
    transition:
        transform .5s cubic-bezier(.22,1,.36,1),
        opacity .5s ease,
        filter .5s ease,
        box-shadow .5s ease,
        border-color .3s ease;
}
.product:hover{
    border-color:#CBD5E1;
    box-shadow: 0 25px 60px rgba(15,23,42,.10);
    transform: translateY(-6px) scale(var(--scale));
}
.product.active{
    border:1px solid #ffffff;
    animation:activeGlow 3.2s ease-in-out infinite;
    --scale: 1;
    opacity: 1;
    filter: saturate(1);
}

@keyframes activeGlow{
    0%,100%{ box-shadow:0 30px 80px rgba(37,99,235,.12); }
    50%{ box-shadow:0 30px 95px rgba(37,99,235,.30); }
}

.index{
    width:58px;
    height:58px;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:50%;
    background:#EFF6FF;
    color:#2563EB;
    border:1px solid #BFDBFE;
    font-size:18px;
    font-weight:800;
    margin-bottom:30px;
    transition:transform .45s cubic-bezier(.34,1.56,.64,1), background .3s ease, color .3s ease;
}
.product:hover .index{
    transform:rotate(-8deg) scale(1.1);
    background:#2563EB;
    color:#fff;
}

.category-label{
    display:none;
}

.product h2{
    font-size:42px;
    font-weight:800;
    letter-spacing:-1px;
    margin-bottom:22px;
}
.product p{
    font-size:16px;
    color:#ffffffb3;
    line-height:1.9;
    margin-bottom:38px;
}

.features{
    display:flex;
    flex-wrap:wrap;
    gap:14px;
}
.features span{
    padding:12px 20px;
    background:#F8FAFC;
    border:1px solid #E2E8F0;
    border-radius:999px;
    color:#334155;
    font-weight:600;
    transition:transform .3s cubic-bezier(.34,1.56,.64,1), background .3s ease, color .3s ease, border-color .3s ease;
}
.features span:hover{
    background:#2563EB;
    color:white;
    border-color:#2563EB;
    transform:translateY(-4px) scale(1.06);
}

.product-header{
    display:flex;
    align-items:center;
    gap:24px;
    margin-bottom:30px;
}
.product-header .index{
    margin-bottom:0;
    flex-shrink:0;
}
.product-header h2{
    margin-bottom:0;
    font-size:40px;
    line-height:1.15;
}

.workflow-footer{
    display:flex; justify-content:space-between; align-items:center;
    width:100%; max-width:650px; padding:0 10px;
}
.workflow-label{
    font-size:13px; font-weight:700; color:#64748B;
}
.scroll-hint{
    font-size:12px; font-weight:600; color:#2563EB;
    display:flex; align-items:center; gap:6px;
    animation: hintBounce 1.6s ease-in-out infinite;
}
@keyframes hintBounce{
    0%,100%{ transform:translateY(0); opacity:.7; }
    50%{ transform:translateY(4px); opacity:1; }
}

/* IMAGE LIGHTBOX SYSTEM */
#imageLightbox, #videoLightbox{
    position:fixed; inset:0; z-index:10000;
    background:rgba(6,28,63,.92);
    display:none;
    align-items:center; justify-content:center;
    padding:40px;
    opacity:0;
}
#imageLightbox.open, #videoLightbox.open{
    display:flex;
}
#imageLightbox img, #videoLightbox video{
    max-width:90vw;
    max-height:85vh;
    border-radius:20px;
    box-shadow:0 30px 90px rgba(0,0,0,.5);
    object-fit:contain !important;
}
#imageLightboxClose, #videoLightboxClose{
    position:absolute;
    top:30px; right:40px;
    width:46px; height:46px;
    border-radius:50%;
    background:rgba(255,255,255,.1);
    border:1px solid rgba(255,255,255,.2);
    color:#fff;
    font-size:20px;
    display:flex; align-items:center; justify-content:center;
    cursor:pointer;
    transition:background .25s ease, transform .25s ease;
}
#imageLightboxClose:hover, #videoLightboxClose:hover{
    background:rgba(255,255,255,.2);
    transform:scale(1.08);
}



/* ==========================================================================
   SYNCHRONIZED MEDIA BREAKPOINTS (100% Identical Viewports)
   ========================================================================== */

@media(max-width: 1440px){
    .left-panel{
        padding: 85px 60px 50px 60px;
    }
    .left-content{
        gap: 40px;
    }
    .preview-media-group {
        gap: 20px;
    }
    .hero {
        margin-bottom: 45px;
    }
    .product{
        padding: 48px;
    }
    .product-header h2 {
        font-size: 35px;
    }
}

@media(max-width:1024px) {
    .right-panel {
        padding: 70px 38px 20vh;
    }
    .left-panel {
        padding: 70px 38px;
    }

    .preview-card {
    width: 26rem;
    max-width: 26rem;
}

    .preview-card video,
    .preview-card img{
    width:26rem;
    height:26rem;
    object-fit:contain;
}

    .left-content{
        gap: 85px;
    }

}



@media(max-width:768px) {



    .showcase {
        display: flex;
        flex-direction: column;
        min-height: auto;
    }
    .left-panel {
        position: sticky;
        top: 0;
        height: auto;
        min-height: auto;
        width: 100%;
        padding: 24px 16px;
        z-index: 10;
        border-right: none;
        border-bottom: 1px solid #E5E7EB;
    }
    .left-content {
        gap: 28px;
    }
    .right-panel {
        width: 100%;
        position: relative;
        z-index: 1;
        padding: 30px 20px 20vh;
    }
    .product {
        width: 70%;
        margin-bottom: 22px;
        height: auto;
        padding: 22px 18px;
        --scale: 0.90;
        transform: scale(var(--scale));
        opacity: .45;
        filter: saturate(.7);
        transition:
            transform .5s cubic-bezier(.22,1,.36,1),
            opacity .5s ease,
            filter .5s ease,
            box-shadow .5s ease,
            border-color .3s ease;
    }
      .back-btn{
        display: none;
    }

    .preview-media-group {
        display: flex;
        flex-direction: row;
        gap: 85px;
        width: 100%;
    }

    .hero {
        margin-bottom: 5px;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        width: 100%;
    }
    .product p {
        font-size: 12px !important;
        line-height: 1.4 !important;
        margin-bottom: 18px !important;
    }

    .hero h1 {
        font-size: 24px;
        margin-bottom: 8px;
        max-width: 100%;
        letter-spacing: 0px !important;
        background: linear-gradient(120deg, #ffffff 30%, #8fb4ff 50%, #ffffff 70%);
        background-size: 220% auto;
        -webkit-background-clip: text;
        background-clip: text;
        margin-left: auto;
        margin-right: auto;
    }
    .hero p {
        font-size: 12px;
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
    }
    .tag {
        padding: 4px 8px;
        margin-bottom: 16px;
        margin-left: auto;
        margin-right: auto;
    }
    .index {
        width: 32px;
        height: 32px;
        font-size: 12px;
    }
    .features span {
        padding: 4px 8px;
        font-size: 10px;
    }
    .products-wrapper{
        display: block;
        align-items: center;
        justify-items: center;
    }
    .right-content {
        display: block;
        justify-items: center;
    }
    .back-btn{
        display: none;
    }

    .preview-heading {
        max-width: 710px;
    }
    .workflow-footer {
        max-width: 710px;
    }
    .product-header h2 {
        font-size: 18px;
    }

    .preview-card {
    width: 20rem;
    max-width: 20rem;
}

    .preview-card video,
    .preview-card img{
    width:20rem;
    height:19rem;
    object-fit:contain;
}
}

@media(max-width: 576px) {

     .loader-logo {
        font-size: 18px;
    }
    .loader-bar {
        width: 150px;
    }

    .preview-media-group {
        flex-direction: column;
        gap: 20px;
    }


    .scroll-hint {
        font-size: 10px;
    }

    .workflow-label {
        font-size: 10px;
    }

    .left-content {
        gap: 10px;
    }

    .preview-heading h3 {
        font-size: 20px !important;
    }

    .preview-heading-num {
        font-size: 14px;
        padding: 4px 6px;
    }

    .preview-heading {
        gap: 6px;
    }

    .left-panel {
        padding: 24px 12px;
    }

    .page-nav-toggle {
        padding: 0 !important;
        width: 35px !important;
        height: 32px !important;
        min-width: 31px !important;
        min-height: 23px !important;
        border-radius: 50% !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
    }

    .back-btn {
        top: 12px;
        left: 12px;
        width: 36px;
        height: 36px;
        min-width: 36px;
    }

    .nav-toggle-text {
        display: none !important;
    }

    .page-nav-toggle .arrow-svg {
        display: none !important; /* Mobile par arrow icon ko poori tarah se hide karein */
    }

    .hamburger-icon {
        display: flex !important; /* 576px aur usse choti screen par hamesha dikhega */
        flex-direction: column;
        justify-content: space-between;
        width: 16px;
        height: 12px;
    }

    .product {
        width: 100% !important;
        padding: 22px 18px !important;
        margin-bottom: 20px !important;
        height: auto !important;
        min-height: auto !important;
    }
}


@media(max-width: 375px){

    .preview-heading h3 {
        font-size: 17px !important;
    }

}