/* ══════════════════════════════════════════════════════════════════════
   Kai-l — Landing Page Design System
   Modern Executive Light Luxury · Aligned with Dashboard Aesthetics
   Palette : Orange #FF8A3D · Charcoal #0F1217 · Porcelain #F8F9FA · Ivory #FFF7EE
   Typography : Plus Jakarta Sans
   ══════════════════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800;900&display=swap');

:root {
  --brand:         #FF8A3D;
  --brand-hover:   #E8731F;
  --brand-light:   #FFF4ED;
  --brand-soft:    rgba(255, 138, 61, 0.10);
  --brand-border:  rgba(255, 138, 61, 0.25);
  --brand-shadow:  0 10px 28px -6px rgba(255, 138, 61, 0.32);

  --charcoal:      #0F1217;
  --charcoal-soft: #1E232B;
  
  --bg-page:       #F8F9FA;
  --bg-card:       #FFFFFF;
  --bg-muted:      #F1F3F5;

  --border:        #E5E7EB;
  --border-subtle: #F0F2F5;
  --border-hover:  #D1D5DB;

  --text-main:     #0F1217;
  --text-body:     #374151;
  --text-muted:    #6B6F76;
  --text-soft:     #9CA3AF;

  --green:         #059669;
  --green-soft:    rgba(5, 150, 105, 0.09);
  --green-border:  rgba(5, 150, 105, 0.25);
  --amber:         #D97706;
  --amber-soft:    rgba(217, 119, 6, 0.09);
  --blue:          #2563EB;
  --blue-soft:     rgba(37, 99, 235, 0.09);
  --purple:        #7C3AED;
  --purple-soft:   rgba(124, 58, 237, 0.09);

  --radius-sm:     8px;
  --radius-md:     14px;
  --radius-lg:     20px;
  --radius-xl:     28px;
  --radius-pill:   999px;

  --shadow-sm:     0 1px 3px rgba(0,0,0,0.04), 0 1px 2px rgba(0,0,0,0.02);
  --shadow-card:   0 4px 20px -2px rgba(15, 18, 23, 0.05), 0 2px 6px -1px rgba(15, 18, 23, 0.03);
  --shadow-hover:  0 14px 34px -4px rgba(15, 18, 23, 0.09), 0 4px 12px -2px rgba(15, 18, 23, 0.04);
  --shadow-lg:     0 24px 48px -12px rgba(15, 18, 23, 0.12);

  --ease:          cubic-bezier(0.16, 1, 0.3, 1);
}

/* ── Reset ──────────────────────────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-page);
  color: var(--text-main);
}

body {
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
  background-color: var(--bg-page);
  color: var(--text-body);
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ── Typography & Highlights ────────────────────────────────────────── */
h1, h2, h3, h4, h5 {
  color: var(--text-main);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.2;
}

.text-gradient {
  background: linear-gradient(135deg, var(--charcoal) 30%, var(--brand) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-orange {
  color: var(--brand);
}

/* ── Buttons ────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.4rem;
  border-radius: var(--radius-md);
  font-size: 0.92rem;
  font-weight: 700;
  transition: all 0.2s var(--ease);
  white-space: nowrap;
}

.btn-primary {
  background: var(--brand);
  color: #FFFFFF;
  box-shadow: var(--brand-shadow);
}
.btn-primary:hover {
  background: var(--brand-hover);
  transform: translateY(-2px);
  box-shadow: 0 12px 30px -4px rgba(255, 138, 61, 0.42);
}

.btn-secondary {
  background: #FFFFFF;
  color: var(--charcoal);
  border: 1.5px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.btn-secondary:hover {
  background: var(--bg-muted);
  border-color: var(--border-hover);
  transform: translateY(-2px);
}

.btn-charcoal {
  background: var(--charcoal);
  color: #FFFFFF;
}
.btn-charcoal:hover {
  background: var(--charcoal-soft);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(15, 18, 23, 0.25);
}

.btn-lg {
  padding: 0.95rem 1.9rem;
  font-size: 1.02rem;
  border-radius: var(--radius-md);
}

/* ── Badges ─────────────────────────────────────────────────────────── */
.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
  font-weight: 700;
  background: var(--brand-light);
  color: var(--brand);
  border: 1px solid var(--brand-border);
}

.badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.2);
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(0.9); }
}

/* ══════════════════════════════════════════════════════════════════════
   NAVBAR
   ══════════════════════════════════════════════════════════════════════ */
.navbar {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  transition: all 0.2s var(--ease);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.nav-logo-mark {
  width: 38px;
  height: 38px;
  background: var(--charcoal);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid rgba(255, 138, 61, 0.35);
  box-shadow: 0 4px 12px rgba(255, 138, 61, 0.25);
  padding: 3px;
  overflow: hidden;
}

.nav-logo-text {
  font-size: 1.32rem;
  font-weight: 900;
  color: var(--charcoal);
  letter-spacing: -0.03em;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.8rem;
  list-style: none;
}

.nav-link {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: color 0.18s var(--ease);
}
.nav-link:hover {
  color: var(--charcoal);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* ══════════════════════════════════════════════════════════════════════
   HERO SECTION
   ══════════════════════════════════════════════════════════════════════ */
.hero {
  padding: 4.5rem 0 3.5rem;
  background: radial-gradient(circle at 50% 0%, rgba(255, 138, 61, 0.08) 0%, transparent 65%),
              linear-gradient(180deg, #FFFFFF 0%, #F8F9FA 100%);
  border-bottom: 1px solid var(--border);
}

.hero-header {
  text-align: center;
  max-width: 860px;
  margin: 0 auto 3rem;
}

.hero-title {
  font-size: 3.1rem;
  line-height: 1.15;
  margin: 1.25rem 0 1.25rem;
  color: var(--charcoal);
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 2rem;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.hero-trust {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  font-size: 0.82rem;
  color: var(--text-soft);
  font-weight: 600;
  flex-wrap: wrap;
}
.hero-trust-item {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
.hero-trust-item svg {
  color: var(--green);
}

/* ── Hero Dual Showcase (WhatsApp vs Dashboard) ─────────────────────── */
.dual-showcase {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 1.5rem;
  max-width: 1100px;
  margin: 2.5rem auto 0;
  background: #FFFFFF;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  padding: 1.5rem;
  overflow: hidden;
  position: relative;
}

.dual-panel {
  display: flex;
  flex-direction: column;
}

.dual-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 0.85rem;
  margin-bottom: 0.85rem;
  border-bottom: 1.5px solid var(--border-subtle);
}

.dual-panel-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--charcoal);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* Chat Side (WhatsApp Look) */
.whatsapp-chat-box {
  background: #F0F2F5;
  border-radius: var(--radius-md);
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  border: 1px solid var(--border);
  min-height: 380px;
}

.chat-bubble {
  max-width: 85%;
  padding: 0.65rem 0.9rem;
  border-radius: 12px;
  font-size: 0.84rem;
  line-height: 1.45;
  position: relative;
  box-shadow: var(--shadow-sm);
}

.bubble-client {
  align-self: flex-end;
  background: #E7FFDB;
  color: #111B21;
  border-bottom-right-radius: 3px;
}

.bubble-kail {
  align-self: flex-start;
  background: #FFFFFF;
  color: #111B21;
  border-bottom-left-radius: 3px;
}

.bubble-time {
  font-size: 0.65rem;
  color: #667781;
  text-align: right;
  margin-top: 3px;
}

.bubble-highlight {
  background: var(--brand-light);
  border-left: 3px solid var(--brand);
  padding: 0.4rem 0.6rem;
  border-radius: 4px;
  margin: 0.35rem 0;
  font-size: 0.8rem;
}

.bubble-ussd-push {
  background: #FFFBEB;
  border: 1.5px dashed #F59E0B;
  padding: 0.6rem 0.8rem;
  border-radius: 8px;
  margin-top: 0.4rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: #B45309;
}

/* Dashboard Side (Live Kanban Look) */
.dashboard-preview-box {
  background: #F8F9FA;
  border-radius: var(--radius-md);
  padding: 1rem;
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  min-height: 380px;
}

.dash-live-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #FFFFFF;
  padding: 0.65rem 0.85rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
}

.dash-live-order-card {
  background: #FFFFFF;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1rem;
  box-shadow: var(--shadow-card);
  border-left: 4px solid var(--brand);
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  animation: slide-in 0.3s ease;
}

@keyframes slide-in {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.order-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.order-tag-paid {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: var(--green-soft);
  color: var(--green);
  border: 1px solid var(--green-border);
  padding: 2px 8px;
  border-radius: 6px;
  font-size: 0.72rem;
  font-weight: 800;
}

.order-tag-payout {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: var(--brand-light);
  color: var(--brand);
  border: 1px solid var(--brand-border);
  padding: 2px 8px;
  border-radius: 6px;
  font-size: 0.72rem;
  font-weight: 800;
}

.order-details-mini {
  font-size: 0.82rem;
  color: var(--text-body);
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.dash-stats-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.dash-stat-pill {
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.65rem 0.85rem;
}
.dash-stat-pill-val {
  font-size: 1.15rem;
  font-weight: 900;
  color: var(--charcoal);
}
.dash-stat-pill-lbl {
  font-size: 0.72rem;
  color: var(--text-muted);
  font-weight: 600;
}

/* ══════════════════════════════════════════════════════════════════════
   SECTION: VALUE PROPOSITIONS (LES 4 PILIERS)
   ══════════════════════════════════════════════════════════════════════ */
.section {
  padding: 5rem 0;
}

.section-head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 3.5rem;
}

.section-title {
  font-size: 2.3rem;
  margin: 0.75rem 0 0.85rem;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.card-pillar {
  background: #FFFFFF;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.5rem;
  box-shadow: var(--shadow-card);
  transition: all 0.25s var(--ease);
  display: flex;
  flex-direction: column;
}
.card-pillar:hover {
  transform: translateY(-4px);
  border-color: var(--brand-border);
  box-shadow: var(--shadow-hover);
}

.pillar-icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  font-size: 1.3rem;
}
.icon-orange { background: var(--brand-light); color: var(--brand); }
.icon-green  { background: var(--green-soft); color: var(--green); }
.icon-blue   { background: var(--blue-soft);  color: var(--blue); }
.icon-purple { background: var(--purple-soft); color: var(--purple); }

.pillar-title {
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.pillar-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* ══════════════════════════════════════════════════════════════════════
   SECTION: ROI CALCULATOR
   ══════════════════════════════════════════════════════════════════════ */
.roi-section {
  background: #FFFFFF;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.roi-card {
  max-width: 960px;
  margin: 0 auto;
  background: #F8F9FA;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  box-shadow: var(--shadow-card);
}

.roi-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 2.5rem;
  align-items: center;
}

.roi-control-group {
  margin-bottom: 1.75rem;
}

.roi-control-label {
  display: flex;
  justify-content: space-between;
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 0.65rem;
}

.roi-slider {
  width: 100%;
  height: 7px;
  border-radius: var(--radius-pill);
  background: #E5E7EB;
  outline: none;
  -webkit-appearance: none;
}
.roi-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--brand);
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(255, 138, 61, 0.4);
  transition: transform 0.15s ease;
}
.roi-slider::-webkit-slider-thumb:hover {
  transform: scale(1.15);
}

.roi-result-box {
  background: var(--charcoal);
  color: #FFFFFF;
  border-radius: var(--radius-lg);
  padding: 2rem;
  text-align: center;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.roi-result-box::before {
  content: '';
  position: absolute;
  top: -40px;
  right: -40px;
  width: 120px;
  height: 120px;
  background: radial-gradient(circle, rgba(255, 138, 61, 0.4) 0%, transparent 70%);
}

.roi-savings-val {
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--brand);
  line-height: 1.1;
  margin: 0.5rem 0;
}

.roi-subtext {
  font-size: 0.85rem;
  color: #9CA3AF;
  line-height: 1.45;
}

/* ══════════════════════════════════════════════════════════════════════
   SECTION: WORKFLOW (3 ÉTAPES)
   ══════════════════════════════════════════════════════════════════════ */
.step-card {
  background: #FFFFFF;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-card);
  position: relative;
}

.step-num {
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--brand);
  line-height: 1;
  margin-bottom: 0.75rem;
  opacity: 0.9;
}

.step-title {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.step-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ══════════════════════════════════════════════════════════════════════
   SECTION: PRICING
   ══════════════════════════════════════════════════════════════════════ */
.pricing-section {
  background: #FFFFFF;
  border-top: 1px solid var(--border);
}

.pricing-card {
  background: #FFFFFF;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 2.25rem 2rem;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all 0.25s var(--ease);
}
.pricing-card.featured {
  border-color: var(--brand);
  box-shadow: 0 16px 40px -8px rgba(255, 138, 61, 0.22);
  transform: scale(1.03);
}

.pricing-badge {
  position: absolute;
  top: -12px;
  right: 24px;
  background: var(--brand);
  color: #FFFFFF;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 0.2rem 0.75rem;
  border-radius: var(--radius-pill);
  text-transform: uppercase;
}

.pricing-tier {
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 0.25rem;
}

.pricing-price {
  font-size: 2.6rem;
  font-weight: 900;
  color: var(--charcoal);
  margin: 1rem 0 1.25rem;
  line-height: 1;
}

.pricing-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 2rem;
  flex: 1;
}

.pricing-feature-item {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.9rem;
  color: var(--text-body);
}
.pricing-feature-item svg {
  color: var(--green);
  flex-shrink: 0;
}

/* ══════════════════════════════════════════════════════════════════════
   SECTION: FAQ ACCORDION
   ══════════════════════════════════════════════════════════════════════ */
.faq-list {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: #FFFFFF;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: border-color 0.2s ease;
}
.faq-item:hover {
  border-color: var(--border-hover);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--charcoal);
}

.faq-answer {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-top: 0.75rem;
  display: none;
}
.faq-item.active .faq-answer {
  display: block;
}

/* ══════════════════════════════════════════════════════════════════════
   FOOTER
   ══════════════════════════════════════════════════════════════════════ */
.footer {
  background: var(--charcoal);
  color: #9CA3AF;
  padding: 4rem 0 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 1rem;
}

.footer-desc {
  font-size: 0.9rem;
  line-height: 1.6;
  max-width: 360px;
}

.footer-col-title {
  color: #FFFFFF;
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  font-size: 0.88rem;
}
.footer-links a:hover {
  color: #FFFFFF;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 1.5rem;
  text-align: center;
  font-size: 0.82rem;
  color: #6B7280;
}

/* ── Responsive ──────────────────────────────────────────────────────── */
@media (max-width: 992px) {
  .hero-title { font-size: 2.4rem; }
  .dual-showcase { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .grid-3 { grid-template-columns: 1fr; }
  .roi-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .nav-menu { display: none; }
}

@media (max-width: 640px) {
  .hero { padding: 3rem 0 2rem; }
  .hero-title { font-size: 1.95rem; }
  .grid-4 { grid-template-columns: 1fr; }
  .hero-cta-group { flex-direction: column; width: 100%; }
  .hero-cta-group .btn { width: 100%; }
}
