/* Paleta: blanco, grises y negro */
:root {
  --color-bg: #0d0d0d;
  --color-gray-dark: #1a1a1a;
  --color-gray-mid: #2a2a2a;
  --color-gray-light: #ccc;
  --color-white: #ffffff;
  --accent: #f2f2f2;
  --whatsapp-green: #25D366;
}

/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: var(--color-bg);
  color: var(--color-white);
  font-family: 'Segoe UI', sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

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

/* Animaciones */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes popIn {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes slideUp {
  from { transform: translateY(40px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.animate-fade-in { animation: fadeIn 1s ease forwards; }
.animate-fade-in-delay { animation: fadeIn 1.4s ease forwards; }
.animate-pop-in { animation: popIn 0.5s ease forwards; }
.animate-slide-up { animation: slideUp 0.8s ease forwards; }

/* Header */
.hero {
  text-align: center;
  padding: 80px 20px;
  background: var(--color-bg);
}
.hero .logo {
  width: 300px; /* o poné 200px si querés más impacto */
  margin: 0 auto 25px;
  transition: transform 0.3s ease;
}
.hero .logo:hover {
  transform: scale(1.05);
}

.title {
  font-size: 3rem;
  margin-bottom: 10px;
  color: var(--color-white);
}
.subtitle {
  font-size: 1.2rem;
  color: var(--color-gray-light);
  margin-bottom: 30px;
}
.cta-button {
  display: inline-block;
  padding: 14px 28px;
  background: var(--color-white);
  color: var(--color-bg);
  font-weight: bold;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.3s ease;
  animation: popIn 0.5s ease forwards;
}
.cta-button:hover {
  background: var(--color-bg);
  color: var(--color-white);
  transform: scale(1.05);
  border: 1px solid var(--color-white);
}
.cta-button.grande {
  font-size: 1.2rem;
  margin-top: 25px;
}

/* Features */
.features {
  padding: 60px 20px;
  background: var(--color-gray-dark);
  text-align: center;
}
.features h2 {
  font-size: 2rem;
  margin-bottom: 40px;
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 30px;
  max-width: 1100px;
  margin: auto;
}
.feature {
  background: var(--color-gray-mid);
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.3);
  transition: transform 0.3s ease;
  animation: fadeIn 1s ease forwards;
}
.feature:hover {
  transform: translateY(-5px);
}
.feature h3 {
  margin-bottom: 10px;
  color: var(--accent);
}
.feature p {
  color: var(--color-gray-light);
}

/* Plans */
/* === Animaciones mejoradas para los planes === */

@keyframes zoomInFade {
  from {
    opacity: 0;
    transform: scale(0.9) translateY(30px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

@keyframes goldenGlow {
  0%   { box-shadow: 0 0 8px rgba(255, 215, 0, 0.3); }
  50%  { box-shadow: 0 0 20px rgba(255, 215, 0, 0.6); }
  100% { box-shadow: 0 0 8px rgba(255, 215, 0, 0.3); }
}
.plan h2{
    text-align: center;
    
    
}
.plan {
  border-radius: 10px;
  padding: 25px;
  transition: transform 0.3s ease, box-shadow 0.4s ease;
  animation: zoomInFade 0.8s ease forwards;
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
}

/* Hover general para todos los planes */
.plan:hover {
  transform: scale(1.03);
  box-shadow: 0 8px 20px rgba(255, 255, 255, 0.1);
}

/* Destellos suaves en hover */
.plan::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.04) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}
.plan:hover::after {
  opacity: 1;
}

/* Colores personalizados por plan */
.plan.prueba {
  background: #331111;
  border-color: #ff9999;
}
.plan.prueba .price {
  color: #ff9999;
}

.plan.basico {
  background: #222;
  border-color: #666;
}
.plan.basico .price {
  color: #bbb;
}

.plan.premium {
  background: #330000;
  border-color: #cc0000;
}
.plan.premium .price {
  color: #ff4d4d;
}

.plan.superpro {
  background: #332200;
  border-color: #ffd700;
  color: #fff;
  animation: goldenGlow 3s ease-in-out infinite;
}
.plan.superpro .price {
  color: #ffd700;
}



/* CTA Final */
.cta-final {
  background: var(--color-gray-dark);
  text-align: center;
  padding: 60px 20px;
}
.cta-final h2 {
  font-size: 1.8rem;
  margin-bottom: 20px;
}

/* Footer */
.footer {
  background: #0a0a0a;
  padding: 20px;
  text-align: center;
  font-size: 0.9rem;
  color: #888;
}

.access-section {
  background-color: #111;
  padding: 60px 20px;
  text-align: center;
}

.access-section h2 {
  color: #fff;
  margin-bottom: 30px;
  font-size: 2rem;
}

.access-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.access-buttons .cta-button.acceso {
  background: linear-gradient(90deg, #1cb5e0, #000851);
  padding: 14px 28px;
  border-radius: 12px;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  transition: transform 0.3s ease;
}

.access-buttons .cta-button.acceso:hover {
  transform: scale(1.05);
}

/* WhatsApp Bubble original */
.whatsapp-float::after {
  background: var(--whatsapp-green);
  color: #fff;
}

/* Responsive ajustes */
@media (max-width: 768px) {
  .title { font-size: 2.4rem; }
  .subtitle { font-size: 1rem; }
  .cta-button { padding: 12px 20px; font-size: 0.95rem; }
}
/* —————————————————————————————————————————— */
/* Contenedor para el título + botón hamburguesa */
/* —————————————————————————————————————————— */
.access-container {
  position: fixed;
  top: 15px;
  right: 15px;
  display: flex;          /* fila: icono y texto al lado */
  align-items: center;    /* centrados verticalmente */
  gap: 8px;               /* espacio entre texto e icono */
  z-index: 1002;
}

/* —————————————————————————————————————————— */
/* Estilo del título (“Accesos al Sistema”) */
/* —————————————————————————————————————————— */
.access-title {
  color: #ffffff;         /* blanco */
  font-size: 18px;        /* un poco más grande */
  font-weight: 600;
  line-height: 1;
  user-select: none;
}

/* —————————————————————————————————————————— */
/* Ajustes de tamaño para la hamburguesa */
/* —————————————————————————————————————————— */
.menu-toggle {
  /* anulamos posicionamiento previo */
  position: static !important;
  margin: 0;
  /* nuevo tamaño */
  width: 36px;
  height: 36px;
  padding: 6px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
  background: none;
  border-radius: 6px;
  transition: background 0.3s ease;
}

.menu-toggle:hover {
  background: rgba(255,255,255,0.1);
}

.menu-toggle div {
  width: 100%;
  height: 4px;
  background-color: white;
  transition: background 0.3s ease;
}

/* invertimos color cuando está abierto */
.menu-toggle.open div {
  background-color: white;
}
.access-container {
  background: rgba(255,255,255,0.1);
  border-radius: 8px;
  padding: 4px 10px;
  transition: background 0.3s ease;
}

.access-container:hover {
  background: rgba(255,255,255,0.2);
}
.access-container {
  gap: 6px;           /* un pelín menos separación */
  top: 12px;          /* baja un poco para alinear mejor con el logo */
}

.access-title {
  font-size: 16px;    /* bajarlo de 18px a 16px */
}

.menu-toggle {
  width: 32px;
  height: 32px;
  padding: 4px;
}

.menu-toggle div {
  height: 3px;        /* barras algo más finas */
}


