/* Remode - Responsive Styles */
/* Generated: Thu Aug  7 10:12:26 CEST 2025 */

/* ===== From responsive-fixes.css ===== */
/* ===================================================================
   RESPONSIVE FIXES - Smart Displays & Tall Phones
   =================================================================== */

/* Nest Hub / Smart Displays - Landscape orientation */
@media (max-width: 1024px) and (orientation: landscape) and (max-height: 600px) {
    .hero-headline {
        font-size: clamp(36px, 6vw, 56px) !important;
        line-height: 1.05 !important;
        margin-bottom: 16px !important;
    }
    
    .hero-subheadline {
        font-size: 16px !important;
        margin-bottom: 24px !important;
        max-width: 70%;
    }
    
    .hero-content {
        padding-top: 15px !important; /* Much closer to top */
        padding-bottom: 4vh !important;
    }
    
    /* Hide less critical elements to save vertical space */
    .hero-brand-logos {
        display: none !important;
    }
    
    .credibility-row {
        font-size: 0.75rem !important;
        margin-bottom: 16px !important;
    }
    
    .scroll-cta {
        display: none !important; /* Remove on landscape */
    }
    
    /* Smaller badges */
    .app-badge img {
        height: 40px !important;
    }
}

/* Samsung Galaxy A51/71 and other tall phones (20:9 ratio) */
@media (max-width: 480px) and (min-aspect-ratio: 2/1) {
    .hero {
        min-height: 100vh;
        max-height: 100vh;
        overflow-y: auto;
        overflow-x: hidden;
    }
    
    .hero-content {
        padding-top: 15px !important; /* Much closer to top */
        min-height: 100vh;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
    }
    
    .hero-headline {
        font-size: clamp(42px, 11vw, 52px) !important;
        margin-bottom: 20px !important;
    }
    
    .hero-subheadline {
        margin-bottom: 36px !important;
    }
    
    /* Stack badges vertically if needed */
    .hero-app-badges {
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px !important;
        margin-bottom: 24px !important;
    }
    
    /* Compact brand logos */
    .hero-brand-logos {
        gap: 10px 14px !important;
        margin-bottom: 20px !important;
        max-width: 95vw;
    }
    
    .hero-brand-logo {
        height: 16px !important;
    }
    
    /* Move CTA to fixed position at bottom */
    .scroll-cta {
        position: fixed;
        bottom: 20px;
        left: 50%;
        transform: translateX(-50%);
        z-index: 50;
        background: rgba(0, 0, 0, 0.8);
        backdrop-filter: blur(10px);
    }
    
    /* Ensure content doesn't get cut off */
    .hero-main {
        padding-bottom: 80px !important; /* Space for fixed CTA */
    }
}

/* Extra small landscape (like Nest Hub in landscape) */
@media (max-height: 480px) and (orientation: landscape) {
    .hero-content {
        padding: 20px !important;
    }
    
    .hero-headline {
        font-size: 32px !important;
        margin-bottom: 12px !important;
    }
    
    .hero-subheadline {
        font-size: 14px !important;
        margin-bottom: 20px !important;
    }
    
    /* Hide everything except essential elements */
    .app-badges-subtext,
    .hero-brand-logos,
    .credibility-row,
    .scroll-cta {
        display: none !important;
    }
}

/* Ensure video doesn't get cut off on wide displays */
@media (min-aspect-ratio: 21/9) {
    .hero-video {
        object-fit: contain;
        background: #000;
    }
}

/* Fix text overlap on ultra-wide displays */
@media (min-aspect-ratio: 16/9) and (max-height: 800px) {
    .hero-text-section {
        max-width: 45vw !important;
        background: linear-gradient(to right, 
            rgba(0, 0, 0, 0.8) 0%,
            rgba(0, 0, 0, 0.6) 70%,
            transparent 100%);
        padding: 20px 30px;
        border-radius: 0 12px 12px 0;
    }
}

/* ===================================================================
   TABLET FIXES - Samsung & Other Tablets (Portrait & Landscape)
   =================================================================== */

/* Standard tablets in portrait (iPad, Samsung Tab, etc.) */
@media (min-width: 768px) and (max-width: 1024px) and (orientation: portrait) {
    .hero {
        min-height: 100vh;
        height: 100vh;
    }
    
    .hero-content {
        padding: 8vh 40px !important;
        align-items: center !important;
        justify-content: center !important;
    }
    
    .hero-main {
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
        width: 100%;
        max-width: 600px;
    }
    
    .hero-text-section {
        align-items: center !important;
        text-align: center !important;
        width: 100%;
    }
    
    .hero-headline {
        font-size: clamp(48px, 8vw, 72px) !important;
        line-height: 1.1 !important;
        margin-bottom: 24px !important;
        text-align: center !important;
    }
    
    .hero-subheadline {
        font-size: clamp(18px, 2.5vw, 22px) !important;
        line-height: 1.5 !important;
        margin-bottom: 40px !important;
        max-width: 85%;
        text-align: center !important;
    }
    
    .hero-app-badges {
        justify-content: center !important;
        gap: 16px !important;
        margin-bottom: 24px !important;
    }
    
    .app-badge img {
        height: 48px !important;
    }
    
    .app-badges-subtext {
        text-align: center !important;
        margin-bottom: 32px !important;
    }
    
    /* Brand logos - make them wrap properly */
    .hero-brand-logos {
        flex-wrap: wrap !important;
        justify-content: center !important;
        gap: 16px 24px !important;
        margin-bottom: 28px !important;
        max-width: 100%;
    }
    
    .hero-brand-logo {
        height: 24px !important;
    }
    
    /* Properly size custom logos */
    .hero-brand-logos img[src="asos-white.png"] {
        height: 28px !important;
        min-height: 28px !important;
        max-height: 28px !important;
    }
    
    .hero-brand-logos img[src="uniqlo-logo-transparent.png"] {
        height: 24px !important;
        min-height: 24px !important;
        max-height: 24px !important;
    }
    
    .credibility-row {
        justify-content: center !important;
        flex-wrap: wrap !important;
        gap: 8px 16px !important;
        margin-bottom: 32px !important;
    }
    
    .scroll-cta {
        margin: 0 auto !important;
    }
}

/* Tablets in landscape mode */
@media (min-width: 768px) and (max-width: 1280px) and (orientation: landscape) {
    .hero-content {
        padding: 6vh 60px !important;
    }
    
    .hero-main {
        align-items: center !important;
    }
    
    .hero-headline {
        font-size: clamp(42px, 5vw, 56px) !important;
        line-height: 1.1 !important;
        margin-bottom: 20px !important;
    }
    
    .hero-subheadline {
        font-size: clamp(16px, 1.8vw, 19px) !important;
        margin-bottom: 32px !important;
    }
    
    .hero-app-badges {
        gap: 12px !important;
        margin-bottom: 20px !important;
    }
    
    .app-badge img {
        height: 44px !important;
    }
    
    /* Compact brand logos in landscape */
    .hero-brand-logos {
        gap: 12px 20px !important;
        margin-bottom: 24px !important;
    }
    
    .hero-brand-logo {
        height: 20px !important;
    }
    
    .credibility-row {
        font-size: 0.875rem !important;
        margin-bottom: 24px !important;
    }
}

/* Samsung Galaxy Tab specific (common resolutions) */
@media (width: 800px), (width: 1280px) {
    .hero-content {
        padding: 6vh 5vw !important;
    }
    
    /* Ensure proper centering on Samsung tabs */
    .hero-main {
        margin: 0 auto !important;
        width: 100% !important;
    }
}

/* Fix for tablets with non-standard aspect ratios */
@media (min-width: 600px) and (max-width: 1024px) {
    /* Ensure video covers properly */
    .hero-video {
        object-fit: cover !important;
        object-position: center center !important;
    }
    
    /* Prevent content overflow */
    .hero {
        overflow-x: hidden !important;
        overflow-y: auto !important;
    }
    
    /* Ensure gradient overlay works on all tablets */
    .gradient-overlay {
        position: absolute !important;
        inset: 0 !important;
    }
}

/* Small tablets and large phones in landscape */
@media (min-width: 568px) and (max-width: 812px) and (orientation: landscape) {
    .hero-content {
        padding: 4vh 40px !important;
    }
    
    .hero-headline {
        font-size: 36px !important;
        margin-bottom: 16px !important;
    }
    
    .hero-subheadline {
        font-size: 15px !important;
        margin-bottom: 24px !important;
    }
    
    /* Hide brand logos to save space */
    .hero-brand-logos {
        display: none !important;
    }
    
    .app-badge img {
        height: 40px !important;
    }
    
    .credibility-row {
        font-size: 0.75rem !important;
    }
}

/* Fix for how-works section on tablets */
@media (min-width: 768px) and (max-width: 1024px) {
    .how-flow {
        flex-direction: column !important;
        gap: 40px !important;
        align-items: center !important;
    }
    
    .how-step {
        max-width: 400px !important;
        width: 100% !important;
    }
    
    .premium-mockup {
        max-width: 360px !important;
        margin: 0 auto !important;
    }
}

/* Testimonials section tablet fixes */
@media (min-width: 768px) and (max-width: 1024px) {
    .testimonials-grid {
        grid-template-columns: 1fr !important;
        gap: 24px !important;
        max-width: 600px !important;
        margin: 0 auto !important;
    }
    
    .testimonial-card {
        padding: 32px !important;
    }
}

/* Why Remode section tablet fixes */
@media (min-width: 768px) and (max-width: 1024px) {
    .benefits-grid {
        grid-template-columns: 1fr !important;
        gap: 32px !important;
        max-width: 500px !important;
        margin: 0 auto !important;
    }
    
    .benefit-card {
        padding: 40px !important;
    }
}

/* Footer tablet fixes */
@media (min-width: 768px) and (max-width: 1024px) {
    .footer-content {
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
        gap: 40px !important;
    }
    
    .footer-nav {
        flex-direction: row !important;
        justify-content: center !important;
        gap: 40px !important;
    }
    
    .footer-column {
        text-align: center !important;
    }
}

/* Scanner UI tablet fixes */
@media (min-width: 768px) and (max-width: 1024px) {
    /* Adjust scanner UI positioning for tablets */
    .scanner-ui {
        transform: scale(0.9);
        transform-origin: center;
    }
    
    .scan-frame {
        width: 60% !important;
        height: 45% !important;
    }
    
    .camera-button {
        width: 56px !important;
        height: 56px !important;
        bottom: 15% !important;
    }
    
    .zoom-control {
        bottom: calc(15% + 56px + 55px) !important;
        font-size: 14px !important;
    }
    
    .ui-button {
        width: 36px !important;
        height: 36px !important;
    }
    
    .ui-button svg {
        width: 18px !important;
        height: 18px !important;
    }
    
    .scanner-text {
        font-size: 13px !important;
        padding: 10px 16px !important;
    }
}

/* Ensure proper container width on tablets */
@media (min-width: 768px) and (max-width: 1024px) {
    .container {
        max-width: 100% !important;
        padding: 0 40px !important;
    }
    
    section {
        padding: 60px 0 !important;
    }
    
    /* Ensure all content is properly contained */
    body {
        overflow-x: hidden !important;
    }
}
/* ===== From device-complete-fixes.css ===== */
/* ===================================================================
   COMPLETE DEVICE COVERAGE - All Mobile & Tablet Devices
   Tested for: iPhone SE to 15 Pro Max, All iPads, Samsung Galaxy,
   Pixel phones, Foldables, and all common tablets
   =================================================================== */

/* ===================================================================
   SMALL PHONES (iPhone SE, older Android phones)
   =================================================================== */
@media (max-width: 375px) {
    .hero-content {
        padding: 5px 16px 20px 16px !important; /* Only 5px top padding */
    }
    
    .hero-headline {
        font-size: 36px !important;
        line-height: 1.1 !important;
        margin-bottom: 16px !important;
    }
    
    .hero-subheadline {
        font-size: 14px !important;
        line-height: 1.4 !important;
        margin-bottom: 24px !important;
    }
    
    .hero-app-badges {
        flex-direction: column !important;
        gap: 12px !important;
        margin-bottom: 20px !important;
    }
    
    .app-badge img {
        height: 44px !important;
        max-width: 160px !important;
    }
    
    .hero-brand-logos {
        gap: 8px 12px !important;
        margin-bottom: 16px !important;
    }
    
    .hero-brand-logo {
        height: 14px !important;
    }
    
    .credibility-row {
        font-size: 0.7rem !important;
        gap: 4px 8px !important;
    }
    
    /* How it works section */
    .how-step {
        padding: 24px 16px !important;
    }
    
    .premium-mockup {
        max-width: 280px !important;
    }
    
    .step-title {
        font-size: 1.125rem !important;
    }
    
    .step-desc {
        font-size: 0.8rem !important;
    }
}

/* ===================================================================
   STANDARD PHONES (iPhone 12-15, Samsung Galaxy S series, Pixels)
   =================================================================== */
@media (min-width: 376px) and (max-width: 430px) {
    .hero-content {
        padding: 10vh 24px 60px !important;
    }
    
    .hero-headline {
        font-size: clamp(38px, 10vw, 48px) !important;
        margin-bottom: 18px !important;
    }
    
    .hero-subheadline {
        font-size: 15px !important;
        margin-bottom: 28px !important;
        max-width: 90%;
    }
    
    .hero-app-badges {
        gap: 12px !important;
        margin-bottom: 24px !important;
    }
    
    .app-badge img {
        height: 46px !important;
    }
    
    /* Fix brand logos wrapping */
    .hero-brand-logos {
        display: flex !important;
        flex-wrap: wrap !important;
        justify-content: flex-start !important;
        gap: 10px 16px !important;
        margin-bottom: 20px !important;
    }
    
    .hero-brand-logo {
        height: 16px !important;
    }
    
    /* Hide dividers on mobile for clean wrapping */
    .brand-divider {
        display: none !important;
    }
    
    .credibility-row {
        font-size: 0.75rem !important;
        flex-wrap: wrap !important;
        justify-content: center !important;
        gap: 6px 12px !important;
    }
}

/* ===================================================================
   LARGE PHONES & PHABLETS (Pro Max models, Plus models)
   =================================================================== */
@media (min-width: 431px) and (max-width: 480px) {
    .hero-content {
        padding: 12vh 30px 80px !important;
    }
    
    .hero-headline {
        font-size: clamp(42px, 11vw, 52px) !important;
    }
    
    .hero-subheadline {
        font-size: 16px !important;
        margin-bottom: 32px !important;
    }
    
    .hero-brand-logos {
        gap: 12px 18px !important;
    }
    
    .hero-brand-logo {
        height: 18px !important;
    }
}

/* ===================================================================
   LANDSCAPE PHONES (All phones in landscape)
   =================================================================== */
@media (max-width: 932px) and (orientation: landscape) and (max-height: 430px) {
    .hero {
        min-height: 100vh !important;
    }
    
    .hero-content {
        padding: 4vh 40px !important;
    }
    
    .hero-headline {
        font-size: 32px !important;
        margin-bottom: 12px !important;
    }
    
    .hero-subheadline {
        font-size: 14px !important;
        margin-bottom: 20px !important;
        max-width: 70%;
    }
    
    .hero-app-badges {
        gap: 10px !important;
        margin-bottom: 16px !important;
    }
    
    .app-badge img {
        height: 36px !important;
    }
    
    /* Hide non-essential elements in landscape */
    .hero-brand-logos,
    .app-badges-subtext,
    .scroll-cta {
        display: none !important;
    }
    
    .credibility-row {
        font-size: 0.7rem !important;
        margin-bottom: 0 !important;
    }
}

/* ===================================================================
   FOLDABLE PHONES (Galaxy Z Fold, Z Flip, Surface Duo)
   =================================================================== */
/* Folded state */
@media (min-width: 280px) and (max-width: 360px) and (min-height: 600px) {
    .hero-content {
        padding: 8vh 16px !important;
    }
    
    .hero-headline {
        font-size: 34px !important;
    }
    
    .hero-brand-logos {
        gap: 8px 12px !important;
    }
    
    .hero-brand-logo {
        height: 14px !important;
    }
}

/* Unfolded state (tablet-like) */
@media (min-width: 768px) and (max-width: 884px) and (min-height: 1000px) {
    .hero-content {
        padding: 10vh 50px !important;
    }
    
    .hero-main {
        max-width: 700px !important;
    }
    
    .hero-headline {
        font-size: 56px !important;
    }
    
    .hero-subheadline {
        font-size: 20px !important;
    }
}

/* ===================================================================
   iPAD MINI (Portrait & Landscape)
   =================================================================== */
@media (width: 768px) and (height: 1024px), 
       (width: 1024px) and (height: 768px),
       (width: 744px) and (height: 1133px),
       (width: 1133px) and (height: 744px) {
    .hero-content {
        padding: 8vh 40px !important;
    }
    
    .hero-headline {
        font-size: clamp(48px, 7vw, 64px) !important;
    }
    
    .hero-subheadline {
        font-size: 19px !important;
        margin-bottom: 36px !important;
    }
    
    .hero-brand-logos {
        gap: 16px 24px !important;
    }
    
    .hero-brand-logo {
        height: 22px !important;
    }
}

/* ===================================================================
   iPAD AIR & STANDARD iPAD (Portrait & Landscape)
   =================================================================== */
@media (width: 820px) and (height: 1180px),
       (width: 1180px) and (height: 820px),
       (width: 810px) and (height: 1080px),
       (width: 1080px) and (height: 810px) {
    .hero-content {
        padding: 10vh 50px !important;
    }
    
    .hero-headline {
        font-size: 60px !important;
    }
    
    .hero-subheadline {
        font-size: 20px !important;
    }
    
    .app-badge img {
        height: 50px !important;
    }
}

/* ===================================================================
   iPAD PRO 11" & 12.9" (Portrait & Landscape)
   =================================================================== */
@media (width: 834px) and (height: 1194px),
       (width: 1194px) and (height: 834px),
       (width: 1024px) and (height: 1366px),
       (width: 1366px) and (height: 1024px) {
    .hero-content {
        padding: 12vh 60px !important;
    }
    
    .hero-main {
        max-width: 800px !important;
    }
    
    .hero-headline {
        font-size: clamp(56px, 6vw, 72px) !important;
    }
    
    .hero-subheadline {
        font-size: 22px !important;
        margin-bottom: 40px !important;
    }
    
    .hero-brand-logos {
        gap: 20px 30px !important;
    }
    
    .hero-brand-logo {
        height: 26px !important;
    }
}

/* ===================================================================
   ANDROID TABLETS (Samsung Galaxy Tab, Pixel Tablet, etc.)
   =================================================================== */
/* Galaxy Tab A */
@media (width: 800px) and (height: 1280px),
       (width: 1280px) and (height: 800px) {
    .hero-content {
        padding: 8vh 45px !important;
        text-align: center !important;
    }
    
    .hero-main {
        align-items: center !important;
    }
    
    .hero-headline {
        font-size: 54px !important;
        text-align: center !important;
    }
    
    .hero-text-section {
        align-items: center !important;
    }
    
    .hero-app-badges {
        justify-content: center !important;
    }
}

/* Pixel Tablet & Galaxy Tab S series */
@media (width: 1600px) and (height: 2560px),
       (width: 2560px) and (height: 1600px) {
    .hero-content {
        padding: 10vh 80px !important;
    }
    
    .hero-headline {
        font-size: 80px !important;
    }
    
    .hero-subheadline {
        font-size: 26px !important;
    }
    
    .hero-brand-logo {
        height: 32px !important;
    }
}

/* ===================================================================
   ULTRA-WIDE & TALL PHONES (20:9, 21:9 aspect ratios)
   =================================================================== */
@media (max-width: 480px) and (min-aspect-ratio: 2.1) {
    .hero {
        min-height: 100vh !important;
        max-height: none !important;
    }
    
    .hero-content {
        min-height: 100vh !important;
        padding-top: 10vh !important;
        padding-bottom: 10vh !important;
    }
    
    /* Adjust scanner UI for tall phones */
    .scan-frame {
        height: 40% !important;
    }
}

/* ===================================================================
   FIXES FOR ALL DEVICES - Universal improvements
   =================================================================== */
/* Ensure text is always readable */
@media (max-width: 1024px) {
    /* Fix text cutoff issues */
    .hero-headline br {
        display: none !important;
    }
    
    .hero-headline {
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
        hyphens: auto !important;
    }
    
    /* Ensure buttons are touchable */
    .app-badge,
    .scroll-cta,
    button {
        min-height: 44px !important;
        min-width: 44px !important;
    }
    
    /* Fix overflow issues */
    body,
    .hero,
    section {
        overflow-x: hidden !important;
    }
    
    /* Ensure video background works everywhere */
    .hero-video {
        object-fit: cover !important;
        width: 100% !important;
        height: 100% !important;
    }
    
    /* Fix z-index issues on mobile */
    .hero-content {
        z-index: 20 !important;
    }
    
    .gradient-overlay {
        z-index: 10 !important;
    }
    
    /* Ensure sections have proper spacing */
    section {
        padding: 60px 20px !important;
    }
    
    .container {
        padding: 0 20px !important;
    }
}

/* Safe area insets for notched devices */
@supports (padding: env(safe-area-inset-left)) {
    .hero-content,
    .container,
    section {
        padding-left: max(20px, env(safe-area-inset-left)) !important;
        padding-right: max(20px, env(safe-area-inset-right)) !important;
    }
    
    .hero-content {
        padding-top: 20px !important; /* Remove safe area inset */
    }
    
    .footer {
        padding-bottom: max(20px, env(safe-area-inset-bottom)) !important;
    }
}

/* High resolution displays */
@media (-webkit-min-device-pixel-ratio: 3), (min-resolution: 288dpi) {
    .hero-brand-logo {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* Prevent horizontal scroll and double scrollbar */
html {
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: auto !important; /* Let HTML handle scrolling */
}

body {
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow-x: hidden !important;
    overflow-y: visible !important; /* Don't create second scrollbar */
}

/* Ensure footer is the last element */
.footer {
    margin-bottom: 0 !important;
    padding-bottom: 24px !important; /* Final padding inside footer */
}

/* Remove any extra space after footer */
body > *:last-child {
    margin-bottom: 0 !important;
}

/* Ensure body ends at footer */
body::after {
    display: none !important;
}

/* Remove any phantom spacing */
html, body {
    height: auto !important; /* Don't force 100% height */
}

/* Ensure footer is truly the end */
.footer + * {
    display: none !important;
}

/* Fix for devices with rounded corners */
@media (max-width: 480px) {
    .hero,
    .hero-content {
        border-radius: 0 !important;
    }
}

/* ===================================================================
   FINAL EDGE CASE FIXES
   =================================================================== */

/* Fix for Surface Duo dual screen */
@media (width: 540px) and (height: 720px) {
    .hero-content {
        padding: 6vh 30px !important;
    }
    
    .hero-headline {
        font-size: 40px !important;
    }
}

/* Nintendo Switch Browser */
@media (width: 1280px) and (height: 720px) {
    .hero-content {
        padding: 4vh 40px !important;
    }
    
    .hero-headline {
        font-size: 48px !important;
    }
    
    .hero-subheadline {
        font-size: 18px !important;
    }
}

/* Fix white space at bottom on some devices */
@media (max-width: 1024px) {
    .hero {
        min-height: 100vh !important;
        min-height: 100dvh !important; /* Dynamic viewport height */
        max-height: 100vh !important;
        max-height: 100dvh !important;
    }
    
    /* Fix for when keyboard appears */
    .hero:has(input:focus, textarea:focus) {
        min-height: auto !important;
    }
}

/* Fix brand logos alignment on all mobile devices */
@media (max-width: 768px) {
    .hero-brand-logos {
        display: flex !important;
        flex-wrap: wrap !important;
        justify-content: flex-start !important;
        align-items: center !important;
        width: 100% !important;
        max-width: 100% !important;
    }
    
    /* Remove all dividers on mobile */
    .brand-divider {
        display: none !important;
    }
    
    /* Ensure consistent logo sizes */
    .hero-brand-logo {
        flex-shrink: 0 !important;
        width: auto !important;
        object-fit: contain !important;
    }
    
    /* Special handling for problem logos */
    .hero-brand-logos img[src="asos-white.png"] {
        height: 18px !important;
        min-height: 18px !important;
        max-height: 18px !important;
    }
    
    .hero-brand-logos img[src="uniqlo-logo-transparent.png"] {
        height: 16px !important;
        min-height: 16px !important;
        max-height: 16px !important;
    }
    
    .hero-brand-logos img[src="farfetch-white.png"] {
        height: 16px !important;
        min-height: 16px !important;
        max-height: 16px !important;
    }
}

/* Ensure touch targets are accessible */
@media (pointer: coarse) {
    .app-badge,
    button,
    a {
        min-height: 48px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }
    
    .scroll-cta {
        padding: 12px 24px !important;
    }
}

/* Fix for PWA and standalone mode */
@media (display-mode: standalone) {
    .hero-content {
        padding-top: max(10vh, 44px) !important;
    }
}

/* Performance optimization for low-end devices */
@media (max-width: 768px) and (prefers-reduced-motion: reduce) {
    * {
        animation: none !important;
        transition: none !important;
    }
    
    .hero-video {
        display: none !important;
    }
    
    .hero-background {
        background: #000 url('sidewalk.png') center/cover !important;
    }
}

/* Dark mode support for better visibility */
@media (prefers-color-scheme: dark) {
    .hero-brand-logo {
        opacity: 0.95 !important;
    }
}

/* Fix testimonial cards on tablets */
@media (min-width: 600px) and (max-width: 1024px) {
    .testimonials-grid {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }
    
    .testimonial-card.featured {
        grid-column: 1 !important;
    }
    
    .author-avatar {
        width: 44px !important;
        height: 44px !important;
    }
}

/* Fix section padding consistency */
@media (max-width: 768px) {
    .how-works,
    .testimonials-section,
    .why-remode {
        padding: 60px 20px !important;
    }
    
    .how-works h2,
    .testimonials-section h2,
    .why-remode h2 {
        font-size: 2rem !important;
        margin-bottom: 16px !important;
    }
}

/* Ensure footer is readable on all devices */
@media (max-width: 480px) {
    .footer {
        padding: 40px 20px 20px !important;
    }
    
    .footer-privacy-statement {
        font-size: 0.875rem !important;
        margin-bottom: 30px !important;
    }
    
    .footer-logo {
        font-size: 1.5rem !important;
    }
    
    .footer-apps {
        margin-top: 20px !important;
    }
    
    .footer-app-badge img {
        height: 36px !important;
    }
}

/* Profile picture responsive fixes */
@media (max-width: 480px) {
    .author-avatar {
        width: 40px !important;
        height: 40px !important;
        border-width: 2px !important;
    }
    
    .testimonial-author {
        gap: 10px !important;
    }
    
    .author-name {
        font-size: 0.9rem !important;
    }
}

/* Extra small devices */
@media (max-width: 375px) {
    .author-avatar {
        width: 36px !important;
        height: 36px !important;
    }
    
    .testimonial-author {
        gap: 8px !important;
    }
}
/* ===== From responsive-display-perfect.css ===== */
/* HERO SECTION TEXT SPACING & VISIBILITY */

/* IMPORTANT: Desktop (1024px+) uses original styles - no overrides */
/* This CSS only affects screens BELOW 1024px */

/* iPad Air, iPad Mini, Asus Zenbook Fold (768-1023px) */
@media (min-width: 768px) and (max-width: 1023px) {
  .hero-content {
    padding: 30px 40px !important;
  }
  .hero-headline {
    font-size: 56px !important;
    line-height: 1.05 !important;
    margin-bottom: 16px !important;
  }
  .hero-subheadline {
    font-size: 18px !important;
    line-height: 1.3 !important;
    margin-bottom: 24px !important;
  }
}

/* Nest Hub portrait (600-767px) */
@media (min-width: 600px) and (max-width: 767px) and (orientation: portrait) {
  .hero-content {
    padding: 25px 30px !important;
    min-height: 100vh !important;
  }
  .hero-headline {
    font-size: 48px !important;
    line-height: 1.05 !important;
  }
  /* Ensure all content fits on Nest Hub's unique aspect ratio */
  .hero-brands-wrapper {
    margin-top: 15px !important;
  }
}

/* Surface Duo (540px wide) - Special dual-screen handling */
@media (width: 540px) {
  .hero-content {
    padding: 20px 25px !important;
  }
  .hero-headline {
    font-size: 44px !important;
    line-height: 1.05 !important;
    margin-bottom: 12px !important;
  }
  /* Optimize for dual-screen layout */
  .hero-brands-row {
    justify-content: space-evenly !important;
  }
}

/* Large phones (414-479px) - iPhone 14 Pro Max, Galaxy S20 Ultra, Pixel 7 */
@media (min-width: 414px) and (max-width: 479px) {
  .hero-content {
    padding: 15px 20px !important;
  }
  .hero-headline {
    font-size: 40px !important;
    line-height: 1.0 !important;
    margin-bottom: 10px !important;
  }
  .hero-subheadline {
    font-size: 15px !important;
    line-height: 1.25 !important;
    margin-bottom: 18px !important;
  }
}

/* Standard Pro phones (390-413px) - iPhone 12/13/14 Pro, Galaxy A51/71 */
@media (min-width: 390px) and (max-width: 413px) {
  .hero-content {
    padding: 12px 18px !important;
  }
  .hero-headline {
    font-size: 38px !important;
    line-height: 0.95 !important;
    margin-bottom: 8px !important;
  }
  .hero-subheadline {
    font-size: 14px !important;
    line-height: 1.2 !important;
    margin-bottom: 16px !important;
  }
}

/* iPhone SE specific - EVERYTHING must fit in 667px height */
@media screen and (max-width: 375px) and (max-height: 667px) {
  /* Override iphone-se-final-fix.css with MORE specific selectors */
  html body .hero .hero-content {
    padding: 2px 16px 2px 16px !important;
    height: 100vh !important;
    max-height: 667px !important;
    overflow: hidden !important;
  }
  
  html body .hero .hero-headline {
    font-size: 30px !important;
    line-height: 28px !important;
    margin-bottom: 2px !important;
    margin-top: 0 !important;
  }
  
  html body .hero .hero-subheadline {
    font-size: 10px !important;
    line-height: 12px !important;
    margin-bottom: 2px !important;
  }
  
  html body .hero .hero-app-badges {
    margin-top: 4px !important;
    margin-bottom: 0 !important;
  }
  
  html body .hero .download-subtitle {
    margin-top: 2px !important;
    margin-bottom: 0px !important;
    font-size: 7px !important;
  }
  
  /* Adjust spacing - not too high */
  html body .hero .hero-brands-inline {
    margin-top: 2px !important; /* Changed from -4px */
    width: 100% !important;
  }
  
  html body .hero .hero-brands-wrapper {
    margin-top: 0px !important; /* Changed from -4px */
    width: 100% !important;
  }
  
  html body .hero .brands-intro {
    font-size: 7px !important;
    margin-bottom: 2px !important;
    text-align: center !important;
    width: 100% !important;
    display: block !important;
  }
  
  html body .hero .hero-brands-row {
    margin-bottom: 1px !important;
    gap: 4px !important;
    justify-content: center !important;
    width: 100% !important;
  }
  
  html body .hero .brand-logo {
    height: 9px !important;
  }
  
  html body .hero .credibility-row {
    font-size: 7.5px !important;
    margin-top: 4px !important; /* Increased from 1px */
    margin-bottom: 2px !important; /* Added small bottom margin */
    gap: 4px 8px !important;
    justify-content: center !important;
  }
  
  /* Hide scroll CTA */
  .scroll-cta {
    display: none !important;
  }
}

/* Galaxy Z Fold closed (344px) */
@media (width: 344px) {
  .hero-content {
    padding: 8px 14px !important;
  }
  .hero-headline {
    font-size: 34px !important;
    line-height: 0.9 !important;
    margin-bottom: 6px !important;
  }
  /* Extra narrow - stack content efficiently */
  .hero-brands-row {
    gap: 4px !important;
  }
}

/* BRAND LOGOS - Ensure 2 rows of 5 on mobile/tablet only */
@media (max-width: 1023px) {
  .hero-brands-wrapper {
    width: 100% !important;
  }

  .hero-brands-row {
    display: flex !important;
    flex-wrap: nowrap !important;
    justify-content: center !important;
    width: 100% !important;
    gap: 8px !important;
  }
}

/* Scale brand logos based on screen width */
@media (max-width: 414px) {
  .brand-logo {
    height: 14px !important;
    max-width: 18% !important; /* Ensures 5 fit in row */
  }
}

@media (min-width: 415px) and (max-width: 767px) {
  .brand-logo {
    height: 16px !important;
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .brand-logo {
    height: 20px !important;
  }
}

/* CREDIBILITY ROW - Always visible on mobile/tablet */
@media (max-width: 1023px) {
  .credibility-row {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 8px 12px !important;
    width: 100% !important;
    margin-top: auto !important; /* Push to bottom */
  }

  /* FREE TO DOWNLOAD TEXT */
  .download-subtitle {
    opacity: 0.8 !important;
    margin-top: 12px !important;
    margin-bottom: 8px !important;
  }
}

/* VERTICAL CENTERING FIX */
@media (max-height: 700px) {
  .hero-content {
    justify-content: flex-start !important;
    padding-top: 10px !important;
  }
}

/* LANDSCAPE ORIENTATION FIXES */
@media (orientation: landscape) and (max-height: 500px) {
  .hero-headline {
    font-size: 32px !important;
    margin-bottom: 5px !important;
  }
  .hero-subheadline {
    font-size: 12px !important;
    margin-bottom: 10px !important;
  }
  .hero-content {
    padding: 10px 20px !important;
  }
}

/* ENSURE FULL HEIGHT USAGE - Only for screens below 1024px */
@media (max-width: 1023px) {
  .hero {
    min-height: 100vh !important;
    height: 100vh !important;
  }

  .hero-content {
    min-height: 100vh !important;
    height: 100vh !important;
    display: flex !important;
    flex-direction: column !important;
    overflow: hidden !important; /* Prevent scrolling */
  }
}

/* TYPOGRAPHY CONSISTENCY */
* {
  -webkit-font-smoothing: antialiased !important;
  -moz-osx-font-smoothing: grayscale !important;
}

/* Remove any interfering padding/margins */
body, html {
  margin: 0 !important;
  padding: 0 !important;
  overflow-x: hidden !important;
}

/* Desktop-only improvements - MINIMUM 1025px to avoid tablets */
@media (min-width: 1025px) {
  /* Larger subheadline for better readability */
  .hero-subheadline {
    font-size: 26px !important; /* Was 24px */
  }
  
  /* Make "Free to download" more prominent */
  .download-subtitle {
    font-size: 16px !important;
    opacity: 0.9 !important; /* Was 0.8 */
    font-weight: 500 !important;
  }
  
  /* Enhance "See How It Works" button */
  .see-how-it-works-btn {
    padding: 16px 32px !important;
    font-size: 18px !important;
    font-weight: 600 !important;
  }
  
  /* Slightly increase brand logo contrast */
  .brand-logo {
    opacity: 0.8 !important; /* Was ~0.6 */
  }
  
  .brand-logo:hover {
    opacity: 1 !important;
  }
}


/* ===== From mobile-optimization-complete.css ===== */
/* Comprehensive mobile and tablet optimization fixes */

/* Fix brand logo sizes for consistency on mobile */
@media (max-width: 768px) {
  /* Normalize all brand logos to consistent heights */
  .brand-logo {
    height: 18px !important;
    width: auto !important;
    max-width: 80px !important; /* Prevent logos from being too wide */
  }
  
  /* Specific adjustments for logos that need different sizes */
  .brand-logo[src="asos-white.png"] {
    height: 22px !important; /* ASOS needs to be bigger */
  }
  
  .brand-logo[src="uniqlo-logo-transparent.png"] {
    height: 20px !important; /* UNIQLO slightly bigger */
  }
  
  .brand-logo[src="chanel-white-transparent.png"] {
    height: 22px !important; /* Chanel bigger */
  }
  
  .brand-logo[alt="Nike"] {
    height: 16px !important; /* Nike swoosh is wide, keep smaller */
  }
  
  .brand-logo[alt="H&M"] {
    height: 20px !important; /* H&M needs to be visible */
  }
  
  /* Ensure app badges are same size on mobile */
  .app-badge img {
    height: 40px !important;
    width: auto !important;
  }
  
  /* Force both Apple and Google badges to same height */
  .app-badge:first-child img,
  .app-badge:last-child img {
    height: 40px !important;
    max-width: none !important;
  }
  
  /* Make subtitle more proportional to title */
  .hero-subheadline {
    font-size: 15px !important;
    line-height: 1.4 !important;
  }
  
  /* Smaller "Free to download" text */
  .download-subtitle {
    font-size: 12px !important;
    opacity: 0.8 !important;
    margin-bottom: 12px !important;
  }
  
  /* More compact credibility row */
  .credibility-row {
    font-size: 11px !important;
    gap: 8px 12px !important;
  }
  
  .credibility-divider {
    opacity: 0.4 !important;
  }
}

/* Tablet specific optimizations */
@media (min-width: 769px) and (max-width: 1024px) {
  /* Ensure hero fills viewport on tablets */
  .hero {
    height: 100vh !important;
    max-height: 100vh !important;
  }
  
  /* Better spacing for tablets */
  .hero-content {
    padding: 30px 60px !important; /* Move content higher on tablets too */
  }
  
  /* Larger elements for tablets */
  .hero-headline {
    font-size: 56px !important;
  }
  
  .hero-subheadline {
    font-size: 20px !important;
  }
  
  /* Ensure app badges are same size on tablets */
  .app-badge img {
    height: 48px !important;
    width: auto !important;
  }
  
  .app-badge:first-child img,
  .app-badge:last-child img {
    height: 48px !important;
  }
  
  .brand-logo {
    height: 24px !important;
  }
  
  /* Specific tablet brand adjustments */
  .brand-logo[src="asos-white.png"] {
    height: 28px !important;
  }
  
  .brand-logo[src="uniqlo-logo-transparent.png"] {
    height: 26px !important;
  }
  
  .brand-logo[src="chanel-white-transparent.png"] {
    height: 28px !important;
  }
}

/* Fix for landscape mobile */
@media (max-height: 600px) and (orientation: landscape) {
  /* Hide brand logos in landscape to save space */
  .hero-brands-inline {
    display: none !important;
  }
  
  /* Smaller text */
  .hero-headline {
    font-size: 32px !important;
    margin-bottom: 8px !important;
  }
  
  .hero-subheadline {
    font-size: 14px !important;
    margin-bottom: 16px !important;
  }
  
  /* Smaller badges */
  .app-badge img {
    height: 36px !important;
  }
  
  /* Hide less important elements */
  .download-subtitle,
  .credibility-row {
    display: none !important;
  }
}

/* iPhone notch/dynamic island handling - REMOVED for hero section */
/* Hero content can go behind the notch, no need for safe area padding */

/* Fix testimonial section on tablets */
@media (min-width: 769px) and (max-width: 1024px) {
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 20px !important;
  }
  
  .testimonial-card.featured {
    grid-column: span 2 !important;
  }
}

/* Fix scanner UI proportions on tablets */
@media (min-width: 769px) and (max-width: 1024px) {
  .premium-mockup {
    max-width: 350px !important;
  }
  
  .scanner-ui {
    transform: scale(0.95) !important;
  }
}

/* Ensure smooth scrolling on all devices */
html {
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
}

/* Prevent horizontal scroll on mobile */
@media (max-width: 768px) {
  body {
    overflow-x: hidden !important;
  }
  
  .hero,
  .hero-content,
  .container {
    overflow-x: hidden !important;
  }
}
/* ===== From iphone-se-final-fix.css ===== */
/* iPhone SE (375×667px) Final Fix - EXACT specifications */
@media screen and (max-width: 375px) and (max-height: 667px) {
  /* Hero content container */
  html body .hero .hero-content {
    padding: 15px 20px 10px 20px !important;
    height: 100vh !important;
    max-height: 667px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
    align-items: flex-start !important;
  }
  
  /* Remove ALL top margins/padding from inner containers */
  html body .hero .hero-content .hero-main {
    margin-top: 0px !important;
    padding-top: 0px !important;
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
  }
  
  html body .hero .hero-content .hero-text-section {
    margin-top: 0px !important;
    padding-top: 0px !important;
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
  }
  
  /* Headline - 42px font, 40px line height, 8px margin bottom */
  html body .hero .hero-headline {
    font-size: 42px !important;
    line-height: 40px !important;
    margin-top: 0px !important;
    margin-bottom: 8px !important;
    padding: 0 !important;
  }
  
  /* Subheadline - 14px font, 18px line height, 15px margin bottom */
  html body .hero .hero-subheadline {
    font-size: 14px !important;
    line-height: 18px !important;
    margin-top: 0px !important;
    margin-bottom: 15px !important;
    padding: 0 !important;
  }
  
  /* App badges container - 12px margin bottom */
  html body .hero .hero-app-badges {
    margin-top: 0px !important;
    margin-bottom: 12px !important;
    padding: 0 !important;
    gap: 8px !important;
    display: flex !important;
    justify-content: flex-start !important;
  }
  
  /* Both app badges - identical size */
  html body .hero .app-badge {
    height: 36px !important;
    display: inline-flex !important;
    align-items: center !important;
  }
  
  /* Force ALL app badge images to exact same dimensions */
  html body .hero .app-badge img,
  html body .hero-app-badges .app-badge img,
  html body .app-badge img,
  .hero-app-badges img,
  .app-badge img {
    height: 36px !important;
    width: 120px !important;
    max-width: 120px !important;
    min-width: 120px !important;
    max-height: 36px !important;
    min-height: 36px !important;
    object-fit: contain !important;
    display: block !important;
  }
  
  /* Extra specificity for both badges */
  img[alt*="App Store"],
  img[alt*="Google Play"],
  img[src*="app-store"],
  img[src*="google-play"],
  img[src*="apple"],
  img[src*="google"] {
    height: 36px !important;
    width: 120px !important;
  }
  
  /* "Free to download" text - 8px margin bottom */
  html body .hero .download-subtitle {
    margin-top: 0px !important;
    margin-bottom: 8px !important;
    padding: 0 !important;
    font-size: 11px !important;
  }
  
  /* Brand section container */
  html body .hero .hero-brands-inline {
    margin-top: 0px !important;
    margin-bottom: 0px !important;
    padding: 0 !important;
  }
  
  /* "DISCOVER STYLES" text - 6px margin bottom */
  html body .hero .brands-intro {
    margin-top: 0px !important;
    margin-bottom: 6px !important;
    padding: 0 !important;
    font-size: 9px !important;
  }
  
  /* Brand logos rows */
  html body .hero .hero-brands-row {
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 8px !important;
    margin-top: 0px !important;
    margin-bottom: 6px !important; /* 6px between rows */
    padding: 0 !important;
  }
  
  /* Remove margin from last row */
  html body .hero .hero-brands-row:last-of-type {
    margin-bottom: 0px !important;
  }
  
  /* Brand logos - 15px height */
  html body .hero .brand-logo {
    height: 15px !important;
    width: auto !important;
    max-width: 60px !important;
  }
  
  /* Credibility section - 11px font, 10px margin top */
  html body .hero .credibility-row {
    font-size: 11px !important;
    margin-top: 10px !important;
    margin-bottom: 0px !important;
    padding: 0 !important;
    gap: 8px !important;
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: flex-start !important;
  }
  
  /* Hide scroll CTA on iPhone SE */
  html body .hero .scroll-cta {
    display: none !important;
  }
}

/* Force same size badges on ALL devices */
@media screen and (min-width: 376px) {
  /* Both badges same height */
  .app-badge img {
    height: 48px !important;
    object-fit: contain !important;
  }
  
  /* Make both badges same visual size */
  .app-badge img[alt="Download on the App Store"],
  .app-badge img[src*="app-store"],
  .app-badge img[src*="App Store"] {
    height: 48px !important;
    width: 160px !important;
  }
  
  .app-badge img[alt="Get it on Google Play"],
  .app-badge img[src*="google-play"],
  .app-badge img[src*="Google Play"] {
    height: 48px !important;
    width: 160px !important;
  }
}

/* Tablet and mobile (except iPhone SE) */
@media screen and (max-width: 768px) and (min-width: 376px) {
  .app-badge img {
    height: 44px !important;
  }
  
  .app-badge img[alt="Download on the App Store"],
  .app-badge img[src*="app-store"],
  .app-badge img[src*="App Store"] {
    height: 44px !important;
    width: 147px !important;
  }
  
  .app-badge img[alt="Get it on Google Play"],
  .app-badge img[src*="google-play"],
  .app-badge img[src*="Google Play"] {
    height: 44px !important;
    width: 147px !important;
  }
}
/* ===== From mobile-hero-fix.css ===== */
/* Simple mobile hero fix - ensure full viewport height */
@media (max-width: 768px) {
  /* Make hero exactly one screen tall */
  .hero {
    height: 100vh !important;
    min-height: -webkit-fill-available !important; /* iOS Safari fix */
    max-height: 100vh !important;
    overflow: hidden !important;
  }
  
  /* Remove ALL scrolling */
  .hero-content {
    overflow: hidden !important;
    padding-top: 30px !important; /* Move content higher on mobile */
    height: 100% !important;
    max-height: 100vh !important;
  }
  
  /* Compact brand sections to save vertical space */
  .hero-brands-inline {
    margin-bottom: 15px !important; /* Reduced spacing */
  }
  
  .brands-intro {
    margin-bottom: 8px !important;
    font-size: 11px !important;
  }
  
  .hero-brands-row {
    margin-bottom: 8px !important; /* Reduced from default */
  }
  
  /* Reduce other spacings */
  .download-subtitle {
    margin-bottom: 15px !important;
  }
  
  .credibility-row {
    margin-bottom: 15px !important;
  }
  
  /* Hide scroll CTA to save space */
  .scroll-cta {
    display: none !important;
  }
}

/* For very small phones, make even more compact */
@media (max-width: 400px) {
  .hero-content {
    padding-top: 20px !important; /* Even higher for small phones */
  }
  
  .hero-headline {
    margin-bottom: 12px !important;
  }
  
  .hero-subheadline {
    margin-bottom: 16px !important;
  }
  
  .hero-app-badges {
    margin-bottom: 12px !important;
  }
}

/* iPhone SE specific fix (375px width) */
@media (max-width: 375px) {
  .hero-content {
    padding-top: 0px !important; /* No top padding - content starts at very top */
    padding-bottom: 0px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important; /* Start from top */
    height: 100% !important;
  }
  
  .hero-headline {
    font-size: 35px !important; /* Slightly smaller */
    line-height: 0.9 !important; /* Tighter line height */
    margin-bottom: 6px !important; /* Less margin */
    margin-top: 0px !important; /* No top margin - start at the very top */
  }
  
  .hero-subheadline {
    font-size: 12.5px !important; /* Slightly smaller */
    line-height: 1.2 !important;
    margin-bottom: 10px !important; /* Less margin */
  }
  
  .hero-app-badges {
    gap: 6px !important; /* Tighter gap */
    margin-bottom: 6px !important; /* Less margin */
  }
  
  .app-badge img {
    height: 32px !important; /* Smaller badges */
    width: auto !important;
  }
  
  /* Ensure both badges are same size */
  .app-badge:first-child img,
  .app-badge:last-child img {
    height: 32px !important;
  }
  
  .download-subtitle {
    font-size: 9.5px !important; /* Smaller */
    margin-bottom: 3px !important; /* Minimal margin */
  }
  
  .hero-brands-inline {
    margin-top: 0px !important;
    margin-bottom: 2px !important; /* Minimal margin */
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
  }
  
  .brands-intro {
    font-size: 8.5px !important; /* Smaller */
    margin-top: 0px !important;
    margin-bottom: 2px !important; /* Minimal margin */
    padding-top: 0px !important;
  }
  
  .hero-brands-row {
    gap: 5px !important; /* Tighter gap */
    margin-bottom: 2px !important; /* Less margin between rows */
    display: flex !important;
    flex-wrap: nowrap !important; /* Prevent wrapping within each row */
    width: 100% !important;
    justify-content: flex-start !important;
  }
  
  .brand-logo {
    height: 10px !important; /* Even smaller logos */
    flex-shrink: 0 !important; /* Prevent logos from shrinking */
    max-width: 45px !important; /* Limit width to prevent overflow */
  }
  
  /* Make sure credibility row is visible with flex-wrap */
  .credibility-row {
    font-size: 8.5px !important; /* Smaller text */
    margin-top: 0px !important;
    margin-bottom: 3px !important; /* Minimal bottom margin */
    gap: 4px 8px !important; /* Tighter gaps */
    display: flex !important;
    flex-wrap: wrap !important; /* Allow wrapping if needed */
    justify-content: center !important;
  }
  
  /* Hide scroll CTA if it exists */
  .scroll-cta {
    display: none !important;
  }
}

/* Ensure next section starts below viewport */
@media (max-width: 768px) {
  .how-works {
    margin-top: 0 !important;
    padding-top: 60px !important;
  }
}
/* ===== From how-it-works-final-mobile.css ===== */
/* Final mobile styles for How it Works - Exact copy from working website */

/* Mobile only styles */
@media (max-width: 480px) {
    .how-works {
        padding: 180px 16px 80px;
        margin-top: -100px;
        text-align: center;
        background: #FAFBFC;
    }
    
    .how-title {
        font-size: 32px;
        line-height: 1.1;
        margin-bottom: 12px;
        text-align: center;
    }
    
    .how-sub {
        font-size: 17px;
        line-height: 1.4;
        padding: 0 20px;
        text-align: center;
        margin-bottom: 48px;
    }
    
    .how-flow {
        gap: 48px;
        align-items: center;
        justify-content: center;
        flex-direction: column;
    }
    
    .how-step {
        max-width: 280px;
        width: 100%;
        margin: 0 auto;
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 32px 24px;
        transform: none !important;
        box-shadow: none !important;
    }
    
    /* Mockup styles */
    .premium-mockup {
        margin: 0 auto 8px;
        width: 100%;
        max-width: 340px;
        aspect-ratio: 9/19.5;
    }
    
    .mockup-glass-wrapper,
    .phone-screen-wrapper {
        margin-bottom: 0;
        max-width: 340px;
        width: 100%;
        aspect-ratio: 9/19.5;
        height: auto;
    }
    
    .mockup-complete {
        height: 100%;
        max-height: none;
        object-fit: contain !important;
        transform: none !important;
        filter: drop-shadow(0px 8px 24px rgba(0, 0, 0, 0.12)) !important;
    }
    
    /* Scanner UI positioning */
    .scanner-ui {
        transform: scale(0.85) !important;
        transform-origin: center !important;
    }
    
    .screen-bounds-container {
        top: 10%;
        left: 12%;
        width: 76%;
        height: 80%;
    }
    
    .scanning-status {
        top: 28%;
        font-size: 11px;
        padding: 4px 8px;
    }
    
    .ui-button {
        width: 22px !important;
        height: 22px !important;
    }
    
    .close-button {
        top: 16%;
        left: 16%;
    }
    
    .flash-button {
        top: 16%;
        right: 16%;
    }
    
    .close-button svg,
    .flash-button svg {
        width: 10px;
        height: 10px;
    }
    
    .scan-frame {
        width: 48%;
        height: 38%;
        top: 48%;
    }
    
    .corner {
        width: 28px;
        height: 28px;
    }
    
    .scan-frame::after {
        width: 28px;
        height: 28px;
    }
    
    .camera-button {
        width: 48px;
        height: 48px;
        bottom: 11%;
    }
    
    .camera-button svg {
        width: 18px;
        height: 18px;
    }
    
    .scanner-text {
        font-size: 10px;
        padding: 2px 6px;
        bottom: 19%;
        top: auto;
        transform: translate(-50%, 0);
    }
    
    .zoom-control {
        font-size: 11px;
        padding: 2px 6px;
        gap: 6px;
        bottom: 26%;
        top: auto;
    }
    
    .zoom-minus,
    .zoom-plus {
        font-size: 12px;
    }
    
    .zoom-value {
        font-size: 11px;
        min-width: 28px;
    }
    
    /* Step labels */
    .step-label {
        padding: 0 16px;
    }
    
    .step-label .step-number {
        width: 32px;
        height: 32px;
        font-size: 14px;
        margin-bottom: 10px;
        background: #f3ebfd;
        border: 1px solid #e4d4f4;
        color: #8b5cf6;
        box-shadow: 0 0 18px rgba(139, 92, 246, 0.15);
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .step-title {
        font-size: 20px;
        text-align: center;
        margin-bottom: 10px;
    }
    
    .step-desc {
        font-size: 15px;
        text-align: center;
        color: #6b7280;
        max-width: 280px;
        margin: 0 auto;
    }
    
    /* Disable ALL hover effects on mobile */
    .how-step:hover {
        transform: none !important;
    }
    
    .how-step:hover .mockup-complete {
        filter: drop-shadow(0px 8px 24px rgba(0, 0, 0, 0.12)) !important;
        transform: none !important;
    }
    
    .how-step:hover .scanner-ui {
        transform: scale(0.85) !important;
    }
}

/* Force disable hover on touch devices */
@media (hover: none) and (pointer: coarse) {
    .how-step,
    .how-step:hover {
        transform: none !important;
        box-shadow: none !important;
    }
    
    .how-step .mockup-complete,
    .how-step:hover .mockup-complete {
        transform: none !important;
        filter: drop-shadow(0px 8px 24px rgba(0, 0, 0, 0.12)) !important;
    }
    
    .how-step .scanner-ui,
    .how-step:hover .scanner-ui {
        transform: scale(0.85) !important;
        transform-origin: center !important;
    }
}
/* ===== From footer-final-perfect.css ===== */
/* Final perfect footer optimizations for mobile and tablet */

/* Fix badge aspect ratios */
@media (max-width: 1024px) {
    .footer-apps img {
        width: auto !important;
        height: auto !important;
        max-height: 48px !important;
        object-fit: contain !important;
        aspect-ratio: auto !important;
    }
}

/* Tablet-specific optimizations (768px - 1024px) */
@media (min-width: 768px) and (max-width: 1024px) {
    .footer {
        padding: 60px 40px 40px !important;
    }
    
    .footer-logo-wrapper {
        gap: 14px !important;
    }
    
    .footer-logo-image {
        width: 36px !important;
        height: 36px !important;
    }
    
    .footer-logo-text {
        font-size: 32px !important;
    }
    
    .footer-download {
        font-size: 20px !important;
        margin-top: 28px !important;
    }
    
    .footer-apps {
        flex-direction: row !important;
        gap: 20px !important;
        margin-top: 32px !important;
        max-width: none !important;
    }
    
    .footer-apps a {
        width: auto !important;
    }
    
    .footer-apps img {
        height: 52px !important;
        max-height: 52px !important;
        transform: none !important;
    }
    
    .footer-nav {
        flex-direction: row !important;
        justify-content: center !important;
        gap: 80px !important;
        margin-top: 56px !important;
    }
    
    .footer-column h4 {
        font-size: 13px !important;
    }
    
    .footer-column a {
        font-size: 16px !important;
    }
    
    .footer-bottom {
        flex-direction: row !important;
        justify-content: space-between !important;
        align-items: center !important;
        margin-top: 56px !important;
    }
    
    .footer-social {
        order: 0 !important;
    }
}

/* Landscape mobile optimization */
@media (max-width: 767px) and (orientation: landscape) {
    .footer {
        padding: 32px 40px 24px !important;
        min-height: auto !important;
    }
    
    .footer-logo-wrapper {
        margin-bottom: 16px !important;
    }
    
    .footer-download {
        margin-top: 16px !important;
        font-size: 16px !important;
    }
    
    .footer-apps {
        flex-direction: row !important;
        gap: 16px !important;
        margin-top: 20px !important;
        max-width: none !important;
    }
    
    .footer-apps a {
        width: auto !important;
    }
    
    .footer-apps img {
        height: 44px !important;
        max-height: 44px !important;
    }
    
    .footer-nav {
        flex-direction: row !important;
        gap: 40px !important;
        margin-top: 32px !important;
    }
    
    .footer-bottom {
        margin-top: 32px !important;
        padding-top: 24px !important;
    }
}

/* Small mobile devices (iPhone SE) portrait */
@media (max-width: 375px) and (orientation: portrait) {
    .footer {
        padding: 40px 16px 28px !important;
    }
    
    .footer-logo-image {
        width: 28px !important;
        height: 28px !important;
    }
    
    .footer-logo-text {
        font-size: 26px !important;
    }
    
    .footer-download {
        font-size: 16px !important;
    }
    
    .footer-apps {
        gap: 10px !important;
    }
    
    .footer-apps img {
        transform: scale(0.85) !important;
    }
}

/* iPad Pro and large tablets */
@media (min-width: 1024px) and (max-width: 1366px) {
    .footer-apps img {
        height: 54px !important;
        max-height: 54px !important;
        transform: none !important;
    }
}

/* Ensure smooth transitions */
@media (max-width: 1024px) {
    .footer,
    .footer-apps,
    .footer-nav,
    .footer-bottom {
        transition: all 0.3s ease !important;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .footer {
        border-top: 2px solid rgba(255, 255, 255, 0.2) !important;
    }
    
    .footer-column h4 {
        color: rgba(255, 255, 255, 0.6) !important;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    .footer * {
        transition: none !important;
        animation: none !important;
    }
}
/* ===== From app-badges-final-solution.css ===== */
/* UNIVERSAL SOLUTION - Works on ALL devices */
/* Reset everything */
.app-badge, .footer-app-badge {
  all: unset !important;
  display: inline-block !important;
  position: relative !important;
}

.app-badge img, .footer-app-badge img {
  all: unset !important;
  display: block !important;
  width: auto !important;
}

/* The KEY insight: Apple badge baseline height, Google needs 1.35x */
/* Desktop and tablets (1024px+) including iPad Pro, Surface Pro */
@media (min-width: 1024px) {
  .app-badge img[alt*="App Store"] { height: 44px !important; }
  .app-badge img[alt*="Google Play"] { height: 59px !important; }
}

/* iPad Air, iPad Mini, Asus Zenbook Fold (768-1023px) */
@media (min-width: 768px) and (max-width: 1023px) {
  .app-badge img[alt*="App Store"] { height: 42px !important; }
  .app-badge img[alt*="Google Play"] { height: 57px !important; }
}

/* Nest Hub, Nest Hub Max landscape (600-767px) */
@media (min-width: 600px) and (max-width: 767px) {
  .app-badge img[alt*="App Store"] { height: 40px !important; }
  .app-badge img[alt*="Google Play"] { height: 54px !important; }
}

/* Surface Duo, larger phones (480-599px) */
@media (min-width: 480px) and (max-width: 599px) {
  .app-badge img[alt*="App Store"] { height: 38px !important; }
  .app-badge img[alt*="Google Play"] { height: 51px !important; }
}

/* iPhone 14 Pro Max, Galaxy S20 Ultra, Pixel 7 (414-479px) */
@media (min-width: 414px) and (max-width: 479px) {
  .app-badge img[alt*="App Store"] { height: 37px !important; }
  .app-badge img[alt*="Google Play"] { height: 50px !important; }
}

/* iPhone 12/13/14 Pro, Galaxy A51/71 (390-413px) */
@media (min-width: 390px) and (max-width: 413px) {
  .app-badge img[alt*="App Store"] { height: 36px !important; }
  .app-badge img[alt*="Google Play"] { height: 49px !important; }
}

/* iPhone SE, iPhone XR, Galaxy S8+ (360-389px) */
@media (min-width: 360px) and (max-width: 389px) {
  .app-badge img[alt*="App Store"] { height: 34px !important; }
  .app-badge img[alt*="Google Play"] { height: 46px !important; }
}

/* Galaxy Z Fold (344-359px) */
@media (min-width: 344px) and (max-width: 359px) {
  .app-badge img[alt*="App Store"] { height: 33px !important; }
  .app-badge img[alt*="Google Play"] { height: 45px !important; }
}

/* Smaller than 344px */
@media (max-width: 343px) {
  .app-badge img[alt*="App Store"] { height: 32px !important; }
  .app-badge img[alt*="Google Play"] { height: 43px !important; }
}

/* Footer badges - 80% of main size */
.footer-app-badge img {
  transform: scale(0.8) !important;
  transform-origin: left center !important;
}

/* Badge containers */
.hero-app-badges, .footer-apps {
  display: flex !important;
  gap: 12px !important;
  align-items: center !important;
}

/* Also catch any variations in alt text */
img[src*="app-store"], img[src*="App-Store"], img[src*="app_store"] {
  height: inherit !important;
}
img[src*="google-play"], img[src*="Google-Play"], img[src*="google_play"] {
  height: inherit !important;
}
/* ===== From badge-final-fix.css ===== */
/* Simple badge sizing - desktop untouched, mobile uses width-based sizing */

/* Desktop - both badges same height (40px from inline styles work fine) */
/* No CSS needed for desktop - inline styles handle it */

/* ALL MOBILE DEVICES - Match by width for perfect visual alignment */
@media (max-width: 768px) {
  /* Force both badges to same WIDTH with high specificity */
  html body .hero .hero-app-badges .app-badge img,
  html body .section-cta .hero-app-badges .app-badge img {
    width: 120px !important;
    height: auto !important;
    max-height: none !important;
    min-height: auto !important;
  }
}

/* iPhone SE specific badge sizing */
@media screen and (max-width: 375px) and (max-height: 667px) {
  html body .hero .hero-app-badges .app-badge img {
    width: 100px !important;
    height: auto !important;
  }
}

/* Footer badges - smaller */
.footer-app-badge img {
  height: 32px !important;
  width: auto !important;
}
/* ===== From bigger-app-badges.css ===== */
/* Make app store badges bigger in Why Use Remode section and footer */

/* Why Use Remode section badges */
.why-remode .app-badges img[alt*="App Store"],
.section-cta .app-badges img[alt*="App Store"],
.section-cta .hero-app-badges img[alt*="App Store"] {
  height: 54px !important; /* Apple badge stays at 54px */
  width: auto !important;
}

.why-remode .app-badges img[alt*="Google Play"],
.section-cta .app-badges img[alt*="Google Play"],
.section-cta .hero-app-badges img[alt*="Google Play"] {
  height: 50px !important; /* Google badge slightly smaller */
  width: auto !important;
}

/* Footer badges - need to override inline styles */
.footer .footer-apps img[alt*="App Store"],
.footer-apps img[alt*="App Store"],
.footer-app-badge img[alt*="App Store"],
.footer-badge-apple img {
  height: 70px !important; /* Bigger Apple badge in footer */
  width: auto !important;
  max-width: none !important;
}

.footer .footer-apps img[alt*="Google Play"],
.footer-apps img[alt*="Google Play"],
.footer-app-badge img[alt*="Google Play"],
.footer-badge-google img {
  height: 60px !important; /* Google Play stays at 60px */
  width: auto !important;
  max-width: none !important;
}

/* Ensure proper spacing and alignment */
.why-remode .app-badges,
.section-cta .app-badges,
.section-cta .hero-app-badges,
.footer .footer-apps,
.footer-apps {
  gap: 16px !important;
  display: flex !important;
  align-items: center !important;
}

/* Override any inline styles with higher specificity */
body .footer .footer-apps a.footer-badge-apple img,
body .footer .footer-apps a.footer-app-badge img[alt*="App Store"] {
  height: 70px !important;
  width: auto !important;
}

body .footer .footer-apps a.footer-badge-google img,
body .footer .footer-apps a.footer-app-badge img[alt*="Google Play"] {
  height: 60px !important;
  width: auto !important;
}

/* Mobile responsive - proportionally smaller */
@media (max-width: 768px) {
  .why-remode .app-badges img[alt*="App Store"],
  .section-cta .app-badges img[alt*="App Store"],
  .section-cta .hero-app-badges img[alt*="App Store"] {
    height: 48px !important;
  }
  
  .why-remode .app-badges img[alt*="Google Play"],
  .section-cta .app-badges img[alt*="Google Play"],
  .section-cta .hero-app-badges img[alt*="Google Play"] {
    height: 44px !important;
  }
  
  .footer .footer-apps img[alt*="App Store"],
  .footer-badge-apple img,
  body .footer .footer-apps a.footer-badge-apple img {
    height: 56px !important;
  }
  
  .footer .footer-apps img[alt*="Google Play"],
  .footer-badge-google img,
  body .footer .footer-apps a.footer-badge-google img {
    height: 48px !important;
  }
}
