/* BwanaShamba — static marketing landing.
   Pure CSS, no framework, so the page is fast and fully crawlable. */

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; }

.lp-root {
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  background: #07170d;
  color: #fff;
  overflow-x: hidden;
  min-height: 100vh;
  min-height: 100dvh;
}

::selection { background: #FFCC00; color: #1f2717; }

/* ── Buttons ─────────────────────────────────────────────────────────────── */
.lp-btn-gold,
.lp-btn-ghost,
.lp-btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-weight: 800;
  font-size: 13px;
  text-decoration: none;
  cursor: pointer;
  border: 0;
  font-family: inherit;
  line-height: 1;
  white-space: nowrap;
}
.lp-btn-gold { min-height: 40px; padding: 0 20px; background: #FFCC00; color: #1f2717; box-shadow: 0 12px 26px rgba(0,0,0,0.28); }
.lp-btn-ghost { min-height: 38px; padding: 0 15px; background: rgba(232,239,222,0.08); border: 1px solid rgba(255,255,255,0.16); color: #fff; font-weight: 700; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.lp-btn-outline { min-height: 40px; padding: 0 22px; background: transparent; border: 1px solid rgba(255,255,255,0.2); color: #fff; font-weight: 700; }
.lp-btn-lg { min-height: 52px; padding: 0 28px; font-size: 15px; }
.lp-btn-gold.lp-btn-lg { box-shadow: 0 18px 34px rgba(0,0,0,0.34); }
.lp-btn-gold:hover { filter: brightness(1.04); }
.lp-btn-ghost:hover, .lp-btn-outline:hover { background: rgba(232,239,222,0.14); }

/* ── Nav ─────────────────────────────────────────────────────────────────── */
.lp-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: max(16px, env(safe-area-inset-top, 0px)) clamp(18px, 5vw, 54px) 16px;
  background: linear-gradient(180deg, rgba(4,12,7,0.72), rgba(4,12,7,0));
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.lp-logo { font-weight: 800; font-size: 18px; letter-spacing: -0.03em; }
.lp-nav-actions { display: flex; align-items: center; gap: 11px; }

/* ── Hero ────────────────────────────────────────────────────────────────── */
.lp-hero { position: relative; display: flex; align-items: center; overflow: hidden; min-height: 100vh; min-height: 100svh; }
.lp-hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; filter: saturate(1.1) contrast(1.05); }
.lp-hero-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(3,8,4,0.32) 0%, rgba(5,14,8,0.30) 30%, rgba(3,12,6,0.78) 72%, rgba(4,12,7,0.99) 100%),
    linear-gradient(90deg, rgba(4,15,8,0.55), transparent 60%);
}
.lp-hero-inner { position: relative; z-index: 10; width: 100%; max-width: 1180px; margin: 0 auto; padding: 96px clamp(20px, 5vw, 54px) 60px; }
.lp-badge {
  display: inline-block; font-size: 12.5px; font-weight: 600; padding: 7px 13px; border-radius: 999px;
  background: rgba(232,239,222,0.07); border: 1px solid rgba(255,204,0,0.28); color: #ffe08a; margin-bottom: 22px;
}
.lp-h1 { margin: 0; font-weight: 800; letter-spacing: -0.035em; line-height: 1.04; font-size: clamp(36px, 6.8vw, 72px); max-width: 760px; }
.lp-h1 span { display: block; }
.lp-h1-accent { color: #FFCC00; min-height: 1.1em; margin-top: 6px; }
.lp-hero-sub { margin: 24px 0 0; max-width: 560px; font-size: clamp(16px, 2.2vw, 20px); line-height: 1.55; color: rgba(255,255,255,0.80); }
.lp-hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }

/* ── Sections ────────────────────────────────────────────────────────────── */
.lp-section { position: relative; max-width: 1180px; margin: 0 auto; padding: clamp(72px, 11vw, 130px) clamp(20px, 5vw, 54px) 30px; }
.lp-intro { max-width: 720px; }
.lp-eyebrow { display: block; font-size: 13px; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; color: #FFCC00; }
.lp-h2 { margin: 16px 0 0; font-size: clamp(30px, 5.2vw, 52px); font-weight: 800; letter-spacing: -0.03em; line-height: 1.05; }
.lp-lead { margin: 18px 0 0; font-size: clamp(15px, 2vw, 18px); line-height: 1.6; color: rgba(255,255,255,0.72); }

/* ── Capabilities (mockup + text rows) ───────────────────────────────────── */
.lp-caps {
  max-width: 1180px; margin: 0 auto; padding: 20px clamp(20px, 5vw, 54px) 0;
  display: flex; flex-direction: column; gap: clamp(70px, 11vw, 140px);
}
.lp-cap-row { display: flex; flex-wrap: wrap; align-items: flex-start; gap: clamp(36px, 6vw, 80px); }
.lp-cap-row.lp-reverse { flex-direction: row-reverse; }
.lp-mock-wrap { flex: 1 1 360px; min-width: 300px; }
.lp-cap-text { flex: 1 1 380px; min-width: 300px; }
.lp-cap-index { font-size: 13px; font-weight: 800; letter-spacing: 0.14em; color: #FFCC00; }
.lp-cap-title { margin: 10px 0 0; font-size: clamp(26px, 4vw, 40px); font-weight: 800; letter-spacing: -0.03em; line-height: 1.08; }
.lp-cap-text p { margin: 16px 0 0; font-size: clamp(15px, 1.9vw, 18px); line-height: 1.6; color: rgba(255,255,255,0.74); }
.lp-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.lp-chip { font-size: 12.5px; font-weight: 600; padding: 7px 13px; border-radius: 999px; background: rgba(232,239,222,0.07); border: 1px solid rgba(255,255,255,0.12); color: rgba(255,255,255,0.86); }

/* ── Mockups: shared card ────────────────────────────────────────────────── */
.lp-mock { position: relative; width: 100%; margin-top: 38px; }
.lp-mock-chat { max-width: 480px; }
.lp-mock-tasks, .lp-mock-ms, .lp-mock-report { max-width: 410px; }
.lp-cap-row.lp-reverse .lp-mock { margin-left: auto; }
.lp-card {
  position: relative; border-radius: 26px; padding: 20px;
  background: rgba(12,30,18,0.86); border: 1px solid rgba(255,204,0,0.28);
  box-shadow: 0 30px 60px rgba(0,0,0,0.45), 0 0 0 1px rgba(255,204,0,0.12), 0 0 36px rgba(255,204,0,0.28);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
}
.lp-card::before {
  content: ""; position: absolute; inset: -1px; border-radius: 27px; z-index: -1; filter: blur(8px);
  background: radial-gradient(120% 120% at 50% 0%, rgba(255,204,0,0.18), transparent 60%);
}

/* Animated items: hidden until JS adds .on */
[data-anim] { opacity: 0; transform: translateY(8px); transition: opacity .35s ease, transform .35s ease; }
[data-anim].on { opacity: 1; transform: none; }

@keyframes lpBlink { 0%,100% { opacity: 1; } 50% { opacity: 0; } }
@keyframes lpDot { 0%,80%,100% { transform: translateY(0); opacity: .5; } 40% { transform: translateY(-5px); opacity: 1; } }

/* ── Chat mockup ─────────────────────────────────────────────────────────── */
.lp-chat-head { display: flex; align-items: center; gap: 11px; padding-bottom: 15px; border-bottom: 1px solid rgba(255,255,255,0.08); }
.lp-chat-head strong { font-size: 15.5px; letter-spacing: -0.01em; }
.lp-chat-ic { width: 28px; height: 28px; border-radius: 9px; background: #FFCC00; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.lp-chat-body { display: flex; flex-direction: column; gap: 12px; padding-top: 18px; height: 360px; overflow: hidden; }
.lp-msg { font-size: 14.5px; line-height: 1.45; max-width: 88%; padding: 11px 16px; }
.lp-msg-user { align-self: flex-end; max-width: 80%; border-radius: 16px 16px 5px 16px; background: #FFCC00; color: #1f2717; font-weight: 500; }
.lp-msg-ai { align-self: flex-start; border-radius: 16px 16px 16px 5px; background: rgba(255,255,255,0.12); color: #fff; }
.lp-caret { display: none; width: 3px; height: 0.95em; vertical-align: -0.12em; margin-left: 2px; background: #ffe08a; animation: lpBlink 1s steps(2) infinite; }
.lp-typing { align-self: flex-start; display: inline-flex; align-items: center; gap: 5px; padding: 14px 16px; border-radius: 16px 16px 16px 5px; background: rgba(255,255,255,0.12); }
.lp-typing span { width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,0.65); animation: lpDot 1.1s infinite; }
.lp-typing span:nth-child(2) { animation-delay: .16s; } .lp-typing span:nth-child(3) { animation-delay: .32s; }
.lp-beyond { align-self: flex-start; display: inline-flex; align-items: center; gap: 7px; max-width: 88%; padding: 9px 14px; border-radius: 999px; background: rgba(255,204,0,0.14); border: 1px dashed rgba(255,204,0,0.45); color: #ffe08a; font-size: 12.5px; font-weight: 600; }

/* ── Tasks mockup ────────────────────────────────────────────────────────── */
.lp-tasks-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 14px; }
.lp-tasks-eyebrow { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: #FFCC00; }
.lp-tasks-head strong { font-size: 17px; letter-spacing: -0.02em; }
.lp-tasks-count { font-size: 11px; font-weight: 700; color: rgba(255,255,255,0.5); }
.lp-tasks-body { display: flex; flex-direction: column; gap: 9px; height: 218px; overflow: hidden; }
.lp-task { display: flex; align-items: center; gap: 11px; padding: 11px 12px; border-radius: 13px; background: rgba(255,255,255,0.06); }
.lp-task-hi { background: rgba(255,204,0,0.12); border: 1px solid rgba(255,204,0,0.30); }
.lp-task-t { font-size: 13px; font-weight: 700; }
.lp-task-s { font-size: 10.5px; color: rgba(255,255,255,0.55); margin-top: 1px; }
.lp-task-s-gold { color: #ffe08a; }
.lp-dot { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,0.4); flex-shrink: 0; }
.lp-dot-gold { background: #FFCC00; box-shadow: 0 0 8px rgba(255,204,0,0.7); }

/* ── Milestones mockup ───────────────────────────────────────────────────── */
.lp-ms-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.lp-ms-head strong { font-size: 14px; letter-spacing: -0.01em; }
.lp-ms-day { font-size: 11px; font-weight: 700; color: #FFCC00; }
.lp-ms-bar { height: 7px; border-radius: 999px; background: rgba(255,255,255,0.10); overflow: hidden; margin-bottom: 18px; }
.lp-ms-bar-fill { width: 0; height: 100%; border-radius: 999px; background: #FFCC00; transition: width 1.1s cubic-bezier(.16,1,.3,1); }
.lp-ms-bar-fill.on { width: 44%; }
.lp-ms-body { display: flex; flex-direction: column; height: 228px; overflow: hidden; }
.lp-ms-step { display: flex; gap: 12px; }
.lp-ms-rail { display: flex; flex-direction: column; align-items: center; }
.lp-ms-node { width: 22px; height: 22px; border-radius: 50%; flex-shrink: 0; background: rgba(255,255,255,0.08); border: 2px solid rgba(255,255,255,0.2); }
.lp-ms-node-done { background: #FFCC00; border: 0; display: flex; align-items: center; justify-content: center; }
.lp-ms-node-now { background: rgba(255,204,0,0.18); border: 2px solid #FFCC00; }
.lp-ms-line { width: 2px; flex: 1; background: rgba(255,255,255,0.14); }
.lp-ms-line-gold { background: #FFCC00; }
.lp-ms-txt { padding-bottom: 16px; }
.lp-ms-t { font-size: 13px; font-weight: 700; }
.lp-ms-t-gold { color: #FFCC00; } .lp-ms-t-dim { color: rgba(255,255,255,0.65); }
.lp-ms-s { font-size: 10.5px; color: rgba(255,255,255,0.45); }
.lp-ms-key { display: inline-flex; align-items: center; gap: 5px; margin-top: 5px; font-size: 10.5px; font-weight: 600; padding: 4px 9px; border-radius: 999px; background: rgba(255,204,0,0.14); border: 1px dashed rgba(255,204,0,0.45); color: #ffe08a; }

/* ── Report mockup ───────────────────────────────────────────────────────── */
.lp-rep-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 4px; }
.lp-rep-head strong { font-size: 14px; letter-spacing: -0.01em; }
.lp-rep-season { font-size: 10.5px; font-weight: 700; color: rgba(255,255,255,0.5); }
.lp-rep-meta { font-size: 11px; color: rgba(255,255,255,0.5); margin-bottom: 16px; }
.lp-rep-chart { display: flex; align-items: flex-end; gap: 8px; height: 92px; padding: 0 2px 10px; border-bottom: 1px solid rgba(255,255,255,0.10); margin-bottom: 14px; }
.lp-rep-chart span { flex: 1; border-radius: 5px 5px 0 0; background: rgba(255,255,255,0.18); transform: scaleY(0); transform-origin: bottom; transition: transform .65s cubic-bezier(.16,1,.3,1); }
.lp-rep-chart span:nth-child(2) { background: rgba(255,255,255,0.22); transition-delay: .09s; }
.lp-rep-chart span:nth-child(3) { transition-delay: .18s; }
.lp-rep-bar-amber { background: rgba(255,204,0,0.55) !important; transition-delay: .27s; }
.lp-rep-bar-gold { background: #FFCC00 !important; transition-delay: .36s; }
.lp-rep-chart.on span { transform: scaleY(1); }
.lp-rep-foot { height: 124px; overflow: hidden; }
.lp-rep-stats { display: flex; gap: 10px; margin-bottom: 16px; }
.lp-rep-stat { flex: 1; padding: 10px 12px; border-radius: 12px; background: rgba(255,255,255,0.06); }
.lp-rep-stat-l { font-size: 10px; color: rgba(255,255,255,0.55); text-transform: uppercase; letter-spacing: 0.08em; font-weight: 700; }
.lp-rep-stat-v { font-size: 18px; font-weight: 800; letter-spacing: -0.02em; margin-top: 2px; }
.lp-rep-stat-v-gold { color: #FFCC00; }
.lp-rep-btns { display: flex; gap: 9px; }
.lp-rep-btn { flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 38px; border-radius: 11px; font-size: 12px; font-weight: 800; background: rgba(255,255,255,0.10); border: 1px solid rgba(255,255,255,0.16); color: #fff; }
.lp-rep-btn-gold { background: #FFCC00; color: #1f2717; border: 0; }

/* ── Scroll indicator ────────────────────────────────────────────────────── */
.lp-scroll { position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); z-index: 10; width: 26px; height: 42px; border-radius: 999px; border: 1.5px solid rgba(255,255,255,0.4); display: flex; justify-content: center; padding-top: 8px; }
.lp-scroll span { width: 4px; height: 8px; border-radius: 999px; background: #fff; animation: lpScrollDot 1.6s ease-in-out infinite; }
@keyframes lpScrollDot { 0% { transform: translateY(0); opacity: 0; } 30%,70% { opacity: 1; } 100% { transform: translateY(14px); opacity: 0; } }

/* ── CTA ─────────────────────────────────────────────────────────────────── */
.lp-cta {
  position: relative; overflow: hidden; border-radius: 30px;
  padding: clamp(40px, 7vw, 72px) clamp(28px, 6vw, 64px);
  background: linear-gradient(135deg, rgba(12,30,18,0.96), rgba(8,22,13,0.96));
  border: 1px solid rgba(255,255,255,0.10);
}
.lp-cta::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(120% 140% at 100% 0%, rgba(255,204,0,0.16), transparent 55%);
}
.lp-cta > * { position: relative; }

/* ── Footer ──────────────────────────────────────────────────────────────── */
.lp-footer {
  max-width: 1180px; margin: clamp(56px, 8vw, 96px) auto 0;
  padding: clamp(48px, 7vw, 80px) clamp(20px, 5vw, 54px) 48px;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.lp-footer .lp-logo { font-size: 16px; }
.lp-footer-tag { font-size: 12.5px; color: rgba(255,255,255,0.5); }

/* ── Reveal animation (only armed once JS confirms IntersectionObserver) ──── */
.lp-reveal-armed { opacity: 0; transform: translateY(36px); transition: opacity .8s ease, transform .8s cubic-bezier(.16,1,.3,1); }
.lp-reveal-armed.lp-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .lp-reveal-armed { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ── Mobile ──────────────────────────────────────────────────────────────── */
@media (max-width: 760px) {
  /* Stack every capability as [description, animation] — column-reverse flips
     the DOM order [mockup, text] so the explanation leads, then the animation. */
  .lp-cap-row,
  .lp-cap-row.lp-reverse { flex-direction: column-reverse; align-items: stretch; gap: 22px; }
  .lp-caps { gap: 60px; }
  /* Let every mockup fill the column width so blocks 2–4 line up with block 1
     and with the text, instead of stopping short at their desktop max-width. */
  .lp-mock-wrap { min-width: 0; }
  .lp-mock,
  .lp-mock-chat,
  .lp-mock-tasks,
  .lp-mock-ms,
  .lp-mock-report { width: 100%; max-width: 100%; margin-top: 0; margin-left: 0; margin-right: 0; }
}

/* Desktop / laptop: the chat card is wider, so its text wraps less and needs
   far less height than the mobile default — trim the empty space at the bottom. */
@media (min-width: 761px) {
  .lp-chat-body { height: 285px; }
}
