
/* ===== BODY Y EFECTOS ===== */
body {
  margin: 0;
  font-family: 'Segoe UI', Arial, sans-serif;
  background: linear-gradient(135deg, #0a0f2c, #1e014d);
  background-size: cover;
  color: white;
  position: relative;
  overflow-x: hidden;
  body {
  padding-top: 110px; /* deja espacio del tamaño de la navbar */
}

}

/* Capa con textura metálica */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  background: 
    url('https://www.transparenttextures.com/patterns/brushed-alum-dark.png'); 
  opacity: 0.15;
}

/* Capa con brillo futurista */
body::after {
  content: "";
  position: fixed;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  pointer-events: none;
  background: radial-gradient(circle, rgba(0, 200, 255, 0.15), transparent 60%);
  animation: pulseGlow 6s infinite alternate;
}

@keyframes pulseGlow {
  0% { opacity: 0.1; }
  100% { opacity: 0.3; }
}
/* ===== NAVBAR DELUXE ===== */
.navbar {
  position: fixed;
  top: 20px;
  left: 10px;
  width: 95%;
  max-width: 95%;
  
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(14px) saturate(180%);
  background: rgba(15, 23, 42, 0.55); /* vidrio oscuro */
  border-radius: 18px;
  z-index: 100;
  border: 2px solid transparent;
  background-clip: padding-box;
  box-shadow: 0 10px 35px rgba(0,0,0,0.6), 0 0 25px rgba(0,212,255,0.3);
  gap: 40px;
  list-style: none;
  padding: 0 25px;
  overflow: hidden;
  
  /* borde neón animado */
  position: relative;
  overflow: hidden;
}
.navbar::before {
  content: "";
  position: absolute;
  inset: 0;
  padding: 2px;
  border-radius: inherit;
  background: linear-gradient(90deg, #00f2fe, #7b61ff, #00f2fe);
  background-size: 300% 300%;
  animation: borderFlow 6s linear infinite;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  pointer-events: none;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}


.nav-logo {
  height: 200px; /* Mantengo tamaño desktop */
  max-width: 100%;
  object-fit: contain;
  display: block;

  /* Animaciones */
  animation: floatLogo 6s ease-in-out infinite, glowLogo 4s ease-in-out infinite;
  filter: drop-shadow(0 0 12px rgba(0, 212, 255, 0.6));
}

/* Efecto flotante */
@keyframes floatLogo {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* Glow dinámico */
@keyframes glowLogo {
  0%, 100% { filter: drop-shadow(0 0 12px rgba(0, 212, 255, 0.6)); }
  50% { filter: drop-shadow(0 0 22px rgba(123, 97, 255, 0.9)); }
}


/* ===== Menú ===== */
.nav-menu {
  margin-left: auto;
  margin-right: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px; /* separa los items */
  list-style: none;
  margin: 0;
  padding: 0;
  flex: 1; /* ocupa espacio central */
}

.nav-menu a {
  color: #e2e8f0;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  padding: 6px 10px;
  position: relative;
  transition: 0.3s ease;
}
.nav-menu a::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 50%;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #00f2fe, #4facfe);
  transition: width 0.4s ease, left 0.4s ease;
  transform: translateX(-50%);
  border-radius: 2px;
}
.nav-menu a:hover::after {
  width: 100%;
  left: 50%;
}
.nav-menu a:hover {
  color: #fff;
  text-shadow: 0 0 10px rgba(0, 212, 255, 0.9), 0 0 20px rgba(123, 97, 255, 0.9);
  transform: translateY(-2px);
}
.nav-menu li a {
  display: flex;
  align-items: center;
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  color: #fff;
  transition: all 0.3s ease;
}

.nav-menu li a img {
  margin-right: 6px;
  width: 28px;
  height: 28px;
}

.nav-menu li a:hover {
  color: #00d4ff; /* efecto neón al pasar */
  text-shadow: 0 0 10px rgba(0, 212, 255, 0.8);
}

/* ===== Hamburguesa ===== */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 32px;
  height: 24px;
  cursor: pointer;
  z-index: 101;
}
.hamburger span {
  display: block;
  height: 3px;
  background: linear-gradient(90deg, #00f2fe, #7b61ff);
  border-radius: 2px;
  transition: 0.4s;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .hamburger { display: flex; }

  .nav-menu {
    display: none;
    flex-direction: column;
    width: 100%;
    gap: 18px;
    margin: 15px 0 0 0;
    text-align: center;
    background: rgba(15, 23, 42, 0.92);
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.7);
    animation: fadeDown 0.5s ease;
  }
  .nav-logo { height: 80px; }

  .nav-menu.active {
    display: flex;
  }
}

/* ===== Animaciones ===== */
@keyframes borderFlow {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
@keyframes fadeDown {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}


/* ===== HERO SUPER DELUXE ===== */
.hero {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  position: relative;
  background: radial-gradient(circle at top left, #0f2027, #203a43, #2c5364);
  overflow: hidden;
}

/* Luces animadas en el fondo */
.hero::before,
.hero::after {
  content: "";
  position: absolute;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(0,200,255,0.3), transparent 70%);
  animation: pulse 8s infinite alternate ease-in-out;
  border-radius: 50%;
}
.hero::before { top: -150px; left: -150px; }
.hero::after { bottom: -150px; right: -150px; animation-delay: 4s; }

@keyframes pulse {
  0% { transform: scale(1); opacity: 0.6; }
  100% { transform: scale(1.4); opacity: 0.2; }
}

.hero-card {
  background: rgba(17,25,40,0.85);
  backdrop-filter: blur(18px) saturate(140%);
  border-radius: 30px;
  padding: 120px 200px;
  text-align: center;
  color: #fff;
  max-width: 950px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.6), 0 0 40px rgba(0,200,255,0.25);
  border: 1px solid rgba(0,200,255,0.25);
  transform: perspective(1000px) rotateX(5deg);
  animation: fadeIn 1.5s ease forwards;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(40px) scale(0.95); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

/* ===== HERO SUPER DELUXE (Mismos Colores) ===== */
.hero {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 85vh;
  position: relative;
  background: linear-gradient(135deg, #0a0f2c, #1e014d); /* Fondo elegante */
  overflow: hidden;
}

/* Efecto de luces en el fondo */
.hero::before,
.hero::after {
  content: "";
  position: absolute;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(0,200,255,0.25), transparent 70%);
  border-radius: 50%;
  animation: pulse 8s infinite alternate ease-in-out;
  z-index: 0;
}
.hero::before { top: -200px; left: -200px; }
.hero::after { bottom: -200px; right: -200px; animation-delay: 4s; }

@keyframes pulse {
  0% { transform: scale(1); opacity: 0.6; }
  100% { transform: scale(1.3); opacity: 0.2; }
}

.hero-card {
  position: relative;
  z-index: 1;
  background: rgba(17,25,40,0.8);
  backdrop-filter: blur(15px) saturate(130%);
  border-radius: 25px;
  padding: 100px 100px;
  text-align: center;
  color: #fff;
  max-width: 1200px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.65), 0 0 35px rgba(0,200,255,0.25);
  border: 1px solid rgba(0,200,255,0.25);
  animation: fadeIn 1.5s ease forwards;
  transform: translateY(30px);
  height: 340px;
   
}

@keyframes fadeIn {
  0% { opacity: 0; transform: translateY(60px) scale(0.95); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

.hero-card h1 {
  font-size: 3.5rem;
  margin-bottom: 25px;
  text-shadow: 0 0 18px rgba(0,200,255,0.6);
  letter-spacing: 1px;
  animation: glow 3s ease-in-out infinite alternate;
}

@keyframes glow {
  0% { text-shadow: 0 0 15px rgba(0,200,255,0.5); }
  100% { text-shadow: 0 0 30px rgba(0,200,255,1); }
}

.hero-card p {
  font-size: 1.3rem;
  margin-bottom: 40px;
  opacity: 0.9;
  line-height: 1.6;
  animation: fadeIn 2s ease forwards;
}

/* Botón Deluxe (manteniendo tus colores) */
.cta-btn {
  display: inline-block;
  padding: 15px 40px;
  border-radius: 50px;
  background: linear-gradient(90deg, #007bff, #00d4ff);
  color: white;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.2rem;
  letter-spacing: 0.5px;
  box-shadow: 0 0 20px rgba(0,200,255,0.5);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  animation: buttonGlow 4s infinite ease-in-out;
}

@keyframes buttonGlow {
  0%,100% { box-shadow: 0 0 15px rgba(0,200,255,0.4); }
  50%     { box-shadow: 0 0 30px rgba(0,200,255,0.8); }
}

.cta-btn:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 0 35px rgba(0,200,255,0.9);
}

/* Responsive */
@media (max-width: 992px) {
  .hero-card {
    padding: 90px 60px;
  }
  .hero-card h1 { font-size: 2.5rem; }
  .hero-card p { font-size: 1.1rem; }
}

@media (max-width: 600px) {
  .hero-card {
    padding: 60px 30px;
  }
  .hero-card h1 { font-size: 2rem; }
  .hero-card p { font-size: 1rem; }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1200px) {
  .hero-card { padding: 150px 150px; }
  .hero-card h1 { font-size: 2.5rem; }
  .hero-card p { font-size: 1.1rem; }
}

@media (max-width: 992px) {
  .hero-card { padding: 120px 80px; }
  .hero-card h1 { font-size: 2.2rem; }
  .hero-card p { font-size: 1rem; }
}

@media (max-width: 768px) {
  .navbar { flex-direction: column; height: auto; padding: 15px; }
  .nav-menu { flex-direction: column; gap: 15px; margin: 10px 0 0 0; width: 100%; text-align: center; }
  .nav-logo { height: 80px; margin-bottom: 10px; } /* logo más pequeño en tablets/móviles */
  .hero-card { padding: 60px 30px; max-width: 95%; }
  .hero-card h1 { font-size: 1.8rem; }
  .hero-card p { font-size: 0.95rem; }
  .cta-btn { font-size: 1rem; padding: 12px 25px; }
}

@media (max-width: 480px) {
  .hero-card { padding: 40px 20px; }
  .hero-card h1 { font-size: 1.5rem; }
  .hero-card p { font-size: 0.85rem; }
  .cta-btn { font-size: 0.9rem; padding: 10px 20px; }
}

/* ===== IMÁGENES ===== */
img {
  max-width: 100%;
  height: auto;
}
.about {
  padding: 80px 20px;
  background: linear-gradient(135deg, #0a0f2c, #1e014d);
  color: white;
  text-align: center;
}

.about-container {
  max-width: 1200px;
  margin: 0 auto;
}

.about h2 {
  font-size: 2.8rem;
  margin-bottom: 20px;
  text-shadow: 0 0 15px rgba(0,200,255,0.5);
}

.about p {
  font-size: 1.2rem;
  margin-bottom: 50px;
  opacity: 0.9;
}

.about-cards {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}

.about-card {
  background: rgba(17,25,40,0.75);
  backdrop-filter: blur(12px);
  padding: 30px;
  border-radius: 20px;
  flex: 1 1 300px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.5), 0 0 20px rgba(0,200,255,0.3);
  border: 1px solid rgba(0,200,255,0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 25px rgba(0,200,255,0.5);
}

.about-card h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.about-card p {
  font-size: 1rem;
  opacity: 0.85;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .about h2 { font-size: 2.5rem; }
  .about p { font-size: 1.1rem; }
}

@media (max-width: 768px) {
  .about h2 { font-size: 2rem; }
  .about p { font-size: 1rem; margin-bottom: 30px; }
  .about-cards { flex-direction: column; gap: 20px; }
}

@media (max-width: 480px) {
  .about h2 { font-size: 1.8rem; }
  .about p { font-size: 0.95rem; }
  .about-card h3 { font-size: 1.3rem; }
  .about-card p { font-size: 0.9rem; }
  .about { padding: 50px 15px; }
}
.plan {
  padding: 80px 20px;
  background: linear-gradient(135deg, #1e014d, #0a0f2c);
  color: white;
  text-align: center;
}

.plan-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;              /* coloca los recuadros en fila */
  justify-content: center;    /* centra horizontalmente los recuadros */
  gap: 30px;                  /* espacio entre recuadros */
  flex-wrap: nowrap;           /* evita que se muevan a otra fila en escritorio */
  margin: 50px 0;
}

.plan h2 {
  font-size: 2.8rem;
  margin-bottom: 20px;
  text-shadow: 0 0 15px rgba(0,200,255,0.5);
}

.plan p {
  font-size: 1.2rem;
  margin-bottom: 50px;
  opacity: 0.9;
}

.plan-cards {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

.plan-card {
  background: rgba(17,25,40,0.75);
  backdrop-filter: blur(12px);
  padding: 30px;
  border-radius: 20px;
  flex: 1 1 300px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.5), 0 0 20px rgba(0,200,255,0.3);
  border: 1px solid rgba(0,200,255,0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  max-width: 300px;
}

.plan-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 25px rgba(0,200,255,0.5);
}

.plan-card h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.plan-card p {
  font-size: 1rem;
  opacity: 0.85;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .plan h2 { font-size: 2.5rem; }
  .plan p { font-size: 1.1rem; }
}

@media (max-width: 768px) {
  .plan h2 { font-size: 2rem; }
  .plan p { font-size: 1rem; margin-bottom: 30px; }
  .plan-cards { flex-direction: column; gap: 20px; }
}

@media (max-width: 480px) {
  .plan h2 { font-size: 1.8rem; }
  .plan p { font-size: 0.95rem; }
  .plan-card h3 { font-size: 1.3rem; }
  .plan-card p { font-size: 0.9rem; }
  .plan { padding: 50px 15px; }
}

.portfolio {
  padding: 80px 20px;
  background: linear-gradient(135deg, #0a0f2c, #1e014d);
  color: white;
  text-align: center;
}

.portfolio-container {
  max-width: 1200px;
  margin: 0 auto;
}

.portfolio h2 {
  font-size: 2.8rem;
  margin-bottom: 20px;
  text-shadow: 0 0 15px rgba(0,200,255,0.5);
}

.portfolio p {
  font-size: 1.2rem;
  margin-bottom: 50px;
  opacity: 0.9;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.portfolio-item {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.5), 0 0 20px rgba(0,200,255,0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.portfolio-item img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 20px;
  transition: transform 0.3s ease;
}

.portfolio-item:hover img {
  transform: scale(1.05);
}

.portfolio-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(17,25,40,0.8);
  padding: 20px;
  opacity: 0;
  transition: opacity 0.3s ease;
  text-align: center;
}

.portfolio-item:hover .portfolio-info {
  opacity: 1;
}

.portfolio-info h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.portfolio-info p {
  font-size: 1rem;
  opacity: 0.85;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .portfolio h2 { font-size: 2.5rem; }
  .portfolio p { font-size: 1.1rem; }
}

@media (max-width: 768px) {
  .portfolio h2 { font-size: 2rem; }
  .portfolio p { font-size: 1rem; margin-bottom: 30px; }
  .portfolio-grid { gap: 20px; }
}

@media (max-width: 480px) {
  .portfolio h2 { font-size: 1.8rem; }
  .portfolio p { font-size: 0.95rem; }
  .portfolio-info h3 { font-size: 1.3rem; }
  .portfolio-info p { font-size: 0.9rem; }
  .portfolio { padding: 50px 15px; }
  
}
/* ===== FOOTER ULTRA DELUXE ATHENDRIX ===== */
.footer {
  padding: 60px 20px;
  background: linear-gradient(135deg, #0a0f2c, #1e014d, #0f0c29, #302b63);
  background-size: 300% 300%;
  animation: footerGradient 20s ease infinite;
  color: #f8fafc;
  text-align: center;
  position: relative;
  overflow: hidden;
  scroll-margin-top: 100px;
}

/* Luces suaves flotando */
.footer::before,
.footer::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.35;
  z-index: 0;
  animation: footerPulse 14s infinite ease-in-out;
}

.footer::before {
  width: 450px;
  height: 450px;
  background: #00f2fe;
  top: -150px;
  left: -180px;
}

.footer::after {
  width: 500px;
  height: 500px;
  background: #7b61ff;
  bottom: -200px;
  right: -220px;
}

/* Card principal */
.footer-card {
  background: rgba(17, 25, 40, 0.9);
  backdrop-filter: blur(14px) saturate(180%);
  border-radius: 28px;
  padding: 50px 100px;
  max-width: 1300px;
  margin: 0 auto;
  box-shadow: 0 25px 60px rgba(0,0,0,0.75), 0 0 40px rgba(0,200,255,0.35);
  border: 2px solid transparent;
  background-clip: padding-box;
  position: relative;
  z-index: 1;
  overflow: hidden;
}

/* Borde animado neón */
.footer-card::before {
  content: "";
  position: absolute;
  inset: 0;
  padding: 2px;
  border-radius: inherit;
  background: linear-gradient(90deg, #00f2fe, #7b61ff, #00f2fe);
  background-size: 300% 300%;
  animation: borderFlow 10s linear infinite;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  pointer-events: none;
}

/* Top con 3 columnas */
.footer-top {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-info, .footer-contact, .footer-social {
  flex: 1 1 280px;
  text-align: center;
}

.footer-logo {
  height: 200px;
  object-fit: contain;
  filter: drop-shadow(0 0 12px rgba(0,200,255,0.6));
  margin-bottom: 15px;
  transition: transform 0.4s ease;
}
.footer-logo:hover {
  transform: scale(1.08);
}

.footer h4 {
  font-size: 1.6rem;
  margin-bottom: 18px;
  text-shadow: 0 0 12px rgba(0,200,255,0.6), 0 0 20px rgba(123,97,255,0.5);
  font-weight: 700;
  color: #00f2fe;
}

.footer p, .footer a {
  font-size: 1rem;
  color: #e2e8f0;
  text-decoration: none;
  opacity: 0.85;
  margin-bottom: 12px;
  display: block;
  transition: all 0.3s ease;
}

.footer a i {
  margin-right: 8px;
}

.footer a:hover {
  opacity: 1;
  color: #00f2fe;
  text-shadow: 0 0 10px rgba(0,200,255,0.8), 0 0 20px rgba(123,97,255,0.6);
}

/* Redes sociales con efecto glow */
.footer-social a {
  display: inline-block;
  margin: 0 10px;
  font-size: 1.5rem;
  color: #94a3b8;
  transition: all 0.4s ease;
}
.footer-social a:hover {
  color: #00f2fe;
  transform: translateY(-4px) scale(1.1);
  text-shadow: 0 0 12px rgba(0,200,255,0.8);
}


.footer-copy {
  width: 100%;            /* Ocupa todo el ancho disponible */
  display: flex;          /* Permite centrar con flexbox */
  justify-content: center;/* Centra horizontalmente */
  align-items: center;    /* Centra verticalmente si el footer tiene altura */
  height: 60px;           /* Ajusta según tu diseño */
}

.footer-copy p {
  margin: 0;              /* Evita márgenes que desplacen el texto */
  font-size: 0.9rem;
  opacity: 0.7;
}


/* ===== Animaciones ===== */
@keyframes footerGradient {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes borderFlow {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes footerPulse {
  0%, 100% { opacity: 0.3; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(1.2); }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .footer-card { padding: 40px 60px; }
  .footer h4 { font-size: 1.4rem; }
  .footer p, .footer a { font-size: 0.95rem; }
}

@media (max-width: 768px) {
  .footer-top { flex-direction: column; gap: 30px; }
  .footer-card { padding: 35px 30px; }
  .footer-logo { height: 80px; }
}

@media (max-width: 480px) {
  .footer-card { padding: 30px 20px; border-radius: 22px; }
  .footer h4 { font-size: 1.2rem; }
  .footer p, .footer a { font-size: 0.85rem; }
  .footer-logo { height: 60px; }
}

.plan {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 3 columnas */
  gap: 30px;
  padding: 60px 20px;
  background: linear-gradient(135deg, #0a0f2c, #1e014d);
  max-width: 1200px;
  margin: 0 auto;
  justify-items: center;
  justify-content: space-between;
}

/* ✅ Estilo general de las tarjetas */
.plan-card {
  background: rgba(17,25,40,0.85);
  backdrop-filter: blur(12px);
  border-radius: 25px;
  padding: 30px 25px;
  text-align: center;
  box-shadow: 0 8px 32px rgba(0,0,0,0.5), 0 0 20px rgba(0,200,255,0.3);
  border: 1px solid rgba(0,200,255,0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  width: 100%;
  max-width: 350px;
  min-height: 480px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  justify-items: center;
}

.plan-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 25px rgba(0,200,255,0.5);
}

.plan-card h3 {
  font-size: 1.8rem;
  margin-bottom: 15px;
  text-shadow: 0 0 12px rgba(0,200,255,0.5);
}

.plan-card p {
  font-size: 1rem;
  margin-bottom: 15px;
  opacity: 0.85;
}

.plan-card ul {
  list-style: none;
  padding: 0;
  margin-bottom: 20px;
  text-align: left;
}

.plan-card ul li {
  margin-bottom: 8px;
  font-size: 0.95rem;
}

.plan-price {
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 20px;
  color: #00d4ff;
  text-shadow: 0 0 8px rgba(0,200,255,0.7);
}

.plan-buttons {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: auto;
}

.plan-buttons .cta-btn {
  padding: 12px 28px;
  font-size: 1rem;
  flex: 1;
  text-align: center;
  border-radius: 12px;
}

/* ✅ UBICAR las tarjetas 4 y 5 en la segunda fila, centradas */
.plan-card:nth-child(4) {
  grid-column: 2; /* fila 2, columna del medio */
  grid-row: 2;
}
.plan-card:nth-child(5) {
  grid-column: 3; /* fila 2, columna derecha */
  grid-row: 2;
}

/* ✅ Responsive */
@media (max-width: 992px) {
  .plan {
    grid-template-columns: repeat(2, 1fr);
  }

  .plan-card:nth-child(4),
  .plan-card:nth-child(5) {
    grid-column: auto;
    grid-row: auto;
  }
}

@media (max-width: 600px) {
  .plan {
    grid-template-columns: 1fr;
  }

  .plan-card:nth-child(4),
  .plan-card:nth-child(5) {
    grid-column: auto;
    grid-row: auto;
  }
}

/* ✅ Ajustes botones responsive */
@media (min-width: 768px) {
  .plan-buttons {
    flex-direction: row;
    justify-content: center;
  }
}

/* Modal */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background: rgba(10,15,44,0.9);
  backdrop-filter: blur(10px);
  animation: fadeIn 0.4s ease forwards;
}

@keyframes fadeIn { from {opacity:0} to {opacity:1} }

.modal-content {
  background: rgba(17,25,40,0.85);
  border-radius: 20px;
  margin: 5% auto;
  padding: 30px;
  max-width: 800px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.5), 0 0 25px rgba(0,200,255,0.3);
  text-align: center;
  animation: slideUp 0.4s ease forwards;
}

@keyframes slideUp { from {transform: translateY(50px); opacity:0;} to {transform: translateY(0); opacity:1;} }

.close {
  color: #00d4ff;
  float: right;
  font-size: 1.5rem;
  cursor: pointer;
}

.close:hover { text-shadow: 0 0 8px rgba(0,200,255,0.7); }

.modal-preview {
  margin-top: 20px;
}

.mockup-frame {
  background: rgba(0,0,0,0.2);
  border-radius: 15px;
  padding: 15px;
  box-shadow: 0 0 15px rgba(0,200,255,0.3);
}

.mockup-screen {
  background: rgba(255,255,255,0.05);
  height: 400px;
  border-radius: 12px;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.mockup-screen:hover {
  transform: scale(1.02);
  box-shadow: 0 0 25px rgba(0,200,255,0.5);
}

/* Responsive */
@media (max-width: 768px) {
  .mockup-screen { height: 300px; }
  .plan-card h3 { font-size: 1.6rem; }
}

@media (max-width: 480px) {
  .mockup-screen { height: 220px; }
  .plan-card h3 { font-size: 1.4rem; }
  .plan-price { font-size: 1.2rem; }
}

/* Botón Volver Arriba ULTRA PREMIUM */
#btn-top {
  position: fixed;
  bottom: 110px;
  right: 25px;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #6a00ff, #5200d4);
  color: #fff;
  border-radius: 50%;
  font-size: 28px;
  display: none;                 /* oculto por defecto */
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-weight: bold;
  line-height: 1;

  border: 2px solid #ffffff33;
  box-shadow: 0 10px 28px rgba(0,0,0,0.28);
  transition: all 0.3s ease;
  z-index: 998;
}

/* Cuando debe mostrarse */
#btn-top.show {
  display: flex;
}

#btn-top:hover {
  transform: scale(1.15) translateY(-4px);
  background: linear-gradient(135deg, #7d2aff, #5d00f0);
  box-shadow: 0 14px 40px rgba(0,0,0,0.35);
  border-color: #ffffff55;
}

.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0; top: 0;
  width: 100%; height: 100%;
  background-color: rgba(0,0,0,0.6);
}

.modal-content {
  background-color: #111928;
  color: #00c8ff;
  margin: 10% auto;
  padding: 30px;
  border-radius: 20px;
  width: 90%;
  max-width: 450px;
  position: relative;
  backdrop-filter: blur(12px);
}

.close {
  position: absolute;
  top: 15px; right: 20px;
  font-size: 28px;
  cursor: pointer;
}

form { display: flex; flex-direction: column; gap: 15px; }

input, textarea {
  padding: 8px 10px;
  border-radius: 10px;
  border: 1px solid rgba(0,200,255,0.3);
  background: rgba(17,25,40,0.5);
  color: white;
}

.btn-submit {
  background: linear-gradient(90deg, #6a11cb, #2575fc);
  color: white;
  padding: 8px 0;
  border: none;
  border-radius: 15px;
  cursor: pointer;
}

/* Fondo animado premium */
#splash {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  background: linear-gradient(-45deg, #0a0f2c, #1e014d, #0f0c29, #302b63, #24243e);
  background-size: 400% 400%;
  animation: gradientShift 15s ease infinite;
  z-index: 9999;
  transition: opacity 0.8s ease, visibility 0.8s ease;
}

/* Contenido centrado */
.splash-content {
  text-align: center;
  animation: zoomIn 1.2s ease forwards;
}

/* Video del logo */
.splash-logo {
  width: 500px;
  max-width: 40vw;
  filter: drop-shadow(0 0 20px rgba(0, 200, 255, 0.8));
  animation: float 4s ease-in-out infinite;
  border-radius: 20px;
  display: block;        /* asegura que no tenga espacio extra */
  margin: 0 auto;        /* centra horizontalmente */
  padding: 0;            /* elimina cualquier padding */
}

/* Texto */
.splash-text {
  margin: 1px 0 20px;
  font-size: 1.4rem;
  font-weight: bold;
  color: #fff;
  text-shadow: 0px 0px 12px rgba(0, 255, 255, 0.5);
  opacity: 0;
  animation: fadeUp 1.5s ease forwards 1s;
}

/* Botón deluxe */
.deluxe-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 12px 26px;
  font-size: 1rem;
  font-weight: 600;
  color: white;
  border-radius: 12px;
  backdrop-filter: blur(12px);
  cursor: pointer;
  transition: all 0.4s ease;
  box-shadow: 0 0 12px rgba(0, 255, 255, 0.3);
  margin-top: 10px;
}

.deluxe-btn:hover {
  background: linear-gradient(90deg, #00f2fe, #4facfe);
  box-shadow: 0 0 20px rgba(0, 255, 255, 0.8), 0 0 40px rgba(79, 172, 254, 0.8);
  transform: scale(1.05);
}

/* Animaciones */
@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes zoomIn {
  from { transform: scale(0.8); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-15px); }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Ocultar splash */
#splash.hidden {
  opacity: 0;
  visibility: hidden;
}
/* ===== FAQ ===== */
.faq {
  background: linear-gradient(180deg, #0a0f2c, #1e014d);
  padding: 80px 20px;
  text-align: center;
}
.faq-container {
  max-width: 900px;
  margin: auto;
}
.faq h2 {
  font-size: 2.2rem;
  margin-bottom: 30px;
  color: #00f2fe;
  text-shadow: 0 0 12px rgba(0,255,255,0.5);
}
.faq-item {
  margin-bottom: 16px;
  border-radius: 12px;
  overflow: hidden;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(0,255,255,0.2);
}
.faq-question {
  width: 100%;
  background: transparent;
  color: white;
  font-size: 1.1rem;
  font-weight: 600;
  padding: 16px;
  text-align: left;
  border: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  background: rgba(0,0,0,0.4);
  color: #ddd;
  font-size: 0.95rem;
  padding: 0 16px;
  transition: all 0.4s ease;
}
.faq-item.active .faq-answer {
  max-height: 200px;
  padding: 16px;
}
.faq-item.active .arrow { transform: rotate(45deg); }

.faq, .blog {
  width: 100%;
  display: block;
  clear: both; /* fuerza a bajar debajo de los planes */
}


/* ===== BLOG ===== */
.blog {
  padding: 80px 20px;
  background: linear-gradient(180deg, #1e014d, #0a0f2c);
  text-align: center;
}
.blog-container {
  max-width: 1100px;
  margin: auto;
}
.blog h2 {
  font-size: 2.2rem;
  margin-bottom: 15px;
  color: #00f2fe;
  text-shadow: 0 0 12px rgba(0,255,255,0.5);
}
.blog-intro {
  color: #ccc;
  margin-bottom: 40px;
  font-size: 1.1rem;
}
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
}
.blog-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(0,255,255,0.2);
  border-radius: 16px;
  padding: 25px;
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.blog-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 0 25px rgba(0,255,255,0.4);
}
.blog-card h3 {
  color: white;
  margin-bottom: 12px;
}
.blog-card p {
  color: #bbb;
  font-size: 0.95rem;
  margin-bottom: 15px;
}
.blog-card a {
  color: #00f2fe;
  text-decoration: none;
  font-weight: 600;
}
.blog-card a:hover {
  text-decoration: underline;
}

/* ===== Sección IA: Pre-diseño Athendrix Ultra Deluxe ===== */
.pre-diseno-seccion {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 120px 20px;
  background: linear-gradient(-45deg, #0a0f2c, #1e014d, #0f0c29, #302b63, #24243e);
  background-size: 400% 400%;
  animation: gradientShift 18s ease infinite;
  position: relative;
  overflow: hidden;
}

/* Luces dinámicas de fondo */
.pre-diseno-seccion::before,
.pre-diseno-seccion::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.5;
  animation: pulse 12s infinite ease-in-out;
}

.pre-diseno-seccion::before {
  width: 400px;
  height: 400px;
  background: #00f2fe;
  top: -120px;
  left: -150px;
}

.pre-diseno-seccion::after {
  width: 500px;
  height: 500px;
  background: #7b61ff;
  bottom: -180px;
  right: -200px;
}

.pre-diseno-form {
  background: rgba(17, 25, 40, 0.92);
  padding: 60px 45px;
  border-radius: 32px;
  box-shadow: 0 25px 70px rgba(0,0,0,0.7), 0 0 40px rgba(0,200,255,0.25);
  max-width: 1050px;
  width: 100%;
  text-align: center;
  color: #f8fafc;
  border: 2px solid transparent;
  background-clip: padding-box;
  position: relative;
  overflow: hidden;
}

/* Borde neón animado */
.pre-diseno-form::before {
  content: "";
  position: absolute;
  inset: 0;
  padding: 2px;
  border-radius: inherit;
  background: linear-gradient(90deg, #00f2fe, #7b61ff, #00f2fe);
  background-size: 400% 400%;
  animation: borderFlow 8s linear infinite;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  pointer-events: none;
}

.pre-diseno-form h2 {
  margin-bottom: 20px;
  color: #00f2fe;
  font-size: 36px;
  font-weight: 800;
  letter-spacing: 1px;
  text-shadow: 0 0 12px rgba(0,255,255,0.6), 0 0 20px rgba(0,255,255,0.4);
  animation: glowText 3s ease-in-out infinite alternate;
}

.pre-diseno-form p {
  margin-bottom: 30px;
  font-size: 18px;
  color: #cbd5e1;
  line-height: 1.6;
}

.pre-diseno-form textarea {
  width: 96%;
  height: 160px;
  padding: 22px;
  border-radius: 22px;
  border: 1px solid #1a73e8;
  resize: none;
  font-size: 17px;
  margin-bottom: 30px;
  background-color: #0f172a;
  color: #f8fafc;
  box-shadow: inset 0 0 10px rgba(0,200,255,0.25);
  transition: all 0.3s ease;
}

.pre-diseno-form textarea:focus {
  border-color: #00f2fe;
  box-shadow: 0 0 12px rgba(0,200,255,0.6);
  outline: none;
}

.pre-diseno-form textarea::placeholder {
  color: #94a3b8;
  font-style: italic;
}

/* Botón impactante */
.pre-diseno-form button {
  background: linear-gradient(90deg, #00f2fe, #4facfe, #7b61ff);
  color: #0a0f2c;
  border: none;
  padding: 16px 40px;
  font-size: 18px;
  font-weight: 700;
  border-radius: 25px;
  cursor: pointer;
  transition: all 0.4s ease;
  box-shadow: 0 12px 30px rgba(0,200,255,0.5), 0 0 20px rgba(123,97,255,0.4);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.pre-diseno-form button:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 18px 45px rgba(0,200,255,0.8), 0 0 35px rgba(123,97,255,0.6);
}

#resultado {
  margin-top: 40px;
  text-align: center;
}

#resultado img {
  max-width: 100%;
  border-radius: 28px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.6), 0 0 30px rgba(0,255,255,0.3);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

#resultado img:hover {
  transform: scale(1.05);
  box-shadow: 0 25px 70px rgba(0,0,0,0.8), 0 0 45px rgba(0,255,255,0.6);
}

/* Animaciones */
@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes borderFlow {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes glowText {
  from { text-shadow: 0 0 8px #00f2fe, 0 0 16px rgba(123,97,255,0.6); }
  to { text-shadow: 0 0 16px #7b61ff, 0 0 28px rgba(0,242,254,0.6); }
}

@keyframes pulse {
  0%, 100% { opacity: 0.4; transform: scale(1); }
  50% { opacity: 0.7; transform: scale(1.2); }
}

/* ===== Responsive ===== */
@media (max-width: 992px) {
  .pre-diseno-form {
    padding: 50px 30px;
  }
  .pre-diseno-form h2 {
    font-size: 30px;
  }
  .pre-diseno-form p {
    font-size: 16px;
  }
}

@media (max-width: 768px) {
  .pre-diseno-form {
    padding: 40px 22px;
  }
  .pre-diseno-form h2 {
    font-size: 26px;
  }
  .pre-diseno-form textarea {
    height: 120px;
    font-size: 15px;
  }
  .pre-diseno-form button {
    padding: 14px 28px;
    font-size: 15px;
  }
}

@media (max-width: 480px) {
  .pre-diseno-form h2 {
    font-size: 22px;
  }
  .pre-diseno-form p {
    font-size: 14px;
  }
  .pre-diseno-form textarea {
    height: 100px;
    font-size: 14px;
  }
  .pre-diseno-form button {
    padding: 12px 24px;
    font-size: 14px;
  }
}
.whatsapp-float {
  position: fixed;
  width: 70px;
  height: 70px;
  bottom: 25px;
  right: 25px;
  background: linear-gradient(135deg, #25d366, #1ebe5d);
  border-radius: 50%;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
  transition: all 0.3s ease;
  border: 2px solid #ffffff33;
}

.whatsapp-float img {
  width: 36px;
  height: 36px;
}

.whatsapp-float:hover {
  transform: scale(1.12) translateY(-4px);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.35);
  background: linear-gradient(135deg, #29e06b, #21c860);
}
.contact-section {
  padding: 80px 20px;
  background: linear-gradient(135deg, #6a00ff, #5200d4);
  color: #fff;
  display: flex;
  justify-content: center;
}
/* Sección */
.contact-section {
  padding: 80px 20px;
  background: #1a0a3b; /* fondo oscuro */
  display: flex;
  justify-content: center;
  color: #fff;
  text-align: center;
}

/* Tarjeta del formulario */
.contact-container {
  background: rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(12px);
  border-radius: 20px;
  padding: 50px 40px;
  max-width: 700px;
  width: 100%;
  box-shadow: 0 0 20px #7b61ff, 0 0 35px rgba(0,242,254,0.6);
}

/* Títulos */
.contact-container h2 {
  font-size: 2.5rem;
  margin-bottom: 15px;
  color: #fff;
  text-shadow: 0 0 16px #7b61ff, 0 0 28px rgba(0,242,254,0.6);
}

.contact-container p {
  margin-bottom: 30px;
  color: #ddd;
  font-size: 1.1rem;
}

/* Inputs y textarea */
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 15px 20px;
  margin-bottom: 20px;
  border-radius: 12px;
  border: none;
  outline: none;
  font-size: 1rem;
  background: rgba(123, 97, 255, 0.1); /* base púrpura translúcida */
  color: #fff;
  transition: 0.3s;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #ccc;
}

.contact-form input:focus,
.contact-form textarea:focus {
  background: rgba(123, 97, 255, 0.2);
  box-shadow: 0 0 12px #7b61ff, 0 0 20px rgba(0,242,254,0.4);
}

/* Extras (checkbox) */
.contact-form .extras {
  display: flex;
  justify-content: space-around;
  margin-bottom: 30px;
  font-size: 1rem;
}

.contact-form .extras label {
  cursor: pointer;
}

/* Botón */
.contact-form button {
  padding: 15px 35px;
  font-size: 1.2rem;
  border: none;
  border-radius: 12px;
  background: linear-gradient(135deg, #7b61ff, #00f2fe);
  color: #fff;
  cursor: pointer;
  font-weight: bold;
  transition: all 0.3s ease;
  text-shadow: 0 0 8px #7b61ff, 0 0 16px rgba(0,242,254,0.5);
}

.contact-form button:hover {
  transform: scale(1.05);
  box-shadow: 0 0 20px #7b61ff, 0 0 35px rgba(0,242,254,0.6);
}
