@font-face {
    font-family: 'Satoshi';
    src: url('fonts/Satoshi-Light.woff') format('woff');
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: 'Satoshi';
    src: url('fonts/Satoshi-Regular.woff') format('woff');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Satoshi';
    src: url('fonts/Satoshi-Medium.woff') format('woff');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'Satoshi';
    src: url('fonts/Satoshi-Bold.woff') format('woff');
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: 'RangeTitle';
    src: url('fonts/headline.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
    font-display: block;
}

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

html {
    scroll-snap-type: y mandatory;
    height: 100%;
}

body {
    font-family: "Satoshi", -apple-system, BlinkMacSystemFont, sans-serif;
    font-weight: 400;
    overflow-y: auto;
    overflow-x: hidden;
}

.container {
    width: 100%;
}

section {
    height: 100vh;
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
}

.hero {
    position: relative;
    height: 100vh;
    background-color: #bbb59f;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero img.icon {
    width: min(20vh, 275px);  /* Will use 20vh until it reaches 200px */
    height: auto;
    margin-top: 80px;
}

.hero h1 {
    font-family: 'RangeTitle', sans-serif !important;
    font-weight: normal;
    font-size: min(12vh, 140px);
    margin-top: 0;
    color: #333;
    margin-bottom: 25px;
    display: flex;
    flex-direction: column;
    align-items: center;
    transform: translateX(-1.5em);
    position: relative;
}

.hero h1 .range-text {
    position: relative;
    left: 0.7em;
    transform: translateY(-0.1em);
}

.hero h1 span:last-child {
    margin-top: -0.2em;
    margin-left: 4em;
}

.hero p {
    font-family: "Satoshi", sans-serif;
    font-weight: 300;
    font-size: min(2.8vh, 28px);  /* Will use 2.8vh until it reaches 28px */
    margin-top: 0;
    color: #121212;
    margin-bottom: 0;
}

.hero p em {
    font-style: italic;
    font-weight: 300;
}

.hero p .highlight {
    background-color: #3a83f6;
    padding: 0 0.2em;
    border-radius: 0;
    color: #bbb59f;
    margin: 0 0.1em;
    display: inline-block;
    position: relative;
    top: 0;
    height: 1.13em;
    line-height: 1;
    vertical-align: bottom;
    font-weight: 500;
}


.four-up-section {
    display: none;
}



.iphone-container {
    position: fixed;
    bottom: -35vh;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    z-index: 10;
    transition: transform 0.3s ease, opacity 0.3s ease, visibility 0.3s ease;
    opacity: 0;
    visibility: hidden;
}

.iphone-container.centered {
    transform: translateY(-75vh);
    opacity: 1;
    visibility: visible;
}

.iphone-template {
    width: auto;
    height: 53vh;
    object-fit: contain;
    position: relative;
    z-index: 12;
}

.feature-section {
    background-color: #bbb59f;
    position: relative;
}



/* Container for phone screen content */
.phone-screen-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: 80%;
    z-index: 11;
}



.feature-text {
    position: fixed;
    bottom: 5vh;
    left: 50%;
    transform: translateX(-50%);
    text-align: left;
    color: #121212;
    padding: 0 20px;
    z-index: 10;
    line-height: 1.6;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    font-size: calc(1vw + 0.5rem);
    width: 52vh;
}

.feature-text.visible {
    opacity: 1;
    visibility: visible;
}

.feature-text p {
    margin-bottom: 1em;
    font-family: "Satoshi", sans-serif;
    font-weight: 400;
    color: #121212;
}

.screen-placeholder {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: calc(53vh * 0.77);
    height: calc(53vh * 1.67);
    overflow: hidden;
    border-radius: calc(53vh * 0.085);
    background-color: transparent;
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
    z-index: 10;
}

.interface-1 {
    opacity: 0;
}

.interface-1.visible {
    opacity: 1;
}


.text-1, .text-2 {
    position: fixed;
    bottom: 7vh;
    left: 50%;
    transform: translateX(-50%);
    width: 52vw;
    text-align: left;
    color: #333;
    padding: 0 20px;
    z-index: 10;
    line-height: 1.6;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, visibility 0.5s ease;
    font-size: calc(1vw + 0.5rem);
}

.text-1.visible, .text-2.visible {
    opacity: 1;
    visibility: visible;
}



/* Only apply these styles when NOT on iOS */
@supports not (-webkit-touch-callout: none) {
/* Ensure the container is visible */
.interface-2 {
    opacity: 1 !important;
    visibility: visible !important;
    display: block !important;
    position: relative !important;
}

/* Force visibility on all parent containers */


.interface2-section .iphone-container {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    background-color: rgba(0, 255, 0, 0.2) !important; /* Debug tint */
}

.interface2-section .iphone-template {
    display: none !important;
    z-index: 20;  /* Increased to be above video */
}

.interface2-section .phone-screen-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(0%, -114.7%);
    width: calc(53vh * 0.77);
    height: calc(53vh * 1.67);
    z-index: 1 !important;
    opacity: 0;
    visibility: hidden;
}


.interface2-section .interface-video {;  /* Same as its container */
    position: relative;
}

.interface2-section.active .phone-screen-content { /* Same as its container */
    opacity: 1 !important;
    visibility: visible !important;
}




.interface2-section.active .editor-overlay {
    position: fixed !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -86%) !important;
    width: calc(53vh * 0.977) !important;
    z-index: 30 !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.interface2-section .screen-placeholder.interface-2 {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    
}
}


.screen-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: none;
}

.feature-section-2 {
    background-color: #bbb59f;
    height: 100vh;
}

.about-section {
    background-color: #bbb59f;
    height: 100vh;
    padding: 0 20px;
    text-align: center;
}

.about-section h2 {
    font-family: 'RangeTitle', sans-serif;
    font-weight: normal;
    font-size: 2.875rem;
    color: #333;
    margin-bottom: 2rem;
}

.about-content {
    width: 52vw;
    margin: 0 auto 3rem auto;
    text-align: left;
}

.about-content p {
    font-family: "Satoshi", sans-serif;
    font-weight: 400;
    font-size: calc(1vw + 0.5rem);
    line-height: 1.6;
    color: #121212;
}

.button-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.button {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    font-family: "Satoshi", sans-serif;
    font-weight: 500;
    font-size: 1.265rem;
    text-decoration: none;
    transition: transform 0.2s ease;
}

.button:hover {
    transform: scale(1.05);
}

.support-button {
    background-color: #333;
    color: white;
}

.button-container .app-store-badge {
    width: min(15vh, 175px);  /* Will use 15vh until it reaches 175px */
    height: auto;
    height: auto;
    margin: 0;
}

.button-container .app-store-badge:hover {
    transform: none;
}



.iphone-container.move-up {
    transform: translateY(-150vh);  /* Move up beyond the viewport */
    opacity: 1;
    visibility: visible;
    transition: transform 0.8s ease;  /* Slower transition for smoother movement */
}

.scroll-arrow {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    cursor: pointer;
    color: #333;
    z-index: 20;
    animation: bounce 2s infinite;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.scroll-arrow.visible {
    opacity: 0.5;
    visibility: visible;
}

.scroll-arrow:hover {
    color: #000;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0) translateX(-50%);
    }
    40% {
        transform: translateY(-10px) translateX(-50%);
    }
    60% {
        transform: translateY(-5px) translateX(-50%);
    }
}

.hero-arrow {
    position: static;
    margin-top: 40px;
    left: auto;
    bottom: auto;
    transform: none;
    animation: hero-bounce 2s infinite;
    display: flex;
    justify-content: center;
    width: 100%;
    opacity: 0.5;
    visibility: visible;
    cursor: pointer;
    pointer-events: all;
    z-index: 100;
}

@keyframes hero-bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

.app-store-badge {
    width: 180px;
    height: auto;
    margin-top: 400px;
    margin-bottom: 30px;
}

.editor-overlay, .capture-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: calc(53vh * 0.77);
    height: auto;
    z-index: 15;
    pointer-events: none;
}

.editor-overlay {
    width: calc(53vh * 0.975);
    display: none;
    transform: translate(-50%, -42%);
}

.capture-overlay {
    width: calc(53vh * 0.977);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.capture-overlay.visible {
    opacity: 1;
}

.interface-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: calc(53vh * 0.085);
    z-index: 1;
    position: relative;
    transform: scale(0.57);
}


.initial-placeholder {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: calc(53vh * 0.77);
    height: calc(53vh * 1.67);
    overflow: hidden;
    border-radius: calc(53vh * 0.085);
    opacity: 1;
    z-index: 10;
}

.placeholder-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: calc(53vh * 0.085);
    transform: scale(0.57);  /* Match the video scaling */
}


.logo-group {
    position: absolute;
    top: 12vh;
    width: 100%;
    text-align: center;
}

.cta-group {
    position: absolute;
    bottom: 20vh;
    width: 100%;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.cta-group .icon {
    width: 300px;
    height: auto;
    margin-bottom: 60px;
}

.cta-group .app-store-badge {
    width: min(15vh, 175px);  /* Will use 15vh until it reaches 150px */
    height: auto;
    margin-bottom: 20px;
    margin-top: -60px;
}

.logo-group .app-store-badge {
    width: min(15vh, 175px);  /* Will use 15vh until it reaches 150px */
    height: auto;
    margin-top: 80px;  /* Increased from 40px to 80px for more space */
}


.feature-text .highlight {
    background-color: #e34435;
    padding: 0 0.2em;
    border-radius: 0;
    color: #bbb59f;
    margin: 0 0.1em;
    display: inline-block;
    position: relative;
    height: 1.13em;
    line-height: 1.1em;
    vertical-align: baseline;
    top: 0;
}

.text-right {
    text-align: right;
}

.text-center {
    text-align: center;
}
.darkroom-highlight {
    background-color: #724792 !important;
}


.gallery-section {
    background-color: #bbb59f;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.gallery-image {
    height: 800px;
    width: auto;
    object-fit: contain;
    transition: none;
}

.gallery-bottom-arrow {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0.5;
    visibility: visible;
}


.gallery-text {
    text-align: center;
    margin-bottom: 2rem;
    z-index: 2;
}

.gallery-heading {
    font-family: "Satoshi", sans-serif;
    font-weight: 300;
    font-size: 1.5rem;
    color: #121212;
    margin: 0.5em 0;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);  /* Increased from 4 to 6 columns */
    gap: 0.5rem;  /* Reduced gap for tighter layout */
    width: 95%;   /* Wider container */
    max-width: 1600px;
    height: 75vh;
    overflow: hidden;
}


.gallery-bottom-arrow {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0.5;
    visibility: visible;
}

@media (max-width: 1024px) {
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .gallery-heading {
        font-size: 1.2rem;
    }
}

.about-content .highlight {
    background-color: #3a83f6;
    padding: 0.1em 0.2em 0.2em 0.2em;
    border-radius: 0;
    color: #bbb59f;
    margin: 0 0.1em;
    display: inline-block;
    position: relative;
    height: 1.4em;
    line-height: 1.3em;
    vertical-align: baseline;
    top: 0;
    font-weight: 500;
}

.hdr-highlight {
    background-color: #ffffff;
    color: #000000;
    padding: 0.1em 0.4em;  /* Increased padding for more roundness */
    text-shadow: 
        0 0 5px #fff,
        0 0 10px #fff,
        0 0 15px #fff,
        0 0 20px #fff;
    font-weight: 500;
    display: inline-block;
    position: relative;
    border-radius: 1em;  /* Rounded corners */
    box-shadow: 
        0 0 10px rgba(255,255,255,0.8),
        0 0 20px rgba(255,255,255,0.6),
        0 0 30px rgba(255,255,255,0.4),
        inset 0 0 10px rgba(255,255,255,0.8);  /* Inner glow */
    backdrop-filter: blur(2px);  /* Optional: adds slight blur to anything behind */
}

.highlight.range-font {
    font-family: 'RangeTitle', sans-serif !important;
    font-size: 1.6em;  /* Makes it 60% larger than surrounding text */
    vertical-align: middle;  /* Helps with alignment */
}

.about-content .highlight.range-font {
    font-family: 'RangeTitle', sans-serif !important;
    font-size: 2.5em !important;  /* Much bigger now */
    vertical-align: middle;
}

.about-content p:first-child {
    font-family: "Satoshi", sans-serif !important;
    font-weight: 300 !important;
    font-size: 1.6rem !important;
    color: #121212 !important;
    margin-bottom: 1.5em !important;
}

.about-section .about-content p .highlight.range-font {
    font-family: 'RangeTitle', sans-serif !important;
    font-size: 1.2em !important;
    vertical-align: middle;
}

.about-footer {
    position: absolute;
    bottom: 20px;  /* Adjust this value to control distance from bottom */
    left: 0;
    right: 0;
    text-align: center;
    font-size: 0.9em;
    color: #121212;
}

.about-footer a {
    color: #121212;
    text-decoration: underline;
}

.about-footer a:hover {
    opacity: 0.8;
}

.no-raw-link {
    font-weight: 500;
}




/* Remove scroll-snap for iPhone */
@supports (-webkit-touch-callout: none) {
    html {
        scroll-snap-type: none;
    }

    section {
        scroll-snap-align: none;
        height: auto;
        position: relative;
        background-color: #bbb59f;
        overflow: hidden;
    }


    .logo-group {
        top: 8vh;  /* This should position it halfway between viewport top and logo */
    }



    .cta-group .icon {
        width: 200px;
        margin-bottom: 60px;
    }

    .hero h1 {
        font-size: 4rem;
        margin-bottom: 12px;
    }

    .cta-group .app-store-badge {
        width: 120px;
        margin-bottom: 5px;
    }

    .hero-arrow {
        margin-top: 5px;
        width: 28px;
        height: 28px;
    }

    .hero img.icon {
        width: 200px;
    }


    .cta-group {
        position: absolute;
        bottom: 25vh;  /* Change from 20vh to a larger value like 30vh to move it up */
        width: 100%;
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }


    .cta-group .app-store-badge {
        width: 35vw !important; /* Makes the badge 65% of viewport width */
        margin-top: -13vw !important;
    }

    .hero p .highlight {
        position: relative !important;
        vertical-align: baseline !important;
    }

    /* Base container styles */
    .iphone-container {
        bottom: -40vh;
        position: relative;
        width: 100%;
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-top: -160vh;
        transform: none !important;
        opacity: 1 !important;
        visibility: visible !important;
    }



    /* iPhone template */
    .iphone-template {
        height: 55vh;
        width: auto;
        position: relative;
        z-index: 5;
    }
    
    .phone-screen-content {
        position: absolute;
        top: 51%;
        left: 50%;
        transform: translate(-50%, -50%);
        /* Calculate width based on iPhone template height */
        width: calc(55vh * 0.735); /* 76.5% of template height */
        height: auto; /* Maintain aspect ratio */
        z-index: 2;
    }
    
    /* Update related elements to use the same reference */
    .screen-placeholder {
        width: calc(55vh * 0.735); /* 76.5% of template height */
        height: auto; /* Maintain aspect ratio */
        border-radius: calc(55vh * 0.085);
    }
    
    .interface-video {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: calc(55vh * 0.085);
        transform: scale(0.57);
    }

    /* Overlays */
    .editor-overlay,
    .capture-overlay {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 97.5%;
        z-index: 15;
        display: block !important;
    }

    /* Add this specific override for editor overlay */
    .editor-overlay {
        transform: translate(-50%, -40%) !important; /* Changed from -50% to -55% to move up */
    }

     /* Interface 1 specific */
     .feature-section .screen-placeholder.interface-1 {
        display: block;
        position: relative;
        width: 105%;
        height: auto;
        z-index: 10;
    }



    /* Interface 2 specific */
    .interface2-section .screen-placeholder.interface-2 {
        display: block !important;
        position: absolute;
        width: 105%;
        height: auto;
        aspect-ratio: 0.462;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        z-index: 10;
    }


    /* Ensure feature section also fills space */
    .feature-section {
        background-color: #bbb59f !important;
        position: relative !important;
        overflow: visible !important;
        min-height: 100vh !important;
    }

    /* Hide initial placeholder */
    .initial-placeholder {
        display: block !important;
        position: absolute !important;
        top: 50% !important;
        left: 50% !important;
        transform: translate(-50%, -50%) !important;
        width: 105% !important; /* Match the video container width */
        height: auto !important;
        aspect-ratio: 0.462 !important; /* Match the iPhone screen aspect ratio */
        z-index: 3 !important; /* Between the iPhone template and the video */
    }
    
    .placeholder-image {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        border-radius: calc(53vh * 0.085) !important; /* Match the video border radius */
        transform: scale(0.57) !important; /* Match the video scaling */
    }
    
    /* Ensure the video container is positioned the same way */
    .screen-placeholder.interface-1 {
        position: absolute !important;
        width: 105% !important;
        height: auto !important;
        aspect-ratio: 0.462 !important;
        top: 50% !important;
        left: 50% !important;
        transform: translate(-50%, -50%) !important;
        z-index: 4 !important;
    }

    /* REPLACE THIS ENTIRE TEXT STYLES BLOCK */
    /* Text styles */
    .feature-text,
    .text-1,
    .text-2 {
        position: relative;
        bottom: auto;
        margin: 20px auto;
        opacity: 1 !important;
        visibility: visible !important;
        
    }

    /* WITH THIS NEW CODE */
    /* More specific and forceful text positioning for interface 1 */
    .feature-section .feature-text.text-1 {
        position: absolute !important;
        font-size: 4.3vw;
        top: 43vh !important;
        left: 50% !important;           /* Center horizontally */
        transform: translateX(-50%) !important;  /* Center horizontally */
        margin: 0 !important;
        padding: 0px !important;
        width: 85% !important;          /* Adjust width as needed */
        z-index: 100 !important;
        text-align: left !important;  /* Force left alignment */
    }

    /* Ensure the section can handle absolute positioning */
    .feature-section {
        position: relative !important;
        overflow: visible !important;
        
    }


    /* Keep your existing mobile text styles */
    .feature-text.text-2.desktop-text {
        display: none !important;
    }

    .feature-text.text-2.mobile-text {
        display: block !important;
        position: absolute !important;   /* Change to absolute */
        font-size: 4.3vw;
        top: 43vh !important;         /* Position from bottom */
        left: 46% !important;           /* Center horizontally */
        transform: translateX(-50%) !important;  /* Center horizontally */
        margin: 0 !important;
        padding: 0px !important;
        width: 85% !important;          /* Adjust width as needed */
        z-index: 100 !important;
        text-align: left !important;  /* Force left alignment for all paragraphs */
    }


    .feature-text.text-2.mobile-text {
        background-color: rgba(187, 181, 159, 0.95);
        border-radius: 8px;
        margin: 20px 15px !important;
    }


    /* Hide scroll arrows */
    .scroll-arrow,
    .hero-arrow,
    .interface1-arrow,
    .interface2-arrow {
        display: none;
    }


    .text-right,
.text-center {
    text-align: left !important;  /* Force left alignment for specific classes */
}


    /* Force visibility */
    .screen-placeholder,
    .interface-video,
    .editor-overlay,
    .capture-overlay {
        opacity: 1 !important;
        visibility: visible !important;
    }
    

    .four-up-section {
        display: flex;
        justify-content: center;
        align-items: center;
        background-color: #bbb59f;
        padding-bottom: 0vh !important;  /* Remove bottom padding completely */
        margin-top: -10vh !important;
        overflow: visible !important;  /* Prevent image cutoff */
        z-index: 10 !important;  /* Add higher z-index */


    }

    .four-up-image {
        width: 100%;
        height: 100%;
        display: block;
    }

    .about-section {
        padding: 0px !important;
        min-height: 140vh !important;
        position: relative !important;
        margin-top: -2vh !important;  /* Add negative margin to move it up */
        margin-bottom: 40px !important;
        z-index: 1 !important;  /* Lower z-index */

    }
    
    .about-content {
        width: 85% !important;
        padding-top: 20px !important;  /* Reduce top padding */
        margin-bottom: 80px !important;
    }
    
    .about-content p {
        font-size: 4.3vw !important;  /* Match interface text size */
        margin-bottom: 0.5em !important;  /* Match interface text spacing */
        line-height: 1.6 !important;  /* Match interface text line height */
    }
    
    /* Remove extra spacing between paragraphs */
    .about-content p + p {
        margin-top: 0.5em !important;  /* Match interface text spacing */
    }
    

    
    /* Ensure consistent spacing around headings */
    .about-section h2 {
        margin-bottom: 1em !important;
    }

    .about-footer {
        position: absolute !important;
        bottom: 20px !important;
        width: 100% !important;
        padding: 0 20px !important;
        font-size: 0.8em !important;  /* Make text smaller */
    }

    .button-container .app-store-badge {
        width: 35vw !important; /* Makes the badge 65% of viewport width */
        height: auto !important;
        margin: 0 auto !important; /* Centers the badge */
        display: block !important;
    }

    /* Ensure button container doesn't overlap with content or footer */
    .button-container {
        margin-bottom: 60px !important;  /* Space above footer */
    }

    .interface2-section {
        padding-bottom: 0 !important;  /* Remove bottom padding from interface 2 */
    }

/* Add this at the end of your @supports (-webkit-touch-callout: none) block */
@media (orientation: landscape) {
    /* Ensure background color fills entire viewport */
    html, body {
        background-color: #bbb59f !important;
        min-height: 100vh !important;
        min-width: 100vw !important;
        margin: 0 !important;
        padding: 0 !important;
        overflow: hidden !important; /* Prevent scrolling */
    }

    /* Hide all main content */
    .container {
        display: none !important;
    }

    /* Add landscape warning message */
    body::before {
        content: "Please rotate your device. Landscape mode is not supported.";
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: #bbb59f;
        color: #121212;
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        padding: 20px;
        font-family: "Satoshi", sans-serif;
        font-weight: 500;
        font-size: 1.2rem;
        z-index: 9999;
    }
}


}

.cta-group a {
    display: block;
    position: relative;
    z-index: 100;
    cursor: pointer;
}

.cta-group a img {
    pointer-events: auto;
}
