/* =========================================================
   HERO — StellaTV
   Archivo: css/hero.css
   OBJETIVO:
   - Estructura (grid) del HERO
   - Tipografía / chips / botones / panel derecho
   - Responsive del HERO
   NOTA:
   - El fondo y overlay grande ya los maneja css/bg-wrap.css (.bgWrap)
   ========================================================= */


/* =========================================================
   1) CONTENEDOR HERO
   ========================================================= */
.hero{
  padding: 88px 0 64px;
  position: relative;
  overflow: hidden;

  /* Fondo lo maneja .bgWrap (no duplicar aquí) */
  background: transparent;
}

/* Layout principal: texto izquierda + panel derecha */
.hero__wrap{
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 28px;
  align-items: center;
}


/* =========================================================
   2) BLOQUE IZQUIERDO (TEXTO)
   ========================================================= */
.hero__pill{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.05);
  color: rgba(244,246,255,.90);
}

.hero__dot{
  width: 10px;
  height: 10px;
  border-radius: 99px;
  background: var(--good);
  box-shadow: 0 0 18px rgba(68,255,184,.55);
}

.hero__h1{
  font-family: Orbitron, sans-serif;
  font-weight: 900;
  letter-spacing: .4px;
  font-size: clamp(2.2rem, 4.8vw, 3.6rem);
  line-height: 1.05;
  margin: 14px 0 12px;

  /* Evita saltos feos */
  max-width: 18ch;
  text-wrap: balance;
  hyphens: none;
}

/* Texto con gradiente (reutilizable en otros títulos) */
.grad{
  background: linear-gradient(90deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline;
}

.hero__p{
  margin: 0 0 18px;
  color: rgba(244,246,255,.78);
  line-height: 1.75;
  max-width: 58ch;
}

.hero__buttons{
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

/* Chips (beneficios) */
.hero__chips{
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.chip{
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.05);
  color: rgba(244,246,255,.86);
  font-weight: 700;
  font-size: .92rem;
}

/* Chip destacado */
.chip--hot{
  border-color: rgba(255,60,172,.30);
  background: rgba(255,60,172,.12);
}

.hero__note{
  margin: 14px 0 0;
  color: rgba(244,246,255,.70);
  font-size: .92rem;
}


/* =========================================================
   3) PANEL DERECHO (MOCK / UI PREVIEW)
   ========================================================= */


/* Brillos suaves del panel (solo dentro del panel) */
.panel::before{
  content:"";
  position:absolute;
  inset:-2px;
  background:
    radial-gradient(420px 240px at 20% 10%, rgba(255,60,172,.18), transparent 60%),
    radial-gradient(420px 240px at 80% 90%, rgba(43,134,197,.14), transparent 60%);
  opacity:.95;
  pointer-events:none;
}

.panel > *{
  position: relative;
  z-index: 1;
}

.panel__top{
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.miniTag{
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.05);
  font-weight: 800;
  font-size: .86rem;
}

.panel__screen{
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.22);
  padding: 16px;
  min-height: 210px;
}

.panel__brand{
  font-family: Orbitron, sans-serif;
  font-weight: 900;
  letter-spacing: .6px;
  margin-bottom: 14px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Barras “placeholder” dentro del mock */
.bar{
  height: 14px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(255,255,255,.16), rgba(255,255,255,.05));
  margin: 10px 0;
}
.bar--2{ opacity: .85; }
.bar--3{ opacity: .70; }

/* Stats inferiores del panel */
.panel__stats{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 12px;
}

.s{
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.05);
  padding: 12px;
  text-align: center;
}

.s b{
  display: block;
  font-size: 1.05rem;
}

.s span{
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-weight: 700;
  font-size: .9rem;
}


/* =========================================================
   4) RESPONSIVE (SOLO HERO)
   ========================================================= */
@media (max-width: 980px){
  .hero__wrap{
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .panel__screen{ min-height: 190px; }
  .hero__h1{ max-width: none; }
}

@media (max-width: 520px){
  .panel__stats{ grid-template-columns: 1fr; }
}
