/* ═══════════════════════════════════════════════════════
   KorpoLab — Modern Design System v2
   ═══════════════════════════════════════════════════════ */

/* Google Fonts loaded async from HTML <head> — no @import needed */

/* ─── Utility classes (replaces Tailwind CDN) ─── */
*, ::before, ::after { box-sizing: border-box; }
a { color: inherit; text-decoration: none; }
img, svg, video { display: block; max-width: 100%; }
button { cursor: pointer; background: none; border: none; padding: 0; font: inherit; color: inherit; }
.relative { position: relative; }
.absolute { position: absolute; }
.fixed { position: fixed; }
.sticky { position: sticky; }
.inset-0 { inset: 0; }
.top-0 { top: 0; }
.-top-10 { top: -2.5rem; }
.-top-24 { top: -6rem; }
.-bottom-10 { bottom: -2.5rem; }
.-bottom-28 { bottom: -7rem; }
.-right-10 { right: -2.5rem; }
.-right-28 { right: -7rem; }
.-left-10 { left: -2.5rem; }
.-left-24 { left: -6rem; }
.z-10 { z-index: 10; }
.z-20 { z-index: 20; }
.z-40 { z-index: 40; }
.-z-10 { z-index: -10; }
.overflow-hidden { overflow: hidden; }
.overflow-x-hidden { overflow-x: hidden; }
.min-h-screen { min-height: 100vh; }
.pointer-events-none { pointer-events: none; }
.block { display: block; }
.hidden { display: none; }
.flex { display: flex; }
.inline-flex { display: inline-flex; }
.grid { display: grid; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.items-end { align-items: flex-end; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.flex-col { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.flex-shrink-0 { flex-shrink: 0; }
.shrink-0 { flex-shrink: 0; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-5 { gap: 1.25rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }
.gap-10 { gap: 2.5rem; }
.gap-12 { gap: 3rem; }
.gap-16 { gap: 4rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.px-5 { padding-left: 1.25rem; padding-right: 1.25rem; }
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.px-8 { padding-left: 2rem; padding-right: 2rem; }
.py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.py-2\.5 { padding-top: 0.625rem; padding-bottom: 0.625rem; }
.py-3 { padding-top: 0.75rem; padding-bottom: 0.75rem; }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.py-8 { padding-top: 2rem; padding-bottom: 2rem; }
.py-10 { padding-top: 2.5rem; padding-bottom: 2.5rem; }
.py-12 { padding-top: 3rem; padding-bottom: 3rem; }
.py-16 { padding-top: 4rem; padding-bottom: 4rem; }
.py-20 { padding-top: 5rem; padding-bottom: 5rem; }
.py-28 { padding-top: 7rem; padding-bottom: 7rem; }
.p-4 { padding: 1rem; }
.p-6 { padding: 1.5rem; }
.p-8 { padding: 2rem; }
.pt-6 { padding-top: 1.5rem; }
.pt-16 { padding-top: 4rem; }
.pt-24 { padding-top: 6rem; }
.pb-4 { padding-bottom: 1rem; }
.pb-16 { padding-bottom: 4rem; }
.pb-24 { padding-bottom: 6rem; }
.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-10 { margin-bottom: 2.5rem; }
.mb-12 { margin-bottom: 3rem; }
.mb-16 { margin-bottom: 4rem; }
.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-10 { margin-top: 2.5rem; }
.mx-auto { margin-left: auto; margin-right: auto; }
.mr-2 { margin-right: 0.5rem; }
.w-4 { width: 1rem; }
.w-8 { width: 2rem; }
.w-9 { width: 2.25rem; }
.w-10 { width: 2.5rem; }
.w-12 { width: 3rem; }
.w-40 { width: 10rem; }
.w-48 { width: 12rem; }
.w-80 { width: 20rem; }
.w-96 { width: 24rem; }
.w-full { width: 100%; }
.h-4 { height: 1rem; }
.h-8 { height: 2rem; }
.h-9 { height: 2.25rem; }
.h-10 { height: 2.5rem; }
.h-12 { height: 3rem; }
.h-40 { height: 10rem; }
.h-48 { height: 12rem; }
.h-80 { height: 20rem; }
.h-96 { height: 24rem; }
.h-full { height: 100%; }
.max-w-xs { max-width: 20rem; }
.max-w-xl { max-width: 36rem; }
.max-w-2xl { max-width: 42rem; }
.max-w-3xl { max-width: 48rem; }
.max-w-4xl { max-width: 56rem; }
.max-w-5xl { max-width: 64rem; }
.max-w-6xl { max-width: 72rem; }
.max-w-7xl { max-width: 80rem; }
.min-w-\[260px\] { min-width: 260px; }
.aspect-\[4\/3\] { aspect-ratio: 4 / 3; }
.aspect-video { aspect-ratio: 16 / 9; }
.font-body { font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif; }
.font-display { font-family: 'Space Grotesk', 'Inter', sans-serif; }
.font-bold { font-weight: 700; }
.font-semibold { font-weight: 600; }
.font-medium { font-weight: 500; }
.text-xs { font-size: 0.75rem; line-height: 1rem; }
.text-sm { font-size: 0.875rem; line-height: 1.25rem; }
.text-base { font-size: 1rem; line-height: 1.5rem; }
.text-lg { font-size: 1.125rem; line-height: 1.75rem; }
.text-xl { font-size: 1.25rem; line-height: 1.75rem; }
.text-2xl { font-size: 1.5rem; line-height: 2rem; }
.text-3xl { font-size: 1.875rem; line-height: 2.25rem; }
.text-4xl { font-size: 2.25rem; line-height: 2.5rem; }
.text-5xl { font-size: 3rem; line-height: 1; }
.text-6xl { font-size: 3.75rem; line-height: 1; }
.text-\[10px\] { font-size: 10px; }
.text-\[11px\] { font-size: 11px; }
.text-\[13px\] { font-size: 13px; }
.leading-tight { line-height: 1.25; }
.leading-relaxed { line-height: 1.625; }
.tracking-tight { letter-spacing: -0.025em; }
.tracking-wide { letter-spacing: 0.025em; }
.tracking-wider { letter-spacing: 0.05em; }
.tracking-\[0\.25em\] { letter-spacing: 0.25em; }
.tracking-\[0\.3em\] { letter-spacing: 0.3em; }
.uppercase { text-transform: uppercase; }
.text-center { text-align: center; }
.text-slate-100 { color: #f1f5f9; }
.text-slate-300 { color: #cbd5e1; }
.text-slate-400 { color: #94a3b8; }
.text-slate-500 { color: #64748b; }
.text-slate-700 { color: #334155; }
.text-slate-800 { color: #1e293b; }
.text-slate-900 { color: #0f172a; }
.text-white { color: #fff; }
.text-kpurple { color: #7C3AED; }
.text-kpurple\/70 { color: rgba(124, 58, 237, 0.7); }
.text-kcyan\/80 { color: rgba(34, 211, 238, 0.8); }
.bg-kdark { background-color: #f8fafc; }
.bg-white { background-color: #fff; }
.bg-slate-50 { background-color: #f8fafc; }
.bg-kpurple\/35 { background-color: rgba(124, 58, 237, 0.35); }
.bg-kcyan\/25 { background-color: rgba(34, 211, 238, 0.25); }
.bg-purple-50 { background-color: rgb(250, 245, 255); }
.bg-purple-400\/20 { background-color: rgba(192, 132, 252, 0.2); }
.bg-purple-400\/15 { background-color: rgba(192, 132, 252, 0.15); }
.bg-pink-400\/20 { background-color: rgba(244, 114, 182, 0.2); }
.bg-cyan-400\/20 { background-color: rgba(34, 211, 238, 0.2); }
.bg-emerald-400\/15 { background-color: rgba(52, 211, 153, 0.15); }
.bg-indigo-400\/15 { background-color: rgba(129, 140, 248, 0.15); }
.bg-kpurple\/15 { background-color: rgba(124, 58, 237, 0.15); }
.bg-orange-400\/20 { background-color: rgba(251, 146, 60, 0.2); }
.bg-amber-400\/15 { background-color: rgba(251, 191, 36, 0.15); }
.bg-gradient-to-br { background-image: linear-gradient(to bottom right, var(--tw-gradient-from), var(--tw-gradient-to)); }
.bg-gradient-to-r { background-image: linear-gradient(to right, var(--tw-gradient-from), var(--tw-gradient-to)); }
.bg-gradient-to-b { background-image: linear-gradient(to bottom, var(--tw-gradient-from), var(--tw-gradient-to)); }
.from-kpurple { --tw-gradient-from: #7C3AED; --tw-gradient-to: rgba(124, 58, 237, 0); }
.from-kpurple\/10 { --tw-gradient-from: rgba(124, 58, 237, 0.1); --tw-gradient-to: rgba(124, 58, 237, 0); }
.from-kpurple\/5 { --tw-gradient-from: rgba(124, 58, 237, 0.05); --tw-gradient-to: rgba(124, 58, 237, 0); }
.from-purple-50 { --tw-gradient-from: rgb(250, 245, 255); --tw-gradient-to: rgba(250, 245, 255, 0); }
.to-kcyan { --tw-gradient-to: #22D3EE; }
.to-kcyan\/10 { --tw-gradient-to: rgba(34, 211, 238, 0.1); }
.to-kcyan\/5 { --tw-gradient-to: rgba(34, 211, 238, 0.05); }
.to-transparent { --tw-gradient-to: transparent; }
.bg-\[radial-gradient\(circle_at_top\2c _rgba\(124\2c 58\2c 237\2c 0\.4\)\2c _transparent_60\%\)\2c radial-gradient\(circle_at_bottom\2c _rgba\(34\2c 211\2c 238\2c 0\.25\)\2c _transparent_55\%\)\] {
  background: radial-gradient(circle at top, rgba(124,58,237,0.4), transparent 60%),
              radial-gradient(circle at bottom, rgba(34,211,238,0.25), transparent 55%);
}
.border { border-width: 1px; border-style: solid; border-color: #e2e8f0; }
.border-t { border-top-width: 1px; border-top-style: solid; }
.border-y { border-top-width: 1px; border-bottom-width: 1px; border-style: solid; }
.border-slate-100 { border-color: #f1f5f9; }
.border-slate-200 { border-color: #e2e8f0; }
.border-purple-200 { border-color: #e9d5ff; }
.border-white\/5 { border-color: rgba(255, 255, 255, 0.05); }
.rounded-lg { border-radius: 0.5rem; }
.rounded-xl { border-radius: 0.75rem; }
.rounded-2xl { border-radius: 1rem; }
.rounded-3xl { border-radius: 1.5rem; }
.rounded-full { border-radius: 9999px; }
.object-contain { object-fit: contain; }
.object-cover { object-fit: cover; }
.shadow-lg { box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1); }
.shadow-kpurple\/40 { --tw-shadow-color: rgba(124, 58, 237, 0.4); box-shadow: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color); }
.blur-\[80px\] { filter: blur(80px); }
.opacity-60 { opacity: 0.6; }
.transition { transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); transition-duration: 150ms; }
.transition-colors { transition-property: color, background-color, border-color, text-decoration-color, fill, stroke; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); transition-duration: 150ms; }
.transition-all { transition-property: all; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); transition-duration: 150ms; }
.duration-300 { transition-duration: 300ms; }
.space-y-4 > :not([hidden]) ~ :not([hidden]) { margin-top: 1rem; }
.space-y-6 > :not([hidden]) ~ :not([hidden]) { margin-top: 1.5rem; }
.space-y-8 > :not([hidden]) ~ :not([hidden]) { margin-top: 2rem; }
.space-y-12 > :not([hidden]) ~ :not([hidden]) { margin-top: 3rem; }
.hover\:text-slate-900:hover { color: #0f172a; }
.hover\:text-kpurple:hover { color: #7C3AED; }
.hover\:text-kcyan:hover { color: #22D3EE; }
.hover\:shadow-kcyan\/40:hover { --tw-shadow-color: rgba(34, 211, 238, 0.4); box-shadow: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color); }
@media (min-width: 640px) {
  .sm\:text-base { font-size: 1rem; line-height: 1.5rem; }
  .sm\:text-lg { font-size: 1.125rem; line-height: 1.75rem; }
  .sm\:text-xl { font-size: 1.25rem; line-height: 1.75rem; }
  .sm\:text-2xl { font-size: 1.5rem; line-height: 2rem; }
  .sm\:text-3xl { font-size: 1.875rem; line-height: 2.25rem; }
  .sm\:text-4xl { font-size: 2.25rem; line-height: 2.5rem; }
  .sm\:text-5xl { font-size: 3rem; line-height: 1; }
  .sm\:flex-row { flex-direction: row; }
}
@media (min-width: 768px) {
  .md\:flex { display: flex; }
  .md\:hidden { display: none; }
  .md\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .md\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .md\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
  .lg\:flex-row { flex-direction: row; }
  .lg\:items-center { align-items: center; }
  .lg\:justify-between { justify-content: space-between; }
  .lg\:col-span-2 { grid-column: span 2 / span 2; }
  .lg\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lg\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .lg\:text-4xl { font-size: 2.25rem; line-height: 2.5rem; }
  .lg\:text-5xl { font-size: 3rem; line-height: 1; }
  .lg\:text-6xl { font-size: 3.75rem; line-height: 1; }
}

/* ─── Design System ─── */

:root {
  --kl-glass-bg: rgba(255, 255, 255, 0.6);
  --kl-glass-bg-strong: rgba(255, 255, 255, 0.75);
  --kl-glass-border: rgba(0, 0, 0, 0.06);
  --kl-glass-border-strong: rgba(0, 0, 0, 0.1);
  --kl-shadow: 0 25px 80px rgba(0, 0, 0, 0.08);
  --kl-text: #1e293b;
  --kl-text-soft: #64748b;
  --kl-radius: 24px;
  --kl-ring: rgba(124, 58, 237, 0.55);
  --kl-ring-soft: rgba(168, 85, 247, 0.45);
  --kl-purple: #7C3AED;
  --kl-cyan: #06b6d4;
  --kl-pink: #ec4899;
  --kl-orange: #f97316;
  --kl-emerald: #10b981;
  --kl-dark: #f8fafc;
  --kl-transition: cubic-bezier(0.22, 1, 0.36, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--kl-text);
  letter-spacing: -0.01em;
  background: var(--kl-dark);
  overflow-x: hidden;
}

::selection {
  background: rgba(124, 58, 237, 0.15);
  color: #1e293b;
}

p {
  line-height: 1.75;
}

h1, h2, h3, h4 {
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

/* ─── Cinematic Hero ─── */
.kl-hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.kl-hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.kl-hero__media img,
.kl-hero__media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.kl-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg,
      rgba(10, 15, 40, 0.55) 0%,
      rgba(10, 15, 40, 0.70) 40%,
      rgba(10, 15, 40, 0.85) 100%),
    linear-gradient(135deg,
      rgba(59, 130, 246, 0.25) 0%,
      rgba(14, 165, 233, 0.15) 50%,
      rgba(37, 99, 235, 0.20) 100%);
}

.kl-hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 900px;
  padding: 0 24px;
}

.kl-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 32px;
}

.kl-hero__badge .pulse-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #3b82f6;
  animation: kl-pulse-dot 2s ease-in-out infinite;
}

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

.kl-hero__title {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  line-height: 1.05;
  color: #fff;
  letter-spacing: -0.04em;
  margin-bottom: 24px;
}

.kl-hero__title .kl-hero__accent {
  display: inline;
  color: #3b82f6;
}

.kl-hero__accent::after {
  content: '|';
  display: inline-block;
  background: none;
  -webkit-text-fill-color: #3b82f6;
  animation: kl-blink-cursor 0.7s step-end infinite;
  margin-left: 2px;
  font-weight: 300;
}

.kl-hero__accent--no-cursor::after {
  opacity: 0;
}

@keyframes kl-blink-cursor {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

@keyframes kl-gradient-shift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.kl-hero__sub {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.7;
  max-width: 600px;
  margin: 0 auto 40px;
}

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

.kl-hero__btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 100px;
  background: linear-gradient(135deg, #2563eb, #3b82f6);
  color: #fff;
  font-weight: 600;
  font-size: 0.875rem;
  text-decoration: none;
  transition: transform 0.3s var(--kl-transition), box-shadow 0.3s;
  box-shadow: 0 4px 24px rgba(37, 99, 235, 0.35);
}

.kl-hero__btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(37, 99, 235, 0.5);
}

.kl-hero__btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.85);
  font-weight: 600;
  font-size: 0.875rem;
  text-decoration: none;
  transition: transform 0.3s var(--kl-transition), background 0.3s, border-color 0.3s;
}

.kl-hero__btn-secondary:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.3);
}

.kl-hero__stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  margin-top: 56px;
}

.kl-hero__stat-value {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1.75rem;
  color: #fff;
}

.kl-hero__stat-label {
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.45);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 4px;
}

.kl-hero__scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.kl-hero__scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.4), transparent);
  animation: kl-scroll-line 2s ease-in-out infinite;
}

@keyframes kl-scroll-line {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

@media (max-width: 768px) {
  .kl-hero__stats {
    gap: 24px;
  }
  .kl-hero__stat-value {
    font-size: 1.3rem;
  }
  .kl-hero__scroll {
    display: none;
  }
}

/* ─── Custom Cursor ─── */
.kl-cursor {
  position: fixed;
  width: 20px;
  height: 20px;
  border: 2px solid rgba(124, 58, 237, 0.4);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transition: width 0.3s var(--kl-transition),
              height 0.3s var(--kl-transition),
              border-color 0.3s,
              background 0.3s,
              transform 0.15s ease-out;
  transform: translate(-50%, -50%);
}

.kl-cursor.kl-cursor--hover {
  width: 50px;
  height: 50px;
  background: rgba(124, 58, 237, 0.08);
  border-color: rgba(124, 58, 237, 0.5);
}

.kl-cursor-dot {
  position: fixed;
  width: 5px;
  height: 5px;
  background: #7C3AED;
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: transform 0.05s;
}

@media (max-width: 768px) {
  .kl-cursor, .kl-cursor-dot { display: none; }
}

/* ─── Noise Overlay ─── */
.kl-noise {
  position: fixed;
  inset: 0;
  z-index: 100;
  pointer-events: none;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 256px;
}

/* ─── Gradient Mesh Background ─── */
.kl-mesh-bg {
  position: fixed;
  inset: 0;
  z-index: -10;
  overflow: hidden;
  pointer-events: none;
}

.kl-mesh-bg__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.45;
  will-change: transform;
}

.kl-mesh-bg__orb--1 {
  width: 600px;
  height: 600px;
  top: -15%;
  left: -10%;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.25), rgba(168, 85, 247, 0.10), transparent 70%);
  animation: kl-orb-float-1 20s ease-in-out infinite;
}

.kl-mesh-bg__orb--2 {
  width: 500px;
  height: 500px;
  top: 50%;
  right: -10%;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.22), rgba(34, 211, 238, 0.10), transparent 70%);
  animation: kl-orb-float-2 25s ease-in-out infinite;
}

.kl-mesh-bg__orb--3 {
  width: 400px;
  height: 400px;
  bottom: -10%;
  left: 30%;
  background: radial-gradient(circle, rgba(236, 72, 153, 0.18), rgba(244, 114, 182, 0.10), transparent 70%);
  animation: kl-orb-float-3 18s ease-in-out infinite;
}

@keyframes kl-orb-float-1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(80px, 40px) scale(1.1); }
  66% { transform: translate(-40px, 80px) scale(0.95); }
}

@keyframes kl-orb-float-2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(-60px, -50px) scale(1.05); }
  66% { transform: translate(40px, -30px) scale(0.9); }
}

@keyframes kl-orb-float-3 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(50px, -40px) scale(1.08); }
  66% { transform: translate(-30px, 30px) scale(0.92); }
}

/* ─── Grid Lines Background ─── */
.kl-grid-bg {
  position: fixed;
  inset: 0;
  z-index: -9;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(0, 0, 0, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 0, 0, 0.03) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse 60% 50% at 50% 30%, black 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 60% 50% at 50% 30%, black 20%, transparent 70%);
}

/* ─── Navigation ─── */
.kl-glass-nav {
  background: rgba(255, 255, 255, 0.75);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  backdrop-filter: blur(20px) saturate(1.3);
  -webkit-backdrop-filter: blur(20px) saturate(1.3);
  transition: background 0.4s, box-shadow 0.4s;
}

.kl-glass-nav.kl-nav-scrolled {
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.06);
}

.kl-glass-nav::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(124, 58, 237, 0.2), rgba(6, 182, 212, 0.15), rgba(236, 72, 153, 0.15), transparent);
  opacity: 0.6;
  pointer-events: none;
}

/* ─── Mobile Menu ─── */
.kl-mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s var(--kl-transition);
}

.kl-mobile-menu.kl-menu-open {
  opacity: 1;
  pointer-events: all;
}

.kl-mobile-menu a {
  font-size: 1.5rem;
  font-weight: 600;
  color: rgba(30, 41, 59, 0.7);
  text-decoration: none;
  transition: color 0.3s, transform 0.3s;
  transform: translateY(20px);
  opacity: 0;
}

.kl-mobile-menu.kl-menu-open a {
  transform: translateY(0);
  opacity: 1;
}

.kl-mobile-menu.kl-menu-open a:nth-child(1) { transition-delay: 0.1s; }
.kl-mobile-menu.kl-menu-open a:nth-child(2) { transition-delay: 0.15s; }
.kl-mobile-menu.kl-menu-open a:nth-child(3) { transition-delay: 0.2s; }
.kl-mobile-menu.kl-menu-open a:nth-child(4) { transition-delay: 0.25s; }
.kl-mobile-menu.kl-menu-open a:nth-child(5) { transition-delay: 0.3s; }

.kl-mobile-menu a:hover {
  color: #7C3AED;
  transform: translateX(8px);
}

/* ─── Hamburger ─── */
.kl-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 60;
  background: none;
  border: none;
  padding: 8px;
}
@media (max-width: 767px) {
  .kl-hamburger { display: flex; }
}

.kl-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: #334155;
  border-radius: 2px;
  transition: transform 0.3s var(--kl-transition), opacity 0.3s;
}

.kl-hamburger.kl-hamburger-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.kl-hamburger.kl-hamburger-open span:nth-child(2) {
  opacity: 0;
}
.kl-hamburger.kl-hamburger-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ─── Scroll Reveal Animations ─── */
.kl-reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s var(--kl-transition), transform 0.8s var(--kl-transition);
}

.kl-reveal.kl-visible {
  opacity: 1;
  transform: translateY(0);
}

.kl-reveal-left {
  opacity: 0;
  transform: translateX(-60px);
  transition: opacity 0.8s var(--kl-transition), transform 0.8s var(--kl-transition);
}

.kl-reveal-left.kl-visible {
  opacity: 1;
  transform: translateX(0);
}

.kl-reveal-right {
  opacity: 0;
  transform: translateX(60px);
  transition: opacity 0.8s var(--kl-transition), transform 0.8s var(--kl-transition);
}

.kl-reveal-right.kl-visible {
  opacity: 1;
  transform: translateX(0);
}

.kl-reveal-scale {
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.8s var(--kl-transition), transform 0.8s var(--kl-transition);
}

.kl-reveal-scale.kl-visible {
  opacity: 1;
  transform: scale(1);
}

/* Stagger children */
.kl-stagger > * {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s var(--kl-transition), transform 0.6s var(--kl-transition);
}

.kl-stagger.kl-visible > *:nth-child(1) { transition-delay: 0.05s; }
.kl-stagger.kl-visible > *:nth-child(2) { transition-delay: 0.1s; }
.kl-stagger.kl-visible > *:nth-child(3) { transition-delay: 0.15s; }
.kl-stagger.kl-visible > *:nth-child(4) { transition-delay: 0.2s; }
.kl-stagger.kl-visible > *:nth-child(5) { transition-delay: 0.25s; }
.kl-stagger.kl-visible > *:nth-child(6) { transition-delay: 0.3s; }

.kl-stagger.kl-visible > * {
  opacity: 1;
  transform: translateY(0);
}

/* ─── Text Animations ─── */
.kl-text-reveal {
  overflow: hidden;
  display: inline-block;
}

.kl-text-reveal span {
  display: inline-block;
  transform: translateY(110%);
  transition: transform 0.8s var(--kl-transition);
}

.kl-text-reveal.kl-visible span {
  transform: translateY(0);
}

.kl-gradient-text {
  background: linear-gradient(135deg, var(--kl-purple), var(--kl-cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.kl-gradient-text-animated {
  background: linear-gradient(135deg, var(--kl-purple), var(--kl-cyan), var(--kl-purple));
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: kl-gradient-shift 4s ease-in-out infinite;
}

@keyframes kl-gradient-shift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

/* ─── Glassmorphism Cards ─── */
.kl-glass {
  background: var(--kl-glass-bg);
  border: 1px solid var(--kl-glass-border);
  backdrop-filter: blur(20px) saturate(1.1);
  -webkit-backdrop-filter: blur(20px) saturate(1.1);
  border-radius: var(--kl-radius);
}

.kl-glass-strong {
  background: var(--kl-glass-bg-strong);
  border: 1px solid var(--kl-glass-border-strong);
  backdrop-filter: blur(24px) saturate(1.2);
  -webkit-backdrop-filter: blur(24px) saturate(1.2);
}

.kl-card {
  position: relative;
  isolation: isolate;
  border-radius: var(--kl-radius);
  transition: transform 0.5s var(--kl-transition),
              box-shadow 0.5s var(--kl-transition),
              border-color 0.5s var(--kl-transition);
}

.kl-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: radial-gradient(600px circle at var(--kl-mx, 50%) var(--kl-my, 50%), rgba(124, 58, 237, 0.10), transparent 50%),
              radial-gradient(600px circle at var(--kl-mx, 50%) var(--kl-my, 50%), rgba(6, 182, 212, 0.06), transparent 50%);
  opacity: 0;
  transition: opacity 0.4s var(--kl-transition);
  z-index: -1;
}

.kl-card:hover::before {
  opacity: 1;
}

.kl-card:hover {
  border-color: rgba(124, 58, 237, 0.15);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08),
              0 0 40px rgba(124, 58, 237, 0.04);
}

.kl-hover-lift {
  transition: transform 0.5s var(--kl-transition),
              box-shadow 0.5s var(--kl-transition),
              border-color 0.5s var(--kl-transition);
}

.kl-hover-lift:hover {
  transform: translateY(-8px);
}

/* ─── Buttons ─── */
.kl-btn-primary {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 100px;
  background: linear-gradient(135deg, var(--kl-purple), var(--kl-cyan));
  color: #fff;
  font-weight: 600;
  font-size: 0.875rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  overflow: hidden;
  transition: transform 0.3s var(--kl-transition), box-shadow 0.3s var(--kl-transition);
  box-shadow: 0 4px 20px rgba(124, 58, 237, 0.3);
}

.kl-btn-primary::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--kl-cyan), var(--kl-purple));
  opacity: 0;
  transition: opacity 0.4s;
}

.kl-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(124, 58, 237, 0.35);
}

.kl-btn-primary:hover::before {
  opacity: 1;
}

.kl-btn-primary span {
  position: relative;
  z-index: 1;
}

.kl-btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 100px;
  background: transparent;
  color: #475569;
  font-weight: 500;
  font-size: 0.875rem;
  text-decoration: none;
  border: 1px solid rgba(0, 0, 0, 0.12);
  cursor: pointer;
  transition: all 0.3s var(--kl-transition);
}

.kl-btn-secondary:hover {
  border-color: rgba(59, 130, 246, 0.4);
  color: #3b82f6;
  background: rgba(59, 130, 246, 0.04);
  transform: translateY(-2px);
}

/* ─── Tags / Badges ─── */
.kl-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 100px;
  background: rgba(124, 58, 237, 0.06);
  border: 1px solid rgba(124, 58, 237, 0.15);
  font-size: 0.75rem;
  color: #7C3AED;
  font-weight: 500;
  transition: all 0.3s;
}

.kl-tag:hover {
  border-color: rgba(124, 58, 237, 0.35);
  color: #7C3AED;
  background: rgba(124, 58, 237, 0.12);
  transform: translateY(-1px);
}

.kl-tag:nth-child(2) {
  background: rgba(6, 182, 212, 0.06);
  border-color: rgba(6, 182, 212, 0.15);
  color: #0891b2;
}
.kl-tag:nth-child(2):hover {
  background: rgba(6, 182, 212, 0.12);
  border-color: rgba(6, 182, 212, 0.35);
  color: #06b6d4;
}

.kl-tag:nth-child(3) {
  background: rgba(236, 72, 153, 0.06);
  border-color: rgba(236, 72, 153, 0.15);
  color: #db2777;
}
.kl-tag:nth-child(3):hover {
  background: rgba(236, 72, 153, 0.12);
  border-color: rgba(236, 72, 153, 0.35);
  color: #ec4899;
}

.kl-tag:nth-child(4) {
  background: rgba(249, 115, 22, 0.06);
  border-color: rgba(249, 115, 22, 0.15);
  color: #ea580c;
}
.kl-tag:nth-child(4):hover {
  background: rgba(249, 115, 22, 0.12);
  border-color: rgba(249, 115, 22, 0.35);
  color: #f97316;
}

/* ─── Section Divider ─── */
.kl-divider {
  width: 60px;
  height: 3px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--kl-purple), var(--kl-cyan));
  margin: 0 auto;
}

/* ─── Marquee ─── */
.kl-marquee {
  overflow: hidden;
  white-space: nowrap;
}

.kl-marquee__inner {
  display: inline-flex;
  animation: kl-marquee 30s linear infinite;
}

@keyframes kl-marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.kl-marquee__item {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding: 0 40px;
  font-size: 1.25rem;
  font-weight: 600;
  color: rgba(0, 0, 0, 0.06);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.kl-marquee__item::after {
  content: "✦";
  color: rgba(59, 130, 246, 0.15);
}

/* ─── Service Cards (Accordion-style on hover) ─── */
.kl-service-cards {
  display: flex;
  gap: 12px;
  height: 400px;
}

.kl-service-card {
  flex: 1;
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  cursor: pointer;
  transition: flex 0.6s var(--kl-transition);
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.kl-service-card:hover {
  flex: 3;
}

.kl-service-card__bg {
  position: absolute;
  inset: 0;
  transition: transform 0.6s var(--kl-transition);
}

.kl-service-card:hover .kl-service-card__bg {
  transform: scale(1.05);
}

.kl-service-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.9) 0%, rgba(15, 23, 42, 0.3) 50%, transparent 100%);
  z-index: 1;
}

.kl-service-card__content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px;
  z-index: 2;
}

.kl-service-card__label {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: #3b82f6;
  margin-bottom: 8px;
  opacity: 0.8;
}

.kl-service-card__title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 8px;
  white-space: nowrap;
}

.kl-service-card__desc {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.5;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.5s var(--kl-transition), opacity 0.4s;
}

.kl-service-card:hover .kl-service-card__desc {
  max-height: 100px;
  opacity: 1;
}

@media (max-width: 768px) {
  .kl-service-cards {
    flex-direction: column;
    height: auto;
  }
  .kl-service-card {
    height: 200px;
  }
  .kl-service-card:hover {
    flex: 2;
  }
  .kl-service-card__desc {
    max-height: 100px;
    opacity: 1;
  }
}

/* ─── Feature Grid ─── */
.kl-feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.kl-feature-item {
  padding: 32px;
  border-radius: 20px;
  background: var(--kl-glass-bg);
  border: 1px solid var(--kl-glass-border);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: all 0.4s var(--kl-transition);
  position: relative;
  overflow: hidden;
}

.kl-feature-item::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, #3b82f6, transparent);
  opacity: 0;
  transition: opacity 0.4s;
}

.kl-feature-item:hover {
  border-color: rgba(59, 130, 246, 0.15);
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 12px 40px rgba(59, 130, 246, 0.08), 0 4px 16px rgba(0, 0, 0, 0.04);
}

.kl-feature-item:nth-child(2):hover {
  border-color: rgba(59, 130, 246, 0.15);
  box-shadow: 0 12px 40px rgba(59, 130, 246, 0.08), 0 4px 16px rgba(0, 0, 0, 0.04);
}

.kl-feature-item:nth-child(3):hover {
  border-color: rgba(59, 130, 246, 0.15);
  box-shadow: 0 12px 40px rgba(59, 130, 246, 0.08), 0 4px 16px rgba(0, 0, 0, 0.04);
}

.kl-feature-item:nth-child(4):hover {
  border-color: rgba(59, 130, 246, 0.15);
  box-shadow: 0 12px 40px rgba(59, 130, 246, 0.08), 0 4px 16px rgba(0, 0, 0, 0.04);
}

.kl-feature-item:hover::after {
  opacity: 1;
}

.kl-feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 1.25rem;
  background: rgba(124, 58, 237, 0.10);
  border: 1px solid rgba(124, 58, 237, 0.12);
}

.kl-feature-item:nth-child(2) .kl-feature-icon {
  background: rgba(6, 182, 212, 0.10);
  border-color: rgba(6, 182, 212, 0.12);
}

.kl-feature-item:nth-child(3) .kl-feature-icon {
  background: rgba(236, 72, 153, 0.10);
  border-color: rgba(236, 72, 153, 0.12);
}

.kl-feature-item:nth-child(4) .kl-feature-icon {
  background: rgba(249, 115, 22, 0.10);
  border-color: rgba(249, 115, 22, 0.12);
}

.kl-feature-item:nth-child(5) .kl-feature-icon {
  background: rgba(16, 185, 129, 0.10);
  border-color: rgba(16, 185, 129, 0.12);
}

.kl-feature-item:nth-child(6) .kl-feature-icon {
  background: rgba(59, 130, 246, 0.10);
  border-color: rgba(59, 130, 246, 0.12);
}

/* ─── Process / Steps ─── */
.kl-steps {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.kl-steps::before {
  content: "";
  position: absolute;
  left: 23px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, #3b82f6, rgba(59, 130, 246, 0.3), transparent);
  opacity: 0.3;
}

.kl-step {
  display: flex;
  gap: 24px;
  padding: 24px 0;
  position: relative;
}

.kl-step__number {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.875rem;
  background: #fff;
  border: 2px solid rgba(59, 130, 246, 0.25);
  color: #3b82f6;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
  transition: all 0.3s;
}

.kl-step:hover .kl-step__number {
  background: #3b82f6;
  border-color: transparent;
  color: #fff;
}

/* ─── CTA Section ─── */
.kl-cta {
  position: relative;
  border-radius: 32px;
  padding: 64px;
  overflow: hidden;
  background: rgba(124, 58, 237, 0.04);
  border: 1px solid rgba(124, 58, 237, 0.10);
}

.kl-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 80%, rgba(124, 58, 237, 0.08), transparent 50%),
              radial-gradient(circle at 80% 20%, rgba(6, 182, 212, 0.06), transparent 50%),
              radial-gradient(circle at 50% 50%, rgba(236, 72, 153, 0.04), transparent 60%);
  pointer-events: none;
}

/* ─── Footer ─── */
.kl-footer {
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

/* ─── Scroll Progress Bar ─── */
.kl-scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  background: linear-gradient(90deg, #7C3AED, #06b6d4, #ec4899, #f97316);
  z-index: 100;
  transform-origin: left;
  transform: scaleX(0);
  transition: transform 0.1s linear;
}

/* ─── Utility ─── */
a,
button {
  -webkit-tap-highlight-color: transparent;
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--kl-ring);
  outline-offset: 3px;
}

.kl-glow-purple {
  box-shadow: 0 0 60px rgba(59, 130, 246, 0.2);
}

.kl-glow-cyan {
  box-shadow: 0 0 60px rgba(59, 130, 246, 0.15);
}

.kl-glow-pink {
  box-shadow: 0 0 60px rgba(59, 130, 246, 0.15);
}

/* ─── Image Styles ─── */
.kl-img-wrapper {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
  transition: transform 0.5s var(--kl-transition), box-shadow 0.5s var(--kl-transition);
}

.kl-img-wrapper:hover {
  transform: translateY(-4px);
  box-shadow: 0 30px 80px rgba(59, 130, 246, 0.1), 0 10px 30px rgba(0, 0, 0, 0.06);
}

.kl-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s var(--kl-transition);
}

.kl-img-wrapper:hover img {
  transform: scale(1.03);
}

.kl-img-wrapper::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.05), rgba(59, 130, 246, 0.02), transparent);
  pointer-events: none;
}

/* ─── Colorful Gradient Text ─── */
.kl-gradient-text-pink {
  background: linear-gradient(135deg, #ec4899, #f97316);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.kl-gradient-text-cyan {
  background: linear-gradient(135deg, #06b6d4, #10b981);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.kl-gradient-text-warm {
  background: linear-gradient(135deg, #f97316, #eab308);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ─── Accordion Gallery (from design/accordion gallery zoom animation) ─── */
.kl-accordion-gallery {
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  border-radius: 24px;
  height: 50vmin;
  max-height: 420px;
}

.kl-accordion-gallery .kl-acc-card {
  flex: 1;
  transition: all 0.8s var(--kl-transition);
  height: 100%;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.kl-accordion-gallery .kl-acc-card:not(:last-child) {
  margin-right: 6px;
}

.kl-accordion-gallery .kl-acc-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.8s var(--kl-transition);
  filter: saturate(0.7) brightness(0.85);
}

.kl-accordion-gallery .kl-acc-card:hover {
  flex-grow: 4;
}

.kl-accordion-gallery .kl-acc-card:hover img {
  filter: saturate(1) brightness(1);
}

.kl-accordion-gallery .kl-acc-card__label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px;
  background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
  color: #fff;
  z-index: 2;
}

.kl-accordion-gallery .kl-acc-card__label span {
  display: block;
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  opacity: 0.7;
  margin-bottom: 4px;
}

.kl-accordion-gallery .kl-acc-card__label strong {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  transform: rotate(-90deg) translateX(-100%);
  transform-origin: 0 0;
  display: block;
  white-space: nowrap;
  transition: transform 0.5s var(--kl-transition);
}

.kl-accordion-gallery .kl-acc-card:hover .kl-acc-card__label strong {
  transform: rotate(0deg) translateX(0);
}

/* ─── Split Showcase (from design/Scrolling half by half) ─── */
.kl-split-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 60vh;
  gap: 0;
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.kl-split-section__img {
  position: relative;
  overflow: hidden;
}

.kl-split-section__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s var(--kl-transition);
}

.kl-split-section:hover .kl-split-section__img img {
  transform: scale(1.04);
}

.kl-split-section__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 48px;
  background: var(--kl-glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

@media (max-width: 768px) {
  .kl-split-section {
    grid-template-columns: 1fr;
  }
  .kl-split-section__img {
    height: 250px;
  }
  .kl-split-section__content {
    padding: 32px;
  }
  .kl-accordion-gallery {
    height: 300px;
    flex-direction: column;
  }
  .kl-accordion-gallery .kl-acc-card:not(:last-child) {
    margin-right: 0;
    margin-bottom: 4px;
  }
}

/* ─── Scrolling Half by Half (from design/Scrolling half by half pure) ─── */
/* Uses <article> as container, <figure> for images, <section> for text.
   nth-of-type works because figure and section are different element types. */
.kl-halfhalf {
  display: flex;
  flex-wrap: wrap;
}

.kl-halfhalf *,
.kl-halfhalf *::before,
.kl-halfhalf *::after {
  margin: 0;
  padding: 0;
  position: relative;
  box-sizing: border-box;
}

.kl-halfhalf figure {
  width: calc(50% + 1px);
  height: 100vh;
  margin: 0 auto 10vh 0;
  position: sticky;
  top: 0;
  overflow: hidden;
  box-shadow: 4px -4px 12px rgba(0,0,0,0.12);
}

.kl-halfhalf figure:nth-of-type(2n) {
  margin: 0 0 10vh auto;
  box-shadow: -4px -4px 12px rgba(0,0,0,0.12);
}

.kl-halfhalf figure:last-of-type,
.kl-halfhalf section:last-of-type {
  margin-bottom: 0;
}

.kl-halfhalf figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.kl-halfhalf section {
  width: calc(50% + 1px);
  height: 100vh;
  margin: 0 0 10vh auto;
  position: sticky;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px;
  background: var(--kl-glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: -4px -4px 12px rgba(0,0,0,0.12);
}

.kl-halfhalf section:nth-of-type(2n) {
  margin: 0 auto 10vh 0;
  box-shadow: 4px -4px 12px rgba(0,0,0,0.12);
}

.kl-halfhalf figure:nth-of-type(1),
.kl-halfhalf section:nth-of-type(1) {
  width: 50%;
  margin-bottom: 10vh;
}


.kl-halfhalf section > div {
  max-width: 400px;
}

.kl-halfhalf section h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1.4rem;
  margin-bottom: 12px;
}

.kl-halfhalf section p {
  font-size: 0.85rem;
  color: var(--kl-text);
  opacity: 0.6;
  line-height: 1.7;
}

@media (max-width: 768px) {
  .kl-halfhalf {
    display: block;
  }
  .kl-halfhalf figure,
  .kl-halfhalf section {
    width: 100% !important;
    height: auto;
    position: relative;
    margin: 0 !important;
    box-shadow: none;
  }
  .kl-halfhalf figure {
    height: 50vh;
  }
  .kl-halfhalf section {
    padding: 32px 24px;
  }
}

/* ─── Flex-Expand Gallery (from design/gallery) ─── */
.kl-flex-gallery {
  display: flex;
  width: 100%;
  height: 55vh;
  max-height: 480px;
  border-radius: 24px;
  overflow: hidden;
  gap: 4px;
}

.kl-flex-gallery__item {
  flex: 1;
  height: 100%;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition: flex 0.7s var(--kl-transition);
}

.kl-flex-gallery__item:hover {
  flex: 5;
}

.kl-flex-gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--kl-transition), filter 0.5s;
  filter: brightness(0.8) saturate(0.8);
}

.kl-flex-gallery__item:hover img {
  transform: scale(1.05);
  filter: brightness(1) saturate(1.1);
}

.kl-flex-gallery__item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.6) 0%, transparent 50%);
  pointer-events: none;
}

.kl-flex-gallery__label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px;
  z-index: 2;
  color: #fff;
}

.kl-flex-gallery__label span {
  display: block;
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  opacity: 0.7;
  margin-bottom: 4px;
}

.kl-flex-gallery__label strong {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  display: block;
  white-space: nowrap;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.4s var(--kl-transition);
}

.kl-flex-gallery__item:hover .kl-flex-gallery__label strong {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 768px) {
  .kl-flex-gallery {
    flex-direction: column;
    height: auto;
    max-height: none;
  }
  .kl-flex-gallery__item {
    height: 140px;
    flex: none;
  }
  .kl-flex-gallery__item:hover {
    flex: none;
    height: 280px;
  }
  .kl-flex-gallery__label strong {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ─── Fullscreen Carousel (from design/Seção - Carroussel) ─── */
.kl-carousel {
  position: relative;
  width: 100%;
  height: 70vh;
  min-height: 400px;
  max-height: 600px;
  overflow: hidden;
  border-radius: 24px;
}

.kl-carousel__list {
  list-style: none;
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
}

.kl-carousel__item {
  width: 180px;
  height: 260px;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1;
  background-position: center;
  background-size: cover;
  border-radius: 20px;
  box-shadow: 0 20px 30px rgba(0, 0, 0, 0.15);
  transition: transform 0.1s, left 0.75s, top 0.75s, width 0.75s, height 0.75s;
}

.kl-carousel__item:nth-child(1),
.kl-carousel__item:nth-child(2) {
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  transform: none;
  border-radius: 0;
  box-shadow: none;
  opacity: 1;
}

.kl-carousel__item:nth-child(1) {
  pointer-events: none;
}

.kl-carousel__item:nth-child(3) { left: 50%; }
.kl-carousel__item:nth-child(4) { left: calc(50% + 200px); }
.kl-carousel__item:nth-child(5) { left: calc(50% + 400px); }
.kl-carousel__item:nth-child(6) { left: calc(50% + 600px); opacity: 0; }

.kl-carousel__content {
  width: min(30vw, 380px);
  position: absolute;
  top: 50%;
  left: 3rem;
  transform: translateY(-50%);
  color: #fff;
  text-shadow: 0 3px 8px rgba(0, 0, 0, 0.5);
  opacity: 0;
  display: none;
}

.kl-carousel__content h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1.5rem;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.kl-carousel__content p {
  line-height: 1.7;
  font-size: 0.85rem;
  margin-bottom: 1rem;
  opacity: 0.85;
}

.kl-carousel__item:nth-of-type(2) .kl-carousel__content {
  display: block;
  animation: kl-carousel-show 0.75s ease-in-out 0.3s forwards;
}

@keyframes kl-carousel-show {
  0% {
    filter: blur(5px);
    transform: translateY(calc(-50% + 75px));
  }
  100% {
    opacity: 1;
    filter: blur(0);
  }
}

.kl-carousel__nav {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  user-select: none;
  display: flex;
  gap: 8px;
  pointer-events: auto;
}

.kl-carousel__btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s, transform 0.3s;
}

.kl-carousel__btn:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: scale(1.1);
}

@media (max-width: 900px) {
  .kl-carousel__item {
    width: 140px;
    height: 210px;
  }
  .kl-carousel__item:nth-child(3) { left: 50%; }
  .kl-carousel__item:nth-child(4) { left: calc(50% + 155px); }
  .kl-carousel__item:nth-child(5) { left: calc(50% + 310px); }
  .kl-carousel__item:nth-child(6) { left: calc(50% + 465px); opacity: 0; }
  .kl-carousel__content {
    width: min(50vw, 300px);
  }
  .kl-carousel__content h3 {
    font-size: 1.1rem;
  }
  .kl-carousel__content p {
    font-size: 0.75rem;
  }
}

@media (max-width: 650px) {
  .kl-carousel__item {
    width: 110px;
    height: 180px;
  }
  .kl-carousel__item:nth-child(3) { left: 55%; }
  .kl-carousel__item:nth-child(4) { left: calc(55% + 120px); }
  .kl-carousel__item:nth-child(5) { left: calc(55% + 240px); }
  .kl-carousel__item:nth-child(6) { left: calc(55% + 360px); opacity: 0; }
  .kl-carousel__content {
    width: 60vw;
    left: 1.5rem;
  }
  .kl-carousel__content h3 {
    font-size: 0.9rem;
  }
}

/* ─── Split Showcase (from design/Split Showcase) ─── */
.kl-splitshow {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 55vh;
  max-height: 500px;
  border-radius: 24px;
  overflow: hidden;
  position: relative;
}

.kl-splitshow__panel {
  position: relative;
  width: 25%;
  height: 100%;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.kl-splitshow__panel::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.6) 0%, transparent 50%);
  pointer-events: none;
  transition: opacity 0.5s;
}

.kl-splitshow__panel:hover::after {
  opacity: 0.4;
}

.kl-splitshow__label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px 16px;
  z-index: 2;
  color: #fff;
}

.kl-splitshow__label span {
  display: block;
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  opacity: 0.7;
  margin-bottom: 4px;
}

.kl-splitshow__label strong {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  display: block;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.4s var(--kl-transition);
}

.kl-splitshow__panel:hover .kl-splitshow__label strong {
  opacity: 1;
  transform: translateY(0);
}

/* clip-path animation — each panel clips differently */
.kl-splitshow__panel:nth-child(1) { animation: kl-split-1 10s ease-in-out infinite; }
.kl-splitshow__panel:nth-child(2) { animation: kl-split-2 10s ease-in-out infinite; }
.kl-splitshow__panel:nth-child(3) { animation: kl-split-3 10s ease-in-out infinite; }
.kl-splitshow__panel:nth-child(4) { animation: kl-split-4 10s ease-in-out infinite; }

@keyframes kl-split-1 {
  0%, 20%, 100% { clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%); }
  25%, 45%      { clip-path: polygon(5% 5%, 95% 10%, 90% 90%, 10% 95%); }
  50%, 70%      { clip-path: polygon(0 10%, 100% 0, 95% 85%, 5% 100%); }
  75%, 95%      { clip-path: polygon(10% 0, 100% 5%, 100% 95%, 0 100%); }
}

@keyframes kl-split-2 {
  0%, 20%, 100% { clip-path: polygon(0 5%, 100% 0, 95% 95%, 5% 90%); }
  25%, 45%      { clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%); }
  50%, 70%      { clip-path: polygon(5% 10%, 100% 5%, 95% 90%, 0 95%); }
  75%, 95%      { clip-path: polygon(0 0, 95% 5%, 100% 100%, 5% 95%); }
}

@keyframes kl-split-3 {
  0%, 20%, 100% { clip-path: polygon(5% 10%, 95% 5%, 100% 90%, 0 95%); }
  25%, 45%      { clip-path: polygon(0 0, 100% 5%, 95% 100%, 5% 90%); }
  50%, 70%      { clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%); }
  75%, 95%      { clip-path: polygon(5% 5%, 100% 0, 95% 95%, 0 100%); }
}

@keyframes kl-split-4 {
  0%, 20%, 100% { clip-path: polygon(0 0, 95% 5%, 100% 100%, 5% 90%); }
  25%, 45%      { clip-path: polygon(5% 5%, 100% 0, 95% 95%, 0 100%); }
  50%, 70%      { clip-path: polygon(0 5%, 100% 10%, 95% 90%, 5% 100%); }
  75%, 95%      { clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%); }
}

@media (max-width: 768px) {
  .kl-splitshow {
    flex-direction: column;
    height: auto;
    max-height: none;
  }
  .kl-splitshow__panel {
    width: 100%;
    height: 180px;
  }
  .kl-splitshow__panel:nth-child(1),
  .kl-splitshow__panel:nth-child(2),
  .kl-splitshow__panel:nth-child(3),
  .kl-splitshow__panel:nth-child(4) {
    animation: none;
    clip-path: none;
  }
  .kl-splitshow__label strong {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ─── Scroll Grid Gallery (from design/Scroll Animation with Grid) ─── */
.kl-scrollgrid {
  position: relative;
  min-height: 200vh;
}

.kl-scrollgrid__sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.kl-scrollgrid__grid {
  --sg-gap: clamp(8px, 2vw, 20px);
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  grid-template-rows: repeat(3, auto);
  gap: var(--sg-gap);
  width: 100%;
  max-width: 1100px;
  padding: 0 24px;
}

.kl-scrollgrid__grid .sg-layer {
  display: grid;
  grid-column: 1 / -1;
  grid-row: 1 / -1;
  grid-template-columns: subgrid;
  grid-template-rows: subgrid;
  opacity: 0;
  transform: scale(0);
  transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.kl-scrollgrid__grid .sg-layer.sg-visible {
  opacity: 1;
  transform: scale(1);
}

.kl-scrollgrid__grid .sg-layer:nth-of-type(1) div:nth-of-type(odd) { grid-column: 1; }
.kl-scrollgrid__grid .sg-layer:nth-of-type(1) div:nth-of-type(even) { grid-column: -2; }

.kl-scrollgrid__grid .sg-layer:nth-of-type(2) div:nth-of-type(odd) { grid-column: 2; }
.kl-scrollgrid__grid .sg-layer:nth-of-type(2) div:nth-of-type(even) { grid-column: -3; }

.kl-scrollgrid__grid .sg-layer:nth-of-type(3) div:first-of-type { grid-column: 3; grid-row: 1; }
.kl-scrollgrid__grid .sg-layer:nth-of-type(3) div:last-of-type { grid-column: 3; grid-row: -1; }

.kl-scrollgrid__grid img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 12px;
  display: block;
}

.kl-scrollgrid__grid .sg-scaler {
  grid-area: 2 / 3;
  z-index: 2;
  position: relative;
}

.kl-scrollgrid__grid .sg-scaler img {
  position: absolute;
  top: 50%;
  left: 50%;
  translate: -50% -50%;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
  transition: width 0.8s cubic-bezier(0.65, 0, 0.35, 1),
              height 0.8s cubic-bezier(0.42, 0, 0.58, 1);
}

.kl-scrollgrid__grid .sg-scaler.sg-expanded img {
  width: 100vw;
  height: 100vh;
  border-radius: 0;
}

@media (max-width: 768px) {
  .kl-scrollgrid__grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .kl-scrollgrid__grid .sg-layer:nth-of-type(1) {
    display: none;
  }
  .kl-scrollgrid__grid .sg-layer:nth-of-type(2) div:nth-of-type(odd) { grid-column: 1; }
  .kl-scrollgrid__grid .sg-layer:nth-of-type(2) div:nth-of-type(even) { grid-column: -2; }
  .kl-scrollgrid__grid .sg-layer:nth-of-type(3) div:first-of-type { grid-column: 2; }
  .kl-scrollgrid__grid .sg-layer:nth-of-type(3) div:last-of-type { grid-column: 2; }
  .kl-scrollgrid__grid .sg-scaler { grid-area: 2 / 2; }
}

/* ─── Horizontal Scroll Gallery (from design/Horizontal Scroll Gallery) ─── */
.kl-hscroll {
  position: relative;
  height: 300vh;
}

.kl-hscroll__sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.kl-hscroll__track {
  display: flex;
  align-items: center;
  gap: 0;
  padding: 0 10vw;
  will-change: transform;
}

.kl-hscroll__item {
  flex-shrink: 0;
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  margin-right: -4vw;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
  transition: transform 0.4s var(--kl-transition), box-shadow 0.4s;
}

.kl-hscroll__item:hover {
  transform: scale(1.05);
  z-index: 5;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.2);
}

.kl-hscroll__item.--big {
  width: 45vh;
  height: 60vh;
}

.kl-hscroll__item.--normal {
  width: 35vh;
  height: 45vh;
  z-index: 1;
}

.kl-hscroll__item.--small {
  width: 25vh;
  height: 32vh;
  z-index: 2;
}

.kl-hscroll__item:nth-child(3n) { margin-top: -5vh; }
.kl-hscroll__item:nth-child(4n) { margin-top: 5vh; }
.kl-hscroll__item:nth-child(5n) { margin-top: -8vh; }

.kl-hscroll__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: grayscale(0.8);
  transition: filter 0.4s ease;
}

.kl-hscroll__item:hover img {
  filter: grayscale(0);
}

.kl-hscroll__item .kl-hscroll__caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 16px;
  background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
  color: #fff;
  opacity: 0;
  transform: translateY(8px);
  transition: all 0.3s var(--kl-transition);
}

.kl-hscroll__item:hover .kl-hscroll__caption {
  opacity: 1;
  transform: translateY(0);
}

.kl-hscroll__caption span {
  display: block;
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  opacity: 0.7;
  margin-bottom: 2px;
}

.kl-hscroll__caption strong {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
}

@media (max-width: 768px) {
  .kl-hscroll {
    height: auto;
    min-height: 0;
  }
  .kl-hscroll__sticky {
    position: relative;
    height: auto;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    padding: 20px 0;
  }
  .kl-hscroll__track {
    transform: none !important;
  }
  .kl-hscroll__item {
    margin-right: 12px;
  }
  .kl-hscroll__item.--big { width: 200px; height: 260px; }
  .kl-hscroll__item.--normal { width: 160px; height: 210px; }
  .kl-hscroll__item.--small { width: 130px; height: 170px; }
  .kl-hscroll__item:nth-child(3n),
  .kl-hscroll__item:nth-child(4n),
  .kl-hscroll__item:nth-child(5n) { margin-top: 0; }
  .kl-hscroll__caption {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ─── Tilt Cards (inspired by design/Fanned cards) ─── */
.kl-tilt-cards {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 0;
  height: 320px;
  position: relative;
  perspective: 800px;
}

.kl-tilt-cards__card {
  width: 200px;
  height: 280px;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  transition: all 0.6s var(--kl-transition);
  box-shadow: 0 8px 30px rgba(0,0,0,0.15);
  cursor: pointer;
}

.kl-tilt-cards__card:nth-child(1) { transform: rotate(-12deg) translateY(-10px); z-index: 1; }
.kl-tilt-cards__card:nth-child(2) { transform: rotate(-6deg) translateY(-20px); z-index: 2; margin-left: -40px; }
.kl-tilt-cards__card:nth-child(3) { transform: rotate(0deg) translateY(-25px); z-index: 3; margin-left: -40px; }
.kl-tilt-cards__card:nth-child(4) { transform: rotate(6deg) translateY(-20px); z-index: 2; margin-left: -40px; }
.kl-tilt-cards__card:nth-child(5) { transform: rotate(12deg) translateY(-10px); z-index: 1; margin-left: -40px; }

.kl-tilt-cards__card:hover {
  transform: rotate(0deg) translateY(-40px) scale(1.08) !important;
  z-index: 10 !important;
  box-shadow: 0 20px 50px rgba(59, 130, 246, 0.25);
}

.kl-tilt-cards__card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--kl-transition);
}

.kl-tilt-cards__card:hover img {
  transform: scale(1.1);
}

.kl-tilt-cards__card__label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 12px;
  background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
  color: #fff;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  opacity: 0;
  transform: translateY(8px);
  transition: all 0.3s;
}

.kl-tilt-cards__card:hover .kl-tilt-cards__card__label {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 768px) {
  .kl-tilt-cards {
    height: auto;
    flex-wrap: wrap;
    gap: 12px;
  }
  .kl-tilt-cards__card {
    width: 140px;
    height: 200px;
    margin-left: 0 !important;
    transform: none !important;
  }
  .kl-tilt-cards__card:hover {
    transform: translateY(-10px) scale(1.05) !important;
  }
}

/* ─── Reduced Motion ─── */
@media (prefers-reduced-motion: reduce) {
  .kl-reveal,
  .kl-reveal-left,
  .kl-reveal-right,
  .kl-reveal-scale {
    transition: none;
    transform: none;
    opacity: 1;
  }

  .kl-stagger > * {
    transition: none;
    transform: none;
    opacity: 1;
  }

  .kl-text-reveal span {
    transition: none;
    transform: none;
  }

  .kl-mesh-bg__orb {
    animation: none;
  }

  .kl-hover-lift {
    transition: none;
  }

  .kl-hover-lift:hover {
    transform: none;
  }

  .kl-marquee__inner {
    animation: none;
  }

  .kl-cursor, .kl-cursor-dot {
    display: none;
  }
}

/* ─── Backward compat aliases ─── */
.kl-fade-up { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease-out, transform 0.7s ease-out; }
.kl-fade-up.kl-visible { opacity: 1; transform: translateY(0); }
.kl-parallax { will-change: transform; }
