/* Reset y configuración general */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: #0f172a;
  color: #e2e8f0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
  line-height: 1.6;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Navbar profesional con logo transparente */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.2rem 2rem;
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(15px);
  border-bottom: 1px solid rgba(51, 65, 85, 0.5);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

/* Contenedor del logo con efecto de brillo */
.nav-logo {
  position: relative;
  padding: 0.5rem;
}

/* Efecto de fondo sutil para el logo */
.nav-logo::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: calc(100% + 12px);
  height: calc(100% + 12px);
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(139, 92, 246, 0.1));
  border-radius: 8px;
  z-index: -1;
  opacity: 0;
  transition: opacity 0.3s;
}

.nav-logo:hover::before {
  opacity: 1;
}

.nav-logo img {
  height: 45px;
  max-width: 200px;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.3));
  transition: all 0.3s ease;
  object-fit: contain;
}

/* Efecto hover para el logo */
.nav-logo:hover img {
  transform: scale(1.05);
  filter: drop-shadow(0 4px 12px rgba(59, 130, 246, 0.3));
}

.nav-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
}

.nav-links a {
  color: #cbd5e1;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  padding: 0.5rem 0;
  position: relative;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: #60a5fa;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #3b82f6, #8b5cf6);
  transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-links a:hover::after {
  width: 100%;
}

/* Hero - Inicio mejorado */
.hero {
  padding: 6rem 1.5rem 5rem;
  text-align: center;
  background: radial-gradient(circle at 50% 0%, #1e293b 0%, #0f172a 100%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, #3b82f6, #8b5cf6, transparent);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
}

.hero h1 {
  font-size: 3.2rem;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, #60a5fa 0%, #8b5cf6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.hero p {
  font-size: 1.25rem;
  max-width: 700px;
  margin: 0 auto 2.5rem;
  color: #94a3b8;
  line-height: 1.8;
}

.download-buttons {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 32px;
  font-size: 1.1rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 8px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  min-width: 200px;
  border: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.6s;
}

.btn:hover::before {
  left: 100%;
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(59, 130, 246, 0.3);
}

.btn:active {
  transform: translateY(-1px);
}

.btn-windows {
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  color: white;
}

.btn-linux {
  background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
  color: white;
}

.note {
  color: #94a3b8;
  font-size: 0.95rem;
  max-width: 600px;
  margin: 2rem auto 0;
  padding: 1rem;
  background: rgba(30, 41, 59, 0.5);
  border-radius: 6px;
  border-left: 3px solid #3b82f6;
}

/* Secciones comunes */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
}

section {
  padding: 5rem 0;
  position: relative;
}

section h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 3rem;
  background: linear-gradient(135deg, #60a5fa 0%, #8b5cf6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 700;
}

section p {
  text-align: center;
  font-size: 1.15rem;
  color: #cbd5e1;
  margin-bottom: 2rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Producto - Grid de características mejorado */
.product-section {
  background: linear-gradient(to bottom, #0f172a, #1e293b);
  border-top: 1px solid rgba(51, 65, 85, 0.5);
  border-bottom: 1px solid rgba(51, 65, 85, 0.5);
}

/* Contenedor para imágenes del producto */
.image-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin: 3rem 0;
  padding: 1rem;
}

.image-container img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  border: 1px solid #475569;
  transition: all 0.3s ease;
}

.image-container img:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(59, 130, 246, 0.2);
  border-color: #3b82f6;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.feature-card {
  background: linear-gradient(145deg, #1e293b, #0f172a);
  padding: 2rem;
  border-radius: 12px;
  text-align: center;
  border: 1px solid #334155;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #3b82f6, #8b5cf6);
}

.feature-card:hover {
  transform: translateY(-8px);
  border-color: #3b82f6;
  box-shadow: 0 15px 35px rgba(59, 130, 246, 0.2);
}

.feature-card h3 {
  color: #60a5fa;
  margin-bottom: 1rem;
  font-size: 1.3rem;
}

.feature-card p {
  color: #94a3b8;
  font-size: 1rem;
  margin: 0;
}

/* Sección Empresa */
.company-section {
  background: #0f172a;
}

/* Pie de página mejorado */
footer {
  text-align: center;
  padding: 3rem 1.5rem;
  background: rgba(15, 23, 42, 0.95);
  color: #94a3b8;
  font-size: 0.95rem;
  border-top: 1px solid rgba(51, 65, 85, 0.5);
  position: relative;
}

footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, #3b82f6, #8b5cf6, transparent);
}

footer p {
  margin-bottom: 1rem;
}

footer a {
  color: #60a5fa;
  text-decoration: none;
  margin: 0 0.5rem;
  font-weight: 500;
  transition: color 0.3s;
}

footer a:hover {
  color: #8b5cf6;
  text-decoration: underline;
}

/* Logo en el footer */
.footer-logo {
  margin-bottom: 1.5rem;
  opacity: 0.8;
  transition: opacity 0.3s;
}

.footer-logo:hover {
  opacity: 1;
}

.footer-logo img {
  height: 40px;
  margin: 0 auto;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

/* Responsive mejorado */
@media (max-width: 768px) {
  .navbar {
    flex-direction: column;
    gap: 1.2rem;
    padding: 1rem;
  }

  .nav-logo {
    padding: 0.3rem;
  }

  .nav-logo img {
    height: 40px;
  }

  .nav-links {
    gap: 1.5rem;
    flex-wrap: wrap;
    justify-content: center;
  }

  .hero {
    padding: 4rem 1rem;
  }

  .hero h1 {
    font-size: 2.2rem;
  }

  .hero p {
    font-size: 1.1rem;
  }

  .download-buttons {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }

  .btn {
    width: 100%;
    max-width: 300px;
    min-width: auto;
  }

  .container {
    padding: 0 1.5rem;
  }

  section {
    padding: 3rem 0;
  }

  section h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
  }

  .features-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .image-container {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .image-container img {
    height: 200px;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.8rem;
  }

  .nav-links {
    gap: 1rem;
  }

  .nav-links a {
    font-size: 0.9rem;
  }

  .nav-logo img {
    height: 35px;
  }
}

/* Animaciones suaves */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-content, .feature-card, .container {
  animation: fadeInUp 0.6s ease-out forwards;
}

/* Logo animation */
@keyframes logoGlow {
  0%, 100% {
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.3));
  }
  50% {
    filter: drop-shadow(0 2px 12px rgba(59, 130, 246, 0.4));
  }
}

.nav-logo img {
  animation: logoGlow 3s ease-in-out infinite;
}
