:root{
    --bg:#eef5fd;
    --primary:#052b7d;
    --accent:#c4def8;
    --white:#ffffff;
    --text:#1d2740;
}

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

body{
    background:var(--bg);
    color:var(--text);
    font-family:'Montserrat',sans-serif;
}

.container{
    width:90%;
    max-width:1400px;
    margin:auto;
}

/* NAVIGATION HEADER */
nav{
    background:white;
    position:sticky;
    top:0;
    z-index:100;
    border-bottom:1px solid rgba(5,43,125,.08);
}

.nav-wrapper{
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:20px 0;
    position: relative;
}

.logo{
    display:flex;
    flex-direction:column;
}

.logo img{
    width:80px;
    height:auto;
    display:block;
}

.logo span{
    letter-spacing:4px;
    font-size:11px;
    color:#052b7d;
}

.logo h2{
    color:var(--primary);
    font-family:'Cormorant Garamond',serif;
    font-size:42px;
}

.menu{
    display:flex;
    gap:40px;
}

.menu a{
    text-decoration:none;
    color:var(--primary);
    font-weight:600;
    text-transform:uppercase;
    font-size:13px;
}

.btn{
    background:var(--primary);
    color:white;
    text-decoration:none;
    padding:14px 28px;
    border-radius:10px;
    font-weight:600;
    transition:.3s;
}

.btn:hover{
    transform:translateY(-2px);
}

.menu-toggle {
    display: none;
}

.hamburger {
    display: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--primary);
    order: 2;
    align-items: center;
    gap: 8px;
    font-weight: 600;
}

.hamburger span {
    font-size: 13px;
    font-family: 'Montserrat', sans-serif;
    letter-spacing: 1px;
}

@media(max-width:992px){
    .hamburger { display: flex; }
    .menu {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: white;
        padding: 30px 20px;
        box-shadow: 0 15px 30px rgba(0,0,0,0.08);
        gap: 25px;
        text-align: center;
        border-top: 1px solid rgba(5,43,125,.05);
    }
    .menu-toggle:checked ~ .menu { display: flex; }
    .nav-btn { padding: 10px 18px; font-size: 13px; }
}

/* ==========================================
   PASTE NEW PRODUCTS CSS BELOW THIS LINE
   ========================================== */
/* INTERACTIVE BEFORE/AFTER HERO STYLES */
.product-hero {
    padding: 40px 0;
}

.slider-wrapper {
    position: relative;
    width: 100%;
    height: 550px; /* Locked desktop layout box container depth */
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.06);
}

.image-before, 
.image-after {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    user-select: none;
}

/* This layer covers the background image and gets cropped horizontally */
.image-after {
    width: 50%; 
    overflow: hidden;
    z-index: 2;
}

/* --- THE FIX IS IN THE TWO RULES BELOW --- */

.image-before img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.image-after img {
    /* Forces the image to lock onto the full width of the parent slider frame */
    width: calc(90vw);
    max-width: 1400px;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* STATUS IDENTIFIER LABEL BADGES */
.badge {
    position: absolute;
    top: 25px;
    background: rgba(29, 39, 64, 0.7); /* Slightly darker for better readability */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: white;
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 2px;
    
    /* Crucial fix: Pulls the badges out of image sub-layers so they never hide */
    z-index: 18; 
}

/* Force "AFTER" to stay anchored to top-left of the entire box */
.before-badge { 
    left: 25px; 
    right: auto;
}

/* Force "BEFORE" to stay anchored to top-right of the entire box */
.after-badge { 
    right: 25px; 
    left: auto;
}

/* INVISIBLE INPUT SLIDER MECHANIC LAYER */
.slider-control {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0; /* Fully hidden but completely interactive to clicks and mouse drags */
    cursor: ew-resize;
    z-index: 20;
}

/* THE VISUAL SPLIT SCREEN SEPARATOR LINE */
.slider-button-line {
    position: absolute;
    top: 0;
    left: 50%; 
    transform: translateX(-50%); /* Added this line to center it perfectly */
    width: 2px;
    height: 100%;
    background: white;
    z-index: 15;
    pointer-events: none; 
}

/* CENTRAL BUTTON HANDLE WITH ICON ARROWS */
.slider-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 44px;
    height: 44px;
    background: white;
    color: var(--text);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 14px;
    font-weight: bold;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

/* FLOATING PRODUCT DETAILS CARD OVERLAY */
.product-title-card {
    position: absolute;
    bottom: 35px;
    left: 35px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    padding: 20px 25px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    gap: 15px;
    z-index: 18;
    color: var(--text);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.title-logo-box {
    background: var(--primary);
    color: white;
    width: 45px;
    height: 45px;
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.product-title-card h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 24px;
    color: var(--primary);
    letter-spacing: 1px;
    line-height: 1.1;
}

.product-title-card span {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 1.5px;
    color: #52627f;
}

/* ADAPTIVE TABLET & SMARTPHONE BREAKPOINT SETUPS */
@media(max-width: 768px) {
    .slider-wrapper {
        height: 380px; /* Safely shrinks panel depth for responsive handling layout grids */
    }
    .product-title-card {
        bottom: 20px;
        left: 20px;
        right: 20px;
        padding: 15px;
    }
    .product-title-card h2 { font-size: 18px; }
    .badge { top: 15px; padding: 6px 12px; font-size: 9px; }
    .before-badge { left: 15px; }
    .after-badge { right: 15px; }
}


.product-store {
    padding: 60px 0;
}

.store-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 40px;
}

.section-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 30px;
}

.store-subtitle {
    color: #52627f;
    font-size: 15px;
    margin-top: -20px;
}

.sparkle-icon {
    color: #3d68c7;
    font-size: 20px;
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 1px solid rgba(5, 43, 125, 0.2);
    font-size: 11px;
    letter-spacing: 1px;
    padding: 12px 24px;
    border-radius: 10px;
}

.btn-outline:hover {
    background: rgba(5, 43, 125, 0.04);
    transform: translateY(-1px);
}

.products-showcase-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

/* CARDS SHAPE & CONTAINER SHADOWS */
.store-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.01);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(5, 43, 125, 0.03);
}

.store-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(5, 43, 125, 0.08);
}

.card-preview {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1; /* Locks strict canvas square aspect ratios */
    background: #f0f5fc;
}

.card-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* software identifiers stamps (Lr, LUTs) */
.software-badge {
    position: absolute;
    bottom: 15px;
    left: 15px;
    background: #001d66;
    color: #4da6ff;
    font-weight: 800;
    font-size: 12px;
    padding: 4px 8px;
    border-radius: 6px;
    letter-spacing: 0.5px;
}

.card-details {
    padding: 20px;
}

.card-details h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    color: var(--text);
    font-weight: 600;
}

.card-details p {
    color: #7a8aa8;
    font-size: 12px;
    margin-top: 4px;
}

.card-footer-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid rgba(5, 43, 125, 0.05);
}

.price {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary);
}

/* Translucent Soft Blue Circular Cart Buttons */
.cart-btn {
    background: #eef5fd;
    color: var(--primary);
    border: none;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: 0.2s ease;
}

.cart-btn:hover {
    background: var(--primary);
    color: white;
}

/* ADAPTIVE MULTI-BREAKPOINT LAYOUT RESPONSIVENESS */
@media(max-width: 992px) {
    .products-showcase-grid {
        grid-template-columns: repeat(2, 1fr); /* Collapses smoothly into pairs on tablets */
    }
    .store-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
}

@media(max-width: 576px) {
    .products-showcase-grid {
        grid-template-columns: 1fr; /* Spans full width single rows on phones */
    }
}

/* BLOCK 3: VIDEO SHOWCASE & VALUE BANNERS CSS */
.product-video-features {
    padding: 60px 0 80px 0;
}

.video-showcase-card {
    background: var(--white);
    border-radius: 24px;
    padding: 50px;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 50px;
    align-items: center;
    box-shadow: 0 10px 40px rgba(5, 43, 125, 0.02);
    border: 1px solid rgba(5, 43, 125, 0.03);
    margin-bottom: 70px;
}

.video-content-layout h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 3rem;
    color: var(--primary);
    line-height: 1.1;
    margin-bottom: 20px;
}

.video-content-layout p {
    color: #52627f;
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 30px;
}

.btn-video-play {
    display: inline-flex;
    align-items: center;
    background: var(--primary);
    color: white;
    font-size: 12px;
    letter-spacing: 1px;
    padding: 14px 28px;
}

/* VIDEO PREVIEW MODAL PULSING BUTTON BOX */
.video-preview-box {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    aspect-ratio: 9 / 16;
    box-shadow: 0 15px 30px rgba(0,0,0,0.05);
}

.video-preview-box img {
    width: auto;
    height: 100%;
    object-fit: cover;
}

.play-pulse-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: var(--white);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: 0.3s ease;
}

.play-pulse-btn:hover {
    transform: translate(-50%, -50%) scale(1.1);
    background: var(--primary);
    color: white;
}

/* THE VALUE TRUST PROPOSITIONS ROW BANNER */
.value-props-bar {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    padding-top: 40px;
    border-top: 1px solid rgba(5, 43, 125, 0.06);
}

.prop-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.prop-icon {
    background: #eef5fd;
    color: #3d68c7;
    width: 46px;
    height: 46px;
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
}

.prop-item h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 6px;
}

.prop-item p {
    font-size: 13px;
    color: #7a8aa8;
    line-height: 1.5;
}

/* =========================
   CUSTOM POPUP MODAL
========================= */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(29, 39, 64, 0.4); /* Uses your --text color with transparency */
    backdrop-filter: blur(4px);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.modal-card {
    background: var(--white);
    padding: 40px;
    border-radius: 24px;
    max-width: 400px;
    width: 90%;
    text-align: center;
    box-shadow: 0 20px 50px rgba(5, 43, 125, 0.15);
    border: 1px solid rgba(5, 43, 125, 0.05);
    animation: modalFadeIn 0.3s ease forwards;
}

.modal-card h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 28px;
    color: var(--primary);
    margin-bottom: 12px;
}

.modal-card p {
    color: #52627f;
    font-size: 15px;
    line-height: 1.5;
    margin-bottom: 28px;
}

.modal-btn {
    width: 100%;
    padding: 14px;
}

 /* Define a fixed height for your container box */
  .video-preview-box {
    position: relative; 
    border-radius: 12px; 
    overflow: hidden; 
    background: #000; 
    margin-top: 20px;
    height: 100%; /* Adjust this to your desired height */
    width: 320px;
  }

  /* Base video styles */
  #embeddedTutorialVideo {
    display: block; 
    width: 100%; 
    height: auto; /* Starts at auto height */
    object-fit: contain; 
    transition: all 0.3s ease; /* Smooth transition */
  }

  /* This class forces the video to fill 100% of the parent height */
  #embeddedTutorialVideo.maximize-video {
    height: 100% !important;
    object-fit: cover !important;
  }

  /* Play button styling */
  .custom-play-btn {
    position: absolute; 
    top: 50%; 
    left: 50%; 
    transform: translate(-50%, -50%); 
    padding: 15px 30px; 
    background: #ff0055; 
    color: #fff; 
    border: none; 
    border-radius: 5px; 
    cursor: pointer; 
    z-index: 10;
    font-weight: bold;
  }


/* RESPONSIVE LAYOUT BREAKPOINTS FOR MOBILE SCREENS */
@media(max-width: 992px) {
    .video-showcase-card {
        grid-template-columns: 1fr;
        padding: 30px;
        gap: 35px;
    }
    .value-props-bar {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}


.direct-channels {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 20px;
}
.channel-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 12px 8px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    transition: background-color 0.2s, transform 0.1s;
}
.channel-link small {
    font-size: 10px;
    font-weight: 400;
    margin-top: 2px;
    opacity: 0.8;
}
.email-btn {
    background-color: #f1f5f9;
    color: #0f172a;
    border: 1px solid #e2e8f0;
}
.email-btn:hover { background-color: #e2e8f0; }

.whatsapp-btn {
    background-color: #25d366; /* Standard WhatsApp Brand Green */
    color: #ffffff;
}
.whatsapp-btn:hover { background-color: #20ba5a; transform: translateY(-1px); }

/* Decorative Text Divider */
.modal-divider {
    text-align: center;
    position: relative;
    margin: 24px 0 16px;
}
.modal-divider::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 100%;
    height: 1px;
    background-color: #e2e8f0;
    z-index: 1;
}
.modal-divider span {
    background-color: #ffffff;
    padding: 0 12px;
    font-size: 11px;
    font-weight: 700;
    color: #94a3b8;
    position: relative;
    z-index: 2;
    letter-spacing: 0.05em;
}

/* Modal Legal Footer Notice */
.modal-footer-cr {
    margin-top: 24px;
    padding-top: 16px;
    border-top: 1px solid #f1f5f9;
    font-size: 11px;
    color: #94a3b8;
    text-align: center;
}

.modal-overlay {
    display: none; /* Keeps it hidden until you click Contact or the Cart */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(15, 23, 42, 0.6); /* Dark translucent background */
    backdrop-filter: blur(4px); /* Blurs the background webpage */
    z-index: 1000;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}

.modal-container {
    background: #ffffff;
    padding: 32px;
    border-radius: 16px;
    width: 90%;
    max-width: 480px;
    position: relative;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    box-sizing: border-box;
}

.modal-close-btn {
    position: absolute;
    top: 16px;
    right: 20px;
    background: none;
    border: none;
    font-size: 28px;
    color: #94a3b8;
    cursor: pointer;
}

/* ============================================== */
/* FIXED FORM INPUT FIELDS STYLING                */
/* ============================================== */
.modal-form .form-group {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    width: 100% !important;
    margin-bottom: 16px !important;
    box-sizing: border-box !important;
}

.modal-form label {
    font-size: 13px !important;
    font-weight: 600 !important;
    color: #475569 !important;
    margin-bottom: 6px !important;
    display: block !important;
    text-align: left !important;
}

.modal-form input[type="text"], 
.modal-form input[type="email"], 
.modal-form textarea {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 100% !important;
    padding: 12px !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 8px !important;
    font-size: 14px !important;
    font-family: inherit !important;
    outline: none !important;
    box-sizing: border-box !important;
    margin: 0 !important;
    background: #ffffff !important;
}

.modal-form input:focus, 
.modal-form textarea:focus {
    border-color: #5eb1c9 !important;
    box-shadow: 0 0 0 2px rgba(94, 177, 201, 0.2) !important;
}

.modal-form .form-submit-btn {
    display: block !important;
    width: 100% !important;
    padding: 14px !important;
    background-color: #5eb1c9 !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 8px !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    margin-top: 12px !important;
    box-sizing: border-box !important;
    transition: background-color 0.2s ease !important;
}

.modal-form .form-submit-btn:hover {
    background-color: #4ba0b7 !important;
}
/* ==========================================
   PASTE NEW PRODUCTS CSS ABOVE THIS LINE
   ========================================== */

/* FOOTER */
footer{
    background:white;
    margin-top:80px;
    border-top:1px solid rgba(5,43,125,.08);
}

.footer-grid{
    display:grid;
    grid-template-columns:2fr 1fr 1fr 1fr;
    gap:40px;
    padding:60px 0;
}

.footer-title{
    color:var(--primary);
    margin-bottom:15px;
    font-weight:600;
}

footer ul{ list-style:none; }
footer li{ margin-bottom:10px; }
footer a{ text-decoration:none; color:#4c5d7a; }

.copyright{
    text-align:center;
    padding:20px;
    border-top:1px solid rgba(5,43,125,.08);
}

@media(max-width:768px){
    .footer-grid { grid-template-columns: 1fr; }
}
