:root {
    --primary-color: #00FFFF;
    --text-color: #FFFFFF;
    --bg-color: #000000;
    --dark-grey: #1a1a1a;
}

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

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: 'Poppins', 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

#particle-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

.container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

/* Image Placeholders */
.image-placeholder {
    border: 2px dashed var(--primary-color);
    background: rgba(0, 255, 255, 0.05);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px;
    min-height: 200px;
    position: relative;
    transition: all 0.3s ease;
}

.image-placeholder:hover {
    background: rgba(0, 255, 255, 0.1);
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.2);
}

/* Typography */
h1 {
    font-size: 5rem; /* Increased size */
    font-weight: 700; /* Maximum bold */
    line-height: 1; /* Tighter line height */
    margin-bottom: 1.5rem;
    color: #FFFFFF; /* Solid white */
    letter-spacing: 0px; /* Tighter spacing */
    text-transform: uppercase;
}

h2 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
}

h3 {
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 1.5rem;
}

p {
    margin-bottom: 1rem;
    color: #ccc;
    font-size: 0.95rem;
}

.section {
    padding: 60px 0;
    margin-bottom: 40px;
}

/* Hero Section */
.hero {
    position: relative;
    display: flex;
    align-items: center; /* Vertically center content */
    min-height: 100vh; /* Full viewport height */
    width: 100vw; /* Full viewport width */
    padding: 0;
    overflow: hidden;
    margin-top: 0;
    margin-bottom: 0; /* Remove bottom margin to connect seamlessly if needed */
}

.hero .content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1200px; /* Constrain content width */
    margin: 0 auto; /* Center content block */
    padding: 0 40px; /* Add padding for smaller screens */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start; /* Left align */
    height: 100%;
    transform: translate(-100px, -100px); /* Move left and up by 100px */
}

.hero .content p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.7); /* Slightly transparent white for subtitle */
    max-width: 400px; /* Limit line length */
    line-height: 1.4;
    text-shadow: none; /* Remove shadow from subtitle for cleaner look */
}

.hero-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    border: none;
    background: transparent;
    padding: 0;
    flex: none;
}

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

/* Hide mobile image by default on desktop */
.hero-mobile {
    display: none !important;
}

.hero-desktop {
    display: block !important;
}

/* Add a gradient overlay to ensure text is readable on any image */
.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0) 60%);
    z-index: 1;
    pointer-events: none;
}

/* Logo Section */
.logo-bar {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 100px 0;
}

.logo-container {
    width: 100%;
    max-width: 300px;
    display: flex;
    justify-content: center;
}

.logo-svg {
    width: 100%;
    height: auto;
    display: block;
}

/* Workspace Section */
.workspace {
    display: flex;
    align-items: center;
    gap: 40px;
}

.workspace-img {
    flex: 1;
    height: 400px;
    border-radius: 8px;
}

.workspace .text-content {
    flex: 1;
}

.small-text p {
    font-size: 0.8rem;
    color: #888;
    margin-bottom: 0.5rem;
}

/* Interaction Section */
.interaction {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 30px;
}

.interaction-header {
    text-align: left;
    width: 100%;
}

.interaction-header h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    font-weight: 700;
    color: #fff; /* Ensure white color for non-highlighted text */
}

.highlight-cyan {
    color: #00FFFF;
}

.interaction-header h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: #fff;
    font-weight: normal;
}

.interaction-body {
    display: flex;
    flex-direction: row;
    align-items: center; /* Center align text and image */
    gap: 60px;
}

.interaction-text {
    flex: 6; /* 60% width */
}

.interaction-text p {
    font-size: 1rem;
    line-height: 1.6;
    color: #ccc;
    margin-bottom: 15px;
    text-align: left;
}

.interaction-visual {
    flex: 4; /* 40% width */
    display: flex;
    justify-content: flex-end;
    position: relative;
    top: -50px; /* Move image up to overlap with header area slightly if needed, or just offset */
}

.interaction-img {
    width: 100%;
    max-width: 350px; /* Reduced from 450px */
    height: auto;
    border-radius: 20px;
    object-fit: contain;
}

/* Creative Section */
.creative .section-header {
    text-align: right;
    margin-bottom: 60px;
}

.creative .section-header h2 {
    font-size: 2.5rem;
    color: #fff;
    font-weight: 700;
}

.creative .section-header h2 span {
    color: #00FFFF;
}

.creative .section-header h3 {
    font-size: 1.5rem;
    color: #fff;
    font-weight: normal;
    margin-top: 10px;
}

.subsection {
    margin-bottom: 60px;
}

.text-to-image {
    display: flex;
    align-items: center;
    gap: 60px;
}

.text-to-image .text-content {
    flex: 1;
}

.text-to-image h4 {
    font-size: 1.5rem;
    color: #00FFFF;
    margin-bottom: 10px;
}

.text-to-image p {
    font-size: 1rem;
    color: #ccc;
    margin-bottom: 30px;
}

.prompt-box {
    border: 1px solid #333;
    padding: 15px 20px;
    border-radius: 8px;
    color: #00FFFF;
    margin-top: 20px;
    font-family: monospace;
    font-size: 1.1rem;
    background: rgba(0,0,0,0.5);
    min-height: 50px; /* Ensure height for animation */
    display: flex;
    align-items: center;
}

/* Typing cursor animation */
.cursor {
    display: inline-block;
    width: 10px;
    height: 1.2rem;
    background-color: #00FFFF;
    margin-left: 5px;
    animation: blink 1s infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

.image-wrapper {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

.jellyfish-img {
    width: 100%;
    max-width: 100%;
    height: auto;
    border-radius: 4px;
    border: 1px dashed #00FFFF; /* Mimic the dashed border in design */
    padding: 10px; /* Space between image and border */
}

.model-comparison h4 {
    text-align: center;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.model-comparison h3 {
    text-align: center;
    font-size: 2rem;
    color: #00FFFF;
    margin-bottom: 20px;
    text-transform: none; /* Removed uppercase requirement */
}

.model-comparison > p {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 30px;
}

.comparison-grid {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
}

.compare-item {
    flex: 1;
}

.compare-img-real {
    width: 100%;
    height: auto;
    border-radius: 12px;
    display: block;
}

.compare-arrow {
    color: #00FFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.bottom-text {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    padding: 30px;
    border-radius: 8px;
}

.subsection h3 {
    font-size: 2rem;
    color: #00FFFF;
    margin-bottom: 20px;
    text-transform: none; /* Removed uppercase requirement */
    font-weight: 700; /* 增加文本加粗 */
}

.bottom-text p {
    font-size: 1rem; /* Increased font size */
    margin-bottom: 15px;
    color: #ccc;
    line-height: 1.8;
}

.bottom-text p:last-child {
    margin-bottom: 0;
}

/* Reduce spacing between Creative and Tracking */
.creative {
    margin-bottom: 0;
    padding-bottom: 20px;
}

/* Tracking Section */
.tracking {
    padding-top: 20px;
}

.tracking .section-header {
    text-align: center;
    margin-bottom: 40px;
}

.tracking .section-header h2 {
    color: #fff;
    font-size: 2.5rem;
    font-weight: 700;
}

.tracking-img {
    width: 100%;
    height: auto; /* Allow height to adjust based on image */
    margin-bottom: 30px;
    border: none; /* Remove border if it conflicts with the image look */
    background: transparent; /* Remove background */
}

.tracking-img img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 20px;
}

.tracking .centered {
    text-align: center;
}

.tracking .centered p {
    font-size: 1.1rem;
    color: #ccc;
    max-width: 800px;
    margin: 0 auto 10px;
    line-height: 1.6;
}

/* Cooling Section */
.cooling {
    position: relative;
    width: 100%;
    min-height: auto;
    height: auto;
    display: block;
    padding: 0;
    overflow: hidden;
}

.cooling-bg-wrapper {
    position: relative;
    width: 100%;
    height: auto;
    z-index: 0;
}

.cooling-bg-img {
    width: 100%;
    height: auto;
    object-fit: contain; /* Show full image without cropping */
    display: block;
}

.cooling .container {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    margin: 0 auto;
    z-index: 1;
    width: 100%;
    max-width: 1600px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 0 20px;
    pointer-events: none;
}

.cooling-text {
    max-width: 600px;
    padding: 40px;
    /* Optional: gradient for better readability if image is busy */
    background: linear-gradient(to right, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0) 100%);
    border-radius: 20px;
    pointer-events: auto;
}

.tag-wrapper {
    margin-bottom: 20px;
}

.tag {
    display: inline-block;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
}

.cooling-text h2 {
    color: #00FFFF;
    font-size: 3rem;
    margin-bottom: 10px;
    font-weight: 700;
}

.cooling-text h3 {
    color: #fff;
    font-size: 1.5rem;
    margin-bottom: 30px;
    font-weight: normal;
}

.cooling-text p {
    color: #ccc;
    font-size: 1rem;
    margin-bottom: 15px;
    line-height: 1.6;
}

/* Charging Section */
.charging {
    position: relative;
    width: 100%;
    min-height: auto; /* Allow height to be defined by content/image */
    height: auto;
    display: block; /* Change from flex to block to let image define height */
    padding: 0;
    overflow: hidden;
    background-color: #000;
}

.charging-img-wrapper {
    position: relative; /* Change from absolute to relative */
    width: 100%;
    height: auto;
    z-index: 0;
}

.charging-effect-img {
    width: 100%;
    height: auto; /* Auto height to maintain aspect ratio */
    display: block; /* Remove inline spacing */
    object-fit: contain;
}

.charging .container {
    position: absolute; /* Overlay text on top of the image */
    top: 0;
    left: 0;
    right: 0;
    margin: 0 auto;
    z-index: 1;
    width: 100%;
    max-width: 1600px; /* Match global container width */
    height: 100%;
    display: flex;
    align-items: flex-start; /* Align text to top */
    justify-content: flex-end; /* Align text to right */
    padding: 200px 20px 0 20px; /* Add top padding to position text properly */
    pointer-events: none;
}

.charging-text {
    width: 100%;
    max-width: 600px; /* Consistent with Cooling Section text width */
    text-align: right;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    pointer-events: auto;
}

.charging-text h2 {
    color: #00FFFF;
    font-size: 3rem; /* Consistent size with Cooling */
    margin-bottom: 30px;
    text-transform: uppercase;
    font-weight: 700;
}

.charging-text p {
    color: #ccc;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 20px;
    max-width: 500px;
}

/* Universal Compatibility Section */
.universal {
    position: relative;
    width: 100%;
    min-height: auto; /* Allow height to be defined by content/image */
    height: auto;
    display: block; /* Change from flex to block to let image define height */
    padding: 0;
    overflow: hidden;
    background-color: #000;
}

.universal-bg-wrapper {
    position: relative; /* Change from absolute to relative */
    width: 100%;
    height: auto;
    z-index: 0;
}

.universal-bg-img {
    width: 100%;
    height: auto; /* Auto height to maintain aspect ratio */
    display: block; /* Remove inline spacing */
    object-fit: contain;
}

.universal .mobile-img {
    display: none;
}

.universal .container {
    position: absolute; /* Overlay text on top of the image */
    top: 0;
    left: 0;
    right: 0;
    margin: 0 auto;
    z-index: 1;
    width: 100%;
    max-width: 1600px; /* Match global container width */
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-start; /* Left align */
    padding: 0 20px 0 60px; /* Shift text 20px right from standard alignment */
    pointer-events: none; /* Allow clicks to pass through to image if needed, though text needs pointer-events: auto if interactive */
}

.universal-text {
    max-width: 600px;
    text-align: left;
    pointer-events: auto; /* Re-enable pointer events for text */
}

.universal-text h2 {
    color: #fff;
    font-size: 3rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.universal-text p {
    color: #ccc;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

/* Footer */
footer {
    text-align: center;
    padding: 40px 0;
    color: #666;
    font-size: 0.8rem;
    border-top: 1px solid #333;
}

/* Responsive Design */
@media (max-width: 768px) {
    h1 {
        font-size: 3.5rem; /* Adjusted for mobile */
        letter-spacing: -1px;
    }

    .hero {
        /* On mobile, keep the overlay style or stack? 
           Let's keep overlay but make it readable, or stack if preferred.
           Given "Desktop Evolved", maybe overlay is better for visual impact.
        */
        min-height: 100vh; /* Full height on mobile too */
        margin-top: 0;
        align-items: flex-end; /* Align content to bottom */
    }

    /* Switch images on mobile */
    .hero-desktop {
        display: none !important;
    }

    .hero-mobile {
        display: block !important;
    }

    .hero .content {
        width: 100%;
        padding: 30px 30px 180px 30px; /* Increased bottom padding to move text up */
        text-align: center;
        align-items: center; /* Center align on mobile */
        transform: none; /* Reset desktop transform */
        /* Increase gradient darkness on mobile for better readability */
    }

    .hero .content p {
        margin: 0 auto; /* Center the subtitle */
        font-size: 1rem;
    }

    .hero::after {
        background: none; /* Removed overlay */
    }

    .logo-container {
        max-width: 180px; /* Smaller logo on mobile */
    }
    
    .logo-bar {
        padding: 60px 0; /* Reduce padding slightly */
    }

    .workspace, 
    .text-to-image, 
    .charging {
        flex-direction: column;
        text-align: center;
    }

    .interaction {
        flex-direction: column;
        text-align: left; /* Left align interaction on mobile */
    }

    .interaction-body {
        flex-direction: column;
        gap: 20px;
        align-items: stretch; /* Reset alignment for mobile */
    }
    
    .interaction-header,
    .interaction-text {
        text-align: left;
    }

    /* Reorder workspace to image first */
    .workspace {
        flex-direction: column-reverse;
    }

    /* Reorder interaction to text first (default) */
    
    .interaction-img,
    .workspace-img,
    .jellyfish-img {
        width: 100%;
        flex: none;
    }

    .interaction-img {
        width: auto; /* Allow it to shrink */
        max-width: 280px; /* Smaller on mobile */
    }

    .interaction-visual {
        justify-content: center;
        width: 100%;
        margin-top: 30px;
        position: static; /* Reset position */
        top: 0;
    }

    .comparison-grid {
        flex-direction: column;
        gap: 10px;
    }

    .compare-arrow {
        transform: rotate(90deg);
        margin: 10px 0;
    }

    .charging .text-content {
        text-align: center;
    }

    /* Charging Mobile Overrides */
    .charging {
        min-height: auto;
        height: auto;
        display: flex;
        flex-direction: column;
        padding: 0;
        background-color: #000;
    }

    .charging-img-wrapper {
        position: relative;
        width: 100%;
        height: auto;
        order: 1;
        margin-bottom: 0;
    }
    
    .charging-effect-img {
        width: 100%;
        height: auto;
        object-fit: contain;
    }

    .charging .container {
        position: relative; /* Normal flow */
        height: auto;
        display: block;
        padding: 40px 20px;
        order: 2;
        pointer-events: auto;
    }

    .charging-text {
        width: 100%;
        max-width: 100%;
        text-align: center;
        align-items: center;
    }

    .charging-text h2 {
        font-size: 2rem;
        text-align: center;
    }

    .charging-text p {
        text-align: center;
        margin-left: auto;
        margin-right: auto;
    }
}

/* Scenario Carousel Section */
.scenario-carousel {
    padding: 60px 20px;
    background-color: transparent; /* Or dark bg if needed */
    position: relative;
    z-index: 10;
}

.carousel-tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
    gap: 20px;
}

.tab-btn {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 30px;
    color: #888;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    padding: 12px 30px;
    transition: all 0.3s ease;
    font-family: 'Poppins', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.tab-btn.active, .tab-btn:hover {
    background: rgba(0, 255, 255, 0.15);
    border-color: #00FFFF;
    color: #00FFFF;
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.2);
}

.carousel-content {
    position: relative;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    min-height: 600px; /* Ensure height for absolute positioning if used, or flex */
}

.carousel-slide {
    display: none;
    display: flex; /* Flex layout for side-by-side */
    flex-direction: row;
    align-items: stretch; /* Stretch to allow text vertical alignment */
    justify-content: center;
    gap: 50px;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    position: absolute; /* Stack slides */
    top: 0;
    left: 0;
    width: 100%;
}

.carousel-slide.active {
    opacity: 1;
    position: relative; /* Active slide takes space */
    z-index: 2;
}

/* Ensure non-active slides are hidden but don't break layout during transition if we used absolute */
/* Actually, for simple fade, absolute for all and JS toggles opacity is good, but height might collapse.
   Better: hide with display:none for non-active? 
   Let's use display:none for simplicity first, or visibility.
   The .carousel-slide rule above has display: flex.
   I need a specific rule to hide non-active ones.
*/
.carousel-slide:not(.active) {
    display: none;
}

.slide-image {
    flex: 7; /* 70% */
    width: auto;
}

.slide-image .image-placeholder {
    width: 100%;
    height: 400px; /* Adjust height */
    border: 1px dashed #00FFFF;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #00FFFF;
    background: rgba(0, 255, 255, 0.05);
    border-radius: 20px;
}

.slide-text {
    flex: 3; /* 30% */
    text-align: left;
    color: #fff;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* Ensure content stretches to fill height */
}

.cyan-title {
    color: #00FFFF;
    font-size: 2rem; /* [修改这里调整标题文字大小] Modify Title Size Here */
    margin-bottom: 20px;
    font-weight: 700;
    text-transform: uppercase;
    text-align: left;
}

.subtitle {
    font-size: 1rem; /* [修改这里调整副标题文字大小] Modify Subtitle Size Here */
    margin-bottom: auto; /* Push bottom content down */
    color: #ddd;
    line-height: 1.4;
    text-align: left;
    width: 100%;
}

.features-list, .arrow-indicator, .supported-devices, .wifi-feature {
    text-align: right;
    align-self: flex-end;
    width: 100%;
    margin-top: 0;
}

.features-list {
    margin-bottom: 0; /* Remove extra margin to align with bottom */
    margin-top: 20px; /* 增加与副标题文字的上下间隙 */
}

.feature-item {
    margin-bottom: 20px;
}

.feature-item p {
    font-size: 0.8rem;
    color: #ccc;
    line-height: 1.6;
}

.feature-item strong {
    color: #fff;
}

.arrow-indicator {
    font-size: 1.5rem;
    color: #fff;
    margin-top: 20px;
    font-weight: bold;
}

/* Ensure bottom alignment matches Bedside border */
#slide-workspace .slide-text,
#slide-audiovisual .slide-text {
    padding-bottom: 0; /* Remove padding to align exactly with image bottom if needed, or match Bedside */
    box-sizing: border-box;
}

#slide-workspace .features-list,
#slide-audiovisual .features-list {
    margin-bottom: 20px; /* Match the padding/gap of Bedside bottom */
}

/* Specific styling for Bedside slide */
#slide-bedside .slide-text {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    padding: 0; /* Remove default padding */
    gap: 100px; /* Remove gap to fill vertically */
}

.bedside-section {
    flex: 1; /* Force equal height */
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
    /* border: 2px solid #00FFFF; Removed border */
    padding: 0 20px; /* Internal padding */
    box-sizing: border-box;
}

/* Section 1: Title - Left Align */
.bedside-section.section-1 {
    align-items: flex-start;
    text-align: left;
}

.bedside-section.section-1 .subtitle {
    margin-bottom: 0;
}

/* Section 2: WiFi - Left Align */
.bedside-section.section-2 {
    align-items: center;
    flex-direction: row;
    justify-content: flex-start;
    gap: 15px;
    text-align: left;
}

/* Section 3: Supported Devices Title - Left Align */
.bedside-section.section-3 {
    align-items: flex-start;
    justify-content: center; /* Center vertically */
    text-align: left;
}

/* Section 4: Device Icons - Right Align */
.bedside-section.section-4 {
    align-items: flex-end; /* Right align everything */
    flex-direction: column; /* Stack icons and arrow */
    justify-content: center; /* Center vertically */
    gap: 10px;
}

.device-icons-row {
    display: flex;
    flex-direction: row;
    gap: 20px;
    align-items: center;
}

.bedside-section.section-4 .arrow-indicator {
    margin-top: 0; /* Reset margin since we use gap */
}

.bedside-icon-wifi {
    width: 40px;
    height: auto;
    display: block;
}

.supported-devices-title h3 {
    color: #00FFFF;
    margin-bottom: 0;
    font-size: 1.5rem;
    font-weight: 700;
    text-transform: uppercase;
}

.bedside-icon-device {
    width: 60px; /* Increased size */
    height: auto;
    display: block;
}

/* Responsive */
@media (max-width: 768px) {
    .carousel-tabs {
        justify-content: space-between;
        padding: 0;
        flex-wrap: nowrap; /* Force single line */
        gap: 10px;
        width: 100%;
    }

    .tab-btn {
        flex: 1; /* Equal width */
        font-size: 0.8rem; /* Smaller font for mobile */
        padding: 10px 5px;
        white-space: nowrap; /* Prevent text wrapping */
        display: flex;
        justify-content: center;
        align-items: center;
        min-width: 0; /* Allow shrinking below content size if strictly necessary */
    }
    
    .carousel-slide {
        flex-direction: column;
        text-align: center;
    }

    .slide-image, .slide-text {
        width: 100%;
        flex: auto;
    }
    
    .slide-text {
        text-align: center;
        padding: 0;
        display: block; /* Reset flex on mobile if stack is preferred, or column centered */
    }

    .cyan-title {
        text-align: left;
        margin-bottom: 10px;
    }

    .subtitle, .features-list, .arrow-indicator, .supported-devices, .wifi-feature, .bedside-details, .supported-devices-title, .bedside-section {
        text-align: left;
        align-self: flex-start;
        justify-content: flex-start; /* Left align flex items */
        align-items: flex-start;
        width: 100%;
    }

    .subtitle {
        margin-bottom: 20px; /* Reduce gap from 120px */
    }

    .features-list {
        margin-top: 10px; /* Reduce top margin */
        margin-bottom: 20px;
    }

    /* Force Bedside slide to collapse height on mobile */
    #slide-bedside .slide-text {
        height: auto;
        justify-content: flex-start;
        gap: 10px;
        padding-bottom: 20px;
    }
    
    .bedside-section.section-1,
    .bedside-section.section-2,
    .bedside-section.section-3,
    .bedside-section.section-4 {
        align-items: flex-start;
        text-align: left;
    }
    
    .bedside-section.section-4 {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }

    /* Specific overrides for Bedside on mobile */
    #slide-bedside .cyan-title,
    #slide-bedside .subtitle,
    #slide-bedside .bedside-section {
        text-align: left;
        align-items: flex-start;
        justify-content: flex-start;
    }

    #slide-bedside .slide-text {
        align-items: flex-start;
        padding-left: 20px; /* Ensure some padding on left */
        padding-right: 20px;
    }
    
    .device-icons-row {
        justify-content: flex-start;
    }
    
    /* Ensure arrow is also handled or hidden if not needed, or left aligned */
    .bedside-section.section-4 .arrow-indicator {
        align-self: flex-start;
    }

    .slide-image .image-placeholder {
        height: 250px;
        margin-bottom: 20px;
    }
    
    .wifi-feature {
        justify-content: center;
    }
    
    .device-icons {
        justify-content: center;
    }

    /* Creative Section Mobile */
    .creative .section-header {
        text-align: center; /* Center align title on mobile */
    }

    .text-to-image {
        flex-direction: column; /* Stack vertically on mobile */
        gap: 30px;
        text-align: left; /* Left align text content */
    }

    .text-to-image h4 {
        text-align: center; /* Explicitly center the sub-header */
    }

    .text-to-image .text-content {
        width: 100%;
    }

    .image-wrapper {
        justify-content: center;
        width: 100%;
    }

    .bottom-text {
        padding: 0;
    }

    .text-to-image p,
    .bottom-text p,
    .model-comparison > p {
        font-size: 0.85rem;
        text-align: left;
    }

    .tracking .centered p {
        font-size: 0.85rem;
        text-align: left;
    }

    /* Cooling Section Mobile Override */
    .cooling {
        min-height: auto;
        height: auto;
        display: block; /* Reset flex to handle flow */
        padding-top: 0;
        padding-bottom: 280px; /* Make space for details at bottom */
        position: relative;
    }
    
    .cooling-bg-wrapper {
        position: relative;
        height: 350px; /* Allocate space for image */
        width: 100%;
        margin-bottom: 0;
        overflow: hidden;
    }
    
    .cooling-bg-img {
        width: 100%;
        height: 100%; /* Fill the wrapper height */
        object-position: right center; /* Move image to right */
        object-fit: contain;
    }

    .cooling .container {
        position: absolute; /* Overlay on top of image wrapper */
        top: 0;
        left: 0;
        width: 100%;
        height: 350px; /* Match wrapper height */
        padding: 40px 20px;
        display: flex;
        flex-direction: column;
        justify-content: center; /* Center vertically relative to image area */
        align-items: flex-start;
        pointer-events: none; /* Let clicks pass through */
        max-width: 100%; /* Override max-width constraint for mobile overlay */
    }
    
    .cooling-text {
        width: 100%; /* Full width for container, but children will handle positioning */
        max-width: 100%;
        background: transparent;
        padding: 0;
        text-align: left;
    }
    
    .tag-wrapper,
    .cooling-text h2,
    .cooling-text h3 {
        width: 50%; /* Limit width to left side to avoid image overlap */
    }
    
    .cooling-text h2 {
        font-size: 2rem;
    }

    .cooling-text h3 {
        font-size: 1.2rem;
        margin-bottom: 0; /* Remove margin as details are moved out */
    }
    
    .tag {
        font-size: 0.7rem;
        padding: 2px 8px;
    }

    /* Move detailed text below */
    .cooling-details {
        position: absolute;
        top: 350px; /* Below image area */
        left: 0;
        width: 100%;
        padding: 20px 20px 40px 20px;
    }
    
    .cooling-details p {
        display: block;
        font-size: 0.85rem;
        line-height: 1.5;
        margin-bottom: 12px;
        color: #bbb;
    }

    .cooling::after {
        content: none;
    }
}

/* Workspace Slide Specific Layout (Desktop) - Adjusted for new general layout */
@media (min-width: 769px) {
    #slide-workspace .features-list {
        margin-top: 0; /* Let general margin-bottom:auto on title handle spacing */
        padding-top: 0;
    }
}

.carousel-img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    display: block;
    object-fit: contain; /* Ensure image fits well */
}

/* Universal Compatibility Mobile Overrides */
@media (max-width: 768px) {
    .universal .desktop-img {
        display: none;
    }
    
    .universal .mobile-img {
        display: block;
    }
    
    .universal {
        min-height: auto;
        height: auto;
        display: flex;
        flex-direction: column;
        padding: 0;
        background-color: #000;
    }
    
    .universal-bg-wrapper {
        position: relative;
        width: 100%;
        height: auto;
        order: 1; /* Image first */
    }
    
    .universal-bg-img {
        position: relative;
        width: 100%;
        height: auto;
        object-fit: contain;
    }
    
    .universal .container {
        position: relative;
        height: auto;
        display: block;
        padding: 40px 20px;
        order: 2; /* Text second */
    }
    
    .universal-text {
        width: 100%;
        max-width: 100%;
        text-align: center;
    }
    
    .universal-text h2 {
        font-size: 2rem;
        text-align: center;
    }
    
    .universal-text p {
        text-align: center;
        margin-left: auto;
        margin-right: auto;
    }
}

/* Scroll Animation */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

