/* ==========================================================================
   Clarity.co.ke Homepage Redesign - Bright Modern African SaaS System
   Color Palette: Powered by w3-blue (#2196F3) and w3-green (#4CAF50)
   ========================================================================== */

:root {
  /* Brand Core Colors (Bright & Professional) */
  --clr-w3-blue: #2196F3;
  --clr-w3-blue-dark: #1976D2;
  --clr-w3-blue-light: #e3f2fd;
  
  --clr-w3-green: #4CAF50;
  --clr-w3-green-dark: #388E3C;
  --clr-w3-green-light: #e8f5e9;

  --clr-bg-main: #f8fafc;
  --clr-bg-card: #ffffff;
  --clr-bg-card-hover: #ffffff;
  --clr-border: #e2e8f0;
  --clr-border-hover: rgba(33, 150, 243, 0.4);
  
  --clr-text-primary: #0f172a;
  --clr-text-secondary: #475569;
  --clr-text-muted: #64748b;
  
  /* Product Accent Themes */
  --clr-pos-primary: #4CAF50;
  --clr-pos-glow: rgba(76, 175, 80, 0.25);
  --clr-pos-gradient: linear-gradient(135deg, #4CAF50 0%, #388E3C 100%);
  
  --clr-loans-primary: #2196F3;
  --clr-loans-glow: rgba(33, 150, 243, 0.25);
  --clr-loans-gradient: linear-gradient(135deg, #2196F3 0%, #1976D2 100%);
  
  --clr-chama-primary: #00897b;
  --clr-chama-glow: rgba(0, 137, 123, 0.25);
  --clr-chama-gradient: linear-gradient(135deg, #00897b 0%, #00695c 100%);
  
  --clr-master-blue: #2196F3;
  --clr-master-gradient: linear-gradient(135deg, #2196F3 0%, #1976D2 100%);
  
  /* Fonts & Radius */
  --font-main: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
}

/* --------------------------------------------------------------------------
   Global Layout & Resets
   -------------------------------------------------------------------------- */
html {
  scroll-behavior: smooth;
  box-sizing: border-box;
}

*, *:before, *:after {
  box-sizing: inherit;
}

body > .content {
  padding: 0 !important;
  max-width: 100% !important;
  margin: 0 !important;
}

/* Hide legacy elements if included by head/footer */
body > button.w3-sand[style*="fixed"] {
  display: none !important;
}
.site-footer {
  display: none !important;
}

.clarity-app-wrapper {
  min-height: 100vh;
  background-color: var(--clr-bg-main);
  color: var(--clr-text-primary);
  font-family: var(--font-main);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  background-image: 
    radial-gradient(circle at 10% 0%, rgba(33, 150, 243, 0.08) 0%, transparent 45%),
    radial-gradient(circle at 90% 20%, rgba(76, 175, 80, 0.08) 0%, transparent 45%),
    radial-gradient(circle at 50% 80%, rgba(33, 150, 243, 0.05) 0%, transparent 50%);
}

/* Typography Utilities */
.text-gradient-blue {
  color: #1976D2;
  background: linear-gradient(135deg, #2196F3 0%, #1565C0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.text-gradient-green {
  color: #388E3C;
  background: linear-gradient(135deg, #4CAF50 0%, #2E7D32 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.text-gradient-purple {
  color: #1565C0;
  background: linear-gradient(135deg, #2196F3 0%, #0D47A1 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.text-gradient-teal {
  color: #00695c;
  background: linear-gradient(135deg, #00897b 0%, #004d40 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.clarity-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
}

/* --------------------------------------------------------------------------
   Sticky Navigation Bar (Clean & Bright)
   -------------------------------------------------------------------------- */
.clarity-navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--clr-border);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
  transition: all 0.3s ease;
}

.clarity-nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.brand-logo-link {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-logo-img {
  height: 42px;
  width: auto;
  object-fit: contain;
}

.brand-fallback-logo {
  display: flex;
  align-items: center;
  gap: 8px;
}

.brand-mark {
  width: 38px;
  height: 38px;
  background: var(--clr-master-gradient);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 800;
  font-size: 20px;
  box-shadow: 0 4px 12px rgba(33, 150, 243, 0.3);
}

.brand-name {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: #0f172a;
}

.brand-name span {
  color: var(--clr-w3-blue);
}

.brand-badge {
  font-size: 11px;
  font-weight: 700;
  color: #2e7d32;
  background: var(--clr-w3-green-light);
  border: 1px solid rgba(76, 175, 80, 0.3);
  padding: 2px 8px;
  border-radius: 20px;
}

/* Nav Links */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-item {
  position: relative;
}

.nav-link {
  color: var(--clr-text-secondary);
  font-size: 14.5px;
  font-weight: 600;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: color 0.2s ease;
  padding: 8px 0;
}

.nav-link:hover, .nav-link.active {
  color: var(--clr-w3-blue);
}

/* Dropdown Menu */
.nav-dropdown {
  position: absolute;
  top: 100%;
  left: -20px;
  width: 280px;
  background: #ffffff;
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-md);
  padding: 12px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.nav-item:hover .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: background 0.2s ease;
}

.dropdown-item:hover {
  background: #f1f5f9;
}

.drop-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: #fff;
  flex-shrink: 0;
}

.drop-icon.pos { background: var(--clr-pos-gradient); }
.drop-icon.loans { background: var(--clr-loans-gradient); }
.drop-icon.chama { background: var(--clr-chama-gradient); }

.drop-text .drop-title {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--clr-text-primary);
  margin: 0;
}

.drop-text .drop-desc {
  font-size: 11.5px;
  color: var(--clr-text-muted);
  margin: 0;
}

/* Nav Right Actions */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.btn-nav-login {
  color: var(--clr-w3-blue-dark);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  padding: 8px 18px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(33, 150, 243, 0.3);
  background: var(--clr-w3-blue-light);
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.btn-nav-login:hover {
  background: #bbdefb;
  color: #0d47a1;
}

.btn-primary-cta {
  background: var(--clr-w3-blue);
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 14px rgba(33, 150, 243, 0.3);
  transition: all 0.25s ease;
  border: none;
  cursor: pointer;
}

.btn-primary-cta:hover {
  background: var(--clr-w3-blue-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(33, 150, 243, 0.45);
  color: #fff;
}

/* Mobile Hamburger Toggle */
.mobile-toggle {
  display: none;
  background: transparent;
  border: none;
  color: var(--clr-text-primary);
  font-size: 22px;
  cursor: pointer;
  padding: 8px;
}

/* --------------------------------------------------------------------------
   Hero Section & Product Carousel (Bright Theme)
   -------------------------------------------------------------------------- */
.hero-section {
  padding: 60px 0 80px;
  position: relative;
}

.hero-header {
  text-align: center;
  max-width: 840px;
  margin: 0 auto 48px;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--clr-w3-blue-light);
  border: 1px solid rgba(33, 150, 243, 0.3);
  color: var(--clr-w3-blue-dark);
  font-size: 13px;
  font-weight: 700;
  padding: 6px 16px;
  border-radius: 30px;
  margin-bottom: 20px;
}

.hero-title {
  font-size: 52px;
  font-weight: 800;
  letter-spacing: -1.5px;
  line-height: 1.15;
  color: #0f172a;
  margin: 0 0 20px 0;
}

.hero-subtitle {
  font-size: 19px;
  color: var(--clr-text-secondary);
  font-weight: 400;
  margin: 0 0 32px 0;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}

.hero-ctas {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-hero-primary {
  background: var(--clr-w3-blue);
  color: #ffffff;
  font-size: 16px;
  font-weight: 700;
  padding: 14px 32px;
  border-radius: var(--radius-md);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 6px 20px rgba(33, 150, 243, 0.35);
  transition: all 0.25s ease;
}

.btn-hero-primary:hover {
  background: var(--clr-w3-blue-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(33, 150, 243, 0.5);
  color: #fff;
}

.btn-hero-secondary {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  color: var(--clr-text-primary);
  font-size: 16px;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.btn-hero-secondary:hover {
  background: #f8fafc;
  border-color: #94a3b8;
  color: #0f172a;
}

/* Carousel Container (Light & Crisp) */
.carousel-wrapper {
  background: #ffffff;
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-xl);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.06), 0 0 60px rgba(33, 150, 243, 0.06);
  padding: 28px;
  position: relative;
  overflow: hidden;
}

/* Tabs Header */
.carousel-tabs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 28px;
  background: #f1f5f9;
  padding: 6px;
  border-radius: var(--radius-md);
  border: 1px solid #e2e8f0;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.carousel-tab-btn {
  flex: 1;
  background: transparent;
  border: none;
  color: var(--clr-text-secondary);
  font-size: 14px;
  font-weight: 700;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.25s ease;
}

.carousel-tab-btn:hover {
  color: var(--clr-text-primary);
}

.carousel-tab-btn.active.tab-pos {
  background: var(--clr-w3-green);
  color: #fff;
  box-shadow: 0 4px 12px rgba(76, 175, 80, 0.3);
}

.carousel-tab-btn.active.tab-loans {
  background: var(--clr-w3-blue);
  color: #fff;
  box-shadow: 0 4px 12px rgba(33, 150, 243, 0.3);
}

.carousel-tab-btn.active.tab-chama {
  background: var(--clr-chama-primary);
  color: #fff;
  box-shadow: 0 4px 12px rgba(0, 137, 123, 0.3);
}

/* Slide Content */
.carousel-slides-container {
  position: relative;
  min-height: 480px;
}

.carousel-slide {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 36px;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  transition: opacity 0.4s ease, transform 0.4s ease;
  transform: translateX(20px);
}

.carousel-slide.active {
  opacity: 1;
  visibility: visible;
  position: relative;
  transform: translateX(0);
}

.slide-info {
  padding-right: 12px;
}

.slide-product-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.slide-product-badge.pos {
  background: var(--clr-w3-green-light);
  color: #2e7d32;
  border: 1px solid rgba(76, 175, 80, 0.3);
}
.slide-product-badge.loans {
  background: var(--clr-w3-blue-light);
  color: #1565c0;
  border: 1px solid rgba(33, 150, 243, 0.3);
}
.slide-product-badge.chama {
  background: #e0f2f1;
  color: #00695c;
  border: 1px solid rgba(0, 137, 123, 0.3);
}

.slide-headline {
  font-size: 34px;
  font-weight: 800;
  line-height: 1.2;
  color: #0f172a;
  margin: 0 0 16px 0;
}

.slide-desc {
  font-size: 16px;
  color: var(--clr-text-secondary);
  line-height: 1.6;
  margin: 0 0 28px 0;
}

.slide-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 700;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  color: #fff;
  transition: all 0.25s ease;
}

.slide-cta-btn.pos { background: var(--clr-w3-green); box-shadow: 0 4px 14px rgba(76, 175, 80, 0.3); }
.slide-cta-btn.loans { background: var(--clr-w3-blue); box-shadow: 0 4px 14px rgba(33, 150, 243, 0.3); }
.slide-cta-btn.chama { background: var(--clr-chama-primary); box-shadow: 0 4px 14px rgba(0, 137, 123, 0.3); }

.slide-cta-btn:hover {
  transform: translateY(-2px);
  color: #fff;
  filter: brightness(0.95);
}

/* Dashboard Mockup Display (Bright Light Software Frame) */
.dashboard-mockup-frame {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
}

.mockup-header-bar {
  background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mockup-dots {
  display: flex;
  gap: 6px;
}
.mockup-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.mockup-dot.red { background: #ef4444; }
.mockup-dot.yellow { background: #f59e0b; }
.mockup-dot.green { background: #10b981; }

.mockup-title-text {
  font-size: 11px;
  font-weight: 700;
  color: var(--clr-text-secondary);
}

.mockup-body {
  padding: 16px;
  background: #ffffff;
}

/* Carousel Arrow Nav & Dots */
.carousel-controls-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--clr-border);
}

.carousel-arrow-btn {
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  color: var(--clr-text-primary);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.carousel-arrow-btn:hover {
  background: var(--clr-w3-blue-light);
  color: var(--clr-w3-blue-dark);
  border-color: var(--clr-w3-blue);
}

.carousel-indicators {
  display: flex;
  gap: 8px;
}

.indicator-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #cbd5e1;
  cursor: pointer;
  transition: all 0.25s ease;
}

.indicator-dot.active {
  width: 28px;
  border-radius: 10px;
  background: var(--clr-w3-blue);
}

/* --------------------------------------------------------------------------
   Product Section: "One brand. Three solutions." (Bright Theme)
   -------------------------------------------------------------------------- */
.product-section {
  padding: 96px 0;
  position: relative;
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 60px;
}

.section-title {
  font-size: 38px;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -1px;
  margin: 0 0 16px 0;
}

.section-subtitle {
  font-size: 17px;
  color: var(--clr-text-secondary);
  margin: 0;
}

.product-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.product-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.product-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
}

.product-card.pos-card::before { background: var(--clr-w3-green); }
.product-card.loans-card::before { background: var(--clr-w3-blue); }
.product-card.chama-card::before { background: var(--clr-chama-primary); }

.product-card:hover {
  transform: translateY(-6px);
  border-color: #cbd5e1;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.08);
}

.card-top-header {
  margin-bottom: 24px;
}

.card-icon-box {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: #fff;
  margin-bottom: 20px;
}

.card-icon-box.pos { background: var(--clr-w3-green); box-shadow: 0 4px 14px rgba(76, 175, 80, 0.3); }
.card-icon-box.loans { background: var(--clr-w3-blue); box-shadow: 0 4px 14px rgba(33, 150, 243, 0.3); }
.card-icon-box.chama { background: var(--clr-chama-primary); box-shadow: 0 4px 14px rgba(0, 137, 123, 0.3); }

.card-target-tag {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
}

.card-target-tag.pos { color: #2e7d32; }
.card-target-tag.loans { color: #1565c0; }
.card-target-tag.chama { color: #00695c; }

.card-title {
  font-size: 26px;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 12px 0;
}

.card-desc {
  font-size: 15px;
  color: var(--clr-text-secondary);
  line-height: 1.5;
  margin: 0 0 24px 0;
}

.card-features-list {
  list-style: none;
  padding: 0;
  margin: 0 0 32px 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.card-features-list li {
  font-size: 13.5px;
  color: #334155;
  display: flex;
  align-items: center;
  gap: 10px;
}

.card-features-list li i {
  font-size: 13px;
}
.pos-card .card-features-list li i { color: var(--clr-w3-green); }
.loans-card .card-features-list li i { color: var(--clr-w3-blue); }
.chama-card .card-features-list li i { color: var(--clr-chama-primary); }

.btn-card-explore {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  height: 48px;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.25s ease;
  border: 1px solid transparent;
}

.btn-card-explore.pos {
  background: var(--clr-w3-green-light);
  color: #2e7d32;
  border-color: rgba(76, 175, 80, 0.3);
}
.btn-card-explore.pos:hover {
  background: var(--clr-w3-green);
  color: #fff;
  box-shadow: 0 6px 18px rgba(76, 175, 80, 0.35);
}

.btn-card-explore.loans {
  background: var(--clr-w3-blue-light);
  color: #1565c0;
  border-color: rgba(33, 150, 243, 0.3);
}
.btn-card-explore.loans:hover {
  background: var(--clr-w3-blue);
  color: #fff;
  box-shadow: 0 6px 18px rgba(33, 150, 243, 0.35);
}

.btn-card-explore.chama {
  background: #e0f2f1;
  color: #00695c;
  border-color: rgba(0, 137, 123, 0.3);
}
.btn-card-explore.chama:hover {
  background: var(--clr-chama-primary);
  color: #fff;
  box-shadow: 0 6px 18px rgba(0, 137, 123, 0.35);
}

/* --------------------------------------------------------------------------
   Why Clarity Section
   -------------------------------------------------------------------------- */
.why-section {
  padding: 80px 0;
  background: #f1f5f9;
  border-top: 1px solid var(--clr-border);
  border-bottom: 1px solid var(--clr-border);
}

.features-4-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.feature-why-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-md);
  padding: 28px 22px;
  transition: all 0.25s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
}

.feature-why-card:hover {
  border-color: rgba(33, 150, 243, 0.3);
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.06);
}

.why-icon-box {
  width: 46px;
  height: 46px;
  border-radius: 10px;
  background: var(--clr-w3-blue-light);
  border: 1px solid rgba(33, 150, 243, 0.3);
  color: var(--clr-w3-blue-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: 18px;
}

.why-title {
  font-size: 19px;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 10px 0;
}

.why-desc {
  font-size: 14px;
  color: var(--clr-text-secondary);
  line-height: 1.5;
  margin: 0;
}

/* --------------------------------------------------------------------------
   Positioning Section: Ecosystem Integration
   -------------------------------------------------------------------------- */
.positioning-section {
  padding: 96px 0;
}

.ecosystem-container {
  background: linear-gradient(135deg, #e3f2fd 0%, #ffffff 50%, #e8f5e9 100%);
  border: 1px solid #cbd5e1;
  border-radius: var(--radius-xl);
  padding: 48px;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.05);
  position: relative;
  overflow: hidden;
}

.positioning-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
  position: relative;
  z-index: 2;
}

.eco-pillar-card {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: var(--radius-md);
  padding: 24px;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.03);
}

.eco-pillar-card:hover {
  border-color: var(--clr-w3-blue);
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(33, 150, 243, 0.15);
}

.eco-cat-badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #334155;
  background: #f1f5f9;
  padding: 4px 14px;
  border-radius: 20px;
  margin-bottom: 14px;
}

.eco-arrow-indicator {
  font-size: 18px;
  color: var(--clr-w3-blue);
  margin: 10px 0;
}

.eco-product-link {
  display: block;
  font-size: 20px;
  font-weight: 800;
  text-decoration: none;
  padding: 12px;
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
}

.eco-product-link.pos { color: #2e7d32; background: var(--clr-w3-green-light); }
.eco-product-link.loans { color: #1565c0; background: var(--clr-w3-blue-light); }
.eco-product-link.chama { color: #00695c; background: #e0f2f1; }

.eco-product-link:hover {
  filter: brightness(0.95);
}

/* Ecosystem Banner Footer */
.eco-footer-note {
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid #cbd5e1;
  text-align: center;
  font-size: 14.5px;
  color: var(--clr-text-secondary);
}

.eco-footer-note i {
  color: var(--clr-w3-blue);
  margin-right: 8px;
}

/* --------------------------------------------------------------------------
   CTA Section
   -------------------------------------------------------------------------- */
.cta-section {
  padding: 80px 0;
}

.cta-banner-box {
  background: linear-gradient(135deg, #1976D2 0%, #2196F3 50%, #388E3C 100%);
  border-radius: var(--radius-xl);
  padding: 60px 36px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(33, 150, 243, 0.25);
  color: #ffffff;
}

.cta-title {
  font-size: 40px;
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 16px 0;
  letter-spacing: -1px;
}

.cta-sub {
  font-size: 18px;
  color: #e3f2fd;
  margin: 0 0 32px 0;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.btn-cta-main {
  background: #ffffff;
  color: var(--clr-w3-blue-dark);
  font-size: 16px;
  font-weight: 800;
  padding: 16px 36px;
  border-radius: var(--radius-md);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
  transition: all 0.25s ease;
}

.btn-cta-main:hover {
  background: #f8fafc;
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.25);
  color: #0d47a1;
}

/* --------------------------------------------------------------------------
   SaaS Footer (Dark Navy Slate for Strong Anchoring)
   -------------------------------------------------------------------------- */
.clarity-footer {
  background: #0f172a;
  border-top: 1px solid #1e293b;
  padding: 64px 0 32px;
  color: #94a3b8;
}

.footer-top-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand-info p {
  font-size: 14px;
  line-height: 1.6;
  color: #94a3b8;
  margin-top: 14px;
  max-width: 320px;
}

.footer-col-title {
  font-size: 15px;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 20px 0;
}

.footer-links-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links-list a {
  color: #cbd5e1;
  font-size: 14px;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-links-list a:hover {
  color: #ffffff;
}

.footer-bottom-bar {
  padding-top: 28px;
  border-top: 1px solid #1e293b;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: #64748b;
}

/* --------------------------------------------------------------------------
   Responsive Design Breakpoints
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .hero-title { font-size: 42px; }
  .carousel-slide { grid-template-columns: 1fr; gap: 24px; }
  .carousel-slides-container { min-height: auto; }
  .slide-headline { font-size: 28px; }
  .product-cards-grid { grid-template-columns: 1fr; }
  .features-4-grid { grid-template-columns: repeat(2, 1fr); }
  .positioning-grid { grid-template-columns: 1fr; }
  .footer-top-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav-menu, .nav-actions { display: none; }
  .mobile-toggle { display: block; }
  
  .clarity-navbar.mobile-open .nav-menu {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 80px;
    left: 0;
    width: 100%;
    background: #ffffff;
    padding: 24px;
    border-bottom: 1px solid var(--clr-border);
    gap: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  }
  
  .clarity-navbar.mobile-open .nav-actions {
    display: flex;
    flex-direction: column;
    width: 100%;
    margin-top: 16px;
  }
  
  .hero-title { font-size: 34px; }
  .hero-subtitle { font-size: 16px; }
  .features-4-grid { grid-template-columns: 1fr; }
  .footer-top-grid { grid-template-columns: 1fr; }
  .footer-bottom-bar { flex-direction: column; gap: 12px; text-align: center; }
}
