/* ============================================================
   PREMIUM ANIMATIONS — CreatorIn
   ============================================================ */

/* ===== ANIMATED GRADIENT TEXT ===== */
.gradient-text {
  background: linear-gradient(135deg, #a78bfa, #60a5fa, #f472b6, #a78bfa);
  background-size: 300% 300%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientFlow 7s ease infinite;
}
@keyframes gradientFlow {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* ===== FLOATING HERO BLOBS ===== */
.blob-1 { animation: floatA 14s ease-in-out infinite; }
.blob-2 { animation: floatB 17s ease-in-out infinite; }
@keyframes floatA {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33%  { transform: translate(50px, -40px) scale(1.06); }
  66%  { transform: translate(-25px, 30px) scale(0.96); }
}
@keyframes floatB {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33%  { transform: translate(-35px, 30px) scale(1.04); }
  66%  { transform: translate(30px, -25px) scale(0.97); }
}

/* ===== SCROLL REVEAL ===== */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}
.reveal-left  { opacity: 0; transform: translateX(-36px); transition: opacity 0.7s cubic-bezier(0.4,0,0.2,1), transform 0.7s cubic-bezier(0.4,0,0.2,1); }
.reveal-right { opacity: 0; transform: translateX(36px);  transition: opacity 0.7s cubic-bezier(0.4,0,0.2,1), transform 0.7s cubic-bezier(0.4,0,0.2,1); }
.reveal.visible,
.reveal-left.visible,
.reveal-right.visible { opacity: 1; transform: translate(0, 0); }

/* Stagger delays for children */
.stagger > *:nth-child(1) { transition-delay: 0.05s; }
.stagger > *:nth-child(2) { transition-delay: 0.15s; }
.stagger > *:nth-child(3) { transition-delay: 0.25s; }
.stagger > *:nth-child(4) { transition-delay: 0.35s; }
.stagger > *:nth-child(5) { transition-delay: 0.45s; }
.stagger > *:nth-child(6) { transition-delay: 0.55s; }

/* ===== NAV SCROLL STATE ===== */
.nav { transition: background 0.3s, box-shadow 0.3s; }
.nav.scrolled {
  background: rgba(8, 8, 16, 0.97);
  box-shadow: 0 1px 0 rgba(255,255,255,0.06), 0 8px 32px rgba(0,0,0,0.4);
}

/* ===== NAV LINK UNDERLINE ===== */
.nav-links a {
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 1.5px;
  background: linear-gradient(90deg, #7c3aed, #6366f1);
  border-radius: 99px;
  transition: width 0.25s ease;
}
.nav-links a:hover::after { width: 100%; }

/* ===== HERO BADGE PULSE ===== */
.badge {
  animation: badgePulse 3.5s ease-in-out infinite;
}
@keyframes badgePulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(124,58,237,0.35); }
  50%       { box-shadow: 0 0 0 9px rgba(124,58,237,0); }
}

/* ===== LOGO GLOW ON HOVER ===== */
.logo { transition: opacity 0.2s; }
.logo:hover { opacity: 0.85; }
.logo span { transition: text-shadow 0.3s; }
.logo:hover span { text-shadow: 0 0 16px rgba(124,58,237,0.7); }

/* ===== BUTTON SHIMMER ===== */
.btn-primary {
  position: relative;
  overflow: hidden;
}
.btn-primary::after {
  content: '';
  position: absolute;
  top: -60%; left: -80%;
  width: 55%; height: 220%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,0.18), transparent);
  transform: skewX(-22deg);
  transition: left 0.55s ease;
  pointer-events: none;
}
.btn-primary:hover::after { left: 130%; }

/* ===== STEP HOVER ===== */
.step {
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.step:hover {
  transform: translateY(-4px);
  border-color: rgba(124,58,237,0.3);
  box-shadow: 0 12px 40px rgba(0,0,0,0.3);
}
.step-num { transition: color 0.3s, text-shadow 0.3s; }
.step:hover .step-num {
  color: rgba(124,58,237,0.7);
  text-shadow: 0 0 24px rgba(124,58,237,0.45);
}

/* ===== FEATURE ICON MICRO-ANIMATION ===== */
.feature-icon {
  display: inline-block;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.feature-list li:hover .feature-icon {
  transform: scale(1.28) rotate(-8deg);
}

/* ===== VISUAL CARD FLOAT ===== */
.visual-card {
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.for-visual:hover .visual-card {
  transform: translateY(-6px) rotate(-0.6deg);
  box-shadow: 0 36px 80px rgba(0,0,0,0.5), 0 0 40px rgba(124,58,237,0.1);
}

/* ===== OFFER BADGE PULSE ===== */
.offer-badge.new { animation: newBadge 2.2s ease-in-out infinite; }
@keyframes newBadge {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.1); }
}

/* ===== FEATURED PRICING CARD GLOW ===== */
.pricing-card.featured {
  animation: featuredGlow 4s ease-in-out infinite;
}
@keyframes featuredGlow {
  0%, 100% { box-shadow: 0 0 48px rgba(124,58,237,0.15); }
  50%       { box-shadow: 0 0 72px rgba(124,58,237,0.32); }
}
.pricing-card { transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease; }
.pricing-card:hover { transform: translateY(-6px); }
.plan-icon { display: inline-block; transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1); }
.pricing-card:hover .plan-icon { transform: scale(1.25) rotate(-6deg); }

/* ===== CTA SECTION GLOW ===== */
.cta { position: relative; isolation: isolate; }
.cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 60% at 50% 100%, rgba(124,58,237,0.18) 0%, transparent 65%);
  pointer-events: none;
  animation: ctaGlow 5s ease-in-out infinite;
  z-index: -1;
}
@keyframes ctaGlow {
  0%, 100% { opacity: 0.7; }
  50%       { opacity: 1; }
}

/* ===== EXPLORE CARD ENHANCED HOVER ===== */
.ex-card {
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.ex-card:hover {
  transform: translateY(-6px);
  border-color: rgba(124,58,237,0.4);
  box-shadow: 0 20px 60px rgba(0,0,0,0.4), 0 0 40px rgba(124,58,237,0.1);
}

/* ===== PROFILE CARD HOVER ===== */
.profile-card {
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

/* ===== FILTER PILL ACTIVE PULSE ===== */
.fpill.active {
  animation: pillGlow 3s ease-in-out infinite;
}
@keyframes pillGlow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(124,58,237,0.3); }
  50%       { box-shadow: 0 0 0 4px rgba(124,58,237,0); }
}

/* ===== STAT ROW HOVER ===== */
.stat-row {
  transition: background 0.2s, padding-left 0.2s;
  border-radius: 6px;
  padding-left: 4px;
  padding-right: 4px;
}
.stat-row:hover { background: rgba(255,255,255,0.04); padding-left: 8px; }

/* ===== PAGE LOAD FADE IN ===== */
body { animation: pageFadeIn 0.4s ease; }
@keyframes pageFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* ===== FOOTER LINK HOVER ===== */
.footer-links a {
  position: relative;
  transition: color 0.2s;
}
.footer-links a::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 0; height: 1px;
  background: #7c3aed;
  border-radius: 99px;
  transition: width 0.22s;
}
.footer-links a:hover::after { width: 100%; }

/* ===== SOCIAL PILL HOVER ===== */
.social-pill { transition: all 0.2s ease; }
.social-pill:hover { transform: translateY(-2px); }

/* ===== BOOKING PATH CARD HOVER ===== */
.path-card { transition: all 0.25s ease; }
.path-card:hover { transform: translateY(-4px); }

/* ===== TERMS TOC LINK INDICATOR ===== */
.terms-toc nav a.active-section {
  color: #a78bfa;
  background: rgba(124,58,237,0.1);
}

/* ===== WHATSAPP FLOATING BUTTON ===== */
.wa-fab {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 32px rgba(37,211,102,0.45);
  z-index: 1000;
  text-decoration: none;
  transition: transform 0.25s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.25s;
}
.wa-fab:hover {
  transform: scale(1.12);
  box-shadow: 0 12px 48px rgba(37,211,102,0.6);
}
.wa-fab:active { transform: scale(0.96); }

/* Pulse ring */
.wa-pulse {
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  border: 2.5px solid rgba(37,211,102,0.45);
  animation: waPulse 2.5s ease-out infinite;
  pointer-events: none;
}
@keyframes waPulse {
  0%   { transform: scale(1);   opacity: 1; }
  70%  { transform: scale(1.45); opacity: 0; }
  100% { transform: scale(1.45); opacity: 0; }
}

.wa-icon { flex-shrink: 0; }

/* Tooltip card */
.wa-tooltip {
  position: absolute;
  right: 70px;
  bottom: 50%;
  transform: translateY(50%);
  background: #fff;
  border-radius: 12px;
  padding: 10px 14px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.18);
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transform: translateY(50%) translateX(8px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.wa-tooltip::after {
  content: '';
  position: absolute;
  right: -7px;
  top: 50%;
  transform: translateY(-50%);
  border: 7px solid transparent;
  border-right: none;
  border-left-color: #fff;
}
.wa-fab:hover .wa-tooltip {
  opacity: 1;
  transform: translateY(50%) translateX(0);
}
.wa-tooltip-name {
  font-size: 0.82rem;
  font-weight: 700;
  color: #111;
  margin-bottom: 2px;
}
.wa-tooltip-sub {
  font-size: 0.72rem;
  color: #6b7280;
}

@media (max-width: 480px) {
  .wa-fab { bottom: 20px; right: 20px; width: 52px; height: 52px; }
  .wa-tooltip { display: none; }
}

/* ============================================================
   MOBILE RESPONSIVE
   ============================================================ */

/* ── Hamburger button ── */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  border-radius: 8px;
  z-index: 200;
  transition: background 0.2s;
  flex-shrink: 0;
}
.hamburger:hover { background: rgba(255,255,255,0.07); }
.hamburger span {
  display: block;
  width: 22px; height: 2px;
  background: #e2e8f0;
  border-radius: 99px;
  transition: transform 0.3s ease, opacity 0.3s ease, width 0.3s ease;
  transform-origin: center;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; width: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Mobile menu panel ── */
.mobile-menu {
  display: none;
  position: fixed;
  top: 64px; left: 0; right: 0;
  background: rgba(8, 8, 16, 0.98);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  padding: 8px 0 24px;
  z-index: 99;
  transform: translateY(-8px);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease;
}
.mobile-menu.open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: all;
}
.mobile-menu ul {
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
}
.mobile-menu ul li { border-bottom: 1px solid rgba(255,255,255,0.05); }
.mobile-menu ul li:first-child { border-top: 1px solid rgba(255,255,255,0.05); }
.mobile-menu ul li a {
  display: block;
  padding: 15px 24px;
  color: #cbd5e1;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
  transition: color 0.2s, padding-left 0.2s;
}
.mobile-menu ul li a:hover { color: #a78bfa; padding-left: 30px; }
.mobile-menu-cta {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 0 24px;
}
.mobile-menu-cta .btn { justify-content: center; }

/* ── Mobile overlay ── */
.mobile-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  z-index: 98;
  opacity: 0;
  transition: opacity 0.3s ease;
  backdrop-filter: blur(2px);
}
.mobile-overlay.open { opacity: 1; }

/* ── Breakpoint: tablet / mobile ── */
@media (max-width: 768px) {
  /* Show hamburger, hide desktop nav */
  .hamburger      { display: flex; }
  .nav-links      { display: none !important; }
  .nav-cta        { display: none !important; }
  .mobile-menu    { display: block; }
  .mobile-overlay { display: block; }

  /* Hero */
  .hero { padding: 110px 0 60px; text-align: center; }
  .hero-actions {
    flex-direction: column;
    align-items: center;
  }
  .hero-actions .btn { width: 100%; max-width: 300px; justify-content: center; }

  /* Steps — hide arrows, single column */
  .step-arrow { display: none; }
  .steps { flex-direction: column; gap: 14px; }

  /* For sections */
  .for-section { padding: 60px 0; }
  .for-inner, .for-inner.reverse { flex-direction: column; gap: 36px; }
  .for-text .section-title { margin-bottom: 20px; }
  .for-visual { width: 100%; }

  /* Pricing */
  .pricing { padding: 60px 0; }
  .pricing-cards, .pricing-cards-centered {
    flex-direction: column;
    align-items: stretch;
    max-width: 420px;
    margin: 0 auto;
  }

  /* CTA */
  .cta { padding: 60px 0; }
  .cta-btns { flex-direction: column; align-items: center; }
  .cta-btns .btn { width: 100%; max-width: 300px; justify-content: center; }

  /* Footer */
  .footer-inner { flex-direction: column; align-items: center; text-align: center; gap: 16px; }
  .footer-links { justify-content: center; }

  /* Booking */
  .booking-main { padding: 88px 16px 48px; }
  .booking-wrap { max-width: 100%; }
  .path-cards { grid-template-columns: 1fr; }
  .booking-form { padding: 24px 18px; }
  .form-actions { flex-direction: column-reverse; gap: 10px; }
  .form-actions .btn { width: 100%; justify-content: center; }

  /* Explore hero */
  .explore-hero { padding: 100px 0 44px; }
  .explore-hero h1 { letter-spacing: -0.8px; }
  .explore-main { padding: 32px 0 60px; }
  .filter-bar { padding: 16px; gap: 12px; }
  .filter-group { flex-direction: column; align-items: flex-start; gap: 8px; }
  .filter-label { min-width: unset; }
  .filter-pills { gap: 5px; }

  /* Terms / Privacy */
  .terms-hero { padding: 100px 0 40px; }
  .terms-layout { flex-direction: column; gap: 24px; }
  .terms-toc { width: 100%; position: static; }
  .toc-inner { display: none; }
  .terms-main { padding: 32px 0 60px; }
  .terms-section { padding: 24px 0; }
  .info-cards { grid-template-columns: 1fr; }

  /* Explore filter pills overflow fix */
  .filter-pills { flex-wrap: wrap; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .hero h1 { letter-spacing: -0.75px; }
  .section-title { margin-bottom: 28px; }
  .badge { font-size: 0.72rem; padding: 5px 13px; }
  .fpill { padding: 5px 11px; font-size: 0.76rem; }
  .ex-card { padding: 18px; }
  .ex-info-grid { grid-template-columns: 1fr 1fr; }
  .success-card { padding: 36px 18px; }
  .terms-section h2 { font-size: 1rem; gap: 10px; }
  .section-num { width: 24px; height: 24px; font-size: 0.7rem; }
  .contact-card { flex-direction: column; gap: 10px; }
  .tabs-pill { width: 100%; }
  .ptab { flex: 1; text-align: center; padding: 10px 12px; font-size: 0.82rem; }
  .mobile-menu ul li a { padding: 13px 20px; }
  .mobile-menu-cta { padding: 0 20px; }
}

/* ===== ENGAGEMENT BAR ANIMATION ===== */
.eng-bar {
  width: 0 !important;
  transition: width 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}
.eng-bar.animated { width: var(--eng-width) !important; }

/* ===== EXPLORE FILTER BAR SLIDE IN ===== */
.filter-bar {
  transition: box-shadow 0.3s;
}
.filter-bar:hover {
  box-shadow: 0 0 0 1px rgba(124,58,237,0.15), 0 8px 32px rgba(0,0,0,0.2);
}
