/* ================================================================
       2026 SECTION DESIGN (everything below the hero)
       ================================================================ */
:root {
  --ink: #1b1052;
  --violet: #7c3aed;
  --pink: #ec4899;
  --gold: #FDBA21;
  --muted: #64748b;
  --line: #ece8ff;
}

.kx-sec { padding: 110px 0; position: relative; }
.kx-sec.tint { background: linear-gradient(180deg, #f5f3ff 0%, #ffffff 100%); }

.kx-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px; border-radius: 999px;
  font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--violet); background: #ede9fe;
}
.kx-eyebrow.light { color: #fff; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.22); }

.kx-title {
  font-size: clamp(30px, 4vw, 52px); font-weight: 800;
  line-height: 1.08; letter-spacing: -.02em; color: var(--ink); margin: 18px 0 0;
}
.kx-title.light { color: #fff; }
.kx-title .grad {
  background: linear-gradient(135deg, var(--violet), var(--pink));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}

.kx-p { color: #475569; font-size: 17px; line-height: 1.75; margin-top: 16px; }
.kx-p.light { color: rgba(255,255,255,.85); }

/* bento tiles */
.bento { display: grid; grid-template-columns: repeat(12, 1fr); gap: 20px; }
.tile {
  position: relative; border-radius: 30px; padding: 34px;
  background: #fff; border: 1px solid var(--line);
  box-shadow: 0 18px 40px rgba(27,16,82,.07);
  transition: transform .35s ease, box-shadow .35s ease;
  overflow: hidden;
}
.tile:hover { transform: translateY(-6px); box-shadow: 0 30px 60px rgba(27,16,82,.14); }
.tile.wide { grid-column: span 7; }
.tile.narrow { grid-column: span 5; }
.tile.dark {
  background: linear-gradient(135deg, #1b1052, #2a0f4a);
  border: 0; color: #fff;
}
.tile.glow {
  background: linear-gradient(135deg, var(--violet), var(--pink));
  border: 0; color: #fff;
}
.tile.glow h3, .tile.glow p, .tile.dark h3 { color: #fff; }
.tile h3 { font-size: 22px; font-weight: 800; color: var(--ink); margin: 0 0 8px; }
.tile p { color: var(--muted); margin: 0; line-height: 1.7; }

/* animated stat tile */
.stat-num {
  font-size: 60px; font-weight: 800; line-height: 1;
  background: linear-gradient(135deg, var(--violet), var(--pink));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.tile.glow .stat-num, .tile.dark .stat-num {
  background: none; -webkit-text-fill-color: #fff; color: #fff;
}
.stat-label { color: var(--muted); font-size: 15px; margin-top: 8px; display: block; }
.tile.glow .stat-label, .tile.dark .stat-label { color: rgba(255,255,255,.85); }

.tile .orb {
  position: absolute; width: 220px; height: 220px; border-radius: 50%;
  right: -60px; bottom: -60px; filter: blur(30px); opacity: .5;
  background: radial-gradient(circle, var(--gold), transparent 70%);
  pointer-events: none;
}

/* founder */
.founder-card { display: flex; flex-direction: column; align-items: center; text-align: center; }
.founder-img {
  padding: 6px; border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--pink), var(--violet));
  display: inline-block;
}
.founder-img img { width: 220px; height: 220px; object-fit: cover; border-radius: 50%; border: 6px solid #1b1052; display: block; }
.sign { margin-top: 20px; }
.sign b { display: block; font-size: 20px; color: var(--gold); }
.sign span { color: rgba(255,255,255,.75); font-size: 14px; }

/* products */
.prod { position: relative; border-radius: 28px; overflow: hidden; display: block; aspect-ratio: 4/5; background: #0d0a2e; }
.prod img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s ease, opacity .4s; }
.prod:hover img { transform: scale(1.06); opacity: .7; }
.prod .cap {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 22px;
  background: linear-gradient(180deg, transparent, rgba(13,10,46,.92));
  color: #fff; font-weight: 800; font-size: 18px;
}
.prod .cap small { display: block; font-weight: 500; font-size: 13px; opacity: .8; margin-top: 4px; }

/* testimonials */
.who { display: flex; align-items: center; gap: 12px; margin-top: 20px; }
.who img { width: 50px; height: 50px; border-radius: 50%; object-fit: cover; border: 3px solid var(--gold); }
.who b { display: block; font-size: 14px; color: var(--ink); }
.who small { color: var(--muted); font-size: 12px; }

/* clients marquee (two rows, opposite directions) */
.logo-row { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.logo-row + .logo-row { margin-top: 18px; }
.logo-track { display: flex; gap: 18px; width: max-content; animation: kxscroll 50s linear infinite; }
.logo-track.rev { animation-direction: reverse; }
.logo-row:hover .logo-track { animation-play-state: paused; }
.logo-track img {
  height: 84px; width: 170px; object-fit: contain; padding: 14px;
  background: #fff; border-radius: 22px; border: 1px solid var(--line);
  box-shadow: 0 8px 24px rgba(27,16,82,.06);
}
@keyframes kxscroll { to { transform: translateX(-50%); } }

/* footer */
.kx-foot { background: #0d0a2e; padding: 70px 0 24px; color: rgba(255,255,255,.72); }
.kx-foot h5 { color: var(--gold); font-size: 16px; font-weight: 700; margin-bottom: 14px; }
.kx-foot p { font-size: 14px; line-height: 1.7; margin-bottom: 10px; }
.kx-foot ul { list-style: none; padding: 0; margin: 0; }
.kx-foot li { margin-bottom: 8px; }
.kx-foot a { color: rgba(255,255,255,.75); font-size: 14px; }
.kx-foot a:hover { color: var(--gold); }
.kx-foot .social a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 50%; margin-right: 8px;
  border: 1px solid rgba(255,255,255,.18); font-size: 16px;
}
.kx-foot .copy {
  margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.12);
  text-align: center; font-size: 13px; color: rgba(255,255,255,.6);
}

/* responsive */
@media (max-width: 991px) {
  .tile.wide,
  .tile.narrow { grid-column: span 12; }
  .kx-sec { padding: 80px 0; }
}
@media (max-width: 575px) {
  .tile { padding: 26px; }
  .stat-num { font-size: 46px; }
  .logo-track img { width: 130px; height: 70px; }
}

/* about layout: stacked stat tiles that fill a clean two-column grid */
.stack { grid-column: span 5; display: flex; flex-direction: column; gap: 20px; }
.stack .glow { flex: 1.3; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.tile.stat { display: flex; flex-direction: column; justify-content: space-between; min-height: 180px; padding: 28px; }
.tile.stat .stat-num { font-size: 52px; }
.tile.stat .stat-label { font-size: 14px; }
.kx-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px; border-radius: 16px; font-weight: 700; color: #fff;
  background: linear-gradient(135deg, #7c3aed, #ec4899);
  box-shadow: 0 14px 30px rgba(124,58,237,.3); transition: transform .3s ease;
}
.kx-btn:hover { color: #fff; transform: translateY(-3px); }
.kx-p { font-size: 16px; line-height: 1.8; color: #334155; }
.tile p { font-size: 15px; }
@media (max-width: 991px) {
  .stack { grid-column: span 12; }
  .row2 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 575px) {
  .row2 { grid-template-columns: 1fr; }
}

/* rotating photo background for the 250+ tile */
.shuffle { isolation: isolate; }
.shuffle-imgs { position: absolute; inset: 0; z-index: 0; }
.shuffle-imgs img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transition: opacity 1.2s ease, transform 6s ease;
}
.shuffle-imgs img.active { opacity: 1; transform: scale(1.08); }
.shuffle::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(27,16,82,.25) 0%, rgba(27,16,82,.85) 100%);
}
.shuffle > .stat-num, .shuffle > .stat-label { position: relative; z-index: 2; }
.shuffle > .orb { z-index: 1; }
.shuffle-dots { position: absolute; top: 18px; right: 18px; z-index: 3; display: flex; gap: 6px; }
.shuffle-dots span { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,.4); transition: .4s; }
.shuffle-dots span.active { background: #FDBA21; width: 22px; border-radius: 6px; }
@media (prefers-reduced-motion: reduce) {
  .logo-track { animation: none; }
  .shuffle-imgs img { transition: none; }
}

/* ================================================================
   SPOTLIGHT TESTIMONIAL CAROUSEL
   ================================================================ */
.spotlight {
  position: relative;
  max-width: 920px;
  margin: 0 auto;
}
.sp-track {
  position: relative;
  border-radius: 32px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 24px 60px rgba(27,16,82,.1);
  overflow: hidden;
  min-height: 380px;
}
.sp-slide {
  display: none;
  grid-template-columns: 260px 1fr;
  align-items: stretch;
}
.sp-slide.active {
  display: grid;
  animation: spFade .6s ease;
}
@keyframes spFade {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}
.sp-photo {
  position: relative;
  min-height: 100%;
}
.sp-photo img {
  width: 100%;
  height: 100%;
  min-height: 380px;
  object-fit: cover;
  display: block;
}
.sp-photo::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(90deg, transparent 60%, rgba(255,255,255,.06));
}
.sp-body {
  padding: 48px 52px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.sp-body .qi { font-size: 46px; color: var(--violet); line-height: 1; }
.sp-body h4 { font-size: 24px; font-weight: 800; color: var(--ink); margin: 16px 0 14px; }
.sp-body p { font-size: 16px; line-height: 1.8; color: #475569; margin: 0; }
.sp-body .who { margin-top: 26px; }
.sp-body .who b { display: block; font-size: 16px; color: var(--ink); }
.sp-body .who small { color: var(--muted); font-size: 13px; }

.sp-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  z-index: 3; width: 46px; height: 46px; border-radius: 50%;
  border: 1px solid var(--line); background: #fff; color: var(--ink);
  font-size: 18px; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 24px rgba(27,16,82,.12); cursor: pointer; transition: .25s;
}
.sp-nav:hover { background: linear-gradient(135deg, var(--violet), var(--pink)); color: #fff; }
.sp-nav.prev { left: -23px; }
.sp-nav.next { right: -23px; }

.sp-dots {
  display: flex; justify-content: center; gap: 8px; margin-top: 24px;
}
.sp-dots span {
  width: 9px; height: 9px; border-radius: 50%;
  background: #ddd6fe; cursor: pointer; transition: .3s;
}
.sp-dots span.active { background: var(--violet); width: 26px; border-radius: 6px; }

@media (max-width: 767px) {
  .sp-slide.active { grid-template-columns: 1fr; }
  .sp-photo img { min-height: 220px; }
  .sp-body { padding: 32px 26px; }
  .sp-nav { display: none; }
}
