/* ========================================================
   Estilos: Crear Web Rápida con IA
   Enfoque: glassmorphism, gradientes IA y microinteracciones
   MEJORADO: Aurora, holográfico, partículas IA, glow effects
   ======================================================== */
:root{
  --brand-1:#0d6efd;
  --brand-2:#6610f2;
  --brand-3:#8b5dff;
  --brand-4:#00d4ff;
  --brand-5:#ff006e;
  --dark-bg:#050816;
  --card-bg:rgba(255,255,255,0.92);
  --card-border:rgba(255,255,255,0.45);
  --shadow-strong:0 20px 60px rgba(5,7,28,0.35);
  --shadow-soft:0 14px 36px rgba(8,10,30,0.18);
  --shadow-glow:0 0 40px rgba(13,110,253,0.4);
  --text-muted:#5f6380;
  --text-heading:#0b1020;
  --gradient-ia:linear-gradient(120deg,var(--brand-1),var(--brand-2) 55%,var(--brand-3));
  --gradient-holo:linear-gradient(135deg,#667eea 0%,#764ba2 25%,#f093fb 50%,#00d4ff 75%,#667eea 100%);
  --gradient-aurora:linear-gradient(45deg,#00d4ff,#6366f1,#a855f7,#ec4899,#00d4ff);
}

body{
  font-family:'Poppins',system-ui,-apple-system,'Segoe UI',Roboto,'Helvetica Neue',Arial,sans-serif;
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
  color:var(--text-heading);
  background:radial-gradient(circle at 20% 20%,rgba(13,110,253,.14),transparent 60%),
             radial-gradient(circle at 80% 0%,rgba(102,16,242,.18),transparent 62%),
             var(--dark-bg);
  min-height:100vh;
  overflow-x:hidden;
}

.ia-body{
  position:relative;
  isolation:isolate;
}

.ia-body::before,
.ia-body::after{
  content:'';
  position:fixed;
  inset:auto -20% -20% auto;
  width:420px;
  height:420px;
  background:radial-gradient(circle,rgba(111,89,255,.45),rgba(111,89,255,0));
  filter:blur(30px);
  opacity:.55;
  pointer-events:none;
  z-index:-1;
  will-change:transform;
  transform:translateZ(0);
}
.ia-body::after{
  inset:auto auto 5% -10%;
  width:520px;
  height:520px;
  background:radial-gradient(circle,rgba(0,163,255,.35),rgba(0,163,255,0));
  opacity:.4;
}

/* ===== EFECTO AURORA BOREAL ANIMADO (OPTIMIZADO) ===== */
.aurora-bg{
  position:fixed;
  inset:0;
  pointer-events:none;
  z-index:-2;
  overflow:hidden;
  opacity:0.5;
  transition:opacity 1s ease-in-out;
}

/* Mostrar aurora completa cuando la página esté lista */
.page-loaded .aurora-bg{
  opacity:1;
}
.aurora-bg::before,
.aurora-bg::after{
  content:'';
  position:absolute;
  width:120vw;
  height:120vh;
  top:-50%;
  left:-25%;
  background:var(--gradient-aurora);
  background-size:400% 400%;
  animation:auroraMove 15s ease-in-out infinite paused;
  opacity:.08;
  filter:blur(35px);
  will-change:transform;
  transform:translateZ(0);
}
.aurora-bg::after{
  animation-delay:-7s;
  animation-direction:reverse;
  opacity:.06;
}

/* Activar animaciones cuando la página esté lista */
.page-loaded .aurora-bg::before,
.page-loaded .aurora-bg::after{
  animation-play-state:running;
}
@keyframes auroraMove{
  0%,100%{background-position:0% 50%;}
  50%{background-position:100% 50%;}
}

/* ===== GRID DE FONDO TIPO CYBER ===== */
.cyber-grid{
  position:fixed;
  inset:0;
  pointer-events:none;
  z-index:-3;
  background-image:
    linear-gradient(rgba(99,102,241,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(99,102,241,0.03) 1px, transparent 1px);
  background-size:60px 60px;
  mask-image:radial-gradient(ellipse 80% 60% at 50% 50%,black 30%,transparent 70%);
  opacity:0;
  transition:opacity 1.2s ease-in-out;
}

/* Mostrar grid cuando la página esté lista */
.page-loaded .cyber-grid{
  opacity:1;
}

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

a,
button{
  transition:all .2s ease;
}

::selection{
  background:rgba(102,16,242,.35);
  color:#fff;
}

.section-shell{
  position:relative;
  z-index:1;
}

.section-shell::before{
  content:'';
  position:absolute;
  inset:12% auto auto 10%;
  width:140px;
  height:140px;
  background:radial-gradient(circle,rgba(102,16,242,.18),transparent 68%);
  filter:blur(20px);
  opacity:.5;
  pointer-events:none;
  z-index:-1;
}

.section-shell.bg-body{
  background:linear-gradient(180deg,rgba(255,255,255,.92),rgba(245,248,255,.97));
}

.glass-panel{
  position:relative;
  background:var(--card-bg);
  border:1px solid var(--card-border);
  border-radius:1.2rem;
  box-shadow:var(--shadow-soft);
  backdrop-filter:blur(12px);
  -webkit-backdrop-filter:blur(12px);
  overflow:hidden;
  transform:translateZ(0);
}

.glass-panel::before{
  content:'';
  position:absolute;
  inset:0;
  border-radius:inherit;
  padding:1px;
  background:linear-gradient(130deg,rgba(255,255,255,.5),rgba(255,255,255,0),rgba(255,255,255,.35));
  -webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);
  -webkit-mask-composite:xor;
  mask-composite:exclude;
  pointer-events:none;
}

.glass-panel:hover{
  box-shadow:var(--shadow-strong),var(--shadow-glow);
  transform:translateY(-4px);
}

/* ===== EFECTO HOLOGRÁFICO PARA CARDS PREMIUM ===== */
.holo-card{
  position:relative;
  overflow:hidden;
}
.holo-card::before{
  content:'';
  position:absolute;
  inset:-2px;
  background:var(--gradient-holo);
  background-size:300% 300%;
  animation:holoShift 6s ease-in-out infinite;
  border-radius:inherit;
  z-index:-1;
  opacity:0;
  transition:opacity .4s ease;
}
.holo-card:hover::before{
  opacity:1;
}
.holo-card::after{
  content:'';
  position:absolute;
  inset:2px;
  background:var(--card-bg);
  border-radius:calc(1.2rem - 2px);
  z-index:-1;
}
@keyframes holoShift{
  0%,100%{background-position:0% 50%;}
  50%{background-position:100% 50%;}
}

/* ===== EFECTO GLOW PULSANTE ===== */
.glow-pulse{
  animation:glowPulse 2.5s ease-in-out infinite paused;
}

/* Activar cuando la página esté lista */
.page-loaded .glow-pulse{
  animation-play-state:running;
}
@keyframes glowPulse{
  0%,100%{box-shadow:0 0 20px rgba(13,110,253,0.4),0 0 40px rgba(102,16,242,0.2);}
  50%{box-shadow:0 0 30px rgba(13,110,253,0.6),0 0 60px rgba(102,16,242,0.4);}
}

.form-card{
  padding:1rem;
}

.generator-section{
  background:linear-gradient(180deg,rgba(11,17,36,.15),rgba(255,255,255,.08));
}

.steps-section{
  background:linear-gradient(180deg,rgba(255,255,255,.95),rgba(236,239,250,.8));
}

/* =====================================================
   TU WEB EN 5 PASOS - NUEVO DISEÑO CON COLORES
   ===================================================== */
.steps-section-new{
  background:linear-gradient(180deg, #f8fafc 0%, #eef2ff 50%, #fdf4ff 100%);
  position:relative;
  overflow:hidden;
}

.steps-section-new::before{
  content:'';
  position:absolute;
  top:0;
  left:0;
  right:0;
  bottom:0;
  background:url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%236366f1' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity:0.5;
}

/* Timeline de pasos */
.steps-timeline{
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  gap:20px;
  position:relative;
  padding:40px 0;
}

.steps-line{
  display:none;
}

@media (min-width:992px){
  .steps-line{
    display:block;
    position:absolute;
    top:50%;
    left:10%;
    right:10%;
    height:4px;
    background:linear-gradient(90deg, 
      #3b82f6 0%, 
      #8b5cf6 25%, 
      #ec4899 50%, 
      #f59e0b 75%, 
      #10b981 100%
    );
    transform:translateY(-50%);
    border-radius:4px;
    z-index:0;
  }
}

/* Card de cada paso */
.step-card{
  display:flex;
  flex-direction:column;
  align-items:center;
  text-align:center;
  padding:24px 16px;
  background:#fff;
  border-radius:20px;
  box-shadow:0 10px 40px rgba(0,0,0,0.08);
  position:relative;
  z-index:1;
  width:180px;
  transition:all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.step-card:hover{
  transform:translateY(-10px) scale(1.05);
}

/* Colores únicos para cada paso */
.step-1 .step-icon-circle{
  background:linear-gradient(135deg, #3b82f6, #1d4ed8);
  box-shadow:0 8px 25px rgba(59,130,246,0.4);
}
.step-1:hover{
  box-shadow:0 20px 50px rgba(59,130,246,0.25);
}

.step-2 .step-icon-circle{
  background:linear-gradient(135deg, #8b5cf6, #6d28d9);
  box-shadow:0 8px 25px rgba(139,92,246,0.4);
}
.step-2:hover{
  box-shadow:0 20px 50px rgba(139,92,246,0.25);
}

.step-3 .step-icon-circle{
  background:linear-gradient(135deg, #ec4899, #be185d);
  box-shadow:0 8px 25px rgba(236,72,153,0.4);
}
.step-3:hover{
  box-shadow:0 20px 50px rgba(236,72,153,0.25);
}

.step-4 .step-icon-circle{
  background:linear-gradient(135deg, #f59e0b, #d97706);
  box-shadow:0 8px 25px rgba(245,158,11,0.4);
}
.step-4:hover{
  box-shadow:0 20px 50px rgba(245,158,11,0.25);
}

.step-5 .step-icon-circle{
  background:linear-gradient(135deg, #10b981, #059669);
  box-shadow:0 8px 25px rgba(16,185,129,0.4);
}
.step-5:hover{
  box-shadow:0 20px 50px rgba(16,185,129,0.25);
}

/* Icono circular */
.step-icon-circle{
  width:80px;
  height:80px;
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  position:relative;
  margin-bottom:16px;
  transition:all 0.3s ease;
}

.step-card:hover .step-icon-circle{
  transform:scale(1.1) rotate(5deg);
}

.step-icon-circle i{
  font-size:2rem;
  color:#fff;
}

.step-num{
  position:absolute;
  top:-8px;
  right:-8px;
  width:28px;
  height:28px;
  background:#fff;
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight:800;
  font-size:0.85rem;
  color:#1f2937;
  box-shadow:0 4px 12px rgba(0,0,0,0.15);
}

.step-title{
  font-weight:700;
  font-size:1rem;
  margin-bottom:6px;
  color:#1f2937;
}

.step-desc{
  font-size:0.8rem;
  color:#6b7280;
  margin:0;
  line-height:1.4;
}

/* Cards de beneficios - NUEVO DISEÑO */
.benefit-card-new{
  position:relative;
  padding:28px 24px;
  border-radius:20px;
  background:#fff;
  display:flex;
  gap:20px;
  align-items:flex-start;
  box-shadow:0 10px 40px rgba(0,0,0,0.06);
  border:1px solid rgba(0,0,0,0.04);
  transition:all 0.3s ease;
  overflow:hidden;
  height:100%;
}

.benefit-card-new:hover{
  transform:translateY(-5px);
}

.benefit-card-new::before{
  content:'';
  position:absolute;
  top:0;
  left:0;
  right:0;
  height:4px;
}

/* Colores por tipo de beneficio */
.benefit-rapido::before{
  background:linear-gradient(90deg, #f59e0b, #fbbf24);
}
.benefit-rapido .benefit-icon-new{
  background:linear-gradient(135deg, #fef3c7, #fde68a);
  color:#d97706;
}
.benefit-rapido:hover{
  box-shadow:0 20px 50px rgba(245,158,11,0.15);
}

.benefit-codigo::before{
  background:linear-gradient(90deg, #8b5cf6, #a78bfa);
}
.benefit-codigo .benefit-icon-new{
  background:linear-gradient(135deg, #ede9fe, #ddd6fe);
  color:#7c3aed;
}
.benefit-codigo:hover{
  box-shadow:0 20px 50px rgba(139,92,246,0.15);
}

.benefit-economico::before{
  background:linear-gradient(90deg, #10b981, #34d399);
}
.benefit-economico .benefit-icon-new{
  background:linear-gradient(135deg, #d1fae5, #a7f3d0);
  color:#059669;
}
.benefit-economico:hover{
  box-shadow:0 20px 50px rgba(16,185,129,0.15);
}

.benefit-icon-new{
  width:60px;
  height:60px;
  min-width:60px;
  border-radius:16px;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:1.5rem;
  transition:all 0.3s ease;
}

.benefit-card-new:hover .benefit-icon-new{
  transform:scale(1.1) rotate(-5deg);
}

.benefit-content h5{
  color:#1f2937;
}

.benefit-content p{
  font-size:0.9rem;
  color:#6b7280;
  line-height:1.5;
}

.benefit-badge{
  position:absolute;
  top:16px;
  right:16px;
  padding:4px 12px;
  border-radius:20px;
  font-size:0.7rem;
  font-weight:700;
  background:#f1f5f9;
  color:#475569;
}

.benefit-rapido .benefit-badge{
  background:#fef3c7;
  color:#92400e;
}

.benefit-codigo .benefit-badge{
  background:#ede9fe;
  color:#6d28d9;
}

.benefit-economico .benefit-badge{
  background:#d1fae5;
  color:#065f46;
}

/* Responsive pasos */
@media (max-width:991px){
  .steps-timeline{
    flex-direction:column;
    align-items:center;
  }
  
  .step-card{
    width:100%;
    max-width:280px;
    flex-direction:row;
    text-align:left;
    gap:16px;
  }
  
  .step-icon-circle{
    margin-bottom:0;
  }
  
  .step-content{
    flex:1;
  }
}

@media (max-width:576px){
  .benefit-card-new{
    flex-direction:column;
    text-align:center;
    align-items:center;
  }
  
  .benefit-badge{
    position:relative;
    top:auto;
    right:auto;
    margin-top:12px;
  }
}

.pricing-section{
  background:linear-gradient(180deg,rgba(11,17,36,.08),rgba(255,255,255,.95));
}

.cta-section{
  background:linear-gradient(180deg,rgba(255,255,255,.92),rgba(241,244,255,.85));
}

/* =====================================================
   NAVBAR PREMIUM
   ===================================================== */
.navbar-premium{
  background:rgba(15,23,42,0.85);
  backdrop-filter:blur(14px);
  -webkit-backdrop-filter:blur(14px);
  border-bottom:1px solid rgba(255,255,255,0.08);
  padding:12px 0;
  transition:all 0.3s ease;
  transform:translateZ(0);
}

.navbar-premium.scrolled{
  background:rgba(15,23,42,0.98);
  box-shadow:0 10px 40px rgba(0,0,0,0.3);
  padding:8px 0;
}

/* Logo SVG */
.brand-logo{
  flex-shrink:0;
  border-radius:12px;
  filter:drop-shadow(0 8px 20px rgba(99,102,241,0.4));
  transition:all 0.3s ease;
}

.navbar-brand:hover .brand-logo{
  transform:translateY(-3px) scale(1.05);
  filter:drop-shadow(0 12px 30px rgba(99,102,241,0.5));
}

.brand-text{
  font-weight:700;
  font-size:1.25rem;
  color:#fff;
  letter-spacing:-0.5px;
  background:linear-gradient(90deg, #fff, #e0e7ff);
  -webkit-background-clip:text;
  -webkit-text-fill-color:transparent;
  background-clip:text;
}

/* Nav Links */
.navbar-premium .nav-link{
  color:rgba(255,255,255,0.75);
  padding:10px 16px;
  border-radius:10px;
  font-size:0.9rem;
  font-weight:500;
  display:flex;
  align-items:center;
  gap:8px;
  transition:all 0.25s ease;
  position:relative;
}

.navbar-premium .nav-link i{
  font-size:1rem;
  opacity:0.7;
  transition:all 0.25s ease;
}

.navbar-premium .nav-link:hover{
  color:#fff;
  background:rgba(255,255,255,0.08);
}

.navbar-premium .nav-link:hover i{
  opacity:1;
  transform:scale(1.15);
  color:#a855f7;
}

/* Active state */
.navbar-premium .nav-link.active{
  color:#fff;
  background:linear-gradient(135deg, rgba(99,102,241,0.2), rgba(168,85,247,0.2));
}

.navbar-premium .nav-link.active i{
  opacity:1;
  color:#a855f7;
}

/* CTA Button */
.nav-cta{
  background:linear-gradient(135deg, #6366f1, #8b5cf6) !important;
  color:#fff !important;
  padding:10px 20px !important;
  border-radius:12px !important;
  box-shadow:0 6px 20px rgba(99,102,241,0.35);
}

.nav-cta:hover{
  background:linear-gradient(135deg, #4f46e5, #7c3aed) !important;
  transform:translateY(-2px);
  box-shadow:0 10px 30px rgba(99,102,241,0.45) !important;
}

.nav-cta i{
  opacity:1 !important;
  color:#fff !important;
}

/* Toggler móvil */
.navbar-toggler{
  border:none;
  padding:8px;
  background:rgba(255,255,255,0.1);
  border-radius:10px;
}

.navbar-toggler:focus{
  box-shadow:0 0 0 3px rgba(99,102,241,0.4);
}

.toggler-icon{
  display:flex;
  flex-direction:column;
  gap:5px;
  width:24px;
}

.toggler-icon span{
  display:block;
  height:2px;
  background:#fff;
  border-radius:2px;
  transition:all 0.3s ease;
}

.toggler-icon span:nth-child(2){
  width:70%;
}

.navbar-toggler[aria-expanded="true"] .toggler-icon span:nth-child(1){
  transform:rotate(45deg) translate(5px, 5px);
}

.navbar-toggler[aria-expanded="true"] .toggler-icon span:nth-child(2){
  opacity:0;
}

.navbar-toggler[aria-expanded="true"] .toggler-icon span:nth-child(3){
  transform:rotate(-45deg) translate(5px, -5px);
}

/* Móvil */
@media(max-width:991px){
  .navbar-premium .navbar-collapse{
    background:rgba(15,23,42,0.98);
    margin-top:16px;
    padding:16px;
    border-radius:16px;
    border:1px solid rgba(255,255,255,0.1);
  }
  
  .navbar-premium .nav-link{
    padding:14px 16px;
    border-radius:12px;
  }
  
  .nav-item-cta{
    margin-top:8px;
    padding-top:8px;
    border-top:1px solid rgba(255,255,255,0.1);
  }
  
  .nav-cta{
    justify-content:center;
  }
}

/* Legacy support */
.nav-glass{
  background:rgba(15,23,42,0.85);
  backdrop-filter:blur(14px);
  -webkit-backdrop-filter:blur(14px);
  transform:translateZ(0);
}

.navbar-gradient{
  background:transparent;
}

/* Hero */
.hero-section{
  position:relative;
  overflow:hidden;
  background:radial-gradient(1200px 600px at 80% -200px,rgba(102,16,242,.35),transparent),
             radial-gradient(1000px 500px at -10% -200px,rgba(13,110,253,.35),transparent),
             linear-gradient(180deg,#131a2a,#070912);
}

.hero-section::before,
.hero-section::after{
  content:'';
  position:absolute;
  inset:10% auto auto 15%;
  width:380px;
  height:380px;
  background:radial-gradient(circle at 30% 30%,rgba(255,255,255,.2),transparent 60%);
  opacity:.5;
  filter:blur(35px);
  pointer-events:none;
}

.hero-section::after{
  inset:auto 8% 10% auto;
  width:300px;
  height:300px;
  background:radial-gradient(circle at 70% 70%,rgba(0,163,255,.35),transparent 60%);
}

.hero-animated-bg{
  position:absolute;
  inset:-20% -10% 0 -10%;
  background:
    radial-gradient(900px 450px at 10% 15%,rgba(13,110,253,.12),transparent),
    radial-gradient(700px 350px at 90% 20%,rgba(102,16,242,.15),transparent),
    linear-gradient(120deg,rgba(6,8,40,.8),rgba(6,8,40,.55));
  mix-blend-mode:screen;
  animation:bgMove 18s ease-in-out infinite;
}

@keyframes bgMove{
  0%{transform:translate3d(0,0,0);opacity:.95;}
  50%{transform:translate3d(-2%,1%,0);opacity:1;}
  100%{transform:translate3d(0,0,0);opacity:.95;}
}

.hero-particles{
  position:absolute;
  inset:0;
  pointer-events:none;
}

.hero-particles .particle{
  position:absolute;
  border-radius:50%;
  opacity:.15;
  filter:blur(6px);
}

@keyframes floatSmall{
  0%{transform:translateY(0);}
  50%{transform:translateY(-18px);}
  100%{transform:translateY(0);}
}

.hero-particles .p1{width:22px;height:22px;left:8%;top:30%;background:#66d0ff;animation:floatSmall 6s ease-in-out infinite;}
.hero-particles .p2{width:16px;height:16px;left:22%;top:12%;background:#8affc1;animation:floatSmall 8s ease-in-out infinite .5s;}
.hero-particles .p3{width:26px;height:26px;right:18%;top:24%;background:#ffd26b;animation:floatSmall 7s ease-in-out infinite 1s;}
.hero-particles .p4{width:12px;height:12px;right:8%;bottom:18%;background:#ff86d6;animation:floatSmall 5.5s ease-in-out infinite .2s;}
.hero-particles .p5{width:14px;height:14px;left:46%;top:8%;background:#6f59ff;animation:floatSmall 9s ease-in-out infinite .8s;}
.hero-particles .p6{width:18px;height:18px;left:70%;top:42%;background:#00a3ff;animation:floatSmall 6.5s ease-in-out infinite .3s;}

.hero-section .container{
  position:relative;
  z-index:4;
}

/* ===== NUEVO HERO MODERNO ===== */
.text-gradient{
  background:linear-gradient(135deg,#00d4ff,#a855f7,#ec4899);
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
}

.text-white-75{
  color:rgba(255,255,255,.75);
}

.hero-section h1{
  line-height:1.1;
  letter-spacing:-0.02em;
}

/* Botones del Hero */
.btn-hero-primary{
  background:linear-gradient(135deg,var(--brand-1),var(--brand-2));
  color:#fff;
  border:none;
  padding:.9rem 2rem;
  font-weight:600;
  border-radius:12px;
  box-shadow:0 10px 30px rgba(13,110,253,.4);
  transition:all .3s ease;
  position:relative;
  overflow:hidden;
}

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

.btn-hero-primary:hover{
  transform:translateY(-3px);
  box-shadow:0 15px 40px rgba(13,110,253,.5);
  color:#fff;
}

.btn-hero-primary:hover::before{
  left:100%;
}

.btn-hero-secondary{
  background:rgba(255,255,255,.1);
  color:#fff;
  border:1px solid rgba(255,255,255,.2);
  padding:.9rem 2rem;
  font-weight:600;
  border-radius:12px;
  backdrop-filter:blur(10px);
  transition:all .3s ease;
}

.btn-hero-secondary:hover{
  background:rgba(255,255,255,.2);
  border-color:rgba(255,255,255,.4);
  color:#fff;
  transform:translateY(-3px);
}

/* Stats del Hero */
.hero-stats{
  padding-top:1rem;
  border-top:1px solid rgba(255,255,255,.1);
}

.hero-stat{
  display:flex;
  align-items:center;
  gap:.5rem;
}

.hero-stat-number{
  font-size:1.5rem;
  font-weight:800;
  background:linear-gradient(135deg,#00d4ff,#a855f7);
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
}

.hero-stat-label{
  font-size:.85rem;
  color:rgba(255,255,255,.6);
}

/* Visual del Hero - Nuevo dispositivo */
.hero-visual-wrapper{
  position:relative;
  display:flex;
  justify-content:center;
  align-items:center;
}

.hero-glow{
  position:absolute;
  width:100%;
  height:100%;
  background:radial-gradient(circle at 50% 50%,rgba(13,110,253,.3),transparent 60%);
  filter:blur(35px);
  animation:glowPulse 4s ease-in-out infinite paused;
  will-change:transform;
  transform:translateZ(0);
}

/* Activar glow cuando la página esté lista */
.page-loaded .hero-glow{
  animation-play-state:running;
}

.hero-device-new{
  position:relative;
  z-index:2;
}

.device-frame{
  background:linear-gradient(145deg,#1a1a2e,#0f0f1a);
  border-radius:24px;
  padding:12px;
  box-shadow:
    0 25px 80px rgba(0,0,0,.5),
    0 0 0 1px rgba(255,255,255,.1),
    inset 0 1px 0 rgba(255,255,255,.1);
  position:relative;
  animation:deviceFloat 6s ease-in-out infinite;
}

@keyframes deviceFloat{
  0%,100%{transform:translateY(0);}
  50%{transform:translateY(-10px);}
}

.device-notch{
  width:80px;
  height:6px;
  background:rgba(255,255,255,.1);
  border-radius:3px;
  margin:0 auto 10px;
}

.device-screen{
  border-radius:16px;
  overflow:hidden;
  background:#0a0a0f;
}

.device-screen img{
  width:100%;
  height:auto;
  display:block;
  object-fit:cover;
}

/* Badge flotante */
.hero-float-badge{
  position:absolute;
  bottom:20px;
  left:-20px;
  background:rgba(255,255,255,.95);
  padding:.6rem 1rem;
  border-radius:12px;
  display:flex;
  align-items:center;
  gap:.5rem;
  font-size:.85rem;
  font-weight:600;
  color:#0f172a;
  box-shadow:0 10px 30px rgba(0,0,0,.2);
  animation:floatBadge 3s ease-in-out infinite;
}

@keyframes floatBadge{
  0%,100%{transform:translateY(0);}
  50%{transform:translateY(-5px);}
}

.hero-float-badge i{
  font-size:1.1rem;
}

/* Onda inferior del Hero */
.hero-wave{
  position:absolute;
  bottom:0;
  left:0;
  right:0;
  line-height:0;
  color:#f8f9fa;
}

.hero-wave svg{
  width:100%;
  height:80px;
}

/* Badge del hero */
.hero-section .badge-new{
  background:rgba(255,255,255,.15);
  color:#fff;
  border:1px solid rgba(255,255,255,.2);
  backdrop-filter:blur(10px);
}

/* Responsive Hero */
@media (max-width:991px){
  .hero-section h1{
    font-size:2.5rem;
  }
  .hero-visual-wrapper{
    margin-top:2rem;
  }
  .hero-float-badge{
    left:10px;
    bottom:10px;
  }
}

@media (max-width:576px){
  .hero-section{
    padding-top:3rem;
    padding-bottom:5rem;
  }
  .hero-section h1{
    font-size:2rem;
  }
  .hero-stats{
    justify-content:center;
  }
  .btn-hero-primary,
  .btn-hero-secondary{
    width:100%;
    justify-content:center;
  }
}

.btn{
  border-radius:.9rem;
  font-weight:600;
  box-shadow:none;
  border-width:1px;
  position:relative;
  overflow:hidden;
  transition:all .3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== EFECTO SHINE EN BOTONES ===== */
.btn::before{
  content:'';
  position:absolute;
  top:0;
  left:-100%;
  width:100%;
  height:100%;
  background:linear-gradient(
    90deg,
    transparent,
    rgba(255,255,255,0.3),
    transparent
  );
  transition:left .5s ease;
}
.btn:hover::before{
  left:100%;
}

.btn-primary{
  background:var(--gradient-ia);
  border:0;
  box-shadow:0 16px 30px rgba(80,87,255,.35),0 0 20px rgba(13,110,253,0.3);
}
.btn-primary:hover{
  filter:brightness(1.1);
  box-shadow:0 20px 45px rgba(80,87,255,.5),0 0 40px rgba(13,110,253,0.5);
  transform:translateY(-3px);
}

/* ===== BOTÓN CTA ESPECIAL CON BORDE ANIMADO ===== */
.btn-magic{
  background:linear-gradient(135deg,#667eea,#764ba2);
  border:none;
  position:relative;
  z-index:1;
}
.btn-magic::after{
  content:'';
  position:absolute;
  inset:-3px;
  background:var(--gradient-holo);
  background-size:400% 400%;
  border-radius:inherit;
  z-index:-1;
  animation:holoShift 4s ease-in-out infinite;
  filter:blur(8px);
  opacity:0.7;
}

.btn-outline-light{
  border-color:rgba(255,255,255,.55);
  color:#fff;
  backdrop-filter:blur(6px);
}
.btn-outline-light:hover{background:rgba(255,255,255,.15);color:#fff;border-color:rgba(255,255,255,.8);}

.btn-outline-secondary{
  border-color:rgba(13,17,35,.25);
  color:#0f172a;
  background:rgba(255,255,255,.7);
}
.btn-outline-secondary:hover{border-color:var(--brand-2);color:var(--brand-2);}

.btn-success{
  box-shadow:0 16px 30px rgba(25,135,84,.35);
}

.btn-email{
  background:#ffffff;
  color:#0b0f1e;
  border:1px solid rgba(11,15,30,.06);
  border-radius:.9rem;
  padding:.65rem 1.2rem;
  display:inline-flex;
  align-items:center;
  gap:.5rem;
  box-shadow:0 8px 20px rgba(11,15,30,.09);
}
.btn-email:hover{transform:translateY(-3px);box-shadow:0 16px 36px rgba(11,15,30,.12);}

@media (max-width:767px){
  .btn-email,.btn-success{width:100%;}
}

/* =====================================================
   SECCIÓN PLANTILLAS - GALERÍA DINÁMICA
   ===================================================== */
.plantillas-section{
  background:linear-gradient(180deg, #f8fafc 0%, #eef2ff 50%, #f8fafc 100%);
  position:relative;
  overflow:hidden;
}

.plantillas-section::before{
  content:'';
  position:absolute;
  top:0;
  left:0;
  right:0;
  bottom:0;
  background:url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%236366f1' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events:none;
}

/* Buscador de plantillas */
.plantillas-buscador{
  max-width:600px;
  margin:0 auto;
}

.buscador-wrapper{
  position:relative;
  display:flex;
  align-items:center;
}

.buscador-wrapper .buscador-icon{
  position:absolute;
  left:18px;
  color:#94a3b8;
  font-size:1.1rem;
  pointer-events:none;
  transition:color 0.3s;
}

.buscador-wrapper:focus-within .buscador-icon{
  color:#6366f1;
}

.buscador-wrapper .form-control{
  padding:15px 50px 15px 50px;
  border-radius:50px;
  border:2px solid rgba(99,102,241,0.15);
  background:#fff;
  font-size:1rem;
  transition:all 0.3s ease;
  box-shadow:0 4px 20px rgba(0,0,0,0.05);
}

.buscador-wrapper .form-control:focus{
  border-color:#6366f1;
  box-shadow:0 4px 25px rgba(99,102,241,0.15);
  outline:none;
}

.buscador-wrapper .form-control::placeholder{
  color:#94a3b8;
}

.buscador-clear{
  position:absolute;
  right:15px;
  width:32px;
  height:32px;
  border:none;
  border-radius:50%;
  background:rgba(99,102,241,0.1);
  color:#6366f1;
  cursor:pointer;
  display:flex;
  align-items:center;
  justify-content:center;
  transition:all 0.3s;
}

.buscador-clear:hover{
  background:#6366f1;
  color:#fff;
}

.buscador-resultados{
  text-align:center;
  padding:8px 0;
  font-size:0.9rem;
  color:#64748b;
}

.buscador-resultados .resultados-count{
  font-weight:600;
  color:#6366f1;
}

.buscador-resultados .no-resultados{
  color:#ef4444;
}

/* Filtros */
.plantillas-filtros{
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  gap:10px;
}

.filtro-btn{
  padding:10px 20px;
  border:1px solid rgba(99,102,241,0.2);
  border-radius:50px;
  background:#fff;
  color:#64748b;
  font-size:0.9rem;
  font-weight:500;
  cursor:pointer;
  transition:all 0.3s ease;
  display:flex;
  align-items:center;
  gap:8px;
}

.filtro-btn:hover{
  border-color:rgba(99,102,241,0.5);
  color:#6366f1;
  background:rgba(99,102,241,0.05);
}

.filtro-btn.active{
  background:linear-gradient(135deg, #6366f1, #8b5cf6);
  color:#fff;
  border-color:transparent;
  box-shadow:0 4px 15px rgba(99,102,241,0.3);
}

/* Carrusel wrapper */
.plantillas-carousel-wrapper{
  position:relative;
  padding:0 50px;
}

.carousel-nav{
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  width:45px;
  height:45px;
  border:none;
  border-radius:50%;
  background:#fff;
  color:#6366f1;
  font-size:1.2rem;
  cursor:pointer;
  z-index:10;
  box-shadow:0 4px 20px rgba(0,0,0,0.1);
  transition:all 0.3s ease;
  display:flex;
  align-items:center;
  justify-content:center;
}

.carousel-nav:hover{
  background:linear-gradient(135deg, #6366f1, #8b5cf6);
  color:#fff;
  transform:translateY(-50%) scale(1.1);
}

.carousel-prev{left:0;}
.carousel-next{right:0;}

/* Carrusel */
.plantillas-carousel{
  display:flex;
  gap:24px;
  overflow-x:auto;
  scroll-snap-type:x mandatory;
  scroll-behavior:smooth;
  padding:20px 0;
  scrollbar-width:none;
  -ms-overflow-style:none;
}

.plantillas-carousel::-webkit-scrollbar{
  display:none;
}

.plantillas-loading{
  width:100%;
  padding:60px;
  text-align:center;
}

/* Card de plantilla */
.plantilla-card{
  min-width:320px;
  max-width:320px;
  background:#fff;
  border-radius:20px;
  overflow:hidden;
  scroll-snap-align:start;
  box-shadow:0 10px 40px rgba(0,0,0,0.08);
  transition:all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  cursor:pointer;
  position:relative;
}

.plantilla-card:hover{
  transform:translateY(-10px) scale(1.02);
  box-shadow:0 25px 60px rgba(99,102,241,0.2);
}

.plantilla-card.destacada::before{
  content:'⭐ Destacada';
  position:absolute;
  top:16px;
  right:16px;
  background:linear-gradient(135deg, #f59e0b, #f97316);
  color:#fff;
  font-size:0.7rem;
  font-weight:700;
  padding:5px 12px;
  border-radius:20px;
  z-index:5;
}

/* Preview de la plantilla */
.plantilla-preview{
  height:200px;
  position:relative;
  overflow:hidden;
  background-color:#f1f5f9;
}

/* Badge destacada sobre la imagen */
.plantilla-badge-destacada{
  position:absolute;
  top:12px;
  right:12px;
  background:linear-gradient(135deg, #f59e0b, #d97706);
  color:#fff;
  padding:6px 12px;
  border-radius:20px;
  font-size:0.75rem;
  font-weight:600;
  display:flex;
  align-items:center;
  gap:4px;
  z-index:5;
  box-shadow:0 2px 10px rgba(0,0,0,0.2);
}

.plantilla-preview-img{
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:top;
  transition:transform 0.5s ease;
}

.plantilla-card:hover .plantilla-preview-img{
  transform:scale(1.1);
}

.plantilla-preview-overlay{
  position:absolute;
  inset:0;
  background:linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 60%);
  opacity:0;
  transition:opacity 0.3s ease;
  display:flex;
  align-items:center;
  justify-content:center;
}

.plantilla-card:hover .plantilla-preview-overlay{
  opacity:1;
}

.plantilla-preview-btn{
  background:#fff;
  color:#6366f1;
  border:none;
  padding:12px 24px;
  border-radius:50px;
  font-weight:600;
  display:flex;
  align-items:center;
  gap:8px;
  transform:translateY(20px);
  opacity:0;
  transition:all 0.3s ease 0.1s;
}

.plantilla-card:hover .plantilla-preview-btn{
  transform:translateY(0);
  opacity:1;
}

/* Contenido de la card */
.plantilla-content{
  padding:20px;
}

.plantilla-header{
  display:flex;
  align-items:flex-start;
  gap:12px;
  margin-bottom:12px;
}

.plantilla-icon{
  width:45px;
  height:45px;
  border-radius:12px;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:1.2rem;
  color:#fff;
  flex-shrink:0;
}

.plantilla-nombre{
  font-weight:700;
  font-size:1.1rem;
  margin-bottom:2px;
  color:#1f2937;
}

.plantilla-categoria{
  font-size:0.8rem;
  color:#6b7280;
  display:flex;
  align-items:center;
  gap:4px;
}

.plantilla-descripcion{
  font-size:0.85rem;
  color:#6b7280;
  line-height:1.5;
  margin-bottom:12px;
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  overflow:hidden;
}

/* Tags de tecnologías */
.plantilla-tags{
  display:flex;
  flex-wrap:wrap;
  gap:6px;
  margin-bottom:12px;
}

.plantilla-tag{
  background:rgba(99,102,241,0.1);
  color:#6366f1;
  font-size:0.7rem;
  font-weight:600;
  padding:4px 10px;
  border-radius:20px;
}

/* Secciones incluidas */
.plantilla-secciones{
  display:flex;
  flex-wrap:wrap;
  gap:4px;
}

.plantilla-seccion{
  background:#f1f5f9;
  color:#64748b;
  font-size:0.65rem;
  padding:3px 8px;
  border-radius:4px;
}

/* Indicadores (dots) */
.plantillas-dots{
  display:flex;
  justify-content:center;
  gap:8px;
  margin-top:20px;
}

.plantilla-dot{
  width:10px;
  height:10px;
  border-radius:50%;
  background:#d1d5db;
  border:none;
  cursor:pointer;
  transition:all 0.3s ease;
}

.plantilla-dot.active{
  background:linear-gradient(135deg, #6366f1, #8b5cf6);
  width:30px;
  border-radius:10px;
}

/* Info adicional */
.plantillas-info{
  border:1px solid rgba(99,102,241,0.2);
}

.plantillas-info .info-icon{
  width:45px;
  height:45px;
  background:linear-gradient(135deg, #6366f1, #8b5cf6);
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  color:#fff;
  font-size:1.2rem;
}

/* Modal de preview */
.plantilla-modal-header{
  background:linear-gradient(135deg, #0f172a, #1e293b);
  color:#fff;
  border-bottom:none;
  padding:16px 24px;
}

.plantilla-modal-icon{
  width:45px;
  height:45px;
  border-radius:12px;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:1.3rem;
  color:#fff;
}

.plantilla-iframe{
  width:100%;
  height:100%;
  border:none;
}

/* Responsive */
@media(max-width:768px){
  .plantillas-carousel-wrapper{
    padding:0;
  }
  
  .carousel-nav{
    display:none;
  }
  
  .plantilla-card{
    min-width:280px;
    max-width:280px;
  }
  
  .filtro-btn{
    padding:8px 14px;
    font-size:0.8rem;
  }
  
  .filtro-btn span{
    display:none;
  }
  
  .plantillas-info{
    flex-direction:column;
    text-align:center;
    border-radius:20px !important;
    padding:20px !important;
  }
  
  .plantillas-info .text-start{
    text-align:center !important;
  }
}

/* =====================================================
   TOOL CARDS - Explicación de herramientas
   ===================================================== */
.tool-card{
  display:flex;
  flex-direction:column;
  border:1px solid rgba(0,0,0,0.08);
  transition:all 0.3s ease;
}

.tool-card:hover{
  transform:translateY(-5px);
  box-shadow:0 20px 50px rgba(0,0,0,0.1);
}

.tool-card.highlighted{
  border-color:rgba(99,102,241,0.3);
  background:linear-gradient(135deg, rgba(99,102,241,0.03), rgba(139,92,246,0.05));
}

.tool-icon{
  width:55px;
  height:55px;
  border-radius:16px;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:1.5rem;
  flex-shrink:0;
}

.tool-icon.local{
  background:linear-gradient(135deg, #10b981, #34d399);
  color:#fff;
}

.tool-icon.ia{
  background:linear-gradient(135deg, #6366f1, #8b5cf6);
  color:#fff;
}

.tool-features{
  list-style:none;
  padding:0;
  margin:0 0 16px 0;
}

.tool-features li{
  padding:8px 0;
  border-bottom:1px solid rgba(0,0,0,0.05);
  font-size:0.9rem;
  display:flex;
  align-items:flex-start;
  gap:10px;
}

.tool-features li:last-child{
  border-bottom:none;
}

.tool-features i{
  margin-top:3px;
}

.tool-cta{
  margin-top:auto;
}

/* Action Cards - Qué puedes hacer */
.action-card{
  background:rgba(255,255,255,0.8);
  border:1px solid rgba(0,0,0,0.06);
  border-radius:16px;
  transition:all 0.3s ease;
}

.action-card:hover{
  background:#fff;
  box-shadow:0 10px 30px rgba(0,0,0,0.08);
  transform:translateY(-3px);
}

.action-icon{
  width:45px;
  height:45px;
  margin:0 auto;
  background:linear-gradient(135deg, rgba(99,102,241,0.1), rgba(139,92,246,0.15));
  border-radius:12px;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:1.2rem;
  color:#6366f1;
}

.action-card:hover .action-icon{
  background:var(--gradient-ia);
  color:#fff;
}

.smaller{
  font-size:0.75rem;
}

/* Features (legacy) */
.feature-card{
  background:rgba(255,255,255,.92);
  border:1px solid rgba(13,17,35,.08);
  transition:all .35s 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:var(--gradient-ia);
  transform:scaleX(0);
  transform-origin:left;
  transition:transform .4s ease;
}
.feature-card:hover::before{
  transform:scaleX(1);
}
.feature-card:hover{
  transform:translateY(-8px) scale(1.02);
  box-shadow:0 20px 50px rgba(8,9,24,.22),0 0 30px rgba(13,110,253,0.15);
}

/* ===== NUEVO: Iconos de features mejorados ===== */
.feature-icon-new{
  width:70px;
  height:70px;
  margin:0 auto;
  display:flex;
  align-items:center;
  justify-content:center;
  background:linear-gradient(135deg,rgba(13,110,253,.08),rgba(102,16,242,.08));
  border-radius:18px;
  position:relative;
  transition:all .4s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-icon-new::before{
  content:'';
  position:absolute;
  inset:-2px;
  border-radius:20px;
  background:var(--gradient-ia);
  opacity:0;
  transition:opacity .3s ease;
  z-index:-1;
}

.feature-icon-new i{
  font-size:1.8rem;
  background:var(--gradient-ia);
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
  transition:all .3s ease;
}

.feature-card:hover .feature-icon-new{
  background:var(--gradient-ia);
  transform:scale(1.1) rotate(-5deg);
}

.feature-card:hover .feature-icon-new::before{
  opacity:1;
}

.feature-card:hover .feature-icon-new i{
  color:#fff;
  -webkit-background-clip:unset;
  background-clip:unset;
  background:transparent;
}

/* Viejo icon-wrap (mantener compatibilidad) */
.icon-wrap{
  width:60px;
  height:60px;
  border-radius:16px;
  display:grid;
  place-items:center;
  font-size:1.4rem;
  background:linear-gradient(135deg,rgba(13,110,253,.12),rgba(102,16,242,.12));
  transition:all .35s ease;
  position:relative;
}
.icon-wrap::after{
  content:'';
  position:absolute;
  inset:0;
  border-radius:inherit;
  background:var(--gradient-ia);
  opacity:0;
  transition:opacity .35s ease;
}
.feature-card:hover .icon-wrap{
  transform:rotateY(180deg) scale(1.1);
}
.feature-card:hover .icon-wrap::after{
  opacity:1;
}
.feature-card:hover .icon-wrap i{
  color:#fff;
  position:relative;
  z-index:1;
}

/* Forms */
.form-control,
.form-select{
  border-radius:.95rem;
  border:1px solid rgba(13,17,35,.15);
  background:rgba(255,255,255,.9);
  box-shadow:none;
}
.form-control:focus,
.form-select:focus{
  border-color:var(--brand-1);
  box-shadow:0 0 0 .15rem rgba(13,110,253,.15);
}

.form-control-color{
  padding:.15rem;
  height:40px;
}

/* Preview */
.preview-card{
  border-radius:1.2rem;
  border:1px solid rgba(13,17,35,.1);
  background:rgba(255,255,255,.92);
  transition:all .4s ease;
}
.preview-card:hover{
  box-shadow:0 30px 70px rgba(8,10,30,.25);
}

.neon-panel{
  background:rgba(4,7,18,.95);
  border:1px solid rgba(255,255,255,.05);
  color:#d7dcff;
  position:relative;
  overflow:hidden;
}
.neon-panel::before{
  content:'';
  position:absolute;
  top:-50%;
  left:-50%;
  width:200%;
  height:200%;
  background:conic-gradient(
    from 0deg,
    transparent,
    rgba(13,110,253,0.1),
    transparent,
    rgba(102,16,242,0.1),
    transparent
  );
  animation:rotateBg 20s linear infinite;
  pointer-events:none;
}
@keyframes rotateBg{
  100%{transform:rotate(360deg);}
}

.glass-bar{
  background:rgba(255,255,255,.05);
  border-bottom:1px solid rgba(255,255,255,.08);
  backdrop-filter:blur(12px);
}

.preview-toolbar .dots{
  display:inline-flex;
  gap:6px;
}

.preview-toolbar .dots span{
  width:10px;
  height:10px;
  border-radius:50%;
  background:#ff5f56;
}
.preview-toolbar .dots span:nth-child(2){background:#ffbd2e;}
.preview-toolbar .dots span:nth-child(3){background:#27c93f;}

.preview-toolbar button{
  border-radius:.65rem;
  backdrop-filter:blur(8px);
}

.preview-toolbar button:hover{
  transform:translateY(-2px);
}

.neon-viewport{
  background:radial-gradient(circle at top,rgba(13,110,253,.18),rgba(5,7,20,.95));
  border-radius:0 0 1.2rem 1.2rem;
  border-top:1px solid rgba(255,255,255,.05);
}

.preview-viewport iframe{
  border:0;
  border-radius:.8rem;
  box-shadow:0 10px 30px rgba(0,0,0,.35);
}

.codebox{
  background:#0f172a;
  color:#e6edf3;
  border-radius:.75rem;
  padding:1rem;
  white-space:pre;
  overflow:auto;
  border:1px solid #1f2937;
}

.section-list{
  background:#fbfbfc;
}
.section-list .form-check-input{cursor:pointer;}
.section-list .form-control-sm{min-width:64px;}

/* Gallery (no visible pero disponible) */
.gallery-card{
  position:relative;
  aspect-ratio:16/9;
}
.gallery-card img{
  width:100%;
  height:100%;
  object-fit:cover;
  transition:transform .35s ease;
  display:block;
}
.gallery-card .overlay{
  position:absolute;
  inset:0;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:.5rem;
  color:#fff;
  background:linear-gradient(180deg,rgba(0,0,0,0),rgba(0,0,0,.45));
  opacity:0;
  transition:opacity .25s ease;
  font-weight:600;
}
.gallery-card:hover img{transform:scale(1.05);}
.gallery-card:hover .overlay{opacity:1;}

/* Steps */
.step-card{
  padding:1.25rem;
  border:1px solid rgba(13,17,35,.08);
}

.step-card ol,
.step-card ul{
  color:var(--text-muted);
}

/* ===== NUEVO: Timeline de pasos ===== */
.timeline-container{
  position:relative;
}

.timeline-step{
  position:relative;
  padding:1rem;
  transition:all .3s ease;
}

.timeline-step:hover{
  transform:translateY(-5px);
}

.step-icon-wrap{
  position:relative;
  width:80px;
  height:80px;
  margin:0 auto;
  display:flex;
  align-items:center;
  justify-content:center;
  background:linear-gradient(135deg,rgba(13,110,253,.1),rgba(102,16,242,.1));
  border-radius:20px;
  transition:all .4s ease;
}

.step-icon-wrap::before{
  content:'';
  position:absolute;
  inset:-2px;
  border-radius:22px;
  background:var(--gradient-ia);
  opacity:0;
  transition:opacity .3s ease;
  z-index:-1;
}

.timeline-step:hover .step-icon-wrap::before{
  opacity:1;
}

.timeline-step:hover .step-icon-wrap{
  background:transparent;
  transform:scale(1.05);
}

.step-icon-wrap i{
  font-size:1.8rem;
  background:var(--gradient-ia);
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
  transition:all .3s ease;
}

.timeline-step:hover .step-icon-wrap i{
  color:#fff;
  -webkit-background-clip:unset;
  background-clip:unset;
  background:transparent;
}

.step-icon-wrap .step-number{
  position:absolute;
  top:-8px;
  right:-8px;
  width:28px;
  height:28px;
  font-size:.75rem;
  background:var(--gradient-ia);
  color:#fff;
  border-radius:50%;
  display:grid;
  place-items:center;
  font-weight:700;
  box-shadow:0 4px 12px rgba(13,110,253,.4);
  margin:0;
}

.timeline-step h6{
  color:var(--text-heading);
  margin-top:.5rem;
}

/* ===== NUEVO: Cards de beneficios ===== */
.benefit-card{
  position:relative;
  border:1px solid rgba(13,17,35,.06);
  transition:all .4s cubic-bezier(0.4, 0, 0.2, 1);
  overflow:hidden;
}

.benefit-card::before{
  content:'';
  position:absolute;
  top:0;
  left:0;
  right:0;
  height:4px;
  background:var(--gradient-ia);
  transform:scaleX(0);
  transform-origin:left;
  transition:transform .4s ease;
}

.benefit-card:hover::before{
  transform:scaleX(1);
}

.benefit-card:hover{
  transform:translateY(-8px);
  box-shadow:0 20px 50px rgba(13,110,253,.15);
  border-color:rgba(13,110,253,.2);
}

.benefit-icon{
  width:70px;
  height:70px;
  margin:0 auto;
  display:flex;
  align-items:center;
  justify-content:center;
  background:linear-gradient(135deg,rgba(13,110,253,.08),rgba(102,16,242,.08));
  border-radius:16px;
  transition:all .4s ease;
}

.benefit-icon i{
  font-size:1.8rem;
  background:var(--gradient-ia);
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
}

.benefit-card:hover .benefit-icon{
  background:var(--gradient-ia);
  transform:scale(1.1) rotate(-5deg);
}

.benefit-card:hover .benefit-icon i{
  color:#fff;
  -webkit-background-clip:unset;
  background-clip:unset;
  background:transparent;
}

/* ===== NUEVO: Sección Hosting rediseñada ===== */
.hosting-feature-card{
  border:1px solid rgba(13,17,35,.06);
  transition:all .35s cubic-bezier(0.4, 0, 0.2, 1);
  position:relative;
  overflow:hidden;
}

.hosting-feature-card::before{
  content:'';
  position:absolute;
  bottom:0;
  left:0;
  right:0;
  height:3px;
  background:var(--gradient-ia);
  transform:scaleX(0);
  transition:transform .4s ease;
}

.hosting-feature-card:hover{
  transform:translateY(-5px);
  box-shadow:0 15px 35px rgba(13,110,253,.12);
}

.hosting-feature-card:hover::before{
  transform:scaleX(1);
}

.hosting-icon{
  width:50px;
  height:50px;
  margin:0 auto;
  display:flex;
  align-items:center;
  justify-content:center;
  background:linear-gradient(135deg,rgba(13,110,253,.1),rgba(102,16,242,.1));
  border-radius:12px;
  transition:all .3s ease;
}

.hosting-icon i{
  font-size:1.3rem;
  background:var(--gradient-ia);
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
  transition:all .3s ease;
}

.hosting-feature-card:hover .hosting-icon{
  background:var(--gradient-ia);
  transform:scale(1.1);
}

.hosting-feature-card:hover .hosting-icon i{
  color:#fff;
  -webkit-background-clip:unset;
  background-clip:unset;
  background:transparent;
}

/* Calculadora mejorada */
.calculator-card{
  border:1px solid rgba(13,17,35,.08);
  background:rgba(255,255,255,.95);
  box-shadow:0 20px 50px rgba(13,17,35,.1);
}

.calculator-card .form-control,
.calculator-card .form-select{
  border:2px solid rgba(13,17,35,.1);
  font-weight:500;
}

.calculator-card .form-control:focus,
.calculator-card .form-select:focus{
  border-color:var(--brand-1);
  box-shadow:0 0 0 4px rgba(13,110,253,.1);
}

.domain-preview{
  padding:.5rem .75rem;
  background:rgba(13,110,253,.05);
  border-radius:8px;
  border-left:3px solid var(--brand-1);
}

.domain-name{
  color:var(--brand-1);
  font-size:1rem;
  margin-left:.5rem;
}

.price-summary{
  background:linear-gradient(135deg,rgba(13,110,253,.05),rgba(102,16,242,.05));
  border:1px solid rgba(13,110,253,.1);
}

.price-row{
  padding:.25rem 0;
}

.price-row span{
  color:var(--text-muted);
}

/* Pricing (antiguo - mantener compatibilidad) */
.price-card{
  border:1px solid rgba(13,17,35,.08);
  box-shadow:0 18px 40px rgba(15,17,35,.12);
}

.price-card h6{
  font-weight:700;
}

.price-card .form-label{
  margin-bottom:.25rem;
}

.price-card select,
.price-card input{
  height:40px;
}

.price-card hr{
  margin:.6rem 0;
}

/* =====================================================
   SECCIÓN HOSTING MEJORADA - Tu web online
   ===================================================== */

/* Card de ahorro */
.ahorro-card{
  background:linear-gradient(135deg, rgba(16,185,129,0.05), rgba(5,150,105,0.08));
  border:1px solid rgba(16,185,129,0.2);
}

.ahorro-comparativa{
  display:flex;
  flex-direction:column;
  gap:8px;
}

.ahorro-item{
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:8px 12px;
  background:rgba(255,255,255,0.6);
  border-radius:8px;
}

.ahorro-item.tachado .precio-tachado{
  text-decoration:line-through;
  color:#9ca3af;
}

.ahorro-total{
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:12px 16px;
  background:linear-gradient(135deg, #10b981, #059669);
  border-radius:8px;
  color:#fff;
  font-weight:600;
}

.precio-gratis{
  font-size:1.2rem;
  font-weight:700;
}

/* Opciones de hosting (Gratis vs Pro) */
.opcion-hosting-card{
  position:relative;
  border:2px solid rgba(13,17,35,0.08);
  transition:all 0.3s ease;
}

.opcion-hosting-card:hover{
  transform:translateY(-5px);
  box-shadow:0 20px 40px rgba(13,17,35,0.15);
}

.opcion-hosting-card.destacado{
  border-color:var(--brand-1);
  background:linear-gradient(135deg, rgba(13,110,253,0.03), rgba(139,93,255,0.05));
}

.opcion-badge{
  position:absolute;
  top:12px;
  left:50%;
  transform:translateX(-50%);
  padding:6px 20px;
  border-radius:20px;
  font-size:0.75rem;
  font-weight:700;
  text-transform:uppercase;
  letter-spacing:0.5px;
  white-space:nowrap;
  z-index:10;
}

.opcion-badge.gratis{
  background:#10b981;
  color:#fff;
  box-shadow:0 4px 12px rgba(16,185,129,0.3);
}

.opcion-badge.pro{
  background:var(--gradient-ia);
  color:#fff;
  box-shadow:0 4px 12px rgba(13,110,253,0.3);
}

.domain-example{
  padding:12px 16px;
  background:#f1f5f9;
  border-radius:8px;
  text-align:center;
}

.domain-example code{
  font-size:1.1rem;
  color:var(--brand-1);
  font-weight:600;
  background:transparent;
}

.opcion-features li{
  padding:8px 0;
  border-bottom:1px solid rgba(0,0,0,0.05);
  display:flex;
  align-items:center;
  gap:10px;
}

.opcion-features li:last-child{
  border-bottom:none;
}

.opcion-features i{
  font-size:1.1rem;
}

.opcion-precio{
  text-align:center;
  padding-top:16px;
  border-top:2px solid rgba(0,0,0,0.05);
}

.precio-desde{
  font-size:0.8rem;
  color:#6b7280;
  display:block;
}

.precio-valor{
  font-size:2.5rem;
  font-weight:800;
  color:var(--brand-1);
  line-height:1;
}

.precio-periodo{
  font-size:0.9rem;
  color:#6b7280;
}

/* Iconos de opciones mejorados */
.opcion-header{
  padding-bottom:16px;
}

.opcion-icon{
  width:70px;
  height:70px;
  margin:0 auto;
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:1.8rem;
  transition:all 0.3s ease;
}

.opcion-icon.gratis-icon{
  background:linear-gradient(135deg, #10b981, #059669);
  color:#fff;
  box-shadow:0 8px 25px rgba(16,185,129,0.3);
}

.opcion-icon.pro-icon{
  background:var(--gradient-ia);
  color:#fff;
  box-shadow:0 8px 25px rgba(13,110,253,0.3);
}

.opcion-hosting-card:hover .opcion-icon{
  transform:scale(1.1);
}

.domain-example.destacado{
  background:linear-gradient(135deg, rgba(13,110,253,0.1), rgba(139,93,255,0.1));
  border:1px solid rgba(13,110,253,0.2);
}

.precio-display{
  padding:12px;
  background:rgba(248,250,252,0.8);
  border-radius:12px;
}

.precio-valor.grande{
  font-size:3rem;
}

/* PROVEEDORES DE DOMINIOS */
.proveedores-section{
  background:linear-gradient(135deg, rgba(248,250,252,0.9), rgba(241,245,249,0.9));
  border-radius:20px;
  padding:30px;
  border:1px solid rgba(0,0,0,0.05);
}

.proveedor-card{
  background:#fff;
  border-radius:16px;
  padding:24px;
  text-align:center;
  border:2px solid #e5e7eb;
  transition:all 0.3s ease;
  height:100%;
  display:flex;
  flex-direction:column;
  position:relative;
}

.proveedor-card:hover{
  transform:translateY(-5px);
  box-shadow:0 15px 40px rgba(0,0,0,0.1);
}

.proveedor-card.destacado{
  border-color:var(--brand-1);
  background:linear-gradient(135deg, rgba(13,110,253,0.03), rgba(139,93,255,0.05));
  box-shadow:0 10px 30px rgba(13,110,253,0.15);
}

.proveedor-badge{
  position:absolute;
  top:-12px;
  left:50%;
  transform:translateX(-50%);
  background:var(--gradient-ia);
  color:#fff;
  padding:4px 16px;
  border-radius:20px;
  font-size:0.7rem;
  font-weight:700;
  white-space:nowrap;
}

.proveedor-logo{
  width:60px;
  height:60px;
  margin:0 auto 12px;
  background:#f1f5f9;
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:1.5rem;
}

.proveedor-card.destacado .proveedor-logo{
  background:linear-gradient(135deg, rgba(13,110,253,0.1), rgba(139,93,255,0.15));
}

.proveedor-precio{
  margin:12px 0;
  padding:12px;
  background:#f8fafc;
  border-radius:10px;
}

.proveedor-precio .desde{
  font-size:0.75rem;
  color:#6b7280;
  display:block;
}

.proveedor-precio .precio{
  font-size:1.8rem;
  font-weight:800;
  color:var(--brand-1);
}

.proveedor-precio .periodo{
  font-size:0.8rem;
  color:#6b7280;
}

.proveedor-features{
  list-style:none;
  padding:0;
  margin:16px 0;
  text-align:left;
  flex-grow:1;
}

.proveedor-features li{
  padding:6px 0;
  font-size:0.85rem;
  color:#4b5563;
  display:flex;
  align-items:center;
  gap:8px;
}

.proveedor-features li i{
  font-size:0.9rem;
}

/* Nota de configuración */
.config-note{
  background:linear-gradient(135deg, rgba(13,110,253,0.05), rgba(139,93,255,0.08));
  border:1px solid rgba(13,110,253,0.15);
}

.config-icon{
  width:45px;
  height:45px;
  min-width:45px;
  background:var(--gradient-ia);
  border-radius:12px;
  display:flex;
  align-items:center;
  justify-content:center;
  color:#fff;
  font-size:1.2rem;
}

/* =====================================================
   EXPLICACIÓN HOSTING Y DOMINIO - COMPACTO
   ===================================================== */

.hosting-explainer-compact{
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  border-radius: 20px;
  border: 1px solid rgba(99,102,241,0.1);
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.04);
}

.explainer-compact-header{
  padding: 16px 24px;
  background: linear-gradient(135deg, rgba(99,102,241,0.05), rgba(139,92,246,0.05));
  border-bottom: 1px solid rgba(99,102,241,0.08);
}

.compact-badge{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #6366f1;
  font-weight: 600;
  font-size: 0.9rem;
}

.explainer-compact-cards{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}

.compact-card{
  padding: 24px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.compact-card.hosting{
  background: linear-gradient(145deg, rgba(16,185,129,0.03), rgba(16,185,129,0.08));
  border-right: 1px solid rgba(0,0,0,0.04);
}

.compact-card.dominio{
  background: linear-gradient(145deg, rgba(59,130,246,0.03), rgba(59,130,246,0.08));
}

.compact-icon{
  width: 48px;
  height: 48px;
  min-width: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
}

.compact-card.hosting .compact-icon{
  background: linear-gradient(135deg, #10b981, #059669);
  color: white;
}

.compact-card.dominio .compact-icon{
  background: linear-gradient(135deg, #3b82f6, #2563eb);
  color: white;
}

.compact-content h5{
  font-size: 1.05rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 6px;
}

.compact-content p{
  font-size: 0.9rem;
  color: #64748b;
  margin-bottom: 12px;
  line-height: 1.5;
}

.compact-price{
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 20px;
}

.compact-price.green{
  background: rgba(16,185,129,0.1);
  color: #059669;
}

.compact-price.blue{
  background: rgba(59,130,246,0.1);
  color: #2563eb;
}

.explainer-compact-footer{
  padding: 14px 24px;
  background: #f8fafc;
  border-top: 1px solid rgba(0,0,0,0.04);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  color: #64748b;
}

@media (max-width: 768px){
  .explainer-compact-cards{
    grid-template-columns: 1fr;
  }
  
  .compact-card.hosting{
    border-right: none;
    border-bottom: 1px solid rgba(0,0,0,0.04);
  }
  
  .compact-card{
    padding: 20px;
  }
}

/* =====================================================
   BOTONES DE PROVEEDORES MEJORADOS
   ===================================================== */

/* Header */
.explainer-header{
  text-align: center;
  padding: 40px 30px 30px;
  background: linear-gradient(180deg, rgba(99,102,241,0.04) 0%, transparent 100%);
}

.explainer-badge{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  color: white;
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 16px;
  box-shadow: 0 4px 15px rgba(99,102,241,0.3);
}

.explainer-badge i{
  font-size: 1rem;
}

.explainer-title{
  font-size: 1.75rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 8px;
}

.explainer-subtitle{
  color: #64748b;
  font-size: 1rem;
  margin: 0;
}

/* Cards Container */
.explainer-cards{
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 0;
  padding: 20px 40px 40px;
  flex-wrap: wrap;
}

/* Individual Card */
.explainer-card{
  flex: 1;
  max-width: 380px;
  min-width: 300px;
  background: white;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 
    0 4px 20px rgba(0,0,0,0.04),
    0 8px 32px rgba(0,0,0,0.04);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: 1px solid rgba(0,0,0,0.04);
}

.explainer-card:hover{
  transform: translateY(-8px) scale(1.02);
  box-shadow: 
    0 12px 40px rgba(0,0,0,0.08),
    0 24px 60px rgba(99,102,241,0.12);
}

/* Card Visual Section */
.explainer-card-visual{
  padding: 40px 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hosting-card .explainer-card-visual{
  background: linear-gradient(145deg, #ecfdf5 0%, #d1fae5 100%);
}

.dominio-card .explainer-card-visual{
  background: linear-gradient(145deg, #eff6ff 0%, #dbeafe 100%);
}

/* Visual Icon Wrapper */
.visual-icon-wrapper{
  position: relative;
  width: 100px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.visual-icon-bg{
  position: absolute;
  inset: 0;
  border-radius: 50%;
  opacity: 0.3;
  animation: pulse-bg 3s ease-in-out infinite;
}

.hosting-visual .visual-icon-bg{
  background: radial-gradient(circle, #10b981 0%, transparent 70%);
}

.dominio-visual .visual-icon-bg{
  background: radial-gradient(circle, #3b82f6 0%, transparent 70%);
}

@keyframes pulse-bg{
  0%, 100%{ transform: scale(1); opacity: 0.3; }
  50%{ transform: scale(1.3); opacity: 0.15; }
}

.visual-icon{
  width: 80px;
  height: 80px;
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: white;
  position: relative;
  z-index: 2;
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.hosting-visual .visual-icon{
  background: linear-gradient(145deg, #10b981, #059669);
}

.dominio-visual .visual-icon{
  background: linear-gradient(145deg, #3b82f6, #2563eb);
}

/* Particles Animation for Hosting */
.visual-particles{
  position: absolute;
  inset: -20px;
  pointer-events: none;
}

.visual-particles span{
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  opacity: 0.6;
}

.visual-particles span:nth-child(1){
  top: 10%; left: 20%;
  animation: float-particle 4s ease-in-out infinite;
}

.visual-particles span:nth-child(2){
  top: 60%; right: 15%;
  animation: float-particle 5s ease-in-out infinite 1s;
}

.visual-particles span:nth-child(3){
  bottom: 20%; left: 30%;
  animation: float-particle 4.5s ease-in-out infinite 0.5s;
}

@keyframes float-particle{
  0%, 100%{ transform: translateY(0) scale(1); opacity: 0.6; }
  50%{ transform: translateY(-15px) scale(1.2); opacity: 0.3; }
}

/* Orbit Animation for Domain */
.visual-orbit{
  position: absolute;
  inset: -30px;
  pointer-events: none;
}

.visual-orbit span{
  position: absolute;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: linear-gradient(135deg, #60a5fa, #3b82f6);
  box-shadow: 0 3px 10px rgba(59,130,246,0.4);
  animation: orbit 8s linear infinite;
}

@keyframes orbit{
  0%{ transform: rotate(0deg) translateX(55px) rotate(0deg); }
  100%{ transform: rotate(360deg) translateX(55px) rotate(-360deg); }
}

.visual-label{
  margin-top: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
}

.hosting-card .visual-label{ color: #059669; }
.dominio-card .visual-label{ color: #2563eb; }

/* Card Content Section */
.explainer-card-content{
  padding: 30px;
}

.content-emoji{
  font-size: 2rem;
  margin-bottom: 12px;
}

.explainer-card-content h4{
  font-size: 1.25rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 12px;
}

.explainer-card-content p{
  color: #64748b;
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 16px;
}

/* Analogy Box */
.explainer-analogy{
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: #f8fafc;
  border-radius: 12px;
  margin-bottom: 20px;
  border-left: 3px solid;
}

.hosting-card .explainer-analogy{
  border-left-color: #10b981;
}

.dominio-card .explainer-analogy{
  border-left-color: #3b82f6;
}

.explainer-analogy i{
  font-size: 1rem;
  color: #94a3b8;
}

.explainer-analogy span{
  font-size: 0.9rem;
  color: #475569;
}

/* Price Box */
.explainer-price{
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
  border-radius: 16px;
}

.explainer-price.good{
  background: linear-gradient(135deg, #ecfdf5, #d1fae5);
  border: 1px solid rgba(16,185,129,0.2);
}

.explainer-price.optional{
  background: linear-gradient(135deg, #eff6ff, #dbeafe);
  border: 1px solid rgba(59,130,246,0.2);
}

.price-icon{
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

.explainer-price.good .price-icon{
  background: linear-gradient(135deg, #10b981, #059669);
  color: white;
}

.explainer-price.optional .price-icon{
  background: linear-gradient(135deg, #3b82f6, #2563eb);
  color: white;
}

.price-info{
  display: flex;
  flex-direction: column;
}

.price-label{
  font-size: 0.8rem;
  color: #64748b;
  font-weight: 500;
}

.price-value{
  font-size: 1.1rem;
  font-weight: 700;
}

.explainer-price.good .price-value{ color: #059669; }
.explainer-price.optional .price-value{ color: #2563eb; }

/* Connector */
.explainer-connector{
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0 30px;
  min-width: 80px;
}

.connector-line{
  width: 2px;
  height: 40px;
  background: linear-gradient(to bottom, transparent, rgba(99,102,241,0.3), transparent);
}

.connector-icon{
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: bold;
  box-shadow: 0 8px 25px rgba(99,102,241,0.3);
  margin: 10px 0;
}

/* Footer */
.explainer-footer{
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  padding: 30px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
  border-top: 1px solid rgba(0,0,0,0.04);
}

.footer-summary{
  display: flex;
  align-items: center;
  gap: 16px;
  flex: 1;
  min-width: 280px;
}

.summary-icon{
  width: 48px;
  height: 48px;
  min-width: 48px;
  border-radius: 14px;
  background: linear-gradient(135deg, #fef3c7, #fde68a);
  color: #d97706;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
}

.summary-text{
  color: #475569;
  font-size: 0.95rem;
  line-height: 1.5;
}

.summary-text code{
  background: rgba(99,102,241,0.1);
  color: #6366f1;
  padding: 2px 8px;
  border-radius: 6px;
  font-size: 0.85rem;
}

.footer-cta{
  flex-shrink: 0;
}

.btn-explainer-cta{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  color: white;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 14px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(99,102,241,0.3);
}

.btn-explainer-cta:hover{
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(99,102,241,0.4);
  color: white;
}

.btn-explainer-cta i{
  font-size: 1.1rem;
}

/* Responsive */
@media (max-width: 992px){
  .explainer-cards{
    flex-direction: column;
    align-items: center;
    padding: 20px;
  }
  
  .explainer-connector{
    flex-direction: row;
    padding: 20px 0;
    min-width: auto;
    width: 200px;
  }
  
  .connector-line{
    width: 40px;
    height: 2px;
    background: linear-gradient(to right, transparent, rgba(99,102,241,0.3), transparent);
  }
  
  .explainer-card{
    max-width: 100%;
    width: 100%;
  }
}

@media (max-width: 768px){
  .explainer-header{
    padding: 30px 20px;
  }
  
  .explainer-title{
    font-size: 1.4rem;
  }
  
  .explainer-footer{
    flex-direction: column;
    text-align: center;
    padding: 25px 20px;
  }
  
  .footer-summary{
    justify-content: center;
    flex-direction: column;
    text-align: center;
  }
  
  .btn-explainer-cta{
    width: 100%;
    justify-content: center;
  }
}

/* =====================================================
   BOTONES DE PROVEEDORES MEJORADOS
   ===================================================== */
.btn-proveedor{
  display:flex;
  flex-direction:column;
  align-items:center;
  padding:20px 16px;
  border-radius:16px;
  text-decoration:none;
  transition:all 0.3s ease;
  position:relative;
  overflow:hidden;
}

.btn-proveedor i:first-of-type{
  font-size:2rem;
  margin-bottom:8px;
}

.btn-proveedor i:last-of-type{
  position:absolute;
  right:12px;
  top:50%;
  transform:translateY(-50%);
  opacity:0;
  transition:all 0.3s ease;
}

.btn-proveedor:hover i:last-of-type{
  opacity:1;
  right:16px;
}

.btn-prov-badge{
  position:absolute;
  top:0;
  left:50%;
  transform:translateX(-50%);
  background:#fff;
  color:#f97316;
  font-size:0.65rem;
  font-weight:700;
  padding:3px 10px;
  border-radius:0 0 8px 8px;
  box-shadow:0 2px 8px rgba(0,0,0,0.1);
}

.btn-prov-name{
  font-weight:700;
  font-size:1.1rem;
}

.btn-prov-desc{
  font-size:0.75rem;
  opacity:0.85;
}

/* Hostinger - Morado/Rosa */
.btn-hostinger{
  background:linear-gradient(135deg, #7c3aed, #a855f7);
  color:#fff;
  box-shadow:0 8px 25px rgba(124,58,237,0.3);
}

.btn-hostinger:hover{
  background:linear-gradient(135deg, #6d28d9, #9333ea);
  color:#fff;
  transform:translateY(-3px);
  box-shadow:0 12px 35px rgba(124,58,237,0.4);
}

/* Namecheap - Naranja */
.btn-namecheap{
  background:linear-gradient(135deg, #f97316, #fb923c);
  color:#fff;
  box-shadow:0 8px 25px rgba(249,115,22,0.3);
}

.btn-namecheap:hover{
  background:linear-gradient(135deg, #ea580c, #f97316);
  color:#fff;
  transform:translateY(-3px);
  box-shadow:0 12px 35px rgba(249,115,22,0.4);
}

/* Porkbun - Rosa/Magenta */
.btn-porkbun{
  background:linear-gradient(135deg, #ec4899, #f472b6);
  color:#fff;
  box-shadow:0 8px 25px rgba(236,72,153,0.3);
}

.btn-porkbun:hover{
  background:linear-gradient(135deg, #db2777, #ec4899);
  color:#fff;
  transform:translateY(-3px);
  box-shadow:0 12px 35px rgba(236,72,153,0.4);
}

/* =====================================================
   BUSCADOR DE DOMINIOS
   ===================================================== */
.buscador-dominios{
  background:linear-gradient(135deg, rgba(16,185,129,0.05), rgba(6,182,212,0.08));
  border:1px solid rgba(16,185,129,0.2);
}

/* =====================================================
   NOTA DE CONFIGURACIÓN MEJORADA
   ===================================================== */
.config-note-new{
  overflow:hidden;
  border:1px solid rgba(13,110,253,0.15);
}

.config-note-left{
  background:var(--gradient-ia);
  padding:24px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  text-align:center;
  color:#fff;
}

.config-icon-big{
  width:60px;
  height:60px;
  background:rgba(255,255,255,0.2);
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:1.8rem;
  margin-bottom:12px;
}

.config-note-right{
  padding:20px 24px;
  background:#f8fafc;
}

.config-checklist{
  list-style:none;
  padding:0;
  margin:0;
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:6px;
}

.config-checklist li{
  font-size:0.85rem;
  display:flex;
  align-items:center;
  gap:6px;
}

@media(max-width:767px){
  .config-checklist{
    grid-template-columns:1fr;
  }
  .config-note-left{
    padding:20px;
  }
}

/* Calculadora mejorada v2 */
.domain-preview-box{
  background:linear-gradient(135deg, rgba(13,110,253,0.05), rgba(139,93,255,0.08));
  border:1px solid rgba(13,110,253,0.15);
}

.domain-name-preview{
  font-size:1.3rem;
  font-weight:700;
  color:var(--brand-1);
  word-break:break-all;
}

.price-summary-box{
  background:#f8fafc;
  border:1px solid #e5e7eb;
}

.price-line{
  font-size:0.9rem;
}

.price-line.total{
  font-size:1rem;
}

.total-precio{
  font-size:1.5rem;
  font-weight:800;
  color:var(--brand-1);
}

/* Tabla de dominios */
.table-dominios{
  background:#fff;
  border-radius:12px;
  overflow:hidden;
  box-shadow:0 4px 15px rgba(0,0,0,0.05);
}

.table-dominios thead{
  background:linear-gradient(135deg, var(--brand-1), var(--brand-2));
  color:#fff;
}

.table-dominios thead th{
  padding:14px 16px;
  font-weight:600;
  border:none;
}

.table-dominios tbody td{
  padding:12px 16px;
  vertical-align:middle;
  border-color:#f1f5f9;
}

.table-dominios tbody tr:hover{
  background:rgba(13,110,253,0.03);
}

.table-dominios .table-success{
  background:rgba(16,185,129,0.08) !important;
}

.table-dominios .table-success td{
  border-color:rgba(16,185,129,0.15);
}

/* NUEVA TABLA DE PROVEEDORES */
.table-dominios-proveedores{
  background:#fff;
  border-radius:16px;
  overflow:hidden;
  box-shadow:0 8px 30px rgba(0,0,0,0.08);
  margin-bottom:0;
}

.table-dominios-proveedores thead{
  background:#f8fafc;
}

.table-dominios-proveedores thead th{
  padding:16px 12px;
  font-weight:600;
  border:none;
  border-bottom:2px solid #e5e7eb;
  font-size:0.9rem;
}

.table-dominios-proveedores .proveedor-col{
  min-width:120px;
}

.table-dominios-proveedores .proveedor-col.destacado{
  background:linear-gradient(135deg, rgba(13,110,253,0.05), rgba(139,93,255,0.08));
}

.proveedor-header{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:4px;
}

.proveedor-header i{
  font-size:1.2rem;
}

.proveedor-header span{
  font-weight:700;
}

.badge-recomendado{
  font-size:0.6rem;
  background:var(--gradient-ia);
  color:#fff;
  padding:2px 8px;
  border-radius:10px;
}

.table-dominios-proveedores tbody td{
  padding:14px 12px;
  vertical-align:middle;
  border-color:#f1f5f9;
}

.table-dominios-proveedores tbody td.destacado{
  background:linear-gradient(135deg, rgba(13,110,253,0.03), rgba(139,93,255,0.05));
  font-weight:600;
}

.table-dominios-proveedores tbody tr:hover{
  background:rgba(13,110,253,0.02);
}

.table-dominios-proveedores .table-success td{
  background:rgba(16,185,129,0.06);
}

.table-dominios-proveedores .badge{
  font-size:0.6rem;
  padding:2px 6px;
  margin-left:4px;
}

/* Responsive */
@media (max-width:768px){
  .ahorro-card .row{
    text-align:center;
  }
  
  .precio-valor{
    font-size:2rem;
  }
  
  .domain-name-preview{
    font-size:1.1rem;
  }
  
  .table-dominios-proveedores{
    font-size:0.8rem;
  }
  
  .table-dominios-proveedores thead th{
    padding:10px 6px;
  }
  
  .table-dominios-proveedores tbody td{
    padding:10px 6px;
  }
}

/* CTA */
.cta-card{
  border:0;
  background:linear-gradient(120deg,rgba(13,110,253,.12),rgba(102,16,242,.22));
  color:#0f1325;
  position:relative;
  overflow:hidden;
}

/* ===== NUEVO: CTA Icon grande ===== */
.cta-icon-big{
  width:80px;
  height:80px;
  margin:0 auto;
  display:flex;
  align-items:center;
  justify-content:center;
  background:rgba(255,255,255,.15);
  border-radius:50%;
  animation:ctaPulse 2s ease-in-out infinite;
}

.cta-icon-big i{
  font-size:2rem;
  color:#fff;
}

@keyframes ctaPulse{
  0%,100%{transform:scale(1);box-shadow:0 0 0 0 rgba(255,255,255,.4);}
  50%{transform:scale(1.05);box-shadow:0 0 0 15px rgba(255,255,255,0);}
}

.cta-subtitle{
  color:rgba(255,255,255,.85);
  font-size:1.1rem;
}

/* ===== NUEVO: Botones CTA específicos ===== */
.btn-cta-whatsapp{
  background:linear-gradient(135deg,#25D366,#128C7E);
  color:#fff;
  border:none;
  padding:.85rem 2rem;
  font-weight:600;
  box-shadow:0 10px 30px rgba(37,211,102,.4);
}

.btn-cta-whatsapp:hover{
  background:linear-gradient(135deg,#2be074,#15a085);
  color:#fff;
  transform:translateY(-3px);
  box-shadow:0 15px 40px rgba(37,211,102,.5);
}

.btn-cta-email{
  background:rgba(255,255,255,.95);
  color:var(--text-heading);
  border:2px solid rgba(255,255,255,.3);
  padding:.85rem 2rem;
  font-weight:600;
  box-shadow:0 10px 30px rgba(0,0,0,.15);
}

.btn-cta-email:hover{
  background:#fff;
  color:var(--brand-1);
  transform:translateY(-3px);
  box-shadow:0 15px 40px rgba(0,0,0,.2);
}

.cta-card::before{
  content:'';
  position:absolute;
  inset:-100%;
  background:conic-gradient(
    from 90deg at 50% 50%,
    transparent,
    rgba(13,110,253,0.1),
    transparent,
    rgba(102,16,242,0.1),
    transparent
  );
  animation:rotateBg 15s linear infinite;
}

.glow-panel{
  background:linear-gradient(130deg,rgba(13,110,253,.35),rgba(102,16,242,.45),rgba(148,77,255,.35)) !important;
  color:#fff;
  box-shadow:
    0 24px 60px rgba(13,20,60,.4),
    0 0 80px rgba(102,16,242,0.3),
    inset 0 1px 0 rgba(255,255,255,0.2);
  border:1px solid rgba(255,255,255,0.15);
  position:relative;
}
.glow-panel::after{
  content:'';
  position:absolute;
  top:-2px;
  left:20%;
  right:20%;
  height:2px;
  background:linear-gradient(90deg,transparent,rgba(255,255,255,0.8),transparent);
  border-radius:100%;
  filter:blur(1px);
}

.glow-panel .text-muted{
  color:rgba(255,255,255,.85) !important;
}

/* Footer */
.footer-gradient{
  background:radial-gradient(1200px 600px at 80% -200px,rgba(102,16,242,.25),transparent),
             radial-gradient(1000px 500px at -10% -200px,rgba(13,110,253,.25),transparent),
             linear-gradient(180deg,#050711,#070914);
}

.futuristic-footer{
  border-top:1px solid rgba(255,255,255,.1);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.08);
}

.footer-hr{
  border-color:rgba(255,255,255,.12);
  opacity:.6;
}

.contact-pill{
  display:inline-flex;
  align-items:center;
  gap:.5rem;
  color:#0b0f1e;
  background:#fff;
  border-radius:999px;
  padding:.5rem .9rem;
  text-decoration:none;
  border:1px solid rgba(255,255,255,.25);
  transition:.2s ease;
}
.contact-pill:hover{
  transform:translateY(-2px);
  box-shadow:0 8px 24px rgba(0,0,0,.18);
}

/* Misc */
.icon-wrap i{
  transition:transform .25s ease;
}
.feature-card:hover .icon-wrap i{
  transform:scale(1.1);
}

.hero-section .lead{
  color:rgba(255,255,255,.9);
}

.generator-section .card,
.pricing-section .price-card{
  border-radius:1.25rem;
}

/* Responsive */
@media (max-width:991px){
  .hero-section{
    text-align:center;
  }
  .hero-section .d-flex{
    justify-content:center;
  }
  .hero-device{
    margin-top:1.5rem;
  }
}

@media (max-width:576px){
  .hero-section{
    padding-top:2.5rem;
    padding-bottom:2.5rem;
  }
  .preview-toolbar{
    flex-direction:column;
    gap:.75rem;
    align-items:flex-start !important;
  }
  .preview-toolbar button{
    width:100%;
  }
}

/* ===== ANIMACIONES DE ENTRADA STAGGERED ===== */
.stagger-fade{
  opacity:0;
  transform:translateY(30px);
  animation:staggerIn .6s ease forwards;
}
.stagger-fade:nth-child(1){animation-delay:.1s;}
.stagger-fade:nth-child(2){animation-delay:.2s;}
.stagger-fade:nth-child(3){animation-delay:.3s;}
.stagger-fade:nth-child(4){animation-delay:.4s;}
@keyframes staggerIn{
  to{opacity:1;transform:translateY(0);}
}

/* ===== EFECTO TYPING CURSOR ===== */
.typing-cursor::after{
  content:'|';
  animation:blink 1s step-end infinite;
  margin-left:2px;
  color:var(--brand-1);
}
@keyframes blink{
  50%{opacity:0;}
}

/* ===== PARTÍCULAS DE CÓDIGO FLOTANTES ===== */
.code-particles{
  position:fixed;
  inset:0;
  pointer-events:none;
  z-index:-1;
  overflow:hidden;
  opacity:0;
  transition:opacity 1.5s ease-in-out;
}

/* Mostrar partículas cuando la página esté lista */
.page-loaded .code-particles{
  opacity:1;
}
.code-particle{
  position:absolute;
  font-family:'Courier New',monospace;
  font-size:14px;
  color:rgba(99,102,241,0.15);
  animation:codeFloat 20s linear infinite paused;
  white-space:nowrap;
  will-change:transform,opacity;
  transform:translateZ(0);
  opacity:0.05;
}
.code-particle:nth-child(odd){
  color:rgba(168,85,247,0.12);
  animation-duration:25s;
}

/* Activar partículas cuando la página esté lista */
.page-loaded .code-particle{
  animation-play-state:running;
  opacity:1;
}
@keyframes codeFloat{
  0%{transform:translateY(100vh) rotate(0deg);opacity:0;}
  10%{opacity:1;}
  90%{opacity:1;}
  100%{transform:translateY(-100vh) rotate(360deg);opacity:0;}
}

/* ===== LÍNEAS DE CONEXIÓN TIPO RED NEURONAL ===== */
.neural-lines{
  position:fixed;
  inset:0;
  pointer-events:none;
  z-index:-2;
  opacity:0.3;
}
.neural-lines svg{
  width:100%;
  height:100%;
}
.neural-line{
  stroke:url(#neuralGradient);
  stroke-width:1;
  fill:none;
  stroke-dasharray:100;
  stroke-dashoffset:100;
  animation:drawLine 3s ease forwards infinite;
}
@keyframes drawLine{
  0%{stroke-dashoffset:100;}
  50%{stroke-dashoffset:0;}
  100%{stroke-dashoffset:-100;}
}

/* ===== BADGE ANIMADO "NUEVO" ===== */
.badge-new{
  background:linear-gradient(135deg,#667eea,#764ba2);
  color:#fff;
  padding:.35em .75em;
  border-radius:999px;
  font-size:.75rem;
  font-weight:600;
  position:relative;
  overflow:hidden;
}
.badge-new::before{
  content:'';
  position:absolute;
  top:-50%;
  left:-50%;
  width:200%;
  height:200%;
  background:linear-gradient(
    45deg,
    transparent 30%,
    rgba(255,255,255,0.3) 50%,
    transparent 70%
  );
  animation:badgeShine 3s ease-in-out infinite;
}
@keyframes badgeShine{
  0%{transform:translateX(-100%) rotate(45deg);}
  100%{transform:translateX(100%) rotate(45deg);}
}

/* ===== EFECTO HOVER 3D PARA TARJETAS ===== */
.card-3d{
  transform-style:preserve-3d;
  perspective:1000px;
  transition:transform .4s ease;
}
.card-3d:hover{
  transform:rotateX(5deg) rotateY(-5deg) translateZ(10px);
}

/* ===== INDICADOR DE CARGA TIPO IA ===== */
.ai-loader{
  display:inline-flex;
  gap:4px;
}
.ai-loader span{
  width:8px;
  height:8px;
  border-radius:50%;
  background:var(--brand-1);
  animation:aiPulse 1.4s ease-in-out infinite;
}
.ai-loader span:nth-child(2){animation-delay:.2s;}
.ai-loader span:nth-child(3){animation-delay:.4s;}
@keyframes aiPulse{
  0%,100%{transform:scale(1);opacity:1;}
  50%{transform:scale(1.5);opacity:0.5;}
}

/* ===== TOOLTIP CON ESTILO FUTURISTA ===== */
.tooltip-futuristic{
  position:relative;
}
.tooltip-futuristic::before{
  content:attr(data-tooltip);
  position:absolute;
  bottom:120%;
  left:50%;
  transform:translateX(-50%) translateY(10px);
  padding:.5rem 1rem;
  background:rgba(10,15,30,0.95);
  color:#fff;
  font-size:.75rem;
  border-radius:.5rem;
  white-space:nowrap;
  opacity:0;
  pointer-events:none;
  transition:all .3s ease;
  border:1px solid rgba(99,102,241,0.3);
  box-shadow:0 10px 30px rgba(0,0,0,0.3);
}
.tooltip-futuristic:hover::before{
  opacity:1;
  transform:translateX(-50%) translateY(0);
}

/* ===== SCROLLBAR PERSONALIZADO ===== */
::-webkit-scrollbar{
  width:10px;
  height:10px;
}
::-webkit-scrollbar-track{
  background:rgba(10,15,30,0.1);
  border-radius:10px;
}
::-webkit-scrollbar-thumb{
  background:linear-gradient(180deg,var(--brand-1),var(--brand-2));
  border-radius:10px;
  border:2px solid transparent;
  background-clip:padding-box;
}
::-webkit-scrollbar-thumb:hover{
  background:linear-gradient(180deg,var(--brand-2),var(--brand-3));
  background-clip:padding-box;
}

/* ===== EFECTO FOCUS ACCESIBLE Y BONITO ===== */
*:focus-visible{
  outline:2px solid var(--brand-1);
  outline-offset:3px;
  border-radius:4px;
}

/* ===== MEJORAS EN FORMS ===== */
.form-control:hover,
.form-select:hover{
  border-color:var(--brand-1);
  box-shadow:0 0 0 3px rgba(13,110,253,0.08);
}

/* ===== EFECTO UNDERLINE ANIMADO ===== */
.link-underline{
  position:relative;
  text-decoration:none;
}
.link-underline::after{
  content:'';
  position:absolute;
  bottom:-2px;
  left:0;
  width:100%;
  height:2px;
  background:var(--gradient-ia);
  transform:scaleX(0);
  transform-origin:right;
  transition:transform .3s ease;
}
.link-underline:hover::after{
  transform:scaleX(1);
  transform-origin:left;
}

/* ===== ANIMACIÓN PARA NÚMEROS/ESTADÍSTICAS ===== */
.stat-number{
  display:inline-block;
  background:var(--gradient-ia);
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
  font-weight:800;
}

/* ===== EFECTO RIPPLE EN CLICKS ===== */
.ripple{
  position:relative;
  overflow:hidden;
}
.ripple::after{
  content:'';
  position:absolute;
  width:100%;
  height:100%;
  top:50%;
  left:50%;
  background:radial-gradient(circle,rgba(255,255,255,0.3) 0%,transparent 60%);
  transform:translate(-50%,-50%) scale(0);
  opacity:0;
  transition:transform .5s ease,opacity .5s ease;
}
.ripple:active::after{
  transform:translate(-50%,-50%) scale(2);
  opacity:1;
  transition:0s;
}

/* =====================================================
   MODALES LEGALES PROFESIONALES
   ===================================================== */
.modal-legal{
  border:none;
  border-radius:20px;
  overflow:hidden;
  box-shadow:0 25px 80px rgba(0,0,0,0.25);
}

.modal-header-legal{
  display:flex;
  align-items:center;
  gap:16px;
  padding:24px;
  color:#fff;
}

.modal-header-legal.privacidad{
  background:linear-gradient(135deg, #6366f1, #8b5cf6);
}

.modal-header-legal.aviso{
  background:linear-gradient(135deg, #0ea5e9, #06b6d4);
}

.modal-header-legal.cookies{
  background:linear-gradient(135deg, #f59e0b, #f97316);
}

.modal-icon-legal{
  width:50px;
  height:50px;
  background:rgba(255,255,255,0.2);
  border-radius:14px;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:1.5rem;
}

/* Resumen rápido */
.legal-summary{
  background:linear-gradient(135deg, rgba(16,185,129,0.08), rgba(6,182,212,0.08));
  border:1px solid rgba(16,185,129,0.2);
  border-radius:12px;
  padding:16px;
}

.legal-quick-list{
  list-style:none;
  padding:0;
  margin:0;
  display:grid;
  gap:8px;
}

.legal-quick-list li{
  display:flex;
  align-items:center;
  gap:10px;
  font-size:0.9rem;
}

/* Secciones legales */
.legal-section{
  margin-bottom:20px;
  padding-bottom:20px;
  border-bottom:1px solid #f1f5f9;
}

.legal-section:last-child{
  border-bottom:none;
  margin-bottom:0;
  padding-bottom:0;
}

.legal-title{
  display:flex;
  align-items:center;
  gap:12px;
  font-weight:700;
  margin-bottom:12px;
  color:#1f2937;
}

.legal-num{
  width:28px;
  height:28px;
  background:var(--gradient-ia);
  color:#fff;
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:0.8rem;
  font-weight:700;
}

.legal-content{
  padding-left:40px;
  color:#4b5563;
  font-size:0.9rem;
  line-height:1.6;
}

.legal-content ul{
  padding-left:20px;
  margin:8px 0;
}

.legal-content li{
  margin-bottom:6px;
}

/* Cookie info card */
.cookie-info-card{
  background:linear-gradient(135deg, rgba(16,185,129,0.1), rgba(34,197,94,0.1));
  border:1px solid rgba(16,185,129,0.3);
  border-radius:12px;
  padding:16px;
}

.cookie-status-icon{
  width:50px;
  height:50px;
  background:linear-gradient(135deg, #10b981, #34d399);
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  color:#fff;
  font-size:1.5rem;
}

/* Tabla de cookies */
.table-cookies{
  font-size:0.85rem;
}

.table-cookies th{
  background:#f8fafc;
  font-weight:600;
  border-bottom:2px solid #e5e7eb;
}

.table-cookies td{
  vertical-align:middle;
}

.table-cookies code{
  background:#f1f5f9;
  padding:2px 6px;
  border-radius:4px;
  font-size:0.8rem;
}

/* =====================================================
   BANNER DE COOKIES
   ===================================================== */
.cookie-banner{
  position:fixed;
  bottom:0;
  left:0;
  right:0;
  background:linear-gradient(135deg, #1e293b, #334155);
  color:#fff;
  padding:16px 24px;
  z-index:9999;
  box-shadow:0 -4px 30px rgba(0,0,0,0.3);
  animation:slideUp 0.4s ease;
}

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

.cookie-banner-content{
  max-width:1200px;
  margin:0 auto;
  display:flex;
  align-items:center;
  gap:20px;
  flex-wrap:wrap;
}

.cookie-banner-icon{
  width:50px;
  height:50px;
  background:linear-gradient(135deg, #f59e0b, #f97316);
  border-radius:14px;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:1.5rem;
  flex-shrink:0;
}

.cookie-banner-text{
  flex:1;
  min-width:200px;
}

.cookie-banner-text p{
  opacity:0.85;
}

.cookie-banner-actions{
  display:flex;
  gap:10px;
  flex-shrink:0;
}

@media(max-width:768px){
  .cookie-banner-content{
    flex-direction:column;
    text-align:center;
  }
  .cookie-banner-actions{
    width:100%;
    justify-content:center;
  }
}

/* ===== MEJORA BOTONES FLOTANTES ===== */
.floating-icon{
  transition:all .3s cubic-bezier(0.4, 0, 0.2, 1) !important;
  position:relative;
}
/* ===== BOTONES FLOTANTES PREMIUM ===== */
.floating-btns{
  position:fixed;
  bottom:24px;
  right:24px;
  display:flex;
  flex-direction:column;
  gap:12px;
  z-index:1055;
}
.float-btn{
  width:50px;
  height:50px;
  border-radius:50%;
  display:grid;
  place-items:center;
  font-size:1.3rem;
  border:none;
  cursor:pointer;
  transition:all .3s ease;
  text-decoration:none;
  position:relative;
}
.float-whatsapp{
  background:#25D366;
  color:#fff;
  box-shadow:0 4px 15px rgba(37,211,102,.4);
}
.float-whatsapp:hover{
  transform:scale(1.1);
  box-shadow:0 6px 25px rgba(37,211,102,.5);
  color:#fff;
}
.float-ia{
  background:linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
  background-size:200% 200%;
  animation:gradientShift 3s ease infinite;
  color:#fff;
  box-shadow:0 4px 20px rgba(102,126,234,.5);
}
.float-ia:hover{
  transform:scale(1.1);
  box-shadow:0 6px 30px rgba(102,126,234,.6);
}
.float-ia-pulse{
  position:absolute;
  inset:-4px;
  border-radius:50%;
  background:linear-gradient(135deg, #667eea, #764ba2);
  opacity:0;
  animation:iaPulse 2s ease-in-out infinite;
  z-index:-1;
}
@keyframes gradientShift{
  0%,100%{background-position:0% 50%;}
  50%{background-position:100% 50%;}
}
@keyframes iaPulse{
  0%,100%{transform:scale(1);opacity:0;}
  50%{transform:scale(1.3);opacity:.3;}
}

/* ===== SECCIÓN CONTACTO PREMIUM ===== */
.contact-section{
  background:linear-gradient(180deg, #0f1419 0%, #1a1f2e 100%);
}
.contact-wrapper{
  background:rgba(255,255,255,.03);
  border-radius:24px;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.1);
  box-shadow:0 20px 60px rgba(0,0,0,.3);
}
.contact-info-side{
  padding:3rem;
  height:100%;
  background:linear-gradient(135deg, rgba(102,126,234,.12) 0%, rgba(118,75,162,.12) 100%);
}
.contact-badge{
  display:inline-flex;
  align-items:center;
  gap:.5rem;
  background:linear-gradient(135deg, var(--aurora-1), var(--aurora-2));
  color:#fff;
  padding:.4rem 1rem;
  border-radius:50px;
  font-size:.8rem;
  font-weight:500;
}
.contact-title{
  font-size:2rem;
  font-weight:700;
  color:#fff;
  line-height:1.3;
}
.contact-desc{
  color:rgba(255,255,255,.7);
  font-size:1.05rem;
  line-height:1.7;
}
.contact-features{
  display:flex;
  flex-direction:column;
  gap:1rem;
}
.contact-feature{
  display:flex;
  align-items:center;
  gap:1rem;
}
.cf-icon{
  width:45px;
  height:45px;
  border-radius:12px;
  background:rgba(255,255,255,.08);
  border:1px solid rgba(255,255,255,.1);
  display:grid;
  place-items:center;
  color:#667eea;
  font-size:1.1rem;
}
.contact-feature strong{
  display:block;
  color:#fff;
  font-size:.95rem;
}
.contact-feature span{
  color:rgba(255,255,255,.6);
  font-size:.85rem;
}
.contact-action-side{
  padding:3rem;
  height:100%;
  display:flex;
  align-items:center;
}
.contact-card-inner{
  width:100%;
}
.contact-card-inner h4{
  color:#fff;
  font-weight:600;
}
.contact-btn{
  display:flex;
  align-items:center;
  gap:1rem;
  padding:1rem 1.25rem;
  border-radius:16px;
  text-decoration:none;
  margin-bottom:1rem;
  transition:all .3s ease;
}
.contact-btn-whatsapp{
  background:linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  color:#fff;
}
.contact-btn-whatsapp:hover{
  transform:translateX(5px);
  box-shadow:0 8px 25px rgba(37,211,102,.4);
  color:#fff;
}
.contact-btn-email{
  background:rgba(255,255,255,.05);
  border:1px solid rgba(255,255,255,.15);
  color:#fff;
}
.contact-btn-email:hover{
  background:linear-gradient(135deg, rgba(102,126,234,.2), rgba(118,75,162,.2));
  border-color:#667eea;
  transform:translateX(5px);
  color:#fff;
}
.cb-icon{
  width:42px;
  height:42px;
  border-radius:12px;
  background:rgba(255,255,255,.2);
  display:grid;
  place-items:center;
  font-size:1.2rem;
}
.contact-btn-email .cb-icon{
  background:linear-gradient(135deg, var(--aurora-1), var(--aurora-2));
  color:#fff;
}
.cb-text{
  flex:1;
}
.cb-text strong{
  display:block;
  font-size:1rem;
}
.cb-text span{
  font-size:.8rem;
  opacity:.8;
}
.contact-btn .bi-arrow-right{
  font-size:1.2rem;
  opacity:.6;
  transition:transform .3s ease;
}
.contact-btn:hover .bi-arrow-right{
  transform:translateX(3px);
  opacity:1;
}
.contact-extra{
  border-top:1px solid rgba(255,255,255,.1);
  color:rgba(255,255,255,.6);
}

/* ===== FOOTER OSCURO ===== */
.footer-dark{
  background:linear-gradient(180deg, #0f1419 0%, #1a1f2e 100%);
  color:#fff;
  margin-top:0;
}
.footer-icon-box{
  width:42px;
  height:42px;
  background:linear-gradient(135deg, var(--aurora-1), var(--aurora-2));
  border-radius:12px;
  display:grid;
  place-items:center;
  font-size:1.2rem;
}
.footer-brand-name{
  font-size:1.3rem;
  font-weight:700;
  background:linear-gradient(135deg, #667eea, #a855f7);
  -webkit-background-clip:text;
  -webkit-text-fill-color:transparent;
  background-clip:text;
}
.footer-text{
  color:rgba(255,255,255,.6);
  font-size:.9rem;
  line-height:1.6;
  margin:0;
}
.footer-title{
  color:#fff;
  font-size:.85rem;
  font-weight:600;
  text-transform:uppercase;
  letter-spacing:.5px;
  margin-bottom:1.2rem;
  position:relative;
  padding-bottom:.6rem;
}
.footer-title::after{
  content:'';
  position:absolute;
  bottom:0;
  left:0;
  width:30px;
  height:2px;
  background:linear-gradient(90deg, #667eea, #a855f7);
  border-radius:2px;
}
.footer-links{
  list-style:none;
  padding:0;
  margin:0;
}
.footer-links li{
  margin-bottom:.6rem;
}
.footer-links a{
  color:rgba(255,255,255,.6);
  text-decoration:none;
  font-size:.9rem;
  transition:all .25s ease;
}
.footer-links a:hover{
  color:#667eea;
  padding-left:.3rem;
}
.footer-contact{
  display:flex;
  flex-direction:column;
  gap:.7rem;
}
.footer-contact a{
  color:rgba(255,255,255,.6);
  text-decoration:none;
  font-size:.9rem;
  display:flex;
  align-items:center;
  gap:.6rem;
  transition:color .25s ease;
}
.footer-contact a:hover{
  color:#667eea;
}
.footer-contact i{
  color:#667eea;
  font-size:1rem;
}
.footer-bottom-bar{
  border-top:1px solid rgba(255,255,255,.1);
  color:rgba(255,255,255,.5);
  font-size:.85rem;
}
.footer-legal-links{
  display:flex;
  gap:1.5rem;
}
.footer-legal-links a{
  color:rgba(255,255,255,.5);
  text-decoration:none;
  transition:color .25s ease;
}
.footer-legal-links a:hover{
  color:#667eea;
}

@media (max-width:991px){
  .contact-info-side,
  .contact-action-side{
    padding:2rem;
  }
  .contact-title{
    font-size:1.6rem;
  }
}
@media (max-width:767px){
  .contact-wrapper{
    border-radius:16px;
  }
  .contact-info-side{
    padding:1.5rem;
  }
  .contact-action-side{
    padding:1.5rem;
    border-top:1px solid var(--glass-border);
  }
  .contact-title{
    font-size:1.4rem;
  }
  .float-btn{
    width:46px;
    height:46px;
    font-size:1.2rem;
  }
  .footer-dark{
    text-align:center;
  }
  .footer-title::after{
    left:50%;
    transform:translateX(-50%);
  }
  .footer-contact{
    align-items:center;
  }
  .footer-bottom-bar{
    text-align:center;
  }
  .footer-legal-links{
    justify-content:center;
  }
}

/* ===== MEJORA CHAT IA ===== */
#chatIA{
  border:1px solid rgba(22,160,133,0.3) !important;
  box-shadow:0 8px 32px rgba(0,0,0,0.18),0 0 40px rgba(22,160,133,0.15) !important;
}

/* ===== RESPONSIVE MEJORAS ===== */
@media (max-width:991px){
  .timeline-step{
    padding:.5rem;
  }
  .step-icon-wrap{
    width:65px;
    height:65px;
  }
  .step-icon-wrap i{
    font-size:1.5rem;
  }
  .benefit-icon{
    width:60px;
    height:60px;
  }
  .benefit-icon i{
    font-size:1.5rem;
  }
}

@media (max-width:767px){
  .timeline-container .row{
    flex-wrap:wrap;
  }
  .timeline-step h6{
    font-size:.85rem;
  }
  .timeline-step p{
    font-size:.75rem;
  }
  .btn-cta-main,
  .btn-cta-secondary{
    width:100%;
  }
  .cta-final{
    padding:1.5rem;
  }
  .float-btn{
    width:38px;
    height:38px;
    font-size:1rem;
  }
  .footer-minimal{
    text-align:center;
  }
}

/* ================================================================
   CHAT IA VISION - Estilos Premium con soporte de imágenes
   ================================================================ */

/* Contenedor principal del chat */
.chat-ia-vision{
  position:fixed;
  bottom:90px;
  right:20px;
  width:380px;
  max-width:95vw;
  height:520px;
  max-height:85vh;
  background:rgba(255,255,255,0.98);
  border-radius:20px;
  box-shadow:0 20px 60px rgba(5,7,28,0.25),0 0 40px rgba(13,110,253,0.15);
  border:1px solid rgba(13,110,253,0.2);
  display:flex;
  flex-direction:column;
  z-index:9999;
  overflow:hidden;
  backdrop-filter:blur(10px);
  animation:chatSlideIn 0.3s ease;
}

@keyframes chatSlideIn{
  from{opacity:0;transform:translateY(20px) scale(0.95);}
  to{opacity:1;transform:translateY(0) scale(1);}
}

/* Header del chat con gradiente */
.chat-ia-header{
  background:linear-gradient(135deg,var(--brand-1) 0%,var(--brand-2) 100%);
  padding:14px 16px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  cursor:move;
  user-select:none;
}

.chat-ia-title{
  display:flex;
  align-items:center;
  color:#fff;
  font-weight:600;
  font-size:1rem;
  gap:4px;
}

.chat-ia-badge{
  background:rgba(255,255,255,0.2);
  padding:2px 8px;
  border-radius:12px;
  font-size:0.7rem;
  font-weight:500;
  margin-left:8px;
}

.chat-ia-actions{
  display:flex;
  gap:6px;
}

.chat-ia-btn{
  background:rgba(255,255,255,0.15);
  border:none;
  color:#fff;
  width:32px;
  height:32px;
  border-radius:8px;
  display:flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
  transition:all 0.2s ease;
}

.chat-ia-btn:hover{
  background:rgba(255,255,255,0.3);
  transform:scale(1.05);
}

/* Cuerpo del chat */
.chat-ia-body{
  flex:1;
  padding:16px;
  overflow-y:auto;
  background:linear-gradient(180deg,#f8f9fa 0%,#fff 100%);
  display:flex;
  flex-direction:column;
  gap:12px;
}

/* Mensajes del chat */
.chat-msg-ia{
  display:flex;
  gap:10px;
  max-width:95%;
  animation:msgFadeIn 0.3s ease;
}

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

.chat-msg-ia.bot{
  align-self:flex-start;
}

.chat-msg-ia.user{
  align-self:flex-end;
  flex-direction:row-reverse;
}

.chat-msg-avatar{
  width:36px;
  height:36px;
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  flex-shrink:0;
  font-size:1rem;
}

.chat-msg-ia.bot .chat-msg-avatar{
  background:linear-gradient(135deg,var(--brand-1),var(--brand-2));
  color:#fff;
}

.chat-msg-ia.user .chat-msg-avatar{
  background:linear-gradient(135deg,#10b981,#059669);
  color:#fff;
}

.chat-msg-content{
  background:#fff;
  padding:12px 16px;
  border-radius:16px;
  font-size:0.9rem;
  line-height:1.5;
  box-shadow:0 2px 8px rgba(0,0,0,0.06);
}

.chat-msg-ia.bot .chat-msg-content{
  border-bottom-left-radius:4px;
  border:1px solid rgba(13,110,253,0.1);
}

.chat-msg-ia.user .chat-msg-content{
  background:linear-gradient(135deg,#10b981,#059669);
  color:#fff;
  border-bottom-right-radius:4px;
}

.chat-features-list{
  margin:8px 0 4px 0;
  padding-left:0;
  list-style:none;
  font-size:0.85rem;
}

.chat-features-list li{
  margin:4px 0;
}

/* Imagen en mensaje */
.chat-msg-image{
  max-width:200px;
  border-radius:12px;
  margin-top:8px;
  box-shadow:0 2px 8px rgba(0,0,0,0.1);
}

/* Indicador de carga (pensando) */
.chat-thinking{
  display:flex;
  gap:4px;
  padding:8px 12px;
}

.chat-thinking span{
  width:8px;
  height:8px;
  background:var(--brand-1);
  border-radius:50%;
  animation:thinking 1.4s infinite ease-in-out both;
}

.chat-thinking span:nth-child(1){animation-delay:-0.32s;}
.chat-thinking span:nth-child(2){animation-delay:-0.16s;}

@keyframes thinking{
  0%,80%,100%{transform:scale(0);}
  40%{transform:scale(1);}
}

/* Preview de imagen adjunta */
.chat-ia-preview{
  padding:8px 16px;
  background:#f3f4f6;
  border-top:1px solid #e5e7eb;
  display:flex;
  align-items:center;
  gap:10px;
}

.chat-ia-preview img{
  max-height:60px;
  max-width:100px;
  border-radius:8px;
  object-fit:cover;
  box-shadow:0 2px 6px rgba(0,0,0,0.1);
}

.chat-preview-remove{
  background:#ef4444;
  color:#fff;
  border:none;
  width:24px;
  height:24px;
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
  font-size:0.8rem;
  transition:all 0.2s;
}

.chat-preview-remove:hover{
  background:#dc2626;
  transform:scale(1.1);
}

/* Área de input */
.chat-ia-input-area{
  padding:12px 16px 16px;
  background:#fff;
  border-top:1px solid #e5e7eb;
}

.chat-ia-input-row{
  display:flex;
  gap:8px;
  align-items:flex-end;
}

.chat-ia-attach{
  width:40px;
  height:40px;
  background:linear-gradient(135deg,#f3f4f6,#e5e7eb);
  border-radius:12px;
  display:flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
  transition:all 0.2s;
  color:#6b7280;
  font-size:1.1rem;
}

.chat-ia-attach:hover{
  background:linear-gradient(135deg,var(--brand-1),var(--brand-2));
  color:#fff;
  transform:scale(1.05);
}

.chat-ia-textarea{
  flex:1;
  border:1px solid #e5e7eb;
  border-radius:12px;
  padding:10px 14px;
  font-size:0.95rem;
  resize:none;
  min-height:40px;
  max-height:100px;
  transition:all 0.2s;
  font-family:inherit;
}

.chat-ia-textarea:focus{
  outline:none;
  border-color:var(--brand-1);
  box-shadow:0 0 0 3px rgba(13,110,253,0.1);
}

.chat-ia-send{
  width:40px;
  height:40px;
  background:linear-gradient(135deg,var(--brand-1),var(--brand-2));
  border:none;
  border-radius:12px;
  color:#fff;
  display:flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
  transition:all 0.2s;
  font-size:1rem;
}

.chat-ia-send:hover{
  transform:scale(1.05);
  box-shadow:0 4px 12px rgba(13,110,253,0.3);
}

.chat-ia-send:disabled{
  opacity:0.6;
  cursor:not-allowed;
  transform:none;
}

.chat-ia-tips{
  margin-top:8px;
  font-size:0.75rem;
  color:#9ca3af;
  display:flex;
  align-items:center;
  gap:4px;
}

.chat-ia-tips i{
  color:#fbbf24;
}

/* ================================================================
   BOTÓN FLOTANTE PARA TEXTO SELECCIONADO
   ================================================================ */

.btn-enviar-ia-flotante{
  position:absolute;
  z-index:10000;
  animation:floatBtnIn 0.2s ease;
}

@keyframes floatBtnIn{
  from{opacity:0;transform:scale(0.8);}
  to{opacity:1;transform:scale(1);}
}

.btn-ia-seleccion{
  background:linear-gradient(135deg,var(--brand-1),var(--brand-2));
  color:#fff;
  border:none;
  padding:8px 14px;
  border-radius:20px;
  font-size:0.85rem;
  font-weight:500;
  display:flex;
  align-items:center;
  gap:6px;
  box-shadow:0 4px 16px rgba(13,110,253,0.35);
  cursor:pointer;
  transition:all 0.2s;
}

.btn-ia-seleccion:hover{
  transform:scale(1.05);
  box-shadow:0 6px 20px rgba(13,110,253,0.45);
}

/* ================================================================
   RESPONSIVE CHAT IA
   ================================================================ */

@media (max-width:576px){
  .chat-ia-vision{
    width:calc(100vw - 20px);
    height:70vh;
    bottom:70px;
    right:10px;
    left:10px;
  }
  
  .chat-ia-header{
    padding:12px 14px;
  }
  
  .chat-ia-title{
    font-size:0.9rem;
  }
  
  .chat-ia-body{
    padding:12px;
  }
  
  .chat-msg-content{
    font-size:0.85rem;
    padding:10px 12px;
  }
  
  .chat-ia-textarea{
    font-size:0.9rem;
  }
}

/* ================================================================
   GENERADOR VISUAL MEJORADO - Estilos
   ================================================================ */

/* Panel principal del generador */
.generator-panel{
  background:rgba(255,255,255,0.95);
  border-radius:20px;
  box-shadow:0 10px 40px rgba(5,7,28,0.12);
  border:1px solid rgba(13,110,253,0.1);
  overflow:hidden;
  backdrop-filter:blur(10px);
}

/* Tabs de navegación */
.generator-tabs{
  padding:12px 16px 0;
  background:linear-gradient(135deg,rgba(13,110,253,0.05),rgba(102,16,242,0.05));
  border-bottom:1px solid rgba(0,0,0,0.06);
  gap:4px;
}

.generator-tabs .nav-link{
  background:transparent;
  color:#6b7280;
  border-radius:12px 12px 0 0;
  padding:10px 16px;
  font-size:0.85rem;
  font-weight:500;
  border:none;
  transition:all 0.2s;
}

.generator-tabs .nav-link:hover{
  color:var(--brand-1);
  background:rgba(13,110,253,0.05);
}

.generator-tabs .nav-link.active{
  background:#fff;
  color:var(--brand-1);
  box-shadow:0 -2px 10px rgba(0,0,0,0.05);
}

/* Contenido de tabs */
.generator-content{
  padding:20px;
  max-height:calc(100vh - 300px);
  overflow-y:auto;
}

/* Sección genérica */
.gen-section{
  margin-bottom:24px;
}

.gen-label{
  display:flex;
  align-items:center;
  font-weight:600;
  font-size:0.9rem;
  color:#1f2937;
  margin-bottom:12px;
}

.gen-label i{
  color:var(--brand-1);
}

/* Grid de tipos de web */
.tipo-web-grid{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:10px;
}

.tipo-card{
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  padding:14px 8px;
  background:#f8fafc;
  border:2px solid #e5e7eb;
  border-radius:12px;
  cursor:pointer;
  transition:all 0.2s;
  text-align:center;
}

.tipo-card i{
  font-size:1.5rem;
  color:#6b7280;
  margin-bottom:6px;
  transition:all 0.2s;
}

.tipo-card span{
  font-size:0.75rem;
  font-weight:500;
  color:#6b7280;
}

.tipo-card:hover{
  border-color:var(--brand-1);
  background:#f0f9ff;
}

.tipo-card:hover i{
  color:var(--brand-1);
  transform:scale(1.1);
}

.tipo-card.active{
  border-color:var(--brand-1);
  background:linear-gradient(135deg,rgba(13,110,253,0.1),rgba(102,16,242,0.1));
  box-shadow:0 4px 12px rgba(13,110,253,0.2);
}

.tipo-card.active i{
  color:var(--brand-1);
}

.tipo-card.active span{
  color:var(--brand-1);
  font-weight:600;
}

/* Lista de secciones arrastrables */
.secciones-list{
  display:flex;
  flex-direction:column;
  gap:8px;
}

.seccion-item{
  display:flex;
  align-items:center;
  gap:10px;
  padding:12px;
  background:#f8fafc;
  border:1px solid #e5e7eb;
  border-radius:10px;
  cursor:grab;
  transition:all 0.2s;
}

.seccion-item:hover{
  background:#f0f9ff;
  border-color:var(--brand-1);
}

.seccion-item.active{
  background:#fff;
  border-color:var(--brand-1);
  box-shadow:0 2px 8px rgba(13,110,253,0.15);
}

.seccion-item.dragging{
  opacity:0.5;
  transform:scale(0.98);
}

.seccion-drag{
  color:#9ca3af;
  cursor:grab;
}

.seccion-drag:active{
  cursor:grabbing;
}

.seccion-check input{
  width:18px;
  height:18px;
  cursor:pointer;
  accent-color:var(--brand-1);
}

.seccion-info{
  flex:1;
  display:flex;
  align-items:center;
  gap:8px;
}

.seccion-info i{
  color:var(--brand-1);
  font-size:1rem;
}

.seccion-info span{
  font-size:0.85rem;
  font-weight:500;
  color:#374151;
}

.seccion-badge{
  font-size:0.65rem;
  padding:2px 8px;
  background:linear-gradient(135deg,var(--brand-1),var(--brand-2));
  color:#fff;
  border-radius:20px;
  font-weight:600;
}

/* Paletas de colores */
.paletas-grid{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:10px;
}

.paleta-card{
  display:flex;
  flex-direction:column;
  align-items:center;
  padding:12px 8px;
  background:#f8fafc;
  border:2px solid #e5e7eb;
  border-radius:12px;
  cursor:pointer;
  transition:all 0.2s;
}

.paleta-card:hover{
  border-color:var(--brand-1);
  transform:translateY(-2px);
}

.paleta-card.active{
  border-color:var(--brand-1);
  background:#fff;
  box-shadow:0 4px 12px rgba(13,110,253,0.2);
}

.paleta-colors{
  display:flex;
  gap:4px;
  margin-bottom:6px;
}

.paleta-colors span{
  width:24px;
  height:24px;
  border-radius:50%;
  box-shadow:0 2px 4px rgba(0,0,0,0.15);
}

.paleta-name{
  font-size:0.7rem;
  font-weight:500;
  color:#6b7280;
}

.paleta-card.active .paleta-name{
  color:var(--brand-1);
  font-weight:600;
}

/* Color picker custom */
.colores-custom{
  padding-top:12px;
  border-top:1px solid #e5e7eb;
}

.color-picker-wrap{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:4px;
}

.color-picker-input{
  width:50px;
  height:50px;
  border:none;
  border-radius:12px;
  cursor:pointer;
  padding:0;
  overflow:hidden;
}

.color-picker-input::-webkit-color-swatch-wrapper{
  padding:0;
}

.color-picker-input::-webkit-color-swatch{
  border:none;
  border-radius:12px;
}

.color-picker-label{
  font-size:0.7rem;
  color:#6b7280;
}

/* Estilos visuales */
.estilo-grid{
  display:grid;
  grid-template-columns:repeat(4, 1fr);
  gap:8px;
}

.estilo-card{
  display:flex;
  flex-direction:column;
  align-items:center;
  padding:12px 6px;
  background:#f8fafc;
  border:2px solid #e5e7eb;
  border-radius:10px;
  cursor:pointer;
  transition:all 0.2s;
}

.estilo-card i{
  font-size:1.2rem;
  color:#6b7280;
  margin-bottom:4px;
}

.estilo-card span{
  font-size:0.7rem;
  font-weight:500;
  color:#6b7280;
}

.estilo-card:hover{
  border-color:var(--brand-1);
}

.estilo-card.active{
  border-color:var(--brand-1);
  background:linear-gradient(135deg,rgba(13,110,253,0.1),rgba(102,16,242,0.1));
}

.estilo-card.active i,
.estilo-card.active span{
  color:var(--brand-1);
}

/* Footer del generador */
.generator-footer{
  padding:16px 20px;
  background:#f8fafc;
  border-top:1px solid #e5e7eb;
}

.gen-auto-update{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  margin-top:10px;
  font-size:0.8rem;
  color:#6b7280;
}

.gen-auto-update input{
  accent-color:var(--brand-1);
}

/* Responsive del generador */
@media (max-width:991px){
  .generator-panel{
    position:relative !important;
    top:auto !important;
  }
  
  .generator-content{
    max-height:none;
  }
  
  .tipo-web-grid{
    grid-template-columns:repeat(2, 1fr);
  }
  
  .paletas-grid{
    grid-template-columns:repeat(2, 1fr);
  }
  
  .estilo-grid{
    grid-template-columns:repeat(2, 1fr);
  }
}

@media (max-width:576px){
  .generator-tabs .nav-link{
    padding:8px 10px;
    font-size:0.75rem;
  }
  
  .generator-tabs .nav-link i{
    display:none;
  }
}

/* =====================================================
   TAB IA CREATOR - Generación con Inteligencia Artificial
   ===================================================== */
.ia-creator-header{
  display:flex;
  align-items:center;
  gap:14px;
  margin-bottom:20px;
  padding:16px;
  background:linear-gradient(135deg, rgba(13,110,253,0.1), rgba(139,93,255,0.1));
  border-radius:12px;
  border:1px solid rgba(13,110,253,0.2);
}

.ia-creator-icon{
  width:50px;
  height:50px;
  background:var(--gradient-ia);
  border-radius:12px;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:1.5rem;
  color:#fff;
  box-shadow:0 4px 15px rgba(13,110,253,0.3);
}

.ia-limit-badge{
  display:flex;
  align-items:center;
  gap:8px;
  padding:10px 16px;
  background:linear-gradient(135deg, #fef3c7, #fde68a);
  border:1px solid #f59e0b;
  border-radius:8px;
  font-size:0.85rem;
  color:#92400e;
  margin-bottom:20px;
}

.ia-limit-badge i{
  color:#f59e0b;
}

.ia-limit-badge.exhausted{
  background:linear-gradient(135deg, #fecaca, #fca5a5);
  border-color:#ef4444;
  color:#991b1b;
}

.ia-limit-badge.exhausted i{
  color:#ef4444;
}

.ia-creator-form textarea{
  border:2px solid #e5e7eb;
  border-radius:12px;
  padding:14px;
  font-size:0.9rem;
  transition:all 0.3s ease;
  resize:none;
}

.ia-creator-form textarea:focus{
  border-color:var(--brand-1);
  box-shadow:0 0 0 4px rgba(13,110,253,0.15);
}

.ia-tips{
  background:#f8fafc;
  padding:12px;
  border-radius:8px;
  border:1px solid #e5e7eb;
}

.ia-tips ul{
  margin:0;
  padding-left:16px;
}

.ia-tips li{
  margin-bottom:4px;
}

.btn-ia-generate{
  background:var(--gradient-ia);
  border:none;
  color:#fff;
  padding:14px 24px;
  font-size:1rem;
  font-weight:600;
  border-radius:12px;
  transition:all 0.3s ease;
  box-shadow:0 4px 15px rgba(13,110,253,0.3);
}

.btn-ia-generate:hover{
  transform:translateY(-2px);
  box-shadow:0 8px 25px rgba(13,110,253,0.4);
  color:#fff;
}

.btn-ia-generate:disabled{
  opacity:0.6;
  cursor:not-allowed;
  transform:none;
}

.ia-status{
  margin-top:16px;
  padding:16px;
  background:linear-gradient(135deg, rgba(13,110,253,0.05), rgba(139,93,255,0.05));
  border-radius:12px;
  border:1px solid rgba(13,110,253,0.2);
}

.ia-loading{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:12px;
  color:var(--brand-1);
  font-weight:500;
}

.ia-loading .spinner-border{
  color:var(--brand-1);
}

.ia-limit-reached{
  margin-top:16px;
  padding:20px;
  background:linear-gradient(135deg, #fef2f2, #fee2e2);
  border:1px solid #fca5a5;
  border-radius:12px;
  text-align:center;
}

.ia-limit-reached i{
  font-size:2rem;
  color:#ef4444;
  margin-bottom:8px;
}

.ia-limit-reached p{
  color:#991b1b;
  margin-bottom:12px;
  font-weight:500;
}

/* Animación de generación */
@keyframes iaGenerating{
  0%{background-position:0% 50%;}
  50%{background-position:100% 50%;}
  100%{background-position:0% 50%;}
}

.ia-generating{
  background:linear-gradient(90deg, var(--brand-1), var(--brand-2), var(--brand-3), var(--brand-1));
  background-size:300% 100%;
  animation:iaGenerating 2s ease infinite;
}

/* =====================================================
   OPTIMIZACIÓN PARA DISPOSITIVOS LENTOS Y ACCESIBILIDAD
   Desactiva animaciones pesadas en:
   - Usuarios con preferencia de movimiento reducido
   - Dispositivos de bajo rendimiento
   ===================================================== */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .aurora-bg,
  .code-particles,
  .cyber-grid {
    opacity: 0.3;
  }

  .aurora-bg::before,
  .aurora-bg::after {
    animation: none;
    filter: blur(20px);
  }

  .code-particle {
    animation: none;
    opacity: 0.05;
  }

  .hero-glow {
    animation: none;
  }
}

/* Optimización adicional para móviles y tablets */
@media (max-width: 768px) {
  .aurora-bg::before,
  .aurora-bg::after {
    filter: blur(25px);
    opacity: 0.05;
  }

  .code-particles {
    display: none;
  }

  .hero-glow {
    filter: blur(25px);
  }

  .glass-panel {
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
  }

  .navbar-premium,
  .nav-glass {
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
  }
}


