/* public/assets/css/landing.css · Estilo Cinemático y Moderno */

:root {
  --bg-primary: #050811;
  --bg-secondary: #090e1f;
  --accent-purple: #8b5cf6;
  --accent-blue: #3b82f6;
  --accent-cyan: #06b6d4;
  --accent-emerald: #10b981;
  --text-white: #f8fafc;
  --text-muted: #64748b;
  --glass-bg: rgba(15, 23, 42, 0.45);
  --glass-border: rgba(255, 255, 255, 0.08);
}

body.landing-page-body {
  background-color: var(--bg-primary);
  color: var(--text-white);
  font-family: 'Inter', sans-serif;
  margin: 0;
  overflow-x: hidden;
  position: relative;
}

/* Fondo de cuadrícula cibernética */
.cibernetic-grid {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(255,255,255,0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.015) 1px, transparent 1px);
  background-size: 40px 40px;
  background-position: center center;
  z-index: 1;
  pointer-events: none;
}

/* Luces de neón difusas */
.neon-glow-blob {
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.18;
  pointer-events: none;
  z-index: 2;
}
.neon-purple { background: var(--accent-purple); top: -100px; right: -50px; }
.neon-blue { background: var(--accent-blue); bottom: 100px; left: -100px; }
.neon-cyan { background: var(--accent-cyan); top: 300px; left: 30%; }

/* Navbar Landing */
.landing-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 80px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 4%;
  background: rgba(5, 8, 17, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--glass-border);
  z-index: 1000;
}
.landing-nav .brand {
  font-size: 20px;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--text-white);
}
.landing-nav .menu {
  display: flex;
  gap: 32px;
}
.landing-nav .menu a {
  color: #94a3b8;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.3s;
}
.landing-nav .menu a:hover {
  color: var(--text-white);
}

/* Hero Section */
.hero-sec {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 100px 6% 60px;
  position: relative;
  z-index: 10;
  box-sizing: border-box;
}
.hero-content {
  flex: 1;
  max-width: 620px;
}
.hero-visual {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  height: 500px;
}
.hero-visual canvas {
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: 5;
}
.spline-container {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.badge-futuristic {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(139, 92, 246, 0.15);
  border: 1px solid rgba(139, 92, 246, 0.3);
  color: #c084fc;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 6px 14px;
  border-radius: 30px;
  margin-bottom: 24px;
  box-shadow: 0 0 20px rgba(139, 92, 246, 0.1);
}

.hero-title {
  font-size: 58px;
  font-weight: 800;
  line-height: 1.1;
  margin: 0 0 20px;
  letter-spacing: -0.02em;
}
.hero-title span {
  background: linear-gradient(135deg, var(--accent-purple), var(--accent-cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-subtitle {
  font-size: 18px;
  color: #94a3b8;
  line-height: 1.6;
  margin: 0 0 36px;
}

/* Botones Landing */
.btn-neon {
  background: linear-gradient(135deg, var(--accent-purple), var(--accent-blue));
  color: #fff;
  border: none;
  font-weight: 700;
  font-size: 14px;
  padding: 14px 28px;
  border-radius: 10px;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 8px 24px rgba(139, 92, 246, 0.35);
  transition: transform 0.2s, box-shadow 0.2s;
}
.btn-neon:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(139, 92, 246, 0.5);
}

.btn-glass {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-white);
  border: 1px solid var(--glass-border);
  font-weight: 600;
  font-size: 14px;
  padding: 14px 28px;
  border-radius: 10px;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: background 0.3s;
}
.btn-glass:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* Glass Card */
.glass-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: 20px;
  padding: 32px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  position: relative;
  z-index: 10;
  transition: border-color 0.3s, transform 0.3s;
}
.glass-card:hover {
  border-color: rgba(139, 92, 246, 0.3);
  transform: translateY(-4px);
}

/* Quoting Simulator */
.sim-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
.sim-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.sim-input {
  background: rgba(5, 8, 17, 0.7) !important;
  border: 1px solid var(--glass-border) !important;
  color: var(--text-white) !important;
  border-radius: 8px !important;
  padding: 12px 14px !important;
  font-size: 14px !important;
  box-sizing: border-box;
}
.sim-input:focus {
  border-color: var(--accent-purple) !important;
  outline: none;
}

/* Logos Slider (Carrusel sin fin) */
.logos-slider {
  background: rgba(9, 14, 31, 0.8);
  border-y: 1px solid var(--glass-border);
  padding: 32px 0;
  overflow: hidden;
  position: relative;
  z-index: 10;
}
.logos-track {
  display: flex;
  width: calc(240px * 16);
  animation: scrollLogos 25s linear infinite;
  gap: 60px;
}
.logos-track img, .logos-track .logo-carrier-mock {
  width: 140px;
  height: 50px;
  object-fit: contain;
  filter: grayscale(1) brightness(2.5);
  opacity: 0.6;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 18px;
  color: #fff;
  transition: opacity 0.3s;
}
.logos-track img:hover, .logos-track .logo-carrier-mock:hover {
  opacity: 1;
}

@keyframes scrollLogos {
  0% { transform: translateX(0); }
  100% { transform: translateX(calc(-240px * 8)); }
}

/* Secciones de Características */
.section-wrap {
  padding: 100px 6%;
  position: relative;
  z-index: 10;
  box-sizing: border-box;
}
.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px;
}
.section-tag {
  color: var(--accent-cyan);
  font-weight: 700;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.section-title {
  font-size: 38px;
  font-weight: 800;
  margin: 10px 0 16px;
}
.section-subtitle {
  color: #94a3b8;
  font-size: 16px;
  line-height: 1.6;
}

/* Cards Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
}
.feature-card {
  text-align: left;
}
.feature-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: rgba(6, 182, 212, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 20px;
  border: 1px solid rgba(6, 182, 212, 0.2);
}

/* Parallax Spacer */
.parallax-spacer {
  height: 380px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  z-index: 10;
  border-y: 1px solid var(--glass-border);
}
.parallax-bg {
  position: absolute;
  inset: -50px 0;
  background: 
    radial-gradient(circle at 80% 20%, rgba(139, 92, 246, 0.2) 0%, transparent 50%),
    radial-gradient(circle at 10% 80%, rgba(6, 182, 212, 0.2) 0%, transparent 50%),
    var(--bg-secondary);
  z-index: 1;
  transform: translateY(0px); /* Ajustado por JS Parallax */
}
.parallax-content {
  position: relative;
  z-index: 5;
  text-align: center;
  padding: 0 20px;
}

/* Footer Landing */
.landing-footer {
  background: #02040a;
  border-top: 1px solid var(--glass-border);
  padding: 60px 6% 30px;
  position: relative;
  z-index: 10;
  color: #94a3b8;
  font-size: 14px;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}
.footer-col h5 {
  color: var(--text-white);
  font-size: 15px;
  font-weight: 700;
  margin: 0 0 16px 0;
}
.footer-col a {
  color: #64748b;
  text-decoration: none;
  display: block;
  margin-bottom: 10px;
  transition: color 0.3s;
}
.footer-col a:hover {
  color: var(--text-white);
}

/* Media Queries */
@media (max-width: 900px) {
  .hero-sec {
    flex-direction: column;
    padding-top: 120px;
    text-align: center;
  }
  .hero-content {
    margin-bottom: 50px;
  }
  .hero-title {
    font-size: 42px;
  }
  .landing-nav .menu {
    display: none;
  }
  .hero-visual {
    height: 350px;
    width: 100%;
  }
}
