
/* =====================================================
   REELCASH — COMPLETE ANIMATION STYLESHEET
   Original motion + premium purple distribution flow
   ===================================================== */

/* ================= SCROLL REVEAL ================= */

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity .7s cubic-bezier(.16,1,.3,1),
    transform .7s cubic-bezier(.16,1,.3,1);
  transition-delay: var(--reveal-delay, 0s);
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* ================= HEADLINE SHIMMER ================= */

.page-hero h1 {
  background: linear-gradient(
    100deg,
    var(--ink) 30%,
    var(--blue-bright) 45%,
    #9FD3FF 52%,
    var(--ink) 65%
  );
  background-size: 250% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shimmer 6s ease-in-out infinite;
}

@keyframes shimmer {
  0% { background-position: 200% 0; }
  50% { background-position: 0% 0; }
  100% { background-position: 200% 0; }
}

/* ================= AMBIENT ORBS ================= */

.ambient-orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(70px);
  pointer-events: none;
  z-index: 0;
  opacity: .35;
  background: radial-gradient(
    circle,
    rgba(145, 55, 255, .55),
    transparent 70%
  );
  animation: orbFloat 18s ease-in-out infinite;
}

@keyframes orbFloat {
  0%, 100% {
    transform: translate(0,0) scale(1);
  }
  33% {
    transform: translate(40px,-30px) scale(1.08);
  }
  66% {
    transform: translate(-30px,25px) scale(.94);
  }
}

/* ================= HERO BACKGROUND ================= */

.page-hero {
  background-size: 180% 180%, 180% 180%;
  animation: heroDrift 14s ease-in-out infinite alternate;
}

@keyframes heroDrift {
  0% {
    background-position: 20% -10%, 90% 10%;
  }
  100% {
    background-position: 30% 0%, 80% 20%;
  }
}

/* ================= BUTTON SHINE ================= */

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

.btn::after {
  content: "";
  position: absolute;
  top: 0;
  left: -60%;
  width: 40%;
  height: 100%;
  background: linear-gradient(
    120deg,
    transparent,
    rgba(255,255,255,.35),
    transparent
  );
  transform: skewX(-20deg);
  transition: left .6s ease;
}

.btn:hover::after {
  left: 130%;
}

.btn.primary:hover {
  box-shadow: 0 8px 24px rgba(164,54,255,.45);
}

/* ================= CARD HOVER ================= */

.card,
.track-card {
  transition:
    transform .3s cubic-bezier(.16,1,.3,1),
    box-shadow .3s ease,
    border-color .3s ease;
}

.card:hover,
.track-card:hover {
  transform: translateY(-6px);
  border-color: rgba(195,117,255,.5);
  box-shadow: 0 16px 40px rgba(164,54,255,.18);
}

/* ================= NAVIGATION ================= */

.navitem > button,
.navlink {
  position: relative;
}

.navitem > button::after,
.navlink::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 6px;
  height: 2px;
  background: var(--blue-bright);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s ease;
}

.navitem > button:hover::after,
.navlink:hover::after {
  transform: scaleX(1);
}

/* ================= HEADER ================= */

header.site {
  animation: headerDrop .5s cubic-bezier(.16,1,.3,1) both;
}

@keyframes headerDrop {
  from {
    opacity: 0;
    transform: translateY(-12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ================= EYEBROW PULSE ================= */

.page-hero .eyebrow {
  animation: pillPulse 3s ease-in-out infinite;
}

@keyframes pillPulse {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(164,54,255,.25);
  }
  50% {
    box-shadow: 0 0 0 6px rgba(164,54,255,0);
  }
}

/* ================= CALCULATOR ================= */

.calc-result.pulse {
  animation: resultPulse .4s ease;
}

@keyframes resultPulse {
  0% { transform: scale(1); }
  40% { transform: scale(1.04); }
  100% { transform: scale(1); }
}

/* ================= FORM OPTIONS ================= */

.opt {
  transition: transform .15s ease, border-color .15s ease;
}

.opt:hover {
  transform: translateX(3px);
}

/* ================= OLD FLOW DIAGRAM SUPPORT ================= */

.flow-box {
  border: 1px dashed rgba(164,54,255,.35);
  border-radius: 16px;
  padding: 40px;
  background:
    repeating-linear-gradient(
      0deg,
      rgba(164,54,255,.08) 0 1px,
      transparent 1px 24px
    ),
    repeating-linear-gradient(
      90deg,
      rgba(164,54,255,.08) 0 1px,
      transparent 1px 24px
    ),
    var(--bg-panel);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  position: relative;
  overflow: hidden;
}

.flow-pill {
  background: var(--bg-panel-2);
  border: 1px solid var(--line);
  border-radius: 100px;
  padding: 14px 22px;
  font-weight: 700;
  font-size: 14px;
  white-space: nowrap;
}

.flow-arrow {
  flex: 1;
  min-width: 40px;
  height: 2px;
  position: relative;
  background: none;
}

.flow-arrow svg {
  width: 100%;
  height: 24px;
  overflow: visible;
  display: block;
}

.flow-arrow path {
  stroke: var(--blue-bright);
  stroke-width: 2;
  fill: none;
  stroke-dasharray: 6 6;
  animation: marchAnts 1s linear infinite;
}

@keyframes marchAnts {
  to { stroke-dashoffset: -24; }
}

.flow-engine {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.flow-engine .gear {
  font-size: 34px;
  animation: gearSpin 6s linear infinite;
  display: inline-block;
}

@keyframes gearSpin {
  to { transform: rotate(360deg); }
}

.flow-engine .gear-label {
  font-weight: 900;
  font-size: 12px;
  color: var(--blue-bright);
  letter-spacing: .03em;
}

.flow-channels {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.flow-channels .flow-pill {
  background: var(--blue);
  color: #fff;
  border-color: transparent;
  font-size: 13px;
  padding: 10px 18px;
}

.flow-result {
  background: #fff;
  color: #0A0D14;
  border-radius: 100px;
  padding: 18px 28px;
  font-family: 'Archivo Expanded','Inter',sans-serif;
  font-weight: 900;
  font-size: 22px;
  position: relative;
  flex-shrink: 0;
}

.flow-result .heart {
  position: absolute;
  font-size: 16px;
  animation: heartFloat 2.4s ease-in-out infinite;
}

.flow-result .heart.h1 {
  top: -14px;
  left: -10px;
}

.flow-result .heart.h2 {
  top: -18px;
  right: 10px;
  animation-delay: .5s;
}

.flow-result .heart.h3 {
  bottom: -14px;
  right: -14px;
  animation-delay: 1s;
}

@keyframes heartFloat {
  0%, 100% {
    transform: translateY(0) scale(1);
    opacity: .85;
  }
  50% {
    transform: translateY(-6px) scale(1.15);
    opacity: 1;
  }
}

/* ================= FILTER PILLS ================= */

.filter-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.filter-pill {
  background: var(--bg-panel-2);
  border: 1px solid var(--line);
  border-radius: 100px;
  padding: 8px 16px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--muted);
  cursor: pointer;
  transition: all .15s ease;
}

.filter-pill:hover {
  border-color: var(--blue-bright);
  color: var(--ink);
}

.filter-pill.active {
  background: var(--blue);
  color: #fff;
  border-color: transparent;
}

.example-tag {
  display: inline-block;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: .04em;
  color: var(--muted);
  background: rgba(255,255,255,.06);
  padding: 3px 8px;
  border-radius: 100px;
  margin-bottom: 10px;
  text-transform: uppercase;
}

/* ================= CTA BANNER ================= */

.cta-banner {
  background: linear-gradient(135deg,#0A0D14,#1A0C2B);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 56px 40px;
  text-align: center;
  margin: 0 24px;
}

.cta-banner h2 {
  font-size: clamp(24px,3.5vw,34px);
  margin-bottom: 10px;
}

.cta-banner p {
  color: var(--muted);
  margin-bottom: 24px;
}

.cta-banner .cta-row {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ================= HERO GLOBE ================= */

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 32px;
  align-items: center;
}

.globe-wrap {
  position: relative;
  width: 100%;
  max-width: 520px;
  margin-left: auto;
  aspect-ratio: 1 / 1;
}

.globe-wrap canvas {
  width: 100%;
  height: 100%;
  display: block;
  cursor: grab;
  touch-action: pan-y;
}

.globe-card {
  position: absolute;
  background: rgba(18,12,32,.92);
  border: 1px solid var(--line);
  backdrop-filter: blur(8px);
  border-radius: 14px;
  padding: 10px 14px;
  font-size: 12px;
  line-height: 1.35;
  box-shadow: 0 12px 30px rgba(0,0,0,.35);
  animation: cardBob 5s ease-in-out infinite;
  pointer-events: none;
}

.globe-card b {
  display: block;
  font-size: 13px;
  color: var(--ink);
}

.globe-card span {
  color: var(--muted);
}

.globe-card .tag {
  display: inline-block;
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: .05em;
  color: var(--blue-bright);
  text-transform: uppercase;
  margin-bottom: 3px;
}

.globe-card.c1 {
  top: 8%;
  right: 0;
}

.globe-card.c2 {
  bottom: 14%;
  left: -2%;
  animation-delay: 1.6s;
}

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

/* =====================================================
   NEW REELCASH DISTRIBUTION DIAGRAM
   Actual classes from your homepage HTML
   ===================================================== */

/* Main diagram */
.rc-distribution-section {
  position: relative;
}

.rc-distribution-panel {
  position: relative;
  overflow: hidden;
}

.rc-distribution-flow {
  position: relative;
  display: flex;
  align-items: center;
}

/* Individual flow cards */
.rc-flow-card {
  position: relative;
  transition:
    transform .4s ease,
    border-color .4s ease,
    box-shadow .4s ease;
}

/* Your Content video icon */
.rc-flow-card:first-child .rc-flow-icon {
  animation: rcVideoPulse 2.4s ease-in-out infinite;
}

@keyframes rcVideoPulse {
  0%, 100% {
    transform: scale(1);
    filter: drop-shadow(0 0 5px rgba(190,90,255,.3));
  }
  50% {
    transform: scale(1.1);
    filter: drop-shadow(0 0 17px rgba(210,120,255,.9));
  }
}

/* ReelCash platform */
.rc-flow-brand {
  animation: rcPlatformPulse 3s ease-in-out infinite;
}

@keyframes rcPlatformPulse {
  0%, 100% {
    border-color: rgba(192,119,255,.5);
    box-shadow: 0 0 12px rgba(164,54,255,.12);
  }
  50% {
    border-color: rgba(220,155,255,.95);
    box-shadow:
      0 0 30px rgba(164,54,255,.4),
      inset 0 0 25px rgba(164,54,255,.13);
  }
}

.rc-r-mark {
  display: inline-block;
  animation: rcLogoFloat 2.5s ease-in-out infinite;
}

@keyframes rcLogoFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

/* Arrows between the stages */
.rc-flow-arrow {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #C45AFF;
  animation: rcArrowGlow 1.8s ease-in-out infinite;
}

/* The moving particle */
.rc-flow-arrow::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  pointer-events: none;
  background: #F5D5FF;
  box-shadow:
    0 0 8px #E4A2FF,
    0 0 16px #C35BFF,
    0 0 25px #A638FF;
  animation: rcParticleMove 1.7s linear infinite;
}

.rc-flow-arrow:nth-of-type(4)::after {
  animation-delay: .55s;
}

.rc-flow-arrow:nth-of-type(6)::after {
  animation-delay: 1.1s;
}

.rc-flow-arrow:nth-of-type(4) {
  animation-delay: .3s;
}

.rc-flow-arrow:nth-of-type(6) {
  animation-delay: .6s;
}

@keyframes rcParticleMove {
  0% {
    left: 0;
    opacity: 0;
    transform: translate(-50%,-50%) scale(.4);
  }
  15% { opacity: 1; }
  85% { opacity: 1; }
  100% {
    left: 100%;
    opacity: 0;
    transform: translate(-50%,-50%) scale(1.2);
  }
}

@keyframes rcArrowGlow {
  0%, 100% {
    color: #B64CFF;
    text-shadow: 0 0 7px #B64CFF;
  }
  50% {
    color: #F1C8FF;
    text-shadow: 0 0 19px #C35BFF;
  }
}

/* Creator cards activate one after another */
.rc-mini-creator {
  position: relative;
  overflow: hidden;
  animation: rcCreatorActive 3s ease-in-out infinite;
}

.rc-mini-creator:nth-child(2) {
  animation-delay: 1s;
}

.rc-mini-creator:nth-child(3) {
  animation-delay: 2s;
}

/* Light travels across each creator row */
.rc-mini-creator::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 65%;
  height: 100%;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(207,132,255,.22),
    transparent
  );
  animation: rcCreatorScan 3s ease-in-out infinite;
}

.rc-mini-creator:nth-child(2)::after {
  animation-delay: 1s;
}

.rc-mini-creator:nth-child(3)::after {
  animation-delay: 2s;
}

@keyframes rcCreatorActive {
  0%, 20%, 100% {
    background-color: rgba(8,5,17,.55);
    box-shadow: none;
  }
  10% {
    background-color: rgba(112,42,157,.38);
    box-shadow: 0 0 15px rgba(195,91,255,.25);
  }
}

@keyframes rcCreatorScan {
  0%, 100% { left: -100%; }
  65% { left: 150%; }
}

/* Creator avatar activity */
.rc-mini-creator .avatar {
  animation: rcAvatarGlow 3s ease-in-out infinite;
}

.rc-mini-creator .avatar-two {
  animation-delay: 1s;
}

.rc-mini-creator .avatar-three {
  animation-delay: 2s;
}

@keyframes rcAvatarGlow {
  0%, 100% {
    box-shadow: 0 0 0 rgba(195,91,255,0);
  }
  15% {
    box-shadow: 0 0 13px rgba(195,91,255,.8);
  }
}

/* More Reach bars grow continuously */
.rc-growth-icon span {
  display: inline-block;
  transform-origin: bottom center;
  animation: rcBarsRise 1.8s ease-in-out infinite;
}

.rc-growth-icon b {
  display: inline-block;
  animation: rcGrowthArrow 1.8s ease-in-out infinite;
}

@keyframes rcBarsRise {
  0%, 100% { transform: scaleY(.65); }
  50% { transform: scaleY(1.15); }
}

@keyframes rcGrowthArrow {
  0%, 100% { transform: translate(0,3px); }
  50% { transform: translate(4px,-5px); }
}

/* Final result card glow */
.rc-flow-result {
  animation: rcResultGlow 3s ease-in-out infinite;
}

@keyframes rcResultGlow {
  0%, 100% {
    box-shadow: 0 0 15px rgba(164,54,255,.2);
  }
  50% {
    box-shadow:
      0 0 32px rgba(164,54,255,.48),
      inset 0 0 24px rgba(196,76,255,.18);
  }
}

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

@media (max-width: 860px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .globe-wrap {
    margin: 8px auto 0;
    max-width: 400px;
  }

  .globe-card.c2 {
    left: 0;
  }
}

@media (max-width: 700px) {
  .flow-box {
    flex-direction: column;
  }

  .flow-arrow {
    width: 2px;
    height: 30px;
    min-width: 0;
  }

  .flow-arrow svg {
    width: 24px;
    height: 100%;
  }
}

/* ================= REDUCED MOTION ================= */

@media (prefers-reduced-motion: reduce) {
  .reveal,
  .page-hero h1,
  .ambient-orb,
  .page-hero,
  .btn::after,
  header.site,
  .eyebrow,
  .calc-result.pulse,
  .globe-card,
  .flow-arrow path,
  .flow-engine .gear,
  .flow-result .heart,
  .rc-flow-card,
  .rc-flow-icon,
  .rc-flow-brand,
  .rc-r-mark,
  .rc-flow-arrow,
  .rc-flow-arrow::after,
  .rc-mini-creator,
  .rc-mini-creator::after,
  .rc-mini-creator .avatar,
  .rc-growth-icon span,
  .rc-growth-icon b,
  .rc-flow-result {
    animation: none !important;
    transition: none !important;
  }

  .reveal {
    opacity: 1 !important;
    transform: none !important;
  }
}
