/* ═══════════════════════════════════════════════
   home.css — Estilos de la página de inicio
   ═══════════════════════════════════════════════ */

/* ── Hero ── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: var(--nav-h);
}

/* Fondo animado */
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 50%, rgba(0, 200, 255, 0.07) 0%, transparent 55%),
    radial-gradient(ellipse at 80% 20%, rgba(0, 87, 255, 0.06) 0%, transparent 50%),
    linear-gradient(180deg, #020a16 0%, #050f20 60%, #030c1a 100%);
  z-index: 0;
}

/* Grid hexagonal de fondo */
.hero-hex-grid {
  position: absolute;
  inset: 0;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='64'%3E%3Cpath d='M14 0l14 8v16l-14 8L0 24V8z' fill='none' stroke='%2300c8ff' stroke-width='0.8'/%3E%3Cpath d='M42 0l14 8v16l-14 8L28 24V8z' fill='none' stroke='%2300c8ff' stroke-width='0.8'/%3E%3Cpath d='M28 32l14 8v16l-14 8L14 56V40z' fill='none' stroke='%2300c8ff' stroke-width='0.8'/%3E%3C/svg%3E");
  background-size: 56px 64px;
  z-index: 0;
}

/* Scan line animado */
.hero-scan {
  position: absolute;
  left: 0; right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(0, 200, 255, 0.4), transparent);
  top: -1px;
  animation: scanDown 8s linear infinite;
  z-index: 0;
}
@keyframes scanDown {
  0%   { top: 0; }
  100% { top: 100%; }
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
}

/* Label animada */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--border2);
  background: var(--cyan-glow2);
  border-radius: 20px;
  padding: 5px 14px 5px 6px;
  font-family: var(--font-head);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 22px;
  animation: fadeUp 0.7s 0.1s both;
}
.hero-badge-dot {
  width: 18px; height: 18px;
  background: var(--cyan);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.6rem;
  color: var(--bg);
  flex-shrink: 0;
}

.hero-title {
  animation: fadeUp 0.7s 0.2s both;
  margin-bottom: 20px;
}
.hero-title .line2 { color: var(--cyan); }

.hero-desc {
  font-size: 1.05rem;
  color: var(--text2);
  line-height: 1.75;
  max-width: 500px;
  margin-bottom: 36px;
  animation: fadeUp 0.7s 0.3s both;
  font-weight: 300;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  animation: fadeUp 0.7s 0.4s both;
}

/* Indicador slide */
.hero-slide-indicator {
  position: absolute;
  bottom: 40px;
  right: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 1;
}
.hero-nav-btn {
  width: 36px; height: 36px;
  background: rgba(0,200,255,0.08);
  border: 1px solid var(--border2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--cyan);
  font-size: 0.9rem;
  transition: all 0.2s;
}
.hero-nav-btn:hover { background: var(--cyan-glow); }
.hero-slide-num {
  font-family: var(--font-head);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--cyan);
  letter-spacing: 2px;
}

/* Hero visual side */
.hero-visual {
  position: relative;
  animation: fadeIn 1s 0.3s both;
}
.hero-visual-inner {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg3);
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-cards-stack {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  padding: 20px;
  width: 100%;
}
.hero-mini-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 16px;
  font-family: var(--font-head);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text2);
  letter-spacing: 0.5px;
  aspect-ratio: auto;
}
.hero-mini-card .icon { font-size: 1.4rem; margin-bottom: 8px; }
.hero-mini-card.featured {
  background: linear-gradient(135deg, rgba(0,200,255,0.12), rgba(0,87,255,0.08));
  border-color: var(--border2);
  color: var(--text);
  grid-column: span 2;
  text-align: center;
  padding: 24px;
}
.hero-mini-card.featured .icon { font-size: 2rem; }
.hero-mini-card.featured p { font-size: 0.72rem; color: var(--text3); margin-top: 4px; font-family: var(--font-body); font-weight: 400; }

/* Orbit decorativo */
.hero-orbit {
  position: absolute;
  width: 320px; height: 320px;
  border-radius: 50%;
  border: 1px solid rgba(0, 200, 255, 0.08);
  top: -60px; right: -60px;
  pointer-events: none;
}
.hero-orbit::after {
  content: '';
  position: absolute;
  width: 480px; height: 480px;
  border-radius: 50%;
  border: 1px solid rgba(0, 200, 255, 0.05);
  top: -80px; left: -80px;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* ── About teaser ── */
.about-teaser {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.about-teaser-visual {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 340px;
}
.about-logo-display {
  text-align: center;
}
.about-logo-display svg {
  width: 130px;
  height: 130px;
  margin-bottom: 16px;
}
.about-logo-display h3 {
  font-family: var(--font-head);
  font-size: 1.2rem;
  color: var(--text);
  letter-spacing: 2px;
}
.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 32px;
}
.about-stat {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  text-align: center;
}
.about-stat .num {
  font-family: var(--font-head);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--cyan);
  line-height: 1;
}
.about-stat .lbl {
  font-size: 0.78rem;
  color: var(--text3);
  margin-top: 4px;
}

@media (max-width: 900px) {
  .hero-content { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { display: none; }
  .about-teaser { grid-template-columns: 1fr; }
}
