/*!
   COSMOS DARK — Ultra Premium SaaS Landing v2
   Violet × Cyan × Deep Navy · Glassmorphism · Gradient Mesh
   ──────────────────────────────────────────────────────────── */

/* ═══════════════════════════════════════════════════════════
   1. FONT IMPORTS
═══════════════════════════════════════════════════════════ */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Manrope:wght@500;600;700;800;900&family=IBM+Plex+Sans+Arabic:wght@400;500;600;700&family=Cairo:wght@400;500;600;700;800&display=swap');

/* ═══════════════════════════════════════════════════════════
   2. DESIGN TOKENS — CSS Custom Properties
═══════════════════════════════════════════════════════════ */
:root {
    /* ── Brand palette — Violet + Cyan ── */
    --lp-violet:        #7C5CFC;
    --lp-violet-light:  #9D82FF;
    --lp-violet-dark:   #5B3DF5;
    --lp-cyan:          #2DD4BF;
    --lp-cyan-light:    #67E8F9;
    --lp-pink:          #F472B6;
    --lp-amber:         #FBBF24;

    /* ── Light-mode semantic (default) ── */
    --lp-bg:            #F5F3FF;
    --lp-bg-soft:       #EDE9FE;
    --lp-bg-muted:      #E9E4FF;
    --lp-surface:       rgba(255,255,255,.95);
    --lp-surface-2:     rgba(255,255,255,.7);
    --lp-text:          #1A1040;
    --lp-text-muted:    #4C3D8F;
    --lp-text-soft:     #8B7DC8;
    --lp-border:        rgba(124,92,252,.12);
    --lp-border-soft:   rgba(124,92,252,.06);
    --lp-brand:         var(--lp-violet);
    --lp-brand-hover:   var(--lp-violet-dark);

    /* brand scale aliases (used by components) */
    --lp-brand-50:  rgba(124,92,252,.06);
    --lp-brand-100: rgba(124,92,252,.12);
    --lp-brand-200: rgba(124,92,252,.22);
    --lp-brand-300: rgba(124,92,252,.38);
    --lp-brand-400: #9D82FF;
    --lp-brand-500: #7C5CFC;
    --lp-brand-600: #6B48F5;
    --lp-brand-700: #5B3DF5;
    --lp-brand-800: #4B2EE0;
    --lp-brand-900: #3B20CC;
    --lp-ink-900:   #1A1040;

    /* ── Gradients ── */
    --lp-gradient-brand:  linear-gradient(135deg, #7C5CFC 0%, #2DD4BF 100%);
    --lp-gradient-brand2: linear-gradient(135deg, #F472B6 0%, #7C5CFC 50%, #2DD4BF 100%);
    --lp-gradient-soft:   linear-gradient(135deg, rgba(124,92,252,.08) 0%, rgba(45,212,191,.06) 100%);
    --lp-gradient-mesh:
        radial-gradient(ellipse at 15% 60%, rgba(124,92,252,.12) 0%, transparent 55%),
        radial-gradient(ellipse at 85% 20%, rgba(45,212,191,.08) 0%, transparent 45%);

    /* ── Shadows ── */
    --lp-shadow-sm:    0 1px 3px rgba(90,60,200,.08);
    --lp-shadow-card:  0 4px 16px rgba(90,60,200,.08), 0 0 0 1px rgba(124,92,252,.07);
    --lp-shadow-lg:    0 8px 32px rgba(90,60,200,.12), 0 0 0 1px rgba(124,92,252,.08);
    --lp-shadow-xl:    0 16px 60px rgba(90,60,200,.16), 0 0 0 1px rgba(124,92,252,.10);
    --lp-glow:         0 0 0 1px rgba(124,92,252,.3), 0 8px 32px rgba(124,92,252,.35), 0 0 80px rgba(124,92,252,.12);
    --lp-glow-cyan:    0 0 0 1px rgba(45,212,191,.3), 0 8px 24px rgba(45,212,191,.25);

    /* ── Radii ── */
    --lp-r-sm:    8px;
    --lp-r-md:   12px;
    --lp-r-lg:   16px;
    --lp-r-xl:   20px;
    --lp-r-2xl:  24px;
    --lp-r-pill: 999px;

    /* ── Easing ── */
    --lp-ease:        cubic-bezier(.16,1,.3,1);
    --lp-ease-spring: cubic-bezier(.34,1.56,.64,1);
}

/* ── Dark mode ── */
html.dark {
    --lp-bg:            #0a0b14;
    --lp-bg-soft:       #11131e;
    --lp-bg-muted:      #161929;
    --lp-surface:       rgba(255,255,255,.04);
    --lp-surface-2:     rgba(255,255,255,.07);
    --lp-text:          #EEF2FF;
    --lp-text-muted:    #A5B4FC;
    --lp-text-soft:     #6B78A0;
    --lp-border:        rgba(255,255,255,.07);
    --lp-border-soft:   rgba(255,255,255,.04);
    --lp-brand:         var(--lp-violet);
    --lp-brand-hover:   var(--lp-violet-light);
    --lp-gradient-mesh:
        radial-gradient(ellipse at 15% 60%, rgba(124,92,252,.18) 0%, transparent 55%),
        radial-gradient(ellipse at 85% 20%, rgba(45,212,191,.12) 0%, transparent 45%),
        radial-gradient(ellipse at 50% 100%, rgba(244,114,182,.07) 0%, transparent 40%);
    --lp-shadow-card:   0 4px 8px rgba(3,6,26,.6), 0 0 0 1px rgba(255,255,255,.06);
    --lp-shadow-lg:     0 8px 32px rgba(3,6,26,.7), 0 0 0 1px rgba(255,255,255,.06);
    --lp-glow:          0 0 0 1px rgba(124,92,252,.35), 0 8px 40px rgba(124,92,252,.45), 0 0 120px rgba(124,92,252,.15);
}

/* ═══════════════════════════════════════════════════════════
   3. BASE / RESET
═══════════════════════════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-tap-highlight-color: transparent; }
body {
    background: var(--lp-bg);
    color: var(--lp-text);
    font-family: 'Inter', 'IBM Plex Sans Arabic', 'Cairo', system-ui, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}
html[dir="rtl"] body { font-family: 'IBM Plex Sans Arabic', 'Cairo', 'Inter', system-ui, sans-serif; }
img, svg, video { max-width: 100%; height: auto; display: block; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
a { color: inherit; text-decoration: none; }
input, textarea, select { font-family: inherit; }

:focus-visible {
    outline: 2px solid var(--lp-violet);
    outline-offset: 3px;
    border-radius: 4px;
}
::selection { background: rgba(124,92,252,.25); color: var(--lp-text); }

::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(124,92,252,.3); border-radius: 999px; }
::-webkit-scrollbar-thumb:hover { background: rgba(124,92,252,.5); }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: .01ms !important;
        transition-duration: .01ms !important;
    }
}

/* LTR utility class — forces LTR on numeric/code content in RTL layouts */
.lp-ltr { direction: ltr; unicode-bidi: embed; }

/* ═══════════════════════════════════════════════════════════
   4. LAYOUT
═══════════════════════════════════════════════════════════ */
.lp-container {
    width: 100%;
    max-width: 1280px;
    margin-inline: auto;
    padding-inline: 1.25rem;
}
@media (min-width: 768px)  { .lp-container { padding-inline: 2rem; } }
@media (min-width: 1024px) { .lp-container { padding-inline: 2.5rem; } }

.lp-section { padding-block: clamp(4.5rem, 9vw, 8rem); position: relative; overflow: hidden; }
.lp-section--sm { padding-block: clamp(3rem, 5vw, 5rem); }

/* Section head */
.lp-section-head {
    text-align: center;
    max-width: 680px;
    margin-inline: auto;
    margin-bottom: clamp(2.5rem, 5vw, 4rem);
}
.lp-section-title { margin-block: 1rem .75rem; }
.lp-section-sub { color: var(--lp-text-muted); }

/* ═══════════════════════════════════════════════════════════
   5. TYPOGRAPHY
═══════════════════════════════════════════════════════════ */
.lp-display-xl { font-size: clamp(2rem, 4vw, 3.25rem);   line-height: 1.1; letter-spacing: -0.03em; font-weight: 800; font-family: 'Manrope', 'IBM Plex Sans Arabic', sans-serif; }
.lp-display-lg { font-size: clamp(2.25rem, 4.5vw, 3.75rem); line-height: 1.08; letter-spacing: -0.03em;  font-weight: 800; font-family: 'Manrope', 'IBM Plex Sans Arabic', sans-serif; }
.lp-display-md { font-size: clamp(1.5rem, 3vw, 2.5rem);  line-height: 1.15; letter-spacing: -0.02em; font-weight: 700; font-family: 'Manrope', 'IBM Plex Sans Arabic', sans-serif; }
.lp-heading    { font-size: clamp(1.125rem, 2vw, 1.5rem); line-height: 1.3; font-weight: 700; }
.lp-body-lg    { font-size: 1.125rem; line-height: 1.75; }
.lp-body       { font-size: 1rem;     line-height: 1.7; }
.lp-body-sm    { font-size: 0.875rem; line-height: 1.65; }

.lp-balance  { text-wrap: balance; }
.lp-truncate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* Gradient text */
.lp-gradient-text {
    background: var(--lp-gradient-brand);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline-block;
}
.lp-gradient-text-2 {
    background: var(--lp-gradient-brand2);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline-block;
}

/* ═══════════════════════════════════════════════════════════
   6. COMPONENTS — Eyebrow
═══════════════════════════════════════════════════════════ */
.lp-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .375rem .875rem;
    border-radius: 999px;
    background: var(--lp-brand-100);
    color: var(--lp-violet);
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    border: 1px solid var(--lp-brand-200);
}
.dark .lp-eyebrow {
    background: rgba(124,92,252,.12);
    color: var(--lp-violet-light);
    border-color: rgba(124,92,252,.25);
}
.lp-eyebrow-dot {
    position: relative;
    display: inline-flex;
    width: 7px;
    height: 7px;
}
.lp-eyebrow-dot::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: var(--lp-violet);
    animation: lp-ping 1.8s cubic-bezier(0,0,.2,1) infinite;
}
.lp-eyebrow-dot::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: var(--lp-violet);
}
@keyframes lp-ping {
    75%, 100% { transform: scale(2.2); opacity: 0; }
}

/* ═══════════════════════════════════════════════════════════
   7. COMPONENTS — Buttons
═══════════════════════════════════════════════════════════ */
.lp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    font-weight: 700;
    white-space: nowrap;
    border-radius: 10px;
    transition: all .25s var(--lp-ease);
    cursor: pointer;
    border: 1px solid transparent;
    line-height: 1;
    font-family: inherit;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}
.lp-btn--sm { padding: .625rem 1.25rem; font-size: .8125rem; }
.lp-btn--md { padding: .75rem 1.5rem;   font-size: .875rem; }
.lp-btn--lg { padding: 1rem 1.875rem;   font-size: .9375rem; }

/* Primary = gradient fill */
.lp-btn--primary {
    background: var(--lp-gradient-brand);
    color: white;
    border: none;
}
.lp-btn--primary:hover {
    transform: translateY(-2px);
}
.lp-btn--primary:active { transform: translateY(0); }

/* Glow (alias for primary + glow ring) */
.lp-btn--glow {
    background: var(--lp-gradient-brand);
    color: white;
    border: none;
}
.lp-btn--glow::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,.2) 50%, transparent 70%);
    background-size: 200% 100%;
    animation: lp-shimmer 3s linear infinite;
    border-radius: inherit;
}
.lp-btn--glow:hover { transform: translateY(-2px); }

/* Secondary = glass outline */
.lp-btn--secondary {
    background: var(--lp-surface);
    color: var(--lp-text);
    border: 1px solid var(--lp-border);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}
.lp-btn--secondary:hover {
    background: var(--lp-surface-2);
    border-color: rgba(124,92,252,.3);
    transform: translateY(-1px);
}

/* Ghost */
.lp-btn--ghost { background: transparent; color: var(--lp-text-muted); border-color: transparent; }
.lp-btn--ghost:hover { background: var(--lp-surface); color: var(--lp-text); }

.lp-btn--full  { width: 100%; }

.lp-btn-arrow { width: 14px; height: 14px; flex-shrink: 0; transition: transform .2s; }
html[dir="rtl"] .lp-btn-arrow { transform: scaleX(-1); }
.lp-btn:hover .lp-btn-arrow { transform: translateX(3px); }
html[dir="rtl"] .lp-btn:hover .lp-btn-arrow { transform: scaleX(-1) translateX(3px); }

.lp-play-circle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px; height: 28px;
    border-radius: 50%;
    background: rgba(255,255,255,.15);
    flex-shrink: 0;
}
.lp-play-circle svg { width: 12px; height: 12px; }

@keyframes lp-shimmer {
    0%   { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

/* ═══════════════════════════════════════════════════════════
   8. COMPONENTS — Card + Glass
═══════════════════════════════════════════════════════════ */
.lp-card {
    background: var(--lp-surface);
    border: 1px solid var(--lp-border);
    border-radius: var(--lp-r-xl);
    box-shadow: var(--lp-shadow-card);
    transition: transform .3s var(--lp-ease), box-shadow .3s var(--lp-ease), border-color .3s;
}
.lp-card-pad    { padding: 1.5rem; }
.lp-card-pad-lg { padding: 2rem; }

.lp-card--hover:hover {
    transform: translateY(-5px);
    border-color: rgba(124,92,252,.3);
    box-shadow: var(--lp-shadow-xl), 0 0 0 1px rgba(124,92,252,.2);
}

.lp-glass {
    background: rgba(255,255,255,.06);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,.1);
}
html:not(.dark) .lp-glass {
    background: rgba(255,255,255,.75);
    border-color: rgba(124,92,252,.12);
}

/* ═══════════════════════════════════════════════════════════
   9. NAVBAR
═══════════════════════════════════════════════════════════ */
.lp-nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 900;
    padding-block: 1rem;
    transition: padding .3s var(--lp-ease), background .3s, box-shadow .3s;
}
.lp-nav.is-scrolled {
    padding-block: .5rem;
}
.lp-nav.is-scrolled .lp-nav-pill {
    background: rgba(10, 11, 20, .92);
    box-shadow: 0 8px 32px rgba(0,0,0,.5);
    border-color: rgba(255,255,255,.08);
}
html:not(.dark) .lp-nav.is-scrolled .lp-nav-pill {
    background: rgba(255,255,255,.95);
    border-color: rgba(0,0,0,.08);
    box-shadow: 0 8px 32px rgba(0,0,0,.1);
}

/* ── NAV PILL — single rounded container with all nav items ── */
.lp-nav-pill {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 8px 10px 8px 18px;
    border-radius: 10px;
    background: rgba(20, 22, 36, .75);
    border: 1px solid rgba(255,255,255,.06);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 8px 32px rgba(0,0,0,.3);
}
html:not(.dark) .lp-nav-pill {
    background: rgba(255,255,255,.85);
    border-color: rgba(0,0,0,.06);
    box-shadow: 0 8px 32px rgba(0,0,0,.06);
}
@media (max-width: 1023px) { .lp-nav-pill { padding-inline-start: 14px; padding-inline-end: 8px; } }

/* ── Logo ── */
.lp-logo {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    flex-shrink: 0;
    text-decoration: none;
}
.lp-logo img { height: 28px; width: auto; object-fit: contain; }
.lp-logo-mark {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: #3b82f6;
    color: white;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(59,130,246,.4);
}
.lp-logo-mark svg { width: 16px; height: 16px; }
.lp-logo-text {
    font-weight: 800;
    font-size: 1rem;
    letter-spacing: .03em;
    color: var(--lp-text);
    font-family: 'Manrope', sans-serif;
}

/* ── Desktop menu ── */
.lp-nav__menu {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 2px;
    margin: 0;
    padding: 0;
    flex: 1;
    justify-content: center;
}

.lp-nav-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: .3rem;
    padding: 8px 14px;
    border-radius: 8px;
    font-size: .875rem;
    font-weight: 500;
    color: var(--lp-text-muted);
    background: transparent;
    cursor: pointer;
    transition: color .2s, background .2s;
    white-space: nowrap;
    text-decoration: none;
    border: none;
    font-family: inherit;
    line-height: 1.4;
}
.lp-nav-link svg { width: 14px; height: 14px; opacity: .7; flex-shrink: 0; }
.lp-nav-caret { width: 12px !important; height: 12px !important; transition: transform .2s; }
.lp-mega-trigger:hover .lp-nav-caret { transform: rotate(180deg); }
.lp-nav-link:hover { color: var(--lp-text); background: rgba(255,255,255,.05); }
html:not(.dark) .lp-nav-link:hover { background: rgba(0,0,0,.04); }

.lp-nav-link.is-active {
    color: #3b82f6;
    font-weight: 600;
}
.lp-nav-link.is-active::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 22px;
    height: 2px;
    border-radius: 2px;
    background: #3b82f6;
    box-shadow: 0 0 12px rgba(59,130,246,.6);
}
.lp-nav-link--icon {
    width: 36px; height: 36px;
    padding: 0;
    justify-content: center;
    border-radius: 50%;
}
.lp-nav-link--icon svg { width: 16px; height: 16px; opacity: 1; }

/* ── Mega menu ── */
.lp-mega-trigger { position: relative; }
.lp-mega-panel {
    position: absolute;
    top: calc(100% + 18px);
    inset-inline-start: 50%;
    background: rgba(15, 17, 28, .98);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 20px;
    padding: 24px;
    box-shadow: 0 32px 80px rgba(0,0,0,.6), 0 0 0 1px rgba(59,130,246,.08);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    opacity: 0;
    visibility: hidden;
    transform: translateX(-50%) translateY(8px);
    transition: opacity .25s var(--lp-ease), transform .25s var(--lp-ease), visibility .25s;
    z-index: 100;
}
.lp-mega-panel--xl { width: min(960px, calc(100vw - 60px)); }
.lp-mega-panel--md { width: 480px; }

html:not(.dark) .lp-mega-panel {
    background: rgba(255,255,255,.98);
    border-color: rgba(0,0,0,.06);
    box-shadow: 0 32px 80px rgba(0,0,0,.12), 0 0 0 1px rgba(59,130,246,.06);
}

/* Caret arrow at top */
.lp-mega-panel::before {
    content: '';
    position: absolute;
    top: -7px;
    left: 50%;
    transform: translateX(-50%) rotate(45deg);
    width: 14px; height: 14px;
    background: inherit;
    border-top: 1px solid rgba(255,255,255,.08);
    border-left: 1px solid rgba(255,255,255,.08);
}
html:not(.dark) .lp-mega-panel::before {
    border-top-color: rgba(0,0,0,.06);
    border-left-color: rgba(0,0,0,.06);
}

.lp-mega-trigger:hover .lp-mega-panel,
.lp-mega-trigger:focus-within .lp-mega-panel {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

/* 2-column layout for the templates dropdown */
.lp-mega-2col {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 24px;
}
.lp-mega-left  { min-width: 0; }
.lp-mega-right { padding-inline-start: 24px; border-inline-start: 1px solid rgba(255,255,255,.06); }
html:not(.dark) .lp-mega-right { border-inline-start-color: rgba(0,0,0,.06); }

/* Section label */
.lp-mega-section-label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: .6875rem;
    font-weight: 700;
    color: var(--lp-text-soft);
    text-transform: uppercase;
    letter-spacing: .06em;
    margin-bottom: 12px;
}
.lp-mega-section-dot {
    width: 4px; height: 4px;
    border-radius: 50%;
    background: #3b82f6;
}

/* Categories grid (3x3) */
.lp-mega-cats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
}
.lp-mega-cats-grid--2 { grid-template-columns: repeat(2, 1fr); }

.lp-mega-cat-card {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,.06);
    background: rgba(255,255,255,.02);
    text-decoration: none;
    transition: background .2s, border-color .2s, transform .2s;
    min-width: 0;
}
html:not(.dark) .lp-mega-cat-card {
    border-color: rgba(0,0,0,.05);
    background: rgba(0,0,0,.015);
}
.lp-mega-cat-card:hover {
    background: rgba(59,130,246,.08);
    border-color: rgba(59,130,246,.3);
    transform: translateY(-1px);
}
.lp-mega-cat-ico {
    width: 36px; height: 36px;
    border-radius: 9px;
    background: rgba(59,130,246,.15);
    color: #3b82f6;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.lp-mega-cat-ico svg { width: 18px; height: 18px; }
.lp-mega-cat-body { flex: 1; min-width: 0; }
.lp-mega-cat-body strong {
    display: block;
    font-size: .8125rem;
    font-weight: 700;
    color: var(--lp-text);
    margin-bottom: 2px;
    line-height: 1.2;
}
.lp-mega-cat-body small {
    display: block;
    font-size: .6875rem;
    color: var(--lp-text-soft);
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Quick start items (right column) */
.lp-mega-quick-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,.06);
    background: rgba(255,255,255,.02);
    text-decoration: none;
    margin-bottom: 8px;
    transition: background .2s, border-color .2s, transform .2s;
}
html:not(.dark) .lp-mega-quick-item {
    border-color: rgba(0,0,0,.05);
    background: rgba(0,0,0,.015);
}
.lp-mega-quick-item:hover {
    background: rgba(59,130,246,.08);
    border-color: rgba(59,130,246,.3);
}
.lp-mega-quick-ico {
    width: 36px; height: 36px;
    border-radius: 9px;
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: white;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(59,130,246,.3);
}
.lp-mega-quick-ico svg { width: 17px; height: 17px; }
.lp-mega-quick-body { flex: 1; min-width: 0; }
.lp-mega-quick-body strong { display: block; font-size: .8125rem; font-weight: 700; color: var(--lp-text); margin-bottom: 2px; }
.lp-mega-quick-body small  { display: block; font-size: .6875rem; color: var(--lp-text-soft); line-height: 1.3; }
.lp-mega-quick-arrow { width: 14px; height: 14px; opacity: .4; flex-shrink: 0; color: var(--lp-text-muted); }
html[dir="rtl"] .lp-mega-quick-arrow { transform: scaleX(-1); }

/* Trending items */
.lp-mega-trend-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    border-radius: 10px;
    text-decoration: none;
    transition: background .2s;
}
.lp-mega-trend-item:hover { background: rgba(255,255,255,.04); }
html:not(.dark) .lp-mega-trend-item:hover { background: rgba(0,0,0,.04); }
.lp-mega-trend-ico {
    width: 30px; height: 30px;
    border-radius: 8px;
    color: white;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.lp-mega-trend-ico svg { width: 15px; height: 15px; }
.lp-mega-trend-body { flex: 1; min-width: 0; }
.lp-mega-trend-body strong { display: block; font-size: .8125rem; font-weight: 600; color: var(--lp-text); }
.lp-mega-trend-body small  { display: block; font-size: .6875rem; color: var(--lp-text-soft); }
.lp-mega-trend-arrow { width: 14px; height: 14px; flex-shrink: 0; }

/* View all link at bottom */
.lp-mega-view-all {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: .8125rem;
    font-weight: 600;
    color: #3b82f6;
    text-decoration: none;
    margin-top: 14px;
    transition: gap .2s;
}
.lp-mega-view-all:hover { gap: 10px; color: #2563eb; }
html[dir="rtl"] .lp-mega-view-all svg { transform: scaleX(-1); }

/* ── Language dropdown ── */
.lp-lang-dropdown { position: relative; }
.lp-lang-trigger { gap: 6px !important; }
.lp-lang-trigger span { font-size: .8125rem; font-weight: 600; }

.lp-lang-menu {
    position: absolute;
    top: calc(100% + 12px);
    inset-inline-end: 0;
    min-width: 180px;
    background: rgba(15, 17, 28, .98);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 12px;
    padding: 6px;
    box-shadow: 0 16px 40px rgba(0,0,0,.4);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    opacity: 0;
    visibility: hidden;
    transform: translateY(6px);
    transition: opacity .2s, transform .2s, visibility .2s;
    z-index: 100;
}
html:not(.dark) .lp-lang-menu {
    background: rgba(255,255,255,.98);
    border-color: rgba(0,0,0,.06);
    box-shadow: 0 16px 40px rgba(0,0,0,.08);
}
.lp-lang-dropdown:hover .lp-lang-menu,
.lp-lang-dropdown:focus-within .lp-lang-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lp-lang-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 8px;
    text-decoration: none;
    transition: background .15s;
}
.lp-lang-item:hover { background: rgba(255,255,255,.05); }
html:not(.dark) .lp-lang-item:hover { background: rgba(0,0,0,.04); }
.lp-lang-item.is-active { background: rgba(59,130,246,.1); }
.lp-lang-item-name { flex: 1; font-size: .8125rem; font-weight: 600; color: var(--lp-text); }
.lp-lang-item-code {
    font-size: .6875rem;
    font-weight: 700;
    color: var(--lp-text-soft);
    background: rgba(255,255,255,.06);
    padding: 2px 6px;
    border-radius: 4px;
    letter-spacing: .04em;
}
html:not(.dark) .lp-lang-item-code { background: rgba(0,0,0,.05); }

/* ── Nav actions (right cluster) ── */
.lp-nav__actions {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
}
.lp-nav__hide-mobile  { display: none; }
.lp-nav__hide-tablet  { display: none; }
.lp-nav__hide-desktop { display: none; }

@media (min-width: 768px)  { .lp-nav__hide-mobile  { display: inline-flex; } }
@media (min-width: 1024px) { .lp-nav__hide-tablet  { display: inline-flex; } }

/* Responsive — collapse on tablets/mobile */
@media (max-width: 1199px) {
    .lp-mega-panel--xl { width: min(720px, calc(100vw - 40px)); }
    .lp-mega-2col { grid-template-columns: 1fr; }
    .lp-mega-right { padding-inline-start: 0; border-inline-start: none; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.06); }
    html:not(.dark) .lp-mega-right { border-top-color: rgba(0,0,0,.06); }
}
@media (max-width: 1023px) {
    .lp-nav__menu { display: none; }
    .lp-lang-dropdown { display: none; }
}

/* Nav actions */
/* ── Mobile Drawer ── */
.lp-drawer {
    position: fixed;
    inset-block: 0;
    inset-inline-end: 0;
    width: min(340px, 90vw);
    background: var(--lp-bg-muted);
    border-inline-start: 1px solid var(--lp-border);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform .3s var(--lp-ease);
}
html[dir="rtl"] .lp-drawer { transform: translateX(-100%); border-inline-start: none; border-inline-end: 1px solid var(--lp-border); }
.lp-drawer.is-open { transform: translateX(0); }
.lp-drawer-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--lp-border);
}
.lp-drawer-body { flex: 1; overflow-y: auto; padding: 1.25rem; display: flex; flex-direction: column; gap: .25rem; }
.lp-drawer-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: .875rem 1rem;
    border-radius: var(--lp-r-lg);
    font-weight: 500;
    color: var(--lp-text-muted);
    transition: background .2s, color .2s;
    text-decoration: none;
}
.lp-drawer-link:hover { background: var(--lp-surface); color: var(--lp-text); }
.lp-drawer-link svg  { width: 14px; height: 14px; opacity: .4; }
.lp-drawer-divider   { height: 1px; background: var(--lp-border); margin-block: .75rem; }

.lp-drawer-overlay {
    position: fixed;
    inset: 0;
    background: rgba(3,6,26,.6);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: opacity .3s, visibility .3s;
}
.lp-drawer-overlay.is-open { opacity: 1; visibility: visible; }

/* Spacer */
.lp-nav-spacer { height: 80px; }

@media (max-width: 1023px) { .lp-nav__menu { display: none; } }
@media (max-width: 1023px) { .lp-nav__hide-desktop { display: flex; } }
@media (max-width: 1023px) { .lp-nav__hide-tablet  { display: none !important; } }

/* ═══════════════════════════════════════════════════════════
   10. HERO SECTION — Dashboard Mockup
═══════════════════════════════════════════════════════════ */

/* ── Keyframe animations ── */
@keyframes lp-orb-breathe {
    0%,100% { transform: scale(1) translate(0,0);          opacity: .55; }
    50%      { transform: scale(1.2) translate(15px,-15px); opacity: .75; }
}
@keyframes lp-particle-rise {
    0%   { transform: translate(0,0) scale(0);                                               opacity: 0; }
    10%  { opacity: .6; }
    90%  { opacity: .3; }
    100% { transform: translate(var(--dx,20px), calc(-1 * var(--travel,120px))) scale(1.5);  opacity: 0; }
}
@keyframes lp-mockup-float {
    0%,100% { transform: translateY(0)     rotate(0deg); }
    50%      { transform: translateY(-10px) rotate(.3deg); }
}
@keyframes lp-notif-float {
    0%,100% { transform: translateY(0); }
    50%      { transform: translateY(-6px); }
}
@keyframes lp-scan {
    0%   { transform: translateY(-5%); }
    100% { transform: translateY(105vh); }
}
@keyframes lp-dot-pulse {
    0%,100% { opacity: 1; transform: scale(1); }
    50%      { opacity: .4; transform: scale(.7); }
}

/* ── Section wrapper ── */
.lp-hero {
    position: relative;
    padding-block: clamp(2rem, 4vw, 3.5rem) clamp(2rem, 3.5vw, 3rem);
    overflow: hidden;
    background: var(--lp-bg);
}

/* ── Background wrapper ── */
.lp-hero-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
    clip-path: inset(0);
}

/* ── Dot grid ── */
.lp-hero-grid {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(124,92,252,.18) 1px, transparent 1px);
    background-size: 28px 28px;
    mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black 0%, transparent 100%);
    -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black 0%, transparent 100%);
    opacity: .5;
}
.dark .lp-hero-grid {
    background-image: radial-gradient(circle, rgba(124,92,252,.3) 1px, transparent 1px);
    opacity: .7;
}

/* ── Glow orbs ── */
.lp-hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    pointer-events: none;
    animation: lp-orb-breathe 10s ease-in-out infinite;
}
.lp-hero-orb--1 {
    width: 600px; height: 500px;
    background: radial-gradient(circle, rgba(124,92,252,.45), transparent 70%);
    inset-inline-start: 2%;
    top: -10%;
    animation-delay: 0s;
}
.lp-hero-orb--2 {
    width: 520px; height: 520px;
    background: radial-gradient(circle, rgba(45,212,191,.28), transparent 70%);
    inset-inline-end: 2%;
    top: 25%;
    animation-delay: -4s;
}
.lp-hero-orb--3 {
    width: 380px; height: 380px;
    background: radial-gradient(circle, rgba(244,114,182,.22), transparent 70%);
    left: 50%;
    bottom: -5%;
    transform: translateX(-50%);
    animation-delay: -7s;
}

/* ── Floating particles ── */
.lp-hero-particles {
    position: absolute;
    inset: 0;
    contain: strict;
}
.lp-hero-particles span {
    position: absolute;
    left: var(--x, 50%);
    top: var(--y, 80%);
    width: 3px; height: 3px;
    border-radius: 50%;
    background: rgba(124,92,252,.7);
    will-change: transform, opacity;
    animation: lp-particle-rise var(--d, 20s) var(--dl, 0s) ease-in infinite;
    --dx: 18px;
    --travel: 120px;
}
.lp-hero-particles span:nth-child(even) {
    background: rgba(45,212,191,.5);
    width: 2px; height: 2px;
    --travel: 90px;
}
.lp-hero-particles span:nth-child(3n) {
    background: rgba(244,114,182,.45);
    width: 2px; height: 2px;
}
@media (prefers-reduced-motion: reduce) {
    .lp-hero-particles { display: none; }
    .lp-hero-orb { animation: none !important; }
    .lp-browser  { animation: none !important; }
    .lp-hero-notif { animation: none !important; }
}

/* ── 2-column grid ── */
.lp-hero-inner {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(320px, 38%) 1fr;
    align-items: center;
    gap: clamp(2rem, 4vw, 3.5rem);
}
@media (max-width: 1100px) { .lp-hero-inner { grid-template-columns: 42% 1fr; } }
@media (max-width: 991px)  { .lp-hero-inner { grid-template-columns: 1fr; } }

/* ── Text column ── */
.lp-hero-body {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.lp-hero-title { line-height: 1.15; }
.lp-hero-title .lp-hero-line-1 { display: block; color: var(--lp-text); }
.lp-hero-title .lp-hero-line-2 { display: block; }
.lp-hero-title .lp-hero-line-3 { display: block; color: var(--lp-text-muted); font-size: .55em; font-weight: 600; margin-top: .15em; }

.lp-hero-sub {
    color: var(--lp-text-muted);
    max-width: 480px;
    font-size: 1rem;
    line-height: 1.6;
}

.lp-hero-cta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .875rem;
}

/* Stats */
.lp-hero-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem 2rem;
    padding-top: .875rem;
    border-top: 1px solid var(--lp-border);
}
.lp-stat-num {
    font-size: 1.5rem;
    font-weight: 800;
    font-family: 'Manrope', sans-serif;
    letter-spacing: -0.03em;
    color: var(--lp-text);
    line-height: 1;
}
.lp-stat-lbl {
    font-size: .78125rem;
    color: var(--lp-text-muted);
    margin-top: .25rem;
    font-weight: 500;
}

/* Social proof */
.lp-hero-social-proof {
    display: flex;
    align-items: center;
    gap: .75rem;
}
.lp-hero-avatars {
    display: flex;
    align-items: center;
}
.lp-hero-avatar {
    width: 30px; height: 30px;
    border-radius: 50%;
    border: 2px solid var(--lp-bg);
    display: flex; align-items: center; justify-content: center;
    font-size: .625rem; font-weight: 700;
    color: white;
    margin-inline-end: -8px;
    flex-shrink: 0;
}
.lp-hero-avatar--count {
    background: var(--lp-gradient-brand);
    font-size: .55rem;
    padding-inline: 6px;
    border-radius: 999px;
    width: auto; min-width: 36px;
    margin-inline-end: 0;
}
.lp-hero-social-text {
    font-size: .8125rem;
    color: var(--lp-text-muted);
    font-weight: 500;
}

/* ── Visual column ── */
.lp-hero-visual {
    position: relative;
}
@media (max-width: 991px) { .lp-hero-visual { display: none; } }

/* ── Floating notification above browser ── */
.lp-hero-notif {
    position: absolute;
    top: -20px;
    inset-inline-end: 40px;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 12px;
    background: rgba(13,15,28,.92);
    border: 1px solid rgba(124,92,252,.3);
    box-shadow: 0 8px 32px rgba(3,6,26,.5), 0 0 0 1px rgba(124,92,252,.15);
    backdrop-filter: blur(16px);
    z-index: 10;
    animation: lp-notif-float 3.5s ease-in-out infinite;
    white-space: nowrap;
}
html:not(.dark) .lp-hero-notif {
    background: rgba(255,255,255,.97);
    border-color: rgba(124,92,252,.2);
    box-shadow: 0 8px 32px rgba(90,60,200,.15);
}
.lp-hero-notif-bell {
    width: 28px; height: 28px;
    border-radius: 8px;
    background: rgba(124,92,252,.2);
    display: flex; align-items: center; justify-content: center;
    color: #9D82FF;
    flex-shrink: 0;
}
.lp-hero-notif-bell svg { width: 13px; height: 13px; }
.lp-hero-notif-title { font-size: .75rem; font-weight: 700; color: var(--lp-text); }
.lp-hero-notif-sub   { font-size: .625rem; color: var(--lp-text-soft); margin-top: 1px; }
.lp-hero-notif-dot {
    width: 7px; height: 7px;
    border-radius: 50%;
    background: #22c55e;
    flex-shrink: 0;
    animation: lp-dot-pulse 2s ease-in-out infinite;
    margin-inline-start: 4px;
}

/* ── Browser window ── */
.lp-browser {
    border-radius: 12px;
    overflow: hidden;
    background: rgba(13,15,28,.95);
    border: 1px solid rgba(255,255,255,.1);
    box-shadow:
        0 32px 80px rgba(3,6,26,.7),
        0 0 0 1px rgba(124,92,252,.18),
        inset 0 1px 0 rgba(255,255,255,.07);
    animation: lp-mockup-float 6s ease-in-out infinite;
    margin-top: 30px;
}
html:not(.dark) .lp-browser {
    background: #f8faff;
    border-color: rgba(124,92,252,.15);
    box-shadow: 0 24px 64px rgba(90,60,200,.18), 0 0 0 1px rgba(124,92,252,.12);
}

/* Browser chrome bar */
.lp-browser-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    height: 38px;
    padding-inline: 12px;
    background: rgba(255,255,255,.04);
    border-bottom: 1px solid rgba(255,255,255,.07);
}
html:not(.dark) .lp-browser-bar {
    background: rgba(0,0,0,.04);
    border-bottom-color: rgba(124,92,252,.1);
}
.lp-browser-dots { display: flex; gap: 5px; align-items: center; flex-shrink: 0; }
.lp-browser-dots span {
    width: 9px; height: 9px;
    border-radius: 50%;
    display: block;
}
.lp-bd-r { background: #FF5F57; }
.lp-bd-y { background: #FFBD2E; }
.lp-bd-g { background: #28C840; }

.lp-browser-url {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    background: rgba(255,255,255,.06);
    border-radius: 6px;
    padding: 3px 10px;
    font-size: .625rem;
    color: rgba(255,255,255,.5);
    max-width: 180px;
    margin-inline: auto;
    border: 1px solid rgba(255,255,255,.06);
}
html:not(.dark) .lp-browser-url {
    background: rgba(0,0,0,.05);
    color: rgba(0,0,0,.45);
    border-color: rgba(0,0,0,.07);
}

.lp-browser-actions {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
}
.lp-browser-action-btn {
    position: relative;
    width: 24px; height: 24px;
    border-radius: 6px;
    display: flex; align-items: center; justify-content: center;
    color: rgba(255,255,255,.45);
    background: rgba(255,255,255,.06);
    cursor: pointer;
}
html:not(.dark) .lp-browser-action-btn { background: rgba(0,0,0,.05); color: rgba(0,0,0,.4); }
.lp-browser-badge {
    position: absolute;
    top: -3px; right: -3px;
    width: 12px; height: 12px;
    border-radius: 50%;
    background: #7C5CFC;
    color: white;
    font-size: .4375rem;
    font-weight: 700;
    display: flex; align-items: center; justify-content: center;
    border: 1px solid rgba(13,15,28,.95);
}

/* ── Dashboard body (flex row) ── */
.lp-db {
    display: flex;
    min-height: 0;
}

/* ── Sidebar ── */
.lp-db-sidebar {
    width: 130px;
    flex-shrink: 0;
    background: rgba(255,255,255,.025);
    border-inline-end: 1px solid rgba(255,255,255,.06);
    display: flex;
    flex-direction: column;
    padding: 10px 8px;
    gap: 2px;
}
html:not(.dark) .lp-db-sidebar {
    background: rgba(0,0,0,.025);
    border-inline-end-color: rgba(124,92,252,.08);
}

.lp-db-brand {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 4px 4px 10px;
    border-bottom: 1px solid rgba(255,255,255,.06);
    margin-bottom: 6px;
}
html:not(.dark) .lp-db-brand { border-bottom-color: rgba(124,92,252,.08); }
.lp-db-brand-ico {
    width: 22px; height: 22px;
    border-radius: 6px;
    background: var(--lp-gradient-brand);
    display: flex; align-items: center; justify-content: center;
    font-size: .625rem; font-weight: 900;
    color: white;
    flex-shrink: 0;
}

.lp-db-nav { display: flex; flex-direction: column; gap: 1px; flex: 1; }

.lp-db-nav-item {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 4px 6px;
    border-radius: 6px;
    font-size: .5625rem;
    font-weight: 500;
    color: rgba(255,255,255,.45);
    cursor: pointer;
    transition: background .15s, color .15s;
}
html:not(.dark) .lp-db-nav-item { color: rgba(26,16,64,.45); }
.lp-db-nav-item:hover { background: rgba(255,255,255,.05); color: rgba(255,255,255,.75); }
html:not(.dark) .lp-db-nav-item:hover { background: rgba(124,92,252,.06); color: rgba(26,16,64,.75); }
.lp-db-nav-item.is-active {
    background: rgba(124,92,252,.2);
    color: #9D82FF;
    font-weight: 600;
}
html:not(.dark) .lp-db-nav-item.is-active { background: rgba(124,92,252,.12); color: #7C5CFC; }

.lp-db-upgrade-card {
    margin-top: auto;
    padding: 7px 8px;
    border-radius: 8px;
    background: linear-gradient(135deg, rgba(124,92,252,.25), rgba(45,212,191,.15));
    border: 1px solid rgba(124,92,252,.2);
    text-align: center;
}
.lp-db-upgrade-ico  { font-size: .875rem; margin-bottom: 2px; }
.lp-db-upgrade-txt  { font-size: .5rem; font-weight: 700; color: #9D82FF; }
.lp-db-upgrade-sub  { font-size: .4375rem; color: rgba(255,255,255,.35); margin-top: 1px; }
html:not(.dark) .lp-db-upgrade-sub { color: rgba(26,16,64,.4); }

/* ── Main dashboard area ── */
.lp-db-main {
    flex: 1;
    min-width: 0;
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    overflow: hidden;
}

/* Header row */
.lp-db-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.lp-db-welcome {
    font-size: .625rem;
    font-weight: 700;
    color: var(--lp-text);
}
.lp-db-date-pill {
    display: flex;
    align-items: center;
    gap: 3px;
    padding: 3px 7px;
    border-radius: 999px;
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.08);
    font-size: .5rem;
    color: rgba(255,255,255,.5);
}
html:not(.dark) .lp-db-date-pill {
    background: rgba(0,0,0,.04);
    border-color: rgba(124,92,252,.1);
    color: rgba(26,16,64,.5);
}

/* KPI cards */
.lp-db-kpis {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 6px;
}
.lp-db-kpi {
    padding: 7px 8px;
    border-radius: 8px;
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.07);
    display: flex;
    flex-direction: column;
    gap: 2px;
}
html:not(.dark) .lp-db-kpi {
    background: rgba(255,255,255,.9);
    border-color: rgba(124,92,252,.1);
    box-shadow: 0 1px 4px rgba(90,60,200,.06);
}
.lp-db-kpi-lbl {
    font-size: .4375rem;
    color: rgba(255,255,255,.4);
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
html:not(.dark) .lp-db-kpi-lbl { color: rgba(26,16,64,.45); }
.lp-db-kpi-val {
    font-size: .8125rem;
    font-weight: 800;
    color: var(--lp-text);
    font-family: 'Manrope', sans-serif;
    letter-spacing: -0.02em;
    line-height: 1;
}
.lp-db-kpi-delta {
    font-size: .4375rem;
    font-weight: 600;
    color: #34d399;
}
.lp-db-kpi-spark { margin-top: 3px; }
.lp-db-kpi-spark svg { width: 100%; height: auto; display: block; }

/* Chart card */
.lp-db-chart-card {
    border-radius: 8px;
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.07);
    padding: 8px 10px 6px;
}
html:not(.dark) .lp-db-chart-card {
    background: rgba(255,255,255,.9);
    border-color: rgba(124,92,252,.1);
    box-shadow: 0 1px 4px rgba(90,60,200,.06);
}
.lp-db-chart-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 6px;
}
.lp-db-chart-title { font-size: .5625rem; font-weight: 700; color: var(--lp-text); }
.lp-db-chart-sub   { font-size: .4375rem; color: rgba(255,255,255,.35); }
html:not(.dark) .lp-db-chart-sub { color: rgba(26,16,64,.4); }
.lp-db-chart-days {
    display: flex;
    justify-content: space-between;
    padding-top: 3px;
    font-size: .4rem;
    color: rgba(255,255,255,.3);
}
html:not(.dark) .lp-db-chart-days { color: rgba(26,16,64,.35); }

/* Bottom row */
.lp-db-bottom-row {
    display: grid;
    grid-template-columns: 1fr auto auto;
    gap: 6px;
    min-height: 0;
}
.lp-db-section-title {
    font-size: .5rem;
    font-weight: 700;
    color: rgba(255,255,255,.55);
    margin-bottom: 5px;
}
html:not(.dark) .lp-db-section-title { color: rgba(26,16,64,.5); }

/* Orders card */
.lp-db-orders-card {
    border-radius: 8px;
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.07);
    padding: 7px 8px;
    min-width: 0;
    overflow: hidden;
}
html:not(.dark) .lp-db-orders-card {
    background: rgba(255,255,255,.9);
    border-color: rgba(124,92,252,.1);
}
.lp-db-order-row {
    display: flex;
    align-items: center;
    gap: 5px;
    padding-block: 3px;
    border-bottom: 1px solid rgba(255,255,255,.04);
}
.lp-db-order-row:last-child { border-bottom: none; }
html:not(.dark) .lp-db-order-row { border-bottom-color: rgba(124,92,252,.06); }
.lp-db-order-avatar {
    width: 16px; height: 16px;
    border-radius: 50%;
    flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
    font-size: .4375rem; font-weight: 700; color: white;
}
.lp-db-order-info { flex: 1; min-width: 0; }
.lp-db-order-name { font-size: .4375rem; font-weight: 600; color: var(--lp-text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lp-db-order-id   { font-size: .375rem; color: rgba(255,255,255,.3); }
html:not(.dark) .lp-db-order-id { color: rgba(26,16,64,.35); }
.lp-db-order-amt  { font-size: .4375rem; font-weight: 600; color: var(--lp-text); white-space: nowrap; flex-shrink: 0; }
.lp-db-order-status {
    font-size: .375rem;
    font-weight: 600;
    padding: 1px 4px;
    border-radius: 999px;
    flex-shrink: 0;
}
.lp-db-order-status--green { background: rgba(52,211,153,.15); color: #34d399; }
.lp-db-order-status--amber { background: rgba(251,191,36,.15);  color: #FBBF24; }

/* Growth card */
.lp-db-growth-card {
    width: 72px;
    border-radius: 8px;
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.07);
    padding: 7px 6px;
    text-align: center;
    flex-shrink: 0;
}
html:not(.dark) .lp-db-growth-card {
    background: rgba(255,255,255,.9);
    border-color: rgba(124,92,252,.1);
}
.lp-db-growth-pct {
    font-size: .9375rem;
    font-weight: 900;
    font-family: 'Manrope', sans-serif;
    background: var(--lp-gradient-brand);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    line-height: 1;
}
.lp-db-growth-sub {
    font-size: .375rem;
    color: rgba(255,255,255,.35);
    margin-top: 1px;
}
html:not(.dark) .lp-db-growth-sub { color: rgba(26,16,64,.4); }
.lp-db-growth-bars {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 2px;
    margin-top: 6px;
}
.lp-db-growth-bars span {
    width: 5px;
    border-radius: 2px 2px 0 0;
    background: rgba(59,130,246,.4);
    display: block;
}
.lp-db-growth-bars span:last-child { background: #3b82f6; }

/* Categories card */
.lp-db-cats-card {
    width: 90px;
    border-radius: 8px;
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.07);
    padding: 7px 8px;
    flex-shrink: 0;
}
html:not(.dark) .lp-db-cats-card {
    background: rgba(255,255,255,.9);
    border-color: rgba(124,92,252,.1);
}
.lp-db-cat-row {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 5px;
}
.lp-db-cat-row:last-child { margin-bottom: 0; }
.lp-db-cat-ico {
    width: 14px; height: 14px;
    border-radius: 4px;
    background: rgba(59,130,246,.18);
    color: #3b82f6;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.lp-db-cat-info { flex: 1; min-width: 0; }
.lp-db-cat-name { font-size: .375rem; color: rgba(255,255,255,.65); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-bottom: 2px; font-weight: 600; }
html:not(.dark) .lp-db-cat-name { color: rgba(26,16,64,.7); }
.lp-db-cat-bar  { height: 3px; background: rgba(255,255,255,.08); border-radius: 999px; overflow: hidden; }
html:not(.dark) .lp-db-cat-bar { background: rgba(0,0,0,.07); }
.lp-db-cat-fill { height: 100%; border-radius: 999px; background: #3b82f6; }
.lp-db-cat-pct  { font-size: .4rem; font-weight: 700; flex-shrink: 0; color: rgba(255,255,255,.7); }
html:not(.dark) .lp-db-cat-pct { color: rgba(26,16,64,.7); }

/* ── Right panel ── */
.lp-db-panel {
    width: 160px;
    flex-shrink: 0;
    border-inline-start: 1px solid rgba(255,255,255,.06);
    display: flex;
    flex-direction: column;
    gap: 0;
}
html:not(.dark) .lp-db-panel { border-inline-start-color: rgba(124,92,252,.08); }

.lp-db-panel-header {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 10px 10px 8px;
    border-bottom: 1px solid rgba(255,255,255,.05);
}
html:not(.dark) .lp-db-panel-header { border-bottom-color: rgba(124,92,252,.07); }
.lp-db-panel-title { font-size: .5625rem; font-weight: 700; color: var(--lp-text); flex: 1; }
.lp-db-panel-badge {
    width: 14px; height: 14px;
    border-radius: 50%;
    background: #7C5CFC;
    color: white;
    font-size: .4rem;
    font-weight: 700;
    display: flex; align-items: center; justify-content: center;
}
.lp-db-panel-action {
    font-size: .4rem;
    color: rgba(255,255,255,.3);
    cursor: pointer;
}
html:not(.dark) .lp-db-panel-action { color: rgba(26,16,64,.35); }

/* Messages */
.lp-db-msgs { padding: 0 10px 8px; }
.lp-db-msg-item {
    display: flex;
    align-items: flex-start;
    gap: 5px;
    padding-block: 5px;
    border-bottom: 1px solid rgba(255,255,255,.04);
}
.lp-db-msg-item:last-child { border-bottom: none; }
html:not(.dark) .lp-db-msg-item { border-bottom-color: rgba(124,92,252,.06); }
.lp-db-msg-avatar {
    width: 18px; height: 18px;
    border-radius: 50%;
    flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
    font-size: .5rem; font-weight: 700; color: white;
}
.lp-db-msg-body { flex: 1; min-width: 0; }
.lp-db-msg-name { font-size: .5rem; font-weight: 700; color: var(--lp-text); }
.lp-db-msg-text { font-size: .4375rem; color: rgba(255,255,255,.35); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
html:not(.dark) .lp-db-msg-text { color: rgba(26,16,64,.4); }
.lp-db-msg-meta { display: flex; flex-direction: column; align-items: flex-end; gap: 3px; flex-shrink: 0; }
.lp-db-msg-time { font-size: .375rem; color: rgba(255,255,255,.3); }
html:not(.dark) .lp-db-msg-time { color: rgba(26,16,64,.35); }
.lp-db-msg-dot  { width: 6px; height: 6px; border-radius: 50%; background: #7C5CFC; flex-shrink: 0; }

.lp-db-view-all {
    font-size: .4375rem;
    color: #9D82FF;
    cursor: pointer;
    text-align: center;
    padding-top: 4px;
}

/* Activity */
.lp-db-activity {
    padding: 8px 10px;
    border-top: 1px solid rgba(255,255,255,.05);
    flex: 1;
}
html:not(.dark) .lp-db-activity { border-top-color: rgba(124,92,252,.07); }
.lp-db-act-item {
    display: flex;
    align-items: center;
    gap: 5px;
    padding-block: 3px;
}
.lp-db-act-ico {
    width: 14px; height: 14px;
    border-radius: 4px;
    flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
    color: #fff;
}
.lp-db-activity-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 5px; }
.lp-db-act-text { font-size: .4375rem; color: rgba(255,255,255,.65); flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-weight: 600; }
html:not(.dark) .lp-db-act-text { color: rgba(26,16,64,.7); }
.lp-db-act-time { font-size: .375rem; color: rgba(255,255,255,.35); flex-shrink: 0; }
html:not(.dark) .lp-db-act-time { color: rgba(26,16,64,.4); }

/* ── Keep legacy float badge (used nowhere new but kept for safety) ── */
.lp-float-badge {
    position: absolute;
    display: flex;
    align-items: center;
    gap: .75rem;
    padding: .75rem 1rem;
    border-radius: var(--lp-r-lg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,.12);
    box-shadow: 0 8px 32px rgba(3,6,26,.3);
    font-size: .8125rem;
    white-space: nowrap;
    z-index: 5;
    animation: lp-float 4s ease-in-out infinite;
}
.dark .lp-float-badge { background: rgba(12,17,51,.85); }
html:not(.dark) .lp-float-badge { background: rgba(255,255,255,.95); box-shadow: 0 8px 32px rgba(90,60,200,.12); }
.lp-float-badge--tl { inset-inline-start: -40px; top: -18px; animation-delay: 0s; }
.lp-float-badge--br { inset-inline-end: -20px; bottom: 30px; animation-delay: -2s; }
@keyframes lp-float { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-8px)} }
.lp-float-badge-ico { width:32px;height:32px;border-radius:9px;display:flex;align-items:center;justify-content:center;flex-shrink:0; }
.lp-float-badge-ico--green  { background:rgba(52,211,153,.2);color:#34d399; }
.lp-float-badge-ico--violet { background:rgba(124,92,252,.2);color:var(--lp-violet); }
.lp-float-badge-ico svg { width:15px;height:15px; }
.lp-float-badge-title { font-weight:700;font-size:.8125rem;color:var(--lp-text); }
.lp-float-badge-sub   { font-size:.6875rem;color:var(--lp-text-muted); }

/* ═══════════════════════════════════════════════════════════
   11. TRUSTED BY — Marquee
═══════════════════════════════════════════════════════════ */
.lp-trusted {
    position: relative;
    padding-block: 2.5rem;
    overflow: hidden;
    background: var(--lp-bg);
}
.lp-trusted::before, .lp-trusted::after {
    content: '';
    position: absolute;
    inset-block: 0;
    width: 180px;
    z-index: 2;
    pointer-events: none;
}
.lp-trusted::before {
    inset-inline-start: 0;
    background: linear-gradient(to inline-end, var(--lp-bg), transparent);
}
.lp-trusted::after {
    inset-inline-end: 0;
    background: linear-gradient(to inline-start, var(--lp-bg), transparent);
}
/* Fallback for browsers not supporting inline logical */
.lp-trusted::before { left: 0; background: linear-gradient(to right, var(--lp-bg), transparent); }
.lp-trusted::after  { right: 0; background: linear-gradient(to left, var(--lp-bg), transparent); }

.lp-trusted-label {
    text-align: center;
    font-size: .75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: var(--lp-text-soft);
    margin-bottom: 1.5rem;
}
.lp-marquee-wrap { overflow: hidden; }
.lp-marquee-track {
    display: flex;
    width: max-content;
    animation: lp-marquee 28s linear infinite;
}
html[dir="rtl"] .lp-marquee-track { animation-direction: reverse; }
@keyframes lp-marquee {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
.lp-marquee-item {
    flex-shrink: 0;
    padding-inline: 2rem;
    display: flex;
    align-items: center;
}
.lp-marquee-item-text {
    font-weight: 700;
    font-size: 1rem;
    color: var(--lp-text-soft);
    letter-spacing: -0.01em;
    transition: color .2s;
    opacity: .55;
}
.lp-marquee-item:hover .lp-marquee-item-text {
    color: var(--lp-violet);
    opacity: 1;
}

/* ═══════════════════════════════════════════════════════════
   12. ANIMATIONS & SCROLL REVEAL
═══════════════════════════════════════════════════════════ */
.lp-reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .6s var(--lp-ease), transform .6s var(--lp-ease);
}
.lp-reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Status — Uptime chip */
.lp-status {
    display: inline-flex;
    align-items: center;
    gap: .375rem;
    padding: .3125rem .75rem;
    border-radius: 999px;
    font-size: .75rem;
    font-weight: 600;
}
.lp-status--green {
    background: rgba(52,211,153,.12);
    color: #34d399;
    border: 1px solid rgba(52,211,153,.2);
}
.lp-status--blue {
    background: rgba(96,165,250,.12);
    color: #60a5fa;
    border: 1px solid rgba(96,165,250,.2);
}

/* ╔═══════════════════════════════════════════════════════════════════╗
   ║ 13. REFINEMENT OVERRIDE — Pure-black + Blue accent                ║
   ║ Refines hero, browser mockup and mega dropdown to match v3 specs. ║
   ╚═══════════════════════════════════════════════════════════════════╝ */

/* ── Token re-tuning: more black, more blue ── */
html.dark {
    --lp-bg:          #050610;
    --lp-bg-soft:     #0a0b14;
    --lp-bg-muted:    #0f1220;
    --lp-text:        #ffffff;
    --lp-text-muted:  #94a3b8;
    --lp-text-soft:   #64748b;
}

/* Pure-blue accent everywhere */
:root {
    --lp-accent:      #3b82f6;
    --lp-accent-2:    #2563eb;
    --lp-accent-soft: rgba(59,130,246,.12);
}

/* Re-color the hero accent line (was gradient) → solid blue */
.lp-hero-title .lp-hero-line-2,
.lp-hero-accent {
    display: block;
    color: #3b82f6;
    background: none;
    -webkit-background-clip: initial;
    background-clip: initial;
}
html:not(.dark) .lp-hero-title .lp-hero-line-2,
html:not(.dark) .lp-hero-accent { color: #2563eb; }

/* Hero background: blacker */
html.dark .lp-hero { background: #050610; }
html.dark .lp-hero-orb--1 { background: radial-gradient(circle, rgba(59,130,246,.35), transparent 70%); }
html.dark .lp-hero-orb--2 { background: radial-gradient(circle, rgba(59,130,246,.22), transparent 70%); }
html.dark .lp-hero-orb--3 { background: radial-gradient(circle, rgba(99,102,241,.18), transparent 70%); }
html.dark .lp-hero-grid {
    background-image: radial-gradient(circle, rgba(59,130,246,.22) 1px, transparent 1px);
    background-size: 32px 32px;
}
html.dark .lp-hero-particles span { background: rgba(59,130,246,.7); }
html.dark .lp-hero-particles span:nth-child(even) { background: rgba(96,165,250,.45); }
html.dark .lp-hero-particles span:nth-child(3n) { background: rgba(255,255,255,.35); }

/* Eyebrow → blue tone */
html.dark .lp-eyebrow {
    background: rgba(59,130,246,.12);
    color: #60a5fa;
    border-color: rgba(59,130,246,.25);
}
html.dark .lp-eyebrow-dot::before,
html.dark .lp-eyebrow-dot::after { background: #3b82f6; }

/* CTA buttons: solid blue primary (no gradient/shimmer) */
.lp-btn--glow, .lp-btn--primary {
    background: #3b82f6;
    color: #fff;
    border: none;
}
.lp-btn--glow::before { display: none; }
.lp-btn--glow:hover, .lp-btn--primary:hover {
    background: #2563eb;
    transform: translateY(-2px);
}

/* Secondary button in dark mode */
html.dark .lp-btn--secondary {
    background: rgba(255,255,255,.04);
    color: #fff;
    border-color: rgba(255,255,255,.1);
}
html.dark .lp-btn--secondary:hover {
    background: rgba(255,255,255,.07);
    border-color: rgba(59,130,246,.35);
}

/* Secondary button — make it smaller than primary in hero CTAs */
.lp-hero-cta .lp-btn--secondary {
    padding: .75rem 1.25rem !important;
    font-size: .875rem !important;
}
.lp-hero-cta .lp-btn--secondary .lp-play-circle {
    width: 22px !important;
    height: 22px !important;
}
.lp-hero-cta .lp-btn--secondary .lp-play-circle svg { width: 10px; height: 10px; }

/* Secondary button in LIGHT mode — fix invisibility on light bg */
html:not(.dark) .lp-btn--secondary {
    background: #ffffff !important;
    color: #1a1040 !important;
    border: 1px solid #e5e7eb !important;
    box-shadow: 0 2px 10px rgba(15, 23, 42, .06), 0 0 0 1px rgba(15, 23, 42, .03) !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}
html:not(.dark) .lp-btn--secondary:hover {
    background: #f8fafc !important;
    border-color: #3b82f6 !important;
    box-shadow: 0 6px 18px rgba(59, 130, 246, .15), 0 0 0 1px rgba(59, 130, 246, .25) !important;
}

/* Ensure hero CTAs container is always visible (in case GSAP fails) */
.lp-hero-cta { opacity: 1 !important; visibility: visible !important; }
.lp-hero-cta > * { opacity: 1 !important; }

.lp-play-circle {
    background: rgba(59,130,246,.2);
    color: #60a5fa;
}
html:not(.dark) .lp-play-circle {
    background: rgba(59,130,246,.12);
    color: #3b82f6;
}

/* ═══════════════════════════════════════════════════════════
   FLOATING NOTIFICATION CARDS — around browser mockup
═══════════════════════════════════════════════════════════ */
.lp-hero-visual { position: relative; }

.lp-float-card {
    position: absolute;
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-radius: 14px;
    background: rgba(15, 17, 28, .92);
    border: 1px solid rgba(255,255,255,.08);
    box-shadow:
        0 12px 32px rgba(0,0,0,.45),
        0 0 0 1px rgba(59,130,246,.08),
        0 0 24px rgba(59,130,246,.15);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    min-width: 260px;
    max-width: 320px;
    animation: lp-float-rise .9s cubic-bezier(.16,1,.3,1) backwards,
               lp-float-hover 5s ease-in-out infinite;
}
html:not(.dark) .lp-float-card {
    background: rgba(255,255,255,.98);
    border-color: rgba(15,23,42,.06);
    box-shadow:
        0 12px 32px rgba(15,23,42,.12),
        0 0 0 1px rgba(59,130,246,.06);
}

/* Card 1: New Order — floats top-left (overlapping top-left of browser) */
.lp-float-card--order {
    top: -32px;
    inset-inline-start: -28px;
    animation-delay: .8s, 1.5s;
}

/* Card 2: Sara Ahmed — drops DOWN from the chat icon (top-right of browser bar) */
.lp-float-card--msg {
    top: 70px;
    inset-inline-end: -24px;
    animation: lp-float-drop .7s cubic-bezier(.16,1,.3,1) backwards 1.2s,
               lp-float-hover 5s ease-in-out infinite 2s;
}

/* Card 3: Recent Activity — drops below the Sara message */
.lp-float-card--activity {
    top: 188px;
    inset-inline-end: -24px;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    min-width: 240px;
    padding: 12px;
    animation: lp-float-drop .7s cubic-bezier(.16,1,.3,1) backwards 1.6s,
               lp-float-hover 5s ease-in-out infinite 2.4s;
}

/* Connecting tail (line from message icon to floating card) */
.lp-float-card-tail {
    position: absolute;
    top: -22px;
    inset-inline-end: 28px;
    width: 2px;
    height: 22px;
    background: linear-gradient(to bottom, rgba(59,130,246,0), rgba(59,130,246,.5));
    border-radius: 1px;
}
.lp-float-card-tail::before {
    content: '';
    position: absolute;
    top: -6px; left: 50%; transform: translateX(-50%);
    width: 8px; height: 8px;
    border-radius: 50%;
    background: #3b82f6;
    box-shadow: 0 0 12px rgba(59,130,246,.6);
}
@keyframes lp-float-drop {
    from { opacity: 0; transform: translateY(-16px) scale(.95); }
    to   { opacity: 1; transform: translateY(0)     scale(1);   }
}

/* Activity items inside the floating activity card */
.lp-float-activity-head {
    display: flex; align-items: center; justify-content: space-between;
    padding-bottom: 8px;
    margin-bottom: 4px;
    border-bottom: 1px solid rgba(255,255,255,.06);
}
html:not(.dark) .lp-float-activity-head { border-bottom-color: rgba(15,23,42,.06); }
.lp-float-activity-title { font-size: .75rem; font-weight: 700; color: #fff; }
html:not(.dark) .lp-float-activity-title { color: #0f172a; }
.lp-float-activity-link  { font-size: .6875rem; font-weight: 600; color: #3b82f6; cursor: pointer; }

.lp-float-activity-item {
    display: flex; align-items: center; gap: 8px;
    padding: 4px 0;
}
.lp-float-activity-ico {
    flex-shrink: 0;
    width: 22px; height: 22px;
    border-radius: 6px;
    display: flex; align-items: center; justify-content: center;
    color: #fff;
}
.lp-float-activity-text {
    flex: 1; min-width: 0;
    font-size: .6875rem; font-weight: 500;
    color: rgba(255,255,255,.7);
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
html:not(.dark) .lp-float-activity-text { color: #475569; }
.lp-float-activity-time {
    flex-shrink: 0;
    font-size: .625rem;
    color: rgba(255,255,255,.4);
}
html:not(.dark) .lp-float-activity-time { color: #94a3b8; }

@keyframes lp-float-rise {
    from { opacity: 0; transform: translateY(20px) scale(.9); }
    to   { opacity: 1; transform: translateY(0)    scale(1);  }
}
@keyframes lp-float-hover {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-6px); }
}

.lp-float-card-ico {
    flex-shrink: 0;
    width: 36px; height: 36px;
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    color: #fff;
}
.lp-float-card-ico--blue { background: #3b82f6; box-shadow: 0 4px 12px rgba(59,130,246,.45); }

.lp-float-card-avatar {
    flex-shrink: 0;
    width: 36px; height: 36px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: .8125rem; font-weight: 700; color: #fff;
}

.lp-float-card-body { flex: 1; min-width: 0; }
.lp-float-card-title { font-size: .8125rem; font-weight: 700; color: #fff; line-height: 1.2; margin-bottom: 2px; }
html:not(.dark) .lp-float-card-title { color: #0f172a; }
.lp-float-card-sub { font-size: .6875rem; color: rgba(255,255,255,.55); line-height: 1.3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
html:not(.dark) .lp-float-card-sub { color: #64748b; }

.lp-float-card-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 2px; }
.lp-float-card-name { font-size: .8125rem; font-weight: 700; color: #fff; }
html:not(.dark) .lp-float-card-name { color: #0f172a; }
.lp-float-card-preview { font-size: .6875rem; color: rgba(255,255,255,.55); line-height: 1.3; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
html:not(.dark) .lp-float-card-preview { color: #475569; }
.lp-float-card-time { font-size: .625rem; color: rgba(255,255,255,.4); flex-shrink: 0; }
html:not(.dark) .lp-float-card-time { color: #94a3b8; }

.lp-float-card-dot {
    flex-shrink: 0;
    width: 8px; height: 8px;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 0 0 rgba(16,185,129,.5);
    animation: lp-float-dot-pulse 2s ease-in-out infinite;
}
.lp-float-card-dot--blue { background: #3b82f6; box-shadow: 0 0 0 0 rgba(59,130,246,.5); }
@keyframes lp-float-dot-pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(16,185,129,.45); }
    50%      { box-shadow: 0 0 0 8px rgba(16,185,129,0); }
}

@media (max-width: 991px) { .lp-float-card { display: none; } }
@media (prefers-reduced-motion: reduce) {
    .lp-float-card { animation: lp-float-rise .9s ease backwards; }
    .lp-float-card-dot { animation: none; }
}

/* ═══════════════════════════════════════════════════════════
   COMPACT DASHBOARD — reduce mockup height
═══════════════════════════════════════════════════════════ */
/* Remove right panel, let main take full width */
.lp-db-panel { display: none !important; }
.lp-db { grid-template-columns: 140px 1fr !important; }

/* Reduce main padding */
.lp-db-main { padding: 12px !important; gap: 10px !important; }

/* Smaller KPI cards */
.lp-db-kpi { min-height: 70px !important; padding: 10px !important; }
.lp-db-kpi-val { font-size: 16px !important; }
.lp-db-kpi-spark { height: 18px !important; }
.lp-db-kpi-spark svg { height: 16px !important; }

/* Smaller chart card */
.lp-db-chart-card { padding: 10px 12px !important; }
.lp-db-chart-wrap svg { height: 60px !important; }
.lp-db-chart-card .lp-db-chart-svgwrap { min-height: 60px !important; }

/* Smaller bottom row cards */
.lp-db-bottom-row { gap: 8px !important; }
.lp-db-orders-card, .lp-db-growth-card, .lp-db-cats-card { padding: 10px !important; }
.lp-db-growth-pct { font-size: 18px !important; }
.lp-db-donut svg { width: 52px !important; height: 52px !important; }

/* Smaller header */
.lp-db-header { margin-bottom: 4px !important; }
.lp-db-welcome { font-size: 12px !important; }
.lp-db-welcome-sub { font-size: 10px !important; }

/* Compact sidebar */
.lp-db-sidebar { padding: 10px 8px !important; }
.lp-db-nav-item { padding: 6px 8px !important; font-size: 10.5px !important; }
.lp-db-upgrade-card { padding: 10px 8px !important; }

/* ── Hero stats — clean inline ── */
.lp-hero-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem 2.5rem;
    margin-top: 1.5rem;
    padding-top: 0;
    border-top: none;
}
.lp-hero-stat {
    min-width: 0;
}
/* Hide the colored icon squares entirely — keep it simple */
.lp-hero-stat-ico { display: none; }

.lp-hero-stat-body {
    min-width: 0;
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}
.lp-hero-stat .lp-stat-num {
    font-size: 1.5rem !important;
    font-weight: 800;
    color: var(--lp-text);
    letter-spacing: -.025em;
    line-height: 1;
    background: none !important;
    -webkit-background-clip: initial !important;
    background-clip: initial !important;
    margin: 0;
}
.lp-hero-stat .lp-stat-lbl {
    font-size: .8125rem;
    font-weight: 500;
    color: var(--lp-text-muted);
    line-height: 1.3;
    margin-top: 4px;
    white-space: nowrap;
}

@media (max-width: 640px) {
    .lp-hero-stats { gap: 1rem 1.5rem; }
    .lp-hero-stat .lp-stat-num { font-size: 1.25rem !important; }
}

/* ── Hero social proof — +12K pill on the right ── */
.lp-hero-social-proof {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: .625rem;
}
.lp-hero-avatars { display: flex; align-items: center; }
.lp-hero-avatar {
    width: 30px; height: 30px;
    border-radius: 50%;
    border: 2px solid var(--lp-bg);
    margin-inline-end: -8px;
    font-size: .6875rem;
}
.lp-hero-avatar-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #3b82f6;
    color: #fff;
    font-size: .6875rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 999px;
    margin-inline-start: 12px;
    border: 2px solid var(--lp-bg);
    box-shadow: 0 2px 8px rgba(59,130,246,.4);
}
.lp-hero-social-text {
    font-size: .8125rem;
    color: var(--lp-text-muted);
    font-weight: 500;
    flex: 1;
    min-width: 0;
}

/* ── Floating notification: blue bell ── */
html.dark .lp-hero-notif {
    background: rgba(13,15,28,.95);
    border-color: rgba(59,130,246,.3);
    box-shadow: 0 12px 40px rgba(0,0,0,.6), 0 0 0 1px rgba(59,130,246,.15);
}
.lp-hero-notif-bell {
    background: rgba(59,130,246,.2);
    color: #60a5fa;
}
html:not(.dark) .lp-hero-notif-bell { background: rgba(59,130,246,.12); color: #3b82f6; }

/* ── Browser mockup: blacker chrome ── */
html.dark .lp-browser {
    background: #0a0b14;
    border-color: rgba(255,255,255,.08);
    box-shadow: 0 40px 100px rgba(0,0,0,.8), 0 0 0 1px rgba(59,130,246,.12);
}
html.dark .lp-browser-bar { background: rgba(255,255,255,.025); border-bottom-color: rgba(255,255,255,.06); }
.lp-browser-actions { gap: 5px; }
.lp-browser-action-btn--ghost { background: transparent !important; }
html.dark .lp-browser-badge { background: #3b82f6; border-color: #0a0b14; }

/* ── Sidebar: blue ELMATAJER mark + active blue background ── */
html.dark .lp-db-sidebar { background: rgba(255,255,255,.018); border-inline-end-color: rgba(255,255,255,.05); }
.lp-db-brand-ico {
    background: #3b82f6;
    box-shadow: 0 2px 8px rgba(59,130,246,.4);
}
.lp-db-nav-item.is-active {
    background: #3b82f6;
    color: #fff;
    font-weight: 600;
}
.lp-db-nav-item.is-active svg { opacity: 1; }
html:not(.dark) .lp-db-nav-item.is-active { background: #3b82f6; color: #fff; }

/* Upgrade card: refined with button */
.lp-db-upgrade-card {
    background: linear-gradient(135deg, rgba(59,130,246,.18), rgba(59,130,246,.06));
    border: 1px solid rgba(59,130,246,.22);
    padding: 8px;
    text-align: center;
}
.lp-db-upgrade-ico {
    width: 22px; height: 22px;
    border-radius: 6px;
    background: rgba(251,191,36,.2);
    color: #fbbf24;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 4px;
    font-size: 0;
}
.lp-db-upgrade-ico svg { width: 12px; height: 12px; }
.lp-db-upgrade-txt { font-size: .5rem; font-weight: 700; color: #fff; line-height: 1.2; }
html:not(.dark) .lp-db-upgrade-txt { color: #1e293b; }
.lp-db-upgrade-sub { font-size: .4rem; color: rgba(255,255,255,.5); margin-top: 1px; line-height: 1.3; }
html:not(.dark) .lp-db-upgrade-sub { color: rgba(26,16,64,.55); }
.lp-db-upgrade-btn {
    margin-top: 5px;
    background: #3b82f6;
    color: #fff;
    font-size: .4375rem;
    font-weight: 700;
    padding: 3px 6px;
    border-radius: 999px;
    display: inline-block;
}

/* ── Dashboard main area ── */
.lp-db-welcome-wrap { min-width: 0; }
.lp-db-welcome { font-size: .625rem; font-weight: 700; color: var(--lp-text); }
.lp-db-welcome-sub { font-size: .4375rem; color: var(--lp-text-soft); margin-top: 1px; }
.lp-db-date-pill {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: .4375rem;
    font-weight: 600;
    padding: 4px 8px;
}

/* KPI cards with corner icon */
.lp-db-kpi {
    padding: 8px 9px;
    gap: 3px;
}
.lp-db-kpi-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 4px;
}
.lp-db-kpi-ico {
    width: 14px; height: 14px;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #fff;
}
.lp-db-kpi-ico--blue   { background: #3b82f6; }
.lp-db-kpi-ico--green  { background: #10b981; }
.lp-db-kpi-ico--purple { background: #a855f7; }
.lp-db-kpi-ico--amber  { background: #f59e0b; }
.lp-db-kpi-lbl { font-size: .4375rem; color: var(--lp-text-soft); }
.lp-db-kpi-val { font-size: .9375rem; font-weight: 800; }
.lp-db-kpi-delta { color: #10b981; display: inline-flex; align-items: center; gap: 2px; }
.lp-db-kpi-arr { color: #10b981; }

/* ── Chart card with Y/X axis + tooltip ── */
.lp-db-chart-pill {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 999px;
    padding: 3px 7px;
    font-size: .4375rem;
    color: var(--lp-text-soft);
    font-weight: 600;
}
html:not(.dark) .lp-db-chart-pill { background: rgba(0,0,0,.04); border-color: rgba(0,0,0,.06); }
.lp-db-chart-wrap {
    display: flex;
    align-items: stretch;
    gap: 4px;
    position: relative;
}
.lp-db-chart-yaxis {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    font-size: .375rem;
    color: var(--lp-text-soft);
    flex-shrink: 0;
    padding: 1px 0;
    width: 18px;
}
.lp-db-chart-svgwrap { flex: 1; min-width: 0; position: relative; }
.lp-db-chart-tip {
    position: absolute;
    top: -3px;
    inset-inline-end: 6px;
    background: #0a0b14;
    border: 1px solid rgba(59,130,246,.35);
    border-radius: 5px;
    padding: 3px 6px;
    box-shadow: 0 4px 14px rgba(0,0,0,.5);
    pointer-events: none;
    text-align: center;
}
html:not(.dark) .lp-db-chart-tip { background: #fff; border-color: rgba(59,130,246,.25); box-shadow: 0 4px 14px rgba(0,0,0,.1); }
.lp-db-chart-tip strong { display: block; font-size: .5rem; font-weight: 800; color: #3b82f6; line-height: 1; }
.lp-db-chart-tip span   { display: block; font-size: .35rem; color: var(--lp-text-soft); margin-top: 1px; }
.lp-db-chart-tip::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 50%;
    transform: translateX(-50%);
    border-style: solid;
    border-width: 4px 4px 0 4px;
    border-color: rgba(59,130,246,.35) transparent transparent transparent;
}

/* ── Bottom row layout: orders large, growth + categories smaller ── */
.lp-db-bottom-row {
    grid-template-columns: 1.4fr .8fr 1.2fr;
}
.lp-db-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 5px;
}
.lp-db-card-link {
    font-size: .4rem;
    font-weight: 600;
    color: #3b82f6;
    cursor: pointer;
}
.lp-db-card-header .lp-db-section-title { margin-bottom: 0; }

/* Growth card refinements */
.lp-db-growth-card { width: auto; }
.lp-db-growth-pct {
    background: linear-gradient(135deg, #3b82f6, #60a5fa);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-size: 1.125rem;
    margin-top: 2px;
}
.lp-db-growth-tiny {
    font-size: .35rem;
    color: var(--lp-text-soft);
    margin-top: 2px;
    line-height: 1.3;
}

/* Top Categories — large donut + legend list */
.lp-db-cats-card { width: auto; padding: 8px 9px; }
.lp-db-cats-row {
    display: flex;
    align-items: center;
    gap: 8px;
}
.lp-db-donut {
    position: relative;
    flex-shrink: 0;
    width: 58px;
    height: 58px;
}
.lp-db-donut-center {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    text-align: center;
}
.lp-db-donut-center strong {
    font-size: .625rem;
    font-weight: 800;
    color: #3b82f6;
    line-height: 1;
    font-family: 'Manrope', sans-serif;
}
.lp-db-donut-center span {
    font-size: .3rem;
    color: var(--lp-text-soft);
    margin-top: 1px;
    line-height: 1;
}
.lp-db-cats-list { flex: 1; min-width: 0; }
.lp-db-cat-row { margin-bottom: 4px; gap: 4px; }
.lp-db-cat-ico { width: 11px; height: 11px; border-radius: 3px; }
.lp-db-cat-name { font-size: .375rem; }
.lp-db-cat-pct { color: #3b82f6; }

/* ── Right panel refinements ── */
html.dark .lp-db-panel { border-inline-start-color: rgba(255,255,255,.05); }
.lp-db-panel-badge { background: #3b82f6; }
.lp-db-panel-action {
    color: #3b82f6 !important;
    font-size: .4rem;
    font-weight: 600;
}
.lp-db-msg-dot { background: #3b82f6; }
.lp-db-view-all { color: #3b82f6; font-weight: 600; }
.lp-db-panel-divider {
    height: 1px;
    background: rgba(255,255,255,.05);
    margin: 4px 10px 0;
}
html:not(.dark) .lp-db-panel-divider { background: rgba(0,0,0,.05); }

/* ╔═════════════════════════════════════════════════════════════╗
   ║ DASHBOARD MOCKUP — Final pixel-precise refinements          ║
   ╚═════════════════════════════════════════════════════════════╝ */

html.dark .lp-db { background: #0a0b14; }
html:not(.dark) .lp-db { background: #ffffff; }

html.dark .lp-db-sidebar {
    background: #0a0b14;
    border-inline-end: 1px solid rgba(255,255,255,.06);
    padding: 10px 7px;
}
.lp-db-brand { padding: 2px 4px 9px; }
.lp-db-brand-ico { width: 20px; height: 20px; border-radius: 5px; font-size: .625rem; font-weight: 900; }

.lp-db-nav { gap: 2px; padding-top: 4px; }
.lp-db-nav-item {
    padding: 5px 7px;
    border-radius: 6px;
    font-size: .5rem;
    color: rgba(255,255,255,.45);
    gap: 6px;
}
.lp-db-nav-item svg { opacity: .75; flex-shrink: 0; }
.lp-db-nav-item.is-active {
    background: #3b82f6;
    color: #fff;
    font-weight: 700;
}
.lp-db-nav-item.is-active svg { opacity: 1; }

.lp-db-upgrade-card {
    margin-top: 8px;
    background: linear-gradient(160deg, rgba(59,130,246,.13), rgba(59,130,246,.04));
    border: 1px solid rgba(59,130,246,.2);
    border-radius: 9px;
    padding: 9px 8px;
}
.lp-db-upgrade-ico {
    width: 22px; height: 22px;
    background: rgba(96,165,250,.18);
    color: #93c5fd;
    border-radius: 6px;
    margin: 0 auto 5px;
}
.lp-db-upgrade-txt { font-size: .5rem; font-weight: 700; color: #fff; }
.lp-db-upgrade-sub { font-size: .375rem; line-height: 1.35; color: rgba(255,255,255,.5); margin-top: 2px; }
.lp-db-upgrade-btn {
    display: block;
    width: 100%;
    margin-top: 7px;
    background: #3b82f6;
    color: #fff;
    font-size: .4375rem;
    font-weight: 700;
    padding: 5px 6px;
    border-radius: 6px;
    text-align: center;
}

.lp-db-main { padding: 11px; gap: 9px; }
.lp-db-welcome { font-size: .6875rem; font-weight: 800; letter-spacing: -.01em; }
.lp-db-welcome-sub { font-size: .4375rem; color: rgba(255,255,255,.45); margin-top: 2px; }
html:not(.dark) .lp-db-welcome-sub { color: rgba(26,16,64,.5); }

.lp-db-date-pill {
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.09);
    color: rgba(255,255,255,.7);
    padding: 4px 9px;
    border-radius: 999px;
    gap: 5px;
}
html:not(.dark) .lp-db-date-pill {
    background: rgba(0,0,0,.03);
    border-color: rgba(0,0,0,.08);
    color: rgba(26,16,64,.65);
}

.lp-db-kpis { gap: 7px; }
.lp-db-kpi {
    background: rgba(255,255,255,.03);
    border: 1px solid rgba(255,255,255,.07);
    border-radius: 9px;
    padding: 9px 10px 8px;
    gap: 2px;
    overflow: hidden;
}
html:not(.dark) .lp-db-kpi {
    background: #fff;
    border-color: rgba(0,0,0,.06);
    box-shadow: 0 1px 3px rgba(15,23,42,.04);
}
.lp-db-kpi-top { margin-bottom: 1px; }
.lp-db-kpi-lbl {
    font-size: .4rem;
    font-weight: 600;
    color: rgba(255,255,255,.5);
    text-transform: uppercase;
    letter-spacing: .04em;
}
.lp-db-kpi-ico { width: 15px; height: 15px; border-radius: 4px; }
.lp-db-kpi-val { font-size: 1rem; font-weight: 800; line-height: 1.1; letter-spacing: -.02em; color: #fff; }
html:not(.dark) .lp-db-kpi-val { color: #0f172a; }
.lp-db-kpi-delta { font-size: .4rem; font-weight: 700; color: #10b981; margin-top: 1px; }
.lp-db-kpi-arr { font-size: .5rem; line-height: 0; }
.lp-db-kpi-spark { margin-top: 4px; opacity: .9; }

.lp-db-chart-card {
    background: rgba(255,255,255,.03);
    border: 1px solid rgba(255,255,255,.07);
    border-radius: 10px;
    padding: 10px 12px 7px;
}
html:not(.dark) .lp-db-chart-card {
    background: #fff;
    border-color: rgba(0,0,0,.06);
    box-shadow: 0 1px 3px rgba(15,23,42,.04);
}
.lp-db-chart-title { font-size: .625rem; font-weight: 700; }
.lp-db-chart-yaxis { width: 16px; font-size: .35rem; color: rgba(255,255,255,.35); padding: 2px 0; }
html:not(.dark) .lp-db-chart-yaxis { color: rgba(26,16,64,.4); }
.lp-db-chart-svgwrap svg { height: 70px !important; }
.lp-db-chart-days {
    padding-top: 4px;
    font-size: .35rem;
    color: rgba(255,255,255,.35);
    padding-inline-start: 20px;
}
html:not(.dark) .lp-db-chart-days { color: rgba(26,16,64,.4); }

.lp-db-chart-tip {
    top: -8px;
    inset-inline-end: 0;
    background: #11131e;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 6px;
    padding: 4px 7px;
}
.lp-db-chart-tip strong { font-size: .55rem; color: #fff; }
.lp-db-chart-tip span { font-size: .375rem; color: rgba(255,255,255,.5); }
html:not(.dark) .lp-db-chart-tip { background: #fff; border-color: rgba(0,0,0,.08); }
html:not(.dark) .lp-db-chart-tip strong { color: #0f172a; }
html:not(.dark) .lp-db-chart-tip span { color: rgba(26,16,64,.55); }
.lp-db-chart-tip::after { border-color: rgba(255,255,255,.12) transparent transparent transparent; }

.lp-db-bottom-row { gap: 7px; grid-template-columns: 1.5fr .75fr 1.05fr; }

.lp-db-orders-card, .lp-db-growth-card, .lp-db-cats-card {
    background: rgba(255,255,255,.03);
    border: 1px solid rgba(255,255,255,.07);
    border-radius: 10px;
    padding: 9px 10px;
}
html:not(.dark) .lp-db-orders-card,
html:not(.dark) .lp-db-growth-card,
html:not(.dark) .lp-db-cats-card {
    background: #fff;
    border-color: rgba(0,0,0,.06);
    box-shadow: 0 1px 3px rgba(15,23,42,.04);
}

.lp-db-section-title { font-size: .5rem; font-weight: 700; color: rgba(255,255,255,.7); margin-bottom: 6px; }
html:not(.dark) .lp-db-section-title { color: rgba(26,16,64,.7); }
.lp-db-card-link { font-size: .4rem; color: #3b82f6; font-weight: 600; }

.lp-db-order-row { gap: 6px; padding-block: 5px; }
.lp-db-order-avatar { width: 18px; height: 18px; font-size: .5rem; }
.lp-db-order-name { font-size: .4375rem; color: #fff; }
html:not(.dark) .lp-db-order-name { color: #0f172a; }
.lp-db-order-id { font-size: .35rem; color: rgba(255,255,255,.4); margin-top: 1px; }
.lp-db-order-amt { font-size: .4375rem; color: #fff; }
html:not(.dark) .lp-db-order-amt { color: #0f172a; }
.lp-db-order-status { font-size: .35rem; padding: 2px 6px; border-radius: 999px; font-weight: 600; }

.lp-db-growth-card { text-align: center; padding: 9px 8px; }
.lp-db-growth-pct { font-size: 1.15rem; font-weight: 900; margin-top: 3px; }
.lp-db-growth-sub { font-size: .4rem; color: rgba(255,255,255,.55); margin-top: 2px; }
html:not(.dark) .lp-db-growth-sub { color: rgba(26,16,64,.55); }
.lp-db-growth-tiny { font-size: .35rem; color: rgba(255,255,255,.35); margin-top: 1px; }
.lp-db-growth-bars { margin-top: 8px; gap: 3px; }
.lp-db-growth-bars span { width: 5px; background: rgba(59,130,246,.4); }
.lp-db-growth-bars span:last-child { background: #3b82f6; box-shadow: 0 0 6px rgba(59,130,246,.4); }

.lp-db-cats-card { padding: 9px 10px; }
.lp-db-cats-row { gap: 9px; margin-top: 2px; align-items: center; }
.lp-db-donut { width: 58px; height: 58px; }
.lp-db-donut-center strong { font-size: .65rem; color: #3b82f6; font-weight: 800; }
.lp-db-donut-center span { font-size: .35rem; color: rgba(255,255,255,.5); margin-top: 1px; }
html:not(.dark) .lp-db-donut-center span { color: rgba(26,16,64,.55); }

.lp-db-cats-list { flex: 1; min-width: 0; }
.lp-db-cat-row { gap: 5px; margin-bottom: 6px; align-items: center; }
.lp-db-cat-ico { width: 12px; height: 12px; border-radius: 3px; background: rgba(59,130,246,.18); color: #60a5fa; }
.lp-db-cat-name { font-size: .4rem; color: rgba(255,255,255,.75); font-weight: 600; margin-bottom: 2px; }
html:not(.dark) .lp-db-cat-name { color: rgba(26,16,64,.75); }
.lp-db-cat-bar { height: 3px; }
.lp-db-cat-pct { font-size: .4rem; color: #3b82f6; font-weight: 700; }

.lp-db-panel { width: 168px; background: #0a0b14; }
html:not(.dark) .lp-db-panel { background: #fff; }
.lp-db-panel-header { padding: 11px 11px 9px; gap: 5px; }
.lp-db-panel-title { font-size: .5625rem; font-weight: 700; }
.lp-db-panel-badge { width: 13px; height: 13px; font-size: .4rem; background: #3b82f6; }

.lp-db-msgs { padding: 0 11px 8px; }
.lp-db-msg-item { padding-block: 7px; gap: 6px; align-items: flex-start; }
.lp-db-msg-avatar { width: 20px; height: 20px; font-size: .5rem; box-shadow: 0 2px 4px rgba(0,0,0,.3); }
.lp-db-msg-name { font-size: .4375rem; font-weight: 700; }
.lp-db-msg-text { font-size: .375rem; color: rgba(255,255,255,.45); margin-top: 1px; }
html:not(.dark) .lp-db-msg-text { color: rgba(26,16,64,.5); }
.lp-db-msg-time { font-size: .35rem; color: rgba(255,255,255,.35); }
.lp-db-msg-dot { width: 5px; height: 5px; background: #3b82f6; box-shadow: 0 0 4px rgba(59,130,246,.6); }

.lp-db-view-all { font-size: .4rem; color: #3b82f6; font-weight: 600; padding: 6px 0 2px; text-align: center; }

.lp-db-activity { padding: 9px 11px 11px; }
.lp-db-activity-head { margin-bottom: 6px; }
.lp-db-act-item { gap: 6px; padding-block: 4px; }
.lp-db-act-ico { width: 13px; height: 13px; border-radius: 3px; }
.lp-db-act-text { font-size: .4rem; color: rgba(255,255,255,.75); font-weight: 500; }
html:not(.dark) .lp-db-act-text { color: rgba(26,16,64,.75); }
.lp-db-act-time { font-size: .35rem; color: rgba(255,255,255,.35); }

.lp-db-order-status--green { background: rgba(16,185,129,.18); color: #34d399; }
.lp-db-order-status--amber { background: rgba(245,158,11,.18); color: #fbbf24; }
html:not(.dark) .lp-db-order-status--green { background: rgba(16,185,129,.14); color: #047857; }
html:not(.dark) .lp-db-order-status--amber { background: rgba(245,158,11,.16); color: #b45309; }

@media (min-width: 992px) and (max-width: 1199px) {
    .lp-db-sidebar { width: 118px; }
    .lp-db-panel { width: 150px; }
    .lp-db-main { padding: 9px; gap: 8px; }
    .lp-db-kpis { gap: 5px; }
    .lp-db-kpi { padding: 7px 8px; }
    .lp-db-kpi-val { font-size: .875rem; }
}

/* ╔═════════════════════════════════════════════════════════════╗
   ║ MEGA DROPDOWN — Template preview thumbnails                 ║
   ╚═════════════════════════════════════════════════════════════╝ */

/* Black-tinted panel */
html.dark .lp-mega-panel {
    background: rgba(8,9,18,.98);
    border-color: rgba(255,255,255,.08);
    box-shadow:
        0 32px 80px rgba(0,0,0,.7),
        0 0 0 1px rgba(59,130,246,.1);
}

/* Cat cards: enable thumbnail layout */
.lp-mega-cat-card {
    gap: 8px;
    padding: 9px 10px;
    position: relative;
}
.lp-mega-cat-ico {
    width: 30px; height: 30px;
    border-radius: 8px;
    background: rgba(59,130,246,.12);
    color: #3b82f6;
}
.lp-mega-cat-ico svg { width: 15px; height: 15px; }
.lp-mega-cat-body strong { font-size: .75rem; }
.lp-mega-cat-body small { font-size: .625rem; }

/* Mini preview thumbnail on the right of the card */
.lp-mega-cat-preview {
    position: relative;
    width: 54px;
    height: 42px;
    border-radius: 6px;
    background: #0d1020;
    border: 1px solid rgba(255,255,255,.08);
    overflow: hidden;
    flex-shrink: 0;
    display: block;
}
html:not(.dark) .lp-mega-cat-preview {
    background: #f1f5f9;
    border-color: rgba(0,0,0,.06);
}
.lp-mega-cat-preview-top {
    display: block;
    height: 14px;
    width: 100%;
    border-radius: 6px 6px 0 0;
}
.lp-mega-cat-preview-line {
    display: block;
    height: 3px;
    width: 70%;
    margin: 5px auto 0;
    background: rgba(255,255,255,.15);
    border-radius: 2px;
}
.lp-mega-cat-preview-line--short { width: 45%; margin-top: 4px; }
html:not(.dark) .lp-mega-cat-preview-line { background: rgba(0,0,0,.12); }

/* Hide preview on narrow dropdowns */
@media (max-width: 1199px) {
    .lp-mega-cat-preview { display: none; }
}

/* Quick start AI icon: blue gradient */
.lp-mega-quick-ico {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    box-shadow: 0 4px 12px rgba(59,130,246,.35);
}

/* Trend item rows */
.lp-mega-trend-item { gap: 10px; padding: 7px 10px; }
.lp-mega-trend-ico { width: 28px; height: 28px; border-radius: 7px; }

/* View all links blue */
.lp-mega-view-all {
    color: #3b82f6;
    display: flex;
    justify-content: center;
    margin-inline: auto;
    width: fit-content;
}
.lp-mega-view-all:hover { color: #60a5fa; }

/* Nav pill goes blacker */
html.dark .lp-nav-pill {
    background: rgba(10,11,20,.85);
    border-color: rgba(255,255,255,.07);
}
html.dark .lp-nav.is-scrolled .lp-nav-pill {
    background: rgba(5,6,16,.95);
    border-color: rgba(255,255,255,.08);
}

/* Logo mark blue */
.lp-logo-mark { background: #3b82f6; box-shadow: 0 4px 12px rgba(59,130,246,.4); }

/* Active nav link underline / color */
.lp-nav-link.is-active { color: #3b82f6; }
.lp-nav-link.is-active::after { background: #3b82f6; box-shadow: 0 0 10px rgba(59,130,246,.7); }

/* Light-mode tweaks for mega cat icon */
html:not(.dark) .lp-mega-cat-ico { background: rgba(59,130,246,.1); color: #2563eb; }

/* ── Tablet: stack columns inside dropdown but keep mockup visible ── */
@media (max-width: 1199px) {
    .lp-mega-2col { grid-template-columns: 1fr; gap: 16px; }
    .lp-mega-right { padding-inline-start: 0; padding-top: 16px; border-inline-start: none; border-top: 1px solid rgba(255,255,255,.06); }
    html:not(.dark) .lp-mega-right { border-top-color: rgba(0,0,0,.06); }
    .lp-mega-cats-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 991px) {
    .lp-mega-cats-grid { grid-template-columns: 1fr; }
}

/* ── Mobile: hide mockup completely (already in base; tighten hero spacing) ── */
@media (max-width: 991px) {
    .lp-hero-stats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
    .lp-hero-cta { flex-direction: column; align-items: stretch; }
    .lp-hero-cta .lp-btn { width: 100%; }
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
    .lp-eyebrow-dot::before { animation: none !important; }
    .lp-btn--glow::before  { animation: none !important; }
}

/* ╔═════════════════════════════════════════════════════════════╗
   ║ DASHBOARD MOCKUP — Target-screenshot precision pass         ║
   ║  Taller KPIs, bigger sparklines, larger chart,              ║
   ║  bigger donut, richer right panel + load-in animations.     ║
   ╚═════════════════════════════════════════════════════════════╝ */

/* ── KPI cards: taller, larger numbers, more prominent sparkline ── */
.lp-db-kpi {
    padding: 11px 12px 10px;
    gap: 3px;
    min-height: 78px;
    position: relative;
}
.lp-db-kpi-lbl {
    font-size: .425rem;
    letter-spacing: .05em;
}
.lp-db-kpi-ico { width: 17px; height: 17px; border-radius: 5px; }
.lp-db-kpi-ico svg { width: 9px; height: 9px; }
.lp-db-kpi-val { font-size: 1.125rem; letter-spacing: -.03em; line-height: 1.05; }
.lp-db-kpi-delta { font-size: .425rem; }
.lp-db-kpi-spark { margin-top: 6px; height: 26px; }
.lp-db-kpi-spark svg { width: 100%; height: 26px !important; }
.lp-db-kpi-spark svg polyline { stroke-width: 1.8; }

/* ── Sales chart: taller, smoother, more dramatic ── */
.lp-db-chart-svgwrap svg { height: 100px !important; }
.lp-db-chart-yaxis { width: 18px; height: 100px; font-size: .375rem; }
.lp-db-chart-svgwrap svg circle { r: 2.5; }
.lp-db-chart-tip {
    top: -10px;
    padding: 5px 8px;
    border-radius: 7px;
    box-shadow: 0 6px 18px rgba(0,0,0,.45);
}
.lp-db-chart-tip strong { font-size: .6rem; letter-spacing: -.01em; }
.lp-db-chart-tip span { font-size: .4rem; }
.lp-db-chart-tip::after {
    bottom: -5px;
    border-width: 5px 5px 0 5px;
    border-top-color: #11131e;
}
html:not(.dark) .lp-db-chart-tip::after { border-top-color: #fff; }

/* ── Bottom row: orders bigger, donut bigger, growth tidy ── */
.lp-db-bottom-row { grid-template-columns: 1.55fr .8fr 1.25fr; }
.lp-db-orders-card { padding: 10px 11px; }
.lp-db-order-row { padding-block: 6px; }
.lp-db-order-avatar { width: 20px; height: 20px; font-size: .525rem; }

.lp-db-growth-pct { font-size: 1.3rem; }
.lp-db-growth-bars { height: 22px; align-items: flex-end; }
.lp-db-growth-bars span { width: 5px; border-radius: 2px 2px 0 0; transform-origin: bottom; }

.lp-db-donut { width: 66px; height: 66px; }
.lp-db-donut svg { width: 66px; height: 66px; }
.lp-db-donut-center strong { font-size: .72rem; }
.lp-db-donut-center span { font-size: .375rem; }
.lp-db-cats-row { gap: 10px; }
.lp-db-cat-row { margin-bottom: 7px; }
.lp-db-cat-ico { width: 13px; height: 13px; border-radius: 3px; }

/* ── Right panel: a touch wider, more breathing room ── */
.lp-db-panel { width: 172px; }
.lp-db-panel-header { padding: 12px 12px 10px; }
.lp-db-panel-title { font-size: .6rem; }
.lp-db-msgs { padding: 0 12px 8px; }
.lp-db-msg-item { padding-block: 8px; }
.lp-db-msg-avatar { width: 22px; height: 22px; font-size: .525rem; }
.lp-db-msg-name { font-size: .475rem; }
.lp-db-msg-text { font-size: .4rem; }
.lp-db-msg-dot {
    width: 6px; height: 6px;
    background: #3b82f6;
    box-shadow: 0 0 0 0 rgba(59,130,246,.55);
    animation: lp-db-dot-pulse 1.8s ease-in-out infinite;
}
@keyframes lp-db-dot-pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(59,130,246,.55); }
    50%      { box-shadow: 0 0 0 4px rgba(59,130,246,0); }
}

.lp-db-activity { padding: 10px 12px 12px; }
.lp-db-act-item { padding-block: 5px; }
.lp-db-act-ico { width: 15px; height: 15px; border-radius: 4px; }
.lp-db-act-ico svg { width: 8px; height: 8px; }
.lp-db-act-text { font-size: .425rem; }

/* ── Active nav item: soft pulsing glow on load ── */
.lp-db-nav-item.is-active {
    animation: lp-db-nav-glow 2.4s ease-in-out 1s 2;
}
@keyframes lp-db-nav-glow {
    0%, 100% { box-shadow: 0 2px 6px rgba(59,130,246,.35); }
    50%      { box-shadow: 0 2px 14px rgba(59,130,246,.7); }
}

/* ── Sparkline draw-on-load animation ── */
.lp-db-kpi-spark svg polyline {
    stroke-dasharray: 220;
    stroke-dashoffset: 220;
    animation: lp-db-spark-draw 1.4s ease-out .25s forwards;
}
.lp-db-kpi-spark svg path { opacity: 0; animation: lp-db-fade-in .6s ease-out 1.4s forwards; }
@keyframes lp-db-spark-draw {
    to { stroke-dashoffset: 0; }
}
@keyframes lp-db-fade-in { to { opacity: 1; } }

/* Stagger sparklines per card */
.lp-db-kpi:nth-child(1) .lp-db-kpi-spark svg polyline { animation-delay: .25s; }
.lp-db-kpi:nth-child(2) .lp-db-kpi-spark svg polyline { animation-delay: .4s; }
.lp-db-kpi:nth-child(3) .lp-db-kpi-spark svg polyline { animation-delay: .55s; }
.lp-db-kpi:nth-child(4) .lp-db-kpi-spark svg polyline { animation-delay: .7s; }

/* ── KPI number count-up: fade+slide-in (subtle) ── */
.lp-db-kpi-val {
    opacity: 0;
    transform: translateY(6px);
    animation: lp-db-kpi-in .6s cubic-bezier(.22,.61,.36,1) forwards;
}
.lp-db-kpi:nth-child(1) .lp-db-kpi-val { animation-delay: .1s; }
.lp-db-kpi:nth-child(2) .lp-db-kpi-val { animation-delay: .2s; }
.lp-db-kpi:nth-child(3) .lp-db-kpi-val { animation-delay: .3s; }
.lp-db-kpi:nth-child(4) .lp-db-kpi-val { animation-delay: .4s; }
@keyframes lp-db-kpi-in {
    to { opacity: 1; transform: translateY(0); }
}

/* ── Chart line draw + tooltip slide-in ── */
.lp-db-chart-svgwrap svg path:nth-of-type(2) {
    stroke-dasharray: 600;
    stroke-dashoffset: 600;
    animation: lp-db-line-draw 1.6s ease-out .4s forwards;
}
.lp-db-chart-svgwrap svg path:nth-of-type(1) { opacity: 0; animation: lp-db-fade-in .8s ease-out 1.6s forwards; }
.lp-db-chart-svgwrap svg circle { opacity: 0; animation: lp-db-fade-in .4s ease-out forwards; }
.lp-db-chart-svgwrap svg circle:nth-of-type(1) { animation-delay: 1.05s; }
.lp-db-chart-svgwrap svg circle:nth-of-type(2) { animation-delay: 1.20s; }
.lp-db-chart-svgwrap svg circle:nth-of-type(3) { animation-delay: 1.35s; }
.lp-db-chart-svgwrap svg circle:nth-of-type(4) { animation-delay: 1.50s; }
.lp-db-chart-svgwrap svg circle:nth-of-type(5) { animation-delay: 1.65s; }
.lp-db-chart-svgwrap svg circle:nth-of-type(6) { animation-delay: 1.80s; }
.lp-db-chart-svgwrap svg circle:nth-of-type(7) { animation-delay: 1.95s; }
@keyframes lp-db-line-draw { to { stroke-dashoffset: 0; } }

.lp-db-chart-tip {
    opacity: 0;
    transform: translateY(-8px);
    animation: lp-db-tip-in .5s cubic-bezier(.22,.61,.36,1) 2.1s forwards;
}
@keyframes lp-db-tip-in {
    to { opacity: 1; transform: translateY(0); }
}

/* ── Donut segment sequential fill-in ── */
.lp-db-donut svg circle:nth-of-type(2),
.lp-db-donut svg circle:nth-of-type(3),
.lp-db-donut svg circle:nth-of-type(4) {
    stroke-dasharray: 0 100.6;
    animation: none;
}
.lp-db-donut svg circle:nth-of-type(2) { animation: lp-db-donut-1 .9s ease-out .6s forwards; }
.lp-db-donut svg circle:nth-of-type(3) { animation: lp-db-donut-2 .6s ease-out 1.45s forwards; }
.lp-db-donut svg circle:nth-of-type(4) { animation: lp-db-donut-3 .4s ease-out 2s forwards; }
@keyframes lp-db-donut-1 { to { stroke-dasharray: 62.3 100.6; } }
@keyframes lp-db-donut-2 { to { stroke-dasharray: 24.1 100.6; } }
@keyframes lp-db-donut-3 { to { stroke-dasharray: 14.1 100.6; } }

/* ── Sales Growth bars rise sequentially ── */
.lp-db-growth-bars span {
    transform: scaleY(0);
    animation: lp-db-bar-grow .55s cubic-bezier(.22,.61,.36,1) forwards;
}
.lp-db-growth-bars span:nth-child(1) { animation-delay: .50s; }
.lp-db-growth-bars span:nth-child(2) { animation-delay: .60s; }
.lp-db-growth-bars span:nth-child(3) { animation-delay: .70s; }
.lp-db-growth-bars span:nth-child(4) { animation-delay: .80s; }
.lp-db-growth-bars span:nth-child(5) { animation-delay: .90s; }
.lp-db-growth-bars span:nth-child(6) { animation-delay: 1.00s; }
.lp-db-growth-bars span:nth-child(7) { animation-delay: 1.10s; }
@keyframes lp-db-bar-grow { to { transform: scaleY(1); } }

/* ── Category bars fill width ── */
.lp-db-cat-fill {
    transform: scaleX(0);
    transform-origin: left;
    animation: lp-db-cat-fill 1s cubic-bezier(.22,.61,.36,1) forwards;
}
[dir="rtl"] .lp-db-cat-fill { transform-origin: right; }
.lp-db-cat-row:nth-child(1) .lp-db-cat-fill { animation-delay: .8s; }
.lp-db-cat-row:nth-child(2) .lp-db-cat-fill { animation-delay: 1.0s; }
.lp-db-cat-row:nth-child(3) .lp-db-cat-fill { animation-delay: 1.2s; }
@keyframes lp-db-cat-fill { to { transform: scaleX(1); } }

/* Reduced motion: drop the load-in choreography */
@media (prefers-reduced-motion: reduce) {
    .lp-db-kpi-spark svg polyline,
    .lp-db-kpi-spark svg path,
    .lp-db-kpi-val,
    .lp-db-chart-svgwrap svg path,
    .lp-db-chart-svgwrap svg circle,
    .lp-db-chart-tip,
    .lp-db-donut svg circle,
    .lp-db-growth-bars span,
    .lp-db-cat-fill,
    .lp-db-nav-item.is-active,
    .lp-db-msg-dot {
        animation: none !important;
        opacity: 1 !important;
        transform: none !important;
        stroke-dashoffset: 0 !important;
    }
    .lp-db-donut svg circle:nth-of-type(2) { stroke-dasharray: 62.3 100.6 !important; }
    .lp-db-donut svg circle:nth-of-type(3) { stroke-dasharray: 24.1 100.6 !important; }
    .lp-db-donut svg circle:nth-of-type(4) { stroke-dasharray: 14.1 100.6 !important; }
}

/* Light-mode tweaks for the new pieces */
html:not(.dark) .lp-db-chart-tip {
    background: #fff;
    border-color: rgba(0,0,0,.08);
    box-shadow: 0 6px 18px rgba(15,23,42,.08);
}
html:not(.dark) .lp-db-chart-tip strong { color: #0f172a; }
html:not(.dark) .lp-db-chart-tip span { color: rgba(26,16,64,.55); }
html:not(.dark) .lp-db-msg-text { color: rgba(26,16,64,.55); }
html:not(.dark) .lp-db-act-text { color: rgba(26,16,64,.78); }

/* ╔═════════════════════════════════════════════════════════════╗
   ║ In-dashboard New Order notification (replaces floating one) ║
   ╚═════════════════════════════════════════════════════════════╝ */

/* Disable the old floating notif entirely */
.lp-hero-notif { display: none !important; }

/* New in-dashboard order banner */
.lp-db-new-order {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 12px;
    margin-bottom: 10px;
    border-radius: 10px;
    background: rgba(59,130,246,.08);
    border: 1px solid rgba(59,130,246,.28);
    box-shadow: 0 4px 14px rgba(59,130,246,.10);
    animation: lp-db-fade-in .6s ease-out both;
}
html:not(.dark) .lp-db-new-order {
    background: rgba(59,130,246,.06);
    border-color: rgba(59,130,246,.22);
    box-shadow: 0 4px 14px rgba(59,130,246,.10);
}
.lp-db-new-order-bell {
    width: 24px; height: 24px;
    border-radius: 7px;
    background: #3b82f6;
    color: #fff;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(59,130,246,.45);
}
.lp-db-new-order-bell svg { width: 12px; height: 12px; }
.lp-db-new-order-body { flex: 1; min-width: 0; line-height: 1.15; }
.lp-db-new-order-title {
    font-size: .58rem;
    font-weight: 800;
    color: var(--lp-text);
    letter-spacing: .005em;
}
.lp-db-new-order-sub {
    font-size: .48rem;
    color: rgba(255,255,255,.55);
    margin-top: 2px;
    font-weight: 500;
}
html:not(.dark) .lp-db-new-order-sub { color: rgba(26,16,64,.55); }
.lp-db-new-order-time {
    font-size: .45rem;
    color: rgba(255,255,255,.5);
    font-weight: 600;
    flex-shrink: 0;
}
html:not(.dark) .lp-db-new-order-time { color: rgba(26,16,64,.5); }
.lp-db-new-order-dot {
    width: 7px; height: 7px;
    border-radius: 50%;
    background: #22c55e;
    flex-shrink: 0;
    box-shadow: 0 0 0 0 rgba(34,197,94,.6);
    animation: lp-db-new-dot-pulse 1.8s ease-in-out infinite;
}
@keyframes lp-db-new-dot-pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(34,197,94,.55); }
    50%      { box-shadow: 0 0 0 5px rgba(34,197,94,0); }
}

/* System logo inside sidebar brand */
.lp-db-brand-ico--img {
    background: #fff;
    padding: 2px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,.25);
}
html:not(.dark) .lp-db-brand-ico--img { background: #fff; box-shadow: 0 1px 4px rgba(0,0,0,.08); }
.lp-db-brand-img {
    width: 100%; height: 100%;
    object-fit: contain;
    display: block;
}

/* Tighten the right panel: closer Messages + Recent Activity */
.lp-db-activity { padding-top: 6px !important; border-top-color: transparent !important; }
.lp-db-msgs { padding-bottom: 4px !important; }
.lp-db-view-all { padding-top: 2px !important; padding-bottom: 2px !important; }
.lp-db-panel-divider { margin-top: 2px !important; margin-bottom: 2px !important; }

/* ╔═════════════════════════════════════════════════════════════╗
   ║ DASHBOARD MOCKUP — PREMIUM REDESIGN (v2)                    ║
   ║  Apple/Linear-inspired: airy, glass, soft glows, depth      ║
   ║  This layer overrides earlier dashboard styles.             ║
   ╚═════════════════════════════════════════════════════════════╝ */

/* ── Browser frame: refined chrome, premium shadow stack ── */
.lp-browser {
    border-radius: 18px !important;
    border: 1px solid rgba(255,255,255,.08) !important;
    box-shadow:
        0 50px 120px -20px rgba(0,0,0,.65),
        0 30px 60px -30px rgba(59,130,246,.35),
        0 0 0 1px rgba(255,255,255,.04),
        inset 0 1px 0 rgba(255,255,255,.06) !important;
}
html:not(.dark) .lp-browser {
    background: #ffffff !important;
    border-color: rgba(15,23,42,.06) !important;
    box-shadow:
        0 40px 100px -20px rgba(15,23,42,.18),
        0 20px 50px -25px rgba(59,130,246,.22),
        0 0 0 1px rgba(15,23,42,.04) !important;
}

.lp-browser-bar {
    height: 42px !important;
    padding-inline: 14px !important;
    background: rgba(255,255,255,.02) !important;
    border-bottom-color: rgba(255,255,255,.05) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}
html:not(.dark) .lp-browser-bar {
    background: rgba(248,250,252,.85) !important;
    border-bottom-color: rgba(15,23,42,.06) !important;
}
.lp-browser-dots span { width: 11px !important; height: 11px !important; box-shadow: inset 0 -1px 0 rgba(0,0,0,.15); }
.lp-browser-url {
    background: rgba(255,255,255,.05) !important;
    border-color: rgba(255,255,255,.06) !important;
    border-radius: 999px !important;
    padding: 5px 14px !important;
    max-width: 220px !important;
    font-size: .6875rem !important;
    font-weight: 500;
    color: rgba(255,255,255,.6) !important;
    letter-spacing: .005em;
}
html:not(.dark) .lp-browser-url {
    background: rgba(15,23,42,.04) !important;
    color: rgba(71,85,105,.85) !important;
    border-color: rgba(15,23,42,.06) !important;
}
.lp-browser-action-btn {
    width: 26px !important; height: 26px !important;
    border-radius: 8px !important;
    background: rgba(255,255,255,.04) !important;
}
html:not(.dark) .lp-browser-action-btn { background: rgba(15,23,42,.04) !important; color: rgba(71,85,105,.7) !important; }
.lp-browser-badge {
    width: 13px !important; height: 13px !important;
    background: #3b82f6 !important;
    box-shadow: 0 0 0 2px #0a0b14, 0 0 8px rgba(59,130,246,.55) !important;
}
html:not(.dark) .lp-browser-badge { box-shadow: 0 0 0 2px #fff, 0 0 8px rgba(59,130,246,.4) !important; }

/* ── Dashboard interior: dark with subtle radial glow ── */
html.dark .lp-db {
    background:
        radial-gradient(ellipse 60% 50% at 100% 0%, rgba(59,130,246,.07), transparent 60%),
        radial-gradient(ellipse 40% 40% at 0% 100%, rgba(168,85,247,.04), transparent 60%),
        #0a0b14 !important;
}
html:not(.dark) .lp-db {
    background:
        radial-gradient(ellipse 60% 50% at 100% 0%, rgba(59,130,246,.05), transparent 60%),
        radial-gradient(ellipse 40% 40% at 0% 100%, rgba(168,85,247,.03), transparent 60%),
        #f8fafc !important;
}

/* ── Sidebar: more breathing room, transparent on bg ── */
html.dark .lp-db-sidebar {
    width: 142px !important;
    background: transparent !important;
    border-inline-end: 1px solid rgba(255,255,255,.05) !important;
    padding: 14px 10px !important;
}
html:not(.dark) .lp-db-sidebar {
    width: 142px !important;
    background: transparent !important;
    border-inline-end-color: rgba(15,23,42,.06) !important;
    padding: 14px 10px !important;
}

.lp-db-brand {
    padding: 4px 6px 12px !important;
    gap: 8px !important;
    border-bottom-color: rgba(255,255,255,.05) !important;
    margin-bottom: 10px !important;
}
html:not(.dark) .lp-db-brand { border-bottom-color: rgba(15,23,42,.06) !important; }
.lp-db-brand-ico {
    width: 24px !important; height: 24px !important;
    border-radius: 7px !important;
    box-shadow: 0 4px 12px rgba(59,130,246,.45), inset 0 1px 0 rgba(255,255,255,.18) !important;
}

.lp-db-nav { gap: 3px !important; padding-top: 2px !important; }
.lp-db-nav-item {
    padding: 6px 9px !important;
    border-radius: 8px !important;
    font-size: .5rem !important;
    gap: 8px !important;
    color: rgba(255,255,255,.42) !important;
    font-weight: 500 !important;
    transition: all .18s ease !important;
}
html:not(.dark) .lp-db-nav-item { color: rgba(71,85,105,.7) !important; }
.lp-db-nav-item svg { width: 11px !important; height: 11px !important; opacity: .7 !important; }
.lp-db-nav-item:hover {
    background: rgba(255,255,255,.04) !important;
    color: rgba(255,255,255,.8) !important;
}
html:not(.dark) .lp-db-nav-item:hover { background: rgba(59,130,246,.06) !important; color: #0f172a !important; }
.lp-db-nav-item.is-active {
    background: linear-gradient(135deg, #3b82f6, #2563eb) !important;
    color: #fff !important;
    font-weight: 700 !important;

}
.lp-db-nav-item.is-active svg { opacity: 1 !important; }

/* Upgrade card: glass + warm crown */
.lp-db-upgrade-card {
    margin-top: 10px !important;
    background: linear-gradient(165deg, rgba(59,130,246,.16), rgba(59,130,246,.04)) !important;
    border: 1px solid rgba(59,130,246,.22) !important;
    border-radius: 12px !important;
    padding: 12px 10px !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.06);
}
html:not(.dark) .lp-db-upgrade-card {
    background: linear-gradient(165deg, rgba(59,130,246,.10), rgba(59,130,246,.02)) !important;
    border-color: rgba(59,130,246,.18) !important;
}
.lp-db-upgrade-ico {
    width: 26px !important; height: 26px !important;
    border-radius: 8px !important;
    background: rgba(147,197,253,.18) !important;
    color: #93c5fd !important;
    margin: 0 auto 7px !important;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.1);
}
html:not(.dark) .lp-db-upgrade-ico { background: rgba(59,130,246,.12) !important; color: #2563eb !important; }
.lp-db-upgrade-ico svg { width: 13px !important; height: 13px !important; }
.lp-db-upgrade-txt { font-size: .5625rem !important; font-weight: 800 !important; }
.lp-db-upgrade-sub { font-size: .4rem !important; line-height: 1.45 !important; margin-top: 3px !important; }
.lp-db-upgrade-btn {
    margin-top: 9px !important;
    padding: 6px 8px !important;
    border-radius: 7px !important;
    background: linear-gradient(135deg, #3b82f6, #2563eb) !important;
    font-size: .4375rem !important;
}

/* ── Main area: airier ── */
.lp-db-main {
    padding: 16px !important;
    gap: 14px !important;
}

/* New Order banner: glassy blue tint */
.lp-db-new-order {
    padding: 11px 14px !important;
    margin-bottom: 0 !important;
    border-radius: 12px !important;
    gap: 12px !important;
    background: linear-gradient(135deg, rgba(59,130,246,.10), rgba(59,130,246,.03)) !important;
    border: 1px solid rgba(59,130,246,.22) !important;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow:
        0 6px 20px -8px rgba(59,130,246,.35),
        inset 0 1px 0 rgba(255,255,255,.06) !important;
}
html:not(.dark) .lp-db-new-order {
    background: linear-gradient(135deg, rgba(59,130,246,.08), rgba(59,130,246,.02)) !important;
    border-color: rgba(59,130,246,.18) !important;
}
.lp-db-new-order-bell {
    width: 28px !important; height: 28px !important;
    border-radius: 8px !important;
    background: linear-gradient(135deg, #3b82f6, #2563eb) !important;
    box-shadow: 0 4px 12px rgba(59,130,246,.45), inset 0 1px 0 rgba(255,255,255,.2) !important;
}
.lp-db-new-order-bell svg { width: 13px !important; height: 13px !important; }
.lp-db-new-order-title { font-size: .625rem !important; font-weight: 800 !important; letter-spacing: -.005em; }
.lp-db-new-order-sub { font-size: .5rem !important; margin-top: 3px !important; }
.lp-db-new-order-time { font-size: .4375rem !important; }

/* Welcome header */
.lp-db-header { align-items: center !important; }
.lp-db-welcome { font-size: .8125rem !important; font-weight: 800 !important; letter-spacing: -.015em !important; }
.lp-db-welcome-sub { font-size: .5rem !important; margin-top: 3px !important; color: rgba(255,255,255,.5) !important; }
html:not(.dark) .lp-db-welcome-sub { color: rgba(71,85,105,.85) !important; }
.lp-db-date-pill {
    padding: 6px 12px !important;
    border-radius: 999px !important;
    background: rgba(255,255,255,.04) !important;
    border: 1px solid rgba(255,255,255,.07) !important;
    font-size: .4625rem !important;
    font-weight: 600 !important;
    gap: 6px !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}
html:not(.dark) .lp-db-date-pill {
    background: rgba(255,255,255,.85) !important;
    border-color: rgba(15,23,42,.06) !important;
    color: rgba(71,85,105,.9) !important;
    box-shadow: 0 1px 2px rgba(15,23,42,.04);
}

/* ── KPI cards: airier, premium glass, per-card subtle tint ── */
.lp-db-kpis { gap: 10px !important; }
.lp-db-kpi {
    padding: 14px 14px 12px !important;
    border-radius: 14px !important;
    background: rgba(255,255,255,.025) !important;
    border: 1px solid rgba(255,255,255,.06) !important;
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.04),
        0 8px 24px -12px rgba(0,0,0,.4) !important;
    min-height: 92px !important;
    gap: 4px !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}
html:not(.dark) .lp-db-kpi {
    background: rgba(255,255,255,.95) !important;
    border-color: rgba(15,23,42,.05) !important;
    box-shadow:
        0 1px 2px rgba(15,23,42,.04),
        0 8px 24px -16px rgba(59,130,246,.18) !important;
}
.lp-db-kpi::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}
.lp-db-kpi:nth-child(1)::before { background: radial-gradient(ellipse at top right, rgba(59,130,246,.10), transparent 70%); }
.lp-db-kpi:nth-child(2)::before { background: radial-gradient(ellipse at top right, rgba(16,185,129,.08), transparent 70%); }
.lp-db-kpi:nth-child(3)::before { background: radial-gradient(ellipse at top right, rgba(168,85,247,.08), transparent 70%); }
.lp-db-kpi:nth-child(4)::before { background: radial-gradient(ellipse at top right, rgba(245,158,11,.08), transparent 70%); }
.lp-db-kpi > * { position: relative; z-index: 1; }
.lp-db-kpi-lbl {
    font-size: .425rem !important;
    text-transform: uppercase;
    letter-spacing: .08em !important;
    font-weight: 700 !important;
    color: rgba(255,255,255,.45) !important;
}
html:not(.dark) .lp-db-kpi-lbl { color: rgba(100,116,139,.85) !important; }
.lp-db-kpi-ico {
    width: 20px !important; height: 20px !important;
    border-radius: 6px !important;
    box-shadow: 0 4px 10px -2px currentColor, inset 0 1px 0 rgba(255,255,255,.2);
}
.lp-db-kpi-ico--blue   { background: linear-gradient(135deg, #3b82f6, #2563eb) !important; color: rgba(59,130,246,.4) !important; }
.lp-db-kpi-ico--green  { background: linear-gradient(135deg, #10b981, #059669) !important; color: rgba(16,185,129,.4) !important; }
.lp-db-kpi-ico--purple { background: linear-gradient(135deg, #a855f7, #7e22ce) !important; color: rgba(168,85,247,.4) !important; }
.lp-db-kpi-ico--amber  { background: linear-gradient(135deg, #f59e0b, #d97706) !important; color: rgba(245,158,11,.4) !important; }
.lp-db-kpi-ico svg { color: #fff !important; width: 11px !important; height: 11px !important; }
.lp-db-kpi-val {
    font-size: 1.375rem !important;
    font-weight: 800 !important;
    line-height: 1.05 !important;
    letter-spacing: -.035em !important;
    color: #fafafa !important;
    margin-top: 2px !important;
}
html:not(.dark) .lp-db-kpi-val { color: #0f172a !important; }
.lp-db-kpi-delta {
    font-size: .4375rem !important;
    font-weight: 700 !important;
    color: #10b981 !important;
    margin-top: 3px !important;
}
.lp-db-kpi-spark { margin-top: 8px !important; height: 30px !important; opacity: 1 !important; }
.lp-db-kpi-spark svg { height: 30px !important; }
.lp-db-kpi-spark svg polyline { stroke-width: 2 !important; }

/* ── Chart card: roomier, premium ── */
.lp-db-chart-card {
    padding: 16px 18px 12px !important;
    border-radius: 16px !important;
    background: rgba(255,255,255,.025) !important;
    border: 1px solid rgba(255,255,255,.06) !important;
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.04),
        0 12px 32px -16px rgba(0,0,0,.5) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}
html:not(.dark) .lp-db-chart-card {
    background: rgba(255,255,255,.95) !important;
    border-color: rgba(15,23,42,.05) !important;
    box-shadow: 0 1px 2px rgba(15,23,42,.04), 0 12px 32px -20px rgba(59,130,246,.18) !important;
}
.lp-db-chart-header { margin-bottom: 12px !important; }
.lp-db-chart-title { font-size: .75rem !important; font-weight: 800 !important; letter-spacing: -.01em !important; }
.lp-db-chart-pill {
    padding: 4px 10px !important;
    border-radius: 999px !important;
    font-size: .4375rem !important;
    background: rgba(255,255,255,.04) !important;
    border-color: rgba(255,255,255,.07) !important;
}
html:not(.dark) .lp-db-chart-pill { background: rgba(15,23,42,.03) !important; border-color: rgba(15,23,42,.06) !important; color: rgba(71,85,105,.85) !important; }
.lp-db-chart-yaxis { width: 22px !important; font-size: .4rem !important; padding: 4px 0 !important; }
.lp-db-chart-svgwrap svg { height: 110px !important; }
.lp-db-chart-days { padding-top: 8px !important; font-size: .4rem !important; padding-inline-start: 24px !important; }
.lp-db-chart-tip {
    top: -12px !important;
    inset-inline-end: 4px !important;
    padding: 6px 10px !important;
    border-radius: 8px !important;
    background: #11131e !important;
    border: 1px solid rgba(59,130,246,.4) !important;
    box-shadow: 0 8px 24px -6px rgba(59,130,246,.35), 0 0 0 1px rgba(255,255,255,.02) !important;
}
.lp-db-chart-tip strong { font-size: .6875rem !important; color: #fff !important; font-weight: 800; }
.lp-db-chart-tip span { font-size: .425rem !important; }
html:not(.dark) .lp-db-chart-tip {
    background: #fff !important;
    border-color: rgba(59,130,246,.3) !important;
    box-shadow: 0 8px 24px -6px rgba(59,130,246,.25) !important;
}
html:not(.dark) .lp-db-chart-tip strong { color: #0f172a !important; }
.lp-db-chart-tip::after { border-top-color: #11131e !important; }
html:not(.dark) .lp-db-chart-tip::after { border-top-color: #fff !important; }

/* ── Bottom row: airy, glass cards ── */
.lp-db-bottom-row { gap: 10px !important; grid-template-columns: 1.5fr 1fr 1.2fr !important; }
.lp-db-orders-card, .lp-db-growth-card, .lp-db-cats-card {
    padding: 14px 16px !important;
    border-radius: 14px !important;
    background: rgba(255,255,255,.025) !important;
    border: 1px solid rgba(255,255,255,.06) !important;
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.04),
        0 8px 24px -14px rgba(0,0,0,.4) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}
html:not(.dark) .lp-db-orders-card,
html:not(.dark) .lp-db-growth-card,
html:not(.dark) .lp-db-cats-card {
    background: rgba(255,255,255,.95) !important;
    border-color: rgba(15,23,42,.05) !important;
    box-shadow: 0 1px 2px rgba(15,23,42,.04), 0 8px 24px -16px rgba(59,130,246,.15) !important;
}
.lp-db-section-title { font-size: .5625rem !important; font-weight: 700 !important; color: rgba(255,255,255,.7) !important; margin-bottom: 0 !important; letter-spacing: -.005em; }
html:not(.dark) .lp-db-section-title { color: #0f172a !important; }
.lp-db-card-header { margin-bottom: 10px !important; }
.lp-db-card-link { font-size: .4375rem !important; color: #3b82f6 !important; font-weight: 700 !important; }

.lp-db-order-row { gap: 8px !important; padding-block: 7px !important; border-bottom-color: rgba(255,255,255,.04) !important; }
html:not(.dark) .lp-db-order-row { border-bottom-color: rgba(15,23,42,.05) !important; }
.lp-db-order-avatar {
    width: 22px !important; height: 22px !important;
    font-size: .5625rem !important;
    box-shadow: 0 2px 6px rgba(0,0,0,.25), inset 0 1px 0 rgba(255,255,255,.2);
}
.lp-db-order-name { font-size: .4875rem !important; font-weight: 700 !important; }
.lp-db-order-id { font-size: .4rem !important; margin-top: 2px !important; }
.lp-db-order-amt { font-size: .5rem !important; font-weight: 800 !important; }
.lp-db-order-status {
    font-size: .4rem !important;
    padding: 3px 8px !important;
    border-radius: 999px !important;
    font-weight: 700 !important;
}
.lp-db-order-status--green { background: rgba(16,185,129,.15) !important; color: #10b981 !important; border: 1px solid rgba(16,185,129,.2); }
.lp-db-order-status--amber { background: rgba(245,158,11,.15) !important; color: #f59e0b !important; border: 1px solid rgba(245,158,11,.2); }
html:not(.dark) .lp-db-order-status--green { color: #047857 !important; }
html:not(.dark) .lp-db-order-status--amber { color: #b45309 !important; }

/* Growth card */
.lp-db-growth-card { text-align: center; padding: 14px 12px !important; }
.lp-db-growth-pct {
    font-size: 1.5rem !important;
    font-weight: 900 !important;
    margin-top: 6px !important;
    background: linear-gradient(135deg, #60a5fa, #3b82f6 60%, #2563eb) !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    color: transparent !important;
    letter-spacing: -.04em !important;
    line-height: 1 !important;
}
.lp-db-growth-sub { font-size: .4375rem !important; margin-top: 4px !important; font-weight: 600; color: rgba(255,255,255,.55) !important; }
html:not(.dark) .lp-db-growth-sub { color: rgba(71,85,105,.85) !important; }
.lp-db-growth-tiny { font-size: .375rem !important; margin-top: 2px !important; color: rgba(255,255,255,.35) !important; }
html:not(.dark) .lp-db-growth-tiny { color: rgba(100,116,139,.7) !important; }
.lp-db-growth-bars { margin-top: 12px !important; gap: 4px !important; height: 26px !important; }
.lp-db-growth-bars span { width: 6px !important; background: rgba(59,130,246,.35) !important; border-radius: 2px 2px 0 0 !important; }
.lp-db-growth-bars span:last-child {
    background: linear-gradient(180deg, #60a5fa, #3b82f6) !important;
    box-shadow: 0 0 12px rgba(59,130,246,.55) !important;
}

/* Categories card */
.lp-db-cats-card { padding: 14px 16px !important; }
.lp-db-cats-row { gap: 12px !important; margin-top: 4px !important; }
.lp-db-donut { width: 72px !important; height: 72px !important; flex-shrink: 0; }
.lp-db-donut svg { width: 72px !important; height: 72px !important; }
.lp-db-donut-center strong {
    font-size: .8125rem !important;
    color: #3b82f6 !important;
    font-weight: 800 !important;
    letter-spacing: -.02em !important;
}
.lp-db-donut-center span { font-size: .375rem !important; font-weight: 600; }
.lp-db-cat-row { gap: 6px !important; margin-bottom: 8px !important; }
.lp-db-cat-row:last-child { margin-bottom: 0 !important; }
.lp-db-cat-ico {
    width: 14px !important; height: 14px !important;
    border-radius: 4px !important;
    background: rgba(59,130,246,.16) !important;
    color: #60a5fa !important;
}
html:not(.dark) .lp-db-cat-ico { background: rgba(59,130,246,.12) !important; color: #2563eb !important; }
.lp-db-cat-name { font-size: .425rem !important; color: rgba(255,255,255,.8) !important; font-weight: 600 !important; margin-bottom: 3px !important; }
html:not(.dark) .lp-db-cat-name { color: #0f172a !important; }
.lp-db-cat-bar { height: 3px !important; background: rgba(255,255,255,.06) !important; }
html:not(.dark) .lp-db-cat-bar { background: rgba(15,23,42,.06) !important; }
.lp-db-cat-fill {
    background: linear-gradient(90deg, #3b82f6, #60a5fa) !important;
    box-shadow: 0 0 6px rgba(59,130,246,.4);
}
.lp-db-cat-pct { font-size: .425rem !important; color: #3b82f6 !important; font-weight: 800 !important; }

/* ── Right panel: more breathing room ── */
html.dark .lp-db-panel {
    width: 188px !important;
    background: transparent !important;
    border-inline-start-color: rgba(255,255,255,.05) !important;
}
html:not(.dark) .lp-db-panel {
    width: 188px !important;
    background: transparent !important;
    border-inline-start-color: rgba(15,23,42,.06) !important;
}
.lp-db-panel-header { padding: 16px 14px 12px !important; gap: 6px !important; border-bottom-color: rgba(255,255,255,.05) !important; }
html:not(.dark) .lp-db-panel-header { border-bottom-color: rgba(15,23,42,.05) !important; }
.lp-db-panel-title { font-size: .625rem !important; font-weight: 800 !important; letter-spacing: -.005em; }
.lp-db-panel-badge {
    width: 15px !important; height: 15px !important;
    font-size: .425rem !important;
    background: #3b82f6 !important;
    box-shadow: 0 0 0 2px rgba(59,130,246,.18), 0 2px 6px rgba(59,130,246,.45);
}
.lp-db-panel-action { font-size: .425rem !important; font-weight: 700 !important; color: #3b82f6 !important; }

.lp-db-msgs { padding: 0 14px 8px !important; }
.lp-db-msg-item { padding-block: 10px !important; gap: 9px !important; border-bottom-color: rgba(255,255,255,.04) !important; }
html:not(.dark) .lp-db-msg-item { border-bottom-color: rgba(15,23,42,.05) !important; }
.lp-db-msg-avatar {
    width: 26px !important; height: 26px !important;
    font-size: .5625rem !important;
    box-shadow: 0 3px 8px rgba(0,0,0,.35), inset 0 1px 0 rgba(255,255,255,.18) !important;
}
.lp-db-msg-name { font-size: .5rem !important; font-weight: 700 !important; }
.lp-db-msg-text { font-size: .425rem !important; margin-top: 2px !important; color: rgba(255,255,255,.5) !important; }
html:not(.dark) .lp-db-msg-text { color: rgba(71,85,105,.85) !important; }
.lp-db-msg-time { font-size: .375rem !important; font-weight: 600; }
.lp-db-msg-dot {
    width: 7px !important; height: 7px !important;
    background: #3b82f6 !important;
    box-shadow: 0 0 0 0 rgba(59,130,246,.5), 0 0 8px rgba(59,130,246,.5) !important;
}
.lp-db-view-all { font-size: .425rem !important; color: #3b82f6 !important; font-weight: 700 !important; padding: 6px 0 !important; }
.lp-db-panel-divider {
    height: 1px !important;
    background: rgba(255,255,255,.05) !important;
    margin: 4px 14px !important;
}
html:not(.dark) .lp-db-panel-divider { background: rgba(15,23,42,.06) !important; }

.lp-db-activity { padding: 12px 14px 14px !important; border-top: none !important; }
.lp-db-activity-head { margin-bottom: 10px !important; }
.lp-db-act-item { gap: 8px !important; padding-block: 6px !important; }
.lp-db-act-ico {
    width: 16px !important; height: 16px !important;
    border-radius: 5px !important;
    box-shadow: 0 2px 6px -1px currentColor, inset 0 1px 0 rgba(255,255,255,.18);
}
.lp-db-act-ico svg { width: 9px !important; height: 9px !important; }
.lp-db-act-text { font-size: .4375rem !important; font-weight: 600 !important; color: rgba(255,255,255,.78) !important; }
html:not(.dark) .lp-db-act-text { color: #0f172a !important; }
.lp-db-act-time { font-size: .375rem !important; color: rgba(255,255,255,.35) !important; font-weight: 600; }
html:not(.dark) .lp-db-act-time { color: rgba(100,116,139,.75) !important; }

/* ── Responsive: 992-1199 — scale down gracefully ── */
@media (min-width: 992px) and (max-width: 1199px) {
    html.dark .lp-db-sidebar, html:not(.dark) .lp-db-sidebar { width: 126px !important; padding: 12px 8px !important; }
    html.dark .lp-db-panel, html:not(.dark) .lp-db-panel { width: 162px !important; }
    .lp-db-main { padding: 12px !important; gap: 11px !important; }
    .lp-db-kpis { gap: 7px !important; }
    .lp-db-kpi { padding: 11px 11px 10px !important; min-height: 82px !important; }
    .lp-db-kpi-val { font-size: 1.125rem !important; }
    .lp-db-chart-card { padding: 13px 14px 10px !important; }
    .lp-db-chart-svgwrap svg { height: 92px !important; }
    .lp-db-orders-card, .lp-db-growth-card, .lp-db-cats-card { padding: 11px 12px !important; }
    .lp-db-donut, .lp-db-donut svg { width: 62px !important; height: 62px !important; }
    .lp-db-welcome { font-size: .6875rem !important; }
    .lp-db-growth-pct { font-size: 1.25rem !important; }
}

/* Reduced motion: keep things peaceful */
@media (prefers-reduced-motion: reduce) {
    .lp-db-kpi, .lp-db-chart-card, .lp-db-orders-card, .lp-db-growth-card,
    .lp-db-cats-card, .lp-db-new-order, .lp-db-upgrade-card {
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
    }
}


/* ═══════════════════════════════════════════════════════════
   Landing — phase2 (merged from phase2.css)
═══════════════════════════════════════════════════════════ */

/*!
   COSMOS DARK — Phase 2 Sections
   Features · Stats · Pricing · Testimonials · FAQ · CTA
   ──────────────────────────────────────────────────────── */

/* ═══════════════════════════════════════════════════════════
   FEATURES — Bento Grid
═══════════════════════════════════════════════════════════ */
.lp-section--features {
    background: var(--lp-bg);
    position: relative;
}
.lp-section--features::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--lp-gradient-mesh);
    opacity: .6;
    pointer-events: none;
}

/* Bento grid — asymmetric layout */
.lp-feat-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    position: relative;
    z-index: 1;
}

/* First card spans 2 cols */
.lp-feat-card:nth-child(1) { grid-column: span 2; }
/* Last card spans 2 cols */
.lp-feat-card:nth-child(5) { grid-column: span 2; }

.lp-feat-card {
    position: relative;
    padding: 2rem;
    border-radius: var(--lp-r-2xl);
    background: var(--lp-surface);
    border: 1px solid var(--lp-border);
    overflow: hidden;
    cursor: default;
    transition: transform .3s var(--lp-ease), border-color .3s, box-shadow .3s;
}
.lp-feat-card:hover {
    transform: translateY(-5px);
    border-color: var(--lp-feat-color, rgba(124,92,252,.35));
    box-shadow: 0 16px 48px rgba(3,6,26,.25), 0 0 0 1px var(--lp-feat-color, rgba(124,92,252,.15));
}
.dark .lp-feat-card {
    background: rgba(12,17,51,.6);
    border-color: rgba(255,255,255,.07);
}

/* Color variants */
.lp-feat-card--blue   { --lp-feat-color: rgba(96,165,250,.4);  --lp-feat-ico-bg: rgba(96,165,250,.12);  --lp-feat-ico: #60a5fa; }
.lp-feat-card--cyan   { --lp-feat-color: rgba(45,212,191,.4);  --lp-feat-ico-bg: rgba(45,212,191,.12);  --lp-feat-ico: #2dd4bf; }
.lp-feat-card--green  { --lp-feat-color: rgba(52,211,153,.4);  --lp-feat-ico-bg: rgba(52,211,153,.12);  --lp-feat-ico: #34d399; }
.lp-feat-card--purple { --lp-feat-color: rgba(124,92,252,.4);  --lp-feat-ico-bg: rgba(124,92,252,.12);  --lp-feat-ico: #7c5cfc; }
.lp-feat-card--amber  { --lp-feat-color: rgba(251,191,36,.4);  --lp-feat-ico-bg: rgba(251,191,36,.12);  --lp-feat-ico: #fbbf24; }
.lp-feat-card--pink   { --lp-feat-color: rgba(244,114,182,.4); --lp-feat-ico-bg: rgba(244,114,182,.12); --lp-feat-ico: #f472b6; }

/* Radial glow behind card */
.lp-feat-card-glow {
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: radial-gradient(circle at 25% 0%, var(--lp-feat-color, rgba(124,92,252,.1)) 0%, transparent 65%);
    opacity: 0;
    transition: opacity .4s;
    pointer-events: none;
}
.lp-feat-card:hover .lp-feat-card-glow { opacity: 1; }

/* Colored top stripe */
.lp-feat-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--lp-feat-ico, #7c5cfc), transparent 70%);
}

.lp-feat-ico {
    width: 48px; height: 48px;
    border-radius: 14px;
    background: var(--lp-feat-ico-bg, rgba(124,92,252,.12));
    color: var(--lp-feat-ico, #7c5cfc);
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 1.25rem;
    position: relative; z-index: 1;
    flex-shrink: 0;
}
.lp-feat-ico svg { width: 22px; height: 22px; }

.lp-feat-title {
    font-size: 1.0625rem;
    font-weight: 700;
    margin-bottom: .625rem;
    color: var(--lp-text);
    position: relative; z-index: 1;
    font-family: 'Manrope', 'IBM Plex Sans Arabic', sans-serif;
    letter-spacing: -0.01em;
}
.lp-feat-desc {
    font-size: .9375rem;
    color: var(--lp-text-muted);
    line-height: 1.65;
    position: relative; z-index: 1;
}
.lp-feat-link {
    display: inline-flex;
    align-items: center;
    gap: .375rem;
    margin-top: 1.25rem;
    font-size: .8125rem;
    font-weight: 600;
    color: var(--lp-feat-ico, #7c5cfc);
    text-decoration: none;
    position: relative; z-index: 1;
    transition: gap .2s;
}
.lp-feat-link:hover { gap: .625rem; }
.lp-feat-link svg { width: 13px; height: 13px; }

@media (max-width: 768px) {
    .lp-feat-grid { grid-template-columns: 1fr 1fr; }
    .lp-feat-card:nth-child(1),
    .lp-feat-card:nth-child(5) { grid-column: span 2; }
}
@media (max-width: 540px) {
    .lp-feat-grid { grid-template-columns: 1fr; }
    .lp-feat-card:nth-child(1),
    .lp-feat-card:nth-child(5) { grid-column: span 1; }
}

/* ═══════════════════════════════════════════════════════════
   STATS — Large Number Blocks
═══════════════════════════════════════════════════════════ */
.lp-section--stats {
    background: var(--lp-bg-soft);
    position: relative;
    overflow: hidden;
}
.dark .lp-section--stats { background: var(--lp-bg-2); }
.lp-section--stats::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(124,92,252,.12) 0%, transparent 55%),
        radial-gradient(ellipse at 80% 50%, rgba(45,212,191,.08) 0%, transparent 50%);
    pointer-events: none;
}
.dark .lp-section--stats::before {
    background:
        radial-gradient(ellipse at 20% 50%, rgba(124,92,252,.2) 0%, transparent 55%),
        radial-gradient(ellipse at 80% 50%, rgba(45,212,191,.14) 0%, transparent 50%);
}

.lp-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: var(--lp-border);
    border-radius: var(--lp-r-2xl);
    overflow: hidden;
    border: 1px solid var(--lp-border);
    position: relative;
    z-index: 1;
}
@media (max-width: 768px) { .lp-stats-grid { grid-template-columns: repeat(2, 1fr); } }

.lp-stat-block {
    background: var(--lp-surface);
    padding: 2.75rem 2rem;
    text-align: center;
    transition: background .3s;
}
.dark .lp-stat-block { background: rgba(12,17,51,.8); }
.lp-stat-block:hover { background: var(--lp-surface-2); }

.lp-stat-block-num {
    font-size: clamp(2.25rem, 5vw, 3.75rem);
    font-weight: 900;
    font-family: 'Manrope', sans-serif;
    letter-spacing: -0.04em;
    line-height: 1;
    background: var(--lp-gradient-brand);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: .625rem;
}
.lp-stat-block-lbl {
    font-size: 1rem;
    font-weight: 600;
    color: var(--lp-text-muted);
}
.lp-stat-block-sub {
    font-size: .8125rem;
    color: var(--lp-text-soft);
    margin-top: .25rem;
}

/* ═══════════════════════════════════════════════════════════
   PRICING
═══════════════════════════════════════════════════════════ */
.lp-section--pricing {
    background: var(--lp-bg);
    position: relative;
}
.lp-section--pricing::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--lp-gradient-mesh);
    opacity: .5;
    pointer-events: none;
}

.lp-pricing-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    font-size: .9375rem;
    font-weight: 500;
    color: var(--lp-text-muted);
}
.lp-pricing-toggle-track {
    position: relative;
    width: 48px; height: 26px;
    border-radius: 999px;
    background: var(--lp-surface-2);
    border: 1px solid var(--lp-border);
    cursor: pointer;
    transition: background .25s, border-color .25s;
}
.lp-pricing-toggle-track.is-annual {
    background: var(--lp-gradient-brand);
    border-color: transparent;
}
.lp-pricing-toggle-thumb {
    position: absolute;
    top: 3px; left: 3px;
    width: 18px; height: 18px;
    border-radius: 50%;
    background: white;
    box-shadow: 0 1px 4px rgba(0,0,0,.3);
    transition: transform .25s var(--lp-ease-spring);
}
.lp-pricing-toggle-track.is-annual .lp-pricing-toggle-thumb { transform: translateX(22px); }
.lp-pricing-save-badge {
    padding: .2rem .625rem;
    border-radius: 999px;
    background: rgba(52,211,153,.15);
    color: #34d399;
    font-size: .6875rem;
    font-weight: 700;
    border: 1px solid rgba(52,211,153,.2);
}

.lp-pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    align-items: start;
    position: relative;
    z-index: 1;
}
@media (max-width: 900px)  { .lp-pricing-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px)  { .lp-pricing-grid { grid-template-columns: 1fr; } }

.lp-plan {
    position: relative;
    padding: 2rem;
    border-radius: var(--lp-r-2xl);
    background: var(--lp-surface);
    border: 1px solid var(--lp-border);
    transition: transform .3s var(--lp-ease), box-shadow .3s, border-color .3s;
}
.dark .lp-plan { background: rgba(12,17,51,.6); }
.lp-plan:hover { transform: translateY(-4px); box-shadow: var(--lp-shadow-lg); }

.lp-plan--featured {
    border-color: rgba(124,92,252,.4);
    box-shadow: 0 0 0 1px rgba(124,92,252,.15), var(--lp-shadow-xl);
    transform: scale(1.025);
}
.dark .lp-plan--featured { background: rgba(20,12,55,.85); }
.lp-plan--featured:hover { transform: scale(1.025) translateY(-4px); }
.lp-plan--featured::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: var(--lp-gradient-brand);
    border-radius: 2px 2px 0 0;
}

.lp-plan-badge {
    display: inline-flex;
    align-items: center;
    gap: .375rem;
    padding: .3rem .75rem;
    border-radius: 999px;
    background: var(--lp-gradient-brand);
    color: white;
    font-size: .6875rem;
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: .02em;
}
.lp-plan-name {
    font-size: 1.125rem;
    font-weight: 800;
    color: var(--lp-text);
    margin-bottom: .375rem;
    font-family: 'Manrope', sans-serif;
}
.lp-plan-desc {
    font-size: .875rem;
    color: var(--lp-text-muted);
    margin-bottom: 1.5rem;
    line-height: 1.55;
}
.lp-plan-price {
    display: flex;
    align-items: baseline;
    gap: .2rem;
    margin-bottom: 1.5rem;
}
.lp-plan-currency { font-size: 1.25rem; font-weight: 700; color: var(--lp-text); align-self: flex-start; margin-top: .625rem; }
.lp-plan-amount   { font-size: 3.25rem; font-weight: 900; line-height: 1; font-family: 'Manrope', sans-serif; letter-spacing: -0.045em; color: var(--lp-text); }
.lp-plan-period   { font-size: .875rem; color: var(--lp-text-muted); }
.lp-plan--featured .lp-plan-amount {
    background: var(--lp-gradient-brand);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.lp-plan-cta { width: 100%; margin-bottom: 1.5rem; }
.lp-plan-divider { height: 1px; background: var(--lp-border); margin-block: 1.25rem; }
.lp-plan-features { list-style: none; display: flex; flex-direction: column; gap: .75rem; }
.lp-plan-feature {
    display: flex;
    align-items: flex-start;
    gap: .75rem;
    font-size: .875rem;
    color: var(--lp-text-muted);
    line-height: 1.5;
}
.lp-plan-feature-check {
    flex-shrink: 0;
    width: 18px; height: 18px;
    border-radius: 50%;
    border: 1px solid rgba(52,211,153,.3);
    background: rgba(52,211,153,.1);
    display: flex; align-items: center; justify-content: center;
    margin-top: 2px;
}
.lp-plan-feature-check svg { width: 10px; height: 10px; color: #34d399; }
.lp-plan-feature-x {
    flex-shrink: 0;
    width: 18px; height: 18px;
    border-radius: 50%;
    border: 1px solid var(--lp-border);
    background: transparent;
    display: flex; align-items: center; justify-content: center;
    margin-top: 2px;
    opacity: .4;
}
.lp-plan-feature-x svg { width: 8px; height: 8px; color: var(--lp-text-soft); }

/* ═══════════════════════════════════════════════════════════
   TESTIMONIALS
═══════════════════════════════════════════════════════════ */
.lp-section--testimonials {
    background: var(--lp-bg-soft);
}
.dark .lp-section--testimonials { background: var(--lp-bg-2); }

.lp-testi-grid {
    column-count: 3;
    column-gap: 1rem;
}
@media (max-width: 900px)  { .lp-testi-grid { column-count: 2; } }
@media (max-width: 560px)  { .lp-testi-grid { column-count: 1; } }

.lp-testi-card {
    break-inside: avoid;
    padding: 1.5rem;
    border-radius: var(--lp-r-xl);
    background: var(--lp-surface);
    border: 1px solid var(--lp-border);
    margin-bottom: 1rem;
    transition: transform .3s var(--lp-ease), border-color .3s;
    box-shadow: var(--lp-shadow-sm);
}
.dark .lp-testi-card { background: rgba(12,17,51,.6); }
.lp-testi-card:hover { transform: translateY(-3px); border-color: rgba(124,92,252,.25); }

.lp-testi-stars { display: flex; gap: .25rem; margin-bottom: 1rem; }
.lp-testi-stars svg { width: 14px; height: 14px; color: #fbbf24; fill: currentColor; }
.lp-testi-body {
    font-size: .9375rem;
    line-height: 1.7;
    color: var(--lp-text-muted);
    margin-bottom: 1.25rem;
}
.lp-testi-author { display: flex; align-items: center; gap: .75rem; }
.lp-testi-avatar {
    width: 38px; height: 38px;
    border-radius: 50%;
    background: var(--lp-gradient-brand);
    display: flex; align-items: center; justify-content: center;
    font-weight: 700; font-size: .875rem; color: white;
    flex-shrink: 0;
}
.lp-testi-name { font-size: .875rem; font-weight: 700; color: var(--lp-text); }
.lp-testi-role { font-size: .75rem; color: var(--lp-text-soft); }

/* ═══════════════════════════════════════════════════════════
   FAQ
═══════════════════════════════════════════════════════════ */
.lp-section--faq { background: var(--lp-bg); }

.lp-faq-wrap {
    max-width: 720px;
    margin-inline: auto;
    display: flex;
    flex-direction: column;
    gap: .5rem;
}
.lp-faq-item {
    border: 1px solid var(--lp-border);
    border-radius: var(--lp-r-xl);
    overflow: hidden;
    background: var(--lp-surface);
    transition: border-color .25s;
}
.dark .lp-faq-item { background: rgba(12,17,51,.5); }
.lp-faq-item.is-open { border-color: rgba(124,92,252,.35); }

.lp-faq-trigger {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    background: transparent;
    border: none;
    cursor: pointer;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 600;
    color: var(--lp-text);
    text-align: start;
    transition: color .2s;
    line-height: 1.5;
}
.lp-faq-item.is-open .lp-faq-trigger { color: var(--lp-violet); }

.lp-faq-icon {
    flex-shrink: 0;
    width: 28px; height: 28px;
    border-radius: 50%;
    background: var(--lp-surface-2);
    border: 1px solid var(--lp-border);
    display: flex; align-items: center; justify-content: center;
    color: var(--lp-text-muted);
    transition: background .2s, border-color .2s, transform .3s var(--lp-ease);
}
.lp-faq-icon svg { width: 12px; height: 12px; }
.lp-faq-item.is-open .lp-faq-icon {
    background: rgba(124,92,252,.15);
    border-color: rgba(124,92,252,.3);
    color: var(--lp-violet);
    transform: rotate(45deg);
}

.lp-faq-body { display: none; padding: 0 1.5rem 1.5rem; }
.lp-faq-item.is-open .lp-faq-body { display: block; animation: lp-faq-open .2s var(--lp-ease); }
@keyframes lp-faq-open {
    from { opacity: 0; transform: translateY(-6px); }
    to   { opacity: 1; transform: translateY(0); }
}
.lp-faq-answer {
    font-size: .9375rem;
    line-height: 1.8;
    color: var(--lp-text-muted);
}

/* ═══════════════════════════════════════════════════════════
   CTA — Final Banner
═══════════════════════════════════════════════════════════ */
.lp-section--cta {
    position: relative;
    padding-block: clamp(5rem, 10vw, 9rem);
    overflow: hidden;
}
.lp-cta-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #3B1D8A 0%, #1A0D5C 50%, #0A1F6A 100%);
}
.dark .lp-cta-bg {
    background: linear-gradient(135deg, #260D60 0%, #0D0730 50%, #061840 100%);
}
.lp-cta-mesh {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 15% 50%, rgba(124,92,252,.5) 0%, transparent 45%),
        radial-gradient(ellipse at 85% 30%, rgba(45,212,191,.3) 0%, transparent 45%),
        radial-gradient(ellipse at 50% 105%, rgba(244,114,182,.25) 0%, transparent 40%);
    pointer-events: none;
}
.lp-cta-dots {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(255,255,255,.1) 1px, transparent 1px);
    background-size: 30px 30px;
    pointer-events: none;
    opacity: .5;
}
.lp-cta-inner {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 740px;
    margin-inline: auto;
}
.lp-cta-eyebrow-wrap { margin-bottom: 1.5rem; }
.lp-cta-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .4rem 1rem;
    border-radius: 999px;
    background: rgba(255,255,255,.1);
    color: rgba(255,255,255,.9);
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    border: 1px solid rgba(255,255,255,.15);
}
.lp-cta-title {
    font-size: clamp(2.25rem, 5vw, 4rem);
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: -0.03em;
    color: white;
    margin-bottom: 1.25rem;
    font-family: 'Manrope', 'IBM Plex Sans Arabic', sans-serif;
}
.lp-cta-title .lp-cta-gradient {
    background: linear-gradient(90deg, #C4ADFF, #5EEADA);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.lp-cta-sub {
    font-size: 1.125rem;
    color: rgba(255,255,255,.65);
    line-height: 1.75;
    margin-bottom: 2.75rem;
}
.lp-cta-actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2.5rem;
}
.lp-cta-btn-white {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: 1rem 2rem;
    border-radius: 999px;
    background: white;
    color: #2A1060;
    font-weight: 700;
    font-size: .9375rem;
    border: none;
    cursor: pointer;
    transition: transform .25s var(--lp-ease), box-shadow .25s;
    text-decoration: none;
    font-family: inherit;
    box-shadow: 0 4px 20px rgba(0,0,0,.3);
}
.lp-cta-btn-white:hover { transform: translateY(-3px); box-shadow: 0 10px 32px rgba(0,0,0,.4); }
.lp-cta-btn-white svg { width: 14px; height: 14px; }
.lp-cta-btn-outline {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: 1rem 2rem;
    border-radius: 999px;
    background: rgba(255,255,255,.08);
    color: white;
    font-weight: 600;
    font-size: .9375rem;
    border: 1px solid rgba(255,255,255,.2);
    cursor: pointer;
    transition: background .2s, transform .25s;
    text-decoration: none;
    font-family: inherit;
    backdrop-filter: blur(8px);
}
.lp-cta-btn-outline:hover { background: rgba(255,255,255,.15); transform: translateY(-2px); }

.lp-cta-trust {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.75rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,.12);
}
.lp-cta-trust-item {
    display: flex;
    align-items: center;
    gap: .5rem;
    font-size: .8125rem;
    font-weight: 500;
    color: rgba(255,255,255,.6);
}
.lp-cta-trust-item svg { width: 15px; height: 15px; }

/* ═══════════════════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════════════════ */
.lp-footer {
    background: var(--lp-bg);
    border-top: 1px solid var(--lp-border);
    padding-block: 4rem 2rem;
}
.lp-footer-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1fr;
    gap: 2.5rem 3rem;
    margin-bottom: 3rem;
}
@media (max-width: 900px)  { .lp-footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px)  { .lp-footer-grid { grid-template-columns: 1fr; } }
.lp-footer-brand p { font-size: .9375rem; color: var(--lp-text-muted); line-height: 1.7; margin-block: .875rem 1.25rem; }
.lp-footer-socials { display: flex; gap: .5rem; }
.lp-footer-social {
    width: 36px; height: 36px;
    border-radius: 9px;
    border: 1px solid var(--lp-border);
    background: var(--lp-surface);
    display: flex; align-items: center; justify-content: center;
    color: var(--lp-text-muted);
    transition: border-color .2s, color .2s, background .2s;
    cursor: pointer; text-decoration: none;
}
.lp-footer-social:hover { border-color: rgba(124,92,252,.35); color: var(--lp-violet); background: rgba(124,92,252,.08); }
.lp-footer-social svg { width: 15px; height: 15px; }
.lp-footer-col-title {
    font-size: .75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: var(--lp-text-soft);
    margin-bottom: 1.125rem;
}
.lp-footer-links { list-style: none; display: flex; flex-direction: column; gap: .625rem; }
.lp-footer-link { font-size: .9375rem; color: var(--lp-text-muted); text-decoration: none; transition: color .2s; }
.lp-footer-link:hover { color: var(--lp-violet); }
.lp-footer-bottom {
    display: flex; align-items: center; justify-content: space-between;
    flex-wrap: wrap; gap: 1rem;
    padding-top: 2rem;
    border-top: 1px solid var(--lp-border);
    font-size: .875rem; color: var(--lp-text-soft);
}
.lp-footer-bottom a { color: var(--lp-text-muted); text-decoration: none; transition: color .2s; }
.lp-footer-bottom a:hover { color: var(--lp-violet); }

/* ═══════════════════════════════════════════════════════════
   FOOTER COMPAT — supports existing footer.blade.php structure
═══════════════════════════════════════════════════════════ */
.lp-footer-top-line {
    height: 2px;
    background: var(--lp-gradient-brand);
    margin-bottom: 3rem;
}
.lp-footer-inner { /* already has lp-container max-width */ }
.lp-footer-top {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 3rem;
    margin-bottom: 3rem;
}
@media (max-width: 768px) { .lp-footer-top { grid-template-columns: 1fr; } }
.lp-footer-tagline { font-size: .9375rem; color: var(--lp-text-muted); line-height: 1.7; margin-block: .875rem 1.25rem; }
.lp-footer-social { display: flex; gap: .5rem; }
.lp-footer-social a {
    width: 36px; height: 36px;
    border-radius: 9px;
    border: 1px solid var(--lp-border);
    background: var(--lp-surface);
    display: flex; align-items: center; justify-content: center;
    color: var(--lp-text-muted);
    transition: border-color .2s, color .2s, background .2s;
    text-decoration: none;
}
.lp-footer-social a:hover { border-color: rgba(124,92,252,.35); color: var(--lp-violet); background: rgba(124,92,252,.08); }
.lp-footer-social a svg { width: 16px; height: 16px; }
.lp-footer-newsletter {
    padding: 1.5rem;
    border-radius: var(--lp-r-xl);
    background: var(--lp-surface);
    border: 1px solid var(--lp-border);
}
.lp-footer-newsletter-title { font-size: 1rem; font-weight: 700; margin-bottom: .375rem; color: var(--lp-text); }
.lp-footer-newsletter-sub   { font-size: .875rem; color: var(--lp-text-muted); margin-bottom: 1rem; }
.lp-newsletter-form { display: flex; gap: .625rem; }
.lp-newsletter-input {
    flex: 1;
    padding: .75rem 1rem;
    border-radius: var(--lp-r-pill);
    border: 1px solid var(--lp-border);
    background: var(--lp-bg-soft);
    color: var(--lp-text);
    font-size: .875rem;
    outline: none;
    transition: border-color .2s;
}
.lp-newsletter-input::placeholder { color: var(--lp-text-soft); }
.lp-newsletter-input:focus { border-color: rgba(124,92,252,.4); }
.lp-footer-cols {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-bottom: 2.5rem;
}
@media (max-width: 768px) { .lp-footer-cols { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .lp-footer-cols { grid-template-columns: 1fr 1fr; } }
.lp-footer-col-list { list-style: none; display: flex; flex-direction: column; gap: .625rem; }
.lp-footer-col-list a { font-size: .9375rem; color: var(--lp-text-muted); text-decoration: none; transition: color .2s; }
.lp-footer-col-list a:hover { color: var(--lp-violet); }
.lp-footer-bottom-text { }
.lp-footer-made-with {
    display: flex;
    align-items: center;
    gap: .375rem;
    color: var(--lp-text-soft);
}
.lp-footer-made-with svg { width: 14px; height: 14px; color: #F472B6; }
.lp-footer-decor { display: none; }

/* ═══════════════════════════════════════════════════════════
   Landing — phase3 (merged from phase3.css)
═══════════════════════════════════════════════════════════ */

/*!
   COSMOS DARK — Phase 3 Sections
   Themes · AI · Addons · Highlights · Mobile
   ──────────────────────────────────────────── */

/* ═══════════════════════════════════════════════════════════
   THEMES SECTION
═══════════════════════════════════════════════════════════ */
.lp-section--themes {
    background: var(--lp-bg-soft);
    position: relative;
    overflow: hidden;
}
.dark .lp-section--themes { background: var(--lp-bg-2); }
.lp-section--themes::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 80% 0%, rgba(124,92,252,.1) 0%, transparent 50%),
        radial-gradient(ellipse at 10% 80%, rgba(45,212,191,.07) 0%, transparent 45%);
    pointer-events: none;
}

.lp-themes-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3.5rem;
    align-items: center;
}
@media (max-width: 900px) { .lp-themes-grid { grid-template-columns: 1fr; } }

.lp-themes-body {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}
.lp-themes-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.025em;
    font-family: 'Manrope', 'IBM Plex Sans Arabic', sans-serif;
}
.lp-themes-sub {
    font-size: 1.0625rem;
    color: var(--lp-text-muted);
    line-height: 1.7;
}
.lp-themes-feats {
    display: flex;
    flex-direction: column;
    gap: .75rem;
    list-style: none;
}
.lp-themes-feat {
    display: flex;
    align-items: center;
    gap: .875rem;
    font-size: .9375rem;
    color: var(--lp-text-muted);
    font-weight: 500;
}
.lp-themes-feat-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--lp-gradient-brand);
    flex-shrink: 0;
}

/* Themes showcase grid */
.lp-themes-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: .875rem;
}
@media (max-width: 540px) { .lp-themes-cards { grid-template-columns: repeat(2, 1fr); } }

.lp-theme-card {
    position: relative;
    border-radius: var(--lp-r-lg);
    overflow: hidden;
    aspect-ratio: 3/4;
    cursor: pointer;
    border: 2px solid transparent;
    transition: transform .3s var(--lp-ease), border-color .3s, box-shadow .3s;
    background: var(--lp-surface);
}
.lp-theme-card:hover {
    transform: translateY(-4px) scale(1.02);
    border-color: var(--lp-violet);
    box-shadow: 0 0 0 4px rgba(124,92,252,.2), var(--lp-shadow-lg);
}

.lp-theme-card-bg {
    position: absolute;
    inset: 0;
    background: var(--_theme-bg, linear-gradient(160deg, #1a1040, #0a0520));
}
.lp-theme-card-chrome {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    padding: 8px;
}
.lp-theme-card-header {
    height: 8px;
    border-radius: 3px;
    background: rgba(255,255,255,.12);
    margin-bottom: 6px;
}
.lp-theme-card-row {
    height: 5px;
    border-radius: 2px;
    background: rgba(255,255,255,.08);
    margin-bottom: 4px;
}
.lp-theme-card-row--accent {
    background: var(--_theme-accent, rgba(124,92,252,.5));
    width: 40%;
}
.lp-theme-card-blocks {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4px;
    flex: 1;
}
.lp-theme-card-block {
    border-radius: 4px;
    background: rgba(255,255,255,.06);
}

.lp-theme-card-footer {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    padding: .625rem .75rem;
    background: linear-gradient(to top, rgba(0,0,0,.7), transparent);
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.lp-theme-card-name { font-size: .6875rem; font-weight: 700; color: white; }
.lp-theme-card-badge {
    padding: .15rem .5rem;
    border-radius: 999px;
    font-size: .5625rem;
    font-weight: 700;
    letter-spacing: .03em;
}
.lp-theme-card-badge--free { background: rgba(52,211,153,.25); color: #34d399; }
.lp-theme-card-badge--pro  { background: var(--lp-gradient-brand); color: white; }

/* ═══════════════════════════════════════════════════════════
   AI ASSISTANT SECTION
═══════════════════════════════════════════════════════════ */
.lp-section--ai {
    position: relative;
    overflow: hidden;
    background: #06091E;
}
.dark .lp-section--ai { background: #030614; }

/* Animated background */
.lp-ai-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 25% 50%, rgba(124,92,252,.28) 0%, transparent 55%),
        radial-gradient(ellipse at 75% 40%, rgba(45,212,191,.18) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 90%, rgba(244,114,182,.15) 0%, transparent 45%);
    pointer-events: none;
}
.lp-ai-grid-bg {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(124,92,252,.2) 1px, transparent 1px);
    background-size: 28px 28px;
    opacity: .5;
    pointer-events: none;
}

.lp-ai-inner {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}
@media (max-width: 900px) { .lp-ai-inner { grid-template-columns: 1fr; } }

/* AI Visual Side */
.lp-ai-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 300px;
}

/* Concentric rings */
.lp-ai-rings {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}
.lp-ai-ring {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(124,92,252,.2);
    animation: lp-ai-pulse 4s ease-in-out infinite;
}
.lp-ai-ring:nth-child(1) { width: 100px; height: 100px; border-color: rgba(124,92,252,.4); animation-delay: 0s; }
.lp-ai-ring:nth-child(2) { width: 160px; height: 160px; border-color: rgba(124,92,252,.2); animation-delay: .5s; }
.lp-ai-ring:nth-child(3) { width: 230px; height: 230px; border-color: rgba(124,92,252,.12); animation-delay: 1s; }
.lp-ai-ring:nth-child(4) { width: 310px; height: 310px; border-color: rgba(124,92,252,.06); animation-delay: 1.5s; }
@keyframes lp-ai-pulse {
    0%,100% { transform: scale(1); opacity: 1; }
    50%      { transform: scale(1.06); opacity: .6; }
}

/* Core robot/AI orb */
.lp-ai-core {
    position: relative;
    z-index: 2;
    width: 90px; height: 90px;
    border-radius: 28px;
    background: linear-gradient(135deg, #7C5CFC, #2DD4BF);
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 0 60px rgba(124,92,252,.5), 0 0 120px rgba(124,92,252,.2);
    color: white;
}
.lp-ai-core svg { width: 42px; height: 42px; }

/* Floating feature chips */
.lp-ai-chip {
    position: absolute;
    display: flex;
    align-items: center;
    gap: .5rem;
    padding: .5rem .875rem;
    border-radius: 999px;
    background: rgba(12,17,51,.85);
    border: 1px solid rgba(124,92,252,.3);
    font-size: .75rem;
    font-weight: 600;
    color: var(--lp-violet-light);
    backdrop-filter: blur(12px);
    white-space: nowrap;
    z-index: 3;
}
.lp-ai-chip svg { width: 13px; height: 13px; }
.lp-ai-chip:nth-child(1) { top: 8%;  left: 0%;    animation: lp-chip-float 3.5s ease-in-out infinite 0s; }
.lp-ai-chip:nth-child(2) { top: 8%;  right: 0%;   animation: lp-chip-float 3.5s ease-in-out infinite -.8s; }
.lp-ai-chip:nth-child(3) { bottom: 12%; left: 3%;  animation: lp-chip-float 3.5s ease-in-out infinite -.4s; }
.lp-ai-chip:nth-child(4) { bottom: 12%; right: 3%; animation: lp-chip-float 3.5s ease-in-out infinite -1.2s; }
@keyframes lp-chip-float {
    0%,100% { transform: translateY(0); }
    50%      { transform: translateY(-10px); }
}

/* AI Text side */
.lp-ai-body {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}
.lp-ai-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .375rem .875rem;
    border-radius: 999px;
    background: rgba(124,92,252,.15);
    color: var(--lp-violet-light);
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    border: 1px solid rgba(124,92,252,.25);
    align-self: flex-start;
}
.lp-ai-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.025em;
    color: #F0F4FF;
    font-family: 'Manrope', 'IBM Plex Sans Arabic', sans-serif;
}
.lp-ai-sub {
    font-size: 1.0625rem;
    color: rgba(165,180,252,.75);
    line-height: 1.7;
}
.lp-ai-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .75rem;
}
@media (max-width: 480px) { .lp-ai-features { grid-template-columns: 1fr; } }
.lp-ai-feat {
    display: flex;
    align-items: flex-start;
    gap: .75rem;
    padding: .875rem 1rem;
    border-radius: var(--lp-r-lg);
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.07);
    transition: background .2s, border-color .2s;
}
.lp-ai-feat:hover { background: rgba(124,92,252,.1); border-color: rgba(124,92,252,.2); }
.lp-ai-feat-ico {
    width: 32px; height: 32px;
    border-radius: 9px;
    background: rgba(124,92,252,.2);
    display: flex; align-items: center; justify-content: center;
    color: var(--lp-violet-light);
    flex-shrink: 0;
}
.lp-ai-feat-ico svg { width: 15px; height: 15px; }
.lp-ai-feat-text { font-size: .875rem; font-weight: 600; color: rgba(238,242,255,.85); }

/* ═══════════════════════════════════════════════════════════
   ADDONS SECTION
═══════════════════════════════════════════════════════════ */
.lp-section--addons {
    background: var(--lp-bg);
    position: relative;
}
.lp-section--addons::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--lp-gradient-mesh);
    opacity: .4;
    pointer-events: none;
}

.lp-addons-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: .875rem;
    position: relative;
    z-index: 1;
}
@media (max-width: 900px)  { .lp-addons-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 600px)  { .lp-addons-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 380px)  { .lp-addons-grid { grid-template-columns: 1fr; } }

.lp-addon-card {
    position: relative;
    padding: 1.5rem;
    border-radius: var(--lp-r-xl);
    background: var(--lp-surface);
    border: 1px solid var(--lp-border);
    overflow: hidden;
    cursor: default;
    transition: transform .3s var(--lp-ease), border-color .3s, box-shadow .3s;
}
.dark .lp-addon-card { background: rgba(12,17,51,.6); }
.lp-addon-card:hover {
    transform: translateY(-5px);
    border-color: var(--_addon-color, rgba(124,92,252,.35));
    box-shadow: 0 12px 40px rgba(3,6,26,.3), 0 0 0 1px var(--_addon-color, rgba(124,92,252,.15));
}

/* Radial glow reveal on hover */
.lp-addon-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 0% 0%, var(--_addon-bg, rgba(124,92,252,.1)), transparent 60%);
    opacity: 0;
    transition: opacity .3s;
}
.lp-addon-card:hover::before { opacity: 1; }

.lp-addon-ico {
    width: 44px; height: 44px;
    border-radius: 13px;
    display: flex; align-items: center; justify-content: center;
    background: var(--_addon-bg, rgba(124,92,252,.12));
    color: var(--_addon-color, #7c5cfc);
    margin-bottom: 1rem;
    position: relative;
    flex-shrink: 0;
}
.lp-addon-ico svg { width: 20px; height: 20px; }
.lp-addon-name {
    font-size: .9375rem;
    font-weight: 700;
    color: var(--lp-text);
    margin-bottom: .375rem;
    font-family: 'Manrope', sans-serif;
    position: relative;
}
.lp-addon-desc {
    font-size: .8125rem;
    color: var(--lp-text-muted);
    line-height: 1.6;
    position: relative;
}

/* ═══════════════════════════════════════════════════════════
   HIGHLIGHTS SECTION — POS · Team · Analytics
═══════════════════════════════════════════════════════════ */
.lp-section--highlights {
    background: var(--lp-bg-soft);
    position: relative;
}
.dark .lp-section--highlights { background: var(--lp-bg-2); }
.lp-section--highlights::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--lp-gradient-mesh);
    opacity: .5;
    pointer-events: none;
}

.lp-highlights-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    position: relative;
    z-index: 1;
}
@media (max-width: 900px) { .lp-highlights-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .lp-highlights-grid { grid-template-columns: 1fr; } }

.lp-hl-card {
    border-radius: var(--lp-r-2xl);
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.08);
    display: flex;
    flex-direction: column;
    transition: transform .3s var(--lp-ease), box-shadow .3s;
}
.lp-hl-card:hover { transform: translateY(-5px); box-shadow: var(--lp-shadow-xl); }

.lp-hl-mock {
    position: relative;
    min-height: 160px;
    background: var(--_hl-bg, linear-gradient(135deg,#1e1060,#3b1d8a));
    overflow: hidden;
    padding: 1.25rem;
}
.lp-hl-mock-grid {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255,255,255,.1) 1px, transparent 1px);
    background-size: 18px 18px;
    opacity: .4;
}
.lp-hl-mock-content { position: relative; z-index: 1; }
.lp-hl-mock-row {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 6px;
}
.lp-hl-mock-dot { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,.5); flex-shrink: 0; }
.lp-hl-mock-line { height: 6px; border-radius: 3px; background: rgba(255,255,255,.2); flex: 1; }
.lp-hl-mock-stat {
    border-radius: 6px;
    background: rgba(255,255,255,.1);
    height: 32px;
    border: 1px solid rgba(255,255,255,.08);
}
.lp-hl-mock-bar-wrap {
    display: flex;
    align-items: flex-end;
    gap: 3px;
    height: 60px;
}
.lp-hl-mock-bar { flex: 1; border-radius: 3px 3px 0 0; }

.lp-hl-body {
    flex: 1;
    padding: 1.5rem;
    background: var(--lp-surface);
    border-top: 1px solid rgba(255,255,255,.06);
    display: flex;
    flex-direction: column;
    gap: .75rem;
}
.dark .lp-hl-body { background: rgba(12,17,51,.7); }

.lp-hl-title {
    font-size: 1.0625rem;
    font-weight: 800;
    color: var(--lp-text);
    font-family: 'Manrope', sans-serif;
    letter-spacing: -0.01em;
}
.lp-hl-desc {
    font-size: .9rem;
    color: var(--lp-text-muted);
    line-height: 1.65;
}
.lp-hl-feats { list-style: none; display: flex; flex-direction: column; gap: .5rem; }
.lp-hl-feat {
    font-size: .8125rem;
    color: var(--lp-text-muted);
    padding-inline-start: 1.125rem;
    position: relative;
}
.lp-hl-feat::before {
    content: '';
    position: absolute;
    inset-inline-start: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 5px; height: 5px;
    border-radius: 50%;
    background: var(--_hl-color, #7c5cfc);
}
.lp-hl-cta {
    display: inline-flex;
    align-items: center;
    gap: .375rem;
    font-size: .8125rem;
    font-weight: 700;
    color: var(--_hl-color, #7c5cfc);
    text-decoration: none;
    margin-top: auto;
    transition: gap .2s;
}
.lp-hl-cta:hover { gap: .625rem; }
.lp-hl-cta svg { width: 13px; height: 13px; }

/* ═══════════════════════════════════════════════════════════
   MOBILE APPS SECTION
═══════════════════════════════════════════════════════════ */
.lp-section--mobile {
    background: var(--lp-bg);
    position: relative;
    overflow: visible;
}
.lp-section--mobile::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--lp-gradient-mesh);
    opacity: .5;
    pointer-events: none;
}

.lp-mobile-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}
@media (max-width: 900px) {
    .lp-mobile-grid { grid-template-columns: 1fr; }
    .lp-mobile-phones { display: none; }
}

/* ── Phone mockups ── */
.lp-mobile-phones {
    position: relative;
    height: 440px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.lp-phone {
    position: absolute;
}
.lp-phone--main {
    bottom: 0;
    z-index: 2;
    inset-inline-start: 50%;
    transform: translateX(-50%);
}
.lp-phone--behind {
    bottom: 20px;
    z-index: 1;
    inset-inline-start: 8%;
    transform: rotate(-8deg) translateY(10px);
    opacity: .7;
}

.lp-phone-frame {
    width: 160px;
    aspect-ratio: 9/19;
    border-radius: 28px;
    background: var(--_phone-bg, linear-gradient(160deg,#0F172A,#1E293B));
    border: 2px solid rgba(255,255,255,.12);
    box-shadow: 0 24px 60px rgba(3,6,26,.6), 0 0 0 1px rgba(255,255,255,.08), inset 0 0 0 1px rgba(255,255,255,.04);
    overflow: hidden;
    position: relative;
    padding: 28px 6px 12px;
}
.lp-phone-notch {
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px; height: 14px;
    border-radius: 999px;
    background: rgba(0,0,0,.6);
    z-index: 3;
}
.lp-phone-screen {
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 4px;
    overflow: hidden;
}
.lp-phone-row { border-radius: 4px; background: rgba(255,255,255,.08); }
.lp-phone-row--wide { width: 100%; }
.lp-phone-card {
    border-radius: 6px;
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.05);
    padding: 5px;
}
.lp-phone-card-row {
    height: 5px;
    border-radius: 3px;
    background: rgba(255,255,255,.12);
    margin-bottom: 3px;
}
.lp-phone-card-row:last-child { margin-bottom: 0; }

/* Text side */
.lp-mobile-body {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}
.lp-mobile-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.025em;
    font-family: 'Manrope', 'IBM Plex Sans Arabic', sans-serif;
}
.lp-mobile-sub {
    font-size: 1.0625rem;
    color: var(--lp-text-muted);
    line-height: 1.7;
}

/* Store badges */
.lp-store-badges { display: flex; flex-wrap: wrap; gap: .875rem; }
.lp-store-badge {
    display: inline-flex;
    align-items: center;
    gap: .75rem;
    padding: .75rem 1.25rem;
    border-radius: var(--lp-r-lg);
    background: var(--lp-surface);
    border: 1px solid var(--lp-border);
    text-decoration: none;
    color: var(--lp-text);
    transition: border-color .2s, background .2s, transform .2s;
}
.lp-store-badge:hover {
    border-color: rgba(124,92,252,.35);
    background: var(--lp-surface-2);
    transform: translateY(-2px);
}
.lp-store-badge svg { width: 22px; height: 22px; color: var(--lp-text); flex-shrink: 0; }
.lp-store-badge-text { display: flex; flex-direction: column; }
.lp-store-badge-sub  { font-size: .6875rem; color: var(--lp-text-muted); }
.lp-store-badge-name { font-size: .9375rem; font-weight: 700; }

/* Feature bullets */
.lp-mobile-feats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .625rem;
}
.lp-mobile-feat {
    display: flex;
    align-items: center;
    gap: .5rem;
    font-size: .875rem;
    color: var(--lp-text-muted);
    font-weight: 500;
}
.lp-mobile-feat-dot {
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--lp-gradient-brand);
    flex-shrink: 0;
}

/* ═══════════════════════════════════════════════════════════
   Extracted from: landing/custom_plan.blade.php
═══════════════════════════════════════════════════════════ */

/* ═══════════════════════════════════════════════════════════
   CUSTOM PLAN BUILDER  —  premium à-la-carte feature picker
   Matches saas.blade.php tokens with a purple-blue accent that
   signals "premium / customizable" vs the standard plans.
   ═══════════════════════════════════════════════════════════ */
:root {
    --bg:        #ffffff;
    --surface:   #ffffff;
    --surface-2: #f9fafb;
    --bd:        #e5e7eb;
    --line:      #f3f4f6;
    --fg1:       #0a0a0b;
    --fg2:       #3f3f46;
    --fg3:       #71717a;
    --accent:    #7c3aed;          /* Purple → "custom / premium" */
    --accent-2:  #2563eb;          /* Blue   → continuity with main brand */
    --accent-3:  #0ea5e9;          /* Sky    → highlight */
    --accent-bg: rgba(124,58,237,.08);
    --success:   #10b981;
    --warn:      #f59e0b;
    --danger:    #ef4444;
    --shadow-sm: 0 1px 2px rgba(0,0,0,.04);
    --shadow:    0 1px 3px rgba(0,0,0,.06), 0 0 0 1px #e5e7eb;
    --shadow-lg: 0 12px 32px rgba(0,0,0,.10);
    --shadow-glow: 0 20px 60px rgba(124,58,237,.20);
    --r:         14px;
    --r-sm:      9px;
    --r-lg:      22px;
    --container: 1240px;
}
html.dark, body.dark-mode {
    --bg:        #0a0a0b;
    --surface:   #131316;
    --surface-2: #18181b;
    --bd:        rgba(255,255,255,.07);
    --line:      rgba(255,255,255,.05);
    --fg1:       #fafafa;
    --fg2:       #a1a1aa;
    --fg3:       #71717a;
    --accent-bg: rgba(124,58,237,.14);
    --shadow:    0 1px 3px rgba(0,0,0,.4), 0 0 0 1px rgba(255,255,255,.07);
    --shadow-lg: 0 12px 32px rgba(0,0,0,.5);
}

* { box-sizing: border-box; }
html, body {
    margin: 0; padding: 0;
    font-family: 'Inter', 'Cairo', system-ui, -apple-system, 'Segoe UI', sans-serif;
    background: var(--bg);
    color: var(--fg1);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
[dir="rtl"] body { font-family: 'Cairo', 'Inter', system-ui, sans-serif; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }

/* ── Top bar ── */
.cpb-top {
    border-bottom: 1px solid var(--bd);
    background: var(--surface);
    padding: 14px 0;
    position: sticky; top: 0; z-index: 50;
    backdrop-filter: blur(10px);
    background: rgba(255,255,255,.85);
}
body.dark-mode .cpb-top { background: rgba(10,10,11,.85); }
.cpb-top-row {
    display: flex; align-items: center; justify-content: space-between;
    gap: 16px; flex-wrap: wrap;
}
.cpb-brand {
    font-size: 18px; font-weight: 900;
    color: var(--fg1);
    display: inline-flex; align-items: center; gap: 10px;
    letter-spacing: -.01em;
}
.cpb-brand-mark {
    width: 32px; height: 32px;
    border-radius: 9px;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    color: #fff;
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 14px;
    box-shadow: 0 4px 12px rgba(124,58,237,.32);
}
.cpb-back-link {
    color: var(--fg2);
    font-size: 13.5px; font-weight: 600;
    display: inline-flex; align-items: center; gap: 6px;
    padding: 8px 14px;
    border-radius: 10px;
    border: 1px solid var(--bd);
    background: var(--surface);
    transition: all .15s;
}
.cpb-back-link:hover { color: var(--accent); border-color: var(--accent); background: var(--accent-bg); }

/* ── Hero ── */
.cpb-hero {
    padding: 60px 0 40px;
    text-align: center;
    background:
        radial-gradient(circle at 20% 0%, rgba(124,58,237,.12) 0%, transparent 50%),
        radial-gradient(circle at 80% 100%, rgba(14,165,233,.08) 0%, transparent 50%);
}
.cpb-eyebrow {
    display: inline-flex; align-items: center; gap: 6px;
    background: var(--accent-bg);
    color: var(--accent);
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 12px; font-weight: 800;
    letter-spacing: .5px; text-transform: uppercase;
    margin-bottom: 14px;
}
.cpb-hero h1 {
    font-size: clamp(28px, 4vw, 44px);
    font-weight: 900;
    letter-spacing: -.025em;
    margin: 0 0 12px;
    line-height: 1.15;
    color: var(--fg1);
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 60%, var(--accent-3) 100%);
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent;
}
.cpb-hero p {
    font-size: clamp(15px, 1.5vw, 17px);
    color: var(--fg2);
    max-width: 620px;
    margin: 0 auto;
    line-height: 1.65;
}

/* ── Filter chips bar ── */
.cpb-chips {
    display: flex; gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
    padding: 30px 0 24px;
    border-bottom: 1px solid var(--line);
    margin-bottom: 32px;
}
.cpb-chip {
    display: inline-flex; align-items: center; gap: 7px;
    padding: 8px 14px;
    border-radius: 999px;
    background: var(--surface);
    border: 1.5px solid var(--bd);
    color: var(--fg2);
    font-size: 13px; font-weight: 700;
    cursor: pointer;
    transition: all .15s;
    white-space: nowrap;
}
.cpb-chip i { font-size: 11px; }
.cpb-chip .cpb-chip-count {
    font-size: 10.5px;
    font-weight: 700;
    background: var(--surface-2);
    color: var(--fg3);
    padding: 1px 7px;
    border-radius: 999px;
    margin-inline-start: 2px;
}
.cpb-chip:hover { border-color: var(--accent); color: var(--accent); }
.cpb-chip.is-active {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
    box-shadow: 0 4px 12px rgba(124,58,237,.32);
}
.cpb-chip.is-active .cpb-chip-count { background: rgba(255,255,255,.22); color: #fff; }

/* ── Main layout ── */
.cpb-main {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 32px;
    padding-bottom: 80px;
    align-items: flex-start;
}
@media (max-width: 980px) {
    .cpb-main { grid-template-columns: 1fr; }
}

/* ── Catalog grid ── */
.cpb-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 16px;
}
.cpb-card {
    background: var(--surface);
    border: 1.5px solid var(--bd);
    border-radius: var(--r);
    padding: 18px;
    display: flex; flex-direction: column; gap: 12px;
    cursor: pointer;
    position: relative;
    transition: transform .15s, border-color .15s, box-shadow .15s, background .15s;
}
.cpb-card:hover {
    transform: translateY(-2px);
    border-color: rgba(124,58,237,.4);
    box-shadow: 0 8px 20px rgba(124,58,237,.12);
}
.cpb-card.is-selected {
    border-color: var(--accent);
    background: var(--accent-bg);
    box-shadow: 0 8px 22px rgba(124,58,237,.24), inset 0 0 0 1px var(--accent);
}
.cpb-card-head {
    display: flex; align-items: flex-start; justify-content: space-between;
    gap: 10px;
}
.cpb-card-icon {
    width: 42px; height: 42px;
    border-radius: 10px;
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 17px;
    flex-shrink: 0;
    background: var(--cat-bg, rgba(124,58,237,.10));
    color: var(--cat, #7c3aed);
}
.cpb-card-toggle {
    width: 26px; height: 26px;
    border-radius: 50%;
    border: 2px solid var(--bd);
    background: var(--surface);
    flex-shrink: 0;
    display: inline-flex; align-items: center; justify-content: center;
    color: transparent;
    font-size: 11px;
    transition: all .2s;
}
.cpb-card.is-selected .cpb-card-toggle {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
}
.cpb-card-title {
    font-size: 15px; font-weight: 800;
    color: var(--fg1);
    margin: 0; line-height: 1.3;
}
.cpb-card-cat {
    display: inline-flex; align-items: center; gap: 4px;
    font-size: 10.5px;
    font-weight: 700;
    color: var(--cat, #7c3aed);
    background: var(--cat-bg, rgba(124,58,237,.10));
    padding: 2px 8px;
    border-radius: 999px;
    text-transform: uppercase;
    letter-spacing: .4px;
    margin-top: 4px;
}
.cpb-card-desc {
    font-size: 12.5px;
    color: var(--fg2);
    line-height: 1.55;
    margin: 0;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.cpb-card-foot {
    display: flex; align-items: baseline; justify-content: space-between;
    gap: 8px;
    padding-top: 10px;
    border-top: 1px dashed var(--line);
}
.cpb-card-price {
    font-size: 19px; font-weight: 900;
    color: var(--fg1);
    letter-spacing: -.02em;
}
.cpb-card-price small {
    font-size: 11.5px;
    font-weight: 600;
    color: var(--fg3);
    margin-inline-start: 3px;
}
.cpb-card.is-selected .cpb-card-price { color: var(--accent); }

/* ── Summary sidebar (sticky) ── */
.cpb-summary {
    background: var(--surface);
    border: 1.5px solid var(--bd);
    border-radius: var(--r-lg);
    padding: 22px;
    position: sticky; top: 84px;
    box-shadow: var(--shadow);
}
.cpb-summary-head {
    display: flex; align-items: center; gap: 10px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--line);
    margin-bottom: 14px;
}
.cpb-summary-head .cpb-card-icon {
    width: 38px; height: 38px;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    color: #fff;
}
.cpb-summary-title {
    font-size: 15px; font-weight: 800;
    color: var(--fg1);
    margin: 0;
}
.cpb-summary-sub {
    font-size: 11.5px;
    color: var(--fg3);
    margin-top: 1px;
}

.cpb-selected-list {
    max-height: 280px;
    overflow-y: auto;
    margin: 0 -8px 14px;
    padding: 0 8px;
}
.cpb-selected-item {
    display: flex; align-items: center; gap: 8px;
    padding: 8px 0;
    border-bottom: 1px dashed var(--line);
    font-size: 13px;
}
.cpb-selected-item:last-child { border-bottom: none; }
.cpb-selected-item .cpb-sel-name {
    flex: 1; min-width: 0;
    color: var(--fg1);
    font-weight: 600;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.cpb-selected-item .cpb-sel-price {
    color: var(--fg2);
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}
.cpb-selected-item .cpb-sel-remove {
    border: none;
    background: transparent;
    color: var(--fg3);
    width: 24px; height: 24px;
    border-radius: 6px;
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 10px;
    transition: all .15s;
}
.cpb-selected-item .cpb-sel-remove:hover { color: var(--danger); background: rgba(239,68,68,.1); }

.cpb-empty-summary {
    text-align: center;
    padding: 30px 16px;
    color: var(--fg3);
    font-size: 13px;
}
.cpb-empty-summary i { font-size: 28px; opacity: .35; margin-bottom: 8px; display: block; }

.cpb-total-row {
    display: flex; align-items: baseline; justify-content: space-between;
    padding: 14px 0;
    border-top: 1px solid var(--bd);
    border-bottom: 1px solid var(--bd);
    margin: 8px 0 18px;
}
.cpb-total-label { font-size: 13px; color: var(--fg2); font-weight: 600; }
.cpb-total-value {
    font-size: 26px;
    font-weight: 900;
    color: var(--fg1);
    letter-spacing: -.025em;
    font-variant-numeric: tabular-nums;
}
.cpb-total-value-cur { font-size: 14px; color: var(--fg3); font-weight: 700; margin-inline-end: 3px; }
.cpb-total-cycle {
    text-align: center;
    font-size: 12px;
    color: var(--fg3);
    margin: -10px 0 14px;
}

.cpb-checkout {
    width: 100%;
    height: 50px;
    border-radius: 12px;
    border: none;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    color: #fff;
    font-weight: 800;
    font-size: 14.5px;
    letter-spacing: -.01em;
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    box-shadow: 0 10px 24px rgba(124,58,237,.32);
    transition: transform .15s, box-shadow .15s, opacity .15s;
}
.cpb-checkout:hover:not(:disabled) { transform: translateY(-2px); filter: brightness(1.05); }
.cpb-checkout:disabled {
    opacity: .45;
    cursor: not-allowed;
    box-shadow: none;
}

.cpb-footer-note {
    margin-top: 14px;
    font-size: 11.5px;
    color: var(--fg3);
    text-align: center;
    line-height: 1.6;
}
.cpb-footer-note i { color: var(--success); margin-inline-end: 4px; }

/* Empty state when no addons match filter */
.cpb-empty {
    grid-column: 1 / -1;
    padding: 60px 20px;
    text-align: center;
    color: var(--fg3);
    background: var(--surface);
    border: 1.5px dashed var(--bd);
    border-radius: var(--r);
}
.cpb-empty i { font-size: 36px; opacity: .35; margin-bottom: 12px; }
.cpb-empty h3 { color: var(--fg1); font-size: 16px; font-weight: 800; margin: 0 0 6px; }
.cpb-empty p { font-size: 13px; margin: 0; }

@media (max-width: 720px) {
    .cpb-hero { padding: 40px 0 24px; }
    .cpb-summary { position: static; }
    .cpb-grid { grid-template-columns: 1fr; }
}


/* ═══════════════════════════════════════════════════════════
   Extracted from: landing/partials/site_header.blade.php
═══════════════════════════════════════════════════════════ */

/* ═══════════════════════════════════════════════════════════════
   SITE HEADER  —  shared sticky top bar across all public pages
   ═══════════════════════════════════════════════════════════════ */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, .82);
    backdrop-filter: saturate(160%) blur(14px);
    -webkit-backdrop-filter: saturate(160%) blur(14px);
    border-bottom: 1px solid rgba(15, 23, 42, .06);
    transition: box-shadow .2s, background .2s;
}
.site-header.is-scrolled {
    box-shadow: 0 6px 20px rgba(15, 23, 42, .06);
    background: rgba(255, 255, 255, .94);
}
html.dark .site-header,
body.dark-mode .site-header {
    background: rgba(10, 10, 11, .82);
    border-bottom-color: rgba(255, 255, 255, .06);
}
html.dark .site-header.is-scrolled,
body.dark-mode .site-header.is-scrolled {
    background: rgba(10, 10, 11, .94);
    box-shadow: 0 6px 20px rgba(0, 0, 0, .35);
}

.sh-inner {
    max-width: 1240px;
    margin: 0 auto;
    padding: 14px 24px;
    display: flex;
    align-items: center;
    gap: 22px;
}

/* Brand */
.sh-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 17px;
    font-weight: 900;
    color: var(--fg1, #0a0a0b);
    letter-spacing: -.01em;
    text-decoration: none;
    flex-shrink: 0;
}
.sh-brand-mark {
    width: 34px; height: 34px;
    border-radius: 10px;
    background: linear-gradient(135deg, #7c3aed 0%, #2563eb 60%, #0ea5e9 100%);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    box-shadow: 0 6px 18px rgba(124, 58, 237, .26);
    flex-shrink: 0;
}

/* Navigation */
.sh-nav {
    display: flex;
    align-items: center;
    gap: 4px;
    flex: 1;
    margin-inline-start: 18px;
}
.sh-link {
    position: relative;
    padding: 8px 14px;
    border-radius: 9px;
    color: var(--fg2, #3f3f46);
    font-size: 13.5px;
    font-weight: 600;
    text-decoration: none;
    transition: color .15s, background .15s;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}
.sh-link:hover { color: var(--fg1, #0a0a0b); background: rgba(124, 58, 237, .07); }
.sh-link.is-active { color: #7c3aed; }
.sh-link.is-active::after {
    content: '';
    position: absolute;
    bottom: -14px;
    inset-inline-start: 14px;
    inset-inline-end: 14px;
    height: 2px;
    background: linear-gradient(90deg, #7c3aed, #2563eb);
    border-radius: 2px;
}
.sh-link i { font-size: 11px; opacity: .8; }

/* Actions */
.sh-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}
.sh-lang {
    width: 36px; height: 36px;
    border-radius: 9px;
    border: 1px solid rgba(15, 23, 42, .08);
    background: transparent;
    color: var(--fg2, #3f3f46);
    cursor: pointer;
    font-size: 11px;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all .15s;
}
.sh-lang:hover { border-color: #7c3aed; color: #7c3aed; background: rgba(124, 58, 237, .08); }
.sh-cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 9px 16px;
    border-radius: 9px;
    background: linear-gradient(135deg, #7c3aed, #2563eb);
    color: #fff !important;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 6px 16px rgba(124, 58, 237, .32);
    transition: transform .15s, filter .15s;
    white-space: nowrap;
}
.sh-cta:hover { transform: translateY(-1px); filter: brightness(1.08); color: #fff; }
.sh-cta i { font-size: 11px; }

/* Mobile menu trigger */
.sh-burger {
    display: none;
    width: 38px; height: 38px;
    border-radius: 9px;
    border: 1px solid rgba(15, 23, 42, .08);
    background: transparent;
    color: var(--fg1, #0a0a0b);
    cursor: pointer;
    font-size: 15px;
}

/* Mobile drawer */
@media (max-width: 880px) {
    .sh-nav { display: none; }
    .sh-burger { display: inline-flex; align-items: center; justify-content: center; }
    .sh-actions .sh-cta span { display: none; }   /* keep just the icon on mobile */

    .sh-drawer {
        position: fixed;
        inset: 0 0 auto 0;
        top: 64px;
        background: rgba(255,255,255,.98);
        border-bottom: 1px solid rgba(15, 23, 42, .08);
        box-shadow: 0 10px 30px rgba(15, 23, 42, .12);
        padding: 14px 20px 20px;
        display: none;
        z-index: 99;
        backdrop-filter: blur(20px);
    }
    body.dark-mode .sh-drawer { background: rgba(10,10,11,.98); border-bottom-color: rgba(255,255,255,.06); }
    .sh-drawer.is-open { display: block; }
    .sh-drawer .sh-link {
        display: flex;
        padding: 12px 14px;
        font-size: 14px;
        border-radius: 10px;
    }
    .sh-drawer .sh-link.is-active::after { display: none; }
    .sh-drawer .sh-link.is-active { background: rgba(124, 58, 237, .10); }
}

/* When scroll-into-view targets a section behind the sticky header,
   ensure the anchor doesn't get hidden under the bar. */
[id] { scroll-margin-top: 76px; }

