/* ============================================================
   NEOLUXIS DIGITAL - REFONTE FUTURISTE 2026
   Styles additifs - chargé APRÈS style.css
   Classes entièrement nouvelles ou overrides ciblés.
   ============================================================ */

/* ── Dot pulse (shared animation) ─────────────────────────── */
@keyframes pulseDot {
  0%,100% { box-shadow: 0 0 0 0 currentColor; opacity: 1; }
  50%      { box-shadow: 0 0 0 5px transparent; opacity: 0.7; }
}

/* =================== HERO - SPLIT 2-COLUMN =================== */

/* Override the existing centered layout to a 2-col grid */
.nlx-hero__inner {
  display: grid !important;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  min-height: 100vh;
  position: relative;
  z-index: 2;
}
@media (max-width: 1023px) {
  .nlx-hero__inner {
    grid-template-columns: 1fr;
    gap: 48px;
    padding-top: 110px;
    padding-bottom: 80px;
    min-height: unset;
  }
}
@media (max-width: 639px) {
  .nlx-hero__inner { padding: 110px 20px 60px; gap: 36px; }
}

/* Left col wrapper */
.nlx-hero__content {
  position: relative; z-index: 2;
  display: flex; flex-direction: column; align-items: flex-start;
}

/* ── Glassmorphism card (right col) ─────────────────────────── */
.nlx-hero__card-wrap {
  position: relative; z-index: 2;
}
@media (max-width: 1023px) {
  .nlx-hero__card-wrap { order: -1; }
}

.nlx-hero-card {
  background: rgba(255,255,255,0.035);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: var(--radius-lg);
  padding: 36px;
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  box-shadow: 0 32px 80px rgba(0,0,0,0.55), inset 0 1px 0 rgba(255,255,255,0.06);
  position: relative; overflow: hidden;
}
.nlx-hero-card::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 80% 60% at 90% 0%, rgba(234,88,12,0.1), transparent 65%);
  pointer-events: none;
}

/* Main stat */
.nlx-hero-card__main-stat {
  display: flex; align-items: center; gap: 16px;
  margin-bottom: 28px;
}
.nlx-hero-card__icon {
  width: 52px; height: 52px;
  background: rgba(234,88,12,0.12);
  border: 1px solid rgba(234,88,12,0.25);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; color: var(--nlx-violet);
}
.nlx-hero-card__num-block {}
.nlx-hero-card__num {
  font-family: var(--font-display); font-size: 2.8rem;
  font-weight: 800; color: var(--nlx-white);
  letter-spacing: -0.05em; line-height: 1; display: block;
}
.nlx-hero-card__lbl {
  font-size: 11px; color: var(--nlx-subtle); display: block; margin-top: 3px;
  text-transform: uppercase; letter-spacing: 0.06em;
}

/* Divider */
.nlx-hero-card__divider {
  height: 1px; background: var(--nlx-border); margin-bottom: 24px;
}

/* Metrics */
.nlx-hero-card__metrics { display: flex; flex-direction: column; gap: 16px; margin-bottom: 24px; }
.nlx-hero-card__metric-row {
  display: flex; justify-content: space-between; align-items: center; margin-bottom: 7px;
}
.nlx-hero-card__metric-name { font-size: 12px; color: var(--nlx-subtle); }
.nlx-hero-card__metric-val  { font-size: 12px; font-weight: 700; color: var(--nlx-white); font-family: var(--font-display); }
.nlx-hero-card__bar { height: 4px; background: rgba(255,255,255,0.07); border-radius: 2px; overflow: hidden; }
.nlx-hero-card__bar-fill {
  height: 100%; border-radius: 2px;
  background: var(--nlx-gradient);
  transition: width 1.8s var(--ease-out);
}

/* Pills */
.nlx-hero-card__pills { display: flex; flex-wrap: wrap; gap: 8px; }
.nlx-hero-card__pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 12px; border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.04);
  font-size: 11px; font-weight: 500; color: var(--nlx-muted);
  letter-spacing: 0.03em;
}
.nlx-hero-card__dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 2px rgba(34,197,94,0.25);
  color: #22c55e;
  animation: pulseDot 2s ease infinite;
  display: inline-block;
}

/* Mini client marquee */
.nlx-hero-card__clients { margin-top: 22px; border-top: 1px solid var(--nlx-border); padding-top: 16px; }
.nlx-hero-card__clients-lbl {
  font-size: 10px; color: var(--nlx-subtle); margin-bottom: 10px;
  text-transform: uppercase; letter-spacing: 0.1em; display: block;
}
.nlx-hero-card__clients-marquee { overflow: hidden; position: relative; }
.nlx-hero-card__clients-marquee::before,
.nlx-hero-card__clients-marquee::after {
  content: ''; position: absolute; top: 0; bottom: 0; width: 28px; z-index: 1; pointer-events: none;
}
.nlx-hero-card__clients-marquee::before { left:0; background: linear-gradient(to right, var(--nlx-void), transparent); }
.nlx-hero-card__clients-marquee::after  { right:0; background: linear-gradient(to left,  var(--nlx-void), transparent); }
.nlx-hero-card__clients-track { display: flex; width: max-content; animation: heroClientsScroll 22s linear infinite; }
.nlx-hero-card__clients-item {
  font-family: var(--font-display); font-size: 11px; font-weight: 600;
  color: rgba(255,255,255,0.25); padding: 0 18px; white-space: nowrap;
}
@keyframes heroClientsScroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }


/* =================== BENTO - ANIMATED SVG BORDER =================== */

/* Glow already exists in style.css, here we add SVG border + more glow on hover */
.nlx-bento-card__svg-border {
  position: absolute; inset: -1px; width: calc(100% + 2px); height: calc(100% + 2px);
  pointer-events: none; z-index: 0; border-radius: var(--radius-md); overflow: hidden;
}
.nlx-bento-card__svg-border rect {
  fill: none; stroke: url(#bentoGrad); stroke-width: 1.5;
  stroke-dasharray: 0 9999;
  transition: stroke-dasharray 0.65s var(--ease-out);
}
.nlx-bento-card:hover .nlx-bento-card__svg-border rect { stroke-dasharray: 9999 0; }


/* =================== PROCESS - SVG CONNECTOR =================== */

/* Add connector pseudo-element between icon circles */
.nlx-proc__grid {
  position: relative;
}
.nlx-proc__grid::before {
  content: '';
  position: absolute;
  top: 56px; /* half of icon height (28px) + num height (~28px) */
  left: calc(12.5% + 12px);
  right: calc(12.5% + 12px);
  height: 1px;
  background: linear-gradient(
    to right,
    transparent 0%,
    rgba(234,88,12,0.35) 15%,
    rgba(234,88,12,0.35) 85%,
    transparent 100%
  );
  pointer-events: none;
  z-index: 0;
}
@media (max-width: 767px) { .nlx-proc__grid::before { display: none; } }

.nlx-proc__icon-wrap { position: relative; z-index: 1; }


/* =================== TESTIMONIALS - DRAG SWIPER =================== */

/* Override static grid */
.nlx-testimonials__swiper {
  position: relative;
  height: 360px;
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
  touch-action: pan-y;
  overflow: hidden;
}
.nlx-testimonials__swiper.is-dragging { cursor: grabbing; }
@media (max-width: 767px) { .nlx-testimonials__swiper { height: 420px; } }

/* Individual swiper card */
.nlx-swiper-card {
  position: absolute;
  width: 100%; max-width: 680px;
  left: 50%;
  top: 0;
  transition: transform 0.45s var(--ease-out), opacity 0.45s ease, box-shadow 0.35s ease;
  border-radius: var(--radius-lg);
  will-change: transform, opacity;
}

/* State 0 = active */
.nlx-swiper-card[data-state="0"] {
  transform: translateX(calc(-50% + var(--swipe-dx, 0px)));
  opacity: 1; z-index: 10;
  box-shadow: 0 40px 80px rgba(0,0,0,0.6), 0 0 0 1px rgba(234,88,12,0.12);
}
/* State 1 = stacked behind */
.nlx-swiper-card[data-state="1"] {
  transform: translateX(-50%) scale(0.94) translateY(14px);
  opacity: 0.55; z-index: 9; pointer-events: none;
}
/* State 2 = deeper behind */
.nlx-swiper-card[data-state="2"] {
  transform: translateX(-50%) scale(0.88) translateY(28px);
  opacity: 0.25; z-index: 8; pointer-events: none;
}
/* Hidden / offstage */
.nlx-swiper-card[data-state="exit-left"]  {
  transform: translateX(calc(-50% - 110%)) scale(0.85);
  opacity: 0; z-index: 7; pointer-events: none;
}
.nlx-swiper-card[data-state="exit-right"] {
  transform: translateX(calc(-50% + 110%)) scale(0.85);
  opacity: 0; z-index: 7; pointer-events: none;
}

/* Glass testimonial card inner */
.nlx-tcard {
  background: rgba(22,19,16,0.94);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: var(--radius-lg);
  padding: 40px;
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  position: relative; overflow: hidden;
}
.nlx-tcard::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(to right, transparent, rgba(234,88,12,0.35), transparent);
  pointer-events: none;
}
.nlx-tcard__quote {
  font-family: Georgia, serif; font-size: 5rem; line-height: 0.8;
  color: rgba(234,88,12,0.15);
  position: absolute; top: 20px; right: 32px;
  pointer-events: none; user-select: none;
}
.nlx-tcard__stars {
  color: var(--nlx-cyan-lt); font-size: 15px; letter-spacing: 3px;
  display: block; margin-bottom: 18px;
}
.nlx-tcard__text {
  font-size: 15px; color: var(--nlx-light); line-height: 1.85;
  margin-bottom: 28px; font-style: italic;
  position: relative; z-index: 1;
}
@media (max-width: 639px) { .nlx-tcard { padding: 24px; } .nlx-tcard__text { font-size: 14px; } }
.nlx-tcard__author { display: flex; align-items: center; gap: 14px; }
.nlx-tcard__avatar {
  width: 44px; height: 44px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 14px; font-weight: 700;
  color: #fff; flex-shrink: 0;
}
.nlx-tcard__avatar--kd { background: linear-gradient(135deg, #ea580c, #fbbf24); }
.nlx-tcard__avatar--rm { background: linear-gradient(135deg, #6366f1, #8b5cf6); }
.nlx-tcard__avatar--yb { background: linear-gradient(135deg, #10b981, #059669); }
.nlx-tcard__name {
  font-family: var(--font-display); font-size: 14px; font-weight: 600;
  color: var(--nlx-white); display: block;
}
.nlx-tcard__role { font-size: 12px; color: var(--nlx-subtle); display: block; margin-top: 2px; }

/* Dots nav */
.nlx-swiper-dots {
  display: flex; justify-content: center; gap: 8px;
  margin-top: 380px; position: relative; z-index: 11;
}
@media (max-width: 767px) { .nlx-swiper-dots { margin-top: 440px; } }
.nlx-swiper-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: rgba(255,255,255,0.18);
  border: none; cursor: pointer; padding: 0;
  transition: background 0.3s, transform 0.3s;
}
.nlx-swiper-dot.is-active {
  background: var(--nlx-purple); transform: scale(1.5);
}
.nlx-swiper-hint {
  text-align: center; margin-top: 14px;
  font-size: 11px; color: var(--nlx-subtle); opacity: 0.55;
  letter-spacing: 0.07em;
}


/* =================== PRICING - NEW SECTION =================== */

.nlx-pricing__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  align-items: start;
}
@media (max-width: 1023px) { .nlx-pricing__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 639px)  { .nlx-pricing__grid { grid-template-columns: 1fr; } }

.nlx-price-card {
  background: var(--nlx-surface);
  border: 1px solid var(--nlx-border);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  display: flex; flex-direction: column; gap: 24px;
  position: relative; overflow: hidden;
  transition: border-color 0.35s ease, box-shadow 0.35s ease;
}
.nlx-price-card:hover { border-color: rgba(255,255,255,0.1); }

.nlx-price-card--featured {
  border-color: rgba(234,88,12,0.35);
  background: linear-gradient(160deg, rgba(234,88,12,0.07) 0%, var(--nlx-surface) 55%);
  box-shadow: inset 0 0 0 1px rgba(234,88,12,0.12), var(--nlx-glow-card);
}
.nlx-price-card--featured:hover {
  border-color: rgba(234,88,12,0.55);
  box-shadow: inset 0 0 0 1px rgba(234,88,12,0.22), var(--nlx-glow-purple);
}

.nlx-price-card__badge {
  position: absolute; top: -1px; left: 50%; transform: translateX(-50%);
  padding: 4px 18px;
  background: var(--nlx-gradient);
  border-radius: 0 0 12px 12px;
  font-family: var(--font-display); font-size: 10px; font-weight: 700;
  color: #fff; letter-spacing: 0.1em; text-transform: uppercase;
  white-space: nowrap; pointer-events: none;
}

.nlx-price-card__tier {
  font-family: var(--font-display); font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.14em;
  color: var(--nlx-subtle); display: block;
}
.nlx-price-card--featured .nlx-price-card__tier { color: var(--nlx-violet); }

.nlx-price-card__name {
  font-family: var(--font-display); font-size: 22px; font-weight: 700;
  color: var(--nlx-white); letter-spacing: -0.02em; margin: 6px 0 0;
}

.nlx-price-card__price {
  display: flex; align-items: flex-end; gap: 4px; flex-wrap: wrap;
}
.nlx-price-card__currency {
  font-family: var(--font-display); font-size: 1.4rem; font-weight: 600;
  color: var(--nlx-muted); margin-bottom: 6px; align-self: flex-start; margin-top: 6px;
}
.nlx-price-card__amount {
  font-family: var(--font-display); font-size: 3rem; font-weight: 800;
  color: var(--nlx-white); letter-spacing: -0.05em; line-height: 1;
}
.nlx-price-card__mention { font-size: 12px; color: var(--nlx-subtle); align-self: flex-end; margin-bottom: 4px; }
.nlx-price-card__delivery {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 4px 10px;
  background: rgba(234,88,12,0.1); border: 1px solid rgba(234,88,12,0.2);
  border-radius: 8px; font-size: 11px; color: var(--nlx-violet); font-weight: 600;
  align-self: center; margin-left: 8px;
}

.nlx-price-card__divider { height: 1px; background: var(--nlx-border); }

.nlx-price-card__features {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 12px; flex: 1;
}
.nlx-price-card__feature {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 13px; color: var(--nlx-muted); line-height: 1.55;
}
.nlx-price-card--featured .nlx-price-card__feature { color: var(--nlx-light); }
.nlx-price-card__check {
  width: 18px; height: 18px; border-radius: 50%;
  background: rgba(234,88,12,0.1); border: 1px solid rgba(234,88,12,0.22);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; margin-top: 1px; color: var(--nlx-violet);
}

/* CTA buttons inside pricing */
.nlx-price-card__cta {
  display: block; text-align: center;
  padding: 14px 24px; border-radius: var(--radius-sm);
  font-family: var(--font-display); font-size: 14px; font-weight: 600;
  text-decoration: none; cursor: pointer;
  transition: all 0.3s var(--ease-out); border: none;
}
.nlx-price-card__cta--ghost {
  border: 1px solid rgba(255,255,255,0.11); color: var(--nlx-muted);
  background: transparent;
}
.nlx-price-card__cta--ghost:hover {
  border-color: rgba(255,255,255,0.22); color: var(--nlx-white);
  background: rgba(255,255,255,0.04); text-decoration: none;
}
.nlx-price-card__cta--primary {
  background: var(--nlx-gradient); background-size: 200% auto;
  color: #fff;
}
.nlx-price-card__cta--primary:hover {
  background-position: right center; color: #fff; text-decoration: none;
  box-shadow: 0 8px 32px rgba(234,88,12,0.4); transform: translateY(-1px);
}


/* =================== SCROLL PROGRESS BAR =================== */
.nlx-progress-bar {
  position: fixed; top: 0; left: 0; width: 100%; height: 2px;
  background: var(--nlx-gradient);
  transform-origin: left; transform: scaleX(0);
  z-index: 99999; pointer-events: none;
}


/* =================== BADGE DOT ANIMATION =================== */
.nlx-badge__dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--nlx-cyan);
  color: var(--nlx-cyan);
  animation: pulseDot 2s ease infinite;
  display: inline-block; flex-shrink: 0;
}

/* =================== GO-TOP BUTTON =================== */

.go-top {
  position: fixed; bottom: 24px; right: 24px;
  width: 44px; height: 44px;
  background: rgba(234,88,12,0.12);
  border: 1px solid rgba(234,88,12,0.25);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--nlx-violet); font-size: 22px;
  cursor: pointer; z-index: 9990;
  opacity: 0; pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.go-top.visible { opacity: 1; pointer-events: auto; }
.go-top:hover { background: rgba(234,88,12,0.22); transform: translateY(-2px); }
