/* ===============================
   LANDING.CSS CON NAVBAR AISLADO
=============================== */

/* =========================
   GLOBAL RESET PARA LANDING
========================= */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  width: 100%;
  overflow-x: hidden;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

/* =========================
   HEADER & NAVBAR
========================= */
header.landing-navbar {
  position: sticky;
  top: 0;
  width: 100%;
  background: rgba(15,15,15,0.95);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  z-index: 1000;
}

.landing-navbar-inner {
  max-width: 1200px;
  margin: 0 auto;
  height: 72px;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.landing-navbar-logo {
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--text);
  cursor: pointer;
  white-space: nowrap;
}

.landing-navbar-links {
  display: flex;
  gap: 2rem;
  margin-left: auto;
  align-items: center;
}

.landing-navbar-links a {
  color: var(--muted);
  font-size: 0.95rem;
  text-decoration: none;
  transition: color 0.2s ease;
}

.landing-navbar-links a:hover {
  color: var(--accent);
}

.landing-navbar-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.landing-navbar-actions .btn {
  padding: 0.55rem 1.2rem;
  font-size: 0.85rem;
  border-radius: 8px;
}

.landing-navbar-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.8rem;
  color: var(--text);
  cursor: pointer;
}

/* =========================
   MOBILE MENU
========================= */
.landing-navbar-mobile {
  position: fixed;
  top: 72px;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(15,15,15,0.98);
  backdrop-filter: blur(16px);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  padding: 2rem;
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.35s ease, opacity 0.25s ease;
}

.landing-navbar-mobile.open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.landing-navbar-close {
  background: none;
  border: none;
  color: var(--text);
  font-size: 2rem;
  align-self: flex-end;
  cursor: pointer;
}

.landing-navbar-mobile-links {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.8rem;
}

.landing-navbar-mobile-links a,
.landing-navbar-mobile-links .btn {
  font-size: 1.25rem;
  color: var(--text);
  text-decoration: none;
}

/* =========================
   RESPONSIVE HEADER
========================= */
@media (max-width: 900px) {
  .landing-navbar-links {
    display: none;
  }

  .landing-navbar-toggle {
    display: block;
    margin-left: auto;
  }

  .landing-navbar-actions {
    gap: 0.8rem;
  }
}

/* =========================
   HERO
========================= */
.hero-landing {
  min-height: calc(100vh - 72px);
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  padding: 2.5rem 2rem 4rem;
  gap: 3rem;
}

.hero-content {
  transform: translateY(-20px);
}

.hero-content h1 {
  font-size: clamp(2.6rem, 5vw, 3.6rem);
  line-height: 1.05;
  margin-bottom: 1rem;
}

.hero-content span {
  color: var(--accent);
}

.hero-actions {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

/* =========================
   HERO VISUAL
========================= */
.hero-visual {
  position: relative;
  height: 360px;
}

.floating-card {
  position: absolute;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 0.9rem 1.6rem;
  font-size: 0.85rem;
  white-space: nowrap;
  box-shadow: 0 10px 30px rgba(0,0,0,0.35);
  animation: float 7s ease-in-out infinite;
}

.hero-visual .floating-card:nth-child(1) { top: 0%; left: 5%; }
.hero-visual .floating-card:nth-child(2) { top: 10%; right: 5%; animation-duration: 8s; }
.hero-visual .floating-card:nth-child(3) { top: 45%; left: 15%; animation-duration: 9s; }
.hero-visual .floating-card:nth-child(4) { bottom: 10%; right: 10%; animation-duration: 6.5s; }
.hero-visual .floating-card:nth-child(5) { top: 60%; right: 35%; animation-duration: 10s; }

@keyframes float {
  50% { transform: translateY(-14px); }
}

/* =========================
   REVEAL
========================= */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: .6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* =========================
   CTA FINAL
========================= */
.cta-final {
  text-align: center;
  padding: 6rem 2rem;
}

.cta-final .btn {
margin-top: 2rem;
}

/* =========================
   RESPONSIVE HERO
========================= */
@media (max-width: 900px) {
  .hero-landing {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-visual {
    height: 260px;
    margin-top: 3rem;
  }

  .hero-visual .floating-card:nth-child(4),
  .hero-visual .floating-card:nth-child(5) {
    top: auto;
    bottom: auto;
    left: 10%;
  }
}

/* =========================
   BOTÓN SOFT (SOLUCIONES)
========================= */
.btn-soft {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;

  padding: 0.45rem 0.9rem;
  font-size: 0.85rem;
  font-weight: 500;

  background: transparent;
  color: var(--accent);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 999px;

  text-decoration: none;
  transition: all 0.2s ease;
}

.btn-soft:hover {
  background: rgba(255,255,255,0.06);
  border-color: var(--accent);
  transform: translateY(-1px);
}

#soluciones .card p {
  margin-bottom: 1rem;
}

/* =========================
   OVERRIDE REAL BOTÓN SOLUCIONES
========================= */
#soluciones .btn-soft {
  background: rgba(77, 163, 255, 0.18);
  color: var(--text);
  border: 1px solid rgba(77, 163, 255, 0.45);
}

#soluciones .btn-soft:hover {
  background: rgba(77, 163, 255, 0.28);
}

