/* ===== Reset y tipografía ===== */
body {
  margin: 0;
  padding: 0;
  font-family: 'Segoe UI', sans-serif;
  background: #f9f9f9;
  color: #333;
}

section {
  padding: 60px 20px;
  text-align: center;
}

h1, h2, h3 {
  margin-bottom: 20px;
}

#main-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 20px 0;
  background: transparent;
  box-shadow: none;
  transition: background 0.3s ease, box-shadow 0.3s ease;
  z-index: 1000;
  text-align: center;
}

#main-header.scrolled {
  background: rgba(255, 255, 255, 0.809);
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}


.header-content {
  display: inline-block;
  text-align: center;
}

.logo {
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 10px;
}

nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  justify-content: center;
  gap: 30px;
}

nav ul li a {
  text-decoration: none;
  color: #333;
}



.logo {
  font-size: 1.5rem;
  font-weight: bold;
  color: #007bff;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
  margin: 0;
}

nav ul li a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  transition: color 0.3s ease;
}

nav ul li a:hover {
  color: #007bff;
}
/* ===== hero ===== */
#hero {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  color: white;
  padding: 2rem;
  background: linear-gradient(-45deg, #007bff, #00cc99, #ff4d88, #007bff);
  background-size: 600% 600%;
  animation: gradientFlow 15s ease infinite;
}

.hero-background {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background-image: url('../assets/img/fondo-hero.png'); /* Asegúrate de que esta imagen exista */
  background-size: cover;
  background-position: center;
  z-index: 1;
}
.hero-overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: linear-gradient(-45deg, rgba(0,123,255,0.5), rgba(0,204,153,0.5), rgba(255,77,136,0.5), rgba(0,123,255,0.5));
  background-size: 600% 600%;
  animation: gradientFlow 15s ease infinite;
  z-index: 2;
}


.hero-content {
  position: relative;
  z-index: 3;
  padding: 2rem;
}

.hero-content h1 {
  font-size: 2.8rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.hero-content p {
  font-size: 1.2rem;
  max-width: 600px;
  margin: 0 auto 2rem auto;
}

.cta-button {
  background-color: #fca311;
  color: #14213d;
  padding: 0.8rem 1.6rem;
  border-radius: 8px;
  font-weight: bold;
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 16px rgba(0,0,0,0.3);
}

.hero-title-container {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  padding: 2rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-title {
  font-size: 3rem;
  font-weight: bold;
  background: linear-gradient(45deg, #00ccff, #ff00ff, #00ff99);
  background-size: 200% 200%;
  animation: gradientText 6s ease infinite;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

@keyframes gradientText {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Animación suave del fondo */
@keyframes gradientFlow {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* ===== Convencimiento ===== */
#convencimiento {
  background: linear-gradient(135deg, #f0f8ff, #e6f7ff);
  padding: 60px 30px;
  text-align: center;
  border-top: 2px solid #00aaff;
  border-bottom: 2px solid #00aaff;
}

#convencimiento h2 {
  font-size: 2.2rem;
  margin-bottom: 25px;
  color: #007bff;
}

#convencimiento p {
  font-size: 1.1rem;
  line-height: 1.8;
  max-width: 700px;
  margin: 0 auto;
  color: #444;
  background: white;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.05);
}
/* ===== Datos de impacto ===== */
#hero-impacto {
  padding: 2rem;
  text-align: center;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 2rem;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
}

.mockup-phone img {
  width: 100%;
  max-width: 300px;
  border-radius: 20px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

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

.impacto-item {
  height: 220px; /* igual que el mockup */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: white;
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

/* Colores únicos para cada bloque */
.impacto-item:nth-child(1) {
  background: #007bff; /* azul */
}

.impacto-item:nth-child(2) {
  background: #00cc99; /* verde menta */
}

.impacto-item:nth-child(3) {
  background: #ff4da6; /* rosa vibrante */
}

.impacto-item:nth-child(4) {
  background: #6f2da8; /* morado profundo */
}

.impacto-item:hover {
  transform: translateY(-6px);
}

.impacto-item h3 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.impacto-item p {
  font-size: 1.1rem;
  text-align: center;
}


.impacto-item:hover {
  transform: translateY(-5px);
}

.impacto-item h3 {
  font-size: 2rem;
  color: #d7f6ff;
  margin: 0;
}

.impacto-item p {
  margin-top: 0.5rem;
  font-size: 1rem;
  color: #ffffff;
}


/* ===== Botones CTA ===== */
.cta-button {
  background: #00aaff;
  color: white;
  padding: 12px 24px;
  text-decoration: none;
  border-radius: 8px;
  transition: background 0.3s ease;
}

.cta-button:hover {
  background: #0088cc;
}

/* 🧾 Estilo para Pricing Card */
.pricing-card {
  background: #fdfdfd;
  padding: 40px 30px;
  border-radius: 16px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
  text-align: center;
  font-size: 15px; /* Puedes subir a 16px si quieres más presencia */
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  transition: all 0.3s ease-in-out;
}

.pricing-card h3 {
  font-size: 1.8rem;
  margin-bottom: 12px;
  color: #1f3c88;
  font-weight: 700;
}

.pricing-card ul {
  list-style: none;
  padding: 0;
  margin-top: 20px;
}

.pricing-card li {
  margin-bottom: 12px;
  font-size: 1rem;
}

.pricing-card strong {
  font-weight: 700 !important;
  font-size: 1.05rem; /* Negrita un poco más grande para destacar */
  color: #1f3c88;
}

.badge-plan {
  background-color: #dfffe1;
  padding: 6px 12px;
  border-radius: 50px;
  display: inline-block;
  font-size: 0.95rem;
  font-weight: 600;
  color: #067c3d;
  margin-bottom: 20px;
}

.pricing-price {
  font-size: 1.1rem;
  margin-top: 20px;
}

/* ===== Cards de precios ===== */
#planes h2 {
  display: inline-block;
  font-size: 2.8rem;
  font-weight: 700;
  background: linear-gradient(45deg, #00ccff, #ff00cc);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 3rem;
}

/* Subtítulos */
.planes-sub, .planes-note {
  text-align: center;
  font-size: 1rem;
  color: #666;
  margin: 0.5rem auto 2rem;
}

/* Contenedor principal */
.pricing-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  padding: 60px 20px;
}

/* Tarjetas de precio base */
.pricing-card {
  background: white;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
  padding: 30px;
  width: 300px;
  transition: all 0.35s ease;
  border: 2px solid transparent;
  text-align: center;
  position: relative;
}

/* Hover general elegante */
.pricing-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 12px 30px rgba(0, 170, 255, 0.15);
}

/* Icono arriba del título */
.icono-plan {
  font-size: 2.5rem;
  margin-bottom: 10px;
  color: #007bff;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
}

/* Títulos y texto */
.pricing-card h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
  color: #007bff;
}
.pricing-card p {
  font-size: 1rem;
  color: #555;
  margin-bottom: 15px;
}
.pricing-card ul {
  list-style: none;
  padding: 0;
  margin: 20px 0;
}
.pricing-card ul li {
  margin-bottom: 8px;
  font-size: 0.95rem;
  color: #333;
}

/* Precio */
.pricing-price {
  font-size: 1.4rem;
  font-weight: bold;
  color: #007bff;
  margin: 15px 0;
}

/* Botón */
.pricing-card button {
  background: #007bff;
  color: white;
  border: none;
  padding: 12px 20px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 1rem;
  transition: background 0.3s ease;
}
.pricing-card button:hover {
  background: #0056b3;
}

/* Estilos personalizados por plan */
.card-basic:hover {
  border-color: #28a745;
  background: linear-gradient(135deg, #ffffff, #f0fff4);
}
.card-pro:hover {
  border-color: #ffc107;
  background: linear-gradient(135deg, #ffffff, #fffbea);
}
.card-corp:hover {
  border-color: #17a2b8;
  background: linear-gradient(135deg, #ffffff, #e6faff);
}

/* Badge destacado */
.badge-pro, .badge-plan {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  background: #ffffff;
  color: #000;
  font-weight: bold;
  padding: 0.3rem 1rem;
  border-radius: 50px;
  font-size: 0.85rem;
  box-shadow: 0 3px 6px rgba(0,0,0,0.1);
  z-index: 2;
}
.destacado {
  box-shadow: 0 0 0 4px rgba(241, 196, 15, 0.25);
}

.pricing-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 12px 30px rgba(0, 170, 255, 0.15);
  background-color: #f4fbff; /* Fondo interior más suave */
}

/* Hover por tipo con fondo sutil */
.card-basic:hover {
  background-color: #f5fff7; /* Verde suave */
}
.card-pro:hover {
  background-color: #fffef4; /* Dorado suave */
}
.card-corp:hover {
  background-color: #f3faff; /* Azul suave */
}

/* Responsive */
@media screen and (max-width: 768px) {
  .pricing-container {
    flex-direction: column;
    align-items: center;
  }

  .pricing-card {
    width: 90%;
    max-width: 400px;
  }
}

/* 🟢 Sección Beneficios */
#beneficios {
  background: linear-gradient(135deg, #f5f7fa, #e2eafc);
  padding: 60px 20px;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.08);
  transition: all 0.3s ease-in-out;
}

#beneficios h2 {
  font-size: 2.2rem;
  color: #1f3c88;
  margin-bottom: 30px;
  text-align: center;
  font-weight: 700;
}

#beneficios ul {
  list-style: none;
  padding: 0;
  max-width: 600px;
  margin: auto;
}

#beneficios li {
  font-size: 1.2rem;
  margin-bottom: 20px;
  padding-left: 40px;
  position: relative;
  line-height: 1.6;
  color: #333;
  background: #fff;
  border-left: 4px solid #1f3c88;
  border-radius: 8px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

#beneficios li::before {
  content: attr(data-icon);
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
}

/* 🎯 Animación de entrada si usas AOS */
[data-aos="fade-up"] {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
[data-aos="fade-up"].aos-animate {
  opacity: 1;
  transform: translateY(0);
}

/* 🔵 Sección Casos de uso */
#casos {
  background: #ffffff;
  padding: 60px 20px;
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.05);
  text-align: center;
  transition: transform 0.3s ease-in-out;
}

#casos h2 {
  font-size: 2.2rem;
  color: #0e2f44;
  margin-bottom: 20px;
  font-weight: 700;
}

#casos p {
  font-size: 1.2rem;
  color: #555;
  max-width: 600px;
  margin: auto;
  background: linear-gradient(90deg, #dfe9f3, #f5f7fa);
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

/* ✨ Animación si usas AOS */
[data-aos="zoom-in"] {
  opacity: 0;
  transform: scale(0.95);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
[data-aos="zoom-in"].aos-animate {
  opacity: 1;
  transform: scale(1);
}



/* ===== Comparativo ===== */

#comparativo {
  padding: 4rem 2rem;
  background: radial-gradient(circle at top center, #121212, #1f1f1f);
  color: white;
  text-align: center;
  font-family: 'Poppins', sans-serif;
}

#comparativo h2 {
  font-size: 2.5rem;
  margin-bottom: 3rem;
  color: #00ffd5;
  text-shadow: 0 0 10px #00ffd5;
  animation: pulseText 3s infinite;
}

.comparativo {
  display: flex;
  gap: 3rem;
  justify-content: center;
  flex-wrap: wrap;
}

.comparativo > div {
  flex: 1;
  min-width: 280px;
  max-width: 400px;
  padding: 3rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  box-shadow: 0 0 20px rgba(0,255,213,0.2);
  backdrop-filter: blur(8px);
  transition: transform 0.3s;
}

.comparativo > div:hover {
  transform: scale(1.05);
}

.comparativo h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: #ff4da6;
}

.comparativo ul {
  list-style: none;
  padding: 0;
}

.comparativo li {
  font-size: 1.1rem;
  margin: 0.6rem 0;
}

/* Título animado */
@keyframes pulseText {
  0% { text-shadow: 0 0 10px #00ffd5; }
  50% { text-shadow: 0 0 20px #00ffd5; }
  100% { text-shadow: 0 0 10px #00ffd5; }
}


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

/* ===== formulario ===== */

form {
  display: flex;
  flex-direction: column;
  gap: 15px;
  max-width: 500px;
  margin: 0 auto;
  text-align: left;
  margin-bottom: 20px;
  margin-top: 40px;
}

#contacto h2 {
  font-size: 2.7rem;
  margin-bottom: 70px;
  font-weight: bold;
  background: linear-gradient(45deg, #00ccff, #ff00cc, #00ff99);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-align: center;
  animation: gradientShift 10s ease infinite;
}

@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}



form input,
form textarea {
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
  width: 100%;
}

form textarea {
  resize: vertical;
  min-height: 120px;
}

form button {
  background: #00aaff;
  color: white;
  border: none;
  padding: 12px 20px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 1rem;
  transition: background 0.3s ease;
  align-self: center;
  width: 30%;
  margin-top: 20px;
}

form button:hover {
  background: #0088cc;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

#response-message {
  margin-top: 10px;
  font-weight: bold;
  color: #007bff;
}

.form-card {
  background: #fefefe;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  max-width: 600px;
  margin: 0 auto;
  border: 1px solid #eee;
}


/* ===== footer ===== */
#main-footer {
  padding: 40px 20px;
  color: white;
  background: linear-gradient(-45deg, #1e3c72, #2a5298, #6f2da8, #9a1fb0);
  background-size: 400% 400%;
  animation: gradientMove 15s ease infinite;
  text-align: center;
}

@keyframes gradientMove {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.footer-logo {
  font-size: 1.8rem;
  font-weight: bold;
  margin-bottom: 20px;
  letter-spacing: 1px;
}

.footer-links {
  margin-bottom: 20px;
}

.footer-links a {
  color: white;
  margin: 0 15px;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #ffe600;
}

.footer-copy {
  font-size: 0.9rem;
  opacity: 0.8;
}
