/* Kezdőlap hős-szekció: bal oldalt szöveg, jobb oldalt aurora panel
   (a learn.beta.edumetric.app bejelentkező oldalának mintájára) */

.hero { padding-block: 40px 24px; }

.hero__grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 32px;
  align-items: stretch;
}

.hero__text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 24px 0;
}
.hero__text h1 { margin-bottom: 16px; }
.hero__text p { color: var(--muted); font-size: 17px; max-width: 52ch; }
.hero__actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 8px; }

/* Aurora panel */
.aurora-panel {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  min-height: 440px;
  border-radius: var(--radius-lg);
  padding: 32px;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: linear-gradient(160deg, #b06ab3 0%, #8a6be0 45%, #6c8cf0 70%, #4ba3ff 100%);
}
.aurora-panel::before,
.aurora-panel::after {
  content: "";
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  filter: blur(60px);
  opacity: .85;
}
.aurora-panel::before {
  width: 60%; height: 60%;
  left: 10%; top: -10%;
  background: #ff7eb3;
  animation: drift 14s ease-in-out infinite alternate;
}
.aurora-panel::after {
  width: 45%; height: 45%;
  right: -5%; top: 15%;
  background: #5ee7df;
  opacity: .7;
  animation: drift 18s ease-in-out infinite alternate-reverse;
}
@keyframes drift {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(-8%, 10%) scale(1.15); }
}

.aurora-panel .pill {
  align-self: flex-start;
  background: rgba(255, 255, 255, .18);
  border-color: rgba(255, 255, 255, .25);
  color: #fff;
  backdrop-filter: blur(6px);
}

.aurora-panel h2 {
  font-size: clamp(26px, 3vw, 42px);
  margin: 0 0 12px;
  max-width: 18ch;
}
.aurora-panel p { color: rgba(255, 255, 255, .88); max-width: 46ch; margin: 0; }

.stats {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  margin-top: 28px;
  list-style: none;
  padding: 0;
}
.stats a { color: inherit; text-decoration: none; display: block; }
.stats strong { display: block; font-size: 30px; font-weight: 500; line-height: 1.1; }
.stats span {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .85);
}

@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; }
  .aurora-panel { min-height: 340px; }
}
