/* ═══════════════════════════════════════════════════════════════
   VividWalls — Premium Animation Layer
   Adds: true crossfade carousel, parallax, hover micro-interactions
   NO layout / text / color / spacing changes.
   ═══════════════════════════════════════════════════════════════ */


/* ── 1. HERO CAROUSEL — True crossfade + zoom (removes clip-path wipe) ── */

.carousel-slide {
  transform: scale(1.07);
  filter: blur(10px) saturate(1.08);
  clip-path: none !important;
  transition:
    opacity    0.95s cubic-bezier(0.4, 0, 0.2, 1),
    transform  1.5s  cubic-bezier(0.4, 0, 0.2, 1),
    filter     1.1s  cubic-bezier(0.4, 0, 0.2, 1);
  will-change: opacity, transform, filter;
}

.carousel-slide.is-active {
  opacity: 1;
  transform: scale(1.0);
  filter: blur(0px) saturate(1.03);
  clip-path: none !important;
}

.carousel-slide.is-previous {
  opacity: 0;
  transform: scale(1.04);
  filter: blur(6px) saturate(1.05);
  clip-path: none !important;
}


/* ── 2. SHOWCASE CAROUSEL — smoother easing + better timing ── */

.showcase-slide {
  transform: scale(1.07);
  transition:
    opacity   1.05s cubic-bezier(0.4, 0, 0.2, 1),
    transform 1.5s  cubic-bezier(0.4, 0, 0.2, 1),
    filter    1.1s  cubic-bezier(0.4, 0, 0.2, 1);
  will-change: opacity, transform, filter;
}

.showcase-slide.is-active {
  transform: scale(1.0);
}

.showcase-slide.is-previous {
  transform: scale(1.04);
  filter: blur(5px) saturate(1.04);
}


/* ── 3. SHOWCASE CARD hover — scale + contrast ── */

.showcase-card {
  transition:
    transform   0.5s cubic-bezier(0.4, 0, 0.2, 1),
    box-shadow  0.5s cubic-bezier(0.4, 0, 0.2, 1),
    filter      0.5s ease;
  will-change: transform;
}

.showcase-card:hover {
  transform:  translateY(-6px) scale(1.02) !important;
  box-shadow: 0 48px 110px rgba(15, 23, 42, 0.22);
  filter:     contrast(1.04) saturate(1.05);
}


/* ── 4. BUTTONS — scale + shadow expansion ── */

.btn {
  transition:
    transform    0.28s cubic-bezier(0.4, 0, 0.2, 1),
    box-shadow   0.28s cubic-bezier(0.4, 0, 0.2, 1),
    border-color 0.25s ease,
    background   0.25s ease !important;
}

.btn:hover {
  transform: translateY(-3px) scale(1.025) !important;
}

.btn-primary:hover {
  box-shadow:
    0 10px 28px rgba(249, 115, 22, 0.35),
    0 4px  12px rgba(244,  63, 94, 0.22) !important;
}

.btn-secondary:hover {
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.14) !important;
}


/* ── 5. REVEAL — snappier easing, stagger for grids ── */

.reveal {
  transition:
    opacity   0.72s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.72s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.feature-grid .mini-card:nth-child(1) { transition-delay: 0.04s !important; }
.feature-grid .mini-card:nth-child(2) { transition-delay: 0.12s !important; }
.feature-grid .mini-card:nth-child(3) { transition-delay: 0.20s !important; }

.experience-grid .exp-card:nth-child(1) { transition-delay: 0.04s !important; }
.experience-grid .exp-card:nth-child(2) { transition-delay: 0.14s !important; }
.experience-grid .exp-card:nth-child(3) { transition-delay: 0.24s !important; }

.projects-grid .project-card:nth-child(1) { transition-delay: 0.04s !important; }
.projects-grid .project-card:nth-child(2) { transition-delay: 0.14s !important; }
.projects-grid .project-card:nth-child(3) { transition-delay: 0.24s !important; }


/* ── 6. PROJECT CARDS — image zoom + lift on hover ── */

.project-card {
  transition:
    transform  0.45s cubic-bezier(0.4, 0, 0.2, 1),
    box-shadow 0.45s ease;
  will-change: transform;
}

.project-card:hover {
  transform:  translateY(-7px) scale(1.01) !important;
  box-shadow: 0 36px 88px rgba(15, 23, 42, 0.16);
}

.project-image {
  transition:
    transform 0.65s cubic-bezier(0.4, 0, 0.2, 1),
    filter    0.65s ease;
  will-change: transform;
}

.project-card:hover .project-image {
  transform: scale(1.06);
  filter: contrast(1.07) saturate(1.08);
}


/* ── 7. MINI CARDS ── */

.mini-card {
  transition:
    transform  0.36s cubic-bezier(0.4, 0, 0.2, 1),
    box-shadow 0.36s ease;
  will-change: transform;
}

.mini-card:hover {
  transform:  translateY(-5px) scale(1.015) !important;
  box-shadow: 0 24px 58px rgba(15, 23, 42, 0.12);
}


/* ── 8. EXP CARDS ── */

.exp-card {
  transition:
    transform  0.4s cubic-bezier(0.4, 0, 0.2, 1),
    box-shadow 0.4s ease;
}

.exp-card:hover {
  transform:  translateY(-6px) !important;
  box-shadow:
    0 32px 78px rgba(15, 23, 42, 0.14),
    0 0 0 1px rgba(255, 255, 255, 0.72);
}


/* ── 8a. Trust bar ── */

.trust-bar {
  padding: 36px 0;
  margin-top: 12px;
  border-top: 1px solid rgba(15, 23, 42, 0.07);
  border-bottom: 1px solid rgba(15, 23, 42, 0.07);
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(8px);
}

.trust-badges {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
  min-width: 150px;
}

.trust-icon {
  flex-shrink: 0;
  width: 51px;
  height: 51px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
}

.trust-badge:nth-child(4) .trust-icon {
  width: 61px;
  height: 61px;
}

.trust-icon svg {
  width: 51px;
  height: 51px;
}

.trust-badge:nth-child(4) .trust-icon svg {
  width: 61px;
  height: 61px;
}

.trust-icon svg { stroke: none; }

.trust-badge div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.trust-badge strong {
  font-size: 0.92rem;
  font-weight: 900;
  color: var(--color-dark);
  line-height: 1.2;
}

.trust-badge span {
  font-size: 0.72rem;
  color: var(--color-muted);
  line-height: 1.3;
}


/* ── 8b. Product section eyebrow banner — centered, impactful ── */

.product-eyebrow-banner {
  text-align: center;
  margin-bottom: 48px;
}

.product-eyebrow-banner .eyebrow {
  display: inline-block;
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  background: none;
  border: none;
  box-shadow: none;
  backdrop-filter: none;
  padding: 0 0 16px;
  color: var(--color-dark);
  position: relative;
}

/* gradient line underneath */
.product-eyebrow-banner .eyebrow::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 10%;
  right: 10%;
  height: 3px;
  border-radius: 99px;
  background: var(--gradient-main);
  opacity: 0.7;
}


/* ── 9. Ticker background — slow color shift ── */

@keyframes ticker-bg-shift {
  0%   { background-position: 0% 50%;   }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%;   }
}

.ticker-wrap {
  background: linear-gradient(
    90deg,
    rgba(37,  99, 235, 0.07) 0%,
    rgba(124, 58, 237, 0.07) 25%,
    rgba(249,115,  22, 0.07) 50%,
    rgba(244, 63,  94, 0.07) 75%,
    rgba(37,  99, 235, 0.07) 100%
  );
  background-size: 300% 100%;
  animation: ticker-bg-shift 10s ease infinite;
}


/* ── 9c. Rotating eyebrow ── */

.hero-copy .eyebrow {
  transition: opacity 0.42s ease, transform 0.42s ease;
  box-shadow: 0 2px 12px rgba(15, 23, 42, 0.10), 0 1px 3px rgba(15, 23, 42, 0.07);
}


/* ── 9b. TICKER icons ── */

.ticker-icon {
  display: inline-flex;
  align-items: center;
  margin-right: 9px;
  color: #64748b;
  vertical-align: middle;
}

.ticker-icon svg {
  width: 16px;
  height: 16px;
}


/* ── 9b. NAV — dot separators + gradient hover ── */

.desktop-nav a {
  transition: color 0.28s ease, transform 0.28s cubic-bezier(0.4, 0, 0.2, 1);
  display: inline-block;
}

/* dot separator between items */
.desktop-nav a + a::before {
  content: '·';
  position: absolute;
  left: -16px;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(15, 23, 42, 0.25);
  font-size: 1.2rem;
  font-weight: 400;
  pointer-events: none;
  line-height: 1;
}

/* gradient text on hover */
.desktop-nav a:hover {
  background: var(--gradient-main);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  transform: scale(1.08);
  display: inline-block;
}

/* underline with gradient on hover */
.desktop-nav a::after {
  background: var(--gradient-main) !important;
}


/* ── 10. LOGO — entrance + float + hover ── */

@keyframes logo-entrance {
  from { opacity: 0; transform: translateY(-10px) scale(0.92); filter: blur(6px); }
  to   { opacity: 1; transform: translateY(0)     scale(1);    filter: blur(0);   }
}

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

.brand img {
  animation:
    logo-entrance 0.72s cubic-bezier(0.4, 0, 0.2, 1) both,
    logo-float    3.8s  cubic-bezier(0.4, 0, 0.2, 1) 0.9s infinite;
  transition:
    transform 0.4s cubic-bezier(0.4, 0, 0.2, 1),
    filter    0.4s ease;
}

.brand:hover img {
  animation-play-state: paused;
  transform: scale(1.06);
  filter: drop-shadow(0 4px 16px rgba(37, 99, 235, 0.32));
}


/* ── 11. CTA BOX hover ── */

.cta-box {
  transition:
    transform  0.45s cubic-bezier(0.4, 0, 0.2, 1),
    box-shadow 0.45s ease;
}

.cta-box:hover {
  transform:  translateY(-5px) !important;
  box-shadow: 0 48px 110px rgba(15, 23, 42, 0.18);
}


/* ── 12. Header scroll shadow ── */

.site-header.scrolled {
  box-shadow: 0 8px 40px rgba(15, 23, 42, 0.12);
  transition: box-shadow 0.4s ease;
}


/* ── 13. Parallax wrapper (injected by JS) ── */

.showcase-card .vw-parallax-inner {
  position: absolute;
  inset: 0;
  will-change: transform;
}


/* ── 14. Logo stage — animated aurora background ── */

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

.logo-stage {
  background:
    linear-gradient(
      135deg,
      rgba(37,  99, 235, 0.18) 0%,
      rgba(124,  58, 237, 0.16) 25%,
      rgba(244,  63,  94, 0.14) 50%,
      rgba(249, 115,  22, 0.14) 75%,
      rgba(37,  99, 235, 0.18) 100%
    );
  background-size: 300% 300%;
  animation: aurora-shift 8s ease infinite;
  border: 1px solid rgba(255, 255, 255, 0.28);
  box-shadow:
    0 0 60px rgba(124, 58, 237, 0.10),
    inset 0 0 40px rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}


/* ── 15. GPU promotion ── */
/* (was 14) */

.carousel-slide,
.showcase-slide,
.btn,
.project-card,
.project-image,
.exp-card,
.mini-card,
.showcase-card {
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}
