@import url("https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap");

:root {
  --brand-blue: #093454;
  --brand-light: #d7dfe5;
  --h-dark: #04121f;
  --h-card: #0b2438;
  --h-red: #d91023;
  --h-red-glow: rgba(217, 16, 35, 0.5);
  --h-text: #ffffff;
  --h-text-muted: #d7dfe5;
  --font-main: "Plus Jakarta Sans", sans-serif;
}

.hokai-unete-wrapper {
  font-family: var(--font-main);
  background-color: var(--h-dark);
  color: var(--h-text);
  position: relative;
  overflow-x: hidden;
  margin-top: 0;
}

.aurora-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.aurora-blob {
  position: absolute;
  filter: blur(80px);
  opacity: 0.25;
  border-radius: 50%;
  animation: aurora-drift 20s infinite alternate ease-in-out;
}

.blob-1 {
  top: -10%;
  left: -10%;
  width: 60vw;
  height: 60vw;
  background: #4a040e;
}

.blob-2 {
  top: 40%;
  right: -20%;
  width: 50vw;
  height: 50vw;
  background: var(--brand-blue);
  animation-delay: -5s;
  opacity: 0.4;
}

.blob-3 {
  bottom: -10%;
  left: 20%;
  width: 70vw;
  height: 50vw;
  background: #020a12;
  animation-delay: -8s;
}

.noise-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.05'/%3E%3C/svg%3E");
  opacity: 0.4;
  mix-blend-mode: overlay;
}

.hero-section {
  position: relative;
  z-index: 2;
  padding: 6rem 0 4rem 0;
  min-height: 90vh;
  display: flex;
  align-items: center;
}

.map-visual-wrapper {
  position: relative;
  height: 500px;
  display: flex;
  justify-content: center;
  align-items: center;
  animation: map-rotate-dynamic 15s ease-in-out infinite;
  transform-style: preserve-3d;
}

.peru-svg-glow {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 0 40px rgba(9, 52, 84, 0.4));
  opacity: 0.9;
  transform: translateZ(20px);
}

.live-feed-card {
  position: absolute;
  bottom: 10%;
  right: 5%;
  background: rgba(9, 52, 84, 0.9);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-left: 3px solid var(--h-red);
  padding: 1.2rem;
  border-radius: 16px;
  width: 260px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  transform: translateZ(60px);
  z-index: 10;
  animation: float-card 6s ease-in-out infinite;
}

.text-gradient {
  background: linear-gradient(90deg, #fff 20%, var(--h-red) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.text-h-gray {
  color: var(--h-text-muted);
}
.fw-800 {
  font-weight: 800;
}

.btn-hokai-cta {
  background: var(--h-red);
  color: white;
  font-weight: 700;
  padding: 1rem 2.5rem;
  border-radius: 50px;
  border: none;
  box-shadow: 0 0 20px var(--h-red-glow);
  transition: all 0.3s;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.1rem;
  animation: btn-pulse 5s infinite;
}
.btn-hokai-cta:hover {
  background: #ff1f3a;
  box-shadow: 0 0 40px var(--h-red-glow);
  transform: scale(1.05);
  color: white;
}

.feature-card {
  background: rgba(9, 52, 84, 0.2);
  border: 1px solid rgba(215, 223, 229, 0.1);
  border-radius: 20px;
  padding: 2rem;
  height: 100%;
  transition: transform 0.3s ease;
}
.feature-card:hover {
  transform: translateY(-8px);
  background: rgba(9, 52, 84, 0.4);
  border-color: rgba(215, 223, 229, 0.3);
}
.icon-box {
  width: 60px;
  height: 60px;
  background: rgba(217, 16, 35, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--h-red);
  margin-bottom: 1.5rem;
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: auto;
  gap: 1.5rem;
}
.bento-card {
  background: var(--h-card);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 24px;
  padding: 2rem;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.3s ease;
}
.bento-card:hover {
  transform: translateY(-5px);
  border-color: rgba(215, 223, 229, 0.2);
  background: #0d2a42;
}

.bento-peru {
  background: linear-gradient(rgba(4, 18, 31, 0.7), rgba(4, 18, 31, 0.9)),
    url("https://images.unsplash.com/photo-1533630733-46944e85742d?ixlib=rb-4.0.3&auto=format&fit=crop&w=800&q=80");
  background-size: cover;
  background-position: center;
}

.bento-tech {
  background: linear-gradient(135deg, #071a2b 0%, #020a10 100%);
}

.span-2 {
  grid-column: span 2;
}
@media (max-width: 991px) {
  .span-2 {
    grid-column: span 4;
  }
}

.use-case-card {
  text-align: center;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: transform 0.4s;
}
.use-case-card:hover {
  transform: rotateY(10deg) scale(1.05);
  border-color: var(--h-red);
  background: rgba(9, 52, 84, 0.3);
}

@keyframes aurora-drift {
  0% {
    transform: translate(0, 0);
  }
  100% {
    transform: translate(20px, 20px);
  }
}

@keyframes map-rotate-dynamic {
  0% {
    transform: perspective(1000px) rotateY(-10deg);
  }
  50% {
    transform: perspective(1000px) rotateY(10deg);
  }
  100% {
    transform: perspective(1000px) rotateY(-10deg);
  }
}
@keyframes float-card {
  0%,
  100% {
    transform: translateZ(60px) translateY(0);
  }
  50% {
    transform: translateZ(60px) translateY(-10px);
  }
}
@keyframes btn-pulse {
  0%,
  100% {
    box-shadow: 0 0 20px var(--h-red-glow);
  }
  50% {
    box-shadow: 0 0 35px var(--h-red-glow);
  }
}

.marquee-container {
  overflow: hidden;
  white-space: nowrap;
  background: #02080d;
  padding: 1rem 0;
  border-top: 1px solid #0b2438;
  border-bottom: 1px solid #0b2438;
}
.marquee-content {
  display: inline-block;
  animation: marquee 20s linear infinite;
}
.marquee-item {
  display: inline-block;
  padding: 0 2rem;
  color: #5a7080;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 1px;
}
@keyframes marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.step-number {
  width: 50px;
  height: 50px;
  background: var(--h-dark);
  border: 2px solid var(--h-red);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem auto;
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--h-text);
  box-shadow: 0 0 15px var(--h-red-glow);
  position: relative;
  z-index: 2;
}
