/* ===== HERO BROWSER SECTION FIX ===== */

/* Reset y corrección para el hero */
.hosting-page .hero-browser-section {
  background: linear-gradient(135deg, #0f172a 0%, #1e40af 25%, #3b82f6 50%, #60a5fa 100%) !important;
  padding: 50px 0 40px !important;
  min-height: 42vh !important;
  display: flex !important;
  align-items: center !important;
  position: relative !important;
  overflow: hidden !important;
  margin-top: 0 !important;
}

/* Elementos decorativos estáticos */
.hosting-page .hero-browser-section::before {
  content: '' !important;
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  background-image: 
    radial-gradient(circle at 20% 80%, rgba(120, 119, 198, 0.3) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(255, 119, 198, 0.3) 0%, transparent 50%),
    radial-gradient(circle at 40% 40%, rgba(120, 219, 255, 0.2) 0%, transparent 50%) !important;
}

/* Partículas estáticas */
.hosting-page .hero-browser-section::after {
  content: '' !important;
  position: absolute !important;
  width: 100% !important;
  height: 100% !important;
  top: 0 !important;
  left: 0 !important;
  background-image: 
    radial-gradient(2px 2px at 20px 30px, white, transparent),
    radial-gradient(2px 2px at 40px 70px, white, transparent),
    radial-gradient(1px 1px at 50px 50px, white, transparent),
    radial-gradient(1px 1px at 80px 10px, white, transparent),
    radial-gradient(2px 2px at 130px 80px, white, transparent),
    radial-gradient(1px 1px at 110px 30px, white, transparent) !important;
  background-repeat: repeat !important;
  background-size: 200px 200px !important;
  opacity: 0.3 !important;
}

/* Container fix */
.hosting-page .hero-browser-section .container {
  max-width: 1200px !important;
  margin: 0 auto !important;
  padding: 0 15px !important;
  position: relative !important;
  z-index: 2 !important;
  display: block !important;
  width: 100% !important;
}

/* Row layout fix */
.hosting-page .hero-browser-section .row {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  flex-wrap: wrap !important;
  margin: 0 -15px !important;
}

/* Columnas correctas */
.hosting-page .hero-browser-section .col-lg-6 {
  flex: 0 0 50% !important;
  max-width: 50% !important;
  padding: 0 15px !important;
  position: relative !important;
}

/* Hero content fix */
.hosting-page .hero-browser-section .hero-content {
  color: white !important;
  padding-right: 2rem !important;
  text-align: left !important;
}

.hosting-page .hero-browser-section .hero-title {
  font-size: 3.5rem !important;
  font-weight: 800 !important;
  color: white !important;
  margin-bottom: 1.5rem !important;
  line-height: 1.1 !important;
  text-shadow: 
    0 0 40px rgba(96, 165, 250, 0.5),
    0 0 80px rgba(59, 130, 246, 0.3),
    0 4px 20px rgba(0, 0, 0, 0.3) !important;
  background: linear-gradient(135deg, #ffffff 0%, #93c5fd 100%) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
}

.hosting-page .hero-browser-section .hero-subtitle {
  font-size: 1.2rem !important;
  color: white !important;
  margin-bottom: 2rem !important;
  opacity: 0.95 !important;
  line-height: 1.6 !important;
}

/* Botones fix */
.hosting-page .hero-browser-section .hero-buttons {
  display: flex !important;
  gap: 1rem !important;
  flex-wrap: wrap !important;
  margin-top: 2rem !important;
  align-items: center !important;
}

.hosting-page .btn-primary-hero {
  background: linear-gradient(135deg, #ffffff 0%, #f0f9ff 100%) !important;
  color: #1e40af !important;
  padding: 16px 36px !important;
  border-radius: 50px !important;
  font-weight: 700 !important;
  font-size: 1.05rem !important;
  text-decoration: none !important;
  display: inline-block !important;
  border: 2px solid rgba(255, 255, 255, 0.8) !important;
  box-shadow: 
    0 0 30px rgba(96, 165, 250, 0.5),
    0 4px 15px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.5) !important;
  position: relative !important;
  overflow: hidden !important;
}

.hosting-page .btn-primary-hero:hover {
  background: linear-gradient(135deg, #ffffff 0%, #e0f2fe 100%) !important;
  color: #1e40af !important;
  text-decoration: none !important;
}

.hosting-page .btn-secondary-hero {
  background: rgba(255, 255, 255, 0.1) !important;
  color: white !important;
  padding: 16px 36px !important;
  border-radius: 50px !important;
  font-weight: 600 !important;
  font-size: 1.05rem !important;
  text-decoration: none !important;
  display: inline-block !important;
  border: 2px solid rgba(255, 255, 255, 0.3) !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  box-shadow: 
    0 0 20px rgba(255, 255, 255, 0.2),
    inset 0 0 20px rgba(255, 255, 255, 0.1) !important;
  position: relative !important;
  overflow: hidden !important;
}

.hosting-page .btn-secondary-hero:hover {
  background: rgba(255, 255, 255, 0.2) !important;
  border-color: rgba(255, 255, 255, 0.8) !important;
  transform: translateY(-3px) scale(1.05) !important;
  color: white !important;
  text-decoration: none !important;
  box-shadow: 
    0 0 30px rgba(255, 255, 255, 0.4),
    0 8px 25px rgba(0, 0, 0, 0.2),
    inset 0 0 25px rgba(255, 255, 255, 0.2) !important;
}

.hosting-page .btn-secondary-hero:hover::after {
  opacity: 1 !important;
}

/* Browser demo fix */
.hosting-page .hero-browser-section .browser-demo {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  width: 100% !important;
  height: auto !important;
}

.hosting-page .hero-browser-section .browser-window {
  background: linear-gradient(135deg, #1a202c 0%, #2d3748 100%) !important;
  border-radius: 16px !important;
  box-shadow: 
    0 50px 100px rgba(0, 0, 0, 0.4),
    0 30px 60px rgba(0, 0, 0, 0.3),
    0 0 80px rgba(96, 165, 250, 0.3),
    inset 0 0 0 1px rgba(255, 255, 255, 0.1) !important;
  width: 100% !important;
  max-width: 540px !important;
  transform: perspective(1200px) rotateX(2deg) rotateY(-5deg) !important;
  transition: all 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
  position: relative !important;
}

.hosting-page .hero-browser-section .browser-window::before {
  content: '' !important;
  position: absolute !important;
  top: -2px !important;
  left: -2px !important;
  right: -2px !important;
  bottom: -2px !important;
  background: linear-gradient(45deg, #60a5fa, #3b82f6, #1e40af, #60a5fa) !important;
  border-radius: 16px !important;
  opacity: 0.3 !important;
  z-index: -1 !important;
}

.hosting-page .hero-browser-section .browser-window:hover {
}

/* Browser header fix */
.hosting-page .hero-browser-section .browser-header {
  background: linear-gradient(to bottom, #1a202c 0%, #2d3748 100%) !important;
  padding: 14px 16px !important;
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  border-radius: 16px 16px 0 0 !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
}

/* Controles del navegador mejorados */
.hosting-page .browser-controls {
  display: flex !important;
  gap: 8px !important;
}

.hosting-page .control {
  width: 12px !important;
  height: 12px !important;
  border-radius: 50% !important;
  cursor: pointer !important;
  position: relative !important;
}

.hosting-page .control.close {
  background: linear-gradient(135deg, #ff5f56 0%, #ff3b30 100%) !important;
  box-shadow: 0 0 10px rgba(255, 95, 86, 0.5) !important;
}

.hosting-page .control.minimize {
  background: linear-gradient(135deg, #ffbd2e 0%, #ff9500 100%) !important;
  box-shadow: 0 0 10px rgba(255, 189, 46, 0.5) !important;
}

.hosting-page .control.maximize {
  background: linear-gradient(135deg, #27ca3f 0%, #00c853 100%) !important;
  box-shadow: 0 0 10px rgba(39, 202, 63, 0.5) !important;
}

.hosting-page .control:hover {
}

/* URL Bar mejorada */
.hosting-page .browser-url {
  flex: 1 !important;
  background: linear-gradient(135deg, #374151 0%, #4b5563 100%) !important;
  padding: 8px 16px !important;
  border-radius: 50px !important;
  display: flex !important;
  align-items: center !important;
  box-shadow: 
    inset 0 2px 4px rgba(0, 0, 0, 0.3),
    0 1px 0 rgba(255, 255, 255, 0.1) !important;
}

.hosting-page .url-text {
  color: rgba(255, 255, 255, 0.8) !important;
  font-size: 0.85rem !important;
  font-family: 'Segoe UI', system-ui, sans-serif !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

/* Browser content fix */
.hosting-page .hero-browser-section .browser-content {
  height: 400px !important;
  position: relative !important;
  overflow: hidden !important;
  background: white !important;
  border-radius: 0 0 12px 12px !important;
}

/* Responsive Design */
@media (max-width: 991.98px) {
  .hosting-page .hero-browser-section {
    padding: 80px 0 60px !important;
    min-height: auto !important;
  }
  
  .hosting-page .hero-browser-section .row {
    flex-direction: column !important;
  }
  
  .hosting-page .hero-browser-section .col-lg-6 {
    flex: 0 0 100% !important;
    max-width: 100% !important;
    margin-bottom: 2rem !important;
  }
  
  .hosting-page .hero-browser-section .hero-content {
    text-align: center !important;
    padding-right: 0 !important;
  }
  
  .hosting-page .hero-browser-section .hero-buttons {
    justify-content: center !important;
  }
  
  .hosting-page .hero-browser-section .browser-window {
    transform: none !important;
    max-width: 450px !important;
  }
}

@media (max-width: 768px) {
  .hosting-page .hero-browser-section {
    padding: 60px 0 40px !important;
    min-height: 60vh !important;
  }
  
  .hosting-page .hero-browser-section .hero-title {
    font-size: 2rem !important;
  }
  
  .hosting-page .hero-browser-section .hero-subtitle {
    font-size: 1rem !important;
  }
  
  .hosting-page .btn-primary-hero,
  .hosting-page .btn-secondary-hero {
    padding: 12px 24px !important;
    font-size: 0.95rem !important;
    width: 100% !important;
    text-align: center !important;
  }
  
  .hosting-page .hero-browser-section .hero-buttons {
    flex-direction: column !important;
    gap: 0.75rem !important;
    width: 100% !important;
  }
  
  .hosting-page .hero-browser-section .browser-window {
    max-width: 100% !important;
  }
  
  .hosting-page .hero-browser-section .browser-content {
    height: 300px !important;
  }
}

@media (max-width: 576px) {
  .hosting-page .hero-browser-section {
    padding: 50px 0 30px !important;
  }
  
  .hosting-page .hero-browser-section .hero-title {
    font-size: 1.75rem !important;
  }
  
  .hosting-page .hero-browser-section .hero-subtitle {
    font-size: 0.95rem !important;
  }
}

/* Asegurar que el contenido del terminal sea visible */
.hosting-page .terminal-section {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  background: white !important;
  z-index: 10 !important;
}

.hosting-page .control-panel-body {
  padding: 20px !important;
  background: #f8fafc !important;
  height: 100% !important;
  overflow-y: auto !important;
}

.hosting-page .panel-step {
  display: flex !important;
  align-items: center !important;
  margin-bottom: 12px !important;
  padding: 10px !important;
  background: white !important;
  border-radius: 8px !important;
  opacity: 1 !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1) !important;
}

.hosting-page .step-text {
  flex: 1 !important;
  color: #2d3748 !important;
  font-size: 0.9rem !important;
}

.hosting-page .step-status {
  color: #10b981 !important;
  font-weight: bold !important;
  font-size: 1.2rem !important;
}

.hosting-page .panel-success {
  text-align: center !important;
  margin-top: 20px !important;
  opacity: 1 !important;
}

.hosting-page .success-message {
  font-size: 1.2rem !important;
  font-weight: 600 !important;
  color: #10b981 !important;
}
