.landing-body {
  background: #0b1020;
  overflow-x: hidden;
}

.landing-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  background: linear-gradient(135deg, #0b1020 0%, #1a237e 45%, #4a148c 100%);
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.45;
  animation: float 8s ease-in-out infinite;
}

.orb-1 { width: 320px; height: 320px; background: #42a5f5; top: 10%; left: 5%; }
.orb-2 { width: 280px; height: 280px; background: #ab47bc; bottom: 15%; right: 10%; animation-delay: -3s; }
.orb-3 { width: 200px; height: 200px; background: #26c6da; top: 50%; left: 45%; animation-delay: -5s; }

@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(20px, -30px) scale(1.05); }
}

.landing-nav, .hero, .features, .timeline-section, .landing-footer {
  position: relative;
  z-index: 1;
}

.logo-animated {
  font-size: 1.25rem;
  animation: pulse-logo 3s ease-in-out infinite;
}

.pe-logo {
  object-fit: contain;
  display: inline-block;
  vertical-align: middle;
}

.pe-logo--brand {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 4px 16px rgba(14, 165, 233, 0.35);
  flex-shrink: 0;
}

.pe-logo--nav {
  border-radius: 50%;
  object-fit: cover;
}

.pe-logo--login {
  border-radius: 50%;
  object-fit: cover;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.pe-logo--badge {
  border-radius: 50%;
  object-fit: cover;
}

@keyframes pulse-logo {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.85; transform: scale(1.02); }
}

.hero-title {
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 800;
  line-height: 1.15;
}

.hero-kicker {
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.8rem;
  opacity: 0.85;
}

.hero-sub {
  max-width: 640px;
  opacity: 0.9;
  font-size: 1.1rem;
}

.gradient-text {
  background: linear-gradient(90deg, #81d4fa, #ce93d8, #fff59d);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.feature-card {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 1rem;
  padding: 1.5rem;
  color: #fff;
  height: 100%;
  transition: transform 0.3s, box-shadow 0.3s;
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.25);
}

.feature-icon {
  font-size: 2rem;
  margin-bottom: 0.75rem;
  color: #90caf9;
}

.timeline {
  max-width: 520px;
  margin: 0 auto;
}

.timeline-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 1.25rem;
  color: #fff;
}

.timeline-dot {
  flex-shrink: 0;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: linear-gradient(135deg, #42a5f5, #ab47bc);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
}

.timeline-content {
  background: rgba(255, 255, 255, 0.06);
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  flex: 1;
}

.animate-fade-up {
  opacity: 0;
  animation: fadeUp 0.8s ease forwards;
}

.animate-slide-up {
  opacity: 0;
  animation: fadeUp 0.7s ease forwards;
}

.animate-timeline {
  opacity: 0;
  animation: fadeUp 0.6s ease forwards;
  animation-delay: calc(var(--i) * 0.2s + 0.3s);
}

.delay-1 { animation-delay: 0.15s; }
.delay-2 { animation-delay: 0.3s; }
.delay-3 { animation-delay: 0.45s; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

.feature-card.in-view {
  outline: 2px solid rgba(144, 202, 249, 0.5);
}

/* Responsive ajustes landing */
@media (max-width: 991.98px) {
  .landing-nav {
    gap: 0.75rem;
  }

  .landing-nav-actions {
    flex-wrap: wrap;
    justify-content: flex-end;
  }

  .hero {
    padding-top: 2.25rem !important;
  }

  .hero-cta {
    gap: 0.75rem !important;
  }
}

@media (max-width: 575.98px) {
  .landing-nav {
    flex-direction: column;
    align-items: stretch !important;
  }

  .landing-nav .logo-animated {
    justify-content: center;
    text-align: center;
  }

  .landing-nav-actions {
    justify-content: center;
  }

  .landing-nav-actions .btn {
    flex: 1 1 140px;
  }

  .hero-sub {
    font-size: 1rem;
  }

  .hero-cta {
    flex-direction: column;
    align-items: stretch !important;
    width: min(100%, 340px);
    margin: 0 auto;
  }

  .hero-cta .btn {
    width: 100%;
  }
}
