/* RuangPaket marketing landing — brand atmosphere & motion */

[x-cloak] {
  display: none !important;
}

.tap {
  -webkit-tap-highlight-color: transparent;
}

/* Full-bleed hero plane */
.hero-plane {
  background:
    linear-gradient(
      165deg,
      #043a73 0%,
      #054A91 38%,
      #036e6e 74%,
      #022d5c 100%
    );
}

.hero-plane::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 55% at 85% 20%, rgba(163, 213, 255, 0.30), transparent 55%),
    radial-gradient(ellipse 60% 50% at 10% 90%, rgba(4, 137, 137, 0.45), transparent 50%),
    linear-gradient(180deg, transparent 40%, rgba(2, 45, 92, 0.55) 100%);
  animation: hero-drift 18s ease-in-out infinite alternate;
}

.hero-grain {
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.12'/%3E%3C/svg%3E");
  background-size: 180px;
  mix-blend-mode: overlay;
  pointer-events: none;
}

@keyframes hero-drift {
  from {
    transform: scale(1) translate(0, 0);
  }
  to {
    transform: scale(1.06) translate(-1.5%, 1%);
  }
}

.audience-mesh {
  background:
    radial-gradient(circle at 20% 30%, rgba(163, 213, 255, 0.22), transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(4, 137, 137, 0.28), transparent 45%);
}

.cta-plane {
  background:
    linear-gradient(135deg, #043a73 0%, #054A91 45%, #036e6e 100%);
}

.cta-plane::before {
  content: "";
  position: absolute;
  inset: -20%;
  background: radial-gradient(circle at 70% 30%, rgba(255, 255, 255, 0.14), transparent 45%);
  animation: cta-pulse 12s ease-in-out infinite alternate;
}

@keyframes cta-pulse {
  from {
    opacity: 0.7;
    transform: translate(0, 0);
  }
  to {
    opacity: 1;
    transform: translate(-3%, 2%);
  }
}

.anim-rise {
  animation: rise 1s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.anim-fade {
  animation: fade-up 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(1.75rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(0.75rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-plane::after,
  .cta-plane::before,
  .anim-rise,
  .anim-fade {
    animation: none !important;
  }
}
