/* ================================================================
   ELSuite Landing Page — landing.css
   @layout Blank  /  @page "/index"
================================================================ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --brand:        #2563eb;
    --brand-dark:   #1d4ed8;
    --brand-light:  #eff6ff;
    --ink:          #0f172a;
    --muted:        #64748b;
    --border:       #e2e8f0;
    --surface:      #fff;
    --bg:           #f8fafc;
    --radius:       12px;
    --shadow-sm:    0 1px 4px rgba(15,23,42,.06);
    --shadow-md:    0 4px 20px rgba(15,23,42,.10);
}

html { scroll-behavior: smooth; }
body { font-family: 'Segoe UI', system-ui, sans-serif; color: var(--ink); background: var(--surface); line-height: 1.6; }
img  { max-width: 100%; display: block; }
a    { text-decoration: none; color: inherit; }

/* ── Container ─────────────────────────────────────────────── */
.lp-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ── NAVBAR ────────────────────────────────────────────────── */
.lp-nav {
    position: sticky;
    top: 0;
    z-index: 900;
    background: rgba(255,255,255,.92);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    height: 64px;
    display: flex;
    align-items: center;
}

.lp-nav-inner {
    display: flex;
    align-items: center;
    gap: 32px;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.lp-brand {
    font-size: 20px;
    font-weight: 700;
    color: var(--brand);
    letter-spacing: -.3px;
    white-space: nowrap;
}

.lp-nav-links {
    display: flex;
    align-items: center;
    gap: 4px;
    flex: 1;
}

.lp-nav-link {
    padding: 6px 14px;
    border-radius: 8px;
    font-size: 14px;
    color: var(--muted);
    font-weight: 500;
    transition: color .15s, background .15s;
    white-space: nowrap;
}

.lp-nav-link:hover { color: var(--brand); background: var(--brand-light); }

.lp-nav-end {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: auto;
    flex-shrink: 0;
}

.lp-btn-ghost {
    padding: 7px 16px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    color: var(--brand);
    border: 1px solid var(--border);
    background: transparent;
    cursor: pointer;
    transition: border-color .15s, background .15s;
}
.lp-btn-ghost:hover { border-color: var(--brand); background: var(--brand-light); }

.lp-btn-primary {
    padding: 7px 16px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    background: var(--brand);
    border: 1px solid var(--brand);
    cursor: pointer;
    transition: background .15s;
}
.lp-btn-primary:hover { background: var(--brand-dark); }

/* Dropdown */
.lp-dropdown { position: relative; }

.lp-dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 6px 14px;
    border-radius: 8px;
    font-size: 14px;
    color: var(--muted);
    font-weight: 500;
    cursor: pointer;
    transition: color .15s, background .15s;
    border: none;
    background: transparent;
}
.lp-dropdown-toggle:hover { color: var(--brand); background: var(--brand-light); }
.lp-dropdown-toggle i { font-size: 10px; transition: transform .2s; }
.lp-dropdown:hover .lp-dropdown-toggle i { transform: rotate(180deg); }

.lp-dropdown-menu {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%);
    width: 760px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    padding: 16px;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    z-index: 999;
}
.lp-dropdown:hover .lp-dropdown-menu { display: grid; }

.lp-product-card {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 10px 12px;
    border-radius: 8px;
    cursor: pointer;
    transition: background .15s;
}
.lp-product-card:hover { background: var(--brand-light); }

.lp-product-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: var(--brand-light);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 16px;
    color: var(--brand);
}

.lp-product-title { font-size: 13px; font-weight: 600; color: var(--ink); line-height: 1.3; }
.lp-product-desc  { font-size: 12px; color: var(--muted); margin-top: 2px; }

/* Language selector */
.lp-lang-select {
    padding: 5px 10px;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 13px;
    color: var(--ink);
    background: var(--surface);
    cursor: pointer;
    outline: none;
}
.lp-lang-select:focus { border-color: var(--brand); }

/* Hamburger (mobile) */
.lp-hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 4px;
    margin-left: auto;
}
.lp-hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--ink);
    border-radius: 2px;
    transition: transform .2s, opacity .2s;
}

/* ── HERO ──────────────────────────────────────────────────── */
.lp-hero {
    padding: 80px 0 60px;
    background: linear-gradient(135deg, #f0f7ff 0%, #fafafa 60%);
    overflow: hidden;
}

.lp-hero-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 48px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.lp-hero-eyebrow {
    display: inline-block;
    background: var(--brand-light);
    color: var(--brand);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 4px 12px;
    border-radius: 20px;
    margin-bottom: 16px;
}

.lp-hero-title {
    font-size: clamp(28px, 4vw, 48px);
    font-weight: 800;
    line-height: 1.15;
    color: var(--ink);
    margin-bottom: 16px;
    letter-spacing: -.5px;
}

.lp-hero-title span { color: var(--brand); }

.lp-hero-tagline {
    font-size: 17px;
    color: var(--muted);
    margin-bottom: 12px;
    line-height: 1.6;
}

.lp-hero-sub {
    font-size: 12px;
    font-weight: 700;
    color: var(--brand);
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 28px;
}

/* Slider */
.lp-slider {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 16px 20px;
    margin-bottom: 28px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: var(--shadow-sm);
    min-height: 72px;
}

.lp-slider-arrow {
    width: 32px;
    height: 32px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--bg);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 12px;
    color: var(--muted);
    flex-shrink: 0;
    transition: border-color .15s, color .15s;
}
.lp-slider-arrow:hover { border-color: var(--brand); color: var(--brand); }

.lp-slider-content { flex: 1; min-width: 0; }
.lp-slider-title { font-size: 14px; font-weight: 600; color: var(--ink); line-height: 1.3; }
.lp-slider-desc  { font-size: 12px; color: var(--muted); margin-top: 3px; }

@keyframes slideIn {
    from { opacity: 0; transform: translateX(-10px); }
    to   { opacity: 1; transform: translateX(0); }
}
.slide-in-left { animation: slideIn .25s ease-out; }

/* Hero buttons */
.lp-hero-btns { display: flex; gap: 12px; flex-wrap: wrap; }

.lp-hero-btn-primary {
    padding: 12px 24px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    color: #fff;
    background: var(--brand);
    border: none;
    cursor: pointer;
    transition: background .15s, transform .1s;
    text-decoration: none;
    display: inline-block;
}
.lp-hero-btn-primary:hover { background: var(--brand-dark); transform: translateY(-1px); }

.lp-hero-btn-secondary {
    padding: 12px 24px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    color: var(--brand);
    background: var(--surface);
    border: 1.5px solid var(--brand);
    cursor: pointer;
    transition: background .15s;
    text-decoration: none;
    display: inline-block;
}
.lp-hero-btn-secondary:hover { background: var(--brand-light); }

/* Hero image */
.lp-hero-image {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.lp-hero-img-frame {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 16px 48px rgba(37,99,235,.18), 0 2px 8px rgba(15,23,42,.08);
    border: 1px solid #bfdbfe;
    background: #fff;
    max-width: 480px;
    width: 100%;
}

.lp-hero-img-frame::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #eff6ff 0%, transparent 60%);
    z-index: 0;
    border-radius: 20px;
}

.lp-hero-img-frame img {
    display: block;
    width: 100%;
    height: auto;
    position: relative;
    z-index: 1;
    border-radius: 20px;
    object-fit: cover;
}

/* ── PARTNERS STRIP ────────────────────────────────────────── */
.lp-partners-strip {
    background: #fff;
    border-bottom: 1px solid var(--border);
    padding: 12px 24px;
    display: flex;
    align-items: center;
    gap: 16px;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.lp-partners-strip-label {
    font-size: 11px;
    font-weight: 600;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: .6px;
    white-space: nowrap;
    padding-right: 16px;
    border-right: 1px solid var(--border);
    margin-right: 4px;
}

.lp-partners-strip-logos {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.lp-partner-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    border: 1px solid;
    letter-spacing: .2px;
}

.lp-partner-pill .lp-partner-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    flex-shrink: 0;
}

.lp-partner-giz {
    background: #f0fdf4;
    color: #166534;
    border-color: #bbf7d0;
}
.lp-partner-giz .lp-partner-dot { background: #16a34a; }

.lp-partner-mali {
    background: #fef2f2;
    color: #991b1b;
    border-color: #fecaca;
}
.lp-partner-mali .lp-partner-dot { background: #dc2626; }

.lp-partner-eu {
    background: #eff6ff;
    color: #1e3a8a;
    border-color: #bfdbfe;
}
.lp-partner-eu .lp-partner-dot { background: #1d4ed8; }

/* ── STATS STRIP ───────────────────────────────────────────── */
.lp-stats {
    background: var(--brand);
    padding: 32px 0;
}

.lp-stats-inner {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    text-align: center;
}

.lp-stat-number { font-size: 32px; font-weight: 800; color: #fff; line-height: 1; }
.lp-stat-label  { font-size: 13px; color: rgba(255,255,255,.75); margin-top: 4px; }

/* ── ABOUT / APPS SECTION ──────────────────────────────────── */
.lp-about {
    padding: 80px 0;
    background: var(--surface);
}

.lp-section-eyebrow {
    display: inline-block;
    background: var(--brand-light);
    color: var(--brand);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 4px 12px;
    border-radius: 20px;
    margin-bottom: 12px;
}

.lp-section-title {
    font-size: clamp(22px, 3vw, 34px);
    font-weight: 800;
    color: var(--ink);
    margin-bottom: 12px;
    letter-spacing: -.3px;
}

.lp-section-sub {
    font-size: 16px;
    color: var(--muted);
    max-width: 600px;
    margin: 0 auto 48px;
    line-height: 1.7;
}

.lp-section-header { text-align: center; }

.lp-apps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 16px;
}

.lp-app-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 20px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: box-shadow .15s, transform .15s, border-color .15s;
}

.lp-app-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
    border-color: var(--brand);
}

.lp-app-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: var(--brand-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--brand);
    font-size: 18px;
    flex-shrink: 0;
}

.lp-app-name {
    font-size: 13px;
    font-weight: 600;
    color: var(--ink);
    line-height: 1.3;
}

.lp-app-action {
    margin-left: auto;
    color: var(--muted);
    font-size: 14px;
    flex-shrink: 0;
    transition: color .15s;
}
.lp-app-card:hover .lp-app-action { color: var(--brand); }

/* ── KITENGE STRIP ─────────────────────────────────────────── */
.lp-kitenge {
    height: 8px;
    background: repeating-linear-gradient(
        90deg,
        #2563eb 0 20px,
        #f59e0b 20px 40px,
        #16a34a 40px 60px,
        #dc2626 60px 80px,
        #7c3aed 80px 100px
    );
}

/* ── OFFERS / PLANS ────────────────────────────────────────── */
.lp-offers {
    padding: 80px 0;
    background: var(--bg);
}

.lp-plans-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    align-items: start;
}

.lp-plan-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 28px 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    box-shadow: var(--shadow-sm);
    transition: box-shadow .15s, transform .15s;
}

.lp-plan-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}

.lp-plan-card.featured {
    border-color: var(--brand);
    border-width: 2px;
    position: relative;
}

.lp-plan-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--brand);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 14px;
    border-radius: 20px;
    white-space: nowrap;
}

.lp-plan-title {
    font-size: 17px;
    font-weight: 700;
    color: var(--ink);
}

.lp-plan-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.lp-plan-features li {
    font-size: 13px;
    color: var(--ink);
    display: flex;
    align-items: center;
    gap: 8px;
}

.lp-plan-features li::before {
    content: '';
    display: block;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #dcfce7;
    flex-shrink: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='%2316a34a' d='M13 4L6.5 10.5 3 7'/%3E%3C/svg%3E");
    background-size: 12px;
    background-repeat: no-repeat;
    background-position: center;
}

.lp-plan-features li.unavailable {
    color: var(--muted);
    opacity: .55;
}

.lp-plan-features li.unavailable::before {
    background: #fee2e2;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='%23dc2626' d='M4 4l8 8M12 4l-8 8'/%3E%3C/svg%3E");
    background-size: 10px;
    background-repeat: no-repeat;
    background-position: center;
}

/* ── PARTNERS ──────────────────────────────────────────────── */
.lp-partners {
    padding: 60px 0;
    background: var(--surface);
    text-align: center;
}

.lp-partners-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
    margin-top: 32px;
}

.lp-partner-logo {
    height: 60px;
    filter: grayscale(1);
    opacity: .6;
    transition: filter .2s, opacity .2s;
    object-fit: contain;
}
.lp-partner-logo:hover { filter: none; opacity: 1; }

/* ── FOOTER ────────────────────────────────────────────────── */
.lp-footer {
    background: var(--ink);
    color: rgba(255,255,255,.6);
    text-align: center;
    padding: 24px;
    font-size: 13px;
}
.lp-footer a { color: rgba(255,255,255,.7); transition: color .15s; }
.lp-footer a:hover { color: #fff; }

/* ── RESPONSIVE ────────────────────────────────────────────── */
@media (max-width: 1024px) {
    .lp-dropdown-menu { width: 560px; grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .lp-hamburger { display: flex; }

    .lp-nav-links,
    .lp-dropdown-menu,
    .lp-nav-end { display: none !important; }

    .lp-nav-links.is-open {
        display: flex !important;
        flex-direction: column;
        position: fixed;
        inset: 0;
        top: 64px;
        background: var(--surface);
        padding: 24px;
        gap: 8px;
        z-index: 800;
        overflow-y: auto;
    }

    .lp-hero-inner { grid-template-columns: 1fr; gap: 32px; padding-top: 16px; }
    .lp-hero-image { display: none; }
    .lp-partners-strip { justify-content: center; }
    .lp-stats-inner { grid-template-columns: repeat(2, 1fr); }
    .lp-plans-grid  { grid-template-columns: 1fr; }
    .lp-hero { padding: 48px 0 40px; }
}

@media (max-width: 480px) {
    .lp-stats-inner { grid-template-columns: 1fr 1fr; }
    .lp-apps-grid   { grid-template-columns: 1fr; }
}
