/* ── Scroll Reveal ──────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s cubic-bezier(0.16,1,0.3,1), transform 0.7s cubic-bezier(0.16,1,0.3,1);
}
.reveal.revealed { opacity: 1; transform: translateY(0); }

.reveal-left  { opacity: 0; transform: translateX(-50px); transition: opacity 0.7s cubic-bezier(0.16,1,0.3,1), transform 0.7s cubic-bezier(0.16,1,0.3,1); }
.reveal-right { opacity: 0; transform: translateX(50px);  transition: opacity 0.7s cubic-bezier(0.16,1,0.3,1), transform 0.7s cubic-bezier(0.16,1,0.3,1); }
.reveal-left.revealed, .reveal-right.revealed { opacity: 1; transform: translateX(0); }

.reveal-scale { opacity: 0; transform: scale(0.88); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal-scale.revealed { opacity: 1; transform: scale(1); }

/* Stagger delays */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }
.delay-6 { transition-delay: 0.6s; }

/* ── Floating Shapes ────────────────────────────────────────── */
.float-shape {
  position: absolute;
  pointer-events: none;
  opacity: 0.12;
}
.float-shape--hex {
  width: 120px;
  height: 120px;
  background: var(--color-gold);
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
}
.float-shape--ring {
  width: 200px;
  height: 200px;
  border: 2px solid var(--color-gold);
  border-radius: 50%;
  background: transparent;
  opacity: 0.15;
}
.float-shape--dot {
  width: 8px;
  height: 8px;
  background: var(--color-gold);
  border-radius: 50%;
  opacity: 0.4;
}

@keyframes floatY {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50%       { transform: translateY(-22px) rotate(8deg); }
}
@keyframes floatY2 {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50%       { transform: translateY(18px) rotate(-6deg); }
}
@keyframes floatX {
  0%, 100% { transform: translateX(0); }
  50%       { transform: translateX(14px); }
}
@keyframes spinSlow2 {
  0%   { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
@keyframes pulse {
  0%, 100% { opacity: 0.4; transform: scale(1); }
  50%       { opacity: 0.7; transform: scale(1.15); }
}

.anim-float-1 { animation: floatY  6s ease-in-out infinite; }
.anim-float-2 { animation: floatY2 8s ease-in-out infinite; animation-delay: -2s; }
.anim-float-3 { animation: floatY  5s ease-in-out infinite; animation-delay: -1s; }
.anim-float-4 { animation: floatX  7s ease-in-out infinite; }
.anim-spin    { animation: spinSlow2 20s linear infinite; }
.anim-pulse   { animation: pulse 3s ease-in-out infinite; }

/* ── Entrance (page load) ───────────────────────────────────── */
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInLeft {
  from { opacity: 0; transform: translateX(-30px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(30px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.8); }
  to   { opacity: 1; transform: scale(1); }
}

.animate-logo          { animation: fadeInDown 0.8s ease both; }
.animate-nav-links     { animation: fadeIn 0.6s ease both 0.3s; }
.animate-hero-tag      { animation: fadeInUp 0.7s ease both 0.2s; }
.animate-hero-h1       { animation: fadeInUp 0.8s ease both 0.4s; }
.animate-hero-sub      { animation: fadeInUp 0.7s ease both 0.7s; }
.animate-hero-body     { animation: fadeInUp 0.7s ease both 0.9s; }
.animate-hero-cta      { animation: fadeInUp 0.7s ease both 1.1s; }
.animate-hero-badges   { animation: fadeInUp 0.6s ease both 1.3s; }
.animate-hero-img      { animation: fadeInRight 0.9s ease both 0.5s; }

/* ── Gold Shimmer (button hover) ────────────────────────────── */
@keyframes shimmer {
  0%   { background-position: -200% center; }
  100% { background-position:  200% center; }
}
.shimmer-on-hover:hover {
  background: linear-gradient(90deg, var(--color-gold) 0%, var(--color-gold-light) 50%, var(--color-gold) 100%);
  background-size: 200% auto;
  animation: shimmer 1.5s linear infinite;
}

/* ── Counter Number ─────────────────────────────────────────── */
.stat-number {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 900;
  color: var(--color-gold);
  line-height: 1;
  display: block;
}

/* ── Timeline Line Draw ─────────────────────────────────────── */
@keyframes drawLine {
  from { height: 0; }
  to   { height: 100%; }
}
.timeline-line { animation: drawLine 1.5s ease forwards; }

/* ── Bounce In (sticky btns) ────────────────────────────────── */
@keyframes bounceInUp {
  0%   { transform: translateY(80px); opacity: 0; }
  60%  { transform: translateY(-8px); opacity: 1; }
  80%  { transform: translateY(4px); }
  100% { transform: translateY(0); }
}

/* ── Star Fill ──────────────────────────────────────────────── */
@keyframes starFill {
  from { opacity: 0; transform: scale(0); }
  to   { opacity: 1; transform: scale(1); }
}
.stars-animated .fa-star {
  animation: starFill 0.4s ease both;
}
.stars-animated .fa-star:nth-child(1) { animation-delay: 0.1s; }
.stars-animated .fa-star:nth-child(2) { animation-delay: 0.2s; }
.stars-animated .fa-star:nth-child(3) { animation-delay: 0.3s; }
.stars-animated .fa-star:nth-child(4) { animation-delay: 0.4s; }
.stars-animated .fa-star:nth-child(5) { animation-delay: 0.5s; }

/* ── Page Transition ────────────────────────────────────────── */
.page-transition-out {
  animation: fadeIn 0.3s ease reverse both;
}
.page-transition-in {
  animation: fadeIn 0.3s ease both;
}
