/* Poppins (Latin) + Cairo (Arabic); beats dashboard theme (hkgrotesk / Bootstrap). */
html.des-public-lp body {
    font-family: 'Poppins', 'Cairo', system-ui, sans-serif !important;
}
/* Signup modal is rendered outside .lp-page */
html.des-public-lp .modal {
    font-family: 'Poppins', 'Cairo', system-ui, sans-serif !important;
}
/* All landing modals: title + close at opposite ends (RTL/LTR; Bootstrap .btn-close uses physical margins) */
html.des-public-lp .modal .modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    width: 100%;
    flex-wrap: nowrap;
}
html.des-public-lp .modal .modal-title {
    flex: 1 1 auto;
    min-width: 0;
    margin: 0;
    text-align: start;
}
html.des-public-lp .modal .modal-header .btn-close {
    flex: 0 0 auto;
    margin: 0;
    filter: invert(1) brightness(1.2);
    opacity: 0.6;
}
html[data-bs-theme="light"].des-public-lp .modal .modal-header .btn-close {
    filter: none;
    opacity: 0.55;
}
html:has(.lp-page),
body:has(.lp-page) {
    margin: 0;
    min-height: 100%;
    width: 100%;
    max-width: 100vw;
    overflow-x: clip;
    background: #030306;
    scrollbar-gutter: stable;
    scrollbar-width: thin;
    scrollbar-color: rgba(45, 212, 191, 0.55) rgba(255, 255, 255, 0.04);
}

/* Futuristic scrollbar (WebKit / Chromium) */
html:has(.lp-page)::-webkit-scrollbar,
body:has(.lp-page)::-webkit-scrollbar {
    width: 9px;
}
html:has(.lp-page)::-webkit-scrollbar-track,
body:has(.lp-page)::-webkit-scrollbar-track {
    background: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.02) 0%,
        rgba(12, 12, 22, 0.85) 50%,
        rgba(255, 255, 255, 0.02) 100%
    );
    border-radius: 999px;
    margin-block: 6px;
    border: 1px solid rgba(255, 255, 255, 0.06);
}
html:has(.lp-page)::-webkit-scrollbar-thumb,
body:has(.lp-page)::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: linear-gradient(180deg, #2dd4bf 0%, #5eead4 35%, #a78bfa 100%);
    box-shadow:
        0 0 12px rgba(45, 212, 191, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.25);
    border: 2px solid rgba(3, 3, 6, 0.9);
    background-clip: padding-box;
}
html:has(.lp-page)::-webkit-scrollbar-thumb:hover,
body:has(.lp-page)::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #5eead4 0%, #2dd4bf 45%, #c4b5fd 100%);
    box-shadow: 0 0 16px rgba(45, 212, 191, 0.5);
}
html[data-bs-theme="light"]:has(.lp-page),
html[data-bs-theme="light"]:has(.lp-page) body {
    background: #f4f6fb;
    scrollbar-color: rgba(13, 148, 136, 0.55) rgba(15, 23, 42, 0.08);
}
html[data-bs-theme="light"]:has(.lp-page)::-webkit-scrollbar-track,
html[data-bs-theme="light"]:has(.lp-page) body::-webkit-scrollbar-track {
    background: linear-gradient(180deg, rgba(15,23,42,0.05), rgba(241,245,249,0.98), rgba(15,23,42,0.05));
    border: 1px solid rgba(15, 23, 42, 0.08);
}
html[data-bs-theme="light"]:has(.lp-page)::-webkit-scrollbar-thumb,
html[data-bs-theme="light"]:has(.lp-page) body::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #0d9488 0%, #14b8a6 38%, #7c3aed 100%);
    border: 2px solid rgba(244, 246, 251, 0.95);
    box-shadow: 0 0 10px rgba(13, 148, 136, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

:root {
    --lp-bg0: #05050a;
    --lp-bg1: #0c0c16;
    --lp-surface: rgba(255, 255, 255, 0.04);
    --lp-border: rgba(255, 255, 255, 0.09);
    --lp-text: #eef0f6;
    --lp-muted: #949ab3;
    --lp-cyan: #2dd4bf;
    --lp-violet: #a78bfa;
    --lp-mint: #34d399;
    --lp-rose: #fb7185;
    --lp-glow: rgba(45, 212, 191, 0.32);
}

/* Light theme (synced with login + dashboard via data-bs-theme + localStorage) */
html[data-bs-theme="light"] .lp-page {
    --lp-bg0: #f4f6fb;
    --lp-bg1: #e8ecf4;
    --lp-surface: rgba(255, 255, 255, 0.88);
    --lp-border: rgba(15, 23, 42, 0.1);
    --lp-text: #0f172a;
    --lp-muted: #64748b;
    --lp-cyan: #0d9488;
    --lp-violet: #7c3aed;
    --lp-mint: #059669;
    --lp-rose: #e11d48;
    --lp-glow: rgba(13, 148, 136, 0.2);
    color-scheme: light;
}
html[data-bs-theme="light"] .lp-bg-mesh {
    background:
        radial-gradient(ellipse 80% 50% at 20% -20%, rgba(124, 58, 237, 0.12), transparent 50%),
        radial-gradient(ellipse 60% 40% at 80% 0%, rgba(13, 148, 136, 0.1), transparent 45%),
        radial-gradient(ellipse 50% 60% at 50% 100%, rgba(52, 211, 153, 0.05), transparent 50%),
        linear-gradient(180deg, #f4f6fb 0%, #eef1f8 45%, #e8ecf4 100%);
}
html[data-bs-theme="light"] .lp-grid {
    background-image:
        linear-gradient(rgba(15, 23, 42, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(15, 23, 42, 0.04) 1px, transparent 1px);
}
html[data-bs-theme="light"] .lp-orb { opacity: 0.34; }
html[data-bs-theme="light"] .lp-orb--2 { opacity: 0.22; }
html[data-bs-theme="light"] .lp-orb--3 { opacity: 0.14; }
html[data-bs-theme="light"] .lp-gradient-text {
    background: linear-gradient(105deg, #0f172a 0%, #0d9488 42%, #7c3aed 92%);
    -webkit-background-clip: text;
    background-clip: text;
}
html[data-bs-theme="light"] .lp-nav {
    background: rgba(255, 255, 255, 0.82);
    border-bottom-color: var(--lp-border);
    box-shadow: 0 1px 0 rgba(15, 23, 42, 0.04);
}
html[data-bs-theme="light"] .lp-brand-mark {
    border-color: rgba(13, 148, 136, 0.4);
    box-shadow:
        0 0 0 1px rgba(15, 23, 42, 0.06) inset,
        0 0 28px rgba(13, 148, 136, 0.15);
}
html[data-bs-theme="light"] .lp-theme-btn {
    min-width: 2.5rem;
    justify-content: center;
    padding-inline: 0.65rem;
}
html[data-bs-theme="dark"] .lp-theme-icon-moon,
html:not([data-bs-theme]) .lp-theme-icon-moon { display: none !important; }
html[data-bs-theme="light"] .lp-theme-icon-sun { display: none !important; }
html[data-bs-theme="light"] .lp-glass-panel {
    box-shadow: 0 20px 60px rgba(15, 23, 42, 0.08);
}
html[data-bs-theme="light"] .lp-chat-mock {
    background: rgba(255, 255, 255, 0.65);
}
html[data-bs-theme="light"] .lp-ai-agent {
    opacity: 0.88;
    filter: drop-shadow(0 0 20px rgba(13, 148, 136, 0.18)) drop-shadow(0 0 36px rgba(124, 58, 237, 0.08));
}

.lp-page {
    font-family: 'Poppins', 'Cairo', system-ui, sans-serif !important;
    background: var(--lp-bg0);
    color: var(--lp-text);
    min-height: 100vh;
    width: 100%;
    max-width: 100vw;
    position: relative;
    overflow-x: clip;
}

.lp-page * { box-sizing: border-box; }

.lp-page .form-control,
.lp-page .form-select,
.lp-page .btn:not(.lp-btn),
.lp-page button,
.lp-page input,
.lp-page textarea,
.lp-page select {
    font-family: inherit !important;
}

.lp-bg-mesh {
    position: fixed;
    inset: 0;
    z-index: 0;
    background:
        radial-gradient(ellipse 80% 50% at 20% -20%, rgba(167, 139, 250, 0.22), transparent 50%),
        radial-gradient(ellipse 60% 40% at 80% 0%, rgba(45, 212, 191, 0.18), transparent 45%),
        radial-gradient(ellipse 50% 60% at 50% 100%, rgba(52, 211, 153, 0.08), transparent 50%),
        linear-gradient(180deg, var(--lp-bg0) 0%, var(--lp-bg1) 45%, #050508 100%);
    pointer-events: none;
}

.lp-grid {
    position: fixed;
    inset: 0;
    z-index: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, black 20%, transparent 75%);
    pointer-events: none;
}

.lp-orb {
    position: fixed;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.5;
    pointer-events: none;
    z-index: 0;
    animation: lp-float 18s ease-in-out infinite;
}
.lp-orb--1 { width: 420px; height: 420px; background: var(--lp-violet); top: -10%; right: -5%; animation-delay: 0s; }
.lp-orb--2 { width: 320px; height: 320px; background: var(--lp-cyan); bottom: 10%; left: -8%; animation-delay: -6s; opacity: 0.35; }
.lp-orb--3 { width: 200px; height: 200px; background: var(--lp-mint); top: 45%; left: 40%; animation-delay: -12s; opacity: 0.2; }

@keyframes lp-float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -20px) scale(1.05); }
    66% { transform: translate(-20px, 15px) scale(0.95); }
}

.lp-page { scroll-behavior: smooth; }
section[id] { scroll-margin-top: 5.5rem; }

@media (prefers-reduced-motion: reduce) {
    .lp-page { scroll-behavior: auto; }
    .lp-orb, .lp-shine, .lp-card-feature, .lp-hero-visual, .lp-marquee-track,
    .lp-ai-agent, .lp-ai-agent * { animation: none !important; }
    .lp-ai-core { transform: none !important; filter: none !important; }
    .lp-ai-waves span { transform: scaleY(0.5) !important; }
    [dir="rtl"] .lp-marquee-track { animation-direction: normal; }
}

.lp-wrap { position: relative; z-index: 1; }

/* Full viewport width content band */
.lp-container {
    width: 100%;
    max-width: 100%;
    padding-inline: clamp(1rem, 4vw, 3.25rem);
    box-sizing: border-box;
    margin-inline: auto;
}
.lp-cta-wrap {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

/* Language dropdown */
.lp-lang .dropdown-toggle {
    gap: 0.35rem;
}
.lp-lang .dropdown-toggle::after {
    margin-inline-start: 0.15rem;
    vertical-align: 0.15em;
}
.lp-lang-menu.dropdown-menu {
    background: linear-gradient(165deg, #12141c 0%, #0a0c12 100%);
    border: 1px solid var(--lp-border);
    border-radius: 0.85rem;
    padding: 0.4rem;
    min-width: 10rem;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
}
.lp-lang-menu .dropdown-item {
    border-radius: 0.5rem;
    color: var(--lp-muted);
    font-size: 0.9rem;
    padding: 0.45rem 0.75rem;
}
.lp-lang-menu .dropdown-item:hover,
.lp-lang-menu .dropdown-item:focus {
    background: rgba(45, 212, 191, 0.12);
    color: var(--lp-text);
}
.lp-lang-menu .dropdown-item.active {
    background: rgba(45, 212, 191, 0.18);
    color: var(--lp-text);
}
.lp-lang-flag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.65rem;
    height: 1.65rem;
    border-radius: 0.4rem;
    font-size: 0.65rem;
    font-weight: 700;
    font-family: 'JetBrains Mono', monospace;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--lp-border);
    color: var(--lp-cyan);
    flex-shrink: 0;
}
html[data-bs-theme="light"] .lp-lang-menu.dropdown-menu {
    background: linear-gradient(165deg, #ffffff 0%, #f8fafc 100%);
    border-color: rgba(15, 23, 42, 0.12);
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.12);
}
html[data-bs-theme="light"] .lp-lang-menu .dropdown-item {
    color: #334155;
}
html[data-bs-theme="light"] .lp-lang-menu .dropdown-item:hover,
html[data-bs-theme="light"] .lp-lang-menu .dropdown-item:focus {
    background: rgba(13, 148, 136, 0.12);
    color: #0f172a;
}
html[data-bs-theme="light"] .lp-lang-menu .dropdown-item.active {
    background: rgba(13, 148, 136, 0.18);
    color: #0f172a;
}
html[data-bs-theme="light"] .lp-lang-flag {
    background: rgba(15, 23, 42, 0.05);
    border-color: rgba(15, 23, 42, 0.1);
    color: #0d9488;
}

/* RTL refinements */
[dir="rtl"] .lp-panel-float {
    right: auto;
    left: 2%;
}
[dir="rtl"] .lp-panel-float2 {
    left: auto;
    right: 2%;
}
@media (min-width: 1200px) {
    [dir="rtl"] .lp-panel-float {
        left: auto;
        right: 0;
    }
    [dir="rtl"] .lp-panel-float2 {
        right: auto;
        left: 0;
    }
}
[dir="rtl"] .lp-ai-agent {
    right: auto;
    left: clamp(0.15rem, 1.5vw, 0.85rem);
}
[dir="rtl"] .lp-chat-row--in { justify-content: flex-end; }
[dir="rtl"] .lp-chat-row--out { justify-content: flex-start; }
[dir="rtl"] .lp-chat-bubble--in {
    border-radius: 1rem;
    border-bottom-right-radius: 0.25rem;
    border-bottom-left-radius: 1rem;
}
[dir="rtl"] .lp-chat-bubble--out {
    border-radius: 1rem;
    border-bottom-left-radius: 0.25rem;
    border-bottom-right-radius: 1rem;
}
[dir="rtl"] .lp-marquee-track {
    animation-direction: reverse;
}
[dir="rtl"] .lp-headline {
    max-width: 22ch;
    letter-spacing: normal; /* negative tracking breaks Arabic with gradient text */
}
[dir="rtl"] .lp-section-title,
[dir="rtl"] .lp-section-sub {
    text-align: start;
}
[dir="rtl"] .text-center.lp-section-title,
[dir="rtl"] .text-center.lp-section-sub,
[dir="rtl"] .text-center.lp-eyebrow {
    text-align: center;
}

/* Nav */
.lp-nav {
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 1rem 0;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    background: rgba(3, 3, 6, 0.72);
    border-bottom: 1px solid var(--lp-border);
}
.lp-nav-inner {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 1rem;
    flex-wrap: wrap;
}
.lp-nav-links {
    display: none;
    align-items: center;
    gap: 0.25rem;
    margin-inline: auto;
}
@media (min-width: 992px) {
    .lp-nav-links { display: flex; }
}
.lp-nav-anchor {
    color: var(--lp-muted);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.875rem;
    padding: 0.45rem 0.85rem;
    border-radius: 999px;
    transition: color 0.2s, background 0.2s;
}
.lp-nav-anchor:hover { color: var(--lp-text); background: var(--lp-surface); }
.lp-brand {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    text-decoration: none;
    color: inherit;
    margin-inline-end: auto;
    min-width: 0;
}
.lp-brand-mark {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    border: 2px solid rgba(45, 212, 191, 0.45);
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.08) inset,
        0 0 36px rgba(45, 212, 191, 0.22);
    background: radial-gradient(circle at 30% 25%, rgba(255,255,255,0.12), rgba(255,255,255,0.02));
}
.lp-brand-mark img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}
.lp-brand-word {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    min-width: 0;
    text-align: start;
}
.lp-brand-title {
    font-weight: 800;
    font-size: clamp(0.95rem, 2.2vw, 1.2rem);
    letter-spacing: -0.03em;
    line-height: 1.1;
    color: var(--lp-text);
}
.lp-brand-sub {
    font-size: 0.65rem;
    font-family: 'JetBrains Mono', monospace;
    color: var(--lp-cyan);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    opacity: 0.9;
}
.lp-nav-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}
.lp-nav-link {
    color: var(--lp-muted);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.5rem 1rem;
    border-radius: 999px;
    transition: color 0.2s, background 0.2s;
}
.lp-nav-link:hover { color: var(--lp-text); background: var(--lp-surface); }

.lp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-family: inherit;
    font-weight: 600;
    font-size: 0.9rem;
    padding: 0.6rem 1.25rem;
    border-radius: 999px;
    border: none;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}
.lp-btn:active { transform: scale(0.98); }
.lp-btn--ghost {
    background: transparent;
    color: var(--lp-text);
    border: 1px solid var(--lp-border);
}
.lp-btn--ghost:hover {
    border-color: rgba(45, 212, 191, 0.4);
    box-shadow: 0 0 24px rgba(45, 212, 191, 0.12);
}
.lp-btn--primary {
    background: linear-gradient(135deg, var(--lp-cyan), #14b8a6);
    color: #020617;
    box-shadow: 0 0 32px rgba(45, 212, 191, 0.28);
}
.lp-btn--primary:hover {
    box-shadow: 0 0 44px rgba(45, 212, 191, 0.42);
}
.lp-btn--lg {
    padding: 0.85rem 1.75rem;
    font-size: 1rem;
}

/* Hero */
.lp-hero {
    padding: clamp(2.5rem, 6vw, 5.5rem) 0 clamp(2.5rem, 5vw, 4rem);
    overflow-x: clip;
    overflow-y: visible;
}
.lp-hero .col-lg-6 {
    min-width: 0;
}
.lp-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--lp-cyan);
    padding: 0.4rem 0.9rem;
    border-radius: 999px;
    background: rgba(45, 212, 191, 0.1);
    border: 1px solid rgba(45, 212, 191, 0.25);
    margin-bottom: 1.5rem;
}
.lp-badge-dot {
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--lp-cyan);
    box-shadow: 0 0 10px var(--lp-cyan);
    animation: lp-pulse 2s ease-in-out infinite;
}
@keyframes lp-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}
.lp-headline {
    font-size: clamp(1.85rem, 4.2vw + 0.6rem, 3.35rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 1.25rem;
    max-width: min(22ch, 100%);
    text-wrap: balance;
    /* Explicit stack: WebKit often drops webfonts on background-clip:text masks for Arabic */
    font-family: 'Poppins', 'Cairo', system-ui, sans-serif !important;
}
.lp-gradient-text {
    font-family: 'Poppins', 'Cairo', system-ui, sans-serif !important;
    background: linear-gradient(105deg, #fff 0%, var(--lp-cyan) 38%, var(--lp-violet) 92%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.lp-eyebrow {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--lp-violet);
    margin-bottom: 0.65rem;
}
.lp-lead {
    font-size: 1.125rem;
    color: var(--lp-muted);
    line-height: 1.65;
    max-width: 36rem;
    margin-bottom: 2rem;
}
.lp-hero-cta { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; margin-bottom: 2.5rem; }
.lp-hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    font-size: 0.875rem;
    color: var(--lp-muted);
}
.lp-hero-meta strong {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--lp-text);
    font-variant-numeric: tabular-nums;
}
.lp-hero-meta span { font-family: 'JetBrains Mono', monospace; font-size: 0.7rem; color: var(--lp-cyan); }

/* Hero visual â€” scoped card + HUD chips (no Bootstrap position-relative on main panel) */
.lp-hero-visual {
    position: relative;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    min-height: clamp(300px, 42vw, 400px);
    margin-inline: auto;
    padding-inline: clamp(0.15rem, 1.5vw, 0.75rem);
    padding-block: 0.5rem 2.25rem;
    animation: lp-float 12s ease-in-out infinite;
    isolation: isolate;
}
.lp-glass-panel {
    position: absolute;
    border-radius: 1.25rem;
    background: var(--lp-surface);
    border: 1px solid var(--lp-border);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
}
.lp-glass-panel.lp-panel-main {
    position: absolute !important;
    inset: 4% 5% 18% 5%;
    padding: clamp(0.85rem, 2vw, 1.25rem);
    display: flex;
    flex-direction: column;
    min-height: 0;
    z-index: 2;
    overflow-x: hidden;
    box-shadow:
        0 24px 80px rgba(0, 0, 0, 0.45),
        0 0 0 1px rgba(45, 212, 191, 0.06),
        inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
.lp-panel-float {
    width: min(11.5rem, 40%);
    max-width: calc(100% - 0.5rem);
    padding: 0.75rem 0.85rem;
    top: 2%;
    right: 2%;
    border-color: rgba(167, 139, 250, 0.28);
    z-index: 4;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}
.lp-panel-float2 {
    width: min(10.5rem, 36%);
    max-width: calc(100% - 0.5rem);
    padding: 0.75rem 0.85rem;
    bottom: 4%;
    left: 2%;
    border-color: rgba(45, 212, 191, 0.22);
    z-index: 4;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}
@media (min-width: 1200px) {
    .lp-hero-visual {
        min-height: clamp(340px, 36vw, 420px);
        padding-block: 0.25rem 2rem;
    }
    .lp-glass-panel.lp-panel-main {
        inset: 5% 6% 16% 6%;
    }
    .lp-panel-float {
        width: min(12rem, 38%);
        top: 6%;
        right: 0;
    }
    .lp-panel-float2 {
        width: min(11rem, 34%);
        bottom: 10%;
        left: 0;
    }
}
@media (max-width: 991px) {
    .lp-panel-float,
    .lp-panel-float2 {
        width: min(9.5rem, 44%);
        padding: 0.65rem 0.75rem;
    }
}
.lp-mock-bar {
    height: 4px;
    border-radius: 2px;
    background: linear-gradient(90deg, var(--lp-cyan), var(--lp-violet));
    margin-bottom: 1rem;
    opacity: 0.9;
}
.lp-mock-rows { display: flex; flex-direction: column; gap: 0.6rem; }
.lp-mock-row {
    height: 8px;
    border-radius: 4px;
    background: rgba(255,255,255,0.06);
}
.lp-mock-row:nth-child(2) { width: 85%; }
.lp-mock-row:nth-child(3) { width: 70%; }
.lp-shine {
    position: absolute;
    inset: -50%;
    background: linear-gradient(45deg, transparent 40%, rgba(255,255,255,0.04) 50%, transparent 60%);
    animation: lp-shine 8s linear infinite;
}
@keyframes lp-shine {
    to { transform: translate(50%, 50%); }
}

/* Hero â€” AI agent orb (decorative, right side) */
.lp-ai-agent {
    position: absolute;
    right: clamp(0.15rem, 1.5vw, 0.85rem);
    top: 50%;
    transform: translateY(-50%);
    width: clamp(108px, 30vw, 198px);
    aspect-ratio: 1;
    z-index: 3;
    pointer-events: none;
    opacity: 0.96;
    filter: drop-shadow(0 0 28px rgba(45, 212, 191, 0.22)) drop-shadow(0 0 48px rgba(167, 139, 250, 0.12));
}
.lp-ai-agent::before {
    content: '';
    position: absolute;
    inset: -18%;
    border-radius: 50%;
    background-image: radial-gradient(circle, rgba(45, 212, 191, 0.07) 1.5px, transparent 1.5px);
    background-size: 12px 12px;
    opacity: 0.65;
    animation: lp-ai-grid 24s linear infinite;
    mask-image: radial-gradient(circle, black 35%, transparent 72%);
    -webkit-mask-image: radial-gradient(circle, black 35%, transparent 72%);
}
@keyframes lp-ai-grid {
    to { background-position: 12px 12px; }
}
.lp-ai-rings {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}
.lp-ai-ring {
    position: absolute;
    border-radius: 50%;
    animation: lp-ai-orbit 22s linear infinite;
}
.lp-ai-ring--1 {
    inset: 0;
    border: 1px dashed rgba(45, 212, 191, 0.38);
    box-shadow: 0 0 20px rgba(45, 212, 191, 0.08);
}
.lp-ai-ring--2 {
    inset: 11%;
    border: 1px solid rgba(167, 139, 250, 0.35);
    opacity: 0.85;
    animation-duration: 15s;
    animation-direction: reverse;
}
.lp-ai-ring--3 {
    inset: 22%;
    border: 2px solid transparent;
    border-top-color: rgba(45, 212, 191, 0.75);
    border-right-color: rgba(167, 139, 250, 0.55);
    animation-duration: 9s;
}
@keyframes lp-ai-orbit {
    to { transform: rotate(360deg); }
}
.lp-ai-orbit-wrap {
    position: absolute;
    inset: 0;
    animation: lp-ai-orbit 11s linear infinite;
}
.lp-ai-orbit-wrap--b {
    animation-duration: 16s;
    animation-direction: reverse;
}
.lp-ai-orbit-wrap--c {
    animation-duration: 19s;
}
.lp-ai-sat {
    position: absolute;
    top: 0;
    left: 50%;
    width: 7px;
    height: 7px;
    margin-left: -3.5px;
    border-radius: 50%;
    background: var(--lp-cyan);
    box-shadow: 0 0 14px var(--lp-cyan), 0 0 28px rgba(45, 212, 191, 0.35);
    animation: lp-ai-twinkle 2.4s ease-in-out infinite;
}
.lp-ai-orbit-wrap--b {
    inset: 9%;
}
.lp-ai-orbit-wrap--b .lp-ai-sat {
    background: var(--lp-violet);
    box-shadow: 0 0 14px var(--lp-violet), 0 0 26px rgba(167, 139, 250, 0.35);
    animation-delay: 0.5s;
}
.lp-ai-orbit-wrap--c {
    inset: 18%;
}
.lp-ai-orbit-wrap--c .lp-ai-sat {
    width: 5px;
    height: 5px;
    margin-left: -2.5px;
    background: var(--lp-mint);
    box-shadow: 0 0 12px var(--lp-mint);
    animation-delay: 1s;
}
@keyframes lp-ai-twinkle {
    0%, 100% { opacity: 0.55; transform: scale(0.92); }
    50% { opacity: 1; transform: scale(1.08); }
}
.lp-ai-core {
    position: absolute;
    inset: 30%;
    border-radius: 50%;
    background:
        radial-gradient(circle at 32% 28%, rgba(255, 255, 255, 0.55) 0%, transparent 42%),
        radial-gradient(circle at 50% 50%, rgba(45, 212, 191, 0.9) 0%, rgba(99, 102, 241, 0.35) 45%, rgba(30, 27, 75, 0.95) 100%);
    box-shadow:
        0 0 32px rgba(45, 212, 191, 0.5),
        0 0 64px rgba(167, 139, 250, 0.22),
        inset 0 0 24px rgba(255, 255, 255, 0.12);
    animation: lp-ai-breathe 3.8s ease-in-out infinite;
}
.lp-ai-core::after {
    content: '';
    position: absolute;
    inset: -35%;
    border-radius: 50%;
    background: conic-gradient(from 210deg, transparent 0deg, rgba(45, 212, 191, 0.2) 80deg, transparent 160deg, rgba(167, 139, 250, 0.18) 240deg, transparent 320deg);
    animation: lp-ai-orbit 7s linear infinite;
    mask: radial-gradient(circle, transparent 52%, #000 54%);
    -webkit-mask: radial-gradient(circle, transparent 52%, #000 54%);
    opacity: 0.9;
}
@keyframes lp-ai-breathe {
    0%, 100% { transform: scale(1); filter: brightness(1) saturate(1); }
    50% { transform: scale(1.07); filter: brightness(1.12) saturate(1.08); }
}
.lp-ai-halo {
    position: absolute;
    inset: 12%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(45, 212, 191, 0.22) 0%, rgba(167, 139, 250, 0.08) 42%, transparent 68%);
    animation: lp-ai-halo 4.2s ease-in-out infinite;
}
@keyframes lp-ai-halo {
    0%, 100% { opacity: 0.55; transform: scale(0.92); }
    50% { opacity: 1; transform: scale(1.06); }
}
.lp-ai-waves {
    position: absolute;
    left: 50%;
    bottom: -6%;
    transform: translateX(-50%);
    display: flex;
    align-items: flex-end;
    gap: 5px;
    height: 26px;
}
.lp-ai-waves span {
    width: 4px;
    height: 22px;
    border-radius: 3px;
    background: linear-gradient(180deg, var(--lp-violet), var(--lp-cyan));
    transform-origin: bottom center;
    opacity: 0.85;
    animation: lp-ai-bar 1.05s ease-in-out infinite;
}
.lp-ai-waves span:nth-child(2) { animation-delay: 0.18s; }
.lp-ai-waves span:nth-child(3) { animation-delay: 0.36s; }
.lp-ai-waves span:nth-child(4) { animation-delay: 0.52s; }
.lp-ai-waves span:nth-child(5) { animation-delay: 0.28s; }
@keyframes lp-ai-bar {
    0%, 100% { transform: scaleY(0.32); opacity: 0.45; }
    50% { transform: scaleY(1); opacity: 1; }
}
@media (max-width: 991px) {
    .lp-ai-agent {
        width: clamp(92px, 42vw, 150px);
        right: clamp(0.1rem, 2vw, 0.5rem);
        opacity: 0.92;
    }
}

/* Features bento */
.lp-section { padding: 4rem 0; }
.lp-section-title {
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    font-weight: 700;
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
}
.lp-section-sub { color: var(--lp-muted); max-width: 32rem; margin-bottom: 2.5rem; }

.lp-bento {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 1rem;
}
@media (max-width: 991px) {
    .lp-bento { grid-template-columns: 1fr; }
    .lp-span-4, .lp-span-6, .lp-span-8 { grid-column: span 1 !important; }
    .lp-hero-visual {
        min-height: clamp(260px, 58vw, 320px);
        margin-top: 1.5rem;
        padding-block: 0.25rem 1.75rem;
    }
    .lp-glass-panel.lp-panel-main {
        inset: 3% 4% 20% 4%;
    }
}
.lp-span-4 { grid-column: span 4; }
.lp-span-6 { grid-column: span 6; }
.lp-span-8 { grid-column: span 8; }

.lp-card-feature {
    height: 100%;
    padding: 1.5rem;
    border-radius: 1.25rem;
    background: var(--lp-surface);
    border: 1px solid var(--lp-border);
    transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
}
.lp-card-feature:hover {
    border-color: rgba(45, 212, 191, 0.25);
    transform: translateY(-4px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}
.lp-card-icon {
    width: 48px; height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, rgba(45, 212, 191, 0.15), rgba(167, 139, 250, 0.12));
    color: var(--lp-cyan);
}
.lp-card-icon--violet {
    background: linear-gradient(135deg, rgba(167, 139, 250, 0.2), rgba(45, 212, 191, 0.08));
    color: var(--lp-violet);
}
.lp-card-icon--mint {
    background: linear-gradient(135deg, rgba(52, 211, 153, 0.18), rgba(45, 212, 191, 0.08));
    color: var(--lp-mint);
}
.lp-card-icon--rose {
    background: linear-gradient(135deg, rgba(251, 113, 133, 0.15), rgba(167, 139, 250, 0.1));
    color: #fb7185;
}
.lp-card-icon--amber {
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.15), rgba(52, 211, 153, 0.08));
    color: #fbbf24;
}

/* Service marquee */
.lp-marquee-wrap {
    padding: 1.25rem 0;
    border-block: 1px solid var(--lp-border);
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.02) 50%, transparent);
}
.lp-marquee {
    overflow: hidden;
    mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.lp-marquee-track {
    display: flex;
    width: max-content;
    animation: lp-marquee 38s linear infinite;
}
.lp-marquee-group {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding-inline: 0.75rem;
}
.lp-pill {
    flex-shrink: 0;
    white-space: nowrap;
    padding: 0.5rem 1.1rem;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    border: 1px solid var(--lp-border);
    background: rgba(255,255,255,0.03);
    color: var(--lp-muted);
    transition: border-color 0.2s, color 0.2s;
}
.lp-pill:hover {
    border-color: rgba(45, 212, 191, 0.35);
    color: var(--lp-text);
}
@keyframes lp-marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
.lp-card-feature h3 { font-size: 1.1rem; font-weight: 600; margin-bottom: 0.5rem; }
.lp-card-feature p { font-size: 0.9rem; color: var(--lp-muted); line-height: 1.55; margin: 0; }

/* Steps */
.lp-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}
@media (max-width: 767px) { .lp-steps { grid-template-columns: 1fr; } }
.lp-step {
    text-align: center;
    padding: 2rem 1.25rem;
    border-radius: 1.25rem;
    border: 1px dashed var(--lp-border);
    background: rgba(255,255,255,0.02);
}
.lp-step-num {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.75rem;
    color: var(--lp-violet);
    margin-bottom: 0.75rem;
}
.lp-step h4 { font-size: 1.05rem; margin-bottom: 0.5rem; }
.lp-step p { font-size: 0.875rem; color: var(--lp-muted); margin: 0; }

/* CTA strip */
.lp-cta {
    margin: 3rem 0 4rem;
    padding: clamp(2rem, 5vw, 3rem);
    border-radius: 1.5rem;
    text-align: center;
    background: linear-gradient(135deg, rgba(45, 212, 191, 0.12), rgba(167, 139, 250, 0.1));
    border: 1px solid rgba(255,255,255,0.1);
    position: relative;
    overflow: hidden;
}
.lp-cta h2 { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 700; margin-bottom: 0.75rem; }
.lp-cta p { color: var(--lp-muted); margin-bottom: 1.5rem; max-width: 28rem; margin-left: auto; margin-right: auto; }

/* Trust band */
.lp-trust {
    padding: 1.75rem 0;
    border-block: 1px solid var(--lp-border);
    background: linear-gradient(180deg, rgba(255,255,255,0.02), transparent);
}
.lp-trust-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}
@media (min-width: 768px) {
    .lp-trust-grid { grid-template-columns: repeat(4, 1fr); }
}
.lp-trust-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 1rem 1.1rem;
    border-radius: 1rem;
    border: 1px solid var(--lp-border);
    background: rgba(255,255,255,0.02);
    transition: border-color 0.25s, background 0.25s;
}
.lp-trust-item:hover {
    border-color: rgba(167, 139, 250, 0.28);
    background: rgba(255,255,255,0.035);
}
.lp-trust-item i {
    font-size: 1.35rem;
    color: var(--lp-cyan);
    margin-top: 0.1rem;
}
.lp-trust-item strong {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--lp-text);
    margin-bottom: 0.2rem;
}
.lp-trust-item span {
    font-size: 0.78rem;
    color: var(--lp-muted);
    line-height: 1.45;
}

/* Problem / outcome */
.lp-problem {
    padding: clamp(3.5rem, 7vw, 5rem) 0;
}
.lp-problem-card {
    border-radius: 1.5rem;
    border: 1px solid var(--lp-border);
    background: linear-gradient(165deg, rgba(255,255,255,0.045) 0%, rgba(255,255,255,0.015) 100%);
    overflow: hidden;
    position: relative;
}
.lp-problem-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 70% 50% at 100% 0%, rgba(167, 139, 250, 0.12), transparent 55%);
    pointer-events: none;
}
.lp-problem-inner {
    position: relative;
    display: grid;
    gap: 2rem;
    padding: clamp(1.75rem, 4vw, 2.75rem);
}
@media (min-width: 992px) {
    .lp-problem-inner { grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; }
}
.lp-pain-list {
    list-style: none;
    padding: 0;
    margin: 1.25rem 0 0;
}
.lp-pain-list li {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    padding: 0.65rem 0;
    border-bottom: 1px solid var(--lp-border);
    font-size: 0.95rem;
    color: var(--lp-muted);
}
.lp-pain-list li:last-child { border-bottom: none; }
.lp-pain-list i { color: var(--lp-rose); margin-top: 0.2rem; }
.lp-outcome-list {
    list-style: none;
    padding: 0;
    margin: 1.25rem 0 0;
}
.lp-outcome-list li {
    display: flex;
    gap: 0.75rem;
    padding: 0.65rem 0;
    font-size: 0.95rem;
    color: var(--lp-muted);
    border-bottom: 1px solid var(--lp-border);
}
.lp-outcome-list li:last-child { border-bottom: none; }
.lp-outcome-list i { color: var(--lp-mint); margin-top: 0.2rem; }

/* Platform strip */
.lp-pillars {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.85rem;
}
@media (min-width: 768px) {
    .lp-pillars { grid-template-columns: repeat(4, 1fr); }
}
.lp-pillar {
    text-align: center;
    padding: 1.35rem 1rem;
    border-radius: 1.1rem;
    border: 1px solid var(--lp-border);
    background: var(--lp-surface);
}
.lp-pillar-num {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.68rem;
    color: var(--lp-violet);
    letter-spacing: 0.06em;
    margin-bottom: 0.5rem;
}
.lp-pillar h4 { font-size: 0.95rem; font-weight: 600; margin-bottom: 0.35rem; }
.lp-pillar p { font-size: 0.78rem; color: var(--lp-muted); margin: 0; line-height: 1.5; }

/* Channel grid */
.lp-channels {
    padding: 4rem 0;
}
.lp-channel-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.85rem;
}
@media (min-width: 576px) {
    .lp-channel-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 992px) {
    .lp-channel-grid { grid-template-columns: repeat(4, 1fr); }
}
.lp-channel-tile {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.65rem;
    padding: 1.5rem 1rem;
    border-radius: 1.15rem;
    border: 1px solid var(--lp-border);
    background: rgba(255,255,255,0.02);
    transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
}
.lp-channel-tile:hover {
    transform: translateY(-3px);
    border-color: rgba(45, 212, 191, 0.25);
    box-shadow: 0 16px 40px rgba(0,0,0,0.28);
}
.lp-channel-tile i {
    font-size: 1.65rem;
    color: var(--lp-cyan);
}
.lp-channel-tile span { font-size: 0.82rem; font-weight: 600; color: var(--lp-text); }
.lp-channel-tile small { font-size: 0.72rem; color: var(--lp-muted); line-height: 1.4; }

/* Chat preview (hero) */
.lp-chat-mock {
    border-radius: 1.15rem;
    border: 1px solid var(--lp-border);
    background: rgba(0,0,0,0.35);
    padding: 1rem 1rem 0.85rem;
    margin-top: 1rem;
    max-width: 100%;
}
.lp-chat-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 0.75rem;
    margin-bottom: 0.75rem;
    border-bottom: 1px solid var(--lp-border);
    font-size: 0.72rem;
    font-family: 'JetBrains Mono', monospace;
    color: var(--lp-muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}
.lp-chat-row {
    display: flex;
    margin-bottom: 0.55rem;
}
.lp-chat-row--in { justify-content: flex-start; }
.lp-chat-row--out { justify-content: flex-end; }
.lp-chat-bubble {
    max-width: 88%;
    padding: 0.55rem 0.85rem;
    border-radius: 1rem;
    font-size: clamp(0.72rem, 1.6vw, 0.8rem);
    line-height: 1.45;
    word-break: break-word;
    overflow-wrap: anywhere;
}
.lp-chat-bubble--in {
    background: rgba(255,255,255,0.06);
    border: 1px solid var(--lp-border);
    color: var(--lp-text);
    border-bottom-left-radius: 0.25rem;
}
.lp-chat-bubble--out {
    background: linear-gradient(135deg, rgba(45, 212, 191, 0.2), rgba(167, 139, 250, 0.15));
    border: 1px solid rgba(45, 212, 191, 0.25);
    color: var(--lp-text);
    border-bottom-right-radius: 0.25rem;
}

/* FAQ */
.lp-faq { padding: 4rem 0; }
.lp-faq .accordion-item {
    background: transparent;
    border: 1px solid var(--lp-border);
    border-radius: 1rem !important;
    overflow: hidden;
    margin-bottom: 0.65rem;
}
.lp-faq .accordion-button {
    background: rgba(255,255,255,0.03);
    color: var(--lp-text);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 1rem 1.15rem;
    box-shadow: none !important;
}
.lp-faq .accordion-button:not(.collapsed) {
    background: rgba(45, 212, 191, 0.08);
    color: var(--lp-text);
}
.lp-faq .accordion-button::after {
    filter: invert(0.85);
}
.lp-faq .accordion-body {
    background: rgba(0,0,0,0.2);
    color: var(--lp-muted);
    font-size: 0.9rem;
    line-height: 1.6;
    padding: 0 1.15rem 1.15rem;
}

/* Footer */
.lp-footer {
    padding: 3rem 0 2rem;
    border-top: 1px solid var(--lp-border);
    font-size: 0.85rem;
    color: var(--lp-muted);
}
.lp-footer-grid {
    display: grid;
    gap: 2rem;
    margin-bottom: 2rem;
    text-align: start;
}
@media (min-width: 768px) {
    .lp-footer-grid { grid-template-columns: 2fr 1fr 1fr; }
}
.lp-footer-brand {
    font-weight: 700;
    color: var(--lp-text);
    margin-bottom: 0.5rem;
}
.lp-footer-col h5 {
    font-size: 0.72rem;
    font-family: 'JetBrains Mono', monospace;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--lp-violet);
    margin-bottom: 0.85rem;
}
.lp-footer-col a {
    display: block;
    color: var(--lp-muted);
    text-decoration: none;
    padding: 0.25rem 0;
    transition: color 0.2s;
}
.lp-footer-col a:hover { color: var(--lp-cyan); }
.lp-footer-copy {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid var(--lp-border);
    font-size: 0.8rem;
}

/* Modal â€” futuristic */
#signupModal .modal-dialog { max-width: 520px; }
#signupModal .modal-content {
    background: linear-gradient(165deg, #0f1118 0%, #080a10 100%);
    border: 1px solid rgba(45, 212, 191, 0.22);
    border-radius: 1.25rem;
    box-shadow: 0 0 0 1px rgba(255,255,255,0.05), 0 40px 100px rgba(0,0,0,0.65), 0 0 80px rgba(45, 212, 191, 0.08);
    color: var(--lp-text);
}
#signupModal .modal-header {
    border-bottom: 1px solid var(--lp-border);
    padding: 1.25rem 1.5rem;
}
#signupModal .modal-title {
    font-weight: 700;
    font-size: 1.15rem;
}
#signupModal .modal-body { padding: 1.5rem; }
#signupModal .form-label {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--lp-muted);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
#signupModal .form-control,
#signupModal .form-select {
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--lp-border);
    color: var(--lp-text);
    border-radius: 0.65rem;
    padding: 0.65rem 0.9rem;
}
#signupModal .form-control:focus,
#signupModal .form-select:focus {
    border-color: rgba(45, 212, 191, 0.5);
    box-shadow: 0 0 0 3px rgba(45, 212, 191, 0.12);
    background: rgba(255,255,255,0.06);
    color: var(--lp-text);
}
#signupModal .form-text { color: var(--lp-muted); font-size: 0.8rem; }
#signupModal .form-select option { background: #111; color: #eee; }

#signupModal #btn-send-otp,
#signupModal #btn-verify-otp {
    background: linear-gradient(135deg, var(--lp-cyan), #14b8a6);
    border: none;
    color: #020617;
    font-weight: 600;
    border-radius: 999px;
    padding: 0.6rem 1.5rem;
}
#signupModal #btn-complete-reg {
    background: linear-gradient(135deg, var(--lp-mint), #10b981);
    border: none;
    color: #020617;
    font-weight: 600;
    border-radius: 999px;
    padding: 0.65rem 1.75rem;
}

#signup-alert.alert-success {
    background: rgba(52, 211, 153, 0.12);
    border: 1px solid rgba(52, 211, 153, 0.35);
    color: #6ee7b7;
    border-radius: 0.75rem;
}
#signup-alert.alert-danger {
    background: rgba(248, 113, 113, 0.1);
    border: 1px solid rgba(248, 113, 113, 0.35);
    color: #fca5a5;
    border-radius: 0.75rem;
}
html[data-bs-theme="light"] #signupModal .modal-content {
    background: linear-gradient(165deg, #ffffff 0%, #f1f5f9 100%);
    border: 1px solid rgba(13, 148, 136, 0.22);
    box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.05), 0 28px 80px rgba(15, 23, 42, 0.1);
}
html[data-bs-theme="light"] #signupModal .form-control,
html[data-bs-theme="light"] #signupModal .form-select {
    background: #fff;
    color: var(--lp-text);
}
html[data-bs-theme="light"] #signupModal .form-control:focus,
html[data-bs-theme="light"] #signupModal .form-select:focus {
    background: #fff;
}
html[data-bs-theme="light"] #signupModal .form-select option {
    background: #fff;
    color: #0f172a;
}
html[data-bs-theme="light"] #signupModal #btn-send-otp,
html[data-bs-theme="light"] #signupModal #btn-verify-otp {
    color: #fff;
}
html[data-bs-theme="light"] #signupModal #btn-complete-reg {
    color: #fff;
}
#signupModal #btn-send-otp,
#signupModal #btn-verify-otp,
#signupModal #btn-complete-reg {
    min-height: 2.65rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}
#signupModal .lp-signup-btn-loading {
    pointer-events: none;
    cursor: progress;
    opacity: 0.95;
}
#signupModal .lp-signup-btn-loading .spinner-border-sm {
    width: 1rem;
    height: 1rem;
    border-width: 0.15em;
    flex-shrink: 0;
}
html[data-bs-theme="light"] #signup-alert.alert-success {
    color: #047857;
}
html[data-bs-theme="light"] #signup-alert.alert-danger {
    color: #b91c1c;
}
#signupModal .text-muted { color: var(--lp-muted) !important; }

/* SweetAlert2 on landing signup — match LP typography */
html.des-public-lp .lp-swal-popup {
    font-family: 'Poppins', 'Cairo', system-ui, sans-serif !important;
}

/* Signup modal: in-step busy overlay, toasts */
#signupModal .lp-reg-step {
    position: relative;
    min-height: 2rem;
}

#signupModal #signup-otp-status.alert-success {
    background: rgba(45, 212, 191, 0.12);
    border: 1px solid rgba(45, 212, 191, 0.35);
    color: #5eead4;
    border-radius: 0.65rem;
}
html[data-bs-theme="light"] #signupModal #signup-otp-status.alert-success {
    color: #047857;
    background: rgba(209, 250, 229, 0.85);
    border-color: rgba(16, 185, 129, 0.35);
}

#signupModal .lp-reg-step-busy {
    position: absolute;
    inset: 0;
    z-index: 6;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 1.25rem;
    border-radius: 0.5rem;
    background: rgba(15, 23, 42, 0.72);
    backdrop-filter: blur(4px);
}
html[data-bs-theme="light"] #signupModal .lp-reg-step-busy {
    background: rgba(255, 255, 255, 0.88);
}
#signupModal .lp-reg-step-busy-inner {
    max-width: 18rem;
}
#signupModal .lp-reg-step-is-busy .lp-reg-step-content {
    pointer-events: none;
    user-select: none;
    opacity: 0.42;
}

html.des-public-lp .lp-swal-toast.lp-swal-popup {
    font-family: 'Poppins', 'Cairo', system-ui, sans-serif !important;
    box-shadow: 0 10px 40px rgba(15, 23, 42, 0.2);
    border: 1px solid rgba(148, 163, 184, 0.2);
    background: #0f172a;
    color: #e5e7eb;
    width: auto !important;
    max-width: min(28rem, calc(100vw - 1.25rem)) !important;
    min-width: min(15rem, calc(100vw - 2rem));
    padding: 0.45rem 0.7rem 0.5rem !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto auto auto;
    row-gap: 0.2rem;
    align-items: center;
    box-sizing: border-box;
}
html.des-public-lp .lp-swal-toast .swal2-icon {
    display: none !important;
}
html.des-public-lp .lp-swal-toast .swal2-title {
    grid-column: 1;
    grid-row: 1;
    color: inherit !important;
    font-size: 0.9rem !important;
    font-weight: 600;
    line-height: 1.35;
    margin: 0 !important;
    padding: 0 !important;
    text-align: start !important;
    min-width: 0;
}
html.des-public-lp .lp-swal-toast .swal2-html-container {
    grid-column: 1;
    grid-row: 2;
    color: inherit !important;
    font-size: 0.82rem !important;
    line-height: 1.4;
    margin: 0 !important;
    padding: 0 !important;
    text-align: start !important;
    min-width: 0;
}
html.des-public-lp .lp-swal-toast .swal2-html-container:empty {
    display: none !important;
}
html.des-public-lp .lp-swal-toast .swal2-timer-progress-bar-container {
    grid-column: 1;
    grid-row: 3;
    width: 100% !important;
    height: 2px !important;
    margin: 0.1rem 0 0 !important;
    position: relative !important;
    top: auto !important;
    bottom: auto !important;
    border-radius: 0;
}
html.des-public-lp .lp-swal-toast .swal2-timer-progress-bar {
    height: 2px !important;
}

/* Resend “sending” toast: slim indeterminate bar (like timer strip) */
html.des-public-lp .lp-swal-toast--resend-sending .swal2-html-container {
    display: none !important;
    height: 0 !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
}
html.des-public-lp .lp-swal-toast--resend-sending .swal2-timer-progress-bar-container {
    display: none !important;
}
html.des-public-lp .lp-swal-toast--resend-sending .swal2-footer.lp-swal-toast-footer {
    display: block !important;
    grid-column: 1;
    grid-row: 2;
    margin: 0.25rem -0.7rem -0.5rem !important;
    padding: 0 !important;
    width: calc(100% + 1.4rem) !important;
    max-width: none !important;
    border: 0 !important;
}
html.des-public-lp .lp-toast-indeterminate-track {
    display: block;
    height: 2px;
    width: 100%;
    border-radius: 999px;
    background: rgba(148, 163, 184, 0.25);
    overflow: hidden;
}
html.des-public-lp .lp-toast-indeterminate-fill {
    display: block;
    height: 100%;
    width: 35%;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(45, 212, 191, 0.15), rgba(45, 212, 191, 0.95), rgba(45, 212, 191, 0.15));
    animation: lp-toast-indeterminate 1.1s ease-in-out infinite;
}
@keyframes lp-toast-indeterminate {
    0% {
        transform: translateX(-120%);
    }
    100% {
        transform: translateX(380%);
    }
}
html[data-bs-theme="light"].des-public-lp .lp-toast-indeterminate-track {
    background: rgba(15, 23, 42, 0.12);
}
html[data-bs-theme="light"].des-public-lp .lp-toast-indeterminate-fill {
    background: linear-gradient(90deg, rgba(13, 148, 136, 0.12), rgba(13, 148, 136, 0.85), rgba(13, 148, 136, 0.12));
}
html[data-bs-theme="light"].des-public-lp .lp-swal-toast.lp-swal-popup {
    background: #ffffff;
    color: #0f172a;
    border-color: rgba(148, 163, 184, 0.35);
}

/* Toasts above Bootstrap modal (modal z-index ~1055) */
html.des-public-lp .swal2-container {
    z-index: 10700 !important;
}
