/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  --arc-dur: 22s;
  position: relative;
  overflow: hidden;
  background: radial-gradient(125% 68% at 50% 0%, #fff4c2 0%, #fffdf7 56%);
}

.hero-glow {
  position: absolute;
  top: 30px;
  left: 50%;
  transform: translateX(-50%);
  width: 760px;
  max-width: 96%;
  height: 420px;
  background: radial-gradient(circle, rgba(255, 212, 0, 0.2), transparent 66%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  min-height: calc(100dvh - 64px);
  padding: 26px 32px 56px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero-eyebrow {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(13, 27, 42, 0.5);
}

.hero-title {
  font-size: var(--text-h1);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.05;
  max-width: 780px;
  margin-top: 14px;
}

.hero-highlight {
  background: var(--color-secondary);
  border-radius: 10px;
  padding: 0 0.352em;
  font-size: 0.625em;
  box-decoration-break: clone;
}

.hero-highlight span {
  font-size: 1.6em;
}

.hero-copy {
  max-width: 600px;
  margin: 14px auto 0;
}

.hero-description {
  font-size: clamp(16px, 1.5vw, 19px);
  line-height: 1.62;
  color: rgba(13, 27, 42, 0.64);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  margin-top: 26px;
}

.hero-trust {
  font-size: 13px;
  color: rgba(13, 27, 42, 0.5);
  margin-top: 20px;
}

.hero-trust strong {
  color: var(--color-primary);
}

/* ============================================
   FLOATING CARDS ANIMATION (flo-*)
   ============================================ */
.flo-stage {
  position: relative;
  width: 760px;
  max-width: 100%;
  height: 454px;
  margin: 18px auto 0;
}

.flo-glow {
  position: absolute;
  top: 150px;
  left: 50%;
  transform: translateX(-50%);
  width: 340px;
  height: 340px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 212, 0, 0.3), transparent);
  animation: floGlow 6s ease-in-out infinite;
  pointer-events: none;
  z-index: 1;
}

.flo-fade-mask {
  position: absolute;
  top: 66px;
  left: 50%;
  transform: translateX(-50%);
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(
    closest-side,
    var(--color-canvas) 0%,
    rgba(255, 253, 247, 0.84) 44%,
    rgba(255, 253, 247, 0) 74%
  );
  pointer-events: none;
  z-index: 4;
}

.flo-orbit {
  position: absolute;
  top: 0;
  left: 50%;
  width: 0;
  height: 0;
  z-index: 3;
}

.flo-card {
  position: absolute;
  top: 104px;
  left: 0;
  width: 132px;
  height: 174px;
  margin-left: -66px;
  animation: floPath var(--arc-dur) linear infinite;
  animation-delay: var(--d);
}

.flo-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--color-edge);
  border-radius: 13px;
  box-shadow: 0 18px 34px -16px rgba(13, 27, 42, 0.42);
}

.flo-card-inner img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.flo-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 7px;
  border-radius: 9999px;
  font-size: 9px;
  font-weight: 700;
  animation-delay: var(--d);
}

.flo-badge-draft {
  background: var(--color-neutral);
  color: rgba(13, 27, 42, 0.6);
  animation: floDraft var(--arc-dur) linear infinite;
}

.flo-badge-draft .dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #c7cbd1;
}

.flo-badge-approved {
  background: var(--color-primary);
  color: #fff;
  opacity: 0;
  animation: floAppr var(--arc-dur) linear infinite;
}

.flo-badge-approved .check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--color-secondary);
  color: var(--color-primary);
  font-size: 7px;
  font-weight: 800;
}

.flo-badge-posted {
  background: var(--color-secondary);
  color: var(--color-primary);
  font-weight: 800;
  opacity: 0;
  animation: floPost var(--arc-dur) linear infinite;
}

.flo-person {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 380px;
  max-width: 86%;
  z-index: 5;
  animation: floBob 7s ease-in-out infinite;
}

.flo-person img {
  width: 100%;
  height: auto;
  mask-image: linear-gradient(to bottom, #000 68%, rgba(0, 0, 0, 0.5) 86%, transparent 99%);
  -webkit-mask-image: linear-gradient(to bottom, #000 68%, rgba(0, 0, 0, 0.5) 86%, transparent 99%);
}

/* ---- keyframes ---- */
@keyframes floPath {
  0% {
    opacity: 0;
    transform: translate(450px, 20px) rotate(5deg) scale(0.6);
  }
  12.5% {
    transform: translate(344px, 6px) rotate(4deg) scale(0.76);
  }
  18% {
    opacity: 1;
  }
  25% {
    transform: translate(226px, -8px) rotate(3deg) scale(0.96);
  }
  37.5% {
    transform: translate(112px, -22px) rotate(1deg) scale(1.2);
  }
  50% {
    transform: translate(0px, -30px) rotate(0deg) scale(1.45);
  }
  62.5% {
    transform: translate(-112px, -22px) rotate(-1deg) scale(1.2);
  }
  75% {
    transform: translate(-226px, -8px) rotate(-3deg) scale(0.96);
  }
  82% {
    opacity: 1;
  }
  87.5% {
    transform: translate(-344px, 6px) rotate(-4deg) scale(0.76);
  }
  100% {
    opacity: 0;
    transform: translate(-450px, 20px) rotate(-5deg) scale(0.6);
  }
}

@keyframes floDraft {
  0%,
  28% {
    opacity: 1;
  }
  34%,
  100% {
    opacity: 0;
  }
}

@keyframes floAppr {
  0%,
  30% {
    opacity: 0;
  }
  36%,
  62% {
    opacity: 1;
  }
  68%,
  100% {
    opacity: 0;
  }
}

@keyframes floPost {
  0%,
  64% {
    opacity: 0;
  }
  70%,
  100% {
    opacity: 1;
  }
}

@keyframes floGlow {
  0%,
  100% {
    opacity: 0.45;
  }
  50% {
    opacity: 0.8;
  }
}

@keyframes floBob {
  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }
  50% {
    transform: translateX(-50%) translateY(-7px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .flo-card,
  .flo-glow,
  .flo-person,
  .flo-badge {
    animation: none !important;
  }
  .flo-card:nth-child(1) {
    transform: translate(-226px, -8px) scale(0.96) !important;
    opacity: 1 !important;
  }
  .flo-card:nth-child(2) {
    transform: translate(-112px, -22px) scale(1.2) !important;
    opacity: 1 !important;
  }
  .flo-card:nth-child(3) {
    transform: translate(0, -30px) scale(1.45) !important;
    opacity: 1 !important;
  }
  .flo-card:nth-child(4) {
    transform: translate(112px, -22px) scale(1.2) !important;
    opacity: 1 !important;
  }
  .flo-card:nth-child(5) {
    transform: translate(226px, -8px) scale(0.96) !important;
    opacity: 1 !important;
  }
}

@media (max-width: 820px) {
  .flo-stage {
    transform: scale(0.7);
    transform-origin: center top;
    margin-bottom: -136px;
  }
}
