/* =========================================================
   NIXX DATA HUB - LANDING PAGE (index.html only)
   Built on the tokens in nixx.css.
========================================================= */

.lp { overflow-x: hidden; }
.lp-wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 20px; }
.lp section[id] { scroll-margin-top: 84px; }

/* ---------- Header ---------- */
.lp-header {
    position: sticky; top: 0; z-index: 30;
    background: rgba(255, 255, 255, 0.86);
    -webkit-backdrop-filter: saturate(1.6) blur(14px); backdrop-filter: saturate(1.6) blur(14px);
    border-bottom: 1px solid var(--line);
    padding-top: env(safe-area-inset-top);
}
.lp-header .lp-wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 68px; }
.lp-logo { display: inline-flex; align-items: center; gap: 10px; color: var(--navy-900); text-decoration: none; }
.lp-logo:hover { color: var(--navy-900); }
.lp-logo svg { width: 40px; height: 40px; flex-shrink: 0; filter: drop-shadow(0 5px 10px rgba(13, 70, 184, 0.28)); }
.lp-logo b { display: flex; flex-direction: column; font-size: 18px; font-weight: 800; line-height: 1.05; letter-spacing: -0.03em; }
.lp-logo b i { margin-top: 3px; font-style: normal; font-size: 10.5px; letter-spacing: 0.15em; text-transform: uppercase; color: var(--blue-600); }
.lp-links { display: none; gap: 4px; }
.lp-links a { padding: 10px 14px; border-radius: 10px; color: var(--ink-2); font-size: 15px; font-weight: 600; text-decoration: none; transition: background-color 0.2s ease, color 0.2s ease; }
.lp-links a:hover { background: var(--blue-50); color: var(--blue-700); }
.lp-actions { display: flex; align-items: center; gap: 8px; }
.lp-actions .secondary-btn, .lp-actions .primary-btn { min-height: 44px; padding: 0 16px; font-size: 14.5px; border-radius: 12px; }
@media (min-width: 900px) { .lp-links { display: flex; } .lp-actions .secondary-btn, .lp-actions .primary-btn { padding: 0 20px; font-size: 15px; } }

/* ---------- Hero ---------- */
.lp-hero { position: relative; padding: 44px 0 56px; }
.lp-hero::before {
    content: ""; position: absolute; inset: 0; z-index: -1;
    background:
        radial-gradient(620px 360px at 85% 10%, rgba(47, 116, 240, 0.2), transparent 70%),
        radial-gradient(520px 320px at 0% 0%, rgba(90, 147, 245, 0.16), transparent 70%);
}
.lp-hero-grid { display: grid; gap: 40px; align-items: center; }
.lp-eyebrow {
    display: inline-flex; align-items: center; gap: 8px; margin-bottom: 18px; padding: 7px 14px 7px 10px;
    border: 1px solid var(--blue-100); border-radius: 999px; background: #fff; color: var(--blue-700);
    font-size: 13px; font-weight: 700; box-shadow: var(--shadow-xs);
}
.lp-eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--blue-500); box-shadow: 0 0 0 4px rgba(47, 116, 240, 0.2); }
.lp-hero h1 { font-size: clamp(2.5rem, 8.4vw, 4.4rem); font-weight: 800; letter-spacing: -0.045em; line-height: 1.02; color: var(--navy-900); }
.lp-hero h1 span { display: block; background: linear-gradient(95deg, var(--blue-500), var(--blue-700)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lp-lede { max-width: 520px; margin-top: 18px; color: var(--ink-2); font-size: clamp(1.05rem, 3.2vw, 1.25rem); line-height: 1.6; }
.lp-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.lp-cta .primary-btn, .lp-cta .secondary-btn { min-height: 56px; padding: 0 28px; font-size: 16.5px; flex: 1 1 160px; max-width: 240px; }
.lp-assure { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 24px; color: var(--muted); font-size: 14px; font-weight: 600; list-style: none; }
.lp-assure li { display: inline-flex; align-items: center; gap: 8px; }
.lp-assure li::before {
    content: ""; width: 18px; height: 18px; flex-shrink: 0; border-radius: 50%;
    background: var(--blue-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231459d9' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 11px no-repeat;
    box-shadow: inset 0 0 0 1px var(--blue-100);
}

/* decorative phone: illustrates the flow, shows no prices or sizes */
.lp-visual { display: flex; justify-content: center; }
.lp-phone {
    position: relative; width: min(300px, 84vw); padding: 10px; border-radius: 40px;
    background: linear-gradient(160deg, var(--navy-800), var(--navy-950)); box-shadow: var(--shadow-lg);
    animation: lp-float 7s ease-in-out infinite;
}
.lp-screen { padding: 18px 16px 18px; border-radius: 31px; background: var(--sky-50); min-height: 430px; }
.lp-screen-top { display: flex; align-items: center; gap: 8px; margin-bottom: 16px; font-size: 14px; font-weight: 800; color: var(--navy-900); }
.lp-screen-top svg { width: 26px; height: 26px; }
.lp-label { margin: 14px 0 7px; color: var(--muted); font-size: 11px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; }
.lp-chips { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; }
.lp-chip { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 10px 4px; border: 1.5px solid var(--line); border-radius: 14px; background: #fff; font-size: 12px; font-weight: 800; color: var(--ink); }
.lp-chip.on { border-color: var(--blue-600); background: var(--blue-50); box-shadow: 0 0 0 3px rgba(47, 116, 240, 0.16); }
.lp-chip .network-letter { width: 30px; height: 30px; border-radius: 10px; font-size: 11px; }
.lp-field { display: flex; align-items: center; gap: 8px; height: 44px; padding: 0 12px; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; color: var(--muted); font-size: 14px; font-weight: 700; }
.lp-field b { color: var(--blue-700); }
.lp-skel { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; }
.lp-skel span { height: 52px; border: 1.5px solid var(--line); border-radius: 13px; background: #fff; position: relative; }
.lp-skel span::before, .lp-skel span::after { content: ""; position: absolute; left: 10px; height: 7px; border-radius: 4px; background: var(--line-2); }
.lp-skel span::before { top: 12px; width: 44%; background: #d6e2f6; }
.lp-skel span::after { top: 28px; width: 28%; }
.lp-skel span.on { border-color: var(--blue-600); background: var(--blue-50); }
.lp-fake-btn { margin-top: 16px; height: 46px; display: flex; align-items: center; justify-content: center; border-radius: 13px; color: #fff; font-size: 14px; font-weight: 800; background: linear-gradient(180deg, var(--blue-500), var(--blue-700)); }
.lp-float { position: absolute; display: flex; align-items: center; gap: 9px; padding: 10px 14px 10px 10px; border: 1px solid var(--line); border-radius: 16px; background: #fff; box-shadow: var(--shadow-md); font-size: 13px; font-weight: 800; color: var(--ink); white-space: nowrap; }
.lp-float i { width: 28px; height: 28px; display: flex; align-items: center; justify-content: center; border-radius: 9px; font-style: normal; background: var(--blue-50); color: var(--blue-600); }
.lp-float i svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.lp-float.f1 { top: 74px; left: -38px; animation: lp-float 6s ease-in-out -2s infinite; }
.lp-float.f2 { bottom: 70px; right: -34px; animation: lp-float 6.5s ease-in-out -4s infinite; }
.lp-float.f2 i { background: var(--success-bg); color: var(--success); }
@keyframes lp-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@media (max-width: 480px) { .lp-float.f1 { left: -10px; } .lp-float.f2 { right: -10px; } }

@media (min-width: 960px) {
    .lp-hero { padding: 80px 0 96px; }
    .lp-hero-grid { grid-template-columns: 1.1fr 0.9fr; gap: 64px; }
}

/* ---------- Generic section ---------- */
.lp-section { padding: 64px 0; }
.lp-section.alt { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.lp-head { max-width: 640px; margin-bottom: 36px; }
.lp-kicker { margin-bottom: 10px; color: var(--blue-600); font-size: 13px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; }
.lp-head h2 { font-size: clamp(1.7rem, 5vw, 2.5rem); font-weight: 800; letter-spacing: -0.035em; line-height: 1.12; }
.lp-head p { margin-top: 12px; color: var(--muted); font-size: 1.05rem; line-height: 1.65; }

/* Networks */
.lp-networks { display: grid; gap: 14px; }
.lp-net { display: flex; align-items: center; gap: 16px; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; box-shadow: var(--shadow-xs); transition: transform 0.2s var(--ease), box-shadow 0.2s ease, border-color 0.2s ease; }
.lp-net:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--blue-100); }
.lp-net .network-letter { width: 54px; height: 54px; border-radius: 17px; font-size: 18px; }
.lp-net h3 { font-size: 19px; font-weight: 800; }
.lp-net p { margin-top: 2px; color: var(--muted); font-size: 14.5px; }
.lp-note { margin-top: 18px; color: var(--muted); font-size: 13.5px; line-height: 1.6; }
@media (min-width: 720px) { .lp-networks { grid-template-columns: repeat(3, 1fr); } .lp-net { flex-direction: column; align-items: flex-start; padding: 26px; } }

/* Steps */
.lp-steps { display: grid; gap: 14px; counter-reset: s; list-style: none; }
.lp-step { position: relative; padding: 24px 22px 22px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); box-shadow: var(--shadow-xs); counter-increment: s; }
.lp-step::before { content: counter(s); display: flex; align-items: center; justify-content: center; width: 42px; height: 42px; margin-bottom: 16px; border-radius: 14px; color: #fff; font-size: 18px; font-weight: 800; background: linear-gradient(160deg, var(--blue-500), var(--blue-700)); box-shadow: 0 10px 18px -10px rgba(13, 70, 184, 0.8); }
.lp-step h3 { font-size: 19px; font-weight: 800; }
.lp-step p { margin-top: 6px; color: var(--muted); font-size: 15px; line-height: 1.6; }
@media (min-width: 820px) { .lp-steps { grid-template-columns: repeat(3, 1fr); gap: 20px; } }

/* Why Nixx */
.lp-features { display: grid; gap: 14px; }
.lp-feature { padding: 22px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--sky-50); }
.lp-feature .ico { width: 46px; height: 46px; margin-bottom: 14px; display: flex; align-items: center; justify-content: center; border-radius: 15px; background: #fff; color: var(--blue-600); box-shadow: var(--shadow-sm); }
.lp-feature .ico svg { width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.lp-feature h3 { font-size: 17.5px; font-weight: 800; }
.lp-feature p { margin-top: 6px; color: var(--muted); font-size: 15px; line-height: 1.6; }
@media (min-width: 640px) { .lp-features { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .lp-features { grid-template-columns: repeat(3, 1fr); gap: 18px; } }

/* Payment + USSD band */
.lp-band { display: grid; gap: 18px; }
.lp-panel { position: relative; overflow: hidden; padding: 30px 26px; border-radius: var(--radius-xl); color: #fff; background: radial-gradient(360px 220px at 100% 0%, rgba(90, 147, 245, 0.5), transparent 70%), linear-gradient(150deg, var(--blue-700), var(--navy-900)); box-shadow: var(--shadow-lg); }
.lp-panel h2 { color: #fff; font-size: clamp(1.5rem, 4.4vw, 2rem); font-weight: 800; letter-spacing: -0.03em; }
.lp-panel p { margin-top: 10px; max-width: 460px; color: #c8d9f7; font-size: 1rem; line-height: 1.65; }
.lp-panel .lp-kicker { color: #9fc4ff; }
.lp-pay-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; list-style: none; }
.lp-pay-list li { padding: 8px 14px; border: 1px solid rgba(255, 255, 255, 0.24); border-radius: 999px; background: rgba(255, 255, 255, 0.1); color: #fff; font-size: 14px; font-weight: 700; }
.lp-ussd-code { margin-top: 16px; display: inline-flex; align-items: baseline; gap: 14px; flex-wrap: wrap; }
.lp-ussd-code strong { font-size: clamp(2rem, 7vw, 2.8rem); font-weight: 800; letter-spacing: 0.01em; font-variant-numeric: tabular-nums; }
.lp-ussd-code span { padding: 6px 12px; border-radius: 10px; background: rgba(255, 255, 255, 0.14); font-size: 14px; font-weight: 700; }
@media (min-width: 900px) { .lp-band { grid-template-columns: 1fr 1fr; } .lp-panel { padding: 40px 36px; } }

/* Support */
.lp-support { display: grid; gap: 14px; }
.lp-contact { display: flex; align-items: center; gap: 14px; padding: 18px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; color: var(--ink); text-decoration: none; box-shadow: var(--shadow-xs); transition: transform 0.2s var(--ease), box-shadow 0.2s ease, border-color 0.2s ease; }
a.lp-contact:hover { color: var(--ink); transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--blue-100); }
.lp-contact .ico { width: 48px; height: 48px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; border-radius: 15px; background: var(--blue-50); color: var(--blue-600); }
.lp-contact .ico svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.lp-contact small { display: block; color: var(--muted); font-size: 13px; font-weight: 600; }
.lp-contact strong { display: block; font-size: 16px; font-weight: 800; overflow-wrap: anywhere; }
@media (min-width: 720px) { .lp-support { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .lp-support { grid-template-columns: repeat(4, 1fr); } .lp-contact { flex-direction: column; align-items: flex-start; padding: 22px; } }

/* Final CTA */
.lp-final { padding: 8px 0 72px; }
.lp-final-card { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; padding: 36px 26px; border: 1px solid var(--blue-100); border-radius: var(--radius-xl); background: linear-gradient(135deg, var(--blue-50), #fff); box-shadow: var(--shadow-md); }
.lp-final-card h2 { font-size: clamp(1.6rem, 5vw, 2.3rem); font-weight: 800; letter-spacing: -0.035em; max-width: 520px; }
.lp-final-card .lp-cta { margin-top: 0; }
@media (min-width: 900px) { .lp-final-card { flex-direction: row; align-items: center; justify-content: space-between; padding: 44px 48px; } }

/* Footer */
.lp-footer { padding: 52px 0 calc(28px + env(safe-area-inset-bottom)); background: var(--navy-950); color: #b8c9e8; }
.lp-footer a { color: #d9e6fb; text-decoration: none; }
.lp-footer a:hover { color: #fff; text-decoration: underline; }
.lp-foot-grid { display: grid; gap: 32px; }
.lp-footer .lp-logo { color: #fff; }
.lp-footer .lp-logo b i { color: #9fc4ff; }
.lp-foot-about p { max-width: 340px; margin-top: 14px; font-size: 14.5px; line-height: 1.65; }
.lp-foot-col h3 { margin-bottom: 10px; color: #fff; font-size: 13px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; }
.lp-foot-col ul { list-style: none; }
.lp-foot-col a, .lp-foot-col .link-btn { display: inline-flex; align-items: center; min-height: 40px; color: #d9e6fb; font-size: 15px; font-weight: 500; text-decoration: none; }
.lp-foot-col .link-btn:hover { color: #fff; text-decoration: underline; }
.lp-foot-bottom { margin-top: 36px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, 0.12); font-size: 13px; line-height: 1.7; color: #8fa7d1; }
@media (min-width: 720px) { .lp-foot-grid { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; } }

/* support widget has no bottom nav on this page */
.lp .nixx-support { bottom: calc(20px + env(safe-area-inset-bottom)); right: 16px; }
.lp .toast { bottom: 24px; }

@media (prefers-reduced-motion: reduce) { .lp-phone, .lp-float { animation: none; } }
