/* ===================================
   MEDSYNC MOBILE RESPONSIVE SYSTEM
   Comprehensive mobile-first design
   
   ARCHITECTURE:
   1. Global Resets & Foundations
   2. Scalable Typography (rem-based)
   3. Responsive Media (img, video, embed)
   4. Touch-Friendly Targets (44px min)
   5. Navbar & Navigation
   6. Layout Containers & Grids
   7. Glass Cards & Panels
   8. Forms & Inputs
   9. Buttons
   10. Auth Pages (Login/Signup)
   11. Home Page Hero
   12. Machine Dashboard
   13. Error Dashboard
   14. Chat Interface
   15. Modals & Overlays
   16. Tables
   17. Footer
   18. Scroll Elements
   19. Background Video
   20. Safe Area Insets (Notch phones)
   21. Touch & Performance
   22. Landscape Mobile
   23. Print
   =================================== */


/* ===================================
   1. GLOBAL RESETS & FOUNDATIONS
   =================================== */

/* Prevent horizontal overflow and text-zoom issues */
html,
body {
    overflow-x: hidden;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
}

/* Universal border-box for predictable sizing */
*,
*::before,
*::after {
    box-sizing: border-box;
}


/* ===================================
   2. SCALABLE TYPOGRAPHY (rem-based)
   The root font-size scales with viewport:
   - Mobile: 14px base
   - Tablet: 15px base
   - Desktop: 16px base (browser default)
   =================================== */

html {
    font-size: 16px;
    /* Desktop default */
}

@media (max-width: 768px) {
    html {
        font-size: 14px;
    }

    h1 {
        font-size: 1.6rem !important;
        /* ~22px */
        line-height: 1.25 !important;
        margin-bottom: 0.5rem !important;
    }

    h2 {
        font-size: 1.35rem !important;
        /* ~19px */
        line-height: 1.3 !important;
        margin-bottom: 0.4rem !important;
    }

    h3 {
        font-size: 1.15rem !important;
        /* ~16px */
        line-height: 1.35 !important;
    }

    h4,
    h5,
    h6 {
        font-size: 1rem !important;
    }

    p,
    li,
    span,
    td,
    th,
    label,
    .text-sm,
    .text-base {
        font-size: 0.925rem !important;
        /* ~13px */
    }

    /* Tailwind text utilities */
    .text-xl {
        font-size: 1.1rem !important;
    }

    .text-2xl {
        font-size: 1.3rem !important;
    }

    .text-3xl {
        font-size: 1.55rem !important;
    }

    .text-4xl {
        font-size: 1.7rem !important;
    }

    .text-5xl {
        font-size: 2rem !important;
    }

    .text-xs {
        font-size: 0.7rem !important;
    }

    .text-lg {
        font-size: 1rem !important;
    }
}

@media (max-width: 480px) {
    html {
        font-size: 13.5px;
    }

    h1 {
        font-size: 1.5rem !important;
    }

    h2 {
        font-size: 1.25rem !important;
    }
}


/* ===================================
   3. RESPONSIVE MEDIA
   Global rule: images, videos, embeds
   never exceed their container width
   =================================== */

img,
embed,
object,
video,
iframe,
svg:not(.nav-icon):not(.mobile-nav-icon):not(.mobile-menu-icon):not(.mobile-btn-icon):not(.hamburger-line):not(.menu-icon):not(.account-type-icon):not(.dropdown-arrow):not(.arrow-right) {
    max-width: 100%;
    height: auto;
}

/* Prevent broken aspect ratios on constrained containers */
.responsive-media {
    width: 100%;
    height: auto;
    display: block;
}


/* ===================================
   4. TOUCH-FRIENDLY TAP TARGETS
   Apple HIG / Material Design: min 44×44px
   =================================== */

@media (max-width: 768px) {

    a,
    button,
    [type="submit"],
    [type="button"],
    [type="reset"],
    .glass-btn,
    .mobile-nav-item,
    .mobile-menu-item,
    select,
    input[type="checkbox"],
    input[type="radio"] {
        min-height: 44px;
    }

    /* Ensure inline links in text don't become huge blocks */
    p a,
    span a,
    li a,
    td a,
    .text-sm a {
        min-height: auto;
        display: inline;
    }
}


/* ===================================
   5. NAVBAR & NAVIGATION
   =================================== */

@media (max-width: 768px) {

    /* Body spacing for fixed navbar */
    body {
        padding-top: 76px !important;
    }

    /* Compact navbar */
    .glass-navbar {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        padding: 12px 16px !important;
        gap: 8px !important;
        top: 8px !important;
        width: calc(100% - 16px) !important;
        border-radius: 16px !important;
    }

    /* Hide desktop nav island completely */
    .nav-island {
        display: none !important;
    }

    /* Compact logo */
    .logo-circle-island {
        flex-grow: 1 !important;
        width: 32px !important;
        height: 32px !important;
        margin-right: auto;
        display: flex !important;
        justify-content: center !important;
    }

    .logo-circle-island a {
        display: inline-block !important;
    }

    .mobile-hamburger {
        flex-shrink: 0 !important;
        width: 50px !important;
        height: 40px !important;
        padding: 4px !important;
    }

    /* User pill: avatar-only (hide name) */
    .user-setup-btn {
        height: 44px !important;
        padding: 4px 12px 4px 4px !important;
        border-radius: 22px !important;
        gap: 8px !important;
    }

    .user-setup-btn img {
        width: 36px !important;
        height: 36px !important;
    }

    .user-setup-btn .user-name {
        display: none !important;
    }

    .user-setup-btn .dropdown-arrow {
        width: 16px !important;
        height: 16px !important;
    }

    /* Auth links (non-authenticated) */
    .auth-links a {
        padding: 10px 14px !important;
        font-size: 0.85rem !important;
    }

    /* Profile dropdown → full-width sheet */
    .user-setup-menu {
        position: fixed !important;
        top: 66px !important;
        right: 8px !important;
        left: 8px !important;
        min-width: unset !important;
        width: auto !important;
        max-height: calc(100vh - 76px) !important;
        overflow-y: auto !important;
        border-radius: 16px !important;
    }

    .user-setup-menu .menu-header {
        padding: 0 16px 12px !important;
    }

    .user-setup-menu .menu-item {
        margin: 4px 8px !important;
        padding: 12px 16px !important;
    }
}

@media (max-width: 480px) {
    body {
        padding-top: 68px !important;
    }

    .glass-navbar {
        padding: 12px 14px !important;
        gap: 6px !important;
        top: 6px !important;
        width: calc(100% - 12px) !important;
    }

    .mobile-hamburger {
        width: 44px !important;
    }

    .logo-circle-island {
        width: 32px !important;
        height: 32px !important;
    }

    .user-setup-btn {
        height: 40px !important;
        padding: 3px 10px 3px 3px !important;
    }

    .user-setup-btn img {
        width: 32px !important;
        height: 32px !important;
    }
}


/* ===================================
   6. LAYOUT CONTAINERS & GRIDS
   Convert fixed-width to fluid layouts
   =================================== */

@media (max-width: 768px) {

    /* Tighter container padding */
    .container,
    .container.mx-auto,
    .max-w-7xl,
    .max-w-6xl,
    .max-w-5xl {
        padding-left: 12px !important;
        padding-right: 12px !important;
    }

    /* Container with px-6 override */
    .container.mx-auto.px-6,
    .p-6 {
        padding-left: 12px !important;
        padding-right: 12px !important;
        padding-top: 12px !important;
        padding-bottom: 12px !important;
    }

    /* Force all multi-column grids to stack or 2-col */
    .grid.grid-cols-1.md\:grid-cols-2.lg\:grid-cols-3.xl\:grid-cols-4 {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 0.5rem !important;
    }

    .grid.grid-cols-1.md\:grid-cols-2.lg\:grid-cols-4,
    .grid.grid-cols-1.sm\:grid-cols-2.lg\:grid-cols-4 {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 0.5rem !important;
    }

    .grid.grid-cols-2.md\:grid-cols-4 {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 0.5rem !important;
    }

    .grid.grid-cols-1.md\:grid-cols-3 {
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
    }

    .grid.grid-cols-1.md\:grid-cols-2 {
        grid-template-columns: 1fr !important;
        gap: 0.75rem !important;
    }

    /* Stack 2-column layouts */
    .grid.grid-cols-1.lg\:grid-cols-2 {
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
    }

    /* Filter form grids */
    .grid.grid-cols-1.md\:grid-cols-2.lg\:grid-cols-5 {
        grid-template-columns: 1fr !important;
        gap: 0.75rem !important;
    }

    /* Feature stats grid */
    .grid.grid-cols-1.sm\:grid-cols-2.lg\:grid-cols-4 {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 0.5rem !important;
    }

    /* Flex rows that should stack */
    .flex.flex-col.md\:flex-row,
    .flex.flex-col.sm\:flex-row {
        flex-direction: column !important;
        gap: 0.75rem !important;
    }

    /* Full-width flex items */
    .flex.flex-col.sm\:flex-row>a,
    .flex.flex-col.sm\:flex-row>button {
        width: 100% !important;
    }
}

@media (max-width: 480px) {

    /* Single column on very small screens */
    .grid.grid-cols-1.md\:grid-cols-2.lg\:grid-cols-3.xl\:grid-cols-4 {
        grid-template-columns: 1fr !important;
    }

    .grid.grid-cols-2.md\:grid-cols-4 {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}


/* ===================================
   7. GLASS CARDS & PANELS
   =================================== */

@media (max-width: 768px) {
    .glass-card {
        border-radius: 12px !important;
    }

    .glass-card.p-6,
    .glass-card.p-8,
    .glass-card.p-8.md\:p-12,
    .glass-card.p-12 {
        padding: 1rem !important;
    }

    .glass-panel {
        padding: 1rem !important;
        border-radius: 12px !important;
    }

    .glass-panel.bg-gray-800.rounded-lg.p-6 {
        padding: 1rem !important;
    }

    .glass-header {
        padding: 10px 14px !important;
        flex-wrap: wrap !important;
    }

    .glass-footer {
        padding: 10px 14px !important;
    }

    /* Disable hover-translate on mobile (prevents scroll jank) */
    .glass-card:hover,
    .card:hover,
    .machine-card:hover,
    [class*="-card"]:hover,
    [class*="Card"]:hover {
        transform: none !important;
    }

    /* Reduce padding inside stat cards */
    .text-3xl.font-bold {
        font-size: 1.5rem !important;
    }

    /* Compact icon containers inside cards */
    .w-12.h-12 {
        width: 2.5rem !important;
        height: 2.5rem !important;
    }

    .w-12.h-12 svg {
        width: 1.25rem !important;
        height: 1.25rem !important;
    }

    .w-16.h-16 {
        width: 3rem !important;
        height: 3rem !important;
    }

    .w-16.h-16 svg {
        width: 1.5rem !important;
        height: 1.5rem !important;
    }
}


/* ===================================
   8. FORMS & INPUTS
   16px font prevents iOS auto-zoom.
   Full-width for thumb-friendly entry.
   =================================== */

@media (max-width: 768px) {

    input[type="text"],
    input[type="email"],
    input[type="password"],
    input[type="number"],
    input[type="search"],
    input[type="tel"],
    input[type="url"],
    input[type="date"],
    textarea,
    select,
    .glass-input,
    .glass-select,
    .glass-textarea {
        font-size: 16px !important;
        /* ← Critical: prevents iOS zoom */
        padding: 12px 14px !important;
        border-radius: 10px !important;
        width: 100% !important;
    }

    label {
        font-size: 0.85rem !important;
        margin-bottom: 4px !important;
    }

    /* Full-width form elements */
    .glass-form-group {
        margin-bottom: 14px !important;
    }

    /* Error messages */
    .errorlist li,
    .text-red-400 {
        font-size: 0.8rem !important;
    }

    /* Checkbox/radio: enlarge for touch */
    input[type="checkbox"],
    input[type="radio"] {
        width: 20px !important;
        height: 20px !important;
        min-height: 20px !important;
    }
}


/* ===================================
   9. BUTTONS
   Full-width on mobile,
   min 44px height for tap targets
   =================================== */

@media (max-width: 768px) {
    .glass-btn {
        width: 100% !important;
        justify-content: center !important;
        padding: 14px 20px !important;
        font-size: 0.95rem !important;
        min-height: 48px !important;
    }

    /* Submit / action buttons */
    [type="submit"],
    [type="button"],
    [type="reset"] {
        width: 100% !important;
        padding: 14px !important;
        font-size: 1rem !important;
        min-height: 48px !important;
    }

    /* Inline button groups → stack */
    .flex.gap-3>.glass-btn,
    .flex.gap-4>.glass-btn,
    .flex.gap-2>.glass-btn {
        width: 100% !important;
    }

    /* Small action buttons in cards should remain compact */
    .glass-btn.text-xs {
        width: auto !important;
        padding: 8px 14px !important;
        font-size: 0.75rem !important;
        min-height: 36px !important;
    }

    /* Modal footer buttons side-by-side */
    .mt-8.flex.justify-end.gap-3 {
        flex-direction: column !important;
    }

    .mt-8.flex.justify-end.gap-3 .glass-btn {
        width: 100% !important;
    }
}


/* ===================================
   10. AUTH PAGES (Login / Signup)
   =================================== */

@media (max-width: 768px) {

    /* Auth page container */
    .w-full.max-w-md.mx-auto {
        padding: 0 8px !important;
    }

    /* Auth header */
    .w-full.max-w-md .text-center.mb-8 {
        margin-bottom: 1.25rem !important;
    }

    .w-full.max-w-md h2.text-2xl {
        font-size: 1.35rem !important;
    }

    /* Auth form card */
    .w-full.max-w-md .glass-card {
        padding: 1.25rem !important;
    }

    /* Auth form inputs */
    .w-full.max-w-md input[type="text"],
    .w-full.max-w-md input[type="email"],
    .w-full.max-w-md input[type="password"] {
        padding: 14px !important;
        font-size: 16px !important;
    }

    /* Signup select field (inline styles override) */
    .w-full.max-w-md select {
        padding: 14px 2.5rem 14px 1rem !important;
        font-size: 16px !important;
    }
}


/* ===================================
   11. HOME PAGE HERO
   =================================== */

@media (max-width: 768px) {

    /* Hero container */
    main.max-w-6xl {
        padding-left: 16px !important;
        padding-right: 16px !important;
        padding-top: 1.5rem !important;
        padding-bottom: 1.5rem !important;
    }

    /* Hero heading */
    .text-4xl.md\:text-6xl,
    h1.text-4xl {
        font-size: 1.75rem !important;
        line-height: 1.2 !important;
        margin-bottom: 0.75rem !important;
    }

    /* Hero subtitle */
    .text-xl.md\:text-2xl {
        font-size: 1rem !important;
        line-height: 1.5 !important;
        margin-bottom: 1.5rem !important;
    }

    /* Hero logo */
    .w-40.h-40 {
        width: 5rem !important;
        height: 5rem !important;
        margin-bottom: 1rem !important;
    }

    /* Hero CTA buttons → stack */
    .flex.flex-col.sm\:flex-row.gap-4 {
        gap: 0.75rem !important;
    }

    /* About section: stack columns */
    .grid.grid-cols-1.md\:grid-cols-2 {
        grid-template-columns: 1fr !important;
    }

    /* CTA bottom section */
    .text-lg.mb-10 {
        font-size: 0.95rem !important;
        margin-bottom: 1.5rem !important;
    }

    /* Feature card icons */
    .w-16.h-16.rounded-2xl {
        width: 3rem !important;
        height: 3rem !important;
        margin-bottom: 0.75rem !important;
    }

    .w-16.h-16.rounded-2xl svg {
        width: 1.5rem !important;
        height: 1.5rem !important;
    }
}

@media (max-width: 480px) {
    .w-40.h-40 {
        width: 4rem !important;
        height: 4rem !important;
    }
}


/* ===================================
   12. MACHINE DASHBOARD
   =================================== */

@media (max-width: 768px) {

    /* Machine cards compact */
    .machine-card {
        padding: 0.75rem !important;
    }

    .machine-card h3 {
        font-size: 0.85rem !important;
    }

    .machine-card p {
        font-size: 0.75rem !important;
        margin-bottom: 0.25rem !important;
    }

    .machine-card .text-xs {
        font-size: 0.65rem !important;
    }

    /* Control buttons */
    .glass-panel button {
        padding: 0.75rem 1rem !important;
        font-size: 0.9rem !important;
    }

    /* Activity items */
    .glass-panel .p-3 {
        padding: 0.5rem 0.75rem !important;
    }

    .glass-panel .text-sm {
        font-size: 0.8rem !important;
    }

    /* Machine list action buttons - keep inline */
    .flex.flex-wrap.gap-2 .glass-btn {
        width: auto !important;
        min-height: 36px !important;
    }
}


/* ===================================
   13. ERROR DASHBOARD
   =================================== */

@media (max-width: 768px) {

    /* Error dashboard header */
    .text-5xl.font-extrabold {
        font-size: 1.5rem !important;
        line-height: 1.2 !important;
    }

    /* Header buttons → stack below title */
    .mb-10.flex.flex-col.md\:flex-row {
        flex-direction: column !important;
        gap: 1rem !important;
    }

    .mb-10 .flex.gap-3 {
        flex-direction: row !important;
        width: 100% !important;
    }

    .mb-10 .flex.gap-3 .glass-btn {
        flex: 1 !important;
        padding: 10px 12px !important;
        font-size: 0.75rem !important;
    }

    .mb-10 .flex.gap-3 .glass-btn span {
        display: none !important;
    }

    /* Quick action buttons → 2×2 grid */
    .grid.grid-cols-1.sm\:grid-cols-2.lg\:grid-cols-4 {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 0.5rem !important;
    }

    .grid.grid-cols-1.sm\:grid-cols-2.lg\:grid-cols-4 .glass-btn {
        padding: 12px 8px !important;
        font-size: 0.75rem !important;
        min-height: 44px !important;
    }

    /* Machine cards in error dashboard */
    .machine-card .flex.justify-between.items-start {
        flex-direction: column !important;
        gap: 0.25rem !important;
    }

    /* Error card links */
    .machine-card .flex.items-center.gap-3 {
        flex-wrap: wrap !important;
        gap: 0.5rem !important;
    }

    /* Severity distribution → 2 cols */
    .grid.grid-cols-2.md\:grid-cols-4 .text-4xl {
        font-size: 1.75rem !important;
    }

    /* Badges compact */
    .glass-badge,
    [class*="rounded-full"][class*="text-xs"] {
        padding: 2px 8px !important;
        font-size: 0.65rem !important;
    }

    /* Compact scrollable lists */
    .max-h-\[500px\] {
        max-height: 350px !important;
    }
}


/* ===================================
   14. CHAT INTERFACE
   =================================== */

@media (max-width: 768px) {

    /* Chat bubbles: wider on mobile */
    .chat-bubble-user,
    .chat-bubble-ai {
        max-width: 92% !important;
    }

    /* Chat input area */
    #questionInput,
    [name="question"] {
        font-size: 16px !important;
        /* Prevent iOS zoom */
        padding: 10px 12px !important;
    }

    /* Chat avatars */
    .w-9.h-9 {
        width: 1.75rem !important;
        height: 1.75rem !important;
    }

    .w-10.h-10 {
        width: 2rem !important;
        height: 2rem !important;
    }
}


/* ===================================
   15. MODALS & OVERLAYS
   =================================== */

@media (max-width: 768px) {

    /* Quick Report Modal → full-width sheet */
    .sm\:max-w-lg {
        max-width: 100% !important;
        margin: 0 8px !important;
        border-radius: 16px !important;
    }

    /* Modal form padding */
    #quickReportForm.p-6,
    .glass-modal {
        padding: 1rem !important;
    }

    /* Modal notify grid → stack */
    .grid.grid-cols-1.md\:grid-cols-2 {
        grid-template-columns: 1fr !important;
    }

    /* Modal footer buttons → stack */
    .flex.justify-end.gap-3 {
        flex-direction: column-reverse !important;
        gap: 0.5rem !important;
    }
}


/* ===================================
   16. TABLES
   Horizontally scrollable on mobile
   =================================== */

@media (max-width: 768px) {
    table {
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    th,
    td {
        padding: 10px 12px !important;
        font-size: 0.8rem !important;
        white-space: nowrap;
    }

    /* Machine list already has a mobile card view */
    /* Ensure desktop table hidden, mobile cards visible */
    .hidden.lg\:block {
        display: none !important;
    }

    .lg\:hidden {
        display: block !important;
    }
}


/* ===================================
   17. FOOTER
   =================================== */

@media (max-width: 768px) {
    footer {
        padding: 1.25rem 1rem !important;
    }

    footer .flex-col.md\:flex-row {
        flex-direction: column !important;
        text-align: center !important;
        gap: 0.75rem !important;
    }

    footer ul {
        justify-content: center !important;
        gap: 1rem !important;
    }

    footer a,
    footer p {
        font-size: 0.8rem !important;
    }
}


/* ===================================
   18. SCROLL ELEMENTS
   =================================== */

@media (max-width: 768px) {
    .scroll-to-top {
        width: 40px !important;
        height: 40px !important;
        bottom: 16px !important;
        right: 16px !important;
    }

    .scroll-to-top svg {
        width: 18px !important;
        height: 18px !important;
    }

    .scroll-indicator {
        display: none !important;
    }
}


/* ===================================
   19. BACKGROUND VIDEO
   =================================== */

@media (max-width: 768px) {

    /* Reduce blur for mobile GPU performance */
    .backdrop-blur-\[2px\] {
        backdrop-filter: blur(1px) !important;
        -webkit-backdrop-filter: blur(1px) !important;
    }

    /* Darken overlay for text readability */
    .bg-black\/60 {
        background: rgba(0, 0, 0, 0.75) !important;
    }
}


/* ===================================
   20. SAFE AREA INSETS (Notch phones)
   Supports iPhone X+ and Android
   cutout/notch displays
   =================================== */

@supports (padding: env(safe-area-inset-top)) {
    body {
        padding-left: env(safe-area-inset-left);
        padding-right: env(safe-area-inset-right);
        padding-bottom: env(safe-area-inset-bottom);
    }

    .glass-navbar {
        padding-top: max(6px, env(safe-area-inset-top)) !important;
    }

    footer {
        padding-bottom: max(1.25rem, env(safe-area-inset-bottom)) !important;
    }
}


/* ===================================
   21. TOUCH & PERFORMANCE OPTIMIZATIONS
   =================================== */

@media (max-width: 768px) {

    /* Reduce backdrop-filter for GPU performance */
    .glass-card,
    .glass-panel,
    .glass-container {
        -webkit-backdrop-filter: blur(8px) !important;
        backdrop-filter: blur(8px) !important;
    }

    /* Disable expensive hover effects on touch-only devices */
    @media (hover: none) and (pointer: coarse) {

        .glass-card:hover,
        .glass-btn:hover,
        .machine-card:hover,
        .glass-panel:hover,
        .card:hover,
        [class*="-card"]:hover {
            transform: none !important;
            box-shadow: inherit !important;
        }

        /* Disable shimmer sweep on touch */
        .glass-shimmer:hover::before,
        .glass-btn:hover::before,
        [class*="-card"]:hover::before {
            left: -100% !important;
        }

        /* Remove hover-reveal actions on mobile (always visible) */
        .group-hover\:opacity-100 {
            opacity: 1 !important;
        }
    }

    /* Messages / alerts */
    .glass-alert {
        padding: 10px 14px !important;
        font-size: 0.85rem !important;
        border-radius: 10px !important;
    }
}


/* ===================================
   22. LANDSCAPE MOBILE
   =================================== */

@media (max-width: 768px) and (orientation: landscape) {
    body {
        padding-top: 60px !important;
    }

    .glass-navbar {
        padding: 3px 8px !important;
    }

    .logo-circle-island {
        width: 32px !important;
        height: 32px !important;
    }

    .user-setup-btn {
        height: 36px !important;
    }

    .user-setup-btn img {
        width: 28px !important;
        height: 28px !important;
    }
}


/* ===================================
   23. PRINT
   =================================== */

@media print {

    .glass-navbar,
    .mobile-menu-overlay,
    .mobile-hamburger,
    .scroll-to-top,
    .scroll-progress,
    .scroll-indicator,
    footer video,
    .fixed {
        display: none !important;
    }

    body {
        padding-top: 0 !important;
        background: white !important;
        color: black !important;
    }

    .glass-card,
    .glass-panel {
        background: white !important;
        border: 1px solid #ddd !important;
        box-shadow: none !important;
        -webkit-backdrop-filter: none !important;
        backdrop-filter: none !important;
    }
}