:root {
  --navy: #0b2250;
  --navy-2: #12306b;
  --blue: #1673e6;
  --blue-2: #2f8cff;
  --green: #22b04b;
  --text: #33415c;
  --muted: #5e6b85;
  --line: #e3ebf6;
  --bg-soft: #f2f7fd;
  --radius: 16px;
  --shadow: 0 18px 40px -18px rgba(11, 34, 80, .35);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  font-family: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--text);
  background: #fff;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { color: var(--navy); margin: 0; line-height: 1.12; }
p { margin: 0; }
svg { width: 1em; height: 1em; }

.container { width: min(1180px, 100% - 32px); margin-inline: auto; }

.eyebrow {
  color: var(--blue);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.section-text { color: var(--muted); max-width: 540px; margin-top: 14px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  border-radius: 12px; font-weight: 600; transition: transform .15s, box-shadow .15s, background .15s;
}
.btn:hover { transform: translateY(-1px); }
.btn svg { width: 20px; height: 20px; fill: currentColor; flex: none; }
.btn-primary {
  background: linear-gradient(135deg, var(--blue-2), var(--blue));
  color: #fff; padding: 12px 20px; box-shadow: 0 10px 22px -10px rgba(22, 115, 230, .8);
}
.btn-android {
  background: #0d1117; color: #fff; padding: 9px 16px 9px 14px; line-height: 1.1;
}
.btn-android small { display: block; font-size: .66rem; font-weight: 400; opacity: .8; }
.btn-android span { font-size: .95rem; }
.btn-android svg { width: 24px; height: 24px; color: #3ddc84; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .86);
  backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid rgba(227, 235, 246, .7);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 24px; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand img { width: 54px; height: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1; color: var(--navy); }
.brand-text strong { font-size: 1.28rem; font-weight: 700; letter-spacing: .08em; }
.brand-text span { font-size: .8rem; letter-spacing: .5em; margin-top: 4px; color: var(--muted); }
.nav { display: flex; gap: 34px; font-size: .9rem; color: var(--navy); }
.nav a { position: relative; padding: 6px 0; }
.nav a.active { color: var(--blue); font-weight: 600; }
.nav a.active::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; border-radius: 2px; background: var(--blue);
}
.btn-get svg { width: 18px; height: 18px; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background: linear-gradient(180deg, #f6faff 0%, #eaf3fd 100%);
  padding: 64px 0 72px;
}
.hero-art { position: absolute; inset: 0 0 0 38%; pointer-events: none; }
.hero-photo {
  position: absolute; inset: 0;
  background: url("assets/hero-logistics.webp") center 40% / cover no-repeat;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 30%);
          mask-image: linear-gradient(90deg, transparent 0%, #000 30%);
  opacity: .95;
}
.stripe { position: absolute; top: -10%; bottom: -10%; transform: skewX(-22deg); box-shadow: -6px 0 24px rgba(0, 0, 0, .15); }
.stripe-green {
  right: 7%; width: 11%;
  background: linear-gradient(180deg, rgba(34, 176, 75, .35), rgba(20, 110, 50, .75)), url("assets/biz-taste-kenya.webp") 70% center / cover;
}
.stripe-red {
  right: -6%; width: 13%;
  background: linear-gradient(180deg, rgba(225, 29, 46, .35), rgba(150, 10, 25, .7)), url("assets/biz-motors.webp") 75% center / cover;
}
.hero-inner { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: 32px; }
.hero h1 { font-size: clamp(2.5rem, 5.2vw, 4.1rem); font-weight: 800; letter-spacing: -.02em; }
.accent { color: var(--blue); }
.lead { font-size: clamp(1.15rem, 1.8vw, 1.45rem); color: var(--navy); margin-top: 18px; }
.hero-text { margin-top: 18px; max-width: 470px; color: var(--muted); }
.hero-text strong { color: var(--navy); font-weight: 600; }

.download-card {
  display: flex; align-items: center; gap: 22px;
  margin-top: 30px; padding: 18px 22px 18px 18px;
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow);
  width: fit-content; max-width: 100%;
}
.qr { width: 112px; height: 112px; flex: none; }
.qr svg { width: 100%; height: 100%; }
.download-title { color: var(--navy); font-weight: 600; font-size: .92rem; line-height: 1.35; margin-bottom: 12px; }
.download-note { font-size: .74rem; color: var(--muted); margin-top: 10px; }

.hero-phone { display: flex; justify-content: center; }
.hero-phone .phone { width: min(300px, 70vw); transform: rotate(6deg); }

/* ---------- Phone mockup ---------- */
.phone {
  position: relative; aspect-ratio: 720 / 1500;
  padding: 11px; border-radius: 44px;
  background: linear-gradient(145deg, #2a3342, #0c1119);
  box-shadow: 0 40px 70px -25px rgba(11, 34, 80, .55), inset 0 0 0 2px #3a4456;
}
.phone::before {
  content: ""; position: absolute; top: 18px; left: 50%; transform: translateX(-50%);
  width: 26%; height: 18px; border-radius: 12px; background: #0c1119; z-index: 2;
}
.phone img {
  width: 100%; height: 100%; object-fit: cover; object-position: top;
  border-radius: 34px; background: #eaf4fd; padding-top: 30px;
}

/* ---------- Why us ---------- */
.why { padding: 36px 0; background: #fff; }
.why-grid { display: grid; grid-template-columns: repeat(5, 1fr); }
.why-item { text-align: center; padding: 8px 18px; }
.why-item + .why-item { border-left: 1px solid var(--line); }
.why-icon {
  display: inline-grid; place-items: center; width: 60px; height: 60px; border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #eaf4ff, #d6e8fd); margin-bottom: 12px;
}
.why-icon svg { width: 28px; height: 28px; fill: none; stroke: var(--blue); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.why-item h3 { font-size: 1rem; margin-bottom: 4px; }
.why-item p { font-size: .82rem; color: var(--muted); max-width: 150px; margin-inline: auto; }

/* ---------- Businesses ---------- */
.businesses { padding: 80px 0; background: linear-gradient(180deg, var(--bg-soft), #fff); }
.section-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; margin-bottom: 36px; }
h2 { font-size: clamp(1.75rem, 3vw, 2.35rem); font-weight: 700; letter-spacing: -.01em; }
.script {
  font-family: "Kaushan Script", cursive; color: var(--blue); font-size: clamp(1.5rem, 2.6vw, 2.2rem);
  line-height: 1.25; text-align: right; transform: rotate(-8deg); margin: 8px 12px 0 0; position: relative;
}
.script::after {
  content: ""; position: absolute; right: 0; bottom: -8px; width: 70%; height: 4px; border-radius: 4px;
  background: linear-gradient(90deg, transparent, var(--green)); transform: rotate(-4deg);
}
.biz-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.biz {
  position: relative; display: flex; flex-direction: column; min-height: 330px;
  border-radius: var(--radius); overflow: hidden; color: #fff; box-shadow: var(--shadow);
  transition: transform .2s, box-shadow .2s;
}
.biz:hover { transform: translateY(-4px); box-shadow: 0 26px 50px -20px rgba(11, 34, 80, .5); }
.biz img { position: absolute; inset: 0 0 auto; height: 58%; width: 100%; object-fit: cover; }
.biz-body {
  position: relative; margin-top: auto; padding: 60px 20px 20px; min-height: 62%;
  display: flex; flex-direction: column; gap: 6px;
}
.biz-tk .biz-body { background: linear-gradient(180deg, transparent 0, rgba(200, 16, 46, .85) 22%, #1a8a3a 100%); }
.biz-lg .biz-body { background: linear-gradient(180deg, transparent 0, rgba(22, 115, 230, .88) 22%, #0a3fa8 100%); }
.biz-pt .biz-body { background: linear-gradient(180deg, transparent 0, rgba(18, 48, 120, .9) 22%, #1b3fae 70%, #c8102e 130%); }
.biz-mt .biz-body { background: linear-gradient(180deg, transparent 0, rgba(18, 40, 100, .9) 22%, #152f86 60%, #c8102e 135%); }
.biz-icon {
  display: grid; place-items: center; width: 50px; height: 50px; border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, .9); margin-bottom: 8px; background: rgba(255, 255, 255, .12);
}
.biz-icon svg { width: 24px; height: 24px; fill: none; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.biz-lg .biz-icon svg { fill: #fff; stroke: none; }
.biz h3 { color: #fff; font-size: 1.15rem; font-weight: 600; }
.biz p { font-size: .86rem; opacity: .92; }
.biz-arrow {
  display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%;
  background: #fff; color: var(--navy); font-weight: 700; margin-top: 12px;
}

/* ---------- Features ---------- */
.features { padding: 80px 0; background: linear-gradient(180deg, #fff, var(--bg-soft)); }
.features-inner { display: grid; grid-template-columns: 1fr 1.05fr; gap: 40px; align-items: center; }
.feature-list {
  list-style: none; padding: 0; margin: 32px 0 0;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px 18px;
}
.feature-list li { display: flex; align-items: center; gap: 12px; font-size: .84rem; font-weight: 500; color: var(--navy); line-height: 1.25; }
.fi { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; flex: none; color: #fff; }
.fi svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.fi svg.solid { fill: currentColor; stroke: none; }
.fi-red { background: #e5383b; }
.fi-blue { background: var(--blue); }
.fi-purple { background: #7b4fe0; }
.fi-green { background: var(--green); }
.fi-orange { background: #f5892a; }
.fi-violet { background: #9b51e0; }
.fi-teal { background: #13b5b1; }
.fi-navy { background: var(--navy-2); }

.phones { position: relative; height: 520px; }
.phone-sm { position: absolute; width: 36%; top: 60px; }
.phone-md { position: absolute; width: 42%; left: 29%; top: 0; z-index: 2; }
.phone-left { left: 0; transform: rotate(-4deg); }
.phone-right { right: 0; transform: rotate(4deg); }

/* ---------- CTA ---------- */
.cta-wrap { padding: 20px 0 64px; background: var(--bg-soft); }
.cta {
  display: flex; align-items: center; justify-content: space-between; gap: 32px;
  padding: 40px 44px; border-radius: 22px; color: #fff; overflow: hidden;
  background:
    linear-gradient(90deg, rgba(8, 28, 78, .96) 0%, rgba(10, 45, 120, .85) 45%, rgba(10, 45, 120, .25) 100%),
    url("assets/cta-earth.webp") right center / cover;
  box-shadow: var(--shadow);
}
.cta h2 { color: #fff; }
.cta-copy p { margin-top: 10px; opacity: .88; }
.cta-download {
  display: flex; align-items: center; gap: 20px; background: #fff; color: var(--navy);
  padding: 16px 22px 16px 16px; border-radius: var(--radius);
}
.cta-title { font-weight: 700; font-size: 1.05rem; }
.cta-sub { font-size: .76rem; color: var(--muted); margin: 2px 0 10px; }
.qr-light { width: 104px; height: 104px; }

.install-steps {
  list-style: none; padding: 0; margin: 28px 0 0;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px;
}
.install-steps li {
  display: flex; gap: 14px; align-items: flex-start; background: #fff; border: 1px solid var(--line);
  border-radius: 14px; padding: 16px 18px; font-size: .86rem; color: var(--muted);
}
.install-steps b {
  display: grid; place-items: center; flex: none; width: 30px; height: 30px; border-radius: 50%;
  background: linear-gradient(135deg, var(--blue-2), var(--green)); color: #fff; font-size: .85rem;
}
.install-steps strong { color: var(--navy); font-weight: 600; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: rgba(255, 255, 255, .8); padding: 28px 0; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.brand-light .brand-text, .brand-light .brand-text span { color: #fff; }
.footer-nav { display: flex; gap: 30px; font-size: .85rem; flex-wrap: wrap; }
.footer-nav a:hover { color: #fff; }
.footer-meta { font-size: .76rem; text-align: right; }
.footer-contact a { color: #fff; text-decoration: underline; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .nav { gap: 20px; }
  .biz-grid { grid-template-columns: repeat(2, 1fr); }
  .features-inner { grid-template-columns: 1fr; }
  .phones { max-width: 560px; width: 100%; margin: 20px auto 0; }
}
@media (max-width: 900px) {
  .nav { display: none; }
  .hero { padding: 40px 0 56px; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-art { inset: auto 0 0 0; height: 560px; }
  .hero-photo { -webkit-mask-image: linear-gradient(180deg, transparent, #000 35%); mask-image: linear-gradient(180deg, transparent, #000 35%); }
  .hero-phone { margin-top: 12px; }
  .why-grid { grid-template-columns: repeat(3, 1fr); row-gap: 20px; }
  .why-item:nth-child(4) { border-left: 0; }
  .section-head { flex-direction: column; }
  .script { align-self: flex-end; }
  .cta { flex-direction: column; align-items: flex-start; padding: 32px 24px; }
  .install-steps { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; text-align: center; }
  .footer-nav { justify-content: center; }
  .footer-meta { text-align: center; }
}
@media (max-width: 600px) {
  .btn-get { padding: 10px 14px; font-size: .85rem; }
  .brand-text strong { font-size: 1.05rem; }
  .brand img { width: 44px; }
  .download-card { flex-direction: column; align-items: flex-start; width: 100%; }
  .biz-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .why-item { border-left: 0 !important; }
  .feature-list { grid-template-columns: repeat(2, 1fr); }
  .phones { height: 380px; }
  .cta-download { flex-direction: column; align-items: flex-start; width: 100%; }
}
