﻿:root {
    --bs-green: #2ecc71;
    --bs-dark: #0B0B0C;
    --bs-muted: #64748b;
    --bs-card: #ffffff;
    --bs-bg: #0a0f14; /* darker overall tone to complement hero */
    --bs-border: #1f2937;
    --bs-primary: #e5e7eb; /* default text a bit lighter on dark bg */
    --accent: #e53e3e; /* red CTA */
    --accent-dark: #c53030; /* hover */
    --accent: #e53e3e; /* SmartLead red */
    --kpi-title-color: #172033; /* dark heading color (matches other KPIs) */
    --muted: #bfc6cc;
}

* {
    box-sizing: border-box
}

body.theme {
    font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
    margin: 0;
    background: var(--bs-bg);
    color: var(--bs-primary);
}

.container {
    max-width: 1150px;
    margin: 0 auto;
    padding: 0 24px
}

.flex {
    display: flex
}

.between {
    justify-content: space-between
}

.center {
    align-items: center
}

a {
    color: inherit;
    text-decoration: none
}

/* ---------------- Buttons (smaller) ---------------- */
button,
.btn,
input[type=submit],
input[type=button],
input[type=reset] {
    display: inline-block;
    padding: 10px 16px; /* was 14px 24px */
    border: 0;
    border-radius: 999px;
    background: var(--accent);
    color: #111;
    font-weight: 800;
    font-size: 14px; /* add: smaller default text */
    line-height: 1.1;
    cursor: pointer;
    box-shadow: 0 8px 18px rgba(229,62,62,.30); /* softer shadow */
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease, opacity .18s ease;
}

    button:hover,
    .btn:hover,
    input[type=submit]:hover,
    input[type=button]:hover,
    input[type=reset]:hover {
        transform: translateY(-1px); /* gentler lift */
        box-shadow: 0 12px 26px rgba(229,62,62,.38);
        background: var(--accent-dark);
    }

    /* Variants */
    button.secondary, .btn.secondary {
        background: var(--accent-dark);
        padding-top: 2vw;
    }

    .btn.light {
        background: var(--accent);
        color: #111;
    }

    .btn.pill {
        border-radius: 799px;
    }

    /* Hero CTA — still special but smaller than before */
    .btn.hero {
        font-size: clamp(10px,1.2vw,18px); /* was up to 22px */
        padding: 16px 28px; /* was 16px 28px */
        box-shadow: 0 10px 24px rgba(229,62,62,.35);
    }


/* Header */
.bs-header {
    background: transparent;
    padding: 16px 0
}

/* Find this section in your site.css (around line 121) and replace: */

.brand-logo {
    height: 100px; /* Changed from 54px to make logo bigger */
}

/* And find this section in the mobile media query (around line 677) and replace: */

@media (max-width: 600px) {
    .nav-links {
        display: flex;
        flex-wrap: wrap;
        justify-content: flex-end;
    }

        .nav-links a {
            margin-left: 8px;
            padding: 6px 8px;
            font-size: 14px;
        }

    .brand-logo {
        height: 100px; /* Changed from 48px to make mobile logo bigger */
    }
}

.nav-links a {
    margin-left: 14px;
    padding: 8px 10px;
    border-radius: 8px;
    color: #e5e7eb
}

    .nav-links a:hover {
        background: rgba(255,255,255,0.08)
    }

/* Full-bleed dark hero with background image */
.hero {
    position: relative;
    border-radius: 32px;
    margin: 10px 0 20px 0;
    min-height: clamp(500px,85vh,980px);
    padding: 0px 0px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    overflow: hidden;
    background-image: linear-gradient(rgba(6,12,16,.55), rgba(6,12,16,.65)), url('/img/bytesurelook.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

    .hero h1 {
        margin: 0 0 12px 0;
        font-weight: 900;
        letter-spacing: -.02em;
        line-height: 1.04;
        font-size: clamp(40px,7.5vw,104px);
        text-shadow: 0 8px 24px rgba(0,0,0,.35);
    }

    .hero p {
        margin: 0 0 28px 0;
        font-size: clamp(14px,1.6vw,22px);
        color: rgba(255,255,255,.92);
    }

    /* --- Align Get Quote button to the right --- */
    .hero .cta {
        display: flex;
        gap: 16px;
        align-items: center;
        justify-content: flex-end; /* pushes button(s) to the right */
        padding-right: 24px; /* optional: breathing room from edge */
    }

/* Entry cards (kept, but tuned for dark theme) */
.grid {
    display: grid;
    gap: 18px
}

    .grid.cards {
        grid-template-columns: 1fr
    }

@media(min-width:720px) {
    .grid.cards {
        grid-template-columns: 1fr 1fr
    }
}

.card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 16px;
    background: rgba(17,24,39,.55);
    box-shadow: 0 4px 16px rgba(0,0,0,.25);
    backdrop-filter: blur(2px);
    color: #f3f4f6;
}

    .card .icon {
        width: 52px;
        height: 52px;
        border-radius: 12px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: rgba(229,62,62,.12); /* soft red tile */
        border: 1px solid rgba(229,62,62,.25); /* subtle edge */
        color: #e53e3e;
    }

        .card .icon i {
            font-size: 28px;
            color: var(--accent);
        }

    .card .title {
        font-weight: 800;
        margin-bottom: 4px
    }

    .card .desc {
        color: #cbd5e1;
        font-size: 14px
    }

    .card .go {
        margin-left: auto;
        opacity: .8
    }

/* Content wrapper override for landing full-bleed */
main.container.landing {
    max-width: 1200px
}

/* Forms (dark) */
form .row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

label {
    display: block;
    margin-bottom: 4px;
    font-weight: 600;
}

input, select, textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #374151;
    border-radius: 8px;
    background: #0f172a;
    color: #e5e7eb;
}

.result {
    background: #0f172a;
    border: 1px solid #374151;
    border-radius: 8px;
    padding: 12px;
    margin-top: 16px;
}

.error {
    color: #fecaca;
    font-weight: 600;
}

.bs-footer {
    margin: 5px 0 18px 0;
    color: #94a3b8
}
/* --- Fit header + hero + footer on one viewport --- */
:root {
    /* tune these if your header/footer are taller/shorter */
    --header-h: 96px; /* logo ~62px + 16px top/bottom padding */
    --footer-h: 48px;
}

/* Narrow overall container slightly */
.container {
    max-width: 1150px; /* was 1150px */
    padding: 0 24px; /* was 24px */
}

/* Make the landing container smaller than the default container */
main.container.landing {
    max-width: 1000px; /* was 1200px */
}

/* Tighten header a touch so it fits comfortably */
.bs-header {
    padding: 12px 0;
}
/* was 16px 0 */
.brand-logo {
    height: 70px;
}
/* was 62px */
.nav-links a {
    margin-left: 12px;
    padding: 6px 8px;
}

/* Let the hero consume exactly the remaining viewport height */
.hero {
    margin: 8px 0 12px 0; /* slightly smaller margins */
    min-height: clamp( 360px, calc(100vh - var(--header-h) - var(--footer-h) - 24px), 760px ); /* was clamp(500px,85vh,980px) */
    padding: 12px; /* optional, keeps content comfy */
}

    /* Slightly smaller hero typography to match the reduced height */
    .hero h1 {
        font-size: clamp(36px, 6.2vw, 90px);
    }

    .hero p {
        font-size: clamp(13px, 1.4vw, 20px);
    }

/* Keep footer compact */
.bs-footer {
    margin: 6px 0 10px 0;
}
/* Marketing opt‑in/out look & feel (green tick like screenshot) */
/* Marketing opt-in/out styling - Enhanced for SmartLead branding */
.marketing-optin {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px;
    background: rgba(17, 24, 39, 0.4);
    border: 1px solid rgba(229, 62, 62, 0.2);
    border-radius: 12px;
    margin: 16px 0;
    backdrop-filter: blur(2px);
}

.optin-checkbox {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 4px;
    cursor: pointer;
    border: 2px solid #374151;
    background: #0f172a;
    position: relative;
    flex-shrink: 0;
    margin-top: 2px;
    transition: all 0.3s ease;
}

    .optin-checkbox:checked {
        background: var(--accent);
        border-color: var(--accent);
        box-shadow: 0 0 0 3px rgba(229, 62, 62, 0.1);
    }

        .optin-checkbox:checked::after {
            content: '';
            position: absolute;
            left: 6px;
            top: 2px;
            width: 5px;
            height: 10px;
            border: solid #111;
            border-width: 0 2px 2px 0;
            transform: rotate(45deg);
        }

    .optin-checkbox:hover {
        border-color: var(--accent);
    }

    .optin-checkbox:focus {
        outline: none;
        box-shadow: 0 0 0 3px rgba(229, 62, 62, 0.2);
    }

.optin-label {
    color: #cbd5e1;
    font-size: 14px;
    line-height: 1.5;
    cursor: pointer;
}

    .optin-label strong {
        color: #f3f4f6;
        font-weight: 600;
    }

/* ================================================================
   HAMBURGER MENU - Mobile Navigation
   ================================================================ */

/* Hamburger Button - Hidden on desktop */
.hamburger-btn {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 44px;
    height: 44px;
    padding: 0;
    background: transparent;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    z-index: 1001;
    box-shadow: none;
    transition: background 0.2s ease;
}

    .hamburger-btn:hover {
        background: rgba(255, 255, 255, 0.08);
        transform: none;
        box-shadow: none;
    }

    .hamburger-btn:focus {
        outline: 2px solid var(--accent);
        outline-offset: 2px;
    }

/* Hamburger Lines */
.hamburger-line {
    display: block;
    width: 24px;
    height: 2px;
    background: #e5e7eb;
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease, background 0.3s ease;
}

    .hamburger-line:nth-child(1) {
        margin-bottom: 6px;
    }

    .hamburger-line:nth-child(3) {
        margin-top: 6px;
    }

/* Hamburger Animation - Open State */
.hamburger-btn.active .hamburger-line:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
    background: var(--accent);
}

.hamburger-btn.active .hamburger-line:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.hamburger-btn.active .hamburger-line:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
    background: var(--accent);
}

/* Mobile Navigation Overlay */
.mobile-nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

    .mobile-nav-overlay.active {
        opacity: 1;
        visibility: visible;
    }

/* Mobile Navigation Drawer */
.mobile-nav {
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    width: 280px;
    max-width: 85vw;
    height: 100vh;
    background: linear-gradient(180deg, #0f172a 0%, #0a0f14 100%);
    border-left: 1px solid rgba(229, 62, 62, 0.15);
    z-index: 1000;
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.5);
}

    .mobile-nav.active {
        transform: translateX(0);
    }

/* Mobile Nav Header */
.mobile-nav-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.mobile-nav-logo {
    height: 50px;
}

.mobile-nav-close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: #94a3b8;
    cursor: pointer;
    transition: all 0.2s ease;
    padding: 0;
    box-shadow: none;
}

    .mobile-nav-close:hover {
        background: rgba(229, 62, 62, 0.15);
        border-color: var(--accent);
        color: var(--accent);
        transform: none;
        box-shadow: none;
    }

    .mobile-nav-close i {
        font-size: 18px;
    }

/* Mobile Nav Links */
.mobile-nav-links {
    padding: 16px 0;
}

    .mobile-nav-links a {
        display: flex;
        align-items: center;
        gap: 14px;
        padding: 16px 24px;
        color: #e5e7eb;
        font-size: 16px;
        font-weight: 500;
        text-decoration: none;
        transition: all 0.2s ease;
        border-left: 3px solid transparent;
    }

        .mobile-nav-links a:hover {
            background: rgba(229, 62, 62, 0.08);
            color: var(--accent);
            border-left-color: var(--accent);
        }

        .mobile-nav-links a.active {
            background: rgba(229, 62, 62, 0.12);
            color: var(--accent);
            border-left-color: var(--accent);
            font-weight: 600;
        }

        .mobile-nav-links a i {
            width: 24px;
            font-size: 18px;
            color: var(--accent);
            opacity: 0.8;
        }

/* Mobile Nav Divider */
.mobile-nav-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.08);
    margin: 12px 24px;
}

/* Mobile Nav Section Title */
.mobile-nav-section {
    padding: 12px 24px 8px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #64748b;
}

/* Mobile Nav CTA Button */
.mobile-nav-cta {
    padding: 20px 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    margin-top: auto;
}

    .mobile-nav-cta .btn {
        width: 100%;
        text-align: center;
        padding: 14px 24px;
        font-size: 15px;
    }

/* Prevent body scroll when menu is open */
body.menu-open {
    overflow: hidden;
}


/* ================================================================
   MOBILE RESPONSIVE - Show hamburger, hide desktop nav
   ================================================================ */

@media (max-width: 768px) {
    /* Show hamburger button */
    .hamburger-btn {
        display: flex;
    }

    /* Show mobile nav elements */
    .mobile-nav-overlay,
    .mobile-nav {
        display: block;
    }

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

    /* Adjust header for mobile */
    .bs-header .container {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .brand-logo {
        height: 55px;
    }
}

@media (max-width: 480px) {
    .mobile-nav {
        width: 100%;
        max-width: 100%;
    }

    .brand-logo {
        height: 48px;
    }

    .mobile-nav-logo {
        height: 40px;
    }
}

/* ================================================================
   END HAMBURGER MENU
   ================================================================ */


/* Quote Card Styles */
.quote-card {
    background: rgba(17, 24, 39, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 24px;
    margin-bottom: 16px;
    backdrop-filter: blur(4px);
}

.quote-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}

.quote-logo {
    width: 64px;
    height: 64px;
    border-radius: 12px;
    object-fit: contain;
    background: #fff;
    padding: 8px;
}

.quote-provider {
    font-weight: 700;
    font-size: 18px;
    color: #f3f4f6;
}

.quote-type {
    color: #94a3b8;
    font-size: 14px;
}

.amount {
    text-align: right;
    margin-left: auto;
}

    .amount .value {
        color: var(--accent);
        font-size: 28px;
        font-weight: 900;
    }

    .amount .per {
        font-size: 12px;
        color: #94a3b8;
    }

/* meta grid */
.quote-meta {
    display: grid;
    grid-template-columns: repeat(3, minmax(0,1fr));
    gap: 12px;
}

.meta-item {
    background: #0f172a;
    border: 1px solid #374151;
    border-radius: 12px;
    padding: 12px;
}

.meta-label {
    color: #94a3b8;
    font-size: 12px;
    margin-bottom: 6px;
}

.meta-value {
    font-weight: 700;
}

/* actions */
.quote-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    border-top: 1px solid rgba(255,255,255,.08);
    padding-top: 12px;
}

/* lightweight toast */
.toast {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%) translateY(16px);
    background: var(--accent);
    color: #111;
    padding: 10px 14px;
    border-radius: 999px;
    box-shadow: 0 8px 18px rgba(229,62,62,.30);
    opacity: 0;
    transition: opacity .15s ease, transform .15s ease;
    z-index: 9999;
    font-weight: 800;
    font-size: 13px;
}

    .toast.show {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }

/* responsive */
@media (max-width: 720px) {
    .quote-meta {
        grid-template-columns: 1fr;
    }
}

/* Two-column grid layout */
.grid.two {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px; /* adjust spacing */
}

@media (max-width: 720px) {
    .grid.two {
        grid-template-columns: 1fr; /* stack on small screens */
    }
}

/*Dashboard - Marketing Opt-in (Home + Life) */

/* Card base (leverages existing .card rules, just add optin specifics) */
.card.optin-card {
    /* subtle accent if you want */
    border-color: rgba(255,106,0,0.08);
    background: #fff;
}

    /* Title */
    .card.optin-card .kpi-title {
        color: var(--kpi-title-color);
        font-weight: 700;
        font-size: 1.05rem;
        margin-bottom: 0.6rem;
    }

    /* Top row: percent + totals */
    .card.optin-card .optin-rate {
        display: flex;
        align-items: baseline;
        justify-content: space-between;
        gap: 0.75rem;
        padding: 0.25rem 0;
    }

    /* Percent (prominent) */
    .card.optin-card .optin-percent {
        color: var(--smartlead-red);
        font-weight: 800;
        font-size: 1.25rem;
        line-height: 1;
    }

    /* Total / eligible (secondary but colored) */
    .card.optin-card .optin-total {
        color: var(--smartlead-red);
        font-weight: 600;
        opacity: 0.95;
        font-size: 0.95rem;
    }

    /* split breakdown */
    .card.optin-card .optin-split {
        margin-top: 0.5rem;
        color: #6b7280; /* muted dark */
        display: flex;
        gap: 1.25rem;
        flex-wrap: wrap;
        font-size: 0.95rem;
    }

        /* bold label inside split */
        .card.optin-card .optin-split b {
            color: var(--kpi-title-color);
            margin-right: 0.4rem;
            font-weight: 700;
        }

        /* counts in split (emphasize slightly) */
        .card.optin-card .optin-split em {
            color: var(--smartlead-red);
            font-style: normal;
            font-weight: 600;
            margin-left: 0.25rem;
        }

/* small-screen responsiveness */
@media (max-width: 768px) {
    .card.optin-card .optin-rate {
        flex-direction: column;
        align-items: flex-start;
    }

    .card.optin-card .optin-percent {
        font-size: 1.05rem;
    }
}

/* optional: hover/active subtle lift */
.card.optin-card:hover {
    box-shadow: 0 6px 18px rgba(23,32,51,0.04);
}

/* ENTRY PAGE FIXES - Add these to the end of your site.css */

/* Fix container and body overflow */
body.theme {
    overflow-x: hidden;
    width: 100%;
}

.container {
    overflow-x: hidden;
    width: 100%;
    box-sizing: border-box;
}

/* Fix hero text wrapping and overflow */
.hero {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

    .hero h1 {
        word-wrap: break-word;
        hyphens: auto;
    }

    .hero p {
        word-wrap: break-word;
    }

    .hero .cta {
        flex-wrap: wrap;
        padding: 0 16px;
    }

/* Fix button overflow */
button,
.btn,
input[type=submit],
input[type=button],
input[type=reset] {
    max-width: 100%;
    white-space: nowrap;
}


/* Mobile fixes for entry page */
@media (max-width: 600px) {
    .brand-logo {
        height: 48px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 12px;
    }

    .hero {
        margin: 4px 0 8px 0;
        padding: 8px;
        border-radius: 16px;
        min-height: 500px;
        max-height: 800px;
    }
}

.hero .cta {
    flex-direction: column;
    gap: 12px;
    padding: 0 0px;
}

.btn.hero {
    padding: 14px 24px;
    width: 100%;
    max-width: 240px;
}

/* Right-align the Get Quote button in the form */
.actions {
    display: flex;
    justify-content: flex-end; /* push contents to the right */
    gap: 12px; /* if you add more buttons later */
}

    /* If something sets widths oddly, this fallback also works */
    .actions .btn {
        margin-left: auto; /* flex trick: push this button right */
    }

/* Keep it centered on small screens (optional) */
@media (max-width: 600px) {
    .actions {
        justify-content: center;
    }

        .actions .btn {
            margin-left: 0;
            height: 40px; /* exact height */
            min-width: 150px; /* optional: ensure nice width */
            font-size: 16px;
        }
}

/* Overlay */
#loading-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.78);
    display: none; /* shown on submit */
    align-items: center;
    justify-content: center;
    z-index: 9999;
    text-align: center;
    color: #fff;
}

.loading-content {
    animation: fadeIn .25s ease;
}

/* Bot + heartbeat */
.loading-bot-wrap {
    position: relative;
    display: inline-block;
}

.loading-bot {
    width: 140px;
    height: auto;
    animation: heartbeat 1.6s ease-in-out infinite;
    filter: drop-shadow(0 10px 24px rgba(0,0,0,.35));
}

/* Spinner positioned over the bot's chest */
.bot-spinner {
    position: absolute;
    /* tweak these to sit exactly on the "B" badge */
    left: 50%;
    top: 58%;
    width: 34px;
    height: 34px;
    transform: translate(-50%, -50%);
    border: 3px solid rgba(255,255,255,.25);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin .9s linear infinite;
}

    /* Subtle glow behind spinner */
    .bot-spinner::after {
        content: "";
        position: absolute;
        inset: -6px;
        border-radius: 50%;
        box-shadow: 0 0 18px rgba(255,255,255,.35), 0 0 36px rgba(229,62,62,.25);
    }

/* Animations */
@keyframes spin {
    to {
        transform: translate(-50%,-50%) rotate(360deg);
    }
}

@keyframes heartbeat {
    0%, 100% {
        transform: scale(1);
    }

    30% {
        transform: scale(1.06);
    }

    60% {
        transform: scale(1.03);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0
    }

    to {
        opacity: 1
    }
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
    .loading-bot, .bot-spinner {
        animation: none;
    }
}

/* ============================================
   RESPONSIVE LANDING PAGE BACKGROUND IMAGES
   Desktop (landscape) vs Mobile (portrait)
   ============================================ */

/* Base styles for the background image container */
.bg-image {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: -1;
}

/* Desktop image - shown by default on wider screens */
.bg-image-desktop {
    display: block;
}

/* Mobile image - hidden by default */
.bg-image-mobile {
    display: none;
}

/* Switch to mobile image on narrow/tall screens (phones) */
@media (max-width: 768px) {
    .bg-image-desktop {
        display: none;
    }

    .bg-image-mobile {
        display: block;
    }
}

/* Alternative: Using aspect ratio for more precise switching */
/* Portrait orientation (typical phone screens) */
@media (max-aspect-ratio: 1/1) {
    .bg-image-desktop {
        display: none;
    }

    .bg-image-mobile {
        display: block;
    }
}

/* Landscape orientation (typical desktop/laptop screens) */
@media (min-aspect-ratio: 1/1) {
    .bg-image-desktop {
        display: block;
    }

    .bg-image-mobile {
        display: none;
    }
}

/* ============================================
   ALTERNATIVE: Single element with CSS content swap
   Use this if you prefer a single <img> tag
   ============================================ */

/* 
   If using a single .bg-image element, you can use
   background-image instead of <img> tag for easier switching:
*/
.bg-image-responsive {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    /* Desktop image by default */
    background-image: url('/img/smartlead_landing_banner_v2.svg');
}

/* Switch to mobile/portrait image on narrow screens */
@media (max-width: 768px) {
    .bg-image-responsive {
        background-image: url('/img/smartlead_landing_banner_v2.svg');
    }
}

/* Portrait orientation switching */
@media (max-aspect-ratio: 1/1) {
    .bg-image-responsive {
        background-image: url('/img/smartlead_landing_banner_v2.svg');
    }
}
