/*
 * Vendique Ventures — Luxury Effects Layer v2
 * Ultra-premium animations for a world-class experience
 */

/* Page transitions handled via JS opacity fade */

/* ════════════════════════════════════════════════════════════════
   HERO SECTION LUXURY ENHANCEMENTS
   ════════════════════════════════════════════════════════════════ */
/* Hero title — blur dissolve entrance */

.hero-concept {
  animation: vq-fade-up 0.9s ease 1.0s both;
}
.hero-cta {
  animation: vq-fade-up 0.9s ease 1.2s both;
}
@keyframes vq-fade-up {
  from { opacity:0; transform:translateY(24px); }
  to   { opacity:1; transform:translateY(0); }
}

/* Scanline across hero */
.hero::after {
  content: '';
  position: absolute;
  left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(201,168,76,0.1) 15%,
    rgba(201,168,76,0.5) 50%,
    rgba(201,168,76,0.1) 85%,
    transparent 100%
  );
  animation: vq-scan-hero 10s ease-in-out infinite;
  pointer-events: none;
  z-index: 3;
}
@keyframes vq-scan-hero {
  0%   { top: 0%;   opacity:0; }
  3%   { opacity:1; }
  97%  { opacity:0.4; }
  100% { top: 100%; opacity:0; }
}

/* ════════════════════════════════════════════════════════════════
   FLOATING ORB LAYER
   ════════════════════════════════════════════════════════════════ */
.vq-orb-canvas {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}
.vq-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  animation: vq-orb-drift ease-in-out infinite;
  will-change: transform, opacity;
}
@keyframes vq-orb-drift {
  0%,100% { transform: translate(0,0) scale(1); opacity: 0.4; }
  33%      { transform: translate(30px,-20px) scale(1.1); opacity: 0.6; }
  66%      { transform: translate(-20px,30px) scale(0.9); opacity: 0.3; }
}

/* ════════════════════════════════════════════════════════════════
   CARD TILT + LIQUID BORDER
   ════════════════════════════════════════════════════════════════ */
.feature-card,
.venue-type-card,
.market-stat-card,
.income-scenario,
.global-card,
.vqp-rule {
  transform-style: preserve-3d;
  will-change: transform;
  transition: transform 0.5s cubic-bezier(0.23,1,0.32,1),
              box-shadow 0.4s ease !important;
}
.feature-card:hover,
.venue-type-card:hover,
.market-stat-card:hover,
.income-scenario:hover {
  box-shadow: 0 30px 70px rgba(0,0,0,0.5),
              0 0 40px rgba(201,168,76,0.05) !important;
}

/* Animated gradient border via pseudo on hover */
.feature-card,
.venue-type-card,
.market-stat-card {
  position: relative;
  isolation: isolate;
}
.feature-card::before,
.venue-type-card::before,
.market-stat-card::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: conic-gradient(
    from var(--vq-angle, 0deg),
    rgba(201,168,76,0) 0%,
    rgba(201,168,76,0.6) 20%,
    rgba(58,181,230,0.4) 40%,
    rgba(52,184,140,0.3) 60%,
    rgba(201,168,76,0) 80%
  );
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: -1;
  animation: vq-spin 4s linear infinite paused;
}
.feature-card:hover::before,
.venue-type-card:hover::before,
.market-stat-card:hover::before {
  opacity: 1;
  animation-play-state: running;
}
@property --vq-angle {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}
@keyframes vq-spin {
  to { --vq-angle: 360deg; }
}

/* ════════════════════════════════════════════════════════════════
   GOLD SHIMMER ON SECTION TITLE EM
   ════════════════════════════════════════════════════════════════ */
.section-title em,
.hero-title em,
.cta-title em,
.page-hero-title em,
.vql-pitch-headline em {
  position: relative;
  display: inline;
}
.section-title em::after,
.cta-title em::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0; width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-light), var(--gold), transparent);
  background-size: 200%;
  animation: vq-shimmer-sweep 2.5s ease-in-out infinite;
}
@keyframes vq-shimmer-sweep {
  0%   { background-position: 200%; opacity:0.3; }
  50%  { background-position: -200%; opacity:1; }
  100% { background-position: 200%; opacity:0.3; }
}

/* ════════════════════════════════════════════════════════════════
   STAT NUMBERS — gold glow pulse
   ════════════════════════════════════════════════════════════════ */
.stat-num,
.roi-stat-num,
.hero-payoff-num,
.vqp-hs-val,
.vql-stat-val {
  animation: vq-glow-pulse 4s ease-in-out infinite;
}
@keyframes vq-glow-pulse {
  0%,100% { text-shadow: 0 0 0px rgba(201,168,76,0); }
  50%     { text-shadow: 0 0 25px rgba(201,168,76,0.4), 0 0 50px rgba(201,168,76,0.15); }
}

/* ════════════════════════════════════════════════════════════════
   SECTION EYEBROW — clean fade
   ════════════════════════════════════════════════════════════════ */
/* Eyebrow — clean fade in only */
.section-eyebrow,
.page-hero-eyebrow {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.section-eyebrow.vq-visible,
.page-hero-eyebrow.vq-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ════════════════════════════════════════════════════════════════
   IMAGE REVEAL — clip-path wipe
   ════════════════════════════════════════════════════════════════ */
.vqh-machine-img,
.vqlv-photo,
.mach-real-photo,
[data-img-reveal] {
  clip-path: inset(0 100% 0 0);
  transition: clip-path 1.4s cubic-bezier(0.76,0,0.24,1) !important;
}
.vqh-machine-photo-wrap.revealed .vqh-machine-img,
.vqlv-photo-frame.revealed .vqlv-photo,
.mach-real-photo-wrap.revealed .mach-real-photo {
  clip-path: inset(0 0% 0 0) !important;
}

/* ════════════════════════════════════════════════════════════════
   STAGGER GRID CHILDREN
   ════════════════════════════════════════════════════════════════ */
.features-grid > *,
.venue-type-grid > *,
.market-stats-grid > *,
.pm-grid > * {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.23,1,0.32,1);
}
.vq-grid-revealed > *:nth-child(1) { transition-delay:0.05s; opacity:1; transform:none; }
.vq-grid-revealed > *:nth-child(2) { transition-delay:0.13s; opacity:1; transform:none; }
.vq-grid-revealed > *:nth-child(3) { transition-delay:0.21s; opacity:1; transform:none; }
.vq-grid-revealed > *:nth-child(4) { transition-delay:0.29s; opacity:1; transform:none; }
.vq-grid-revealed > *:nth-child(5) { transition-delay:0.37s; opacity:1; transform:none; }
.vq-grid-revealed > *:nth-child(6) { transition-delay:0.45s; opacity:1; transform:none; }

/* ════════════════════════════════════════════════════════════════
   NAV LINK UNDERLINE HOVER
   ════════════════════════════════════════════════════════════════ */
.nav-links > li > a:not(.nav-roi-link):not(.nav-portal-link) {
  position: relative;
}
.nav-links > li > a:not(.nav-roi-link):not(.nav-portal-link)::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 50%;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width 0.3s ease, left 0.3s ease;
  box-shadow: 0 0 6px rgba(201,168,76,0.5);
}
.nav-links > li > a:not(.nav-roi-link):hover::after,
.nav-links > li > a.active::after {
  width: 100%; left: 0;
}

/* ════════════════════════════════════════════════════════════════
   STATS STRIP — shimmer sweep
   ════════════════════════════════════════════════════════════════ */
.stats-strip {
  position: relative;
  overflow: hidden;
}
.stats-strip::after {
  content: '';
  position: absolute;
  top:0; left:-60%;
  width:40%; height:100%;
  background: linear-gradient(90deg,transparent,rgba(201,168,76,0.06),transparent);
  transform: skewX(-10deg);
  animation: vq-strip-sweep 5s ease-in-out infinite;
  pointer-events: none;
}
@keyframes vq-strip-sweep {
  0%   { left:-60%; }
  100% { left:160%; }
}

/* ════════════════════════════════════════════════════════════════
   FOOTER LINK SLIDE
   ════════════════════════════════════════════════════════════════ */
.footer-links a {
  transition: transform 0.25s ease, color 0.25s ease, padding-left 0.25s ease;
  display: block;
  position: relative;
}
.footer-links a::before {
  content: '→';
  position: absolute;
  left: -18px;
  opacity: 0;
  color: var(--gold);
  transition: opacity 0.25s ease, left 0.25s ease;
  font-size: 0.7em;
}
.footer-links a:hover {
  color: var(--gold-light);
  padding-left: 20px;
}
.footer-links a:hover::before {
  opacity: 1;
  left: 0;
}

/* ════════════════════════════════════════════════════════════════
   PARALLAX DEPTH LAYERS
   ════════════════════════════════════════════════════════════════ */
.hero-bg { will-change: transform; }
.hero-content { will-change: transform; }

/* ════════════════════════════════════════════════════════════════
   NAV CTA HOVER LIFT
   ════════════════════════════════════════════════════════════════ */
.nav-cta {
  transition: transform 0.3s cubic-bezier(0.23,1,0.32,1),
              box-shadow 0.3s ease !important;
}
.nav-cta:hover {
  transform: translateY(-3px) !important;
  box-shadow: 0 12px 30px rgba(201,168,76,0.45) !important;
}

/* ════════════════════════════════════════════════════════════════
   DROPDOWN — smooth fade + slide (desktop)
   ════════════════════════════════════════════════════════════════ */
.nav-links li.nav-has-dropdown > .nav-dropdown {
  transition: opacity 0.22s ease, transform 0.22s cubic-bezier(0.23,1,0.32,1) !important;
}

/* ════════════════════════════════════════════════════════════════
   SECTION CENTRE LINE decoration
   ════════════════════════════════════════════════════════════════ */
.dark-section,
.darker-section {
  position: relative;
}

/* ════════════════════════════════════════════════════════════════
   REDUCED MOTION SAFETY
   ════════════════════════════════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
  .hero-title, .hero-concept, .hero-cta,
  .vq-orb,   .vq-cursor, .vq-cursor-dot, .vq-trail { display: none !important; }
  .vqh-machine-img, .vqlv-photo, .mach-real-photo { clip-path: none !important; }
  body.vq-cursor-active *, body.vq-cursor-active *::before, body.vq-cursor-active *::after { cursor: auto !important; }
}
