@import url(./header.css);

/* ==========================================================================
   02. STRUCTURAL WRAPPERS & LAYOUTS
   ========================================================================== */

/* Combined Layout Container for Hero Content & Background Image */
.site-hero-wrapper {
    position: relative;
    width: 100%;
    min-height: 100vh;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    
    /* CRITICAL: Pulls the hero up underneath the navbar to share the background */
    margin-top: -84px;
    z-index: 1;
    border-bottom-left-radius: 30px;
    border-bottom-right-radius: 30px;
}

/* ==========================================================================
   06. HERO TEXT & CONTENT ELEMENTS
   ========================================================================== */

/* Hero Content Spacer to counter the negative margin pulling up the layout */
.hero-content-area {
    padding-top: 150px; /* Safe clearing distance so text doesn't slide under navbar links */
    flex-grow: 1;
    display: flex;
    align-items: center;
}

.hero-title {
    font-size: calc(2.2rem + 2.5vw);
    font-weight: 700;
    line-height: 90px;
    margin-bottom: 20px;
    font-weight: 500;
    color: #1A1A1A;
    letter-spacing: -0.5px;
}

.gradient-text {
    background: linear-gradient(96.89deg, #9ADEF6 5.31%, #32BDED 9.96%, #0973E2 35.24%, #1339DE 39.33%, #0F0361 70.62%, #1A1A1A 97.35%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.hero-description {
    color: #33354F;
    font-size: 16px;
    max-width: 420px;
    margin-bottom: 35px;
    font-family: "Inter", sans-serif;
    line-height: 28px;
}





/* ==========================================================================
   07. INTERACTIVE BUTTONS & CARD UI
   ========================================================================== */

.btn-test-ride {
    background-color: #ffffff;
    color: var(--glide-dark);
    border: 1px solid #cccccc;
    padding: 8px 24px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.2s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-test-ride:hover {
    background-color: #f8f9fa;
    border-color: #999999;
}

/* Base Style for VIP Button */
button.btn.btn-vip {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 32px;
  
  /* Typography */
/*   font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; */
  font-size: 14px;
  font-weight: 600;
  color: #1a1a1a;
  
  /* Reset & Layout */
  background: #fafafa;
  border: none;
  outline: none;
  border-radius: 50px;
  cursor: pointer;
  z-index: 1;

  /* Smooth Transition */
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Arrow Icon Styling */
button.btn.btn-vip img {
  height: 12px;
  width: auto;
  transition: transform 0.3s ease;
}

/* Gradient Border Mask Ring */
button.btn.btn-vip::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50px;
  padding: 2px; /* Border thickness */
  
  /* Cyan to white gradient rim */
  background: linear-gradient(
    135deg, 
    #38bdf8 0%, 
    #7dd3fc 30%, 
    #ffffff 70%, 
    #e2e8f0 100%
  );

  -webkit-mask: 
    linear-gradient(#fff 0 0) content-box, 
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  
  pointer-events: none;
  opacity: 0.4; /* Slightly subtle by default */
  transition: opacity 0.3s ease;
  z-index: -1;
}

/* --------------------------------------------------
   HOVER STATE (Matches Image Visuals)
-------------------------------------------------- */
button.btn.btn-vip:hover {
  background: #ffffff; /* Opaque Solid White Fill */
  color: #111111;

  /* Ambient Outer White/Blue Glow */
  box-shadow: 
    0 0 15px rgba(255, 255, 255, 0.8),
    0 0 30px rgba(180, 210, 255, 0.35),
    0 0 45px rgba(56, 189, 248, 0.2);
}

button.btn.btn-vip:hover::before {
  opacity: 1; /* Fully vivid border ring on hover */
}

/* Optional: Slight nudge on the arrow during hover */
button.btn.btn-vip:hover img {
  transform: translateX(4px);
}

/* .btn-shop {
    background: linear-gradient(to right, rgba(255,255,255,0.4), rgba(255,255,255,0.1));
    color: var(--glide-dark);
    border: 1px solid rgba(255,255,255,0.6);
    padding: 14px 35px;
    border-radius: 30px;
    font-weight: 600;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    transition: background 0.2s;
}

.btn-shop:hover {
    background: rgba(255,255,255,0.5);
} */

button.btn.btn-shop {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 18px 48px;
  
  /* Typography */
  font-size: 16px;
  font-weight: 500;
  color: #1A1A1A;
  text-decoration: none;
  cursor: pointer;
  border: none;
  outline: none;

  /* Glass Background */
  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: 100px;
  z-index: 1;

  /* Glass Inner/Outer Depth Shadows */
  box-shadow: 
    inset 0 1px 2px rgba(255, 255, 255, 0.8),    /* Soft top inner highlight */
    inset 0 -2px 4px rgba(0, 0, 0, 0.05),        /* Subtle bottom inner shadow */
    0 8px 20px rgba(0, 0, 0, 0.04);              /* Soft ambient drop shadow */

  transition: all 0.3s ease;
}

/* Gradient Border Mask */
button.btn.btn-shop::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 100px;
  padding: 2px; /* Border thickness */
  
  /* Multi-stop linear gradient matching the blue-to-white sheen */
  background: linear-gradient(
    135deg, 
    #38bdf8 0%, 
    #7dd3fc 25%, 
    rgba(255, 255, 255, 0.9) 60%, 
    rgba(255, 255, 255, 0.4) 100%
  );

  -webkit-mask: 
    linear-gradient(#fff 0 0) content-box, 
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  /* pointer-events: none; */
  z-index: -1;
}

/* Subtle Hover Effect */
button.btn.btn-shop:hover {
  background: rgba(255, 255, 255, 0.35);
  transform: translateY(-1px);
}

/* --- 1. Sibling Positioning Context --- */
/* Ensure the parent Bootstrap column has relative positioning so absolute elements align correctly */
.col-lg-6 {
    position: relative;
}

.hero_img_wrap {
    position: relative;
    top: 38px;
    left: 18px;
/*     transform: scale(1.8); */
}

/* --- 2. The Specs Card Base State --- */
/* --- 2. The Specs Card Base State --- */
.spec-card {
    padding: 16px 16px;
    width: 252px;
    
    /* Absolute alignment relative to the column container */
    position: absolute;
    top: 50%;
    right: -195px;
    transform: translateY(-50%);

/* 1. Default Hidden State & Entry Position */
    opacity: 0;
    visibility: hidden;
    /* Starts slightly lower, scaled down, and shifted right */
    transform: translateY(-50%) scale(0.92) translateX(15px);

    /* 2. Transition for smooth FADE-OUT / EXIT */
    transition: 
        opacity 0.4s cubic-bezier(0.25, 1, 0.5, 1), 
        visibility 0.4s cubic-bezier(0.25, 1, 0.5, 1), 
        transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);

    z-index: 99;
    filter: drop-shadow(0 15px 35px rgba(0, 0, 0, 0.15));
}

/* 1. Create the shape background using a pseudo-element */
.spec-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1; /* Puts the background behind your <h3> and <p> */

    /* 2. Glassmorphism Background Effect */
    background: rgba(255, 255, 255, 0.75); /* Semi-transparent white */
    backdrop-filter: blur(12px); /* Frosted glass effect */
    -webkit-backdrop-filter: blur(12px);

    /* 3. Apply the custom SVG mask shape */
    -webkit-mask-image: url('../images/Leo-rectangle.svg');
    mask-image: url('../images/Leo-rectangle.svg');
    -webkit-mask-size: 100% 100%; /* Forces the mask to stretch perfectly to the card's dimensions */
    mask-size: 100% 100%;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;
    background: #fff;
}


.spec-card::after {
    content: '';
    position: absolute;
    
    /* 1. Position it at the top left */
    /* Use negative values if you want it to hang slightly outside the card */
    top: -16px;
    left: -32px; 
    
    /* 2. Define the size of your SVG line */
    width: 64px;  /* Adjust this to match the visual scale you want */
    height: 59px; /* Adjust this to match the visual scale you want */
    
    /* 3. Load the SVG as a background image */
    background-image: url('../images/line_shape.svg');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    
    /* 4. Ensure it sits on top of the background mask */
    z-index: 2; 
    
    /* Optional: If you don't want the line to block cursor clicks on the text beneath it */
    pointer-events: none;
}

/* --- 3. Hover & Active States --- */
/* Show the card when container is hovered */
.hero_img_wrap:hover .spec-card {
    opacity: 1;
    visibility: visible;
    
    /* 3. Transition for responsive MOUSE TRACKING while hovering */
    /* 0.15s is the sweet spot: fast enough to follow, soft enough to feel organic */
    transition: 
        opacity 0.4s cubic-bezier(0.25, 1, 0.5, 1), 
        visibility 0.4s cubic-bezier(0.25, 1, 0.5, 1), 
        transform 0.15s cubic-bezier(0.25, 1, 0.5, 1); 
}

/* Rule B: When the mouse leaves the bike but enters the card, KEEP it showing */
.spec-card:hover {
    opacity: 1;
    visibility: visible;
}

/* --- Typography Styles --- */
.spec-card h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 0px;
    color: #111C24;
    padding-inline-start: 46px;
}

.spec-card p {
    font-size: 14px;
    color: #444444;
    line-height: 1.5;
    margin-bottom: 0;
    font-family: "Inter", sans-serif;
    padding-top: 11px;
    padding-inline-start: 5px;
}
.hold_thing  {position: relative; z-index: 9;}
/* ==========================================================================
   08. FLOATING FEATURES ACCENT BAR
   ========================================================================== */

/* Layout Spacing Fix for the Feature Bar bridging the sections */
.feature-bar-wrapper {
    position: relative;
    margin-bottom: -56px; /* Pulls the floating bar downward over the fold */
    padding-bottom: 30px;
    z-index: 20;
}

.bottom-features-bar {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: 40px;
    padding: 20px 10px;
    /* box-shadow: 0 10px 40px rgba(0,0,0,0.04); */
    box-shadow: 0px 4px 40px 0px #999AA752;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    justify-content: center;
}

.feature-icon-img {
    width: 24px;
    height: 24px;
}

.feature-text {
    font-size: 13px;
    font-weight: 600;
    line-height: 1.2;
    color: #333333;
}

/* ==========================================================================
   09. FLEX-PRESS FULL-SCREEN ZOOM SCROLLER
   ========================================================================== */
.feature-focus-section {
    background-color: #ffffff;
    width: 100%;
    position: relative;
    padding-top: 4rem;
    padding-bottom: 4rem;
    overflow: hidden;
    box-sizing: border-box;
}

.type-area {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    box-sizing: border-box;
}

/* ADDED: wraps the title so its height can be tweened to 0, letting the
   image rise to cover that space instead of sitting behind a still-visible
   title. margin-bottom set here (not via Bootstrap's mb-5, which uses
   !important and can't be overridden by GSAP's inline style tween — that
   was the cause of the leftover white strip at the top during zoom). */
.gallery-title-row {
    overflow: hidden;
    margin-bottom: 48px;
}

.gallery-section-title {
    font-size: calc(2rem + 1.5vw);
    font-weight: 600;
    letter-spacing: -0.5px;
    background: linear-gradient(90.16deg, #1A1A1A 0.14%, #999AA7 111.03%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-family: sans-serif;
    margin: 0;
}

.feature-focus-section .flex-box {
    display: flex;
    gap: 24px;
    height: 520px;
    position: relative;
    box-sizing: border-box;
	justify-content:center;
}

/* CHANGED: flex: 0 0 33.3333% (was 1 1 0). With grow/shrink both at 0,
   flex-basis is the sole authority on width — the tween sets exact
   percentages with nothing else competing for the freed space, which is
   what keeps the squeeze/expand deterministic instead of approximate. */
.feature-focus-section .card-box {
    flex: 0 0 33.3333%;
    height: 100%;
    border-radius: 24px;
    overflow: hidden;
    position: relative;
    background: #111;
    box-sizing: border-box;
}

.feature-focus-section .card-box[data-role="center"] {
    z-index: 2;
}

.feature-focus-section .bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.feature-focus-section .content-box {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    text-align: center;
    color: #ffffff;
    font-family: sans-serif;
    opacity: 0;
    pointer-events: none;
    padding: 50px 0 0 50px;
    box-sizing: border-box;
}

.feature-focus-section .content-box::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
    z-index: -1;
}

.feature-focus-section .h2 {
    font-size: clamp(2.5rem, 2.2rem + 1.8vw, 4.5rem);
    font-weight: 400;
    line-height: 1.15;
    text-transform: uppercase;
    letter-spacing: -0.5px;
    margin-bottom: 30px;
    max-width: 1000px;
    padding: 0 15px;
	text-align:left;
} 

.feature-focus-section .h2 .line {
    display: block;
    overflow: hidden;
}

.feature-focus-section .h2 .line span {
    display: inline-block;
    transform: translateY(110%);
}

.feature-focus-section .btn-s {
    opacity: 0;
    transform: translateY(20px);
}

.feature-focus-section .btn {
    display: inline-flex;
    align-items: center;
    background: #ffffff;
    color: #000000;
    padding: 14px 38px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.2s ease;
    margin-inline-start: 0px;
}

.feature-focus-section .btn:hover {
    transform: scale(1.05);
}

@media (max-width: 768px) {
    /* CHANGED: was a CSS grid layout (25%/50%/25% columns) with the JS
       animation disabled entirely on mobile. Now it's still a flex row —
       just with different resting flex-basis values — so the exact same
       squeeze/expand timeline works here too instead of needing a second
       code path. */
    .type-area {
        padding: 0 33px;
    }
    .feature-focus-section .flex-box {
        height: 360px;
        gap: 20px !important;
    }
    .feature-focus-section .card-box {
        flex-basis: 25%;
        border-radius: 16px;
    }
    .feature-focus-section .card-box[data-role="center"] {
        flex-basis: 50%;
    }
    .feature-focus-section .h2 {
        font-size: clamp(1.8rem, 7vw, 2.75rem);
        padding: 0 12px;
    }
    .feature-focus-section .content-box {
        padding: 24px 0 0 24px;
    }
    .feature-focus-section .btn {
        padding: 10px 24px;
        margin-inline-start: 11px;
    }
}

/* Mobile Specific Overrides */
@media (max-width: 767px) {
.feature-focus-section .content-box{display:none}
}





/* ==========================================================================
   10. GLOBAL RESPONSIVE MEDIA BREAKPOINTS
   ========================================================================== */

@media (max-width: 991.98px) {
    .spec-card {
        max-width: 100%;
    }
    .bottom-features-bar {
        border-radius: 20px;
    }
    .feature-item {
        justify-content: flex-start;
        padding: 5px 10px;
    }
}

@media (max-width: 767.98px) {
    /* Shifts layout to standard stacked cards on mobile views */
    .site-hero-wrapper {
        margin-top: -87px; /* Slightly adjusted offset for compact mobile headers */
    }
    
    .interactive-flex-gallery {
        flex-direction: column;
        height: auto;
        gap: 20px;
    }
    
    .gallery-card-item {
        height: 400px;
        flex: none !important; /* Suppress hover expansion functions on touch environments */
        width: 100%;
    }
    
    .interactive-flex-gallery:hover .gallery-card-item {
        filter: none;
    }
    
    .gallery-card-item:hover {
        transform: none;
    }
}


/* ==========================================================================
   13. TEXT SLOGAN RUNWAY SECTION
   ========================================================================== */

.text-slogan-runway-section {
    background-color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
	 margin: 60px 0;
}

.slogan-display-box h2 {
    font-size: calc(2.4rem + 3.2vw);
    font-weight: 500;
    color: var(--glide-dark);
    letter-spacing: -1px;
    line-height: 1.2;
    margin: 0;
}

.slogan-line-second {
    padding-left: 120px; /* Precise design alignment push */
    margin-top: 15px !important;
}

.slogan-display-box span.gradient-text.life {
     background: linear-gradient(96.89deg, #9ADEF6 5.31%, #32BDED 9.96%, #0973E2 95.24%, #1339DE 80.33%); 
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;  
}

.slogan-display-box span.gradient-text.glide {}


/* ==========================================================================
   15. DYNAMIC BENTO FLEET GRID SECTION (TOP REVEAL EFFECT WITH ZOOM)
   ========================================================================= */

.bento-fleet-section {
    background-color: #ffffff;
}

.bento-card {
    position: relative;
    width: 100%;
    height: 350px; /* Locked height matching high-fidelity layout aspect scales */
    border-radius: 32px;
    overflow: hidden; /* Crucial: Clips the hidden top element AND the zoomed background */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.01);
}

/* 
   We target the inline styles on the div and move them to a pseudo-element.
   This inherits the background-image inline style from your HTML automatically.
*/
.bento-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: inherit; /* Inherits the inline style background url from .bento-card */
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    z-index: 1;
    
    /* Hardware-accelerated smooth scale transition */
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    transform: scale(1);
}

/* Slide-Down Glass Panel Wrapper (Completely Hidden by Default on Desktop) */
.bento-top-sliding-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 116px;
    padding: 32px;
    z-index: 5; /* Sits above the pseudo-element background */
    color: #ffffff;
    
    /* Push panel upward completely outside the card frame boundary */
    transform: translateY(-100%);
    opacity: 0;
    
    /* Hardware accelerated transit animations */
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1), 
                opacity 0.4s ease;
    border-radius: 32px;
    background: linear-gradient(94.45deg, rgba(0, 0, 0, 0.2) 23.84%, rgba(0, 0, 0, 0) 107.8%),
                linear-gradient(0deg, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2));
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

/* Internal Layout Controls */
.overlay-inner-content {
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: flex-start;
    font-family: "Inter", sans-serif;
}

.overlay-header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.bento-card-title {
    font-size: 20px;
    font-weight: 600;
    margin: 0;
    letter-spacing: -0.3px;
    color: #FAFAFA;
}

.bento-card-subtitle {
    font-size: 14px;
    font-weight: 400;
    color: #FAFAFA;
    margin: 4px 0 0 0;
}

/* Action Circle Button */
.bento-circle-arrow {
    width: 44px;
    height: 44px;
    background-color: rgba(255, 255, 255, 0.12);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    text-decoration: none;
    font-size: 20px;
    transition: background-color 0.3s ease, transform 0.4s ease;
}

.bento-description-text {
    font-size: 14px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.85);
    margin: 0;
    max-width: 90%;
}

/* ==========================================================================
   TRIGGER HOVER ACTIONS (SCALE IMAGE & SLIDE OVERLAY)
   ========================================================================== */

/* Zoom the background image */
.bento-card:hover::before {
    transform: scale(1.08); /* Scales background smoothly */
}

/* Slide overlay into view */
.bento-card:hover .bento-top-sliding-overlay {
    transform: translateY(0); 
    opacity: 1;
}

.bento-card:hover .bento-circle-arrow {
    background-color: var(--glide-primary); 
}

/* ==========================================================================
   MEDIA QUERIES & RESPONSIVE DESIGN
   ========================================================================== */

/* Tablet adjustments */
@media (max-width: 991.98px) {
    .bento-card {
        height: 350px;
    }
    .bento-top-sliding-overlay {
        padding: 24px;
    }
}

/* Mobile: Under 767px (Always-on state requested) */
@media (max-width: 767px) {
    /* Stop animating out on mobile, force stay in view */
    .bento-card .bento-top-sliding-overlay {
        transform: translateY(0) !important;
        opacity: 1 !important;
        height: auto; /* Allow sizing flexibility if text wraps */
        border-radius: 32px 32px 0 0; /* Align top borders cleanly */
    }
}

/* Extra small mobile adjustments */
@media (max-width: 575.98px) {
    .bento-card {
        height: 320px;
    }
    .bento-card-title {
        font-size: 20px;
    }
    .bento-card-subtitle {
        font-size: 12px;
    }
    .bento-description-text {
        font-size: 13px;
        line-height: 1.5;
        max-width: 100%;
    }
}

/* ==========================================================================
   16. FULL-SCREEN NATIVE COMPARISON SECTOR (NO GRID)
   ========================================================================== */

.fullscreen-trade-section {
    position: relative;
    width: 100%;
    height:100vh; /* Takes full window height depth automatically */
    overflow: hidden;
    background-color: #000000;
}

/* ==========================================================================
   BACKGROUND CANVAS ENGINE
   ========================================================================== */
.fullscreen-comparison-text-bottom-mobile, .fullscreen-comparison-text-top-mobile{display:none}

.fullscreen-comparison-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 1;
}

.canvas-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    object-fit: cover; /* Forces images to span background seamlessly without skewing */
    pointer-events: none;
}

.img-before {
    z-index: 10;
}

.canvas-img-overlay-wrap {
    position: absolute;
    top: 0;
    left: 0;
    width: 50%; /* Splitting screen ratio coordinate initial lock */
    height: 100%;
    z-index: 20;
    overflow: hidden;
}

/* Forces left layer img element to span full viewport boundaries to keep alignment scales synchronized */
.canvas-img-overlay-wrap .img-after {
    width: 100vw;
    max-width: none;
    height: 100vh;
}

/* Invisible operational overlay controller field spanning the entire screen layout */
.native-canvas-range {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 40;
    opacity: 0;
    cursor: ew-resize;
}

/* Interactive Center Drag Bar Component Line */
.custom-canvas-divider-line {
    position: absolute;
    top: 0;
    left: 50%;
    width: 2px;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.4);
    z-index: 30;
    pointer-events: none;
}

.custom-canvas-drag-pill {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 52px;
    height: 52px;
    background-color: #ffffff;
    color: #111111;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: bold;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* ==========================================================================
   FLOATING TEXT INTERFACE LAYER OVERLAY
   ========================================================================== */

.canvas-floating-content-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 50; /* Sits right over backgrounds while letting range clicks clip underneath */
    pointer-events: none; /* Crucial: Allows range controller adjustments behind it to work */
}

.floating-text-card {
    max-width: 460px;
    pointer-events: auto; /* Re-enables clicking targets on actual text parameters and action buttons */
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5); /* Boosts clear contrast readability on moving image changes */
	position: absolute;
    left: 45px;
}

/* Premium Typography Elements Styling */
.trade-section-title {
    font-size: calc(1.9rem + 1.8vw);
    font-weight: 600;
    letter-spacing: -0.5px;
    color: #FAFAFA;
    font-family: "Outfit", sans-serif;
}

.trade-section-lead {
    font-size: 24px;
    color: #CCCCD3;
    line-height: 1.5;
}

p.trade-section-lead span {
    color: #9ADEF6 !important;
    background: none !important;
    -webkit-text-fill-color: unset;
    font-weight: 500 !important;
    font-size: 24px !important;
}


.btn-upgrade {
    background-color: #ffffff;
    color: #111111 !important;
    font-weight: 600;
    padding: 14px 38px;
    border-radius: 30px;
    font-size: 16px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    transition: background-color 0.3s, transform 0.3s;
    display: inline-flex;
}

.btn-upgrade:hover {
    background-color: rgba(255, 255, 255, 0.9);
    transform: translateY(-1px);
}

.after-sales-title {
    font-size: 18px;
    font-weight: 700;
}

.check-icon-wrapper {
    width: 24px;
    height: 24px;
    background-color: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #4da9ff;
    font-size: 12px;
}

.list-text {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.9);
}

/* Responsive Structural Modifications */
@media (max-width: 767.98px) {
    .floating-text-card {
        max-width: 100%;
        background: rgba(10, 10, 10, 0.4);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        padding: 30px 24px;
        border-radius: 24px;
        border: 1px solid rgba(255, 255, 255, 0.1);
    }
}


/* ------------------------- */
.cta-primary-title{font-size: 2.2rem;}




span.hero_esp {
    font-family: "Luxurious Script", cursive;
    /* font-size: 80px; */
    font-weight: 400;
    line-height: 90px;
    letter-spacing: -0.02em;
    text-transform: capitalize;
    padding-inline-end: 6px;
    padding-inline-start: 4px;	
}


/* ==========================================================================
   Mobile
   ========================================================================== */



@media (max-width: 768px) {


    .hero_img_wrap { 
	        top: 23px;
        left: -68px;
	}

    .site-hero-wrapper{ background-position: center center;}

.hero_img_wrap img {
    width: 477px;
}

    .swiper-pagination-timeline{ 
		display:flex;
		gap:8px;
/* display: grid; grid-template-columns: repeat(3, 1fr);  */
 }

    .slogan-display-box h2 { font-size: calc(2.4rem + 2.2vw);}

    .trade-section-title { font-size: calc(1.9rem + 1.1vw);}

    .trade-section-lead {font-size: 19px;}

    p.trade-section-lead span{font-size: 19px !important;}
    .floating-text-card p, .floating-text-card span, .floating-text-card .after-sales-box{display:none}

    .canvas-floating-content-overlay .container {
        align-items: baseline !important;
        justify-content: center !important;
    }

    .floating-text-card{
    max-width: 480px;
    background:none;
    backdrop-filter: none;
    border:none

    }
        

.gallery-card-item.active .card-sticky-wrapper {
    position: fixed; }
    .footer-brand-watermark{display: none;}
/* ------------- */
	.hero-title{font-size: calc(1.7rem + 1.7vw);line-height:60px}
	span.hero_esp{line-height:60px}
	
/* ---------------------------------------------------- */

.fullscreen-comparison-text-bottom-mobile, fullscreen-comparison-text-top-mobile{display:block}

button.btn.btn-vip {
    width: 100%;
    padding: 20px 32px;
	max-width: 352px;
/*     margin: 0 auto; */
}

button.btn.btn-shop {
    width: 100%;
    padding: 20px 48px;
	max-width: 352px;
	margin-top: 16px;
   /* margin: 16px auto 0; */
	background: transparent;
}

}



@media (max-width: 480px) {

    .hero_img_wrap img {   width: 270px;}
    .bottom-features-bar {  margin-top: 40px; }
    .spec-card {
        margin-top: 41px;
		display:none
    }
    .own-night-interactive-section .night-bg-layer{
        background-position-x: 79%;
    }
	
#nightScene02 .holder { position: absolute;top: 19px;}

#nightScene01 h2 {font-size: calc(1.7rem + 2vw);gap: 0 !important;}

#nightScene01 h2 img { width: 70px;}

#nightScene02 .btn.btn-discover {  background: #3C3D3D !important;}

.btn-upgrade{margin-left: 35px;}
.floating-text-card{margin-top: 62%;}


.slogan-display-box h2 {
           font-size: calc(1.7rem + 1.5vw);
    }




}


@media (max-width: 768px) {
.video-text-content-mobile {
    display: block;
    position: absolute;
    top: 0px;
    width: 100%;
    text-align: center;
    background: linear-gradient(135deg, #E6DDD4 0%, #D8CFC6 100%);
    padding: 40px 0;
    min-height: 308px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.video-text-content { display: none;}

.video-static-card-container {  margin-top: 194px;}

#videoTextContent * {
    color: #fff;
    font-size: 2.5rem;
    font-weight: 700;
}

#videoTextContent h4 {
    font-size: 2.2rem;
    letter-spacing: 0.2px;
    font-weight: 900;
}

.fullscreen-trade-section .floating-text-card {
    display: none;
}

.fullscreen-comparison-text-top-mobile {
display:block;
    /* position: absolute; */
    top: -8px;
    width: 100%;
    height: 239px;
    background: #F5F5F6;
    z-index: 999;
    padding: 28px 24px;
}

.fullscreen-trade-section {
    height: 90vh;
}

.fullscreen-comparison-text-top-mobile h2 {
    font-size: 32px;
    color: #1A1A1A;
}

.fullscreen-comparison-text-top-mobile p,
.fullscreen-comparison-text-top-mobile p span {
    font-size: 14px !important;
    color: #33354F !important;
    font-weight: 400 !important;
    margin-bottom: 8px !important;
}

.fullscreen-comparison-text-top-mobile a {background:#32BDED;color:#fff !important;margin-bottom: 0 !important; margin-left:0px}
.fullscreen-comparison-text-top-mobile a:hover{background:#32BDED;color:#fff !important;}

.fullscreen-comparison-text-bottom-mobile {
    display: block;
    padding: 16px 0;
    background: linear-gradient(160.17deg, #EFEFF0 -32.03%, #FFFFFF 130.83%);
}

.fullscreen-comparison-text-bottom-mobile * {
    color: #1A1A1A;
}

.fullscreen-comparison-text-bottom-mobile .after-sales-list {
    display: grid !important;
    grid-template-columns: auto auto auto;
    padding-bottom: 23px;
    justify-content: space-around;
}

.fullscreen-comparison-text-bottom-mobile h4 {
    margin: 17px 50px 0 0;
}

.fullscreen-comparison-text-bottom-mobile .after-sales-box {
    box-shadow: 0px 4px 40px 0px #999AA752;
    min-height: 100px;
    margin: 21px 50px;
    padding: 10px 0;
    border-radius: 20px;
    background: linear-gradient(89.4deg, rgba(204, 204, 211, 0.32) -3.32%, rgba(255, 255, 255, 0.32) 99.49%);
}

.fullscreen-comparison-text-bottom-mobile span.list-text {
    display: inline-block;
    max-width: 111px; /* Forces the container to wrap exactly at the space between words */
    /* word-spacing: 100vw; */
}


}

@media (max-width: 480px) {
.fullscreen-comparison-text-bottom-mobile .after-sales-box{margin: 21px 25px;}

.fullscreen-comparison-text-bottom-mobile span.list-text {max-width:100% !important; display:block !important;font-size: 11px;}
	
.fullscreen-comparison-text-bottom-mobile .after-sales-list li {
    gap: 12px !important;
}
	
}





/* ------------------------------------------------ */

nav.navbar{margin: 26px;width: calc(100% - 52px);border-radius: 10px;transition: all .5s ease;}

nav.navbar:hover {background:#EAEBED;}

.site-hero-wrapper {
    margin-top: -137px;
}

/*---------------------TRADE IN RESPONSIVE----------------------------  */


@media (max-width: 768px) {
	.hero_img_wrap{display: none;}
    .fullscreen-trade-section {
        height: 370px !important; 
    }

    .fullscreen-comparison-canvas {
        height: 370px !important;
    }

    /* Step 2: Use "contain" to preserve all image dimensions without cropping */
    .canvas-img {
        height: 370px !important;
        width: 100vw !important;
        /* object-fit: contain !important; */
    }
	img.canvas-img.img-before {
/* 		object-fit: unset !important; */
	}
    /* Step 3: Align the sliding layer perfectly to prevent split ghosting */
    .canvas-img-overlay-wrap {
        height: 370px !important;
    }

    .canvas-img-overlay-wrap .img-after {
        height: 370px !important;
        width: 100vw !important;
        /* object-fit: contain !important; */
    }

    /* Layout tweaks */
    .hero_img_wrap { 
        top: 23px;
        left: -68px;
    }
    .hero_img_wrap img {
        width: 477px;
    }

    .site-hero-wrapper { 
        background-position: center center;
    }


}

@media (max-width: 480px) {
.hero_img_wrap{left: -10px;top: 87px;}
	.story-tag{padding-top:22px}
	
	
.feature-bar-wrapper {
    position: absolute;
    bottom: -182px;
    margin-bottom: 0px;
}	
	
	.feature-focus-wrapper {
    margin-top: 130px;
}
	
	.hero-content-area {
    padding-top: 0;
    margin-bottom: 62px;
}
	
	.site-hero-wrapper {
    border-radius: 0;
}
	
	    button.btn.btn-shop {
        margin-top: 3px;
    }
	.hero-description{margin-bottom:18px}
	
	
}



/* ==========================================================================
   17. MINI PRE-FOOTER CALL TO ACTION BANNER (MOBILE FIXES)
   ========================================================================== */

@media (max-width: 767.98px) {
    /* Stack elements vertically and align everything to the left */
    .glide-mini-cta-section .row {
        flex-direction: column;
        align-items: flex-start !important;
    }

    .glide-mini-cta-section .col-12 {
        width: 100%;
        text-align: left !important;
    }

    /* Change content container from row to column layout */
    .glide-mini-cta-section .col-12.d-flex {
        flex-direction: column;
        align-items: flex-start !important;
        gap: 1rem !important;
    }

    /* Target title line breaks: enable forcing breaks on mobile for exact image wrap */
    .cta-primary-title {
        font-size: 2rem; /* Adjusted for mobile scale */
        line-height: 1.2;
    }

    .cta-primary-title br.d-none.d-sm-inline {
        display: inline !important; /* Force title to break on 'Experience the' */
    }

    /* Hide vertical accent line on mobile */
    .vertical-accent-line {
        display: none !important;
    }

    /* Clean spacing for supporting text wrapper */
    .cta-subtitle-divider-wrap {
        margin-top: 0 !important;
        padding-top: 0 !important;
    }

    .cta-supporting-text {
        padding-inline-start: 0;
        font-size: 13px;
        line-height: 1.5;
    }

    /* Align button to start under text */
    .btn-explore-models {
        margin-top: 0.5rem;
    }
}



/* ---Resetting ---- */

@media (max-width: 480px) {
	.hero-content-area .hold_thing {
/* 		margin: 0 auto; */
	}
	nav.navbar{margin: 26px 12px;}
	nav.navbar .container-fluid.px-4{padding-right: 0 !important;padding-left: 0 !important;}

	
.px-5 {
    padding-right: 1.5rem !important;
    padding-left: 1.5rem !important;
}
}