* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Neue Haas Grotesk Display Pro', sans-serif;
}

body {
    font-family: 'Neue Haas Grotesk Display Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    /* Fixed background image that stays while the user scrolls */
    /* background-image: url('https://d2xsxph8kpxj0f.cloudfront.net/310419663030789605/6U9W7KHqUM93LtFqw9xMdR/background-image_69f0e323.jpg');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed; */
    /* background-color removed — let Odoo control the page background */
    color: #fff;
    overflow-x: hidden;
}

.border{
    width: 2px;
    border: 1px solid red;
    height: 100vh;
    position: fixed;
    left: 50%;
    top: 0px;
    transform: translate(-50%,0%);
}

.background-video-container{
    position: fixed;
    left: 0px;
    top: 0px;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.background-video{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-fade {
    position: absolute;
    inset: 0;
    background: #000435;
    --fade: 0;
    filter: opacity(var(--fade));
    pointer-events: none;
    will-change: filter;
    transform: translateZ(0);
}

#tweakpaneUiContainer{
    z-index: 99999999 !important;
    overflow: hidden !important;
}

/* 3D Canvas Background */
#canvas3d {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 100;
}

/* Depth Display Overlay - Desktop Only */
.depth-display {
    position: fixed;
    right: 0px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 150;
    display: flex;
    gap: 1rem;
    pointer-events: none;
    height: 200px;
    width: fit-content;
    overflow: hidden;

    -webkit-mask-image: linear-gradient(
        to bottom,
        transparent 0%,
        black 25%,
        black 75%,
        transparent 100%
      );
    
      mask-image: linear-gradient(
        to bottom,
        transparent 0%,
        black 25%,
        black 75%,
        transparent 100%
      );
}

.side-bar{
    width: 20px;
    height: 1px;
    background: rgba(255, 255, 255, 0.5);
    position: relative;
    margin-top: 100%; 
}

.depth-main {
    font-size: clamp(0.8rem, 1.2vw, 1.1rem);
    font-weight: 300;
    color: rgba(255, 255, 255, 0.9);
    letter-spacing: 0.1em;
    font-family: "Orbitron", sans-serif;
    /* Use tabular numbers for consistent width */
    font-variant-numeric: tabular-nums;
}

.depth-label{
    font-family: "Orbitron", sans-serif;
    font-size: 22px;
    text-align: center;
}

/* Ensure the numeric value explicitly uses Orbitron */
#depthValue {
    font-family: "Orbitron", sans-serif;
    font-variant-numeric: tabular-nums;
    font-weight: 400;
}

.depth-bars {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-top: 0.3rem;
    align-items: flex-end;
    margin-top: 85%;
    height: fit-content;

}

.depth-bar {
    width: 40px;
    height: 1px;
    background: rgba(255, 255, 255, 0.5);
    position: relative;
}

/* Hide depth display on mobile */
@media (max-width: 768px) {
    .depth-display {
        display: none;
    }
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1.5rem 3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1001;
    backdrop-filter: none;
    background: transparent;
    border-bottom: none;
    transition: transform 0.3s ease;
}

nav.hide-on-mobile {
    transform: translateY(-100%);
}

.nav-left {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.logo {
   width: 110px;
   height: auto;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
    align-items: center;
}

.nav-links a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-size: 0.875rem;
    transition: all 0.3s ease;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    font-weight: 400;
    position: relative;
}

.nav-links a:hover {
    color: #ffffff;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: #ff6b35;
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Mobile menu toggle (hamburger) */
.mobile-menu-toggle {
    display: none;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: transparent;
    border: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-left: auto;
    position: relative;
    z-index: 2001;
}

.mobile-menu-toggle .bar {
    width: 24px;
    height: 2px;
    background: #fff;
    display: block;
    position: relative;
    transition: transform 0.3s ease, opacity 0.3s ease;
    border-radius: 1px;
}

.mobile-menu-toggle .bar::before {
    content: '';
    position: absolute;
    right: 0;
    width: 18px;
    height: 2px;
    background: #fff;
    transition: transform 0.3s ease, opacity 0.3s ease;
    top: 8px;
    border-radius: 1px;
}

.mobile-menu-toggle .bar::after {
    display: none;
}

.mobile-menu-toggle.active .bar {
    transform: rotate(45deg);
}

.mobile-menu-toggle.active .bar::before {
    transform: rotate(-90deg);
    top: 0;
    right: 3px;
}

.order-arrow{
    position: absolute;
    bottom: 0px;
    right: 0px;
    transform: translateX(-25%) translateY(100%);
    background-color: #E85A28;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: 0.4s opacity;
}

.order-arrow img{
    width: 15px;
    height: auto;
}

.nav-icons {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.nav-icon-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.nav-icon-circle:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.nav-icon-circle.has-notification::after {
    content: '';
    position: absolute;
    top: 8px;
    right: 8px;
    width: 6px;
    height: 6px;
    background: #ff6b35;
    border-radius: 50%;
}

.nav-icon-circle {
    position: relative;
}

.nav-icon {
    width: 16px;
    height: 16px;
    opacity: 0.9;
    filter: brightness(0) invert(1);
    transition: all 0.3s ease;
}

.preorder-btn {
    background: #e85a28;
    color: #ffffff;
    text-decoration: none;
    padding: 0.75rem 1.5rem;
    border-radius: 30px;
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    backdrop-filter: blur(10px);
}

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

/* Section Container */
section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 0 5%;
    z-index: 1;
}

.hero {
    /* background: linear-gradient(180deg, rgba(10, 22, 40, 0.5) 0%, rgba(26, 47, 77, 0.5) 100%); */
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    padding-top: 80px;
    height: 100vh;
    padding-bottom: 3%;
    padding-left: 3%;
}

.hero-heading{
    font-size: 44px;
    line-height: 1.05;
}

.hero-heading p{
    font-size: 32px;
    margin-top: 20px;
}

.hero-3d-container {
    width: 100%;
    height: 50vh;
    position: relative;
    z-index: 5;
    display: none;
}

.hero-cta-btn {
    display: none;
    padding: 1rem 2.5rem;
    background:#e85a28;
    color: #ffffff;
    text-decoration: none;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    transition: all 0.3s ease;
    align-items: center;
    gap: 0.5rem;
    backdrop-filter: blur(10px);
    margin-top: 2rem;
    width: fit-content;
}

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

/* Motto Animation Styles */
.hero-motto {
    position: absolute;
    top: 15%;
    left: 50%;
    transform: translateX(-50%);
    font-size: clamp(1.2rem, 2.5vw, 2rem);
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.95);
    text-align: center;
    z-index: 200;
    opacity: 0;
    animation: mottoFadeIn 1s ease-out 0.5s forwards;
}

.hero-motto .motto-line {
    display: block;
    margin-bottom: 0.3rem;
}

.hero-motto .motto-word {
    display: inline-block;
    opacity: 0;
    animation: wordReveal 0.6s ease-out forwards;
}

.hero-motto .motto-line:nth-child(1) .motto-word:nth-child(1) {
    animation-delay: 1.2s;
}

.hero-motto .motto-line:nth-child(1) .motto-word:nth-child(2) {
    animation-delay: 1.4s;
}

.hero-motto .motto-line:nth-child(2) .motto-word:nth-child(1) {
    animation-delay: 1.6s;
}

.hero-motto .motto-line:nth-child(2) .motto-word:nth-child(2) {
    animation-delay: 1.8s;
}

.hero-motto .motto-line:nth-child(3) .motto-word:nth-child(1) {
    animation-delay: 2.0s;
}

.hero-motto .motto-line:nth-child(3) .motto-word:nth-child(2) {
    animation-delay: 2.2s;
}

@keyframes mottoFadeIn {
    to {
        opacity: 1;
    }
}

@keyframes wordReveal {
    0% {
        opacity: 0;
        transform: translateY(20px) scale(0.8);
        filter: blur(10px);
    }

    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0);
    }
}

/* Hide motto on desktop, show only on mobile */
@media (min-width: 769px) {
    .hero-motto {
        display: none;
    }

  
}

@media (max-width: 768px) {
    .hero-motto {
        top: 10%;
        font-size: clamp(0.9rem, 4vw, 1.2rem);
        letter-spacing: 0.1em;
    }
    .hero-heading{
        display: none;
    }

    .section2 {
        /* background: linear-gradient(180deg, rgba(26, 47, 77, 0.55) 0%, rgba(42, 74, 109, 0.5) 100%); */
        min-height: 100vh !important;
        align-items: flex-end !important;
        padding: 10px;
        padding-bottom: 10vh !important;
        box-sizing: border-box;
    }

    .section2 .content{
        text-align: left !important;
    }
    
    .section3 {
        /* background: linear-gradient(180deg, rgba(42, 74, 109, 0.55) 0%, rgba(26, 58, 93, 0.5) 100%); */
        min-height: 100vh !important;
        align-items: flex-end !important;
        padding: 20px !important;
        padding-bottom: 10vh !important;
    }

    #section4 {
        padding-left: 20px !important;
    }

    .section3 .content{
        text-align: left !important;
    }
}


@media (orientation: landscape) and (max-height: 600px) {
    .section2 {
        justify-content: flex-end !important;
        padding-right: 10% !important;
        
    }

    .section2 .content{
        max-width: 40vw;
    }

    .section2 .section-description b{
        display: inline;
    }


    .hero {
        max-height: calc(100vh - 100px) !important;
    }
    
  }


.section2 {
    justify-content: flex-end;
    padding: 8%;
}




.section3 {
    justify-content: flex-start;
    padding: 6%;
}



#section4 {
    margin-bottom: 0;
    padding-bottom: 0;
    padding: 8%;
}

.content {
    max-width: min(30vw,600px);
    z-index: 200;
    position: relative;
}

.hero .content {
    margin-right: auto;
    text-align: left;
    width: 100%;
}

.section2 .content {
    text-align: right;
    padding: 0px !important;
}

.section3 .content {
    text-align: left !important;
    padding: 0px !important;
}

/* Section 5 - 3D Model Only */
#section5 {
    display: flex;
    justify-content: center;
    align-items: center;
}

.section-title {
    font-size: 35px;
    font-weight: 500;
    line-height: 1.2;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
    position: relative; /* Allow absolute positioning of indicator */
    text-align: left;
}

.section-title strong {
    font-weight: 500;
}

.section-num{
    display: none;
}

/* Live Indicator Overlay - Fixed position over 3D model */
.live-indicator-overlay {
    transition: opacity 0.3s ease, visibility 0s 0.3s;
}

.augmented-indicator-overlay {
    transition: opacity 0.3s ease, visibility 0s 0.3s;
}

/* Show indicator in section2 - instant show, delayed hide */
.live-indicator-overlay.visible {
    opacity: 1;
    visibility: visible;
    transition: opacity 0.3s ease, visibility 0s;
}

/* Live Indicator - Blinking dot for real-time monitoring - BIGGER SIZE */
.live-indicator {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    width: 40px;
    height: 40px;
}

/* Position variants - add these classes to .live-indicator to change position */
.live-indicator.top-left {
    position: absolute;
    top: -30px;
    left: 0;
    margin: 0;
}

.live-indicator.top-right {
    position: absolute;
    top: -30px;
    right: 0;
    margin: 0;
}

.live-indicator.after-text {
    margin-right: 0;
    margin-left: 1rem;
}

.live-indicator.center-above {
    position: absolute;
    top: -40px;
    left: 50%;
    transform: translateX(-50%);
    margin: 0;
}

/* Manual positioning - adjust these values in the style attribute */
.live-indicator.custom-position {
    position: absolute;
    /* Use inline style to set: top, left, right, bottom */
}

.live-dot {
    position: absolute;
    width: 15px;
    height: 15px;
    background: #ffffff;
    border-radius: 50%;
    z-index: 2;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.6);
}

/* Animated waves emanating from the dot - perfect circles */
.live-wave {
    position: absolute;
    left: 50%;
    top: 50%;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    z-index: 0;
    opacity: 0;
    animation: liveWave 1.5s ease-out infinite;
}

.live-wave-1 {
    animation-delay: 0s;
}

.live-wave-2 {
    animation-delay: 2s;
}

@keyframes liveWave {
    0% {
        opacity: 0;
        width: 30px;
        height: 30px;
        top: 50%;
        left: 50%;
        margin-top: -15px;
        margin-left: -15px;
    }
    5% {
        opacity: 1;
    }
    95% {
        opacity: 0;
    }
    100% {
        opacity: 0;
        width: 100px;
        height: 100px;
        top: 50%;
        left: 50%;
        margin-top: -50px;
        margin-left: -50px;
    }
}

/* Adjust indicator size on mobile */
@media (max-width: 768px) {
    .live-indicator {
        width: 32px;
        height: 32px;
    }

    .live-dot {
        width: 10px;
        height: 10px;
        border-radius: 50%;
    }

    @keyframes liveWave {
        0% {
            opacity: 0;
            width: 25px;
            height: 25px;
            margin-top: -12.5px;
            margin-left: -12.5px;
        }
        10% {
            opacity: 1;
        }
        100% {
            opacity: 0;
            width: 120px;
            height: 120px;
            margin-top: -60px;
            margin-left: -60px;
        }
    }
}

.hero-title {
    font-weight: 700;
    letter-spacing: 0.008em;
    font-size: clamp(0.9rem, 1.8vw, 1.5rem);
    display: none;
}

.hero-title .hero-line {
    display: block;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.09em;
    margin-bottom: 0.3rem;
}

.hero-description {
    font-weight: 500;
    letter-spacing: 0.045em;
    text-transform: uppercase;
    font-size: clamp(0.6rem, 1.2vw, 0.75rem);
    margin-top: 700px;
    display: none;
}

.section-description {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    font-weight: 400;
    text-align: left;
}

.section-description b{
    display: block;
    font-weight: 400;
}


.scroll-to-see{
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translate(-50%,0%);
    font-size: 20px;
    font-weight: 400;  
    opacity: 0;  
    transition: opacity 1s;
}

/* Features Section */
.features-section {
    /* Use the blue gradient colors from the design - increased luminosity */
    background: linear-gradient(135deg, #001a33 0%, #003d66 100%);
    min-height: 100vh;
    padding: 8rem 5%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 4rem;
    max-width: 1400px;
    margin: 0 auto;
}

.feature-item {
    text-align: center;
    padding: 0;
    border-bottom: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.feature-icon {
    height: 36px;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.feature-icon-img.specs{
    height: 75%;
}

.feature-content{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    align-self: flex-end;
    width: 100%;
}

.feature-title {
    font-size: 1.8rem;
    font-weight: 300;
    margin-bottom: 1rem;
}

.feature-desc {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    font-size: 0.95rem;
}

.view-all-btn {
    display: inline-block;
    margin: 4rem auto 0;
    padding: 1rem 3rem;
    background: #e85a28;
    color: #fff;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: transform 0.3s, box-shadow 0.3s;
}

.view-all-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(232, 90, 40, 0.4);
}

/* Image Carousel - scrolls above video with changing images */
.image-carousel-section {
    position: relative;
    /* Extended height for slower, more controlled scroll-based transitions */
    z-index: 2;
    width: 100%;
    margin: 0;
    padding: 0;
    margin-top: -200vh;
    filter: blur(10px);

    /* Connect with previous section - images appear while text is still visible */
}

/* Hide carousel images initially until 3D zoom completes */






.carousel-image {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%);
    width: 90vw;
    max-width: 800px;
    height: auto;
    max-height: 60vh;
    object-fit: contain;
    opacity: 0;
    pointer-events: none;
    z-index: 2;
}





.image-carousel-content{
    position: absolute;
    left: 0px;
    top: 0px;
    width: 100vw;
    height: 100vh;
}



/* Text Overlays for Variants */
.variant-text-overlay {
    position: absolute;
    opacity: 0;
    /* transition: opacity 0.2s ease-in-out; */
    pointer-events: none;
    z-index: 15;
}


.variant-text-overlay.active {
    opacity: 1;
}

/* Hide overlays until zoom completes */
.variant-text-overlay.zoom-complete {
    opacity: 0;
}

.variant-text-overlay.zoom-complete.active {
    opacity: 1 !important;
}

/* Variant 1: Dive Computer Data - Left Side */
.variant-text-overlay[data-index="1"] {
    left: 50%;
    top: 50%;
    transform: translateX(calc(-100% + max(-550px,-30vw))) translateY(max(-80px, -10vh));
    max-width: 350px;
}

/* Variant 2: Compass - Top Above Image */
.variant-text-overlay[data-index="2"] {
    left: 50%;
    top: 50%;
    transform: translateX(calc(-100% + max(-500px,-30vw))) translateY(max(-180px, -20vh));
    max-width: 500px;
    text-align: left;
}

/* Variant 3: Buoyancy feedback - Positioned on the right side */
.variant-text-overlay[data-index="3"] {
    left: 50%;
    top: 50%;
    transform:  translateX(calc(-100% + max(-550px,-35vw))) translateY(max(-80px, -10vh));
    max-width: 350px;
    text-align: left;
}

/* Variant 4: Heart Rate & SpO2 - Bottom Left */
.variant-text-overlay[data-index="4"] {
    left: 50%;
    top: 50%;
    transform:  translateX(calc(-100% + max(-550px,-30vw))) translateY(max(80px, 10vh));
    max-width: 300px;
    text-align: left;
}

/* Variant 5: Equalization - Bottom Right */
.variant-text-overlay[data-index="5"] {
    left: 50%;
    top: 50%;
    transform:  translateX(calc(-100% + max(-500px,-30vw))) ;
    max-width: 350px;
    text-align: left;
}

@media (max-width:1550px) {
    .carousel-image {
        width: 55vw;
        max-width: 700px;
        height: auto;
        max-height: 50vh;
    }

  

    .variant-title{
        font-size: 25px !important;
    }

}

@media (max-width:1500px) {

.section-description b{
    display: inline;
    font-weight: 400;
}
}

/* Connecting text after screen appearance */
.connecting-text {
    position: absolute;
    top: 15%;
    left: 50%;
    transform: translateX(-50%);
    font-size: clamp(1rem, 2vw, 1.5rem);
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.9);
    text-align: center;
    z-index: 20;
    opacity: 0 !important;
    transition: opacity 0.6s ease-in-out;
}

.connecting-text.active {
    opacity: 0 !important;
}

/* Only show connecting text after zoom completes */
.connecting-text.zoom-complete.active {
    opacity: 1 !important;
}

/* Light beam effect from mask lens */
.light-beam {
    position: fixed;
    top: 50%;
    left: 50%;
    width: 300px;
    height: 400px;
    transform: translate(-50%, -50%) perspective(1000px) rotateX(-10deg);
    pointer-events: none;
    z-index: 99;
    opacity: 0;
    transition: opacity 0.8s ease;
}

.light-beam.active {
    opacity: 0.6;
}

.light-beam::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    width: 2px;
    height: 100%;
    background: linear-gradient(to bottom,
            rgba(100, 200, 255, 0.8) 0%,
            rgba(100, 200, 255, 0.4) 50%,
            rgba(100, 200, 255, 0) 100%);
    box-shadow: 0 0 20px rgba(100, 200, 255, 0.6),
        0 0 40px rgba(100, 200, 255, 0.4);
    animation: beamPulse 2s ease-in-out infinite;
    transform: translateX(-50%);
}

.light-beam::after {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    width: 80px;
    height: 100%;
    background: linear-gradient(to bottom,
            rgba(100, 200, 255, 0.2) 0%,
            rgba(100, 200, 255, 0.1) 50%,
            transparent 100%);
    filter: blur(20px);
    transform: translateX(-50%);
    animation: beamGlow 3s ease-in-out infinite;
}

@keyframes beamPulse {

    0%,
    100% {
        opacity: 0.8;
    }

    50% {
        opacity: 1;
    }
}

@keyframes beamGlow {

    0%,
    100% {
        width: 80px;
        opacity: 0.3;
    }

    50% {
        width: 100px;
        opacity: 0.5;
    }
}

@media (max-width: 768px) {
    .light-beam {
        width: 200px;
        height: 300px;
    }
}



.variant-title {
    font-size: 32px;
    font-weight: 400;
    color: #ffffff;
    margin-bottom: 0.5rem;
    line-height: 1.2;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}



.variant-description {
    font-size: clamp(0.9rem, 1.8vw, 1.1rem);
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.5;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.5);
}

/* Video Section Container - sticky and full width */
.video-section-container {
    position: sticky;
    top: 0;
    height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #000;
    z-index: 5;
    overflow: hidden;
    margin-top: -30vh;
}

.product-video-wrapper {
    width: 100%;
    height: 100%;
    position: relative;
}

.product-video-wrapper video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: #000;
    display: block;
}

/* Features Section - scrolls up over sticky video */
.features-section {
    position: relative;
    z-index: 10;
    background: rgba(0, 4, 53, 0.9);
    backdrop-filter: blur(20px);
    margin-top: 50vh;
    padding: 6rem 5% 4rem;
    /* border-radius: 30px 30px 0 0; */
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.5);
    min-height: 100vh;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.8s ease;
}

.features-section.visible {
    opacity: 1;
    pointer-events: auto;
}

/* App Section */
.app-section {
    background: #020326;
    height: fit-content;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 20;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.8s ease;
}

.app-section.visible {
    opacity: 1;
    pointer-events: auto;
}

/* Ensure same background for stories section */
.stories-section {
    background: #020326 !important;
    padding: 6rem 5%;
    position: relative;
    z-index: 20;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.8s ease;
}

/* ── STORIES SECTION TOGGLE ── To show: remove the next rule ── */
.stories-section.visible {
    display: none !important;
}
/* ── END TOGGLE ── Original rule below (restore when needed):
.stories-section.visible {
    opacity: 1;
    pointer-events: auto;
}
── */

.app-section #canvas3d {
    display: none !important;
    visibility: hidden !important;
}

/* Use CSS Grid for predictable two-column layout (text | mock) */
.app-content {
    display: flex;
    width: 100%;
    justify-content: space-between;
    align-items: stretch;
}

.app-left{
    display: flex;
    flex-direction: column;
    justify-content: space-around;
}

/* App text: left-aligned on desktop, but mobile rules below will center it */
.app-text {
    text-align: left;
    max-width: 560px;
}

.app-text h2 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 2rem;
}

.app-text p{
    font-size: clamp(0.9rem, 3.5vw, 1.1rem);
    line-height: 1.4;
    margin-bottom: 2rem;
    font-weight: 400;
}

.app-text p b{
    font-weight: 400;
}

.app-buttons {
    display: flex;
    gap: 1.5rem;
    position: relative;
    z-index: 10;
}
.mobile-btn{
    display: none !important;
}

/* QR codes row — desktop only */
.app-qr-row {
    display: flex;
    flex-direction: row;
    gap: 1.25rem;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 10;
}
.app-qr-row a {
    display: block;
    text-decoration: none;
}
.app-qr-img {
    width: 140px;
    height: auto;
    display: block;
}

/* Desktop: hide mobile-only elements */
.app-viewmore-mobile {
    display: none !important;
}

/* Store buttons — mobile only */
.app-store-btns {
    display: none;
    flex-direction: row;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
    position: relative;
    z-index: 10;
}
.app-store-btn {
    padding: 0.6rem 1.2rem;
    border-radius: 100px;
    background-color: #ffffff;
    color: #1E1E1E;
    border: 1.5px solid rgba(255,255,255,0.6);
    font-weight: 500;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    transition: background 0.3s;
    flex: 1;
    justify-content: center;
}
.app-store-btn:hover {
    background-color: #f0f0f0;
    color: #1E1E1E;
    text-decoration: none;
}
.app-store-btn svg {
    fill: #1E1E1E;
    flex-shrink: 0;
}

/* View More button */
.app-viewmore-btn {
    display: inline-block;
    padding: 0.75rem 2.5rem;
    border-radius: 100px;
    background-color: #f15b24;
    font-weight: 500;
    font-size: 16px;
    color: #FFFFFF;
    text-decoration: none;
    text-align: center;
    transition: background 0.3s;
    position: relative;
    z-index: 10;
}
.app-viewmore-btn:hover {
    background-color: #e85a28;
    color: #FFFFFF;
    text-decoration: none;
}
/* Desktop View More: match QR row width (2x 140px + 1.25rem gap) */
.app-viewmore-desktop {
    width: calc(280px + 1.25rem);
    box-sizing: border-box;
    padding-left: 0;
    padding-right: 0;
}

.btn-primary {
    padding: 1rem 2.5rem;
    background: #e85a28;
    color: #fff;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(232, 90, 40, 0.4);
}

.btn-secondary {
    padding: 1rem 2.5rem;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
}

.app-phones {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 780px;
    width: 100%;
    padding-right: 3%;
    max-width: 800px;
}

/* Inline mock image for reliable responsive sizing */
.app-mock-image {
    width: 90%;
    height: auto;
    display: block;
    pointer-events: none;
    user-select: none;
}

/* Stories Section */
.stories-section {
    padding: 6rem 5%;
    position: relative;
    z-index: 20;
}

.stories-container {
    max-width: 1600px;
    margin: 0 auto;
}

.stories-header {
    text-align: center;
    margin-bottom: 3rem;
}

.stories-title {
    font-size: 38px;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.stories-title b{
    font-weight: 700;
    color: #E85A28;
}

.stories-subtitle {
    font-size: clamp(1rem, 1.4vw, 1.1rem);
    color: rgba(255, 255, 255, 0.85);
    font-weight: 400;
    letter-spacing: 0.02em;
    line-height: 1.5;
    max-width: 700px;
    margin: 0 auto;
}

.stories-subtitle b{
    display: block;
    font-weight: 400;
}

.stories-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.7rem;
}

.arrow-indicator{
    display: none;
}

.arrow-indicator-left{
    display: none;
}

.story-card {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    transition: 0.3s all ease;
    aspect-ratio: 3/4;
    outline: 2px solid rgba(255,255,255,0.1);
}

@media (min-width:768px) {
    .story-card:hover {
        transform: translateY(-10px) scale(1.02);
        box-shadow: 0 10px 70px rgba(234, 71, 11, 0.4);
        outline: 2px solid rgba(239, 125, 84, 0.6);
    }
    .story-card:hover .story-image {
        transform: scale(1.05);
    }
    
    .story-card:hover .client-info{
        transform: translateY(0px);
    }
    .story-card:hover .story-overlay {
        background: linear-gradient(180deg, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.8) 100%);
    }
    .story-card:hover .play-button {
        transform: scale(1.5);
    }
}




.story-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}





.client-info{
    position: absolute;
    left: 0px;
    bottom: 0px;
    width: 100%;
    height: fit-content;
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 5px;
    transform: translateY(100px);
    transition: 0.3s all;
}




.client-name{
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    text-align: left;
}

.client-location{
    font-size: 13px;
    font-weight: 400;
    color: #d5d5d5;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 2px;
}

.client-stars{
    display: flex;
    flex-direction: row;
    gap: 2px;
}

.client-stars img{
    width: 20px;
}

.client-location img{
    width: 12px;
}

.story-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.5) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}



.play-button {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    /* background: rgba(255, 255, 255, 0.9); */
    border-radius: 50%;
    transition: all 0.3s ease;
    /* box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3); */
}

/* removed empty ruleset for .story-card:hover .play-button to satisfy linter */

.play-button img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    margin-left: 4px;
    filter: drop-shadow(5px 5px 10px rgba(234, 71, 11, 0.7));
}

.phone-mockup {
    width: 200px;
    height: 420px;
    background: linear-gradient(135deg, #1a2850 0%, #0f1a35 100%);
    border-radius: 40px;
    border: 8px solid #000;
    padding: 1rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, #1a2f5d 0%, #0f1a35 100%);
    border-radius: 32px;
    padding: 1.5rem;
    color: #fff;
    font-size: 0.75rem;
}

/* CTA Section - SEA BEYOND with DivePro image as full background */
.cta-section {
    /* Use DivePro_EnFace.png as the full background for this section */
    background: #020326 !important;
    height: 749px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0;
    position: relative;
    overflow: hidden;
    z-index: 6;
}

.background-image-cta{
    background-image: url('/divepro_main_page/static/src/img/mask_enface.jpg');
    background-size: 100%;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: scroll;
    position: absolute;
    left: 0px;
    top: 0px;
    width: 100%;
    height: 100%;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.cta-content {
    position: relative;
    z-index: 10;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

#cta-canvas3d {
    display: none;
    /* 3D canvas disabled - using static image instead */
}

.cta-text-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 20;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
}

.cta-content h2 {
    font-size: clamp(3rem, 7vw, 6rem);
    font-weight: 700;
    margin: 0;
    letter-spacing: -0.02em;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.cta-btn {
    padding: 0.75rem 1.5rem;
    background:#e85a28;    color: #ffffff;
    text-decoration: none;
    border-radius: 30px;
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    backdrop-filter: blur(10px);
}

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

/* Footer */
footer {
    background: #fff;
    color: #1a1a1a;
    padding: 0;
    position: relative;
    z-index: 100;
}

/* Hide 3D canvas in footer area */
footer~#canvas3d,
footer+#canvas3d {
    display: none !important;
}

.footer-content {
    width: 100%;
    display: grid;
    grid-template-columns: 1.7fr 1.5fr 1fr;
    gap: 10rem;
    margin-bottom: 4rem;
    align-items: start;
}

.footer-brand {
    justify-self: start;
    text-align: left;
    grid-column: 1;

}

.footer-section:nth-child(2) {
    justify-self: center;
    text-align: left;
    grid-column: 2;
}

.footer-section:nth-child(3) {
    justify-self: end;
    text-align: right;
    grid-column: 3;
}

.footer-brand h3 {
    font-size: 32px;
    font-weight: 600;
    margin-bottom: 4rem;
    color: #002C4F;
    line-height: 1.2;
    max-width: 400px;
}

.social-links {
    display: flex;
    gap: 1.5rem;
}

.social-link {
    width: 80px;
    height: 80px;
    border: 1px solid #ff6b35;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s;
    overflow: hidden;
}

.social-link img {
    width: 20px;
    height: 20px;
    object-fit: contain;
    transition: all 0.3s;
}

.social-link:hover {
    background: #ff6b35;
    transform: translateY(-2px);
}

.social-link:hover img{
    filter: brightness(10);
}

.sec-1{
    grid-column: 2;
    justify-self: start !important;
}

.sec-2{
    grid-column: 3;
    justify-self: start !important;
}

.footer-section h4 {
    font-size: 14px;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    color: #002C4F;
    font-weight: 400;
    display: flex;
    align-items: center;
    gap: 15px;
    text-align: left;
}

.footer-section h4::before {
    content: '';
    width: 11px;
    height: 11px;
    background-color: #F15B24;
    display: block;
    margin-bottom: 5px;
}

.footer-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-section ul li {
    margin-bottom: 0.8rem;
}

.footer-section:nth-child(2) ul {
    text-align: left;
}

.footer-section:nth-child(3) ul {
    text-align: left;
}

.footer-section a {
    color: #002C4F;
    text-decoration: none;
    transition: color 0.3s;
    font-size: 16px;
    font-weight: 400;
}

.footer-section a:hover {
    color: #ff6b35;
}

.footer-bottom {
    padding-top: 100px;
    padding-bottom: 100px;
    margin-top: 2.5rem;
    flex-wrap: wrap;
    gap: 2rem;
    font-size: 16px;
    font-weight: 400;
    color: #002C4F;
    border-top: 1px solid #DAE5E2;
}

.footer-contact {
    display: grid;
    grid-template-columns: 1.7fr 1.5fr 1fr;
    gap: 8rem;
    width: 100%;
    align-items: center;
}

.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-contact-left {
    justify-self: start;
    text-align: left;
    grid-column: 1;
    min-width: 370px;
}

.footer-contact-center {
    justify-self: left !important;
    text-align: left;
    grid-column: 2;
    white-space: nowrap;
}

.footer-contact-right {
    justify-self: left !important;
    text-align: left;
    grid-column: 3;
    white-space: nowrap;
}

.footer-legal {
    display: flex;
    gap: 2rem;
    justify-self: left !important;
}

.footer-legal a {
    color: #0a1628;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.05em;
    transition: color 0.3s;
}

.footer-legal a:hover {
    color: #ff6b35;
}

.footer-copyright {
    text-align: left;
    margin-top: 2rem;
    font-size: 0.75rem;
    color: #0a1628;
}

.qr-icon {
    width: 120px;
    height: 120px;
    margin-bottom: 1rem;
    object-fit: contain;
}

.footer-designer {
    text-align: right;
    font-size: 0.75rem;
    color: #0a1628;
}

.footer-legal-section {
    display: grid;
    grid-template-columns: 1.7fr 1.5fr 1fr;
    gap: 8rem;
    width: 100%;
    padding-top: 1.5rem;
    border-top: 1px solid #DAE5E2;
    align-items: center;
}

.footer-legal-links {
    display: flex;
    gap: 2rem;
    font-size: 0.75rem;
    grid-column: 1;
    justify-self: start;
    min-width: 370px;
}

.footer-legal-links a {
    color: #002C4F;
    text-decoration: none;
    text-transform: uppercase;
    transition: color 0.3s;
    font-weight: 400;
    font-size: 14px;
}

.footer-legal-links a:hover {
    color: #ff6b35;
}

.footer-copyright-center {
    grid-column: 2;
    justify-self: left;
    text-align: left;
    text-transform: uppercase;
    font-weight: 400;
    font-size: 14px;
    color: #002C4F;
}

.footer-designer-right {
    grid-column: 3;
    justify-self: left;
    text-align: left;
    text-transform: uppercase;
    font-weight: 400;
    font-size: 14px;
    color: #002C4F;
}

/* Loading Spinner */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    transition: opacity 0.5s ease-out;
}

.loading-overlay.fade-out {
    opacity: 0;
    pointer-events: none;
}

.loading-container {
    position: relative;
    width: 280px;
    height: 280px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.loading-circle {
    position: absolute;
    width: 280px;
    height: 280px;
    border: 4px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    border-top: 4px solid #ffffff;
    animation: spin 2s linear infinite;
}

.loading-logo {
    width: 100px;
    height: 100px;
    z-index: 2;
    position: relative;
    margin-bottom: 1rem;
}

.loading-percentage {
    position: relative;
    color: #ffffff;
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    z-index: 2;
}

.loading-text {
    margin-top: 2rem;
    color: #ffffff;
    font-size: 1.1rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    font-weight: 600;
    text-align: center;
    line-height: 1.4;
}

.loading-subtitle {
    margin-top: 0.3rem;
    color: rgba(255, 255, 255, 0.7);
    font-size: 18px;
    letter-spacing: 0.05em;
    text-transform: none;
    font-weight: 300;
    text-align: center;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Starfield */
.stars {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.star {
    position: absolute;
    border-radius: 50%;
    animation: bubbleFloat 15s infinite ease-in-out, bubbleShimmer 3s infinite ease-in-out, bubbleWobble 4s infinite ease-in-out;
    /* Realistic water bubble with bright highlight and soft edges */
    background: radial-gradient(circle at 35% 25%,
            rgba(255, 255, 255, 0.95) 0%,
            rgba(255, 255, 255, 0.7) 8%,
            rgba(200, 230, 255, 0.35) 25%,
            rgba(150, 200, 240, 0.15) 50%,
            rgba(100, 170, 220, 0.05) 75%,
            transparent 100%);
    box-shadow:
        inset -1px -1px 3px rgba(255, 255, 255, 0.6),
        inset 1px 1px 2px rgba(0, 40, 80, 0.2),
        0 0 4px rgba(150, 200, 255, 0.4),
        0 0 8px rgba(100, 180, 240, 0.2);
    /* Soft blur for realistic underwater look */
    filter: blur(0.8px);
    /* Very subtle border */
    border: 0.3px solid rgba(255, 255, 255, 0.15);
}

@keyframes bubbleFloat {
    0% {
        transform: translateY(0) translateX(0) scale(1) rotate(0deg);
        opacity: 0;
    }

    3% {
        opacity: 0.4;
    }

    15% {
        transform: translateY(-15vh) translateX(8px) scale(1.02) rotate(15deg);
        opacity: 0.6;
    }

    35% {
        transform: translateY(-35vh) translateX(-12px) scale(1.08) rotate(-10deg);
        opacity: 0.75;
    }

    55% {
        transform: translateY(-55vh) translateX(18px) scale(1.12) rotate(25deg);
        opacity: 0.8;
    }

    75% {
        transform: translateY(-75vh) translateX(-8px) scale(1.18) rotate(-15deg);
        opacity: 0.65;
    }

    90% {
        transform: translateY(-90vh) translateX(5px) scale(1.22) rotate(10deg);
        opacity: 0.3;
    }

    100% {
        transform: translateY(-105vh) translateX(-3px) scale(1.25) rotate(0deg);
        opacity: 0;
    }
}

/* Add subtle shimmer effect to bubbles */
@keyframes bubbleShimmer {
    0%, 100% {
        box-shadow:
            inset -1px -1px 3px rgba(255, 255, 255, 0.6),
            inset 1px 1px 2px rgba(0, 40, 80, 0.2),
            0 0 4px rgba(150, 200, 255, 0.4),
            0 0 8px rgba(100, 180, 240, 0.2);
    }

    50% {
        box-shadow:
            inset -2px -2px 5px rgba(255, 255, 255, 0.8),
            inset 2px 2px 3px rgba(0, 40, 80, 0.3),
            0 0 6px rgba(180, 220, 255, 0.5),
            0 0 12px rgba(120, 190, 250, 0.3);
    }
}

/* Ocean depth overlay - darkens as you scroll */
.ocean-depth-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 20, 40, 0) 0%, rgba(0, 10, 20, 0.7) 100%);
    pointer-events: none;
    z-index: 1;
    opacity: 0;
    transition: opacity 0.3s ease;
}





/* Responsive - Enhanced for better tablet and mobile experience */
@media (max-width: 1024px) {
    body {
        font-size: 16px;
    }

    .section-title {
        font-size: 20px;
        margin-bottom: 1.5rem;
        font-weight: 400;
    }

    .section-title strong{
        font-weight: 600;
    }

    .hero-subtitle{
        font-size: 16px;
        margin-top: 10px;
    }

    .hero-subtitle b{
        font-weight: 600;
    }

    .section-description {
        font-size: 1rem;
        line-height: 1.5;
    }

   

    .section2 {
        /* background: linear-gradient(180deg, rgba(26, 47, 77, 0.55) 0%, rgba(42, 74, 109, 0.5) 100%); */
        min-height: 100vh !important;
        align-items: flex-end !important;
        padding: 20px;
        justify-content: flex-start;
    }

    .section2 .content{
        text-align: left !important;
    }
    
    .section3 {
        /* background: linear-gradient(180deg, rgba(42, 74, 109, 0.55) 0%, rgba(26, 58, 93, 0.5) 100%); */
        min-height: 100vh !important;
        align-items: flex-end !important;
        padding: 20px;
        justify-content: flex-start;
    }

    .section3 .content{
        text-align: left !important;
    }

    .scroll-to-see{
        font-size: 16px;
    }
    

    nav {
        padding: 1.2rem 4%;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        background: transparent;
    }

    .nav-links {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
    }

      .app-content {
        flex-direction: column;
        gap: 20px;
        justify-content: center;
        align-items: center;
    }
    .app-text h2{
        text-align: left;
    }
    .app-buttons{
        display: flex;
        justify-content: center;
        align-items: center;
    }
    .app-left{
        gap: 20px;
        width: 90%;
        order: 1;
    }
    .app-text {
        order: 1;
    }
    .app-phones{
        width: 90%;
        display: flex;
        flex-direction: column;
        gap: 20px;
        order: 2;
    }
    .app-qr-row {
        order: 3;
    }
    .app-store-btns {
        order: 3;
    }
    .app-viewmore-btn {
        order: 4;
    }

    .mobile-btn{
        display: flex !important;
        width: 100%;
        justify-content: center;
    }

    .content {
        max-width: 85%;
        padding: 0 1.5rem;
    }

    section {
        padding: 2rem 4%;
        min-height: 85vh;
    }

    .hero {
        padding-top: 90px;
    }

     .app-buttons{
        display: none;
    }
    .app-qr-row {
        display: none !important;
    }
    .app-viewmore-desktop {
        display: none !important;
    }
    .app-store-btns {
        display: flex !important;
        flex-direction: row;
        width: 90%;
        margin: 0 auto;
    }
    .app-viewmore-mobile {
        display: block !important;
        width: 90%;
        margin: 0 auto;
        text-align: center;
        box-sizing: border-box;
    }
    .app-phones {
        min-height: 480px;
        justify-content: center;
    }

    .app-mock-image {
        height: 88%;
        max-height: 650px;
    }

    .app-text {
        text-align: center;
        padding: 0px;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2.5rem;
    }

    .stories-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
    }



    .footer-content {
        display: flex;
        flex-direction: column;
        gap: 30px;
        margin-bottom: 0px !important;
    }

    .footer-section:nth-child(2),
    .footer-section:nth-child(3) {
        justify-self: start;
        text-align: left;
    }

    .footer-bottom{
        padding-top: 20px;
        padding-bottom: 20px;
        margin-top: 0px !important;
    }

    .footer-contact {
        display: flex;
        flex-direction: column;
        gap: 20px;
        justify-content: flex-start;
        align-items: flex-start;
    }

    .footer-contact-item{
        min-width: unset !important;
    }


    .footer-legal-section {
        display: flex;
        flex-direction: column;
        gap: 20px;
        justify-content: flex-start;
        align-items: flex-start;
    }

    .footer-legal-links {
        justify-self: center;
        justify-content: flex-start;
        flex-wrap: wrap;
        gap: 1rem;
    }

    .footer-copyright-center {
        justify-self: center;
    }

    .footer-designer-right {
        justify-self: center;
        text-align: center;
    }

    /* Optimize 3D canvas for tablets */
    #canvas3d {
        will-change: transform;
    }

    .cta-section {
        height: 600px;
    }

    #cta-canvas3d {
        display: none;
        /* Hidden on tablet */
    }
}




@media (max-width:550px) {
    .variant-text-overlay[data-index="1"] {
        width: fit-content;
        left: 50%;
        transform: translate(-50%, 160px);
        text-align: center;
    }

    .variant-text-overlay[data-index="2"] {
        width: fit-content;
        left: 50%;
        transform: translate(-50%, -200px);
        text-align: center;
    }

    .variant-text-overlay[data-index="3"] {
        width: fit-content;
        left: 50%;
        transform: translate(-50%, 160px);
        text-align: center;
    }

    .variant-text-overlay[data-index="4"] {
        width: fit-content;
        left: 50%;
        transform: translate(-50%, -200px);
        text-align: center;
    }

    .variant-text-overlay[data-index="5"] {
        width: fit-content;
        left: 50%;
        transform: translate(-50%, 160px);
        text-align: center;
    }
}

@media (min-width:550px) and (max-width:1024px) {
    .variant-title {
        font-size: 18px;
    }

    .variant-text-overlay[data-index="1"] {
        width: fit-content;
        left: 50%;
        transform: translate(-50%, 20vh);
        text-align: center;
    }

    .variant-text-overlay[data-index="2"] {
        width: fit-content;
        left: 50%;
        transform: translate(-50%, -20vh);
        text-align: center;
    }

    .variant-text-overlay[data-index="3"] {
        width: fit-content;
        left: 50%;
        transform: translate(-50%, 20vh);
        text-align: center;
    }

    .variant-text-overlay[data-index="4"] {
        width: fit-content;
        left: 50%;
        transform: translate(-50%, -30vh);
        text-align: center;
    }

    .variant-text-overlay[data-index="5"] {
        width: fit-content;
        left: 50%;
        transform: translate(-50%, 20vh);
        text-align: center;
    }
}

@media (max-width: 768px) {
    nav {
        padding: 1rem 4%;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        background: transparent;
    }

    .nav-left {
        gap: 1rem;
        flex: 1;
        justify-content: flex-start;
    }

    .nav-right {
        gap: 0.5rem;
    }

    .nav-links {
        display: none;
    }

    .nav-icons {
        display: none;
    }

    .preorder-btn {
        display: none;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 0;
        padding: 0;
        max-width: 100%;
    }

    .feature-item {
        text-align: left;
        padding: 2rem 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.15);
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .feature-item:last-child {
        border-bottom: none;
    }

    

    .feature-icon {
        margin: 0 0 1rem 0;
        width: 36px;
        height: auto;
    }

    .feature-icon-img.specs{
        height: 100%;
    }

    .feature-content{
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-end;
        align-self: flex-end;
        width: 100%;
    }

    .feature-title {
        font-size: 28px;
        font-weight: 450;
    }

    .feature-desc {
        font-size: 18px;
        line-height: 1.5;
        color: #EDEEF2;
    }

    .mobile-menu-toggle {
        width: 36px;
        height: 36px;
    }


    .app-section {
        padding: 3rem 5%;
        min-height: auto;
    }

    .app-content {
       flex-direction: column;
    }

    .app-text {
        grid-column: 1;
        grid-row: 1;
        text-align: left;
        padding: 0;
        max-width: 100%;
    }

    .app-text h2 {
        font-size: clamp(1.6rem, 6vw, 2.2rem);
        line-height: 1.2;
        margin-bottom: 1.5rem;
        letter-spacing: -0.02em;
        text-align: left;
    }

    .app-text p {
        margin-top: 25px;
    }

    .qr-icon {
        display: none;
    }

    .app-content{
        gap: 10px;
    }

    .app-left{
        gap: 20px;
        width: 100%;
    }

    .app-phones{
        width: 100%;
    }

    .app-phones {
        grid-column: 1;
        grid-row: 2;
        min-height: auto;
        height: auto;
        justify-content: center;
        padding: 2rem 0;
    }

    .app-mock-image {
        width: 100%;
        height: auto;
        max-height: none;
        max-width: 500px;
    }

    .app-buttons {
        grid-column: 1;
        grid-row: 3;
        flex-direction: column;
        gap: 1rem;
        margin-top: 0;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
        justify-content: center;
        padding: 1.1rem 2rem;
        font-size: 1rem;
    }

    .hero {
        padding-top: 70px;
        max-height: calc(100vh);
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding-top: 50px;
        padding: 0px !important;
    }

    .hero-3d-container {
        display: block;
        width: 100%;
        height: 65vh;
        margin-bottom: 1rem;
        position: relative;
        z-index: 5;
    }

    #canvas3d {
        position: fixed;
        top: 0px;
        left: 0;
        z-index: 1;
        pointer-events: none;
    
    }

    /* Ensure canvas element itself doesn't stretch */
    /* #canvas3d canvas {
        width: 100% !important;
        height: 100% !important;
        object-fit: contain;
    } */

 

    .hero .content {
        margin: 0;
        margin-top: 1rem;
        text-align: left;
        max-width: 90%;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-end;
        position: relative;
        z-index: 10;
    }

    .hero-title {
        display: block;
        font-size: clamp(1.4rem, 6vw, 2rem) !important;
        line-height: 1.15;
        margin-bottom: 0.8rem;
        font-weight: 300;
        text-align: left;
    }

    .hero-title strong {
        font-weight: 600;
        display: block;
        margin: 0;
    }

    .hero-description {
        display: block;
        margin-top: 0.8rem;
        font-size: clamp(0.85rem, 3.5vw, 1rem) !important;
        text-transform: none;
        font-weight: 400;
        line-height: 1.5;
        max-width: 100%;
        text-align: left;
    }

    .hero-cta-btn {
        display: inline-flex;
        margin-top: 1.5rem;
        align-self: stretch;
        width: 100%;
        justify-content: center;
    }

    section {
        min-height: 80vh;
        padding: 1.5rem 3%;
    }

    .content {
        padding: 0 0.5rem;
        max-width: 92%;
    }

    .section-description {
        font-size: 1rem;
        line-height: 1.5;
    }

    .hero-description {
        margin-top: 1.5rem;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1.5rem;
    }

    .cta-section {
        height: 450px;
    }

    .background-image-cta{
        background-size: 140%;
    }

    #cta-canvas3d {
        display: none;
        /* Hidden on mobile landscape */
    }

    .cta-content h2 {
        font-size: clamp(2rem, 8vw, 2.8rem);
    }

    .cta-text-overlay {
        gap: 1.2rem;
    }

    .stories-section {
        padding: 3rem 0;
        text-align: center;
        overflow: hidden;
    }

    .stories-header {
        margin-bottom: 2rem;
        padding: 0 5%;
    }

    .stories-container {
        overflow: hidden;
    }

    .stories-grid {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scroll-snap-stop: always;
        gap: 1rem;
        padding: 0 5%;
        width: 100%;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
        position: relative;
    }

    .arrow-indicator{
        position: absolute;
        left: 85%;
        display: block;
        z-index: 5;
        top: 57.5%;
        opacity: 0.6;
    }


    .arrow-indicator-left{
        position: absolute;
        left: 15%;
        display: block;
        z-index: 5;
        top: 57.5%;
        transform: rotate(180deg) translateX(100%);
        opacity: 0.6;
    }

    .arrow-indicator img{
        width: 50px;
    }

    .arrow-indicator-left img{
        width: 50px;
    }

    .client-info{
        transform: translateY(0px);
    }

    .stor

    .stories-grid::-webkit-scrollbar {
        display: none;
    }

    .stories-title {
        font-size: clamp(1.6rem, 6vw, 2.2rem);
        line-height: 1.2;
        margin-bottom: 1.5rem;
    }

    .stories-subtitle {
        font-size:18px;
        line-height: 1.4;
        margin-bottom: 2rem;
    }

    .stories-subtitle b{
        display: inline;
    }

    .story-card {
        flex: 0 0 calc(80vw - 2rem);
        max-width: 280px;
        aspect-ratio: 9/16;
        border-radius: 12px;
        min-height: auto;
        height: 60vh;
        max-height: 500px;
        scroll-snap-align: center;
    }

    .play-button {
        width: 60px;
        height: 60px;
    }

    .play-button img {
        width: 60px;
        height: 60px;
    }

    .btn-primary,
    .btn-secondary {
        padding: 0.9rem 2rem;
        font-size: 0.9rem;
        min-height: 48px;
    }

    /* Ensure minimum 44x44px touch targets */
    .nav-icon-circle,
    .mobile-menu-toggle {
        min-width: 44px;
        min-height: 44px;
    }

    .app-buttons {
        gap: 1rem;
    }

    /* Better mobile video handling */
    .product-video-wrapper video {
        object-fit: cover;
        height: 100vh;
    }

    /* Mobile-optimized image carousel */
    .carousel-image {
        max-width: 90%;
        max-height: 35vh;
    }
}

@media (max-width: 480px) {
    .stories-section {
        padding: 2.5rem 0;
    }

    .stories-header {
        padding: 0 5%;
    }

    .stories-grid {
        padding: 0 5%;
        gap: 0.8rem;
    }

    .story-card {
        flex: 0 0 calc(85vw - 2rem);
        max-width: 250px;
        height: 55vh;
        max-height: 450px;
        border-radius: 16px;
    }

    .stories-title {
        font-size: 30px;
        margin-bottom: 1rem;
    }

    .stories-subtitle {
        font-size:18px;
        margin-bottom: 1.5rem;
    }

    .cta-section {
        height: 450px;
    }

    #cta-canvas3d {
        display: none;
    }

    .qr-icon {
        width: 80px;
        height: 80px;
    }

    nav {
        padding: 25px 20px;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        background: transparent;
    }

    .nav-left {
        gap: 0.875rem;
    }


    .mobile-menu-toggle {
        width: 40px;
        height: 40px;
    }

    section {
        min-height: 80vh;
        padding: 2.5rem 5%;
    }

    .features-section {
        padding: 3rem 5%;
    }

    .section-title {
        font-size: 24px;
        margin-bottom: 1rem;
    }

    .hero-subtitle{
        font-size: 16px;
        margin-top: 10px;
    }

    .hero-subtitle b{
        font-weight: 600;
    }

    .section-description{
        font-size: 20px;
    }

    .section-num{
        display: block;
        margin-bottom: 1rem;
        font-weight: 500;
        color: #F8FAFA80;
        font-size: 18px;
    }

    .section-description b{
        display: inline;
        font-weight: 400;
    }

    .hero-title {
        display: block;
        font-size: clamp(1.5rem, 7.5vw, 2rem) !important;
        text-align: left;
        line-height: 1.2;
        margin-bottom: 0.875rem;
    }

    .hero-description {
        display: block;
        font-size: clamp(0.85rem, 3.8vw, 1rem) !important;
        margin-top: 0.875rem;
        text-align: left;
        line-height: 1.6;
    }

    .hero-3d-container {
        display: none;
    }

    #canvas3d {
        top: 0 !important;
        /* height: 100lvh !important; */
        display: block !important;
        /* Maintain quality and prevent stretching on small screens */
        /* width: 100vw !important; */
        object-fit: contain;
    }

    .hero .content {
        margin-top: auto;
        margin-bottom: 3rem;
    }

    .hero-cta-btn {
        padding: 1rem 2rem;
        font-size: 0.95rem;
        width: 100%;
        justify-content: center;
        margin-top: 1.75rem;
    }

    .app-section {
        padding: 100px 5%;
    }

    .app-text {
        padding: 0;
    }

    .app-text h2 {
        font-size: 40px;
        line-height: 1.2;
        margin-bottom: 1.5rem;
        text-align: left;
        font-weight: 700;
    }

    .app-text h2 b{
        display: block;
        font-weight: 700;
    }
    
    .app-text p b{
        font-weight: 400;
    }

    .app-phones {
        min-height: auto;
        padding: 1.5rem 0;
    }

    .app-mock-image {
        width: 100%;
        height: auto;
        max-width: 450px;
    }

    .app-buttons {
        flex-direction: column;
        gap: 1rem;
        margin-top: 0;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
        max-width: 100%;
        justify-content: center;
        padding: 1.1rem 2rem;
        font-size: 1rem;
    }

    /* Enhanced mobile story cards */
    .story-card {
        min-height: 200px;
        border-radius: 8px;
    }

    /* Optimize mobile performance */
    .loading-container {
        width: 220px;
        height: 220px;
    }

    .loading-circle {
        width: 220px;
        height: 220px;
        border: 3px solid rgba(255, 255, 255, 0.2);
        border-top: 3px solid #ffffff;
    }

    .loading-logo {
        width: 75px;
        height: 75px;
    }

    .loading-percentage {
        font-size: 2rem;
    }

    .loading-text {
        font-size: 0.95rem;
        margin-top: 1.75rem;
    }

    .loading-subtitle {
        font-size: 0.8rem;
    }

    /* Mobile-specific 3D optimizations */
    #canvas3d {
        will-change: transform;
        transform: translateZ(0);
    }

    /* Better mobile video experience */
    .video-section-container {
        height: 100dvh;
    }

    .carousel-image {
        width: 80%;
        max-width: 90%;
        max-height: 50vh;
    }

    footer{
        padding: 100px 20px 20px 20px;
    }

    .social-link{
        width: 50px;
        height: 50px;
    }

}

/* Mobile menu overlay */
.mobile-menu {
    display: flex;
    /* enabled via media query */
    position: fixed;
    inset: 0;
    background: linear-gradient(120deg, #000311 0%, #002B4D 100%);
    backdrop-filter: blur(20px);
    z-index: 2000;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
    padding: 20px;
    height: 100svh;
    opacity: 0;
    transition: 0.4s opacity;
    pointer-events: none;
}

.mobile-menu .menu-top{
    display: flex;
    width: 100%;
    justify-content: space-between;
    align-items: center;
}

.mobile-menu .menu-bottom{
height: fit-content;
width: 100%;
height: 100%;
display: flex;
flex-direction: column;
justify-content: space-between;
padding-top: 20%;
}

.mobile-menu .close-button{
    display: flex;
    gap: 15px;
    justify-content: center;
    align-items: center;
}

.mobile-menu .close-button img{
    width: 15px;
    height: 15px;
}

.mobile-menu .logo{
    width: 110px;
    height: auto;
}

.mobile-menu.open {
    opacity: 1;
    pointer-events: all;
}

.mobile-menu ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.greyed{
    opacity: 0.5;
}



.mobile-menu a {
    color: #fff;
    text-decoration: none;
    font-size: 28px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-weight: 400;
    transition: color 0.3s ease;
    padding: 0.5rem 0;
    display: block;
}

.mobile-menu a:hover {
    color: #ff6b35;
}

.mobile-menu .mobile-cta {
    display: none;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
}

.mobile-menu .btn-primary,
.mobile-menu .btn-secondary {
    width: 100%;
    text-align: center;
    justify-content: center;
}

.profile-button{
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
   font-size: 18px;
   padding: 20px 0px;
   border-top: 1px solid rgba(255,255,255,0.25);
}

.profile-left{
    display: flex;
    gap: 15px;
}

.separator{
    width: 100%;
    border-bottom: 1px solid rgba(255,255,255,0.25);
}


.menu-footer{
    padding: 20px 0px 0px;
    display: flex;
    justify-content: space-between;
}


@media (max-width: 768px) {

    .mobile-cta{
        display: flex;
    }
}

body.no-scroll {
    overflow: hidden;
}

/* Mobile fallback: some mobile browsers ignore background-attachment: fixed
   so we provide an alternate strategy using a fixed positioned pseudo element */
@supports (-webkit-overflow-scrolling: touch) {
    body::before {
        content: '';
        position: fixed;
        inset: 0;
        background-image: url('https://d2xsxph8kpxj0f.cloudfront.net/310419663030789605/6U9W7KHqUM93LtFqw9xMdR/background-image_69f0e323.jpg');
        background-size: cover;
        background-position: center center;
        z-index: -1;
        filter: none;
    }

    body {
        background-attachment: scroll;
    }
}

/* Additional mobile performance optimizations */
@media (max-width: 768px) {
    * {
        -webkit-tap-highlight-color: transparent;
    }

    body {
        -webkit-overflow-scrolling: touch;
        overscroll-behavior: none;
        /* background-attachment: scroll !important; */
        background-size: cover;
    }

    /* Reduce motion for better mobile performance */
    @media (prefers-reduced-motion: reduce) {
        *:not(.loading-circle) {
            animation-duration: 0.01ms !important;
            animation-iteration-count: 1 !important;
            transition-duration: 0.01ms !important;
        }
        
        /* Keep loading spinner animated */
        .loading-circle {
            animation: spin 2s linear infinite !important;
        }
    }

    /* Optimize touch interactions */
    .story-card,
    .btn-primary,
    .btn-secondary,
    .nav-icon-circle,
    .mobile-menu-toggle {
        touch-action: manipulation;
    }

    /* Better mobile video performance */
    video {
        -webkit-transform: translateZ(0);
        transform: translateZ(0);
    }
}

/* Tablet-specific optimizations */
@media (min-width: 769px) and (max-width: 1400px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    .stories-grid {
        grid-template-columns: repeat(4, 1fr);
    }


    .app-text {
        text-align: left;
    }
}


@media (min-width:1921px) {
    .app-phones {
        max-width: 1000px;
    }

    .app-text{
        max-width: 700px;
    }

    .app-text h2 {
        font-size: clamp(2.5rem, 5vw, 5rem);
    }
    
    .app-text p{
        font-size: clamp(0.9rem, 3.5vw, 1.5rem);
    }

    .stories-title{
        font-size: 54px;
    }

    .stories-subtitle {
        font-size: clamp(0.9rem, 3.5vw, 1.5rem);
        max-width: 900px;
    }

    .section2 .content{
        max-width: 800px;
    }

    .section3 .content{
        max-width: 800px;
    }

    .section-title {
        font-size: 48px;
    }

    .section-description {
        font-size: 24px;
    }
}