/* ================================================================
   NEW LANDING PAGE — TRAVELISTAS
   Fully responsive: mobile, tablet, laptop, desktop
   ================================================================ */

/* ---------- Google Fonts ---------- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Playfair+Display:ital,wght@0,400;0,700;1,400;1,700&display=swap');

/* ---------- CSS Variables ---------- */
:root {
    --nl-primary: #4361ee;
    --nl-primary-dark: #3a56d4;
    --nl-primary-light: #6b83f2;
    --nl-bg: #ffffff;
    --nl-bg-alt: #f5f7fa;
    --nl-text: #1a1a2e;
    --nl-text-muted: #64748b;
    --nl-radius: 16px;
    --nl-radius-sm: 10px;
    --nl-radius-pill: 999px;
    --nl-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
    --nl-shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.12);
    --nl-transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --nl-font: 'Inter', system-ui, -apple-system, sans-serif;
    --nl-font-serif: 'Playfair Display', Georgia, serif;
}

/* ---------- Reset for new landing page ---------- */
.nl-page * {
    box-sizing: border-box;
}

.nl-page {
    font-family: var(--nl-font);
    color: var(--nl-text);
    overflow-x: hidden;
    background: #fff;
}

/* Visibility Utilities */
.nl-mobile-only {
    display: none !important;
}

@media (max-width: 1024px) {
    .nl-mobile-only {
        display: block !important;
    }

    .nl-desktop-only {
        display: none !important;
    }
}



/* Hamburger for mobile */
.nl-hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 4px;
    background: none;
    border: none;
}

.nl-hamburger span {
    width: 24px;
    height: 2.5px;
    background: var(--nl-text);
    border-radius: 2px;
    transition: var(--nl-transition);
}

/* ================================================================
   TOP NAVIGATION
   ================================================================ */
.nl-topnav {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    /* env(safe-area-inset-top) adds clearance for the iOS notch / Dynamic Island.
       Falls back to 20px on devices/browsers that don't support safe areas. */
    padding: calc(env(safe-area-inset-top, 0px) + 20px) 24px 20px;
}

.nl-topnav-inner {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nl-topnav-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nl-topnav-logo-icon {
    width: 48px;
    height: 48px;
    rotate: 90deg;
    object-fit: contain;
}

.nl-topnav-brand {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.nl-brand-title {
    font-family: var(--nl-font);
    font-size: 1.3rem;
    font-weight: 800;
    color: #242430;
    line-height: 1.1;
}

.nl-brand-tagline {
    font-family: var(--nl-font);
    font-size: 0.75rem;
    font-weight: 700;
    color: #242430;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.nl-topnav-btn {
    border: 1px solid #ffffff;
    border-radius: 40px;
    padding: 8px 24px;
    color: #242430;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    transition: all var(--nl-transition);
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(4px);
}

.nl-topnav-btn em {
    font-weight: 400;
    font-style: italic;
}

.nl-topnav-btn:hover {
    background: #ffffff;
    color: #3355FF;
    border-color: #ffffff;
}

/* ================================================================
   HERO SECTION
   ================================================================ */
.nl-hero {
    position: relative;
    height: 100vh;           /* fallback for older browsers */
    height: 100dvh;          /* dynamic viewport height — shrinks/grows with iOS/Android chrome */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0 24px;
    background: linear-gradient(180deg, #eaf2fc 0%, #eff5fc 30%, #f6faff 70%, #ffffff 100%);
    overflow: hidden;
}

/* Background Image covering hero */
.nl-hero-clouds {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100%;
    background: url('/new_landing_page/hero.jpg') center bottom / cover no-repeat;
    opacity: 0.35;
    pointer-events: none;
}

.nl-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 1024px;
    width: 100%;
    margin: 0 auto;
    padding-bottom: 160px;
}

.nl-hero-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 60px;
    /* Extra clearance for iOS notch on top of the standard 90px nav offset */
    margin-top: calc(env(safe-area-inset-top, 0px) + 90px);
}

.nl-hero-logo img {
    max-width: 100%;
    height: auto;
    max-height: 52px;
}


.nl-hero-badge {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--nl-primary);
    margin-bottom: 16px;
}

.nl-hero h1 {
    font-family: var(--nl-font);
    font-size: 3.8rem;
    font-weight: 800;
    line-height: 1.1;
    color: #242430;
    margin: 0 0 24px;
    letter-spacing: -1.5px;
}

.nl-hero h1 em {
    font-style: italic;
}

.nl-hero-sub {
    font-size: 1.15rem;
    color: #2B2642;
    max-width: 600px;
    margin: 0 auto 48px;
    line-height: 1.6;
}

.nl-hero-search {
    position: relative;
    max-width: 960px;
    margin: 0px auto 30px;
    z-index: 3;
    width: 100%;
}

.nl-hero-search-inner {
    display: flex;
    align-items: center;
    background: rgba(235, 240, 245, 0.75);
    backdrop-filter: blur(16px);
    border: 1.5px solid #ffffffb6;
    border-radius: 60px;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.05);
    padding: 12px;
    gap: 12px;
    transition: box-shadow var(--nl-transition);
}

.nl-hero-search-inner:focus-within {
    box-shadow: 0 6px 30px rgba(67, 97, 238, 0.15), 0 1px 4px rgba(0, 0, 0, 0.05);
}

.nl-hero-search input.nl-hero-search-input {
    flex: 1;
    min-width: 0;
    width: 100%;
    border: 1px solid #e2e8f0;
    border-radius: 40px;
    outline: none;
    font-size: 1.05rem;
    font-weight: 500;
    font-family: var(--nl-font);
    color: var(--nl-text);
    background: #ffffff;
    padding: 10px 24px;
    box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.02);
}

.nl-hero-search input.nl-hero-search-input::placeholder {
    color: #94a3b8;
}

.nl-hero-search-btn {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: none;
    background: #3355FF;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background var(--nl-transition), transform 0.15s;
    flex-shrink: 0;
}

.nl-hero-search-btn:hover {
    background: var(--nl-primary-dark);
    transform: scale(1.05);
}

.nl-hero-search-btn svg {
    width: 22px;
    height: 22px;
    transform: rotate(-45deg);
    margin-right: 2px;
    margin-bottom: 2px;
}

/* Quick chips */
.nl-hero-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    max-width: 960px;
    width: 100%;
    margin: 0 auto;
    z-index: 3;
    position: relative;
}

.nl-hero-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    margin: 10px 0px;
    background: #ffffff;
    border: none;
    border-radius: 40px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #475569;
    cursor: pointer;
    transition: all var(--nl-transition);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    text-decoration: none;
    white-space: nowrap;
}

.nl-hero-chip:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
}

.chip-icon-svg {
    width: 14px;
    height: 14px;
}

.green-chip .chip-icon-svg {
    stroke: #00A85A;
}

.green-chip {
    color: #00A85A;
}

.blue-chip .chip-icon-svg {
    stroke: #5498FF;
}

.blue-chip {
    color: #5498FF;
}

.dark-chip .chip-icon-svg {
    stroke: #002A6B;
}

.dark-chip {
    color: #002A6B;
}

/* Hide old chat FAB specifically on new landing page */
.tvchat-fab {
    display: none !important;
}

/* Ask Travelistas floating badge */
.nl-ask-badge {
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 100;
    background: #ffffff;
    color: #3355FF;
    width: 56px;
    padding: 20px 0;
    border-radius: 28px;
    font-size: 0.82rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
    transition: box-shadow var(--nl-transition);
    border: 1px solid rgba(0, 0, 0, 0.06);
    user-select: none;
}

.nl-ask-badge:hover {
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.18);
}

.nl-badge-text {
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    white-space: nowrap;
    letter-spacing: 0.5px;
    line-height: 1;
}

.nl-ask-badge .badge-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    flex-shrink: 0;
}

/* ================================================================
   ABOUT / MEET TRAVELISTAS SECTION
   ================================================================ */
.nl-about {
    padding: 60px 80px;
    background: var(--nl-bg);
}

.nl-about-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 0.38fr 0.62fr;
    gap: 60px;
    align-items: center;
}

.nl-about-heading-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.nl-about-heading-wrap h2 {
    color: #3355FF !important;
}

.nl-header-mini-logo {
    height: 38px;
    width: auto;
    rotate: 90deg;
    flex-shrink: 0;
}

.nl-about-image {
    position: relative;
    align-self: stretch;
}

.nl-about-image img {
    width: 100%;
    height: 100%;
    border-radius: 20px;
    object-fit: cover;
    display: block;
}

.nl-about-image-caption {
    position: absolute;
    bottom: 20px;
    left: -20px;
    background: #ffffff;
    padding: 10px;
    border-radius: 40px;
    font-size: 0.75rem;
    font-weight: 600;
    color: #00A85A;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.nl-about-image-caption .caption-icon-svg {
    width: 14px;
    height: 14px;
    stroke: #00A85A;
}

.nl-about-text h2 {
    font-family: var(--nl-font);
    font-size: 2.2rem;
    font-weight: 800;
    margin: 0 0 1px;
    color: black;
    letter-spacing: -1px;
}

.nl-about-text p {
    font-size: 1.15rem;
    color: black;
    line-height: 1.6;
    margin: 0 0 36px;
    max-width: 90%;
}

/* Feature cards grid */
.nl-features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.nl-feature-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px 10px;
    background: #FAFAFA;
    border-radius: 12px;
    border: 1px solid #E1E1E1;
    transition: all var(--nl-transition);
}

.nl-feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.04);
}

.nl-feature-card-icon {
    width: 44px;
    height: 44px;
    background: #EBEEFF;
    border-radius: 12px;
    color: #3355FF;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.nl-feature-card h4 {
    font-family: var(--nl-font);
    font-size: 0.82rem;
    font-weight: 700;
    margin: 0 0 8px;
    color: #000000;
}

.nl-feature-card p {
    font-size: 0.72rem;
    color: #000000;
    margin: 0;
    line-height: 1.4;
}

/* ================================================================
   MULTILINGUAL CHAT SECTION
   ================================================================ */
.nl-multilingual {
    padding: 80px 0;
    background-color: #3355FF;
    background-image: radial-gradient(rgba(255, 255, 255, 0.2) 1px,
            transparent 1px);
    background-size: 20px 20px;
    color: #fff;
    text-align: center;
    overflow: hidden;
}

.nl-multilingual .nl-fade-up {
    padding: 0 24px;
}

.nl-multilingual h2 {
    font-family: var(--nl-font);
    font-size: 3.2rem;
    font-weight: 800;
    margin: 0 0 20px;
    color: #fff;
    line-height: 1.1;
    letter-spacing: -1.5px;
}

.nl-multilingual p.nl-multi-sub {
    font-size: 1.1rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto 40px;
    line-height: 1.6;
}

.nl-say-hi-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 8px 8px 8px 24px;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--nl-transition);
    margin-bottom: 44px;
    backdrop-filter: blur(4px);
}

.nl-say-hi-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.8);
}

.nl-btn-icon-circle {
    width: 32px;
    height: 32px;
    background: transparent;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 4px;
}

.nl-say-hi-btn svg.sparkle-icon {
    width: 16px;
    height: 16px;
}

.nl-say-hi-btn svg.send-icon {
    width: 16px;
    height: 16px;
    color: #fff;
}

.nl-say-hi-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.2);
}

.nl-say-hi-btn svg {
    width: 18px;
    height: 18px;
}

/* Language pill scattered/floating styles */
.nl-multilingual {
    position: relative;
    padding: 100px 24px;
    background-color: #3355FF;
    background-image: radial-gradient(rgba(255, 255, 255, 0.2) 1px, transparent 1px);
    background-size: 20px 20px;
    overflow: hidden;
    min-height: 550px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.nl-multilingual-content {
    position: relative;
    z-index: 10;
}

.nl-lang-floating-wrap {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.nl-lang-pill {
    position: absolute;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 22px;
    background: #FFFFFF;
    border: none;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 600;
    color: #111111;
    white-space: nowrap;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.5s ease;
    animation: nlFloat 6s ease-in-out infinite;
}

.nl-lang-pill svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}

/* Positioning pills scattered like Figma */
.lp-1 {
    top: 15%;
    left: 10%;
    animation-delay: 0s;
}

.lp-2 {
    top: 10%;
    right: 15%;
    animation-delay: 1s;
}

.lp-3 {
    top: 40%;
    left: 5%;
    animation-delay: 2s;
}

.lp-4 {
    top: 35%;
    right: 8%;
    animation-delay: 0.5s;
}

.lp-5 {
    bottom: 20%;
    left: 12%;
    animation-delay: 1.5s;
}

.lp-6 {
    bottom: 15%;
    right: 10%;
    animation-delay: 2.5s;
}

.lp-7 {
    bottom: 10%;
    left: 35%;
    animation-delay: 3s;
}

.lp-8 {
    bottom: 35%;
    right: 25%;
    animation-delay: 1.2s;
}

.lp-9 {
    top: 14%;
    left: 28%;
    animation-delay: 0.8s;
}

@keyframes nlFloat {

    0%,
    100% {
        transform: translateY(0) rotate(0);
    }

    50% {
        transform: translateY(-15px) rotate(1deg);
    }
}

@media (max-width: 768px) {
    .nl-multilingual {
        padding: 48px 16px;
        min-height: 380px;
    }

    .nl-multilingual h2 {
        font-size: 1.75rem;
        margin-bottom: 14px;
    }

    .nl-multilingual p.nl-multi-sub {
        display: none;
    }

    .nl-say-hi-btn {
        margin-bottom: 0;
    }

    .nl-lang-floating-wrap {
        height: 100%;
    }

    .nl-lang-pill {
        font-size: 0.72rem;
        padding: 5px 12px;
        gap: 4px;
    }

    .nl-lang-pill svg {
        width: 10px;
        height: 10px;
    }

    .lp-1 {
        top: 16%;
        left: 3%;
    }

    .lp-9 {
        top: 17%;
        left: 38%;
    }

    .lp-2 {
        top: 14%;
        right: 4%;
    }

    .lp-3 {
        top: 40%;
        left: 1%;
    }

    .lp-4 {
        top: 42%;
        right: 1%;
    }

    .lp-5 {
        bottom: 16%;
        left: 3%;
    }

    .lp-6 {
        bottom: 14%;
        right: 2%;
    }

    .lp-7,
    .lp-8 {
        display: none;
    }
}

/* ================================================================
   APP DOWNLOAD SECTION
   ================================================================ */
.nl-app-download {
    padding: 60px 40px;
    background: #ffffff;
}

.nl-app-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
    background: #f4f5f7;
    border-radius: 24px;
    padding: 56px 56px;
}

.nl-app-text h2 {
    font-family: var(--nl-font);
    font-size: 2.2rem;
    font-weight: 800;
    margin: 0 0 16px;
    color: #111111;
    line-height: 1.2;
    letter-spacing: -1px;
}

.nl-app-text p {
    font-size: 1rem;
    color: #475569;
    line-height: 1.6;
    margin: 0 0 32px;
}

.nl-app-buttons {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.nl-store-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 22px;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    transition: all var(--nl-transition);
    border: none;
}

.nl-store-btn.play {
    background: #3355FF;
    color: #fff;
}

.nl-store-btn.play:hover {
    background: #1a3ee0;
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(51, 85, 255, 0.35);
}

.nl-store-btn.apple {
    background: #3355FF;
    color: #fff;
}

.nl-store-btn.apple:hover {
    background: #1a3ee0;
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(51, 85, 255, 0.25);
}

.nl-store-btn img {
    width: 20px;
    height: 20px;
    filter: brightness(0) invert(1);
}

/* Phone mockup */
.nl-app-phone {
    position: relative;
    width: 100%;
    max-width: 300px;
    height: auto;
    margin-left: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.nl-phone-mockup {
    width: 100%;
    height: auto;
    max-width: 480px;
    display: block;
}

/* ================================================================
   ASK INSTANTLY SECTION
   ================================================================ */
.nl-ask-instantly {
    padding: 80px 80px;
    background-color: #3355FF;
    background-image: radial-gradient(rgba(255, 255, 255, 0.2) 1px,
            transparent 1px);
    background-size: 20px 20px;
    color: #fff;
}

.nl-ask-instantly-inner {
    max-width: 1100px;
    margin: 0 auto;
}

.nl-ask-instantly h2 {
    font-family: var(--nl-font);
    font-size: 2.2rem;
    font-weight: 800;
    text-align: center;
    margin: 0 0 40px;
    color: #fff;
    letter-spacing: -0.5px;
}

.nl-ask-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.nl-ask-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    transition: all var(--nl-transition);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.nl-ask-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
}

.nl-ask-card-img {
    width: 100%;
    height: 190px;
    object-fit: cover;
}

.nl-ask-card-body {
    padding: 24px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 16px;
    flex: 1;
}

.nl-ask-card-body p {
    font-size: 0.9rem;
    color: #475569;
    margin: 0;
    line-height: 1.6;
    text-align: center;
    flex: 1;
}

.nl-ask-action-text {
    display: inline-block;
    font-size: 1rem;
    font-weight: 700;
}

.nl-ask-card-action {
    width: 100%;
    max-width: 220px;
    padding: 8px 16px;
    border-radius: 50px;
    background: #3355FF;
    color: #fff;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    cursor: pointer;
    transition: all var(--nl-transition);
    margin-top: auto;
}

.nl-ask-card-action:hover {
    background: #1a3ee0;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(51, 85, 255, 0.3);
}

.nl-ask-card-action svg {
    width: 18px;
    height: 18px;
    stroke: #fff;
    stroke-width: 2px;
}

/* Carousel wrapper — on desktop it's invisible scaffolding */
.nl-ask-carousel-wrap {
    position: relative;
}

/* Dot indicators — hidden on desktop, shown on mobile */
.nl-ask-dots {
    display: none;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
}

.nl-ask-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.35);
    border: none;
    padding: 0;
    cursor: pointer;
    transition: all 0.25s ease;
}

.nl-ask-dot.active {
    background: #fff;
    width: 24px;
    border-radius: 4px;
}

/* ================================================================
   FOOTER
   ================================================================ */
.nl-footer {
    padding: 28px 80px;
    background: #f4f5f7;
    border-top: none;
}

.nl-footer-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}

.nl-footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nl-footer-logo img {
    height: 32px;
    width: auto;
}

.nl-footer-center {
    font-size: 0.9rem;
    color: #767676;
}

.nl-footer-socials {
    display: flex;
    gap: 10px;
}

.nl-footer-socials a {
    width: 36px;
    height: 36px;
    border-radius: 5px;
    background: #3355FF;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    text-decoration: none;
    transition: all var(--nl-transition);
    font-size: 1rem;
}

.nl-footer-socials a:hover {
    background: #1a3ee0;
    transform: translateY(-2px);
}

/* ================================================================
   FADE-IN ANIMATIONS
   ================================================================ */
.nl-fade-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

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

/* ================================================================
   RESPONSIVE — TABLET (max-width: 1024px)
   ================================================================ */
@media (max-width: 1024px) {
    .nl-hero h1 {
        font-size: 2.8rem;
    }

    .nl-about-inner {
        display: flex;
        flex-direction: column;
    }

    .nl-about-heading-wrap {
        justify-content: center;
        text-align: center;
    }

    .nl-about-text p {
        text-align: center;
        margin: 0 auto 30px;
        max-width: 100%;
    }

    .nl-about-image {
        max-width: 500px;
        margin: 0 auto;
    }

    .nl-app-inner {
        grid-template-columns: 1fr;
        gap: 24px;
        text-align: center;
        padding: 40px 32px;
    }

    .nl-app-buttons {
        justify-content: center;
    }

    .nl-app-phone {
        max-width: 220px;
        margin: 0 auto;
        order: 2;
    }

    .nl-ask-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .nl-features-grid {
        grid-template-columns: repeat(4, 1fr);
        order: 3;
    }
}

/* ================================================================
   RESPONSIVE — TABLET PORTRAIT (max-width: 768px)
   ================================================================ */
@media (max-width: 768px) {
    .nl-nav-links {
        display: none;
    }

    .nl-hamburger {
        display: flex;
    }

    .nl-hero {
        padding: 100px 16px 50px;
        min-height: auto;
        height: 100vh;       /* fallback */
        height: 100dvh;      /* dynamic viewport height for iOS/Android */
    }

    .nl-hero h1 {
        font-size: 2.2rem;
    }

    .nl-hero-sub {
        font-size: 1rem;
    }

    .nl-hero-search-inner {
        padding: 4px 4px 4px 16px;
    }

    .nl-hero-search input {
        /* 1rem = 16px minimum required to prevent iOS Safari auto-zoom */
        font-size: 1rem;
        padding: 10px 6px;
    }

    .nl-hero-search-btn {
        width: 40px;
        height: 40px;
    }

    .nl-hero-chips {
        gap: 8px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .nl-hero-chip {
        padding: 6px 14px;
        font-size: 0.78rem;
    }

    .nl-ask-badge {
        display: flex;
        width: 60px;
        height: 60px;
        padding: 0;
        bottom: 24px;
        right: 24px;
        top: auto;
        transform: none;
        border-radius: 50%;
        background: #3355FF;
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
    }

    .nl-ask-badge .nl-badge-text {
        display: none;
    }

    .nl-ask-badge .badge-icon {
        width: 100%;
        height: 100%;
        display: flex;
        /* Make sure it's centered */
        align-items: center;
        justify-content: center;
    }

    .nl-ask-badge .badge-icon img {
        width: 28px;
        height: 28px;
        transform: rotate(-90deg);
        /* Counteract the 90deg inline rotation from HTML if it exists, or just none */
        /* Note: User said "y jo t sa likha hua hai ye sidha ay ga", the HTML says style="transform: rotate(90deg);"
        so we need transform: none !important or rotate(-90deg) to make it straight. */
        transform: none !important;
        filter: brightness(0) invert(1);
        /* Ensure it's white */
    }

    .nl-about {
        padding: 60px 16px;
    }

    .nl-about-text h2 {
        font-size: 1.8rem;
    }

    .nl-features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .nl-multilingual {
        padding: 60px 0;
        min-height: 420px;
    }

    .nl-multilingual h2 {
        font-size: 1.8rem;
    }

    .nl-app-download {
        padding: 48px 20px;
    }

    .nl-app-inner {
        padding: 36px 28px;
    }

    .nl-app-text h2 {
        font-size: 2rem;
    }

    .nl-app-phone {
        height: auto;
        max-width: 260px;
        margin: 0 auto 10px;
    }

    .nl-ask-instantly {
        padding: 48px 0;
    }

    .nl-ask-instantly h2 {
        font-size: 1.8rem;
        margin-bottom: 24px;
        padding: 0 16px;
    }

    .nl-ask-grid {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        gap: 12px;
        padding: 0 20px;
        align-items: stretch;
    }

    .nl-ask-grid::-webkit-scrollbar {
        display: none;
    }

    .nl-ask-card {
        flex: 0 0 52%;
        scroll-snap-align: start;
        min-width: 0;
        height: auto;
        align-self: stretch;
    }

    .nl-ask-dots {
        display: flex;
    }
}

/* ================================================================
   RESPONSIVE — MOBILE (max-width: 480px)
   ================================================================ */
@media (max-width: 480px) {
    .nl-navbar-inner {
        padding: 0 16px;
        height: 60px;
    }

    .nl-logo img {
        height: 32px;
    }

    .nl-topnav {
        padding: calc(env(safe-area-inset-top, 0px) + 16px) 16px 16px;
    }

    .nl-topnav-logo-icon {
        width: 30px;
        height: 30px;
    }

    .nl-brand-title {
        font-size: 1.1rem;
    }

    .nl-brand-tagline {
        font-size: 0.65rem;
    }

    .nl-topnav-btn {
        padding: 6px 16px;
        font-size: 0.8rem;
    }

    .nl-hero {
        height: 80vh;        /* fallback */
        height: 80dvh;       /* dynamic viewport height for iOS/Android */
        min-height: 550px;
        padding: 20px 12px 20px;
    }

    .nl-hero-content {
        padding-bottom: 20px;
    }

    .nl-hero-logo {
        width: 100%;
        height: auto;
        border-radius: 0;
        margin-bottom: 24px;
        justify-content: center;
    }

    .nl-hero-logo img {
        max-height: 40px;
    }

    .nl-hero h1 {
        font-size: 1.7rem;
        letter-spacing: -0.5px;
    }

    .nl-hero-sub {
        font-size: 0.9rem;
        margin-bottom: 24px;
    }

    .nl-hero-search {
        margin-bottom: 18px;
    }

    .nl-hero-search-inner {
        padding: 6px;
        gap: 8px;
    }

    .nl-hero-search input.nl-hero-search-input {
        padding: 8px 16px;
        /* 1rem = 16px minimum required to prevent iOS Safari auto-zoom */
        font-size: 1rem;
    }

    .nl-hero-search-btn {
        width: 38px;
        height: 38px;
    }

    .nl-hero-search-btn svg {
        width: 18px;
        height: 18px;
    }

    .nl-hero-chips {
        gap: 8px;
        justify-content: center;
    }

    .nl-hero-chip {
        padding: 5px 12px;
        font-size: 0.72rem;
    }

    .nl-about {
        padding: 48px 16px;
    }

    .nl-about-text h2 {
        font-size: 1.5rem;
    }


    .nl-about-text p {
        font-size: 0.95rem;
    }

    .nl-features-grid {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
        order: 3;
    }

    .nl-feature-card {
        padding: 16px 10px;
    }

    .nl-feature-card h4 {
        font-size: 0.82rem;
    }

    .nl-feature-card p {
        font-size: 0.72rem;
    }

    .nl-multilingual h2 {
        font-size: 1.35rem;
    }

    .nl-multilingual {
        padding: 36px 12px;
        min-height: 310px;
    }

    .nl-say-hi-btn {
        padding: 8px 8px 8px 18px;
        font-size: 0.82rem;
        gap: 8px;
    }

    .nl-lang-pill {
        padding: 4px 10px;
        font-size: 0.65rem;
    }

    .nl-app-download {
        padding: 36px 16px;
    }

    .nl-app-inner {
        padding: 28px 20px;
        gap: 20px;
    }

    .nl-app-text h2 {
        font-size: 1.5rem;
    }

    .nl-app-phone {
        height: auto;
        max-width: 200px;
        margin: 0 auto 10px;
    }

    .nl-app-text p {
        font-size: 0.9rem;
        margin-bottom: 24px;
    }

    .nl-store-btn {
        padding: 11px 20px;
        font-size: 0.85rem;
    }

    .nl-ask-instantly h2 {
        font-size: 1.4rem;
        margin-bottom: 20px;
    }

    .nl-ask-card {
        flex: 0 0 60%;
        height: auto;
        align-self: stretch;
    }

    .nl-ask-card-img {
        height: 130px;
    }

    .nl-ask-card-body {
        padding: 16px 14px;
        gap: 12px;
    }

    .nl-ask-card-action {
        max-width: 160px;
        padding: 8px 16px;
        font-size: 0.9rem;
    }

    .nl-footer-inner {
        flex-direction: column;
        text-align: center;
    }
}

/* Small mobile phones */
@media (max-width: 360px) {
    .nl-hero h1 {
        font-size: 1.45rem;
    }


    .nl-ask-card {
        flex: 0 0 54%;
        height: auto;
        align-self: stretch;
    }

    .nl-features-grid {
        grid-template-columns: 1fr 1fr;
    }

    .nl-app-inner {
        padding: 24px 16px;
    }

    .nl-app-buttons {
        flex-direction: column;
        align-items: center;
    }
}