/* =============================================
   PIXLWALL — Stylesheet (Colorful Edition)
   ============================================= */

:root {
  --cyan:    #6CFFD6;
  --amber:   #ffab00;
  --gray:    #32373c;

  --grad-hero:    linear-gradient(135deg, #e09600 0%, #00c49a 100%);
  --grad-accent:  linear-gradient(135deg, #6CFFD6 0%, #ffab00 100%);
  --grad-warm:    linear-gradient(135deg, #ffab00 0%, #6CFFD6 100%);
  --grad-purple:  linear-gradient(135deg, #6CFFD6 0%, #ffab00 100%);
  --grad-card:    linear-gradient(145deg, rgba(108,255,214,0.06) 0%, rgba(255,171,0,0.06) 100%);

  --bg-0:  #f4f5f3;
  --bg-1:  #fafaf8;
  --bg-2:  #edeeed;
  --bg-3:  #e2e3e1;
  --bg-4:  #d5d6d3;

  --text-primary:   #111111;
  --text-secondary: #555555;
  --text-muted:     #999999;

  --border:        rgba(108,255,214,0.4);
  --border-subtle: rgba(0,0,0,0.08);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-xl: 36px;

  --section-py: clamp(80px, 10vw, 130px);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --dur: 0.4s;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
body {
  font-family: 'Space Grotesk', 'Inter', system-ui, sans-serif;
  background: var(--bg-0);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, select, textarea { font-family: inherit; }

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 48px);
}

h1 { font-size: clamp(2.6rem, 6vw, 4.5rem); font-weight: 900; line-height: 1.05; letter-spacing: -0.03em; text-wrap: balance; }
h2 { font-size: clamp(1.9rem, 3.5vw, 3rem); font-weight: 800; line-height: 1.15; letter-spacing: -0.02em; text-wrap: balance; }
h3 { font-size: clamp(1.05rem, 2vw, 1.25rem); font-weight: 600; }
p  { color: var(--text-secondary); line-height: 1.75; }

/* ===== GRADIENT TEXT ===== */
.grad-text {
  background: var(--grad-hero);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 0.95rem;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), background var(--dur) var(--ease), color var(--dur) var(--ease), border-color var(--dur) var(--ease);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn--primary {
  background: var(--grad-accent);
  color: #111111;
  box-shadow: 0 4px 24px rgba(108,255,214,0.25);
}
.btn--primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 40px rgba(108,255,214,0.4), 0 0 0 4px rgba(108,255,214,0.1);
}

.btn--purple {
  background: var(--grad-purple);
  color: #111111;
  box-shadow: 0 4px 24px rgba(255,171,0,0.3);
}
.btn--purple:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 40px rgba(255,171,0,0.45);
}

.btn--ghost {
  background: rgba(0,0,0,0.04);
  color: var(--text-primary);
  border: 1px solid var(--border-subtle);
}
.btn--ghost:hover {
  border-color: rgba(108,255,214,0.5);
  color: #007a5e;
  background: rgba(108,255,214,0.12);
}

.btn--lg { padding: 18px 36px; font-size: 1.05rem; border-radius: var(--radius-lg); }
.btn--full { width: 100%; }

/* ===== SECTION TAG ===== */
.section__tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 18px;
  background: linear-gradient(135deg, rgba(108,255,214,0.12), rgba(255,171,0,0.12));
  border: 1px solid rgba(108,255,214,0.3);
  color: var(--cyan);
}

.section__header { text-align: center; max-width: 700px; margin: 0 auto 72px; }
.section__title  { color: var(--text-primary); margin-bottom: 16px; }
.section__sub    { font-size: 1.1rem; }

.section     { padding: var(--section-py) 0; }
.section--dark {
  background: var(--bg-1);
  position: relative;
}

/* ===== NAVIGATION ===== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 14px 0;
  background: #ffffff;
  border-bottom: 1px solid rgba(0,0,0,0.08);
  box-shadow: 0 2px 16px rgba(0,0,0,0.06);
  transition: background var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.nav.scrolled {
  background: #ffffff;
  border-bottom: 1px solid rgba(0,0,0,0.08);
  box-shadow: 0 2px 16px rgba(0,0,0,0.06);
}

.nav__inner {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav__logo {
  font-size: 1.5rem;
  font-weight: 900;
  letter-spacing: -0.03em;
  flex-shrink: 0;
}
.logo-pixl { color: #000000; }
.logo-me   {
  background: var(--grad-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav__links {
  display: flex;
  gap: 4px;
  margin-left: auto;
}
.nav__links a {
  padding: 7px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color 0.2s, background 0.2s;
}
.nav__links a:hover {
  color: var(--text-primary);
  background: rgba(255,255,255,0.06);
}

.nav__cta { margin-left: 12px; padding: 10px 22px; font-size: 0.88rem; }

.nav__burger {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 8px;
  margin-left: auto;
  cursor: pointer;
  border-radius: var(--radius-sm);
  transition: background 0.2s;
}
.nav__burger:hover {
  background: rgba(0,0,0,0.04);
}
.nav__burger span {
  display: block;
  width: 24px;
  height: 2.5px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}
.nav__burger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__burger.active span:nth-child(2) { opacity: 0; }
.nav__burger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 99;
  background: var(--bg-0);
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translateX(100%);
  transition: transform 0.4s var(--ease);
}
.mobile-menu.open { transform: translateX(0); }
.mobile-menu ul { display: flex; flex-direction: column; gap: 6px; text-align: center; }
.mobile-menu a {
  display: block;
  padding: 14px 40px;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-secondary);
  border-radius: var(--radius-md);
  transition: color 0.2s, background 0.2s;
}
.mobile-menu a:hover { color: var(--cyan); background: rgba(108,255,214,0.06); }
.mobile-menu .btn--primary { margin-top: 20px; }

/* ===== HERO ===== */
.hero {
  min-height: 100svh;
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  justify-items: center;
  position: relative;
  padding: 130px 0 90px;
  overflow: hidden;
}

/* Big colorful orbs */
.hero__bg { position: absolute; inset: 0; pointer-events: none; }

.hero__bg-photo {
  position: absolute;
  inset: 0;
  background: url('images/gallery-hands-placing.jpg') center / cover no-repeat;
}
.hero__bg-photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(10,10,10,0.72) 0%, rgba(20,20,20,0.60) 50%, rgba(10,10,10,0.76) 100%),
    linear-gradient(to bottom, transparent 60%, var(--bg-0) 100%);
}

.hero__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
}
.hero__orb--1 {
  width: 600px; height: 600px;
  top: -150px; right: -100px;
  background: radial-gradient(circle, rgba(255,171,0,0.2) 0%, transparent 70%);
  animation: orbFloat 8s ease-in-out infinite;
}
.hero__orb--2 {
  width: 500px; height: 500px;
  bottom: -100px; left: -80px;
  background: radial-gradient(circle, rgba(108,255,214,0.15) 0%, transparent 70%);
  animation: orbFloat 10s ease-in-out infinite reverse;
}
.hero__orb--3 {
  width: 300px; height: 300px;
  top: 50%; left: 55%;
  background: radial-gradient(circle, rgba(108,255,214,0.15) 0%, transparent 70%);
  animation: orbFloat 12s ease-in-out infinite 2s;
}

@keyframes orbFloat {
  0%, 100% { transform: translateY(0) scale(1); }
  50%       { transform: translateY(-30px) scale(1.05); }
}

/* Animated grid */
.hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(108,255,214,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(108,255,214,0.04) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 90% 90% at 50% 40%, black 0%, transparent 100%);
  animation: gridDrift 25s linear infinite;
}
@keyframes gridDrift {
  from { background-position: 0 0; }
  to   { background-position: 64px 64px; }
}

/* ===== PIXLWALL FILL ANIMATION ===== */
.section--pixlwall-bg {
  position: relative;
  overflow: hidden;
}

.section--pixlwall-bg .container {
  position: relative;
  z-index: 1;
}

.pixlwall-anim {
  position: absolute;
  inset: 0;
  display: grid;
  gap: 2px;
  padding: 2px;
  opacity: 0.18;
  pointer-events: none;
  transition: opacity 1.5s ease;
  z-index: 0;
}

.pixlwall-anim.fading-out {
  opacity: 0;
}

.pxl-cell {
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: transparent;
  overflow: hidden;
  transition: transform 0ms;
}

.pxl-cell__photo {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(0.75);
  transition:
    opacity 350ms cubic-bezier(.23, 1, .32, 1),
    transform 350ms cubic-bezier(.23, 1, .32, 1);
}

.pxl-cell__label {
  position: absolute;
  bottom: 2px;
  right: 3px;
  font-size: 7px;
  font-family: 'Inter', monospace;
  color: rgba(255, 255, 255, 0.25);
  letter-spacing: 0;
  line-height: 1;
  pointer-events: none;
  transition: opacity 300ms ease;
  z-index: 2;
}

.pxl-cell.filled .pxl-cell__photo {
  opacity: 1;
  transform: scale(1);
}

.pxl-cell.filled .pxl-cell__label {
  opacity: 0;
}

@keyframes pxlPop {
  0%   { transform: scale(0.75); }
  60%  { transform: scale(1.04); }
  100% { transform: scale(1); }
}

.pxl-cell.filling .pxl-cell__photo {
  animation: pxlPop 380ms cubic-bezier(.23, 1, .32, 1) forwards;
  opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
  .pxl-cell__photo { transition: opacity 200ms ease; transform: scale(1) !important; }
  @keyframes pxlPop { from { opacity: 0; } to { opacity: 1; } }
}

.hero__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 900px;
  padding: 0 clamp(20px, 5vw, 48px);
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 7px 16px;
  border-radius: 100px;
  margin-bottom: 32px;
  background: linear-gradient(135deg, rgba(108,255,214,0.12), rgba(255,171,0,0.08));
  border: 1px solid rgba(108,255,214,0.3);
  color: var(--cyan);
}
.badge__dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 8px var(--cyan);
  animation: pulseDot 2s ease-in-out infinite;
}
@keyframes pulseDot {
  0%, 100% { box-shadow: 0 0 8px var(--cyan); }
  50%       { box-shadow: 0 0 16px var(--cyan), 0 0 32px rgba(108,255,214,0.4); }
}

.hero__title { margin-bottom: 28px; color: #ffffff; }

.hero__sub {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: rgba(255,255,255,0.75);
  max-width: 600px;
  margin-bottom: 44px;
}

.hero__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 72px;
}
.hero__actions .btn--ghost {
  color: #ffffff;
  border-color: rgba(255,255,255,0.35);
  background: rgba(255,255,255,0.08);
}
.hero__actions .btn--ghost:hover {
  border-color: rgba(108,255,214,0.5);
  color: var(--cyan);
  background: rgba(108,255,214,0.1);
}

.hero__stats {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}

.stat strong {
  display: block;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 4px;
  font-variant-numeric: tabular-nums;
  background: var(--grad-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.stat span { font-size: 0.8rem; color: rgba(255,255,255,0.55); font-weight: 500; }

.stat__divider {
  width: 1px; height: 36px;
  background: var(--border-subtle);
}

.hero__scroll {
  position: absolute;
  bottom: 40px; left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.45);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.scroll__line {
  width: 1px; height: 40px;
  background: linear-gradient(to bottom, var(--cyan), transparent);
  animation: scrollPulse 1.8s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%   { transform: scaleY(0); transform-origin: top; opacity: 0; }
  50%  { opacity: 1; transform: scaleY(1); }
  100% { transform: scaleY(0); transform-origin: bottom; opacity: 0; }
}

/* ===== CLIENTS ===== */
.clients {
  padding: 40px 0;
  border-bottom: 1px solid var(--border-subtle);
  position: relative;
}
.clients::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(108,255,214,0.03), rgba(255,171,0,0.03));
}
.clients__label {
  text-align: center;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 28px;
}
.clients__logos {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px 20px;
}
.client-logo {
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  padding: 8px 22px;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  background: var(--bg-2);
  transition: color var(--dur) var(--ease), border-color var(--dur) var(--ease), background var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.client-logo:hover {
  color: var(--cyan);
  border-color: rgba(108,255,214,0.3);
  background: rgba(108,255,214,0.05);
  box-shadow: 0 4px 20px rgba(108,255,214,0.1);
}

/* ===== VIDEO SHOWCASE ===== */
.video-showcase {
  background: var(--bg-0);
  padding: var(--section-py) 0;
}

.video-showcase__wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 48px;
}

.video-showcase__title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  text-align: center;
  color: var(--text-primary);
}

.video-slider-wrapper {
  position: relative;
  width: 100%;
}

.video-slider-controls {
  position: absolute;
  top: -60px;
  right: 0;
  display: flex;
  gap: 12px;
  z-index: 10;
}

.video-slider__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: rgba(108, 255, 214, 0.1);
  border: 1px solid rgba(108, 255, 214, 0.2);
  color: var(--cyan);
  cursor: pointer;
  transition: all var(--dur) var(--ease);
  padding: 0;
}

.video-slider__btn:hover:not(:disabled) {
  background: rgba(108, 255, 214, 0.2);
  border-color: var(--cyan);
}

.video-slider__btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

[data-theme="light"] .video-slider__btn {
  color: #007a62;
  background: rgba(0, 122, 98, 0.1);
  border-color: rgba(0, 122, 98, 0.2);
}

[data-theme="light"] .video-slider__btn:hover:not(:disabled) {
  background: rgba(0, 122, 98, 0.2);
  border-color: #007a62;
}

.video-showcase__container {
  position: relative;
  width: 100%;
  max-width: 1000px;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #000;
  box-shadow: 0 20px 60px rgba(0,0,0,0.15);
}

.video-showcase__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.video-showcase__container--reels {
  width: 100%;
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  gap: 24px;
  padding: 0;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
  scrollbar-width: none;
  background: transparent;
  box-shadow: none;
}

.video-showcase__container--reels::-webkit-scrollbar {
  display: none;
}

.video-showcase__reel {
  position: relative;
  flex-shrink: 0;
  width: 280px;
  aspect-ratio: 9 / 16;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #000;
  box-shadow: 0 8px 32px rgba(0,0,0,0.2);
  border: none;
  scroll-snap-align: center;
  scroll-snap-stop: always;
}

@media (max-width: 900px) {
  .video-showcase__reel {
    width: 240px;
  }
}

@media (max-width: 768px) {
  .video-slider-controls {
    display: none;
  }

  .video-showcase__container--reels {
    scrollbar-width: auto;
    gap: 16px;
  }

  .video-showcase__reel {
    width: 220px;
  }

  .video-showcase__container--reels::-webkit-scrollbar {
    display: block;
    height: 6px;
  }

  .video-showcase__container--reels::-webkit-scrollbar-track {
    background: transparent;
  }

  .video-showcase__container--reels::-webkit-scrollbar-thumb {
    background: rgba(108, 255, 214, 0.3);
    border-radius: 3px;
  }

  .video-showcase__container--reels::-webkit-scrollbar-thumb:hover {
    background: rgba(108, 255, 214, 0.5);
  }

  [data-theme="light"] .video-showcase__container--reels::-webkit-scrollbar-thumb {
    background: rgba(0, 122, 98, 0.3);
  }

  [data-theme="light"] .video-showcase__container--reels::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 122, 98, 0.5);
  }
}

@media (max-width: 600px) {
  .video-showcase__reel {
    width: calc(50vw - 12px);
    max-width: 220px;
  }
}

@media (max-width: 480px) {
  .video-showcase__reel {
    width: calc(70vw - 12px);
    max-width: 280px;
    aspect-ratio: 9 / 16 !important;
  }
}

/* ===== STEPS ===== */
.steps {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px 36px;
  max-width: 900px;
  margin: 0 auto;
}

.step {
  background: var(--bg-2);
  padding: 40px 32px;
  position: relative;
  transition: background 0.3s ease, transform 0.3s ease;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
}
.step:nth-child(2) { transform: translateY(24px); }
.step:nth-child(3) { transform: translateY(-12px); }

.step:hover { background: var(--bg-3); transform: translateY(-4px); }

.step__number {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  color: #111111;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  background: var(--amber);
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 16px;
}
.step__icon {
  font-size: 2.6rem;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  background: rgba(108,255,214,0.08);
  border-radius: var(--radius-md);
}
.step h3 {
  color: var(--text-primary);
  margin-bottom: 12px;
  font-size: 1.1rem;
}

.step__arrow { display: none; }

/* ===== USPs ===== */
.usps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.usp {
  background: var(--bg-2);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  border: 1px solid var(--border-subtle);
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.usp::before {
  content: '';
  position: absolute;
  inset: 0;
  background: transparent;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.usp:hover { transform: translateY(-3px); border-color: rgba(108,255,214,0.2); box-shadow: 0 8px 24px rgba(0,0,0,0.08); }
.usp:hover::before { opacity: 0; }

/* Asymmetric accents */
.usp:nth-child(1) { border-left: 3px solid var(--cyan); }
.usp:nth-child(2) { border-right: 3px solid var(--amber); }
.usp:nth-child(3) { border-left: 3px solid var(--amber); }
.usp:nth-child(4) { border-right: 3px solid var(--cyan); }
.usp:nth-child(5) { border-left: 3px solid var(--cyan); }
.usp:nth-child(6) { border-right: 3px solid var(--amber); }

.usp__icon {
  font-size: 2.4rem;
  margin-bottom: 20px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  background: rgba(108,255,214,0.08);
  border-radius: var(--radius-md);
}
.usp h3 { color: var(--text-primary); margin-bottom: 12px; position: relative; font-size: 1.05rem; }
.usp p  { font-size: 0.9rem; position: relative; color: var(--text-secondary); }

/* ===== USE CASES ===== */
.use-cases {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.use-case {
  background: var(--bg-2);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.use-case:nth-child(1) { border-bottom: 3px solid var(--cyan); }
.use-case:nth-child(2) { border-right: 3px solid var(--amber); }
.use-case:nth-child(3) { border-top: 3px solid var(--amber); }
.use-case:nth-child(4) { border-left: 3px solid var(--cyan); }
.use-case:nth-child(5) { border-bottom: 3px solid var(--amber); }
.use-case:nth-child(6) { border-right: 3px solid var(--cyan); }

.use-case:hover { transform: translateY(-3px); border-color: var(--border); box-shadow: 0 8px 24px rgba(0,0,0,0.08); }

.use-case__icon {
  font-size: 2.6rem;
  margin-bottom: 20px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  background: rgba(108,255,214,0.08);
  border-radius: var(--radius-md);
}
.use-case h3 { color: var(--text-primary); margin-bottom: 12px; position: relative; font-size: 1.05rem; }
.use-case p  { margin-bottom: 20px; font-size: 0.9rem; position: relative; color: var(--text-secondary); }
.use-case ul { display: flex; flex-direction: column; gap: 10px; position: relative; }
.use-case li {
  font-size: 0.85rem;
  color: var(--text-secondary);
  padding-left: 18px;
  position: relative;
}
.use-case li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: var(--cyan);
  font-weight: bold;
}

/* ===== CASES ===== */
.cases {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.case-card {
  background: var(--bg-2);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  position: relative;
  overflow: hidden;
  transition: transform var(--dur) var(--ease), border-color var(--dur) var(--ease);
}

.case-card:nth-child(1) { border-left: 3px solid var(--cyan); }
.case-card:nth-child(2) { border-left: 3px solid var(--amber); }
.case-card:nth-child(3) { border-left: 3px solid var(--cyan); }

.case-card:hover { transform: translateY(-6px); border-color: var(--border); }

.case-card__tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 100px;
  margin-bottom: 16px;
  background: linear-gradient(135deg, rgba(108,255,214,0.12), rgba(255,171,0,0.12));
  border: 1px solid rgba(108,255,214,0.3);
  color: var(--cyan);
}
.case-card h3 { color: var(--text-primary); margin-bottom: 12px; font-size: 1.15rem; }
.case-card p  { font-size: 0.92rem; margin-bottom: 28px; }

.case-card__stats {
  display: flex;
  gap: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--border-subtle);
}
.case-card__stats > div { display: flex; flex-direction: column; gap: 2px; }
.case-card__stats strong {
  font-size: 1.3rem;
  font-weight: 800;
  display: block;
  background: var(--grad-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.case-card__stats span { font-size: 0.75rem; color: var(--text-muted); }

/* ===== SPECS ===== */
.specs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
  gap: 24px;
}

/* ===== SPECS CARDS ===== */
.specs-card {
  background: var(--bg-1);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 36px 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.specs-card--included {
  border-top: 3px solid var(--cyan);
}

.specs-card--discuss {
  border-top: 3px solid var(--amber);
}

.specs-card__header {
  display: flex;
  align-items: center;
  gap: 12px;
}

.specs-card__badge {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.specs-card__badge--green {
  background: rgba(108, 255, 214, 0.15);
  color: #007a62;
}

.specs-card__badge--amber {
  background: rgba(255, 171, 0, 0.15);
  color: #c98000;
}

[data-theme="dark"] .specs-card__badge--green {
  background: rgba(108, 255, 214, 0.12);
  color: var(--cyan);
}

[data-theme="dark"] .specs-card__badge--amber {
  background: rgba(255, 171, 0, 0.12);
  color: var(--amber);
}

.specs-card__header h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: 0;
  text-transform: none;
}

.specs-card__intro {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-top: -8px;
}

.specs-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.specs-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 13px 0;
  border-bottom: 1px solid var(--border-subtle);
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.specs-list li:last-child {
  border-bottom: none;
}

.specs-list__check {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(108, 255, 214, 0.15);
  color: #007a62;
  font-size: 0.7rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
}

[data-theme="dark"] .specs-list__check {
  background: rgba(108, 255, 214, 0.12);
  color: var(--cyan);
}

.specs-list__dot {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
}

.specs-list__dot::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--amber);
  opacity: 0.7;
}

.specs-list em {
  color: var(--text-muted);
  font-style: normal;
  font-size: 0.85rem;
}

.specs-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 4px;
  font-size: 0.875rem;
  font-weight: 600;
  color: #c98000;
  text-decoration: none;
  transition: gap 0.2s ease, color 0.2s ease;
  align-self: flex-start;
}

.specs-card__cta:hover {
  gap: 10px;
  color: var(--amber);
}

[data-theme="dark"] .specs-card__cta {
  color: var(--amber);
}

/* ===== TESTIMONIALS ===== */
.testimonials {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.testimonial {
  background: var(--bg-2);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  position: relative;
  overflow: hidden;
  transition: transform var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.testimonial::before {
  content: '"';
  position: absolute;
  top: -10px; right: 24px;
  font-size: 8rem;
  font-weight: 900;
  line-height: 1;
  background: var(--grad-purple);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  opacity: 0.15;
  pointer-events: none;
}
.testimonial:hover { transform: translateY(-6px); border-color: rgba(108,255,214,0.3); }

.testimonial__stars {
  font-size: 1rem;
  letter-spacing: 2px;
  margin-bottom: 18px;
  background: var(--grad-warm);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.testimonial p {
  font-size: 0.93rem;
  line-height: 1.8;
  font-style: italic;
  margin-bottom: 24px;
  position: relative;
}
.testimonial__author { display: flex; flex-direction: column; gap: 3px; }
.testimonial__author strong { color: var(--text-primary); font-size: 0.9rem; }
.testimonial__author span  { color: var(--text-muted); font-size: 0.8rem; }

/* ===== FAQ ===== */
.faq-list {
  max-width: 780px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.faq-item {
  background: var(--bg-2);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--dur) var(--ease);
}
.faq-item:hover { border-color: rgba(108,255,214,0.25); }
.faq-item.open  { border-color: rgba(108,255,214,0.4); background: var(--bg-3); }

.faq-item__question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 22px 28px;
  text-align: left;
  font-size: 0.97rem;
  font-weight: 600;
  color: var(--text-primary);
  gap: 16px;
  transition: color var(--dur) var(--ease);
}
.faq-item.open .faq-item__question {
  background: var(--grad-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.faq-item__icon {
  font-size: 1.4rem;
  color: var(--text-muted);
  flex-shrink: 0;
  transition: transform var(--dur) var(--ease), color var(--dur) var(--ease);
  -webkit-text-fill-color: var(--text-muted);
}
.faq-item.open .faq-item__icon {
  transform: rotate(45deg);
  color: var(--cyan);
  -webkit-text-fill-color: var(--cyan);
}

.faq-item__answer { max-height: 0; overflow: hidden; transition: max-height 0.5s var(--ease); }
.faq-item__answer p { padding: 0 28px 24px; font-size: 0.92rem; line-height: 1.8; }

/* ===== CTA ===== */
.section--cta { position: relative; overflow: hidden; }
.section--cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 60% at 20% 50%, rgba(255,171,0,0.08) 0%, transparent 70%),
    radial-gradient(ellipse 50% 50% at 80% 50%, rgba(108,255,214,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.cta-box {
  background: var(--bg-2);
  border: 1px solid rgba(108,255,214,0.2);
  border-radius: var(--radius-xl);
  padding: clamp(40px, 6vw, 80px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
  position: relative;
  overflow: hidden;
}
.cta-box::before {
  content: '';
  position: absolute;
  top: -120px; right: -120px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(255,171,0,0.1), transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.cta-box::after {
  content: '';
  position: absolute;
  bottom: -100px; left: -80px;
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(108,255,214,0.1), transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.cta-box__content h2 { color: var(--text-primary); margin: 12px 0 16px; }
.cta-box__content p strong { color: var(--text-primary); }

/* ===== FORM ===== */
.offerte-form { display: flex; flex-direction: column; gap: 16px; position: relative; z-index: 1; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group { display: flex; flex-direction: column; gap: 7px; }
.form-group label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-secondary);
  letter-spacing: 0.03em;
}

.form-group input,
.form-group select,
.form-group textarea {
  background: var(--bg-3);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  color: var(--text-primary);
  font-size: 0.92rem;
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
  -webkit-appearance: none;
}
.form-group input:focus-visible,
.form-group select:focus-visible,
.form-group textarea:focus-visible {
  outline: none;
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(108,255,214,0.15);
}

/* Global focus-visible for keyboard navigation */
:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
  border-radius: 4px;
}
.btn:focus-visible,
.nav__links a:focus-visible,
.mobile-menu a:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-muted); }
.form-group textarea { resize: vertical; min-height: 100px; }
.form-group select { cursor: pointer; }
.form-group select option { background: var(--bg-3); }

.form-note {
  text-align: center;
  font-size: 0.77rem;
  color: var(--text-muted);
}

.form-success {
  text-align: center;
  padding: 40px;
  display: none;
}
.form-success.visible { display: block; }
.form-success__icon { font-size: 3rem; margin-bottom: 16px; }
.form-success h3 {
  font-size: 1.4rem;
  margin-bottom: 8px;
  background: var(--grad-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ===== FOOTER ===== */
.footer {
  background: var(--bg-1);
  border-top: 1px solid var(--border-subtle);
  padding: 72px 0 36px;
}

.footer__top {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 64px;
  margin-bottom: 48px;
}
.footer__brand p {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin: 16px 0 24px;
  max-width: 280px;
}

.footer__social { display: flex; gap: 12px; }
.footer__social a {
  width: 38px; height: 38px;
  display: flex; align-items: center; justify-content: center;
  border-radius: var(--radius-sm);
  background: var(--bg-3);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  transition: color var(--dur) var(--ease), border-color var(--dur) var(--ease), background var(--dur) var(--ease);
}
.footer__social a:hover {
  background: rgba(108,255,214,0.12);
  border-color: rgba(108,255,214,0.4);
  color: var(--cyan);
}

.footer__nav {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.footer__col h4 {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  margin-bottom: 18px;
}
.footer__col ul { display: flex; flex-direction: column; gap: 10px; }
.footer__col a { font-size: 0.87rem; color: var(--text-secondary); transition: color 0.2s; }
.footer__col a:hover { color: var(--cyan); }

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 32px;
  border-top: 1px solid var(--border-subtle);
  flex-wrap: wrap;
  gap: 16px;
}
.footer__bottom p { font-size: 0.8rem; color: var(--text-muted); }
.footer__legal { display: flex; gap: 24px; }
.footer__legal a { font-size: 0.8rem; color: var(--text-muted); transition: color 0.2s; }
.footer__legal a:hover { color: var(--text-secondary); }

/* ===== STICKY CTA ===== */
.sticky-cta {
  display: none;
  position: fixed;
  bottom: 16px; left: 16px; right: 16px;
  z-index: 90;
  padding: 12px 16px;
  gap: 10px;
  border-radius: var(--radius-md);
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(0,0,0,0.08);
  box-shadow: 0 4px 24px rgba(0,0,0,0.1);
}

/* ===== SCROLL ANIMATIONS ===== */
[data-animate] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s var(--ease), transform 0.65s var(--ease);
}
[data-animate].visible { opacity: 1; transform: translateY(0); }
[data-animate]:nth-child(2) { transition-delay: 0.1s; }
[data-animate]:nth-child(3) { transition-delay: 0.2s; }
[data-animate]:nth-child(4) { transition-delay: 0.3s; }
[data-animate]:nth-child(5) { transition-delay: 0.4s; }
[data-animate]:nth-child(6) { transition-delay: 0.5s; }

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .nav__links, .nav__cta { display: none; }
  .nav__burger { display: flex; }
  .cta-box { grid-template-columns: 1fr; gap: 40px; }
  .footer__top { grid-template-columns: 1fr; gap: 40px; }
  .specs-grid { grid-template-columns: 1fr; }
  .specs-card { padding: 28px 24px; }
}

@media (max-width: 640px) {
  .steps { grid-template-columns: 1fr; gap: 16px; }
  .step { max-width: 100%; }
  .step:nth-child(2) { transform: translateY(0); }
  .step:nth-child(3) { transform: translateY(0); }
  .form-row { grid-template-columns: 1fr; }
  .hero__stats { gap: 16px; }
  .stat__divider { display: none; }
  .footer__nav { grid-template-columns: 1fr 1fr; }
  .sticky-cta { display: flex; }
  body { padding-bottom: 78px; }
  .hero__actions { flex-direction: column; }
  .hero__actions .btn { width: 100%; }
}

@media (max-width: 400px) {
  .footer__nav { grid-template-columns: 1fr; }
}

/* ===== HERO SHOWCASE SLIDER ===== */
.hero__showcase {
  position: relative;
  z-index: 2;
  background: var(--bg-0);
  padding: 0 clamp(20px, 5vw, 48px) clamp(60px, 8vw, 100px);
}

.hero__showcase .container { padding: 0; }

.showcase-slider {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 40px 120px rgba(0,0,0,0.7), 0 0 0 1px rgba(255,255,255,0.04);
}

.showcase-slider__track {
  display: flex;
  transition: transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.showcase-slider__slide {
  min-width: 100%;
  position: relative;
}

.showcase-slider__slide img {
  width: 100%;
  height: clamp(280px, 45vw, 560px);
  object-fit: cover;
  object-position: center 35%;
  display: block;
}

.showcase-slider__btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(11,14,26,0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  color: var(--text-primary);
  font-size: 1.1rem;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.showcase-slider__btn:hover {
  background: rgba(108,255,214,0.25);
  transform: translateY(-50%) scale(1.1);
}
.showcase-slider__btn--prev { left: 16px; }
.showcase-slider__btn--next { right: 16px; }

.showcase-slider__dots {
  position: absolute;
  bottom: 58px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 7px;
  z-index: 3;
}

.showcase-slider__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255,255,255,0.35);
  border: none;
  cursor: pointer;
  transition: background 0.25s, transform 0.25s;
  padding: 0;
}
.showcase-slider__dot.active {
  background: var(--cyan);
  transform: scale(1.4);
}

.hero__showcase-badge {
  position: absolute;
  bottom: 20px;
  left: 20px;
  z-index: 3;
  background: rgba(11,14,26,0.75);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 10px 18px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-secondary);
  letter-spacing: 0.02em;
}

/* ===== SHOWCASE IMAGE ===== */
.showcase-image {
  position: relative;
  margin: 0 auto;
  width: fit-content;
  max-width: 50%;
  cursor: pointer;
  transition: transform 0.3s ease, filter 0.3s ease;
}

.showcase-image:hover {
  transform: scale(1.08);
  filter: drop-shadow(0 20px 60px rgba(108, 255, 214, 0.3));
}

.showcase-image__img {
  width: 100%;
  height: auto;
  display: block;
}

/* ===== CASES / PORTFOLIO SLIDER ===== */
.cases-slider-wrapper {
  margin-top: 56px;
  position: relative;
}

.cases-slider-controls {
  position: absolute;
  top: -60px;
  right: 0;
  display: flex;
  gap: 12px;
  z-index: 10;
}

.cases-slider__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: rgba(108, 255, 214, 0.1);
  border: 1px solid rgba(108, 255, 214, 0.3);
  color: var(--cyan);
  cursor: pointer;
  transition: all 0.25s ease;
}

.cases-slider__btn:hover {
  background: rgba(108, 255, 214, 0.2);
  border-color: var(--cyan);
  transform: scale(1.05);
}

.cases-slider__btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.cases-slider__btn:disabled:hover {
  background: rgba(108, 255, 214, 0.1);
  border-color: rgba(108, 255, 214, 0.3);
  transform: scale(1);
}

.cases-slider-viewport {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.cases-slider-viewport::-webkit-scrollbar {
  display: none;
}

.cases-slider-track {
  display: flex;
  gap: 24px;
  padding-bottom: 12px;
}

.cases-slider-track .case-card {
  flex: 0 0 calc((100% - 48px) / 3);
  min-width: 0;
  scroll-snap-align: center;
  scroll-snap-stop: always;
}

@media (max-width: 900px) {
  .cases-slider-track {
    gap: 16px;
  }
  .cases-slider-track .case-card {
    flex: 0 0 calc((100% - 24px) / 2);
  }
}

@media (max-width: 768px) {
  .cases-slider-viewport {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
  }
  .cases-slider-track {
    display: flex;
    gap: 16px;
    padding-bottom: 12px;
  }
  .cases-slider-track .case-card {
    flex-shrink: 0;
    width: 280px;
    scroll-snap-align: center;
    scroll-snap-stop: always;
  }
}

@media (max-width: 768px) {
  .cases-slider-controls {
    display: none;
  }
  .cases-slider-viewport {
    overflow-x: auto;
    scrollbar-width: auto;
  }
  .cases-slider-viewport::-webkit-scrollbar {
    display: block;
    height: 6px;
  }
  .cases-slider-viewport::-webkit-scrollbar-track {
    background: rgba(0,0,0,0.05);
  }
  .cases-slider-viewport::-webkit-scrollbar-thumb {
    background: rgba(0,0,0,0.15);
    border-radius: 3px;
  }
}

@media (max-width: 480px) {
  .cases-slider-track .case-card {
    flex: 0 0 280px;
  }
}

.case-card {
  display: flex;
  flex-direction: column;
  background: var(--bg-1);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  padding: 0;
  text-decoration: none;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.case-card:hover {
  transform: translateY(-4px);
  border-color: var(--cyan);
  box-shadow: 0 16px 48px rgba(0, 224, 255, 0.1);
}

.case-card__img {
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.case-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.case-card:hover .case-card__img img {
  transform: scale(1.04);
}

.case-card__body {
  padding: 24px 28px 28px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.case-card__tag {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cyan);
}

.case-card__title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0;
  line-height: 1.3;
}

.case-card__desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 4px 0 0;
  flex: 1;
}

/* Metadata container */
.case-card__meta {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 0;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
}

/* Individual meta item with improved typography hierarchy */
.case-card__meta-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  line-height: 1.4;
  color: var(--text-primary);
  font-weight: 700;
}

/* Label styling - subtle and secondary */
.meta-label {
  color: var(--text-muted);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

/* Value styling with accent colors */
.case-card__meta-item:first-child {
  color: var(--amber);
  font-weight: 700;
}

.case-card__meta-item:first-child .meta-label {
  color: var(--text-muted);
}

.case-card__meta-item:last-child {
  color: var(--cyan);
  font-weight: 700;
}

.case-card__meta-item:last-child .meta-label {
  color: var(--text-muted);
}

.case-card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--cyan);
  transition: gap 0.2s ease;
}

.case-card:hover .case-card__link {
  gap: 10px;
}

/* ===== GALLERY ===== */
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 240px;
  gap: 12px;
}

.gallery__item {
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  background: var(--bg-2);
}

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

.gallery__item:hover img {
  transform: scale(1.06);
}

.gallery__item--tall { grid-row: span 2; }
.gallery__item--wide { grid-column: span 2; }

@media (max-width: 768px) {
  .hero__content {
    grid-template-columns: 1fr;
    gap: clamp(40px, 6vw, 60px);
  }

  .hero__video-wrapper {
    min-height: 300px;
  }

  .gallery {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: minmax(160px, 200px);
  }
  .gallery__item--wide { grid-column: span 1; }
  .gallery__item--tall { grid-row: span 1; }
}

@media (max-width: 480px) {
  .hero__title {
    font-size: clamp(1.8rem, 5vw, 2.5rem);
  }

  .hero__actions {
    flex-direction: column;
    gap: 12px;
  }

  .hero__actions .btn--lg {
    width: 100%;
    text-align: center;
  }

  .hero__stats {
    flex-direction: column;
    gap: 24px;
    align-items: flex-start;
  }

  .stat__divider {
    display: none;
  }

  .gallery {
    grid-template-columns: 1fr;
    grid-auto-rows: 200px;
  }
}

/* ===== SKIP LINK ===== */
.skip-link {
  position: fixed;
  top: -100%;
  left: 16px;
  z-index: 9999;
  background: var(--cyan);
  color: var(--bg-0);
  font-weight: 700;
  padding: 10px 20px;
  border-radius: var(--radius-md);
  transition: top 0.2s;
}
.skip-link:focus-visible { top: 16px; outline: none; }

/* ===== REDUCED MOTION ===== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .hero__orb--1,
  .hero__orb--2,
  .hero__orb--3 { animation: none; }
  .gallery__item:hover img { transform: none; }
  [data-animate] { opacity: 1; transform: none; transition: none; }
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--bg-0); }
::-webkit-scrollbar-thumb { background: var(--bg-4); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--cyan); }

::selection { background: var(--cyan); color: #111111; }

/* ===== CASE DETAIL PAGES ===== */

/* Breadcrumb */
.case-breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 500;
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  margin-bottom: 24px;
  transition: color 0.2s ease;
}
.case-breadcrumb:hover { color: var(--cyan); }

/* Hero */
.case-hero {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  padding-top: 80px;
}
.case-hero__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
}
.case-hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(10,10,10,0.78) 0%, rgba(20,20,20,0.65) 50%, rgba(10,10,10,0.82) 100%),
    linear-gradient(to top, var(--bg-0) 0%, transparent 40%);
}
.case-hero__content {
  position: relative;
  z-index: 1;
  padding-top: 80px;
  padding-bottom: 64px;
}
.case-hero__tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cyan);
  background: rgba(0,224,255,0.08);
  border: 1px solid rgba(0,224,255,0.2);
  border-radius: 100px;
  padding: 5px 14px;
  margin-bottom: 16px;
}
.case-hero__title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 900;
  line-height: 1.1;
  color: #ffffff;
  margin: 0 0 16px;
}
.case-hero__sub {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255,255,255,0.75);
  max-width: 600px;
  line-height: 1.6;
}

/* Stats bar */
.case-stats-bar {
  background: var(--bg-1);
  border-bottom: 1px solid var(--border);
}
.case-stats {
  display: flex;
  gap: 0;
  padding: 0;
}
.case-stat {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 28px 16px;
  border-right: 1px solid var(--border);
}
.case-stat:last-child { border-right: none; }
.case-stat strong {
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 800;
  background: var(--grad-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.case-stat span {
  font-size: 0.8rem;
  color: var(--text-secondary);
  text-align: center;
}

/* Body: two-column */
.case-body {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 56px;
  align-items: start;
}
.case-body__text h2 {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--text-primary);
  margin: 0 0 20px;
}
.case-body__text p {
  color: var(--text-secondary);
  line-height: 1.8;
  font-size: 1rem;
  margin: 0 0 16px;
}

/* Aside detail card */
.case-detail-card {
  background: var(--bg-1);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  position: sticky;
  top: 96px;
}
.case-detail-card h4 {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cyan);
  margin: 0 0 20px;
}
.case-detail-card dl {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px 16px;
  margin: 0;
}
.case-detail-card dt {
  font-size: 0.82rem;
  color: var(--text-secondary);
  font-weight: 500;
  white-space: nowrap;
}
.case-detail-card dd {
  font-size: 0.82rem;
  color: var(--text-primary);
  font-weight: 600;
  margin: 0;
}

/* Photo gallery */
.case-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 40px;
}
.case-gallery img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: var(--radius-md);
  transition: transform 0.35s ease, opacity 0.35s ease;
}
.case-gallery img:hover {
  transform: scale(1.02);
  opacity: 0.9;
}
.case-gallery img:first-child {
  grid-column: span 3;
  aspect-ratio: 16 / 7;
}

/* CTA strip */
.case-cta {
  text-align: center;
  max-width: 560px;
  margin: 0 auto;
}
.case-cta h2 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 900;
  color: var(--text-primary);
  margin: 0 0 16px;
}
.case-cta p {
  color: var(--text-secondary);
  line-height: 1.7;
  margin: 0 0 32px;
}

/* Responsive */
@media (max-width: 900px) {
  .case-body {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .case-detail-card { position: static; }
  .case-gallery { grid-template-columns: repeat(2, 1fr); }
  .case-gallery img:first-child {
    grid-column: span 2;
    aspect-ratio: 16 / 7;
  }
}
@media (max-width: 600px) {
  .case-hero { min-height: 400px; }
  .case-stats { flex-wrap: wrap; }
  .case-stat { flex: 1 1 50%; border-bottom: 1px solid var(--border); }
  .case-gallery { grid-template-columns: 1fr; }
  .case-gallery img:first-child { grid-column: span 1; aspect-ratio: 3 / 2; }
}

/* ===== THEME TOGGLE BUTTON ===== */
.theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  background: rgba(0,0,0,0.05);
  border: 1px solid var(--border-subtle);
  cursor: pointer;
  font-size: 1rem;
  transition: background var(--dur) var(--ease), border-color var(--dur) var(--ease), transform 0.2s;
  flex-shrink: 0;
}
.theme-toggle:hover {
  background: rgba(108,255,214,0.12);
  border-color: rgba(108,255,214,0.4);
  transform: scale(1.08);
}
.theme-toggle__icon { line-height: 1; }
.theme-toggle__icon--dark  { display: none; }
.theme-toggle__icon--light { display: block; }

/* ===== LIGHT MODE OVERRIDES ===== */
[data-theme="light"] .section__tag {
  background: var(--cyan);
  border-color: transparent;
  color: #111111;
}

/* --cyan (#6CFFD6) heeft ~1.6:1 contrast op wit — onleesbaar.
   Donker teal (#007a62) geeft ~5.3:1 — WCAG AA-compliant. */
[data-theme="light"] .case-card__tag {
  color: #007a62;
}

[data-theme="light"] .case-card__link {
  color: #007a62;
}

[data-theme="light"] .case-card:hover {
  border-color: #007a62;
  box-shadow: 0 16px 48px rgba(0, 122, 98, 0.12);
}

[data-theme="light"] .cases-slider__btn {
  background: rgba(0, 122, 98, 0.1);
  border-color: rgba(0, 122, 98, 0.3);
  color: #007a62;
}

[data-theme="light"] .cases-slider__btn:hover {
  background: rgba(0, 122, 98, 0.2);
  border-color: #007a62;
}
}

[data-theme="light"] .case-card:hover .case-card__link {
  color: #005f4e;
}

/* ===== DARK MODE OVERRIDES ===== */
[data-theme="dark"] {
  --bg-0:  #000000;
  --bg-1:  #0a0a0a;
  --bg-2:  #111111;
  --bg-3:  #1a1a1a;
  --bg-4:  #222222;

  --text-primary:   #ffffff;
  --text-secondary: #a0a0a0;
  --text-muted:     #555555;

  --border:        rgba(108,255,214,0.2);
  --border-subtle: rgba(255,255,255,0.06);

  --grad-hero: linear-gradient(135deg, #ffab00 0%, #6CFFD6 100%);
}

[data-theme="dark"] .theme-toggle {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.1);
}
[data-theme="dark"] .theme-toggle:hover {
  background: rgba(108,255,214,0.1);
  border-color: rgba(108,255,214,0.35);
}
[data-theme="dark"] .theme-toggle__icon--dark  { display: block; }
[data-theme="dark"] .theme-toggle__icon--light { display: none; }

[data-theme="dark"] .nav {
  background: #000000;
  border-bottom-color: rgba(255,255,255,0.06);
}

[data-theme="dark"] .logo-pixl { color: #ffffff; }

[data-theme="dark"] .nav.scrolled {
  background: #000000;
  border-bottom-color: rgba(255,255,255,0.06);
  box-shadow: none;
}

[data-theme="dark"] .btn--primary { color: #000000; }
[data-theme="dark"] .btn--purple  { color: #000000; }
[data-theme="dark"] .btn--ghost {
  background: rgba(255,255,255,0.05);
  border-color: rgba(255,255,255,0.08);
}
[data-theme="dark"] .btn--ghost:hover {
  border-color: rgba(108,255,214,0.4);
  color: var(--cyan);
  background: rgba(108,255,214,0.06);
}

[data-theme="dark"] ::selection { background: var(--cyan); color: #000000; }

[data-theme="dark"] .nav__burger:hover {
  background: rgba(255,255,255,0.1);
}

[data-theme="dark"] .mobile-menu { background: var(--bg-0); }

/* Smooth transition when switching themes */
body, .nav, .nav.scrolled, .btn, .theme-toggle {
  transition-property: background, border-color, color, box-shadow;
  transition-duration: 0.3s;
  transition-timing-function: var(--ease);
}
