/* RESET & VARIABLES AZUL NEÓN */
:root {
  --bg-dark: #060913;
  --card-bg: rgba(15, 23, 42, 0.65);
  --card-border: rgba(0, 242, 254, 0.15);
  --card-border-glow: rgba(0, 242, 254, 0.5);
  
  --primary-neon: #00f2fe;
  --secondary-neon: #4facfe;
  --accent-gradient: linear-gradient(135deg, #00f2fe 0%, #7000ff 100%);
  
  --text-primary: #ffffff;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  
  --font-main: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 8px;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-family: var(--font-main);
  background-color: var(--bg-dark);
  color: var(--text-primary);
}

body {
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
  line-height: 1.6;
}

/* ESTILOS DE FONDO */
.bg-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.bg-gradient {
  position: absolute;
  top: -20%;
  left: -20%;
  width: 140%;
  height: 140%;
  background: radial-gradient(circle at 70% 30%, #0c1e3e 0%, #080f23 40%, #060913 80%);
  opacity: 0.95;
}

.bg-circle-overlay {
  position: absolute;
  top: 10%;
  right: -10%;
  width: 800px;
  height: 800px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 242, 254, 0.12) 0%, transparent 70%);
  border: 1px solid rgba(0, 242, 254, 0.05);
}

#grid-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.2;
}

/* NAV TRANSPARENTE */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  padding: 1.5rem 2rem;
  background: transparent;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0, 242, 254, 0.1);
  transition: all 0.3s ease;
}

.nav-container {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: var(--text-primary);
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: 1px;
}

.logo-icon {
  width: 24px;
  height: 24px;
  color: var(--primary-neon);
  filter: drop-shadow(0 0 8px var(--primary-neon));
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.nav-link {
  text-decoration: none;
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.3s ease;
}

.nav-link:hover, .nav-link.active {
  color: var(--primary-neon);
  text-shadow: 0 0 10px rgba(0, 242, 254, 0.6);
}

.btn-contact {
  text-decoration: none;
  color: var(--text-primary);
  font-size: 0.88rem;
  font-weight: 600;
  padding: 0.6rem 1.4rem;
  border-radius: 50px;
  background: rgba(0, 242, 254, 0.08);
  border: 1px solid var(--card-border);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  transition: all 0.3s ease;
}

.btn-contact:hover {
  background: rgba(0, 242, 254, 0.2);
  border-color: var(--primary-neon);
  box-shadow: 0 0 15px rgba(0, 242, 254, 0.4);
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
}

.mobile-toggle span {
  width: 22px;
  height: 2px;
  background: var(--text-primary);
}

/* HERO SECTION */
.hero {
  position: relative;
  min-height: 90vh;
  max-width: 1280px;
  margin: 0 auto;
  padding: 8rem 2rem 4rem;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  align-items: center;
  gap: 2rem;
}

.hero-title {
  font-size: clamp(2.5rem, 4.5vw, 4rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
}

.highlight-muted {
  color: var(--text-secondary);
}

.hero-description {
  font-size: 1.05rem;
  color: var(--text-secondary);
  margin-bottom: 2.5rem;
  max-width: 580px;
}

.btn-demo {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  padding: 0.5rem 0.6rem 0.5rem 1.8rem;
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid var(--card-border);
  border-radius: 50px;
  color: var(--text-primary);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  transition: all 0.3s ease;
}

.btn-demo .icon-circle {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--accent-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  box-shadow: 0 0 20px rgba(0, 242, 254, 0.5);
}

.btn-demo .icon-circle svg {
  width: 18px;
  height: 18px;
}

.btn-demo:hover {
  border-color: var(--primary-neon);
  box-shadow: 0 0 25px rgba(0, 242, 254, 0.3);
  transform: translateY(-2px);
}

/* SLIDESHOW CIBERNÉTICO HERO */
.hero-visual {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.tech-slideshow {
  position: relative;
  width: 100%;
  max-width: 500px;
  height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tech-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transform: scale(0.9) translateY(15px);
  transition: all 0.7s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.tech-slide.active {
  opacity: 1;
  transform: scale(1) translateY(0);
  pointer-events: auto;
  animation: levitate 5s ease-in-out infinite alternate;
}

.tech-svg {
  width: 100%;
  height: 280px;
  filter: drop-shadow(0 0 20px rgba(0, 242, 254, 0.25));
}

.slide-caption {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--primary-neon);
  text-shadow: 0 0 10px rgba(0, 242, 254, 0.6);
  margin-top: 1rem;
  background: rgba(15, 23, 42, 0.7);
  padding: 0.4rem 1rem;
  border-radius: 20px;
  border: 1px solid rgba(0, 242, 254, 0.2);
}

.slide-dots {
  display: flex;
  gap: 0.8rem;
  margin-top: 1rem;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  cursor: pointer;
  transition: all 0.3s ease;
}

.dot.active {
  background: var(--primary-neon);
  box-shadow: 0 0 10px var(--primary-neon);
  width: 28px;
  border-radius: 10px;
}

@keyframes levitate {
  0% { transform: translateY(0px); }
  100% { transform: translateY(-12px); }
}

/* CENTRADO Y ESTILOS DEL CATÁLOGOS */
.section-wide {
  max-width: 100% !important;
  width: 100%;
  padding-left: 1rem;
  padding-right: 1rem;
}

#catalog .section-header {
  text-align: center;
  width: 100%;
  margin-bottom: 2rem;
}

.catalog-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.catalog-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  width: 100%;
  max-width: 1200px;
}

.magazine-viewport {
  position: relative;
  width: clamp(320px, 75vw, 900px);
  aspect-ratio: 11 / 7.5;
  background: rgba(10, 17, 40, 0.8);
  border: 1px solid rgba(0, 242, 254, 0.3);
  border-radius: var(--radius-md);
  box-shadow: 0 0 35px rgba(0, 0, 0, 0.7), 0 0 15px rgba(0, 242, 254, 0.15);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.magazine-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transform: scale(0.96);
  transition: opacity 0.5s ease, transform 0.5s ease;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.magazine-slide.active {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
}

.magazine-slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: var(--radius-md);
}

.btn-catalog-nav {
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid var(--card-border);
  color: var(--primary-neon);
  padding: 0.9rem 1.6rem;
  border-radius: 50px;
  font-family: var(--font-main);
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.3s ease;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  z-index: 10;
}

.btn-catalog-nav:hover {
  background: rgba(0, 242, 254, 0.2);
  border-color: var(--primary-neon);
  box-shadow: 0 0 20px rgba(0, 242, 254, 0.4);
  transform: scale(1.05);
}

.page-indicator {
  margin-top: 1.5rem;
  font-size: 0.95rem;
  color: var(--text-secondary);
  font-weight: 600;
  text-align: center;
}

/* SECCIÓN DE MISIÓN Y GENERALES */
.mission-section {
  max-width: 1280px;
  margin: 0 auto 5rem;
  padding: 0 2rem;
}

.mission-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 2.5rem 3rem;
  text-align: center;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-secondary);
  margin-bottom: 1.2rem;
  font-weight: 600;
}

.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary-neon);
  box-shadow: 0 0 10px var(--primary-neon);
}

.mission-text {
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  color: #e2e8f0;
  font-weight: 500;
  line-height: 1.5;
  max-width: 1000px;
  margin: 0 auto;
}

.orange-link {
  color: var(--primary-neon);
  text-decoration: underline;
  text-underline-offset: 4px;
  font-weight: 600;
  text-shadow: 0 0 8px rgba(0, 242, 254, 0.4);
}

/* TARJETAS Y SECCIONES */
.section {
  max-width: 1280px;
  margin: 0 auto 6rem;
  padding: 0 2rem;
}

.section-tag {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--primary-neon);
  display: block;
  margin-bottom: 0.4rem;
}

.section-title {
  font-size: 2.2rem;
  font-weight: 700;
}

.text-orange { 
  color: var(--primary-neon); 
  text-shadow: 0 0 12px rgba(0, 242, 254, 0.4);
}

.text-center {
  text-align: center;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.8rem;
  margin-top: 2rem;
}

.card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
  position: relative;
}

.card:hover {
  border-color: var(--card-border-glow);
  box-shadow: 0 0 20px rgba(0, 242, 254, 0.2);
  transform: translateY(-5px);
}

.product-card.featured {
  border-color: rgba(0, 242, 254, 0.4);
}

.card-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--primary-neon);
  color: #060913;
  font-size: 0.68rem;
  font-weight: 800;
  padding: 0.25rem 0.6rem;
  border-radius: 4px;
  box-shadow: 0 0 10px rgba(0, 242, 254, 0.5);
}

.card-image {
  height: 180px;
  border-radius: 10px;
  background: rgba(10, 17, 40, 0.8);
  margin-bottom: 1.2rem;
}

.img-placeholder {
  width: 100%;
  height: 100%;
}

.drone-img { background: radial-gradient(circle, #0f2744 0%, #060913 100%); }
.hardware-img { background: radial-gradient(circle, #123b5c 0%, #060913 100%); }
.software-img { background: radial-gradient(circle, #1e293b 0%, #060913 100%); }

.card-body h3 { font-size: 1.2rem; margin-bottom: 0.6rem; }
.card-body p { color: var(--text-secondary); font-size: 0.9rem; margin-bottom: 1.2rem; }
.card-btn { color: var(--primary-neon); text-decoration: none; font-weight: 600; font-size: 0.88rem; }

/* EQUIPO */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.team-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  padding: 1.5rem 1rem;
  text-align: center;
}

.team-card.active-card {
  border-color: var(--primary-neon);
  box-shadow: 0 0 15px rgba(0, 242, 254, 0.25);
}

.avatar-wrapper {
  width: 80px;
  height: 80px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  padding: 3px;
  background: rgba(255, 255, 255, 0.1);
}

.team-card.active-card .avatar-wrapper {
  background: var(--accent-gradient);
}

.avatar {
  width: 100%;
  height: 100%;
  border-radius: 50%;
}

.avatar-1 { background: radial-gradient(circle, #334155, #0f172a); }
.avatar-2 { background: radial-gradient(circle, #1e293b, #0f172a); }
.avatar-3 { background: radial-gradient(circle, #00f2fe, #0369a1); }
.avatar-4 { background: radial-gradient(circle, #475569, #0f172a); }
.avatar-5 { background: radial-gradient(circle, #64748b, #0f172a); }

/* CONTACTO */
.contact-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 3.5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.contact-form { display: flex; flex-direction: column; gap: 1.2rem; }

.form-group input, .form-group textarea {
  width: 100%;
  padding: 0.9rem 1.2rem;
  background: rgba(6, 9, 19, 0.8);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-sm);
  color: #fff;
  font-family: var(--font-main);
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.3s;
}

.form-group input:focus, .form-group textarea:focus {
  border-color: var(--primary-neon);
  box-shadow: 0 0 10px rgba(0, 242, 254, 0.3);
}

.btn-submit {
  padding: 0.9rem;
  border-radius: 50px;
  background: var(--accent-gradient);
  color: #fff;
  font-weight: 700;
  border: none;
  cursor: pointer;
  box-shadow: 0 0 15px rgba(0, 242, 254, 0.4);
}

/* FOOTER */
.footer {
  border-top: 1px solid rgba(0, 242, 254, 0.1);
  padding: 2.5rem 2rem;
  background: #04060d;
}

.footer-container {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-links { display: flex; gap: 2rem; }
.footer-links a { color: var(--text-muted); text-decoration: none; font-size: 0.85rem; }
.footer-links a:hover { color: var(--primary-neon); }
.footer-copy { color: var(--text-muted); font-size: 0.82rem; }

@media (max-width: 992px) {
  .hero, .contact-card { grid-template-columns: 1fr; text-align: center; }
  .btn-demo { margin: 0 auto; }
}

@media (max-width: 768px) {
  .nav-menu { display: none; }
  .mobile-toggle { display: flex; }
  .catalog-container { flex-direction: column; gap: 1rem; }
  .btn-catalog-nav { width: 100%; max-width: 200px; }
}

/* ESTILOS DE LA LISTA DE CONTACTO */
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  margin-top: 2rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  text-decoration: none;
  background: rgba(6, 9, 19, 0.6);
  border: 1px solid var(--card-border);
  padding: 0.8rem 1.2rem;
  border-radius: var(--radius-sm);
  transition: all 0.3s ease;
}

.contact-item:hover {
  border-color: var(--primary-neon);
  box-shadow: 0 0 15px rgba(0, 242, 254, 0.25);
  transform: translateX(5px);
}

.contact-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(0, 242, 254, 0.1);
  border: 1px solid rgba(0, 242, 254, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-neon);
  flex-shrink: 0;
}

.contact-icon svg {
  width: 20px;
  height: 20px;
}

.contact-label {
  display: block;
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.contact-value {
  display: block;
  font-size: 0.95rem;
  color: var(--text-primary);
  font-weight: 700;
}