/* ========================================
   HOPE - Desarrollo Web Futurista 2026
   Diseño único con glassmorphism, gradientes animados, efectos de neón
   ======================================== */

/* === VARIABLES FUTURISTAS === */
:root {
  /* Colores primarios futuristas */
  --neon-blue: #00d4ff;
  --neon-purple: #b537f2;
  --neon-pink: #ff006e;
  --electric-cyan: #00fff5;
  --deep-purple: #5b21b6;
  --midnight: #0a0e27;
  --dark-bg: #0f0f23;
  --darker: #050510;

  /* Gradientes */
  --gradient-primary: linear-gradient(135deg, var(--neon-blue) 0%, var(--neon-purple) 100%);
  --gradient-secondary: linear-gradient(135deg, var(--neon-purple) 0%, var(--neon-pink) 100%);
  --gradient-accent: linear-gradient(135deg, var(--electric-cyan) 0%, var(--neon-blue) 100%);
  --gradient-dark: linear-gradient(180deg, var(--darker) 0%, var(--dark-bg) 100%);

  /* Glassmorphism */
  --glass-bg: rgba(255, 255, 255, 0.05);
  --glass-border: rgba(255, 255, 255, 0.1);
  --glass-blur: 12px;

  /* Sombras */
  --glow-blue: 0 0 20px rgba(0, 212, 255, 0.4);
  --glow-purple: 0 0 20px rgba(181, 55, 242, 0.4);
  --glow-pink: 0 0 20px rgba(255, 0, 110, 0.4);
  --shadow-deep: 0 10px 50px rgba(0, 0, 0, 0.5);

  /* Espaciado */
  --container-max: 1296px;
  --section-padding: 120px;
  --section-padding-mobile: 60px;
}

/* Light mode overrides - OPCIÓN D: BACKGROUND CON OVERLAY DE COLOR */
body.light-mode {
  --dark-bg: #f5f7fa;
  --darker: #ffffff;
  --midnight: #1a1a2e;
  --glass-bg: rgba(255, 255, 255, 0.7);
  --glass-border: rgba(0, 0, 0, 0.1);
}

/* Overlays de color muy sutiles alternando neones */
body.light-mode .hero-futuristic {
  background: linear-gradient(180deg, rgba(0, 212, 255, 0.03) 0%, #ffffff 100%);
}

body.light-mode .section-diferenciadores {
  background: linear-gradient(180deg, #ffffff 0%, rgba(181, 55, 242, 0.025) 50%, #ffffff 100%);
}

body.light-mode .section-paquetes {
  background: linear-gradient(180deg, rgba(0, 212, 255, 0.025) 0%, #ffffff 50%, rgba(181, 55, 242, 0.025) 100%);
}

body.light-mode .section-especializados {
  background: linear-gradient(180deg, #ffffff 0%, rgba(255, 0, 110, 0.02) 50%, #ffffff 100%);
}

body.light-mode .section-casos-uso {
  background: linear-gradient(180deg, rgba(181, 55, 242, 0.025) 0%, #ffffff 100%);
}

body.light-mode .section-proceso {
  background: linear-gradient(180deg, #ffffff 0%, rgba(0, 212, 255, 0.03) 100%);
}

body.light-mode .section-cta-final {
  background: linear-gradient(180deg, rgba(0, 212, 255, 0.04) 0%, rgba(181, 55, 242, 0.03) 100%);
}

/* === RESET & BASE === */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body.page-desarrollo-web {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  background: var(--dark-bg);
  color: #ffffff;
  line-height: 1.6;
}

body.light-mode.page-desarrollo-web {
  color: #1a1a2e;
}

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

/* === HERO FUTURISTA === */
.hero-futuristic {
  min-height: calc(100vh / var(--fit-zoom, 1));
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: var(--darker);
  padding: calc(2vh / var(--fit-zoom, 1)) 0 calc(7vh / var(--fit-zoom, 1));
}

/* Grid de fondo animado */
.hero-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 212, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 212, 255, 0.05) 1px, transparent 1px);
  background-size: 50px 50px;
  animation: grid-move 20s linear infinite;
  opacity: 0.3;
}

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

/* Orbes de gradiente flotantes */
.hero-gradient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.6;
  animation: float 15s ease-in-out infinite;
  z-index: 0;
}

.orb-1 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, var(--neon-blue) 0%, transparent 70%);
  top: -200px;
  left: -100px;
  animation-delay: 0s;
}

.orb-2 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, var(--neon-purple) 0%, transparent 70%);
  bottom: -150px;
  right: -50px;
  animation-delay: 5s;
}

.orb-3 {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, var(--neon-pink) 0%, transparent 70%);
  top: 50%;
  right: 10%;
  animation-delay: 10s;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -30px) scale(1.1); }
  66% { transform: translate(-20px, 20px) scale(0.9); }
}

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

.hero-content {
  max-width: 100%;
  margin: 0;
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 50px;
  backdrop-filter: blur(var(--glass-blur));
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 24px;
  animation: fadeInUp 0.6s ease-out;
}

.badge-dot {
  width: 8px;
  height: 8px;
  background: var(--neon-blue);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 8px var(--neon-blue); }
  50% { opacity: 0.5; box-shadow: 0 0 0 var(--neon-blue); }
}

.hero-title {
  font-size: clamp(48px, 8vw, 84px);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 24px;
  animation: fadeInUp 0.6s ease-out 0.2s both;
}

.gradient-text-animated {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  background-size: 200% auto;
  animation: gradient-shift 3s ease-in-out infinite;
}

@keyframes gradient-shift {
  0%, 100% { background-position: 0% center; }
  50% { background-position: 100% center; }
}

.hero-subtitle {
  font-size: clamp(18px, 2.5vw, 22px);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.8);
  /* el styles.css global limita .hero-subtitle a 540px sin centrarla;
     margin auto centra la caja dentro de la columna */
  margin: 0 auto 48px;
  animation: fadeInUp 0.6s ease-out 0.4s both;
}

body.light-mode .hero-subtitle {
  color: rgba(26, 26, 46, 0.8);
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 32px;
  margin-bottom: 48px;
  animation: fadeInUp 0.6s ease-out 0.6s both;
  flex-wrap: wrap;
}

.stat-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 20px 32px;
  backdrop-filter: blur(var(--glass-blur));
  transition: all 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--glow-blue);
  border-color: var(--neon-blue);
}

.stat-number {
  font-size: 36px;
  font-weight: 800;
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 4px;
}

.stat-label {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 500;
}

body.light-mode .stat-label {
  color: rgba(26, 26, 46, 0.7);
}

.hero-ctas {
  display: flex;
  gap: 16px;
  justify-content: center;
  animation: fadeInUp 0.6s ease-out 0.8s both;
  flex-wrap: wrap;
}

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

/* === BOTONES === */
.btn-primary-glow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 32px;
  background: var(--gradient-primary);
  color: #ffffff;
  font-size: 16px;
  font-weight: 600;
  border: none;
  border-radius: 12px;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: var(--glow-blue);
}

.btn-primary-glow:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(0, 212, 255, 0.6);
}

.btn-secondary-glass {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 32px;
  background: var(--glass-bg);
  color: #ffffff;
  font-size: 16px;
  font-weight: 600;
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  text-decoration: none;
  backdrop-filter: blur(var(--glass-blur));
  cursor: pointer;
  transition: all 0.3s ease;
}

body.light-mode .btn-secondary-glass {
  color: var(--midnight);
}

.btn-secondary-glass:hover {
  border-color: var(--neon-blue);
  box-shadow: var(--glow-blue);
  transform: translateY(-2px);
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 60px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  overflow: hidden;
}

.scroll-line {
  width: 100%;
  height: 30%;
  background: var(--gradient-accent);
  animation: scroll-move 2s ease-in-out infinite;
}

@keyframes scroll-move {
  0% { transform: translateY(-100%); }
  100% { transform: translateY(300%); }
}

/* === MARQUEE CLIENTES === */
.clients-marquee {
  background: var(--glass-bg);
  padding: 32px 0;
  position: relative;
  z-index: 1;
}

/* Borders degradados (transparente en extremos, visible en centro) */
.clients-marquee::before,
.clients-marquee::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg,
    transparent 0%,
    var(--glass-border) 70%,
    var(--glass-border) 70%,
    transparent 100%
  );
}

.clients-marquee::before {
  top: 0;
}

.clients-marquee::after {
  bottom: 0;
}

.clients-marquee .container {
  overflow: hidden;
}

.marquee-text {
  display: inline-block;
  white-space: nowrap;
  font-size: 28px;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: rgba(255, 255, 255, 0.7);
  animation: marquee 30s linear infinite;
  word-spacing: 32px;
  text-transform: uppercase;
  background: linear-gradient(135deg, var(--neon-blue) 0%, var(--neon-purple) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

body.light-mode .marquee-text {
  background: linear-gradient(135deg, #0066CC 0%, #6366f1 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* === SECCIONES GENERALES === */
section {
  padding: var(--section-padding) 0;
  position: relative;
}

.section-header {
  text-align: center;
  margin-bottom: 80px;
}

.section-title {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 800;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: clamp(16px, 2vw, 20px);
  color: rgba(255, 255, 255, 0.7);
  max-width: 700px;
  margin: 0 auto;
}

body.light-mode .section-subtitle {
  color: rgba(26, 26, 46, 0.7);
}

/* === DIFERENCIADORES === */
.section-diferenciadores {
  background: var(--dark-bg);
}

.diferenciadores-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.diferenciador-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 40px 32px;
  backdrop-filter: blur(var(--glass-blur));
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.diferenciador-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

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

.diferenciador-card:hover {
  transform: translateY(-8px);
  border-color: var(--neon-blue);
  box-shadow: var(--glow-blue);
}

.diferenciador-card.featured {
  background: var(--gradient-primary);
  border-color: transparent;
}

.diferenciador-card.featured:hover {
  box-shadow: var(--glow-purple);
}

.card-icon {
  width: 64px;
  height: 64px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  color: var(--neon-blue);
}

.diferenciador-card.featured .card-icon {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.3);
  color: #ffffff;
}

.diferenciador-card h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 12px;
}

.diferenciador-card p {
  font-size: 16px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.8);
}

body.light-mode .diferenciador-card p {
  color: rgba(26, 26, 46, 0.8);
}

/* === PAQUETES === */
.section-paquetes {
  background: var(--darker);
}

.paquetes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 32px;
}

.paquete-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  padding: 40px;
  backdrop-filter: blur(var(--glass-blur));
  transition: all 0.3s ease;
  position: relative;
  display: flex;
  flex-direction: column;
}

.paquete-card:hover {
  transform: translateY(-8px);
  border-color: var(--neon-blue);
  box-shadow: var(--glow-blue);
}

.paquete-card.featured {
  background: linear-gradient(135deg, rgba(0, 212, 255, 0.1) 0%, rgba(181, 55, 242, 0.1) 100%);
  border: 2px solid var(--neon-blue);
  box-shadow: var(--glow-blue);
}

.paquete-card.enterprise {
  background: linear-gradient(135deg, rgba(181, 55, 242, 0.1) 0%, rgba(255, 0, 110, 0.1) 100%);
  border: 2px solid var(--neon-purple);
  box-shadow: var(--glow-purple);
}

.popular-badge,
.enterprise-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  padding: 6px 16px;
  background: var(--gradient-primary);
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: var(--glow-blue);
}

.enterprise-badge {
  background: var(--gradient-secondary);
  box-shadow: var(--glow-purple);
}

.paquete-header {
  margin-bottom: 32px;
}

.paquete-name {
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 16px;
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.paquete-price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 12px;
}

.currency {
  font-size: 20px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
}

body.light-mode .currency {
  color: rgba(26, 26, 46, 0.7);
}

.amount {
  font-size: 48px;
  font-weight: 800;
  line-height: 1;
}

.period {
  font-size: 24px;
  color: rgba(255, 255, 255, 0.6);
}

body.light-mode .period {
  color: rgba(26, 26, 46, 0.6);
}

.paquete-tagline {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.4;
}

body.light-mode .paquete-tagline {
  color: rgba(26, 26, 46, 0.7);
}

.paquete-features {
  flex: 1;
  margin-bottom: 32px;
}

.feature {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
  font-size: 15px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.85);
}

body.light-mode .feature {
  color: rgba(26, 26, 46, 0.85);
}

.feature svg {
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--neon-blue);
}

.feature.highlight {
  font-weight: 600;
  color: #ffffff;
}

body.light-mode .feature.highlight {
  color: var(--midnight);
}

.paquete-footer {
  border-top: 1px solid var(--glass-border);
  padding-top: 24px;
}

.timeline {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 16px;
}

body.light-mode .timeline {
  color: rgba(26, 26, 46, 0.6);
}

.btn-paquete {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 14px 24px;
  background: var(--gradient-primary);
  color: #ffffff;
  font-size: 16px;
  font-weight: 600;
  border: none;
  border-radius: 12px;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-paquete:hover {
  transform: translateY(-2px);
  box-shadow: var(--glow-blue);
}

/* === SERVICIOS ESPECIALIZADOS === */
.section-especializados {
  background: var(--dark-bg);
}

.especializados-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 32px;
}

.especializado-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  padding: 40px;
  backdrop-filter: blur(var(--glass-blur));
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.especializado-card:hover {
  transform: translateY(-8px);
  border-color: var(--neon-purple);
  box-shadow: var(--glow-purple);
}

.card-tag {
  display: inline-block;
  padding: 6px 12px;
  background: rgba(181, 55, 242, 0.2);
  color: var(--neon-purple);
  font-size: 11px;
  font-weight: 700;
  border-radius: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 16px;
  align-self: flex-start;
}

.especializado-card h3 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 16px;
}

.tech-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.tech-badge {
  padding: 6px 12px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  color: var(--neon-blue);
}

.especializado-card p {
  font-size: 15px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 20px;
}

body.light-mode .especializado-card p {
  color: rgba(26, 26, 46, 0.8);
}

.especializado-features {
  list-style: none;
  margin-bottom: 24px;
  flex: 1;
}

.especializado-features li {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 8px;
  padding-left: 20px;
  position: relative;
}

body.light-mode .especializado-features li {
  color: rgba(26, 26, 46, 0.7);
}

.especializado-features li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--neon-purple);
  font-weight: bold;
}

.pricing-range {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 20px;
  padding: 16px;
  background: rgba(181, 55, 242, 0.1);
  border-radius: 12px;
  border: 1px solid rgba(181, 55, 242, 0.2);
}

.range-label {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

body.light-mode .range-label {
  color: rgba(26, 26, 46, 0.6);
}

.range-amount {
  font-size: 32px;
  font-weight: 800;
  background: var(--gradient-secondary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

.range-suffix {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
}

body.light-mode .range-suffix {
  color: rgba(26, 26, 46, 0.7);
}

.btn-especializado {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 24px;
  background: var(--gradient-secondary);
  color: #ffffff;
  font-size: 16px;
  font-weight: 600;
  border: none;
  border-radius: 12px;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-especializado:hover {
  transform: translateY(-2px);
  box-shadow: var(--glow-purple);
}

/* === CASOS DE USO === */
.section-casos-uso {
  background: var(--darker);
}

.casos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.caso-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 32px 24px;
  backdrop-filter: blur(var(--glass-blur));
  transition: all 0.3s ease;
  text-align: center;
}

.caso-card:hover {
  transform: translateY(-4px);
  border-color: var(--electric-cyan);
  box-shadow: 0 0 20px rgba(0, 255, 245, 0.3);
}

.caso-icon {
  font-size: 48px;
  margin-bottom: 16px;
}

.caso-card h4 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
}

.caso-card p {
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.7);
}

body.light-mode .caso-card p {
  color: rgba(26, 26, 46, 0.7);
}

/* === PROCESO === */
.section-proceso {
  background: var(--dark-bg);
}

.proceso-timeline {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.proceso-step {
  display: flex;
  gap: 24px;
  position: relative;
}

.proceso-step::before {
  content: '';
  position: absolute;
  left: 31px;
  top: 80px;
  width: 2px;
  height: calc(100% + 32px);
  background: linear-gradient(180deg, var(--neon-blue) 0%, transparent 100%);
}

.proceso-step:last-child::before {
  display: none;
}

.step-number {
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  background: var(--gradient-primary);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 800;
  color: #ffffff;
  box-shadow: var(--glow-blue);
}

.step-content {
  flex: 1;
  padding-top: 8px;
}

.step-content h4 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
}

.step-content p {
  font-size: 15px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.8);
}

body.light-mode .step-content p {
  color: rgba(26, 26, 46, 0.8);
}

/* === CTA FINAL === */
.section-cta-final {
  background: var(--darker);
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.section-cta-final::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(0, 212, 255, 0.15) 0%, transparent 70%);
}

.cta-content {
  position: relative;
  z-index: 10;
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.cta-content h2 {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 800;
  margin-bottom: 16px;
}

.cta-content p {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 40px;
}

body.light-mode .cta-content p {
  color: rgba(26, 26, 46, 0.8);
}

.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-cta-primary {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 18px 40px;
  background: var(--gradient-primary);
  color: #ffffff;
  font-size: 18px;
  font-weight: 700;
  border: none;
  border-radius: 12px;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: var(--glow-blue);
}

.btn-cta-primary:hover {
  transform: translateY(-4px);
  box-shadow: 0 0 40px rgba(0, 212, 255, 0.6);
}

.btn-cta-secondary {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 18px 40px;
  background: var(--glass-bg);
  color: #ffffff;
  font-size: 18px;
  font-weight: 700;
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  text-decoration: none;
  backdrop-filter: blur(var(--glass-blur));
  cursor: pointer;
  transition: all 0.3s ease;
}

body.light-mode .btn-cta-secondary {
  color: var(--midnight);
}

.btn-cta-secondary:hover {
  border-color: var(--neon-blue);
  transform: translateY(-4px);
  box-shadow: var(--glow-blue);
}

/* === FOOTER === */
.footer-simple {
  background: var(--darker);
  border-top: 1px solid var(--glass-border);
  padding: 60px 0 40px;
  text-align: center;
}

.footer-simple p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 8px;
}

body.light-mode .footer-simple p {
  color: rgba(26, 26, 46, 0.6);
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
  :root {
    --section-padding: 60px;
  }

  .hero-futuristic {
    min-height: auto;
    padding: 120px 0 60px;
  }

  .hero-title {
    font-size: 42px;
  }

  .hero-stats {
    gap: 16px;
  }

  .stat-card {
    padding: 16px 24px;
  }

  .hero-ctas {
    flex-direction: column;
    width: 100%;
  }

  .btn-primary-glow,
  .btn-secondary-glass {
    width: 100%;
    justify-content: center;
  }

  .paquetes-grid,
  .especializados-grid {
    grid-template-columns: 1fr;
  }

  .diferenciadores-grid,
  .casos-grid {
    grid-template-columns: 1fr;
  }

  .section-title {
    font-size: 36px;
  }

  .proceso-step {
    flex-direction: column;
    gap: 16px;
  }

  .proceso-step::before {
    left: 31px;
    top: 80px;
  }

  .cta-buttons {
    flex-direction: column;
    width: 100%;
  }

  .btn-cta-primary,
  .btn-cta-secondary {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .paquete-card,
  .especializado-card {
    padding: 24px;
  }

  .amount {
    font-size: 36px;
  }

  .period {
    font-size: 20px;
  }

  .range-amount {
    font-size: 28px;
  }
}

/* ============================================================
   PERSONALIZACIÓN DE NAVEGACIÓN Y SCROLL PROGRESS
   Solo para esta página (colores neón en lugar de naranja)
   ============================================================ */

/* === DARK MODE (por defecto) === */

/* Barra de progreso con gradiente morado intenso */
body.page-desarrollo-web .scroll-progress {
  background: linear-gradient(90deg, #c026d3 0%, var(--neon-pink) 50%, #c026d3 100%) !important;
  height: 4px !important;
}

/* Texto normal del menú - GRIS (como estaba) */
/* No sobrescribimos para que use el color por defecto */

/* Links de navegación ACTIVOS - Morado/Rosa intenso (como botón Consultar) */
body.page-desarrollo-web .section-link.active {
  color: #c026d3 !important;
  border-bottom-color: #c026d3 !important;
}

body.page-desarrollo-web .section-link.active .section-label {
  color: #c026d3 !important;
}

/* Dot activo en el riel lateral (desktop) */
body.page-desarrollo-web .section-link.active .section-dot {
  background: #c026d3 !important;
  box-shadow: 0 0 0 4px var(--color-bg, #000), 0 0 12px #c026d3 !important;
}

/* HOVER en links de navegación - Usa color por defecto (negro/blanco según modo) */
/* Removidos los overrides para que use el comportamiento estándar de todas las páginas */

/* Línea vertical del riel (desktop) - OCULTA para esta página */
body.page-desarrollo-web .section-nav-inner::before {
  display: none !important;
}

/* === LIGHT MODE === */

/* Barra de progreso - MÁS INTENSA para que resalte en fondo blanco */
body.light-mode.page-desarrollo-web .scroll-progress {
  background: linear-gradient(90deg, #a855f7 0%, #ec4899 50%, #a855f7 100%) !important;
  height: 4px !important;
  box-shadow: 0 0 8px rgba(168, 85, 247, 0.4) !important;
}

/* Texto normal del menú - GRIS (como estaba) */
/* No sobrescribimos para que use el color por defecto */

/* Link ACTIVO - Morado/Rosa intenso */
body.light-mode.page-desarrollo-web .section-link.active {
  color: #a855f7 !important;
  border-bottom-color: #a855f7 !important;
}

body.light-mode.page-desarrollo-web .section-link.active .section-label {
  color: #a855f7 !important;
}

body.light-mode.page-desarrollo-web .section-link.active .section-dot {
  background: #a855f7 !important;
  box-shadow: 0 0 0 4px var(--color-bg, #fff), 0 0 10px rgba(168, 85, 247, 0.4) !important;
}

/* HOVER - Usa color por defecto (igual que todas las páginas) */
/* Removidos los overrides para consistencia con otras páginas */

/* Línea vertical del riel (light mode) - OCULTA para esta página */
body.light-mode.page-desarrollo-web .section-nav-inner::before {
  display: none !important;
}

/* === MOCKUPS 3D + TERMINAL (Opción F) === */

/* Hero: estructura de dos columnas - BALANCEADO */
.hero-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4%;
  align-items: center;
  position: relative;
  max-width: 96%;
  width: 80%;
  margin: 0 auto;
  padding: 0 5%;
  transform: scale(0.90);
}

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

.hero-visual {
  display: flex;
  flex-direction: column;
  gap: 2.5vw;
  width: 100%;
  position: relative;
  z-index: 2;
}

/* Mockup 3D */
.mockup-hope {
  position: relative;
  width: 100%;
  perspective: 1000px;
}

/* Laptop principal */
.laptop-hope {
  width: 100%;
  max-width: 26vw;
  background: linear-gradient(135deg, #1a1a2e 0%, #0f0f23 100%);
  border-radius: 0.5vw;
  padding: 0.5vw;
  box-shadow: 0 1vw 3vw rgba(0, 212, 255, 0.3);
  transform: rotateY(-15deg) rotateX(5deg);
  animation: float-laptop 6s ease-in-out infinite;
}

.laptop-hope-screen {
  width: 100%;
  height: 18vw;
  background: #000000;
  border-radius: 0.2vw;
  overflow: hidden;
  position: relative;
}

/* Simulación real de hopecgroup.com */
.hope-navbar {
  height: 24px;
  background: rgba(0, 0, 0, 0.95);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
}

.hope-logo {
  font-size: 0.85vw;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: 0.05vw;
}

.hope-menu {
  display: flex;
  gap: 0.6vw;
}

.hope-menu-item {
  width: 2vw;
  height: 0.15vw;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 0.05vw;
}

.hope-hero {
  padding: 24px 16px;
  background: linear-gradient(180deg, #000000 0%, #0a0a0a 100%);
  height: calc(100% - 24px);
  position: relative;
  overflow: hidden;
}

.hope-hero-content {
  max-width: 60%;
  position: relative;
  z-index: 2;
}

.hope-subtitle {
  font-size: 0.48vw;
  color: #ff8108;
  margin-bottom: 0.5vw;
  font-weight: 600;
}

.hope-title {
  font-size: 1.2vw;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 0.7vw;
  color: #ffffff;
}

.hope-title-highlight {
  background: linear-gradient(135deg, #00d4ff 0%, #b537f2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hope-description {
  font-size: 0.48vw;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.4;
  margin-bottom: 0.7vw;
}

.hope-cta {
  display: inline-block;
  padding: 0.4vw 0.7vw;
  background: #ff8108;
  color: #ffffff;
  border-radius: 0.25vw;
  font-size: 0.48vw;
  font-weight: 700;
}

/* Elementos flotantes decorativos */
.hope-floating {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  width: 120px;
  height: 120px;
}

.floating-icon {
  position: absolute;
  width: 20px;
  height: 20px;
  background: rgba(0, 212, 255, 0.1);
  border: 1px solid rgba(0, 212, 255, 0.3);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  animation: float-icon 3s ease-in-out infinite;
}

.floating-icon:nth-child(1) { top: 0; left: 20px; animation-delay: 0s; }
.floating-icon:nth-child(2) { top: 30px; right: 10px; animation-delay: 0.5s; }
.floating-icon:nth-child(3) { bottom: 30px; left: 0; animation-delay: 1s; }
.floating-icon:nth-child(4) { bottom: 0; right: 20px; animation-delay: 1.5s; }

@keyframes float-icon {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-10px) rotate(5deg); }
}

/* Mobile adelante */
.mobile-hope {
  position: absolute;
  bottom: -1vw;
  right: 1.5vw;
  width: 6.5vw;
  background: #1a1a2e;
  border-radius: 0.8vw;
  padding: 0.35vw;
  box-shadow: 0 0.7vw 2vw rgba(181, 55, 242, 0.4);
  transform: rotateY(15deg);
  animation: float-mobile 5s ease-in-out infinite;
}

.mobile-hope-screen {
  width: 100%;
  height: 12vw;
  background: #000000;
  border-radius: 0.6vw;
  overflow: hidden;
}

.mobile-hope-screen .hope-navbar {
  height: 16px;
  padding: 0 8px;
}

.mobile-hope-screen .hope-logo {
  font-size: 8px;
}

.mobile-hope-screen .hope-menu-item {
  width: 18px;
  height: 2px;
}

.mobile-hope-screen .hope-hero {
  padding: 16px 12px;
  height: calc(100% - 16px);
}

.mobile-hope-screen .hope-hero-content {
  max-width: 100%;
}

.mobile-hope-screen .hope-subtitle {
  font-size: 5px;
  margin-bottom: 6px;
}

.mobile-hope-screen .hope-title {
  font-size: 12px;
  margin-bottom: 8px;
}

.mobile-hope-screen .hope-description {
  font-size: 5px;
  margin-bottom: 8px;
}

.mobile-hope-screen .hope-cta {
  font-size: 5px;
  padding: 4px 8px;
}

.mobile-hope-screen .hope-floating {
  display: none;
}

/* Terminal pequeño y centrado */
.terminal-code {
  width: 100%;
  max-width: 16vw;
  margin: 0 auto;
  text-align: center;
}

.code-preview {
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(0, 212, 255, 0.3);
  border-radius: 0.5vw;
  overflow: hidden;
  font-family: 'Courier New', monospace;
  box-shadow: 0 0 1.5vw rgba(0, 212, 255, 0.2);
  text-align: left;
}

/* Barra superior estilo macOS Terminal */
.terminal-header {
  background: rgba(0, 0, 0, 0.8);
  padding: 0.6vw 0.9vw;
  display: flex;
  align-items: center;
  gap: 0.5vw;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
}

.terminal-button {
  width: 0.85vw;
  height: 0.85vw;
  border-radius: 50%;
  border: none;
}

.terminal-button.close { background: #ff5f57; }
.terminal-button.minimize { background: #ffbd2e; }
.terminal-button.maximize { background: #28c840; }

.terminal-title {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.7vw;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 500;
  pointer-events: none;
}

.code-content {
  padding: 0.9vw 1.1vw;
}

.code-line {
  display: block;
  color: #00d4ff;
  font-size: 0.75vw;
  line-height: 1.6;
}

.code-line:nth-child(2) { color: #b537f2; }
.code-line:nth-child(3) { color: #00fff5; }
.code-line:nth-child(4) { color: #ff006e; }
.code-line:nth-child(5) { color: #00d4ff; }
.code-line:nth-child(6) { color: #b537f2; }

.typing-text {
  display: inline-block;
  overflow: hidden;
  white-space: nowrap;
  animation: typing 1.2s steps(30) forwards;
  width: 0;
}

@keyframes typing {
  to { width: 100%; }
}

.code-line:nth-child(1) { opacity: 0; animation: fade-in 0.3s 0.3s forwards; }
.code-line:nth-child(2) { opacity: 0; animation: fade-in 0.3s 0.9s forwards; }
.code-line:nth-child(3) { opacity: 0; animation: fade-in 0.3s 1.5s forwards; }
.code-line:nth-child(4) { opacity: 0; animation: fade-in 0.3s 2.1s forwards; }
.code-line:nth-child(5) { opacity: 0; animation: fade-in 0.3s 2.7s forwards; }
.code-line:nth-child(6) { opacity: 0; animation: fade-in 0.3s 3.3s forwards; }

@keyframes fade-in {
  to { opacity: 1; }
}

.code-line:nth-child(1) .typing-text { animation-delay: 0.3s; }
.code-line:nth-child(2) .typing-text { animation-delay: 0.9s; }
.code-line:nth-child(3) .typing-text { animation-delay: 1.5s; }
.code-line:nth-child(4) .typing-text { animation-delay: 2.1s; }
.code-line:nth-child(5) .typing-text { animation-delay: 2.7s; }
.code-line:nth-child(6) .typing-text { animation-delay: 3.3s; }

.code-cursor {
  display: inline-block;
  width: 2px;
  height: 12px;
  background: #00d4ff;
  margin-left: 4px;
  animation: blink 1s infinite;
  vertical-align: middle;
}

@keyframes blink {
  0%, 50% { opacity: 1; }
  51%, 100% { opacity: 0; }
}

/* LIGHT MODE para mockups */
body.light-mode .laptop-hope-screen,
body.light-mode .mobile-hope-screen {
  background: #ffffff;
}

body.light-mode .hope-navbar {
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

body.light-mode .hope-logo {
  color: #1a202c;
}

body.light-mode .hope-menu-item {
  background: rgba(0, 0, 0, 0.3);
}

body.light-mode .hope-hero {
  background: linear-gradient(180deg, #ffffff 0%, #f8f9fc 100%);
}

body.light-mode .hope-subtitle {
  color: #ff8108;
}

body.light-mode .hope-title {
  color: #1a202c;
}

body.light-mode .hope-description {
  color: rgba(0, 0, 0, 0.7);
}

body.light-mode .hope-cta {
  background: #ff8108;
  color: #ffffff;
}

body.light-mode .floating-icon {
  background: rgba(0, 212, 255, 0.08);
  border: 1px solid rgba(0, 212, 255, 0.25);
}

/* === TERMINAL EN LIGHT MODE === */
/* OPCIÓN 2 (TEMPORAL): Terminal blanco en light mode - ACTIVA PARA COMPARAR */
/* Terminal cambia a fondo claro en light mode */

body.light-mode .code-preview {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.2);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

body.light-mode .terminal-header {
  background: linear-gradient(180deg, #e8e8e8 0%, #d1d1d1 100%);
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

body.light-mode .terminal-title {
  color: rgba(0, 0, 0, 0.6);
}

body.light-mode .code-content {
  background: #ffffff;
}

body.light-mode .code-line {
  color: #0891b2 !important;
}

body.light-mode .code-line:nth-child(2) { color: #a855f7 !important; }
body.light-mode .code-line:nth-child(3) { color: #06b6d4 !important; }
body.light-mode .code-line:nth-child(4) { color: #ec4899 !important; }
body.light-mode .code-line:nth-child(5) { color: #0891b2 !important; }
body.light-mode .code-line:nth-child(6) { color: #a855f7 !important; }

body.light-mode .code-cursor {
  background: #0891b2;
}

/* Responsive */
@media (max-width: 1200px) {
  .hero-container {
    max-width: 95%;
    gap: 60px;
    padding: 0 24px;
  }
}

@media (max-width: 968px) {
  .hero-container {
    grid-template-columns: 1fr;
    gap: 40px;
    max-width: 100%;
    padding: 0 20px;
    transform: none !important;
  }

  .hero-visual {
    order: -1;
    transform: scale(1.2);
  }

  /* Mockups más grandes en móvil */
  .laptop-hope {
    max-width: 90vw;
    margin: 0 auto;
  }

  .laptop-hope-screen {
    height: 55vw;
  }

  .mobile-hope {
    width: 20vw;
    right: 3vw;
    bottom: -3vw;
  }

  .mobile-hope-screen {
    height: 38vw;
  }

  .terminal-code {
    max-width: 50vw;
    margin: 20% auto;
  }

  /* Fuentes más grandes en mockups móvil */
  .hope-logo {
    font-size: 2vw;
  }

  .hope-title {
    font-size: 3.5vw;
  }

  .hope-subtitle,
  .hope-description,
  .hope-cta {
    font-size: 1.5vw;
  }

  .code-line {
    font-size: 2vw;
  }
}

/* === PRECIOS "A MEDIDA" (tiers altos y especializados) === */
/* Los tiers BUSINESS/PLATFORM/ENTERPRISE ya no muestran monto:
   los precios altos espantaban antes de la conversación comercial. */

.paquete-price.price-consult {
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}

.price-consult .consult-amount {
  font-size: 30px;
  font-weight: 800;
  line-height: 1.1;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.price-consult .consult-note {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
}

body.light-mode .price-consult .consult-note {
  color: rgba(26, 26, 46, 0.6);
}

/* Especializados: "A medida" en vez de rango de montos */
.range-amount.range-consult {
  font-size: 26px;
}
