/* ==========================================================================
   WINFORGE — ESTILOS ESPECÍFICOS: PÁGINA DE INICIO (home.css)
   ========================================================================== */

/* Hero Section */
.hero-section {
  padding-top: var(--space-3xl);
  padding-bottom: var(--space-3xl);
  text-align: center;
  position: relative;
}

.hero-pill-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  padding: 0.35rem 1rem;
  background: rgba(0, 242, 254, 0.08);
  border: 1px solid rgba(0, 242, 254, 0.25);
  border-radius: var(--radius-full);
  color: var(--accent-cyan);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: var(--space-lg);
  animation: pulse-border 3s infinite;
}

@keyframes pulse-border {
  0%, 100% { border-color: rgba(0, 242, 254, 0.25); box-shadow: 0 0 10px rgba(0, 242, 254, 0.1); }
  50% { border-color: rgba(0, 242, 254, 0.6); box-shadow: 0 0 20px rgba(0, 242, 254, 0.25); }
}

.hero-title {
  font-size: clamp(2.5rem, 5.5vw, 4.25rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: var(--space-lg);
  max-width: 950px;
  margin-left: auto;
  margin-right: auto;
}

.hero-title-gradient {
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.hero-subtitle {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: var(--text-secondary);
  max-width: 760px;
  margin: 0 auto var(--space-2xl) auto;
  line-height: 1.6;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
  flex-wrap: wrap;
  margin-bottom: var(--space-3xl);
}

/* Ventana Simulada de la Aplicación (App Mockup) */
.hero-window-mockup {
  max-width: 1080px;
  margin: 0 auto;
  background-color: #0b0f19;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.7), 0 0 40px rgba(0, 242, 254, 0.15);
  overflow: hidden;
  text-align: left;
}

.window-titlebar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.65rem var(--space-md);
  background-color: #080c14;
  border-bottom: 1px solid var(--border-subtle);
}

.window-dots {
  display: flex;
  gap: 8px;
}

.window-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.window-title-text {
  font-size: 0.82rem;
  font-family: var(--font-mono);
  color: var(--text-muted);
}

.window-content-preview {
  padding: var(--space-xl);
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: var(--space-xl);
  min-height: 380px;
}

.mockup-sidebar {
  border-right: 1px solid var(--border-subtle);
  padding-right: var(--space-md);
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.mockup-nav-item {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 0.55rem 0.75rem;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  color: var(--text-muted);
}

.mockup-nav-item.active {
  background: rgba(0, 242, 254, 0.1);
  color: var(--accent-cyan);
  font-weight: 600;
}

.mockup-dashboard-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

.mockup-metric-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: var(--space-md);
}

.mockup-metric-head {
  display: flex;
  justify-content: space-between;
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: var(--space-xs);
}

.mockup-metric-val {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: var(--space-sm);
}

.mockup-progress-bar {
  height: 6px;
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.mockup-progress-fill {
  height: 100%;
  border-radius: var(--radius-full);
}

.fill-cyan { background: var(--accent-cyan); }
.fill-blue { background: var(--accent-blue); }
.fill-purple { background: var(--accent-purple); }

/* Quick Telemetry Strip */
.stats-strip {
  margin-top: var(--space-2xl);
  margin-bottom: var(--space-2xl);
}

/* Feature Spotlight Grid */
.feature-spotlight-item {
  position: relative;
  transition: transform var(--transition-normal);
}

.feature-spotlight-item:hover {
  transform: translateY(-4px);
}

/* Banner de Rendimiento */
.performance-banner {
  background: linear-gradient(135deg, rgba(0, 242, 254, 0.08) 0%, rgba(127, 0, 255, 0.08) 100%);
  border: 1px solid rgba(0, 242, 254, 0.2);
  border-radius: var(--radius-xl);
  padding: var(--space-2xl);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.performance-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 400px;
  height: 300px;
  background: radial-gradient(circle, rgba(0, 242, 254, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

@media (max-width: 768px) {
  .window-content-preview {
    grid-template-columns: 1fr;
  }
  .mockup-sidebar {
    display: none;
  }
  .mockup-dashboard-grid {
    grid-template-columns: 1fr;
  }
}
