/* ================================================================ */
/*  CHALOBUDDY — LANDING PAGE MOBILE STYLES                         */
/*  Scope: max-width 768px (loaded via media attr in HTML)          */
/*  Author: Fixed & Modernized — Full Mobile Responsive             */
/* ================================================================ */

/* ─── GLOBAL RESET ─────────────────────────────────────────────── */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html,
body {
    overflow-x: hidden;
    width: 100%;
    -webkit-tap-highlight-color: transparent;
    -webkit-text-size-adjust: 100%;
}

/* ================================================================ */
/*  1. NAVBAR                                                        */
/* ================================================================ */
.lp-navbar {
    height: 60px !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
}

.lp-navbar.scrolled {
    height: 58px !important;
    background: rgba(255, 255, 255, 0.97) !important;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08) !important;
}

.lp-nav-container {
    padding: 0 16px !important;
    gap: 0 !important;
}

.lp-logo span {
    font-size: 1.15rem !important;
    letter-spacing: -0.5px !important;
}

.lp-logo i {
    font-size: 1.3rem !important;
}

/* Hide desktop nav links */
.lp-nav-links {
    display: none !important;
}

/* Hide login text link to save space — keep only "Join Free" button */
.btn-lp-login {
    display: none !important;
}

.btn-lp-join-header {
    padding: 8px 16px !important;
    font-size: 0.82rem !important;
    letter-spacing: 0.2px !important;
    white-space: nowrap !important;
    border-radius: 50px !important;
}

/* ================================================================ */
/*  2. SCROLL PROGRESS BAR                                           */
/* ================================================================ */
#lp-scroll-progress {
    top: calc(var(--topbar-h, 0px) + 60px) !important;
    height: 2px !important;
}

/* ================================================================ */
/*  3. PORTAL CONTAINER                                              */
/* ================================================================ */
.portal-container {
    padding: 0 !important;
    overflow-x: hidden !important;
    width: 100% !important;
}

/* ================================================================ */
/*  4. HERO SECTION                                                  */
/* ================================================================ */
.lp-hero {
    min-height: 100svh !important;
    padding: calc(var(--topbar-h, 0px) + 80px) 20px 50px !important;
    border-radius: 0 !important;
    margin-bottom: 0 !important;
    align-items: flex-start !important;
    justify-content: center !important;
    box-shadow: none !important;
    transition: padding-top 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.lp-hero-overlay {
    background: linear-gradient(160deg,
            rgba(10, 15, 40, 0.88) 0%,
            rgba(60, 50, 180, 0.55) 60%,
            rgba(147, 51, 234, 0.35) 100%) !important;
}

/* Kill desktop hero orbs on mobile — too heavy */
.lp-hero::before,
.lp-hero-overlay::before {
    display: none !important;
}

.lp-hero-grid {
    grid-template-columns: 1fr !important;
    text-align: center !important;
    gap: 32px !important;
    width: 100% !important;
    max-width: 100% !important;
    align-items: center !important;
}

/* ── Hero Content ─── */
.lp-hero-content {
    text-align: center !important;
    animation: heroFadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) both !important;
}

@keyframes heroFadeUp {
    from {
        opacity: 0;
        transform: translateY(28px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.lp-hero-title {
    font-size: clamp(2.4rem, 10vw, 3rem) !important;
    line-height: 1.08 !important;
    letter-spacing: -1.5px !important;
    margin-bottom: 14px !important;
    font-weight: 900 !important;
    /* Remove heavy text-shadow blur on mobile */
    text-shadow: 0 4px 16px rgba(0, 0, 0, 0.4) !important;
    /* Override stagger animation delays */
    animation: heroFadeUp 0.8s 0.1s cubic-bezier(0.16, 1, 0.3, 1) both !important;
}

.lp-hero-subtitle {
    font-size: 1rem !important;
    line-height: 1.55 !important;
    max-width: 100% !important;
    margin: 0 auto 26px auto !important;
    color: rgba(255, 255, 255, 0.88) !important;
    font-weight: 400 !important;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3) !important;
    animation: heroFadeUp 0.8s 0.22s cubic-bezier(0.16, 1, 0.3, 1) both !important;
}

/* ── Hero Search Bar ─── */
.lp-search-wrap {
    max-width: 100% !important;
    margin: 0 auto !important;
    animation: heroFadeUp 0.8s 0.34s cubic-bezier(0.16, 1, 0.3, 1) both !important;
}

.lp-search-box {
    flex-direction: column !important;
    gap: 10px !important;
    padding: 12px !important;
    border-radius: 22px !important;
    background: rgba(255, 255, 255, 0.12) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    border: 1px solid rgba(255, 255, 255, 0.25) !important;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25) !important;
    align-items: stretch !important;
}

.lp-search-box:focus-within {
    transform: none !important;
    /* Kill lift animation on mobile */
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3), 0 0 0 2px rgba(147, 51, 234, 0.4) !important;
    background: rgba(255, 255, 255, 0.18) !important;
}

/* Hide the location icon when stacked */
.lp-search-icon {
    display: none !important;
}

.lp-search-input {
    text-align: left !important;
    font-size: 1rem !important;
    background: rgba(255, 255, 255, 0.95) !important;
    border-radius: 14px !important;
    padding: 14px 16px !important;
    width: 100% !important;
    color: #1e293b !important;
    font-weight: 500 !important;
    border: none !important;
    box-shadow: none !important;
    outline: none !important;
}

.lp-search-input::placeholder {
    color: #94a3b8 !important;
    font-size: 0.9rem !important;
}

.lp-search-btn {
    width: 100% !important;
    padding: 15px 20px !important;
    border-radius: 14px !important;
    font-size: 1rem !important;
    font-weight: 800 !important;
    letter-spacing: 0.3px !important;
    box-shadow: 0 8px 20px rgba(79, 70, 229, 0.4) !important;
}

/* Kill shimmer animation on mobile button */
.lp-search-btn::after {
    display: none !important;
}

/* Live search dropdown */
.lp-search-dropdown {
    border-radius: 14px !important;
}

/* ── Trust Points ─── */
.lp-hero-trust-points {
    flex-direction: row !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 10px 18px !important;
    margin-top: 22px !important;
    padding: 0 !important;
    animation: heroFadeUp 0.8s 0.46s cubic-bezier(0.16, 1, 0.3, 1) both !important;
}

.lp-hero-trust-points li {
    font-size: 0.88rem !important;
    gap: 6px !important;
    font-weight: 600 !important;
}

.lp-hero-trust-points li i {
    font-size: 1rem !important;
}

/* ── Hero Media / Phone Composition ─── */
.lp-hero-media {
    margin-top: 0 !important;
    justify-content: center !important;
    align-items: center !important;
    /* Slide in from below */
    animation: heroFadeUp 0.9s 0.3s cubic-bezier(0.16, 1, 0.3, 1) both !important;
}

.hero-composition {
    position: relative !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    max-width: 260px !important;
    margin: 0 auto !important;
    transform: none !important;
}

.lp-mockup-phone {
    width: 210px !important;
    height: 420px !important;
    border-radius: 36px !important;
    border-width: 8px !important;
    /* Simplify shadow on mobile */
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4), inset 0 0 0 1px rgba(255, 255, 255, 0.08) !important;
    transform: rotate(3deg) !important;
    /* Override float animation — too distracting on small screens */
    animation: floatPhoneMobile 6s ease-in-out infinite alternate !important;
}

@keyframes floatPhoneMobile {
    0% {
        transform: translateY(0) rotate(3deg);
    }

    100% {
        transform: translateY(-8px) rotate(2deg);
    }
}

.lp-mockup-notch {
    width: 100px !important;
    height: 20px !important;
}

.mock-header {
    padding: 30px 14px 10px !important;
    font-size: 1rem !important;
}

.mock-header img {
    width: 28px !important;
    height: 28px !important;
}

.mock-search {
    margin: 10px !important;
    padding: 9px 12px !important;
    font-size: 0.78rem !important;
}

.mock-feed {
    padding: 0 10px !important;
    gap: 10px !important;
}

.mock-card img {
    height: 80px !important;
}

.mock-desc {
    padding: 8px !important;
}

.mock-desc b {
    font-size: 0.8rem !important;
}

.mock-desc span {
    font-size: 0.68rem !important;
}

.mock-tabbar {
    height: 48px !important;
    font-size: 1rem !important;
}

/* Avatar image — repositioned and scaled for mobile */
.hero-avatar {
    width: 90px !important;
    height: 115px !important;
    left: -14px !important;
    bottom: -10px !important;
    top: auto !important;
    border-width: 3px !important;
    border-radius: 14px !important;
    transform: rotate(-5deg) !important;
    animation: floatAvatarMobile 5s ease-in-out infinite alternate !important;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.3) !important;
    z-index: 10 !important;
}

@keyframes floatAvatarMobile {
    0% {
        transform: translateY(0) rotate(-5deg);
    }

    100% {
        transform: translateY(-8px) rotate(-3deg);
    }
}

/* Floating Badges — simplified placement for mobile */
.hero-dec-badge {
    padding: 9px 14px !important;
    border-radius: 16px !important;
    font-size: 0.78rem !important;
    gap: 8px !important;
    font-weight: 800 !important;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.14) !important;
    white-space: nowrap !important;
}

.hero-dec-badge.top-right {
    top: -14px !important;
    right: -16px !important;
    animation: floatBadgeMobile 4s ease-in-out infinite alternate !important;
}

.hero-dec-badge.bottom-left {
    bottom: 50px !important;
    left: -60px !important;
    animation: floatBadgeMobile 5s ease-in-out infinite alternate-reverse !important;
}

@keyframes floatBadgeMobile {
    0% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(-8px);
    }
}

/* ================================================================ */
/*  5. HOW IT WORKS                                                  */
/* ================================================================ */
.lp-how-works {
    margin: 0 !important;
    padding: 50px 20px !important;
    border-radius: 0 !important;
}

.lp-how-works .lp-section-header {
    margin-bottom: 30px !important;
}

.lp-how-works .lp-section-header h3 {
    font-size: 1.6rem !important;
    margin-bottom: 8px !important;
}

.lp-how-works .lp-section-header p {
    font-size: 0.92rem !important;
}

.how-works-grid {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
}

.how-step {
    text-align: center !important;
    padding: 30px 20px !important;
    border-radius: 24px !important;
}

.how-step:hover {
    transform: none !important;
    /* Disable hover lift on touch */
}

.how-icon {
    width: 64px !important;
    height: 64px !important;
    border-radius: 18px !important;
    font-size: 1.7rem !important;
    margin-bottom: 18px !important;
}

.how-step h4 {
    font-size: 1.15rem !important;
    margin-bottom: 8px !important;
}

.how-step p {
    font-size: 0.9rem !important;
    line-height: 1.55 !important;
}

/* ================================================================ */
/*  6. LAYOUT WRAPPER & SIDEBAR                                      */
/* ================================================================ */
.lp-wrapper {
    display: block !important;
    grid-template-columns: 1fr !important;
    grid-template-areas: "main" !important;
    padding: 0 16px !important;
    margin: 0 auto !important;
    max-width: 100% !important;
    gap: 0 !important;
}

.portal-main {
    width: 100% !important;
    min-width: 0 !important;
    padding-bottom: 40px !important;
}

/* Completely hide sidebar on mobile */
.right-sidebar {
    display: none !important;
}

/* ================================================================ */
/*  7. SECTION HEADERS                                               */
/* ================================================================ */
.lp-section-header {
    margin: 32px 0 16px !important;
    align-items: center !important;
}

.lp-section-header h3 {
    font-size: 1.1rem !important;
    font-weight: 800 !important;
}

.lp-section-header a {
    font-size: 0.82rem !important;
    font-weight: 700 !important;
    white-space: nowrap !important;
}

/* ================================================================ */
/*  8. TRENDING DESTINATIONS                                         */
/* ================================================================ */
/* Horizontal scroll strip on mobile — much better UX than 2x2 grid */
.lp-trending-grid {
    display: flex !important;
    flex-direction: row !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    scroll-snap-type: x mandatory !important;
    gap: 14px !important;
    padding: 4px 2px 16px !important;
    margin: 0 -16px !important;
    padding-left: 16px !important;
    padding-right: 16px !important;
    /* Hide scrollbar */
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
}

.lp-trending-grid::-webkit-scrollbar {
    display: none !important;
}

.lp-trending-card {
    flex: 0 0 170px !important;
    width: 170px !important;
    height: 210px !important;
    border-radius: 22px !important;
    scroll-snap-align: start !important;
    /* Disable hover transform on touch */
    transition: box-shadow 0.3s ease !important;
}

.lp-trending-card:hover {
    transform: none !important;
}

.lp-trending-card:active {
    transform: scale(0.97) !important;
}

.lp-trending-card img {
    transition: none !important;
}

.lp-trending-info {
    padding: 36px 14px 16px !important;
}

.lp-trending-info h4 {
    font-size: 1.05rem !important;
    margin-bottom: 3px !important;
}

.lp-trending-info p {
    font-size: 0.78rem !important;
}

/* ================================================================ */
/*  9. FEATURED TRIPS (Horizontal Scroll)                            */
/* ================================================================ */
.lp-featured-scroll {
    gap: 14px !important;
    margin: 0 -16px !important;
    padding: 4px 16px 16px !important;
    scroll-snap-type: x mandatory !important;
}

.lp-feat-card {
    flex-shrink: 0 !important;
    width: 240px !important;
    height: 340px !important;
    border-radius: 22px !important;
    scroll-snap-align: start !important;
    transition: box-shadow 0.3s ease !important;
}

.lp-feat-card:hover {
    transform: none !important;
}

.lp-feat-card:active {
    transform: scale(0.98) !important;
}

.feat-bottom h4 {
    font-size: 1.2rem !important;
    margin-bottom: 7px !important;
}

.feat-bottom p {
    font-size: 0.82rem !important;
}

.feat-user {
    padding: 7px 13px 7px 7px !important;
}

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

.feat-user span {
    font-size: 0.78rem !important;
}

/* ================================================================ */
/*  10. BROWSE CATEGORIES                                            */
/* ================================================================ */
.lp-categories {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 10px !important;
    margin-bottom: 8px !important;
}

.lp-cat-card {
    padding: 16px 6px 12px !important;
    border-radius: 16px !important;
    font-size: 0.75rem !important;
    font-weight: 700 !important;
    transition: transform 0.2s ease !important;
    background: rgba(255,255,255,0.85) !important;
}

.lp-cat-card:hover {
    transform: translateY(-3px) !important;
}

.lp-cat-card:active {
    transform: scale(0.95) !important;
}

.lp-cat-card::before {
    display: none !important;
}

.lp-cat-icon {
    width: 44px !important;
    height: 44px !important;
    font-size: 1.15rem !important;
    border-radius: 12px !important;
    margin-bottom: 8px !important;
    box-shadow: none !important;
}

.lp-cat-card:hover .lp-cat-icon {
    transform: scale(1.08) !important;
    box-shadow: none !important;
}

/* ================================================================ */
/*  11. BANNER ADVERTISEMENT — Mobile Fix                            */
/*  Image is position:absolute inline, so we give the card a        */
/*  fixed height and overlay content on top with gradient           */
/* ================================================================ */
.lp-banner-wrap {
    margin-bottom: 16px !important;
    border-radius: 22px !important;
    overflow: hidden !important;
}

.lp-banner-ad {
    flex-direction: row !important;   /* keep as row — image is absolute */
    align-items: flex-end !important;
    min-height: 200px !important;
    height: 200px !important;
    border-radius: 22px !important;
    overflow: hidden !important;
    position: relative !important;
}

/* Force the absolute image to fill the card properly */
.lp-banner-ad > img {
    position: absolute !important;
    top: 0 !important; left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    z-index: 0 !important;
}

/* Content overlaid on the image */
.lp-banner-content {
    position: relative !important;
    z-index: 2 !important;
    width: 100% !important;
    padding: 16px 18px 18px !important;
    background: linear-gradient(to top, rgba(10,10,30,0.88) 0%, rgba(10,10,30,0.5) 60%, transparent 100%) !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-end !important;
}

.lp-banner-content h4 {
    font-size: 1.1rem !important;
    font-weight: 900 !important;
    color: #fff !important;
    margin-bottom: 4px !important;
    text-shadow: 0 2px 6px rgba(0,0,0,0.5) !important;
}

.lp-banner-content p {
    font-size: 0.82rem !important;
    color: rgba(255,255,255,0.85) !important;
    margin-bottom: 12px !important;
    line-height: 1.45 !important;
    text-shadow: 0 1px 4px rgba(0,0,0,0.4) !important;
}

.lp-sponsored-label {
    font-size: 0.58rem !important;
    margin-bottom: 8px !important;
    padding: 3px 10px !important;
    background: rgba(79,70,229,0.85) !important;
    color: #fff !important;
    border: none !important;
    width: fit-content !important;
}

/* ================================================================ */
/*  12. CTA STRIP                                                    */
/* ================================================================ */
.lp-cta-strip {
    flex-direction: column !important;
    text-align: center !important;
    padding: 32px 20px !important;
    margin: 32px 0 !important;
    gap: 18px !important;
    border-radius: 24px !important;
}

.lp-cta-strip>p {
    font-size: 1.3rem !important;
    text-align: center !important;
    line-height: 1.3 !important;
}

.lp-cta-strip>div {
    flex-direction: column !important;
    gap: 12px !important;
    width: 100% !important;
    align-items: stretch !important;
}

.btn-lp-join,
.btn-lp-post {
    padding: 14px 24px !important;
    font-size: 0.95rem !important;
    text-align: center !important;
    width: 100% !important;
    display: block !important;
    border-radius: 16px !important;
}

/* ================================================================ */
/*  13. LIVE TRIP FEED                                               */
/* ================================================================ */
.lp-feed-grid {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
    margin-top: 16px !important;
}

.lp-feed-grid .feed-card {
    border-radius: 20px !important;
}

.lp-feed-grid .card-image-wrap img {
    height: 200px !important;
    border-radius: 20px 20px 0 0 !important;
}

/* Feed skeleton loaders */
.skeleton-card {
    border-radius: 20px !important;
}

.skeleton-image {
    height: 180px !important;
}

/* Feed end message */
.lp-feed-end {
    padding: 40px 20px !important;
    border-radius: 22px !important;
    margin: 20px 0 !important;
}

.lp-feed-end i {
    font-size: 2rem !important;
}

.lp-feed-end h4 {
    font-size: 1.1rem !important;
}

.lp-feed-end p {
    font-size: 0.88rem !important;
}

/* ================================================================ */
/*  14. MAIN FOOTER                                                  */
/* ================================================================ */
.lp-footer {
    padding: 50px 20px 16px !important;
    margin-top: 40px !important;
}

.lp-footer-container {
    grid-template-columns: 1fr !important;
    gap: 28px !important;
    padding-bottom: 36px !important;
}

.lp-footer-logo {
    font-size: 1.25rem !important;
    margin-bottom: 14px !important;
}

.lp-footer-desc {
    font-size: 0.88rem !important;
    line-height: 1.6 !important;
    max-width: 100% !important;
    margin-bottom: 18px !important;
}

.lp-social-links {
    gap: 12px !important;
}

.lp-social-links a {
    width: 36px !important;
    height: 36px !important;
    font-size: 0.9rem !important;
}

.lp-footer-col h4 {
    font-size: 0.95rem !important;
    margin-bottom: 14px !important;
}

.lp-footer-col a {
    font-size: 0.88rem !important;
    margin-bottom: 10px !important;
}

/* Disable slide animation on footer links (touch devices) */
.lp-footer-col a:hover {
    transform: none !important;
}

.lp-footer-bottom {
    font-size: 0.78rem !important;
    padding-top: 18px !important;
}

/* ================================================================ */
/*  15. SCROLL REVEAL — PERFORMANCE OPTIMIZATION                     */
/*  Mobile: remove blur filter & reduce transform magnitude          */
/*  so GPU isn't destroyed on mid-range Android phones               */
/* ================================================================ */
.reveal,
.reveal-left,
.reveal-right,
.reveal-scale {
    filter: none !important;
    /* No blur on mobile */
    transform: translateY(18px) !important;
    transition: opacity 0.55s ease, transform 0.55s ease !important;
}

.reveal-left {
    transform: translateX(-20px) !important;
}

.reveal-right {
    transform: translateX(20px) !important;
}

.reveal-scale {
    transform: scale(0.96) !important;
}

.reveal.visible,
.reveal-left.visible,
.reveal-right.visible,
.reveal-scale.visible {
    transform: none !important;
    filter: none !important;
    opacity: 1 !important;
}

/* Stagger children — simplified for mobile */
.stagger-children>* {
    transform: translateY(14px) !important;
    transition: opacity 0.45s ease, transform 0.45s ease !important;
    filter: none !important;
}

/* Category bounce-in — keep for delight, but simpler */
.lp-categories.visible .lp-cat-card:nth-child(1) {
    animation: mBounce 0.5s 0.04s ease both !important;
}

.lp-categories.visible .lp-cat-card:nth-child(2) {
    animation: mBounce 0.5s 0.10s ease both !important;
}

.lp-categories.visible .lp-cat-card:nth-child(3) {
    animation: mBounce 0.5s 0.16s ease both !important;
}

.lp-categories.visible .lp-cat-card:nth-child(4) {
    animation: mBounce 0.5s 0.22s ease both !important;
}

.lp-categories.visible .lp-cat-card:nth-child(5) {
    animation: mBounce 0.5s 0.28s ease both !important;
}

.lp-categories.visible .lp-cat-card:nth-child(6) {
    animation: mBounce 0.5s 0.34s ease both !important;
}

@keyframes mBounce {
    from {
        opacity: 0;
        transform: scale(0.85) translateY(10px);
    }

    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* ================================================================ */
/*  16. MISCELLANEOUS TOUCH & UX POLISHES                           */
/* ================================================================ */

/* Active state feedback for all cards */
.lp-trending-card:active,
.lp-feat-card:active,
.lp-cat-card:active,
.lp-banner-ad:active,
.feed-card:active {
    transform: scale(0.97) !important;
    transition: transform 0.1s ease !important;
}

/* Ensure images never overflow their containers */
img {
    max-width: 100% !important;
}

/* Make all feed cards not use hover shadows (performance) */
.lp-sidebar-card:hover {
    transform: none !important;
    box-shadow: 0 6px 22px rgba(0, 0, 0, 0.05) !important;
}

/* CTA sweep animation — kill on mobile */
.lp-cta-strip::before {
    display: none !important;
}

/* ================================================================ */
/*  17. SMALL PHONE BREAKPOINT (≤ 380px)                            */
/* ================================================================ */
@media (max-width: 380px) {
    .lp-hero-title {
        font-size: 2.1rem !important;
        letter-spacing: -1px !important;
    }

    .lp-hero-subtitle {
        font-size: 0.92rem !important;
    }

    .lp-hero-trust-points li {
        font-size: 0.82rem !important;
    }

    .hero-composition {
        max-width: 220px !important;
    }

    .lp-mockup-phone {
        width: 186px !important;
        height: 372px !important;
    }

    .hero-avatar {
        width: 76px !important;
        height: 96px !important;
        left: -10px !important;
    }

    .hero-dec-badge {
        font-size: 0.7rem !important;
        padding: 7px 11px !important;
    }

    .hero-dec-badge.bottom-left {
        left: -48px !important;
        bottom: 36px !important;
    }

    .lp-categories {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    .lp-cta-strip>p {
        font-size: 1.15rem !important;
    }

    .how-works-grid {
        gap: 12px !important;
    }

    .how-step {
        padding: 24px 16px !important;
    }
}

/* ================================================================ */
/*  18. LANDSCAPE MOBILE (height < 500px)                           */
/*  Compact the hero when phone is rotated                          */
/* ================================================================ */
@media (max-height: 500px) and (orientation: landscape) {
    .lp-hero {
        min-height: auto !important;
        padding: 70px 20px 40px !important;
    }

    .lp-hero-grid {
        grid-template-columns: 1fr 1fr !important;
        gap: 20px !important;
        align-items: center !important;
    }

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

    .lp-hero-title {
        font-size: 1.8rem !important;
        margin-bottom: 8px !important;
    }

    .lp-hero-subtitle {
        font-size: 0.88rem !important;
        margin-bottom: 16px !important;
    }

    .lp-hero-trust-points {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 6px !important;
    }

    .lp-hero-media {
        display: flex !important;
    }

    .hero-composition {
        max-width: 200px !important;
    }

    .lp-mockup-phone {
        width: 160px !important;
        height: 320px !important;
    }
}

/* ================================================================ */
/*  19. SAFE AREA INSETS (iPhone notch / Dynamic Island)            */
/* ================================================================ */
.lp-navbar {
    padding-top: env(safe-area-inset-top) !important;
}

.lp-footer {
    padding-bottom: calc(16px + env(safe-area-inset-bottom)) !important;
}

/* ================================================================ */
/*  20. PREFERS REDUCED MOTION                                       */
/* ================================================================ */
@media (prefers-reduced-motion: reduce) {

    .lp-hero-title,
    .lp-hero-subtitle,
    .lp-hero-content,
    .lp-hero-media,
    .lp-search-wrap,
    .lp-hero-trust-points,
    .lp-mockup-phone,
    .hero-avatar,
    .hero-dec-badge,
    .hero-dec-badge.top-right,
    .hero-dec-badge.bottom-left,
    .lp-categories.visible .lp-cat-card {
        animation: none !important;
        transition: none !important;
        opacity: 1 !important;
        transform: none !important;
        filter: none !important;
    }

    .reveal,
    .reveal-left,
    .reveal-right,
    .reveal-scale,
    .stagger-children>* {
        opacity: 1 !important;
        transform: none !important;
        filter: none !important;
        transition: none !important;
    }

    .lp-search-btn::after,
    .lp-hero-badge::after {
        display: none !important;
    }
}