/* ======================================================
   TurboTech Consulting – styles.css
   Inspired by Hexahub: green/cyan + futuristic feel.
   ====================================================== */

html {
  scroll-behavior: smooth;
}

body {
  background:
    radial-gradient(1200px 600px at 10% -10%, rgba(16, 185, 129, 0.18), transparent 60%),
    radial-gradient(900px 500px at 110% 10%, rgba(34, 211, 238, 0.14), transparent 60%),
    #000000;
  font-family: 'Rajdhani', 'Exo 2', system-ui, sans-serif;
  letter-spacing: 0.01em;
}

/* Une seule zone de scroll pendant l’intro : évite deux barres à droite (page + overlay). */
html.is-loading,
body.is-loading {
  overflow: hidden;
  overscroll-behavior: none;
}

/* ---------- App reveal (fast modern load feel) ---------- */
body.is-loading main,
body.is-loading header,
body.is-loading section,
body.is-loading footer {
  opacity: 0;
  transform: translateY(8px);
  filter: blur(6px);
}

body.is-loaded main,
body.is-loaded header,
body.is-loaded section,
body.is-loaded footer {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
  transition: opacity 650ms ease, transform 650ms ease, filter 650ms ease;
}

/* ---------- Hexahub-like polish overlays ---------- */
.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.10;
  mix-blend-mode: overlay;
  background-image:
    repeating-radial-gradient(circle at 20% 20%, rgba(255,255,255,0.05) 0 1px, transparent 1px 3px),
    repeating-radial-gradient(circle at 80% 40%, rgba(255,255,255,0.04) 0 1px, transparent 1px 4px);
  filter: contrast(120%) brightness(95%);
}

.spotlight {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 2;
  opacity: 0.0;
  transition: opacity 300ms ease;
  background: radial-gradient(600px 420px at var(--sx, 50%) var(--sy, 30%), rgba(34,211,238,0.12), transparent 55%),
              radial-gradient(520px 380px at var(--sx, 50%) var(--sy, 30%), rgba(16,185,129,0.10), transparent 60%);
}
body.has-spotlight .spotlight { opacity: 1; }

/* ---------- Intervention map (interactive) ---------- */
.intervention-wrap {
  display: grid;
  gap: 0.75rem;
  justify-items: center;
}

.intervention-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.55rem 1rem;
  border-radius: 9999px;
  border: 1px solid rgba(16, 185, 129, 0.28);
  background: rgba(16, 185, 129, 0.08);
  color: rgba(167, 243, 208, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  font-weight: 600;
  letter-spacing: 0.02em;
}
.intervention-pill .dot {
  width: 8px;
  height: 8px;
  border-radius: 9999px;
  background: #34d399;
  box-shadow: 0 0 0 6px rgba(16,185,129,0.14);
  animation: pulseDot 1.6s ease-in-out infinite;
}
.intervention-pill .sep {
  opacity: 0.5;
}
@keyframes pulseDot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.12); opacity: 0.7; }
}

/* ---------- Hero carousel (carte / accroche / texte) ---------- */
.hero-carousel-viewport {
  overflow: hidden;
  width: 100%;
  border-radius: 1.75rem;
  border: none;
  background:
    radial-gradient(ellipse 85% 70% at 50% 40%, rgba(16, 185, 129, 0.06), transparent 55%),
    radial-gradient(ellipse 70% 50% at 80% 80%, rgba(34, 211, 238, 0.05), transparent 50%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.045),
    inset 0 -1px 0 rgba(0, 0, 0, 0.25);
}

.hero-carousel-track {
  display: flex;
  width: 300%;
  transition: transform 0.58s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.hero-carousel-slide {
  flex: 0 0 calc(100% / 3);
  box-sizing: border-box;
  min-height: 0;
}

.hero-carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 1rem;
  opacity: 0.92;
}

.hero-carousel-arrow {
  appearance: none;
  cursor: pointer;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.03);
  color: rgba(226, 232, 240, 0.95);
  display: grid;
  place-items: center;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.hero-carousel-arrow:hover {
  border-color: rgba(16, 185, 129, 0.45);
  background: rgba(16, 185, 129, 0.12);
  color: #fff;
}

.hero-carousel-arrow:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.35);
}

.hero-carousel-dots {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.hero-carousel-dot {
  appearance: none;
  cursor: pointer;
  width: 0.55rem;
  height: 0.55rem;
  padding: 0;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.06);
  transition: width 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}

.hero-carousel-dot:hover {
  border-color: rgba(16, 185, 129, 0.45);
  background: rgba(16, 185, 129, 0.22);
}

.hero-carousel-dot.is-active {
  width: 1.35rem;
  border-color: rgba(16, 185, 129, 0.65);
  background: linear-gradient(90deg, #10b981, #22d3ee);
}

.hero-carousel-dot:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.35);
}

.intervention-card {
  width: 100%;
  max-width: 920px;
  border-radius: 1.5rem;
  border: 1px solid rgba(255,255,255,0.10);
  background: linear-gradient(135deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02));
  box-shadow: 0 30px 70px -35px rgba(16,185,129,0.35);
  overflow: hidden;
}

.intervention-card {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
}

@media (max-width: 900px) {
  .intervention-card { grid-template-columns: 1fr; }
}

.intervention-map {
  position: relative;
  padding: 1.25rem;
  min-height: 280px;
  display: grid;
  align-items: center;
  background: radial-gradient(900px 450px at 30% 20%, rgba(34,211,238,0.12), transparent 60%),
              radial-gradient(900px 450px at 70% 70%, rgba(16,185,129,0.10), transparent 60%);
}

.world-map-svg {
  width: 100%;
  height: auto;
  display: block;
  max-height: min(52vh, 520px);
}

.world-map-raster {
  opacity: 0.92;
  filter: brightness(0.42) contrast(1.08) saturate(0);
}

.world-map-svg .mk {
  cursor: pointer;
  outline: none;
}
.world-map-svg .pin {
  fill: #10b981;
  stroke: rgba(255,255,255,0.85);
  stroke-width: 4;
  filter: drop-shadow(0 0 10px rgba(16,185,129,0.35));
}
.world-map-svg .pulse {
  fill: rgba(16,185,129,0.16);
  animation: pinPulse 2.2s ease-in-out infinite;
}
@keyframes pinPulse {
  0%, 100% { transform: scale(1); opacity: 0.55; }
  50% { transform: scale(1.35); opacity: 0.15; }
}
.world-map-svg .lbl {
  fill: rgba(226, 232, 240, 0.92);
  font-size: 46px;
  font-family: 'Rajdhani', system-ui, sans-serif;
  font-weight: 700;
  letter-spacing: 0.02em;
  paint-order: stroke fill;
  stroke: rgba(0,0,0,0.65);
  stroke-width: 6px;
  opacity: 0.0;
  transform: translateY(-6px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.world-map-svg .mk.is-active .lbl,
.world-map-svg .mk:hover .lbl,
.world-map-svg .mk:focus .lbl {
  opacity: 1;
  transform: translateY(0);
}

.world-map-svg .mk.is-active .pin {
  fill: #22d3ee;
  filter: drop-shadow(0 0 14px rgba(34,211,238,0.55));
}
.world-map-svg .mk.is-active .pulse {
  fill: rgba(34,211,238,0.18);
}

.zone-label {
  flex-basis: 100%;
  margin-top: 0.35rem;
  font-family: 'Orbitron', system-ui, sans-serif;
  font-size: 0.65rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: rgba(148,163,184,0.95);
}
.zone-label:first-child {
  margin-top: 0;
}

.map-tip {
  position: absolute;
  left: var(--tx, 50%);
  top: var(--ty, 50%);
  transform: translate(-50%, -120%);
  padding: 0.5rem 0.75rem;
  border-radius: 0.75rem;
  background: rgba(0,0,0,0.75);
  border: 1px solid rgba(255,255,255,0.12);
  color: rgba(226,232,240,0.95);
  font-size: 0.85rem;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  pointer-events: none;
  opacity: 0;
  transition: opacity 160ms ease, transform 160ms ease;
  white-space: nowrap;
}
.map-tip.is-visible {
  opacity: 1;
  transform: translate(-50%, -130%);
}

.intervention-list {
  padding: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-content: flex-start;
  border-left: 1px solid rgba(255,255,255,0.06);
  background: rgba(0,0,0,0.20);
}
@media (max-width: 900px) {
  .intervention-list { border-left: 0; border-top: 1px solid rgba(255,255,255,0.06); }
}

.country-chip {
  appearance: none;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.04);
  color: rgba(226,232,240,0.90);
  padding: 0.5rem 0.75rem;
  border-radius: 9999px;
  font-family: 'Rajdhani', system-ui, sans-serif;
  font-weight: 700;
  letter-spacing: 0.02em;
  transition: all 180ms ease;
}
.country-chip:hover {
  transform: translateY(-1px);
  border-color: rgba(16,185,129,0.35);
  background: rgba(16,185,129,0.10);
  color: #fff;
}
.country-chip.is-active {
  border-color: rgba(34,211,238,0.45);
  background: rgba(34,211,238,0.12);
  color: #fff;
  box-shadow: 0 14px 30px -18px rgba(34,211,238,0.45);
}

.country-divider {
  flex-basis: 100%;
  height: 1px;
  background: rgba(255,255,255,0.06);
  margin: 0.35rem 0;
}

.country-hint {
  flex-basis: 100%;
  margin-top: 0.5rem;
  color: rgba(148,163,184,0.95);
  font-size: 0.85rem;
}

/* ---------- Loader (Hexahub-like staged reveal) ---------- */
#page-loader {
  opacity: 1;
  transition: opacity 520ms ease, visibility 520ms ease;
}
#page-loader.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.loader-overlay {
  isolation: isolate;
}

/* Un seul conteneur scrollable sous l’intro ; barres masquées (scroll souris/tactile inchangé). */
.loader-scroll {
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.loader-scroll::-webkit-scrollbar {
  width: 0;
  height: 0;
  background: transparent;
}

.loader-panel {
  position: relative;
  padding: 2rem 1.35rem 2.25rem;
}

.loader-panel-glow {
  position: absolute;
  inset: -55%;
  background:
    radial-gradient(circle at 45% 25%, rgba(16, 185, 129, 0.22), transparent 52%),
    radial-gradient(circle at 72% 62%, rgba(34, 211, 238, 0.14), transparent 48%);
  pointer-events: none;
  z-index: 0;
}

.loader-panel-frame {
  position: absolute;
  inset: 0;
  border-radius: 1.75rem;
  border: 1px solid rgba(255, 255, 255, 0.09);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 28px 90px -42px rgba(0, 0, 0, 0.95);
  pointer-events: none;
  z-index: 1;
}

.loader-panel-grid {
  position: absolute;
  inset: 0;
  border-radius: 1.75rem;
  opacity: 0.38;
  background-image:
    linear-gradient(rgba(16, 185, 129, 0.075) 1px, transparent 1px),
    linear-gradient(90deg, rgba(16, 185, 129, 0.075) 1px, transparent 1px);
  background-size: 26px 26px;
  mask-image: radial-gradient(ellipse 82% 72% at 50% 42%, black, transparent);
  -webkit-mask-image: radial-gradient(ellipse 82% 72% at 50% 42%, black, transparent);
  pointer-events: none;
  z-index: 1;
}

.loader-stage-step {
  position: relative;
  z-index: 2;
  opacity: 0;
  transform: translateY(22px);
  filter: blur(10px);
  transition:
    opacity 0.78s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.78s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.65s ease;
  pointer-events: none;
}

.loader-stage-step.is-visible {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
  pointer-events: auto;
}

/* Intro « TurboTech Consulting » : mouvement plus premium */
.loader-stage-step--brand {
  position: relative;
  transition:
    opacity 0.72s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.92s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.72s ease;
}

.loader-brand-stack {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.12em;
  perspective: 900px;
}

.loader-brand-word {
  display: block;
  opacity: 0;
  transform: translate3d(0, 36px, -40px) rotateX(-14deg);
  filter: blur(14px);
  backface-visibility: hidden;
}

.loader-brand-word--b {
  background: linear-gradient(105deg, #6ee7b7 0%, #34d399 32%, #22d3ee 62%, #34d399 88%, #10b981 100%);
  background-size: 140% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

#loader-step-brand.is-visible .loader-brand-word--b {
  animation:
    loaderBrandWordIn 1.05s cubic-bezier(0.22, 1, 0.36, 1) 0.22s forwards,
    loaderBrandGradientShift 6s ease-in-out 1s infinite alternate;
}

@keyframes loaderBrandGradientShift {
  0% { background-position: 0% 50%; }
  100% { background-position: 100% 50%; }
}

#loader-step-brand.is-visible .loader-brand-word--a {
  animation: loaderBrandWordIn 1s cubic-bezier(0.22, 1, 0.36, 1) 0.06s forwards;
}

@keyframes loaderBrandWordIn {
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0) rotateX(0deg);
    filter: blur(0);
  }
}

.loader-brand-title {
  position: relative;
  z-index: 1;
}

.loader-brand-glow {
  position: absolute;
  left: 50%;
  top: 42%;
  width: min(440px, 95%);
  height: clamp(100px, 28vw, 160px);
  transform: translate(-50%, -50%);
  background:
    radial-gradient(ellipse 55% 65% at 50% 50%, rgba(16, 185, 129, 0.42), transparent 72%),
    radial-gradient(ellipse 40% 50% at 62% 38%, rgba(34, 211, 238, 0.22), transparent 68%);
  opacity: 0;
  pointer-events: none;
  z-index: 0;
  filter: blur(2px);
}

#loader-step-brand.is-visible .loader-brand-glow {
  animation: loaderBrandGlowIn 1s cubic-bezier(0.22, 1, 0.36, 1) forwards,
    loaderBrandGlowPulse 2.8s ease-in-out 1s infinite alternate;
}

@keyframes loaderBrandGlowIn {
  to { opacity: 1; }
}

@keyframes loaderBrandGlowPulse {
  from {
    opacity: 0.55;
    transform: translate(-50%, -50%) scale(0.94);
  }
  to {
    opacity: 0.95;
    transform: translate(-50%, -52%) scale(1.06);
  }
}

.loader-brand-line {
  position: relative;
  z-index: 1;
  width: min(280px, 82%);
  height: 3px;
  border-radius: 999px;
  transform: scaleX(0);
  opacity: 0;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(16, 185, 129, 0.95),
    rgba(34, 211, 238, 0.95),
    rgba(16, 185, 129, 0.95),
    transparent
  );
  box-shadow:
    0 0 24px rgba(16, 185, 129, 0.45),
    0 0 48px rgba(34, 211, 238, 0.12);
}

#loader-step-brand.is-visible .loader-brand-line {
  animation: loaderBrandUnderline 1.05s cubic-bezier(0.22, 1, 0.36, 1) 0.42s forwards;
}

@keyframes loaderBrandUnderline {
  to {
    transform: scaleX(1);
    opacity: 1;
  }
}

/* Étapes texte */
.loader-startup-kicker {
  opacity: 0;
  transform: translateY(18px);
  letter-spacing: 0.42em;
}

#loader-step-startup.is-visible .loader-startup-kicker {
  animation: loaderKickerIn 0.95s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes loaderKickerIn {
  to {
    opacity: 1;
    transform: translateY(0);
    letter-spacing: 0.25em;
  }
}

.loader-startup-desc {
  opacity: 0;
  transform: translateY(14px);
  filter: blur(8px);
}

#loader-step-startup.is-visible .loader-startup-desc {
  animation: loaderFadeLift 0.88s cubic-bezier(0.22, 1, 0.36, 1) 0.14s forwards;
}

@keyframes loaderFadeLift {
  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

.loader-zones-pill {
  opacity: 0;
  transform: scale(0.92) translateY(12px);
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
}

#loader-step-zones.is-visible .loader-zones-pill {
  animation: loaderZonesPop 0.75s cubic-bezier(0.34, 1.45, 0.52, 1) forwards;
}

@keyframes loaderZonesPop {
  70% {
    transform: scale(1.03) translateY(0);
    box-shadow: 0 0 28px rgba(16, 185, 129, 0.22);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.12);
  }
}

/* Carte loader */
.loader-map-shell {
  opacity: 0;
  transform: translateY(28px) scale(0.94);
  filter: brightness(0.85) blur(12px);
}

#loader-step-map.is-visible .loader-map-shell {
  animation: loaderMapShellIn 1.05s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes loaderMapShellIn {
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: brightness(1) blur(0);
    box-shadow:
      0 24px 60px -28px rgba(16, 185, 129, 0.38),
      inset 0 1px 0 rgba(255, 255, 255, 0.06);
  }
}

#page-loader .world-map-svg .markers > .mk {
  opacity: 0;
}

#page-loader #loader-step-map.is-visible .world-map-svg .markers > .mk {
  animation: loaderMkReveal 0.5s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

#page-loader #loader-step-map.is-visible .world-map-svg .markers > .mk:nth-child(1) { animation-delay: 0.12s; }
#page-loader #loader-step-map.is-visible .world-map-svg .markers > .mk:nth-child(2) { animation-delay: 0.18s; }
#page-loader #loader-step-map.is-visible .world-map-svg .markers > .mk:nth-child(3) { animation-delay: 0.24s; }
#page-loader #loader-step-map.is-visible .world-map-svg .markers > .mk:nth-child(4) { animation-delay: 0.30s; }
#page-loader #loader-step-map.is-visible .world-map-svg .markers > .mk:nth-child(5) { animation-delay: 0.36s; }
#page-loader #loader-step-map.is-visible .world-map-svg .markers > .mk:nth-child(6) { animation-delay: 0.42s; }
#page-loader #loader-step-map.is-visible .world-map-svg .markers > .mk:nth-child(7) { animation-delay: 0.48s; }
#page-loader #loader-step-map.is-visible .world-map-svg .markers > .mk:nth-child(8) { animation-delay: 0.54s; }
#page-loader #loader-step-map.is-visible .world-map-svg .markers > .mk:nth-child(9) { animation-delay: 0.60s; }
#page-loader #loader-step-map.is-visible .world-map-svg .markers > .mk:nth-child(10) { animation-delay: 0.66s; }

@keyframes loaderMkReveal {
  to {
    opacity: 1;
  }
}

#page-loader #loader-step-map.is-visible .world-map-raster {
  animation: loaderMapRasterBreath 4s ease-in-out 1s infinite alternate;
}

@keyframes loaderMapRasterBreath {
  from {
    filter: brightness(0.42) contrast(1.08) saturate(0);
    opacity: 0.88;
  }
  to {
    filter: brightness(0.5) contrast(1.06) saturate(0.06);
    opacity: 0.96;
  }
}

.loader-actions {
  position: relative;
  z-index: 2;
}

.loader-skip {
  appearance: none;
  cursor: pointer;
  padding: 0.65rem 1.35rem;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.05);
  color: rgba(226, 232, 240, 0.92);
  font-family: 'Rajdhani', system-ui, sans-serif;
  font-weight: 700;
  font-size: 0.875rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.loader-skip:hover {
  border-color: rgba(16, 185, 129, 0.45);
  background: rgba(16, 185, 129, 0.12);
  color: #fff;
  transform: translateY(-1px);
}

.loader-skip:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.35);
}

.loader-skip:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none;
}

.intervention-map--loader {
  min-height: 140px !important;
  padding: 0.65rem !important;
}

.intervention-map--loader .world-map-svg {
  max-height: min(38vh, 260px);
}

/* Loader micro shimmer */
#page-loader::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 0%, rgba(255,255,255,0.04) 35%, transparent 60%);
  transform: translateX(-40%);
  animation: shimmer 1.1s ease-in-out infinite;
  opacity: 0.6;
  pointer-events: none;
}
@keyframes shimmer {
  0%   { transform: translateX(-45%); }
  100% { transform: translateX(45%); }
}

/* Loader mark + subtle glitch vibe */
.loader-mark {
  position: relative;
  width: 92px;
  height: 92px;
}
.loader-ring {
  position: absolute;
  inset: 0;
  border-radius: 9999px;
  background: conic-gradient(from 180deg, rgba(16,185,129,1), rgba(34,211,238,1), rgba(16,185,129,1));
  filter: drop-shadow(0 0 22px rgba(16,185,129,0.25));
  animation: spin 1.2s linear infinite;
}
.loader-ring::after {
  content: '';
  position: absolute;
  inset: 4px;
  border-radius: 9999px;
  background: #000;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.06);
}
.loader-core {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #fff;
  letter-spacing: 0.18em;
  text-shadow: 0 0 18px rgba(34,211,238,0.25);
}
.loader-title {
  position: relative;
}
.loader-title::after {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: -10px;
  width: 140px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(16,185,129,0.7), rgba(34,211,238,0.7), transparent);
  opacity: 0.55;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ---------- Background orbs (green / cyan / accents) ---------- */
.bg-orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.35;
  z-index: 0;
  pointer-events: none;
  transform: translate3d(0, 0, 0);
  will-change: transform;
}
.bg-orb-1 {
  width: 600px; height: 600px;
  top: -200px; left: -200px;
  background: radial-gradient(circle, #10b981, transparent 70%);
}
.bg-orb-2 {
  width: 500px; height: 500px;
  top: 30%; right: -200px;
  background: radial-gradient(circle, #22d3ee, transparent 70%);
}
.bg-orb-3 {
  width: 700px; height: 700px;
  bottom: -300px; left: 30%;
  background: radial-gradient(circle, #f97316, transparent 70%);
  opacity: 0.10;
}

/* ---------- Header ---------- */
#header.scrolled {
  background-color: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(16, 185, 129, 0.15);
}

.nav-link {
  color: rgb(203 213 225);
  position: relative;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-size: 0.875rem;
  transition: color 0.2s;
}
.nav-link:hover {
  color: #34d399;
}
.nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: linear-gradient(to right, #10b981, #22d3ee);
  transition: width 0.3s ease;
}
.nav-link:hover::after {
  width: 100%;
}

.mobile-link {
  display: block;
  padding: 0.75rem 1rem;
  border-radius: 0.75rem;
  color: rgb(203 213 225);
  font-family: 'Rajdhani', sans-serif;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-size: 0.875rem;
  transition: all 0.2s;
}
.mobile-link:hover {
  background: rgba(16, 185, 129, 0.1);
  color: #34d399;
}

/* ---------- Hero grid background ---------- */
.hero-grid {
  background-image:
    linear-gradient(rgba(16, 185, 129, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(16, 185, 129, 0.08) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 60% 50% at 50% 50%, black, transparent);
  -webkit-mask-image: radial-gradient(ellipse 60% 50% at 50% 50%, black, transparent);
}

/* ---------- Animated gradient ---------- */
@keyframes gradient {
  0%, 100% { background-position: 0% 50%; }
  50%      { background-position: 100% 50%; }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-15px); }
}

@keyframes glow {
  from { box-shadow: 0 0 20px rgba(16, 185, 129, 0.4); }
  to   { box-shadow: 0 0 40px rgba(16, 185, 129, 0.7); }
}

/* ---------- Display headlines (Orbitron) ---------- */
.font-display, h1, h2, h3, h4, h5, h6 {
  font-family: 'Orbitron', 'Audiowide', sans-serif;
  letter-spacing: 0.01em;
}

.font-tech {
  font-family: 'Audiowide', 'Orbitron', sans-serif;
  letter-spacing: 0.08em;
}

/* ---------- Service cards ---------- */
.service-card {
  position: relative;
  padding: 2rem;
  border-radius: 1.5rem;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: all 0.4s ease;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.10), transparent 50%);
  opacity: 0;
  transition: opacity 0.4s;
}
.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(16, 185, 129, 0.4);
  box-shadow: 0 30px 60px -20px rgba(16, 185, 129, 0.30);
}
.service-card:hover::before {
  opacity: 1;
}

.service-icon {
  position: relative;
  width: 56px;
  height: 56px;
  border-radius: 1rem;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.2), rgba(34, 211, 238, 0.2));
  border: 1px solid rgba(16, 185, 129, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #34d399;
  margin-bottom: 1.5rem;
  transition: all 0.4s;
}
.service-card:hover .service-icon {
  background: linear-gradient(135deg, #10b981, #22d3ee);
  color: #000;
  transform: rotate(-5deg) scale(1.05);
  box-shadow: 0 0 25px rgba(16, 185, 129, 0.5);
}

.service-title {
  position: relative;
  font-family: 'Orbitron', sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
  color: white;
  margin-bottom: 0.75rem;
  letter-spacing: 0.02em;
}

.service-desc {
  position: relative;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 400;
  color: rgb(148 163 184);
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.service-tags {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.service-tags span {
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.8125rem;
  font-weight: 600;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  background: rgba(16, 185, 129, 0.10);
  color: #6ee7b7;
  border: 1px solid rgba(16, 185, 129, 0.25);
  letter-spacing: 0.03em;
}

/* ---------- Stat cards ---------- */
.card-stat {
  padding: 2rem;
  border-radius: 1.5rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
}
.card-stat-accent {
  padding: 2rem;
  border-radius: 1.5rem;
  background: linear-gradient(135deg, #10b981, #06b6d4);
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 20px 40px -10px rgba(16, 185, 129, 0.4);
  color: #000;
}
.card-stat-accent .text-white\/80 {
  color: rgba(0, 0, 0, 0.75) !important;
}
.card-stat-accent .text-white {
  color: #000 !important;
}

/* ---------- Why cards ---------- */
.why-card {
  position: relative;
  padding: 2rem;
  border-radius: 1.5rem;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01));
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: all 0.3s;
}
.why-card:hover {
  transform: translateY(-4px);
  border-color: rgba(34, 211, 238, 0.35);
  box-shadow: 0 20px 40px -15px rgba(34, 211, 238, 0.25);
}
.why-num {
  font-family: 'Orbitron', sans-serif;
  font-weight: 800;
  font-size: 3rem;
  background: linear-gradient(135deg, #10b981, #22d3ee);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1;
  margin-bottom: 1rem;
  letter-spacing: 0.02em;
}
.why-title {
  font-family: 'Orbitron', sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
  color: white;
  margin-bottom: 0.5rem;
}
.why-desc {
  font-family: 'Rajdhani', sans-serif;
  color: rgb(148 163 184);
  font-size: 1rem;
  line-height: 1.6;
}

/* ---------- Project cards ---------- */
.project-card {
  border-radius: 1.5rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  overflow: hidden;
  transition: all 0.4s;
}
.project-card:hover {
  transform: translateY(-6px);
  border-color: rgba(16, 185, 129, 0.4);
  box-shadow: 0 30px 60px -20px rgba(16, 185, 129, 0.3);
}
.project-img {
  height: 220px;
  position: relative;
  overflow: hidden;
}
.project-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.18), transparent 50%),
    linear-gradient(180deg, transparent 50%, rgba(0, 0, 0, 0.5) 100%);
}
.project-content {
  padding: 1.5rem;
}

/* ---------- Testimonials ---------- */
.testimonial {
  padding: 2rem;
  border-radius: 1.5rem;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01));
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: all 0.3s;
}
.testimonial:hover {
  border-color: rgba(16, 185, 129, 0.30);
  transform: translateY(-4px);
}

/* ---------- Team cards ---------- */
.team-card {
  text-align: center;
  padding: 1.5rem;
  border-radius: 1.5rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: all 0.3s;
}
.team-card:hover {
  transform: translateY(-4px);
  border-color: rgba(34, 211, 238, 0.35);
}
.team-photo {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 1rem;
  margin-bottom: 1rem;
  position: relative;
  overflow: hidden;
}
.team-photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.22), transparent 50%);
}
.team-name {
  font-family: 'Orbitron', sans-serif;
  font-weight: 700;
  font-size: 1.0625rem;
  color: white;
  margin-bottom: 0.25rem;
}
.team-role {
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.9375rem;
  font-weight: 500;
  color: #34d399;
  letter-spacing: 0.04em;
}

/* ---------- Contact ---------- */
.contact-info {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.3s;
}
a.contact-info:hover {
  background: rgba(16, 185, 129, 0.08);
  border-color: rgba(16, 185, 129, 0.35);
  transform: translateX(4px);
}

/* ---------- Contact success modal ---------- */
.contact-success {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  padding: 1.5rem;
}
.contact-success__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(8px);
}
.contact-success__panel {
  position: relative;
  width: min(520px, 100%);
  border-radius: 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: linear-gradient(135deg, rgba(17, 17, 17, 0.92), rgba(5, 5, 5, 0.92));
  box-shadow: 0 30px 90px -40px rgba(0, 0, 0, 0.95);
  padding: 1.4rem 1.25rem;
}
.contact-success__title {
  font-family: 'Orbitron', system-ui, sans-serif;
  font-weight: 800;
  color: #fff;
  letter-spacing: 0.02em;
  margin: 0 0 0.5rem;
}
.contact-success__desc {
  margin: 0 0 1.1rem;
  color: rgba(148, 163, 184, 0.95);
}
.contact-success__close {
  appearance: none;
  cursor: pointer;
  width: 100%;
  padding: 0.85rem 1rem;
  border-radius: 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(16, 185, 129, 0.12);
  color: #fff;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}
.contact-success__close:hover {
  transform: translateY(-1px);
  border-color: rgba(16, 185, 129, 0.5);
  background: rgba(16, 185, 129, 0.18);
}
.contact-icon {
  width: 44px;
  height: 44px;
  border-radius: 0.75rem;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.2), rgba(34, 211, 238, 0.2));
  border: 1px solid rgba(16, 185, 129, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #34d399;
  flex-shrink: 0;
}

.form-input {
  width: 100%;
  padding: 0.875rem 1rem;
  border-radius: 0.75rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: white;
  font-family: 'Rajdhani', sans-serif;
  font-size: 1rem;
  transition: all 0.2s;
}
.form-input::placeholder {
  color: rgb(100 116 139);
}
.form-input:focus {
  outline: none;
  border-color: rgba(16, 185, 129, 0.55);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.10);
}

/* ---------- Footer ---------- */
.social-link {
  width: 40px;
  height: 40px;
  border-radius: 0.625rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  color: rgb(148 163 184);
  transition: all 0.3s;
}
.social-link:hover {
  background: linear-gradient(135deg, #10b981, #06b6d4);
  border-color: transparent;
  color: #000;
  transform: translateY(-2px);
}

/* ---------- Custom scrollbar ---------- */
::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}
::-webkit-scrollbar-track {
  background: #000;
}
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #10b981, #06b6d4);
  border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #34d399, #22d3ee);
}

/* ---------- Selection ---------- */
::selection {
  background: rgba(16, 185, 129, 0.4);
  color: white;
}

/* ---------- Reduce motion ---------- */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .spotlight {
    display: none !important;
  }

  #page-loader::before {
    display: none !important;
  }

  .loader-stage-step {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    transition: none !important;
    pointer-events: auto !important;
  }

  #loader-step-brand.is-visible .loader-brand-word--a,
  #loader-step-brand.is-visible .loader-brand-word--b {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
  }

  #loader-step-brand.is-visible .loader-brand-line {
    animation: none !important;
    opacity: 1 !important;
    transform: scaleX(1) !important;
  }

  #loader-step-brand.is-visible .loader-brand-glow {
    animation: none !important;
    opacity: 0.55 !important;
    transform: translate(-50%, -50%) scale(1) !important;
  }

  #loader-step-startup.is-visible .loader-startup-kicker,
  #loader-step-startup.is-visible .loader-startup-desc {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    letter-spacing: 0.25em !important;
  }

  #loader-step-zones.is-visible .loader-zones-pill {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
    box-shadow: none !important;
  }

  #loader-step-map.is-visible .loader-map-shell {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    box-shadow: 0 24px 60px -28px rgba(16, 185, 129, 0.35);
  }

  #page-loader #loader-step-map.is-visible .world-map-svg .markers > .mk {
    animation: none !important;
    opacity: 1 !important;
  }

  #page-loader #loader-step-map.is-visible .world-map-raster {
    animation: none !important;
    filter: brightness(0.42) contrast(1.08) saturate(0) !important;
    opacity: 0.92 !important;
  }

  .hero-carousel-track {
    transition: none !important;
  }
}
