/* =============================================
   Fast Cyber — Custom Stylesheet
   ============================================= */

/* Fonts */
@font-face {
  font-family: 'Afacad';
  src: url('../fonts/Afacad-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Afacad';
  src: url('../fonts/Afacad-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* ---- Reset & Base ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
* { font-family: 'Afacad', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; }
html { scroll-behavior: smooth; }
body { color: #1a1a1a; background: #fff; -webkit-font-smoothing: antialiased; }
a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }
button { cursor: pointer; font-family: inherit; }
ul, ol { list-style: none; }

/* ---- CSS Variables ---- */
:root {
  --primary: #0055ff;
  --primary-10: rgba(0, 85, 255, 0.1);
  --primary-20: rgba(0, 85, 255, 0.2);
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-900: #111827;
  --dark-bg: #0d1f3c;
  --dark-border: #162d54;
  --radius-sm: 0.5rem;
  --radius-md: 0.75rem;
  --radius-lg: 1rem;
  --radius-xl: 1.5rem;
  --radius-2xl: 2rem;
  --shadow-sm: 0 1px 2px rgba(0,0,0,.05);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,.1), 0 2px 4px -1px rgba(0,0,0,.06);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,.1), 0 4px 6px -2px rgba(0,0,0,.05);
  --transition: all .2s ease;
}

/* ---- Layout ---- */
.container {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}
@media (min-width: 640px)  { .container { padding-left: 1.5rem; padding-right: 1.5rem; } }
@media (min-width: 1280px) { .container { max-width: 1280px; } }

.section {
  padding-top: 3rem;
  padding-bottom: 3rem;
}
@media (min-width: 768px) {
  .section { padding-top: 4rem; padding-bottom: 4rem; }
}

/* ---- Utility ---- */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.text-primary { color: var(--primary); }
.bg-primary   { background-color: var(--primary); }
.line-clamp-2 { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: .5rem; font-weight: 600; border-radius: var(--radius-lg);
  padding: .75rem 1.5rem; transition: var(--transition);
  min-height: 44px; font-size: 0.875rem; white-space: nowrap;
}
.btn-primary {
  background-color: var(--primary); color: #fff;
  box-shadow: 0 4px 12px rgba(0,85,255,.3);
}
.btn-primary:hover { background-color: #0044dd; }
.btn-outline {
  background-color: transparent; color: var(--primary);
  border: 1.5px solid var(--primary);
}
.btn-outline:hover { background-color: var(--primary); color: #fff; }
.btn-white {
  background-color: #fff; color: var(--primary); border: 2px solid #fff;
}
.btn-white:hover { background-color: #f5f5f5; }
.btn-ghost-white {
  background-color: rgba(255,255,255,.15); color: #fff;
  border: 2px solid rgba(255,255,255,.4);
}
.btn-ghost-white:hover { background-color: rgba(255,255,255,.25); }
.btn-dark {
  background-color: #0a1628; color: #fff;
}
.btn-dark:hover { background-color: #162d54; }
.btn-sm { padding: .5rem 1rem; font-size: .8rem; min-height: 36px; }

/* ==========================================
   TOP BAR
   ========================================== */
.topbar {
  background: var(--gray-100);
  border-bottom: 1px solid var(--gray-200);
  padding: .375rem 0;
  font-size: .75rem;
  color: var(--gray-600);
}
.topbar-inner {
  display: flex; align-items: center; justify-content: space-between; gap: .5rem;
}
.topbar-left { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.topbar-left a { display: flex; align-items: center; gap: .3rem; color: var(--gray-600); }
.topbar-left a:hover { color: var(--primary); }
.topbar-right { display: flex; align-items: center; gap: .4rem; color: var(--gray-600); }
.topbar-right svg { color: var(--primary); flex-shrink: 0; }
.topbar-divider { display: none; }
@media (min-width: 640px) { .topbar-divider { display: inline; color: var(--gray-300); } }
@media (max-width: 639px) { .topbar-left .topbar-email { display: none; } }

/* ==========================================
   HEADER
   ========================================== */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: #fff; border-bottom: 1px solid transparent;
  transition: border-color .2s, box-shadow .2s;
}
.site-header.scrolled {
  border-bottom-color: var(--gray-200);
  box-shadow: 0 1px 10px rgba(0,0,0,.06);
}

/* Desktop header */
.header-desktop {
  display: none;
  align-items: center; gap: 1.25rem;
  padding: .75rem 0;
}
@media (min-width: 1024px) { .header-desktop { display: flex; } }

.header-logo img { width: 140px; }

.header-nav {
  display: flex; align-items: center; gap: .25rem;
  margin-left: .5rem;
}
.nav-link {
  display: flex; align-items: center; gap: .25rem;
  padding: .5rem .75rem; border-radius: var(--radius-md);
  font-size: .9rem; font-weight: 500; color: var(--gray-700);
  transition: var(--transition);
}
.nav-link:hover { background: var(--gray-100); color: var(--gray-900); }
.nav-link--primary { color: var(--primary); font-weight: 600; }
.nav-link--primary:hover { color: var(--primary); background: rgba(0,85,255,.07); }

/* Products dropdown trigger */
.nav-dropdown { position: relative; }
#navMegaWrap { position: static; }
.nav-dropdown-btn {
  display: flex; align-items: center; gap: .25rem;
  padding: .5rem .75rem; border-radius: var(--radius-md);
  font-size: .9rem; font-weight: 500; color: var(--gray-700);
  background: none; border: none; transition: var(--transition);
}
.nav-dropdown-btn:hover { background: var(--gray-100); color: var(--gray-900); }
.nav-dropdown-btn svg { width: 14px; height: 14px; transition: transform .2s; }
.nav-dropdown:hover .nav-dropdown-btn svg { transform: rotate(180deg); }

.nav-dropdown-menu {
  position: absolute; top: calc(100% + .5rem); left: 0;
  background: #fff; border: 1px solid var(--gray-200); border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg); padding: .5rem;
  min-width: 200px; opacity: 0; visibility: hidden;
  transform: translateY(-8px); transition: all .2s;
  z-index: 50;
}
.nav-dropdown:hover .nav-dropdown-menu {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.nav-dropdown-item {
  display: block; padding: .6rem .75rem; border-radius: var(--radius-md);
  font-size: .875rem; color: var(--gray-700); transition: var(--transition);
}
.nav-dropdown-item:hover { background: var(--gray-100); color: var(--primary); }

.header-spacer { flex: 1; }

.header-search {
  flex: 1; max-width: 320px;
  display: flex; align-items: center;
  background: var(--gray-100); border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl); padding: .5rem .875rem; gap: .5rem;
  transition: var(--transition);
}
.header-search:focus-within { border-color: var(--primary); background: #fff; box-shadow: 0 0 0 3px var(--primary-10); }
.header-search input {
  border: none; background: transparent; outline: none;
  font-size: .875rem; color: var(--gray-900); width: 100%;
}
.header-search input::placeholder { color: var(--gray-400); }
.header-search svg { color: var(--gray-400); flex-shrink: 0; }

.header-actions { display: flex; align-items: center; gap: .5rem; }
.header-icon-btn {
  display: flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: var(--radius-md);
  background: none; border: none; color: var(--gray-700); transition: var(--transition);
  position: relative;
}
.header-icon-btn:hover { background: var(--gray-100); color: var(--gray-900); }
.header-signin {
  display: flex; align-items: center; gap: .375rem;
  padding: .375rem .625rem; border-radius: var(--radius-md);
  font-size: .875rem; font-weight: 500; color: var(--gray-700);
  transition: var(--transition);
}
.header-signin:hover { background: var(--gray-100); color: var(--gray-900); }
.header-signin span { white-space: nowrap; }
.cart-badge {
  position: absolute; top: 2px; right: 2px;
  background: var(--primary); color: #fff;
  font-size: .6rem; font-weight: 700; border-radius: 9999px;
  min-width: 16px; height: 16px; display: flex; align-items: center; justify-content: center;
  padding: 0 .25rem;
}

/* Mobile header */
.header-mobile {
  display: flex; align-items: center;
  padding: .75rem 0;
}
@media (min-width: 1024px) { .header-mobile { display: none; } }

.mobile-menu-btn {
  background: none; border: none; color: var(--gray-700);
  display: flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: var(--radius-md);
}
.mobile-menu-btn:hover { background: var(--gray-100); }

.mobile-logo-wrap { flex: 1; display: flex; justify-content: center; }
.mobile-logo-wrap img { width: 120px; }

.mobile-header-actions { display: flex; align-items: center; gap: .125rem; }
.mobile-header-actions .header-icon-btn { width: 36px; height: 36px; }

/* Mobile nav drawer */
.mobile-nav {
  position: fixed; top: 0; left: 0; bottom: 0; width: 85%; max-width: 320px;
  background: #fff; z-index: 60; transform: translateX(-100%);
  transition: transform .3s ease; overflow-y: auto;
  box-shadow: var(--shadow-lg);
}
.mobile-nav.open { transform: translateX(0); }
.mobile-nav-backdrop {
  position: fixed; inset: 0; background: rgba(0,0,0,.5); z-index: 59;
  opacity: 0; pointer-events: none; transition: opacity .3s;
}
.mobile-nav-backdrop.open { opacity: 1; pointer-events: all; }

.mobile-nav-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem 1.25rem; border-bottom: 1px solid var(--gray-200);
}
.mobile-nav-header img { width: 110px; }
.mobile-nav-close {
  background: none; border: none; color: var(--gray-600);
  width: 36px; height: 36px; display: flex; align-items: center; justify-content: center;
  border-radius: var(--radius-md);
}
.mobile-nav-close:hover { background: var(--gray-100); }

.mobile-nav-body { padding: .75rem; }
.mobile-nav-link {
  display: flex; align-items: center; gap: .5rem;
  padding: .875rem 1rem; border-radius: var(--radius-md);
  font-size: .95rem; font-weight: 500; color: var(--gray-700);
}
.mobile-nav-link:hover { background: var(--gray-100); }
.mobile-nav-section-title {
  font-size: .7rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .08em; color: var(--gray-400);
  padding: 1rem 1rem .5rem;
}
.mobile-nav-divider { border: none; border-top: 1px solid var(--gray-200); margin: .5rem 0; }
.mobile-nav-search {
  display: flex; align-items: center; gap: .5rem;
  margin: .75rem; background: var(--gray-100); border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl); padding: .625rem .875rem;
}
.mobile-nav-search input {
  border: none; background: transparent; outline: none;
  font-size: .9rem; width: 100%; color: var(--gray-900);
}
.mobile-nav-search input::placeholder { color: var(--gray-400); }
.mobile-nav-search svg { color: var(--gray-400); flex-shrink: 0; }

/* ==========================================
   HERO CAROUSEL
   ========================================== */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(219,234,254,.4) 0%, rgba(239,246,255,.2) 50%, rgba(219,234,254,.3) 100%);
}
@media (min-width: 768px) { .hero { min-height: 550px; } }
@media (min-width: 1024px) { .hero { min-height: 600px; } }

.hero-dots-bg {
  position: absolute; inset: 0;
  background-image: radial-gradient(circle at 2px 2px, #333 1px, transparent 0);
  background-size: 32px 32px;
  opacity: .025; pointer-events: none;
}

.hero-slides-wrapper { position: relative; width: 100%; }

.hero-slide {
  display: none;
  width: 100%;
  align-items: center;
}
@media (min-width: 768px)  { .hero-slide { min-height: 550px; } }
@media (min-width: 1024px) { .hero-slide { min-height: 600px; } }
.hero-slide.active { display: flex; }

.hero-slide-inner {
  width: 100%; padding: 1.5rem 0 3.5rem;
  display: grid; gap: 1.5rem; align-items: center;
}
@media (min-width: 1024px) {
  .hero-slide-inner {
    grid-template-columns: 1fr 1fr;
    gap: 2rem; padding: 3.5rem 0;
  }
}

/* Content (left col, order 2 on mobile, 1 on desktop) */
.hero-content { order: 2; }
@media (min-width: 1024px) { .hero-content { order: 1; } }

.hero-category-tag {
  display: inline-flex; align-items: center; gap: .375rem;
  background: #fff; border: 1px solid var(--gray-200);
  border-radius: 9999px; padding: .35rem .875rem;
  font-size: .8rem; font-weight: 600; color: var(--gray-600);
  box-shadow: 0 1px 3px rgba(0,0,0,.06);
  margin-bottom: .875rem;
}
.hero-category-tag svg { width: 12px; height: 12px; color: var(--primary); }

.hero-title {
  font-size: 2rem; font-weight: 700; line-height: 1.15;
  color: var(--gray-900); margin-bottom: .875rem;
}
@media (min-width: 640px)  { .hero-title { font-size: 2.5rem; } }
@media (min-width: 1024px) { .hero-title { font-size: 3rem; } }

.hero-description {
  font-size: .95rem; color: var(--gray-600); line-height: 1.6;
  margin-bottom: 1.25rem; max-width: 42ch;
}

.hero-price-tag {
  display: inline-flex; align-items: center; gap: .75rem;
  background: #fff; border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl); padding: .6rem 1rem;
  font-size: .85rem; margin-bottom: 1.5rem;
  box-shadow: var(--shadow-sm);
}
.hero-price-from { color: var(--gray-500); font-weight: 500; }
.hero-price-amount { font-size: 1.2rem; font-weight: 700; color: var(--primary); }
.hero-price-divider { width: 1px; height: 20px; background: var(--gray-200); }
.hero-price-note { color: var(--gray-500); font-size: .8rem; }

.hero-actions { display: flex; align-items: center; gap: .75rem; flex-wrap: wrap; }

/* Image (right col, order 1 on mobile, 2 on desktop) */
.hero-image-wrap {
  order: 1; position: relative;
  display: flex; align-items: center; justify-content: center;
}
@media (min-width: 1024px) { .hero-image-wrap { order: 2; } }

.hero-img-container {
  position: relative; width: 100%; max-width: 340px; margin: 0 auto;
}
@media (min-width: 640px)  { .hero-img-container { max-width: 400px; } }
@media (min-width: 1024px) { .hero-img-container { max-width: 480px; } }

.hero-img-bg {
  border-radius: var(--radius-2xl);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, #eff6ff 0%, #e8f0fe 100%);
  box-shadow: 0 20px 40px rgba(0,85,255,.08);
}
.hero-img-bg img {
  width: 100%; height: 100%; object-fit: cover;
}

.hero-badge {
  position: absolute; bottom: -8px; right: -8px;
  background: var(--primary); color: #fff;
  padding: .5rem 1rem; border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg); font-weight: 700; font-size: .875rem;
}
@media (min-width: 768px) {
  .hero-badge { bottom: 8px; right: 8px; }
}

/* Navigation buttons */
.hero-nav-btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  z-index: 10; background: rgba(255,255,255,.9);
  border: 1px solid var(--gray-200); border-radius: 9999px;
  width: 40px; height: 40px; display: flex; align-items: center; justify-content: center;
  color: var(--gray-700); box-shadow: var(--shadow-md); transition: var(--transition);
}
.hero-nav-btn:hover { background: #fff; box-shadow: var(--shadow-lg); color: var(--gray-900); }
.hero-nav-prev { left: .75rem; }
.hero-nav-next { right: .75rem; }
@media (max-width: 639px) { .hero-nav-btn { display: none; } }
@media (min-width: 1024px) {
  .hero-nav-btn { width: 48px; height: 48px; }
  .hero-nav-prev { left: 1.25rem; }
  .hero-nav-next { right: 1.25rem; }
}

/* Dot indicators */
.hero-dots {
  position: absolute; bottom: 1.25rem; left: 50%; transform: translateX(-50%);
  display: flex; align-items: center; gap: .5rem; z-index: 10;
}
@media (min-width: 640px) { .hero-dots { bottom: 1.5rem; } }
@media (min-width: 768px) { .hero-dots { bottom: 2rem; } }

.hero-dot-btn { background: none; border: none; padding: .25rem; }
.hero-dot-indicator {
  display: block; border-radius: 9999px; transition: all .3s;
  height: 10px; width: 10px; background: var(--gray-300);
}
.hero-dot-btn.active .hero-dot-indicator {
  width: 32px; background: var(--primary);
}
.hero-dot-btn.prev .hero-dot-indicator { opacity: .5; transform: scale(.85); }
.hero-dot-btn.far  .hero-dot-indicator { opacity: .25; transform: scale(.65); }

/* Slide animations */
@keyframes heroFadeIn {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes heroSlideIn {
  from { opacity: 0; transform: translateX(20px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes heroBadgePop {
  0%   { opacity: 0; transform: scale(.5); }
  70%  { transform: scale(1.1); }
  100% { opacity: 1; transform: scale(1); }
}
@keyframes heroImgIn {
  from { opacity: 0; transform: translateX(30px) scale(.97); }
  to   { opacity: 1; transform: translateX(0) scale(1); }
}

.hero-slide.active .hero-content     { animation: heroSlideIn .5s ease forwards; }
.hero-slide.active .hero-image-wrap  { animation: heroImgIn .6s ease forwards; }
.hero-slide.active .hero-category-tag { animation: heroFadeIn .4s ease .05s forwards; opacity: 0; }
.hero-slide.active .hero-title        { animation: heroFadeIn .4s ease .12s forwards; opacity: 0; }
.hero-slide.active .hero-description  { animation: heroFadeIn .4s ease .2s forwards; opacity: 0; }
.hero-slide.active .hero-price-tag    { animation: heroFadeIn .4s ease .28s forwards; opacity: 0; }
.hero-slide.active .hero-actions      { animation: heroFadeIn .4s ease .36s forwards; opacity: 0; }
.hero-slide.active .hero-badge        { animation: heroBadgePop .5s ease .5s forwards; opacity: 0; }

/* ==========================================
   VALUE PROPS BAR
   ========================================== */
.value-props {
  border-bottom: 1px solid var(--gray-100);
  background: #fff;
  padding: .875rem 0;
}
.value-props-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .5rem;
}
@media (min-width: 640px)  { .value-props-inner { grid-template-columns: repeat(4, 1fr); gap: .75rem; } }

.value-prop-item {
  display: flex; align-items: center; gap: .625rem;
  padding: .5rem .75rem; border-radius: var(--radius-md);
}
.value-prop-icon {
  width: 32px; height: 32px; border-radius: var(--radius-sm);
  background: var(--gray-100); display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; color: var(--primary);
}
.value-prop-text { display: flex; flex-direction: column; }
.value-prop-label {
  font-size: .75rem; font-weight: 700; color: var(--gray-900); line-height: 1.2;
}
.value-prop-sub {
  font-size: .65rem; color: var(--gray-500); line-height: 1.2;
}

/* ==========================================
   SECTION HEADER
   ========================================== */
.section-header {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 1rem; margin-bottom: 1.75rem;
}
.section-header-left {}
.section-label {
  display: inline-block; font-size: .75rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .08em; color: var(--primary);
  margin-bottom: .375rem;
}
.section-title {
  font-size: 1.5rem; font-weight: 700; color: var(--gray-900); line-height: 1.2;
}
@media (min-width: 768px) { .section-title { font-size: 1.875rem; } }
.section-view-all {
  font-size: .875rem; font-weight: 600; color: var(--primary);
  display: flex; align-items: center; gap: .25rem; white-space: nowrap;
  flex-shrink: 0;
}
.section-view-all:hover { text-decoration: underline; }
.section-view-all svg { width: 14px; height: 14px; }

/* ==========================================
   CATEGORIES GRID
   ========================================== */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .625rem;
}
@media (min-width: 480px)  { .categories-grid { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 640px)  { .categories-grid { grid-template-columns: repeat(5, 1fr); gap: .875rem; } }
@media (min-width: 1024px) { .categories-grid { grid-template-columns: repeat(6, 1fr); gap: 1rem; } }

.category-card {
  display: block; border-radius: var(--radius-xl); padding: .75rem .5rem;
  transition: var(--transition); text-align: center;
}
.category-card:hover { box-shadow: var(--shadow-md); background: var(--gray-50); }

.category-img-wrap {
  aspect-ratio: 1/1; border-radius: 9999px; overflow: hidden;
  background: linear-gradient(135deg, var(--gray-50), var(--gray-100));
  margin: 0 auto 0.625rem; width: 100%;
  max-width: 90px;
}
.category-img-wrap img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .5s;
}
.category-card:hover .category-img-wrap img { transform: scale(1.1); }
.category-name {
  font-size: .8rem; font-weight: 600; color: var(--gray-900); line-height: 1.3;
}
.category-card:hover .category-name { color: var(--primary); }

/* ==========================================
   DELIVERY LOCATIONS
   ========================================== */
.delivery-strip {
  padding: 1rem 0;
  border-bottom: 1px solid var(--gray-200);
  overflow: hidden;
}
.delivery-strip-inner {
  display: flex; align-items: center; gap: 1rem;
  overflow-x: auto; scrollbar-width: none; -ms-overflow-style: none;
  padding-bottom: .25rem;
}
.delivery-strip-inner::-webkit-scrollbar { display: none; }
.delivery-strip-label {
  font-size: .8rem; font-weight: 700; color: var(--gray-500);
  text-transform: uppercase; letter-spacing: .06em; white-space: nowrap; flex-shrink: 0;
}
.delivery-locations { display: flex; align-items: center; gap: .5rem; flex-wrap: nowrap; }
.delivery-location {
  display: flex; align-items: center; gap: .25rem;
  white-space: nowrap; font-size: .8rem; font-weight: 500; color: var(--gray-600);
}
.delivery-location svg { width: 12px; height: 12px; color: var(--primary); flex-shrink: 0; }
.delivery-dot {
  width: 4px; height: 4px; background: var(--gray-300); border-radius: 9999px;
}

/* ==========================================
   PRODUCT SECTIONS
   ========================================== */
.product-section { background: #fff; }
.product-section.bg-alt { background: var(--gray-50); }

.product-section-header {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 1rem; margin-bottom: 1.5rem;
}
.product-section-header .view-all-desktop {
  display: none; font-size: .875rem; font-weight: 600; color: var(--primary);
  align-items: center; gap: .25rem;
}
@media (min-width: 768px) { .product-section-header .view-all-desktop { display: flex; } }
.product-section-header .view-all-desktop:hover { text-decoration: underline; }
.product-section-header .view-all-desktop svg { width: 14px; height: 14px; }

.products-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: .75rem;
}
@media (min-width: 480px)  { .products-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 640px)  { .products-grid { grid-template-columns: repeat(3, 1fr); gap: 1rem; } }
@media (min-width: 1024px) { .products-grid { grid-template-columns: repeat(5, 1fr); gap: 1rem; } }

/* Product Card */
.product-card {
  display: block; background: #fff; border-radius: var(--radius-xl);
  overflow: hidden; border: 1px solid var(--gray-100);
  transition: border-color .3s, box-shadow .3s;
}
.product-card:hover {
  border-color: var(--gray-200);
  box-shadow: 0 10px 15px -3px rgba(0,0,0,.07), 0 4px 6px -2px rgba(0,0,0,.04);
}

.product-card-img-wrap {
  position: relative; aspect-ratio: 1/1; overflow: hidden; background: var(--gray-50);
}
.product-card-img-wrap img {
  width: 100%; height: 100%; object-fit: cover; transition: transform .5s;
}
.product-card:hover .product-card-img-wrap img { transform: scale(1.05); }

.product-card-badge {
  position: absolute; top: .625rem; left: .625rem;
  background: rgba(255,255,255,.92); backdrop-filter: blur(4px);
  padding: .2rem .6rem; border-radius: var(--radius-md);
  font-size: .65rem; font-weight: 600; color: var(--gray-600);
}

.product-card-body { padding: .875rem; }
.product-card-name {
  font-size: .875rem; font-weight: 600; color: var(--gray-900);
  line-height: 1.35; margin-bottom: .625rem;
  transition: color .2s;
}
.product-card:hover .product-card-name { color: var(--primary); }

.product-card-footer {
  display: flex; align-items: center; justify-content: space-between; gap: .5rem;
}
.product-card-pricing { display: flex; align-items: baseline; gap: .375rem; }
.product-card-kes {
  font-size: 1rem; font-weight: 700; color: var(--primary);
}
.product-card-usd { font-size: .7rem; color: var(--gray-400); }

.product-card-order {
  display: none; padding: .3rem .7rem; font-size: .75rem; font-weight: 600;
  border: 1.5px solid var(--gray-900); border-radius: var(--radius-md);
  color: var(--gray-900); background: none; transition: var(--transition);
  white-space: nowrap;
}
@media (min-width: 640px) { .product-card-order { display: inline-block; } }
.product-card:hover .product-card-order {
  border-color: var(--primary); color: var(--primary);
}

.view-all-mobile {
  display: flex; margin-top: 1.25rem;
}
@media (min-width: 768px) { .view-all-mobile { display: none; } }

/* ==========================================
   WHY CHOOSE US
   ========================================== */
.why-grid {
  display: grid; gap: 1.25rem;
  grid-template-columns: 1fr;
  margin-bottom: 2.5rem;
}
@media (min-width: 768px) { .why-grid { grid-template-columns: repeat(3, 1fr); } }

.why-card {
  background: #fff; border: 1px solid var(--gray-100);
  border-radius: var(--radius-xl); padding: 1.75rem 1.5rem;
  transition: var(--transition);
}
.why-card:hover { box-shadow: var(--shadow-lg); border-color: var(--gray-200); }
.why-icon {
  width: 52px; height: 52px; border-radius: var(--radius-xl);
  background: var(--primary-10); display: flex; align-items: center; justify-content: center;
  color: var(--primary); margin-bottom: 1rem;
}
.why-card-title {
  font-size: 1.1rem; font-weight: 700; color: var(--gray-900); margin-bottom: .5rem;
}
.why-card-text { font-size: .9rem; color: var(--gray-600); line-height: 1.6; }

.why-cta { text-align: center; }

/* ==========================================
   FAQ
   ========================================== */
.faq-grid {
  display: grid; gap: 1rem;
  grid-template-columns: 1fr;
}
@media (min-width: 1024px) { .faq-grid { grid-template-columns: 1fr 1fr; gap: 1rem 1.5rem; } }

.faq-item {
  border: 1px solid var(--gray-200); border-radius: var(--radius-xl);
  overflow: hidden; background: #fff;
  transition: border-color .2s, box-shadow .2s;
}
.faq-item.open { border-color: var(--gray-300); box-shadow: var(--shadow-sm); }

.faq-btn {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  gap: .75rem; padding: 1rem 1.25rem;
  background: none; border: none; text-align: left; cursor: pointer;
  transition: background .2s;
}
.faq-btn:hover { background: var(--gray-50); }
.faq-item.open .faq-btn { background: var(--gray-50); }

.faq-question {
  font-size: .9rem; font-weight: 600; color: var(--gray-900); line-height: 1.4;
}
.faq-icon {
  flex-shrink: 0; width: 28px; height: 28px; border-radius: 9999px;
  border: 1.5px solid var(--gray-200); display: flex; align-items: center; justify-content: center;
  color: var(--gray-500); transition: all .3s;
}
.faq-item.open .faq-icon { background: var(--primary); border-color: var(--primary); color: #fff; transform: rotate(45deg); }

.faq-answer-wrap {
  display: grid; grid-template-rows: 0fr; transition: grid-template-rows .3s ease;
}
.faq-item.open .faq-answer-wrap { grid-template-rows: 1fr; }
.faq-answer-inner { overflow: hidden; }
.faq-answer {
  padding: 0 1.25rem 1rem;
  font-size: .875rem; color: var(--gray-600); line-height: 1.7;
}

/* ==========================================
   SERVICE AREAS
   ========================================== */
.service-areas { background: var(--gray-50); }
.service-areas-header { text-align: center; margin-bottom: 1.75rem; }
.service-areas-title { font-size: 1.5rem; font-weight: 700; color: var(--gray-900); margin-bottom: .375rem; }
.service-areas-sub { color: var(--gray-500); font-size: .9rem; }

.service-areas-cards {
  display: grid; gap: 1rem; grid-template-columns: 1fr;
  max-width: 700px; margin: 0 auto;
}
@media (min-width: 640px) { .service-areas-cards { grid-template-columns: repeat(3, 1fr); } }

.service-area-card {
  background: #fff; border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl); padding: 1.25rem 1rem; text-align: center;
  transition: var(--transition);
}
.service-area-card:hover { box-shadow: var(--shadow-md); border-color: var(--gray-300); }
.service-area-card.free-card { border-color: rgba(0,85,255,.2); background: rgba(0,85,255,.02); }

.service-area-icon {
  width: 44px; height: 44px; border-radius: var(--radius-lg);
  background: var(--gray-100); margin: 0 auto .875rem;
  display: flex; align-items: center; justify-content: center; color: var(--primary);
}
.service-area-card.free-card .service-area-icon { background: var(--primary-10); }
.service-area-name { font-weight: 700; color: var(--gray-900); margin-bottom: .25rem; }
.service-area-price { font-size: 1.2rem; font-weight: 700; color: var(--primary); margin-bottom: .25rem; }
.service-area-sub { font-size: .75rem; color: var(--gray-400); }

/* ==========================================
   CTA SECTION
   ========================================== */
.cta-section { background: var(--gray-50); }
.cta-card {
  background: linear-gradient(135deg, #0033cc 0%, var(--primary) 50%, #3377ff 100%);
  border-radius: var(--radius-2xl); padding: 2.5rem 2rem;
  text-align: center; color: #fff;
  position: relative; overflow: hidden;
}
.cta-card::before {
  content: ''; position: absolute; top: -30%; right: -10%;
  width: 280px; height: 280px; border-radius: 9999px;
  background: rgba(255,255,255,.06); pointer-events: none;
}
.cta-card::after {
  content: ''; position: absolute; bottom: -20%; left: 5%;
  width: 200px; height: 200px; border-radius: 9999px;
  background: rgba(255,255,255,.04); pointer-events: none;
}
.cta-title {
  font-size: 1.75rem; font-weight: 700; margin-bottom: .625rem; line-height: 1.2;
}
@media (min-width: 640px) { .cta-title { font-size: 2rem; } }
.cta-desc { font-size: .95rem; opacity: .85; margin-bottom: 1.75rem; max-width: 42ch; margin-left: auto; margin-right: auto; }
.cta-actions { display: flex; align-items: center; justify-content: center; gap: .875rem; flex-wrap: wrap; }

/* ==========================================
   CONTACT STRIP
   ========================================== */
.contact-strip {
  background: linear-gradient(135deg, rgba(219,234,254,.7) 0%, rgba(219,234,254,.4) 100%);
  border-top: 1px solid rgba(0,85,255,.1);
  border-bottom: 1px solid rgba(0,85,255,.1);
  padding: 2rem 0;
}
.contact-strip-grid {
  display: grid; gap: 1.25rem;
  grid-template-columns: 1fr;
}
@media (min-width: 640px)  { .contact-strip-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .contact-strip-grid { grid-template-columns: repeat(3, 1fr); } }

.contact-item {
  display: flex; align-items: center; gap: 1rem; padding: .875rem 1rem;
  background: rgba(255,255,255,.7); border: 1px solid rgba(0,85,255,.08);
  border-radius: var(--radius-xl); transition: var(--transition);
}
.contact-item:hover { background: rgba(255,255,255,.9); box-shadow: var(--shadow-sm); }
.contact-icon {
  width: 44px; height: 44px; border-radius: var(--radius-lg);
  background: var(--primary-10); display: flex; align-items: center; justify-content: center;
  color: var(--primary); flex-shrink: 0;
}
.contact-info-label { font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--gray-400); margin-bottom: .125rem; }
.contact-info-value { font-size: .9rem; font-weight: 600; color: var(--gray-900); }

/* ==========================================
   FOOTER
   ========================================== */
.site-footer { background: var(--dark-bg); color: rgba(255,255,255,.7); }

/* Newsletter */
.footer-newsletter {
  border-bottom: 1px solid var(--dark-border);
  padding: 2rem 0;
}
.newsletter-inner {
  max-width: 42rem; margin: 0 auto; text-align: center;
}
.newsletter-title {
  font-size: 1.1rem; font-weight: 600; color: #ccc; margin-bottom: .3rem;
}
.newsletter-sub { font-size: .875rem; color: #999; margin-bottom: 1.25rem; }

.newsletter-form { max-width: 28rem; margin: 0 auto; }
.newsletter-inputs {
  display: flex; flex-direction: column; gap: .5rem; margin-bottom: .5rem;
}
@media (min-width: 640px) { .newsletter-inputs { flex-direction: row; } }

.newsletter-input {
  flex: 1; padding: .625rem 1rem;
  background: #162d54; border: 1px solid #1e3a6e; border-radius: var(--radius-md);
  color: #fff; font-size: .875rem; font-family: inherit; outline: none;
  transition: border-color .2s;
}
.newsletter-input::placeholder { color: #888; }
.newsletter-input:focus { border-color: var(--primary); }
.newsletter-input-phone { flex: 0 0 auto; }
@media (min-width: 640px) { .newsletter-input-phone { max-width: 140px; } }

.newsletter-btn {
  width: 100%; padding: .625rem 1.25rem; background: var(--primary); color: #fff;
  border: none; border-radius: var(--radius-md); font-weight: 600; font-size: .875rem;
  font-family: inherit; cursor: pointer; transition: var(--transition);
  display: flex; align-items: center; justify-content: center; gap: .5rem;
}
@media (min-width: 640px) { .newsletter-btn { width: auto; } }
.newsletter-btn:hover { background: #e0002b; }

/* Footer links grid */
.footer-links-grid {
  border-bottom: 1px solid var(--dark-border);
}
.footer-links-grid-inner {
  padding: 2.5rem 0 2rem;
  display: grid; gap: 2rem;
  grid-template-columns: 1fr;
}
@media (min-width: 640px)  { .footer-links-grid-inner { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .footer-links-grid-inner { grid-template-columns: 1.6fr 1fr 1fr 1fr 1fr; gap: 1.5rem; } }

.footer-brand img { width: 120px; margin-bottom: 1rem; filter: brightness(0) invert(1); }
.footer-brand-desc { font-size: .825rem; line-height: 1.6; color: rgba(255,255,255,.45); margin-bottom: 1.25rem; }
.footer-contact-item {
  display: flex; align-items: center; gap: .5rem;
  font-size: .825rem; color: rgba(255,255,255,.5); margin-bottom: .5rem;
}
.footer-contact-item svg { color: rgba(255,255,255,.3); flex-shrink: 0; }
.footer-contact-item a:hover { color: rgba(255,255,255,.85); }

.footer-socials { display: flex; align-items: center; gap: .75rem; margin-top: 1rem; }
.footer-social-btn {
  color: #888; transition: color .2s;
  display: flex; align-items: center; justify-content: center;
}
.footer-social-btn:hover { color: #fff; }

/* Footer column */
.footer-col-title {
  font-size: .8rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .07em; color: rgba(255,255,255,.55); margin-bottom: 1rem;
  /* Mobile accordion */
  display: flex; align-items: center; justify-content: space-between;
  cursor: pointer;
}
@media (min-width: 1024px) { .footer-col-title { cursor: default; } }
.footer-col-title svg { width: 14px; height: 14px; transition: transform .2s; }
@media (min-width: 1024px) { .footer-col-title svg { display: none; } }
.footer-col.open .footer-col-title svg { transform: rotate(180deg); }

.footer-col-links {
  display: none; flex-direction: column; gap: .375rem;
}
@media (min-width: 1024px) { .footer-col-links { display: flex; } }
.footer-col.open .footer-col-links { display: flex; }

.footer-col-link {
  font-size: .825rem; color: rgba(255,255,255,.45); transition: color .2s;
  padding: .125rem 0;
}
.footer-col-link:hover { color: rgba(255,255,255,.85); }

/* Footer bottom */
.footer-bottom {
  border-top: 1px solid var(--dark-border);
  padding: 1.25rem 0;
}
.footer-bottom-actions {
  display: flex; align-items: center; flex-wrap: wrap; gap: .625rem;
  justify-content: center;
}
.footer-action-btn {
  padding: .375rem 1rem; font-size: .8125rem; font-weight: 500;
  border: 1px solid #888; border-radius: var(--radius-md);
  color: #aaa; background: none;
  transition: color .2s, border-color .2s;
}
.footer-action-btn:hover { color: #fff; border-color: #fff; }
.footer-action-btn.highlight {
  border-color: #fff; color: #fff;
}
.footer-action-btn.highlight:hover { background: #fff; color: var(--gray-900); }

.footer-bottom-sep { color: #555; font-size: .8125rem; display: none; }
@media (min-width: 640px) { .footer-bottom-sep { display: inline; } }
.footer-payments { color: #888; font-size: .8125rem; }

/* Footer copyright */
.footer-copyright {
  padding: 1.25rem 0;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: .75rem;
}
.footer-copyright-text { font-size: .775rem; color: rgba(255,255,255,.3); }
.footer-copyright-text a { color: rgba(255,255,255,.45); }
.footer-copyright-text a:hover { color: rgba(255,255,255,.7); }
.footer-legal-links { display: flex; align-items: center; gap: 1rem; }
.footer-legal-links a { font-size: .775rem; color: rgba(255,255,255,.3); }
.footer-legal-links a:hover { color: rgba(255,255,255,.6); }

/* ---- Floating action buttons ---- */
.float-ai-btn {
  position: fixed; bottom: 1.25rem; left: 1.25rem; z-index: 999;
  background: #111; color: #fff; border: none;
  border-radius: 9999px; padding: .7rem 1.1rem;
  display: flex; align-items: center; gap: .5rem;
  font-size: .8rem; font-weight: 600;
  box-shadow: 0 4px 14px rgba(0,0,0,.35);
  cursor: pointer; transition: transform .18s, box-shadow .18s;
  font-family: inherit; white-space: nowrap;
}
.float-ai-btn:hover { transform: translateY(-2px); box-shadow: 0 6px 18px rgba(0,0,0,.45); }
.float-ai-btn svg { flex-shrink: 0; }

.float-wa-btn {
  position: fixed; bottom: 1.25rem; right: 1.25rem; z-index: 999;
  background: #25D366; color: #fff;
  border-radius: 9999px; padding: .7rem 1.1rem;
  display: flex; align-items: center; gap: .5rem;
  font-size: .8rem; font-weight: 600;
  box-shadow: 0 4px 14px rgba(37,211,102,.45);
  transition: transform .18s, box-shadow .18s;
  text-decoration: none; white-space: nowrap;
}
.float-wa-btn:hover { transform: translateY(-2px); box-shadow: 0 6px 18px rgba(37,211,102,.6); color: #fff; }

/* ==========================================
   INTRO SECTION
   ========================================== */
.intro-section {
  padding: 2.5rem 0 1.5rem;
  border-bottom: 1px solid var(--gray-100);
}
.intro-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem; flex-wrap: wrap;
}
.intro-text { max-width: 640px; }
.intro-title { font-size: 1.25rem; font-weight: 700; color: var(--gray-900); margin-bottom: .375rem; }
.intro-sub { font-size: .9rem; color: var(--gray-500); line-height: 1.6; }
.intro-actions { display: flex; gap: .625rem; flex-shrink: 0; flex-wrap: wrap; }

/* ---- Sign In Page ---- */
.signin-page-wrap {
  min-height: calc(100vh - 160px);
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f3f4f6;
  padding: 3rem 1rem;
}
.signin-card {
  background: #fff;
  border-radius: 1.5rem;
  box-shadow: 0 10px 40px rgba(0,0,0,.1);
  padding: 2.5rem 2rem;
  width: 100%;
  max-width: 420px;
}
.signin-card-header { text-align: center; margin-bottom: 2rem; }
.signin-title { font-size: 1.5rem; font-weight: 700; color: var(--gray-900); margin: 0 0 .375rem; }
.signin-subtitle { font-size: .9375rem; color: var(--gray-500); margin: 0; }
.signin-form { display: flex; flex-direction: column; gap: 1.25rem; }
.signin-field { display: flex; flex-direction: column; gap: .375rem; }
.signin-label { font-size: .875rem; font-weight: 500; color: var(--gray-700); }
.signin-input-wrap { position: relative; }
.signin-input-icon {
  position: absolute; left: .875rem; top: 50%; transform: translateY(-50%);
  color: var(--gray-400); pointer-events: none;
}
.signin-input {
  width: 100%; padding: .875rem 1rem .875rem 2.75rem;
  border: 2px solid var(--gray-200); border-radius: 1rem;
  font-size: .9375rem; color: var(--gray-900); background: #fff;
  outline: none; transition: border-color .15s;
  font-family: inherit; box-sizing: border-box;
}
.signin-input:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(0,85,255,.1); }
.signin-input::placeholder { color: var(--gray-400); }
.signin-btn {
  display: flex; align-items: center; justify-content: center; gap: .5rem;
  width: 100%; padding: 1rem 1.5rem;
  background: var(--primary); color: #fff;
  border: none; border-radius: 1rem; cursor: pointer;
  font-size: 1rem; font-weight: 600; font-family: inherit;
  transition: background .15s, transform .15s;
  min-height: 52px;
}
.signin-btn:hover { background: #0044dd; transform: translateY(-1px); }
.signin-card-footer { margin-top: 1.5rem; padding-top: 1.5rem; border-top: 1px solid var(--gray-100); text-align: center; }
.signin-signup-text { font-size: .9rem; color: var(--gray-600); margin: 0; }
.signin-link { color: var(--primary); font-weight: 600; text-decoration: none; }
.signin-link:hover { text-decoration: underline; }
.signin-terms { text-align: center; font-size: .8125rem; color: var(--gray-400); margin: 1rem 0 0; }
