/* FlashUsdt Pro — motion & scroll reveals (respects reduced motion) */

/* ---- Hero atmosphere ---- */
.hero {
  isolation: isolate;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(72px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.55;
}

.hero::before {
  width: min(420px, 55vw);
  height: min(420px, 55vw);
  top: 12%;
  right: 8%;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.35) 0%, transparent 70%);
  animation: orb-drift-a 14s ease-in-out infinite;
}

.hero::after {
  width: min(320px, 45vw);
  height: min(320px, 45vw);
  bottom: 8%;
  left: 4%;
  background: radial-gradient(circle, rgba(45, 212, 191, 0.22) 0%, transparent 70%);
  animation: orb-drift-b 18s ease-in-out infinite;
}

.hero-grid {
  animation: grid-pan 40s linear infinite;
}

@keyframes orb-drift-a {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-24px, 18px) scale(1.08); }
}

@keyframes orb-drift-b {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(20px, -14px) scale(1.06); }
}

@keyframes grid-pan {
  from { background-position: 0 0, 0 0; }
  to { background-position: 50px 50px, 50px 50px; }
}

/* Hero entrance (first paint) — never hide content (keeps links clickable) */
.hero-content > *,
.hero-right {
  animation: hero-rise 0.85s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hero-content > .hero-badge { animation-delay: 0.05s; }
.hero-content > h1 { animation-delay: 0.12s; }
.hero-content > .site-tagline { animation-delay: 0.2s; }
.hero-content > .hero-sub { animation-delay: 0.28s; }
.hero-content > .hero-btns { animation-delay: 0.36s; }
.hero-content > .keyword-pills { animation-delay: 0.44s; }
.hero-content > .hero-stats { animation-delay: 0.52s; }
.hero-right { animation-delay: 0.38s; }

@keyframes hero-rise {
  from {
    transform: translateY(22px);
  }
  to {
    transform: translateY(0);
  }
}

.hero-card {
  animation: card-float 5s ease-in-out infinite;
}

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

.hero-card .tx-row {
  animation: tx-slide-in 0.6s ease both;
}

.hero-card .tx-row:nth-child(2) { animation-delay: 0.7s; }
.hero-card .tx-row:nth-child(3) { animation-delay: 0.95s; }
.hero-card .tx-row:nth-child(4) { animation-delay: 1.2s; }
.hero-card .tx-row:nth-child(5) { animation-delay: 1.45s; }
.hero-card .hero-network-status { animation-delay: 1.7s; }

@keyframes tx-slide-in {
  from {
    transform: translateX(12px);
  }
  to {
    transform: translateX(0);
  }
}

/* Logo & CTAs */
.logo {
  animation: logo-glow 3.5s ease-in-out infinite;
}

@keyframes logo-glow {
  0%, 100% { text-shadow: 0 0 0 transparent; }
  50% { text-shadow: 0 0 18px rgba(16, 185, 129, 0.35); }
}

.btn-primary {
  position: relative;
  overflow: hidden;
}

.btn-primary::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    transparent 35%,
    rgba(255, 255, 255, 0.28) 50%,
    transparent 65%
  );
  transform: translateX(-120%);
  animation: btn-shimmer 4s ease-in-out infinite;
  pointer-events: none;
}

@keyframes btn-shimmer {
  0%, 70%, 100% { transform: translateX(-120%); }
  85% { transform: translateX(120%); }
}

.btn-buy-nav {
  animation: cta-pulse 2.8s ease-in-out infinite;
}

@keyframes cta-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.45); }
  50% { box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
}

.keyword-pill {
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.keyword-pill:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.15);
}

/* Scroll reveal — content stays visible & clickable; only motion on reveal */
.anim-reveal {
  transform: translateY(28px);
  transition: transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

.anim-reveal.is-visible {
  transform: translateY(0);
}

.page {
  position: relative;
  z-index: 1;
}

.page.active {
  pointer-events: auto;
}

.site-header,
.site-header a,
.site-header button,
.btn-primary,
.btn-secondary,
.btn-buy-nav,
.nav-links a {
  pointer-events: auto;
}

.anim-reveal--fade {
  transform: none;
}

.anim-reveal--scale {
  transform: scale(0.96);
}

.anim-reveal--scale.is-visible {
  transform: scale(1);
}

/* Stagger children inside grids */
.anim-stagger-parent.is-visible .anim-stagger-child {
  transform: translateY(0);
}

.anim-stagger-child {
  transform: translateY(20px);
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

/* FAQ accordion (smooth open) */
.faq-a-general {
  display: block !important;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  transition:
    max-height 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.35s ease,
    padding 0.35s ease;
}

.faq-a-general.open {
  max-height: 12000px;
  opacity: 1;
  padding-bottom: 20px !important;
}

.faq-item-general:has(.faq-a-general.open) {
  border-color: rgba(16, 185, 129, 0.45);
  box-shadow: 0 0 24px rgba(16, 185, 129, 0.08);
}

.faq-item-general:has(.faq-a-general.open) .faq-q-general .arrow {
  transform: rotate(45deg);
}

.faq-q-general .arrow {
  display: inline-block;
  transition: transform 0.3s ease;
}

/* Cards & blog hover polish */
.card,
.price-card,
.blog-card,
.viral-section {
  transition:
    transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.35s ease,
    border-color 0.35s ease;
}

.card-icon {
  transition: transform 0.35s ease;
}

.card:hover .card-icon {
  transform: scale(1.08) rotate(-4deg);
}

/* WhatsApp float */
.whatsapp-float {
  animation: wa-bounce 2.5s ease-in-out infinite;
}

@keyframes wa-bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

.whatsapp-float:hover {
  animation: none;
}

/* Section titles underline draw */
.section-title.anim-reveal.is-visible {
  position: relative;
}

.section-title.anim-reveal.is-visible::after {
  content: "";
  display: block;
  width: 0;
  height: 3px;
  margin-top: 10px;
  background: linear-gradient(90deg, var(--green), transparent);
  border-radius: 2px;
  animation: title-line 0.8s ease forwards 0.2s;
}

@keyframes title-line {
  to { width: min(120px, 40%); }
}

/* Purchase toast entrance (enhance existing) */
.purchase-toast {
  animation: toast-in 0.4s ease forwards;
}

@keyframes toast-in {
  from {
    opacity: 0;
    transform: translateX(-24px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .anim-reveal,
  .anim-reveal.is-visible,
  .anim-stagger-child {
    transform: none;
  }

  .hero-content > *,
  .hero-right,
  .hero-card .tx-row {
    animation: none;
  }

  .faq-a-general.open {
    max-height: none;
  }
}
