/* ═══════════════════════════════════════════
   HERO RESPONSIVE - BLEX ACADEMY
═══════════════════════════════════════════ */

/* ──────────────────────────────────────────
   HERO BASE
────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 110px 64px 80px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(
    135deg,
    #040d1a 0%,
    #071424 40%,
    #0d0d0d 100%
  );
}

/* Glow background */
.hero-bg-glow {
  position: absolute;
  top: -10%;
  left: 35%;
  width: 800px;
  height: 800px;
  background: radial-gradient(
    ellipse,
    rgba(41, 171, 226, 0.12) 0%,
    transparent 65%
  );
  pointer-events: none;
  animation: glowPulse 6s ease-in-out infinite;
}

@keyframes glowPulse {
  0%,100% {
    opacity: 0.7;
    transform: scale(1);
  }

  50% {
    opacity: 1;
    transform: scale(1.08);
  }
}

/* Animated grid */
.hero-grid {
  position: absolute;
  inset: 0;

  background-image:
    linear-gradient(rgba(41,171,226,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(41,171,226,0.04) 1px, transparent 1px);

  background-size: 52px 52px;
  animation: gridMove 24s linear infinite;
}

@keyframes gridMove {
  from {
    transform: translateY(0);
  }

  to {
    transform: translateY(52px);
  }
}

/* ──────────────────────────────────────────
   LAYOUT
────────────────────────────────────────── */
.hero-layout {
  position: relative;
  z-index: 2;

  width: 100%;
  max-width: 1280px;
  margin: 0 auto;

  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 64px;
  align-items: center;
}

/* ──────────────────────────────────────────
   LEFT CONTENT
────────────────────────────────────────── */
.hero-content {
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;

  background: rgba(41,171,226,0.1);
  border: 1px solid rgba(41,171,226,0.3);

  color: var(--blue);

  padding: 6px 16px;
  border-radius: 999px;

  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;

  margin-bottom: 24px;

  animation: fadeUp .6s ease both;
}

.hero h1 {
  font-size: clamp(2.8rem, 5vw, 4.8rem);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -2px;

  animation: fadeUp .7s ease .1s both;
}

.gradient-text {
  background: linear-gradient(90deg, #29ABE2, #5fd4ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-sub {
  font-size: 16px;
  line-height: 1.8;
  color: #8d99ae;

  max-width: 520px;

  margin: 22px 0 34px;

  animation: fadeUp .7s ease .2s both;
}

/* Buttons */
.hero-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;

  animation: fadeUp .7s ease .3s both;
}

.btn-primary,
.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;

  padding: 14px 22px;
  border-radius: 14px;

  text-decoration: none;
  font-weight: 700;

  transition: .3s ease;
}

.btn-primary {
  background: var(--blue);
  color: white;
}

.btn-primary:hover {
  transform: translateY(-2px);
}

.btn-ghost {
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.04);
  color: white;
}

.btn-ghost:hover {
  background: rgba(255,255,255,0.08);
}

/* ──────────────────────────────────────────
   STATS
────────────────────────────────────────── */
.hero-stats {
  display: flex;
  align-items: center;
  margin-top: 52px;

  animation: fadeUp .7s ease .4s both;
}

.stat {
  text-align: center;
  padding: 0 28px;
}

.stat:first-child {
  padding-left: 0;
}

.stat-divider {
  width: 1px;
  height: 36px;
  background: rgba(255,255,255,0.08);
}

.stat-num,
.stat-plus {
  font-size: 1.9rem;
  font-weight: 900;
  color: var(--blue);
}

.stat-lbl {
  display: block;

  font-size: 10px;
  color: #667;

  letter-spacing: 1.5px;
  text-transform: uppercase;

  margin-top: 3px;
}

/* ──────────────────────────────────────────
   VISUAL RIGHT
────────────────────────────────────────── */
.hero-visual {
  position: relative;

  display: flex;
  align-items: center;
  justify-content: center;

  padding: 40px;

  animation: fadeUp .9s ease .15s both;
}

/* ──────────────────────────────────────────
   FLOATING TAGS
────────────────────────────────────────── */
.hero-float {
  position: absolute;
  z-index: 10;

  display: flex;
  align-items: center;
  gap: 8px;

  background: rgba(10,20,35,0.88);
  backdrop-filter: blur(12px);

  border: 1px solid rgba(41,171,226,0.22);

  border-radius: 999px;

  padding: 10px 16px;

  color: #dde;
  font-size: 12px;
  font-weight: 600;

  white-space: nowrap;

  box-shadow: 0 8px 24px rgba(0,0,0,0.4);

  animation: floatBob 5s ease-in-out infinite;
}

.hero-float [data-lucide] {
  width: 15px;
  height: 15px;
  color: var(--blue);
}

/* Positions */
.hero-float--tl {
  top: 2%;
  left: 0%;
}

.hero-float--tr {
  top: 8%;
  right: -2%;
}

.hero-float--ml {
  top: 42%;
  left: -4%;
}

.hero-float--mr {
  top: 38%;
  right: -5%;
}

.hero-float--bl {
  bottom: 8%;
  left: 2%;
}

.hero-float--br {
  bottom: 4%;
  right: 0%;
}

@keyframes floatBob {
  0%,100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-8px);
  }
}

/* ──────────────────────────────────────────
   PERSON STAGE
────────────────────────────────────────── */
.person-stage {
  position: relative;

  width: 100%;
  max-width: 420px;

  display: flex;
  justify-content: center;
  align-items: flex-end;
}

/* Person image */
.person-img-wrap {
  position: relative;
  z-index: 2;

  width: 100%;
  max-width: 450px;

  aspect-ratio: 4/5;

  border-radius: 24px;
  overflow: hidden;
}

.person-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

/* ──────────────────────────────────────────
   RINGS
────────────────────────────────────────── */
.rings {
  position: absolute;
  bottom: -20px;
  left: 50%;

  transform: translateX(-50%);

  width: 100%;
  max-width: 750px;
  height: 280px;

  pointer-events: none;
}

.ring {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);

  border-radius: 50%;

  animation: ringPulse 3s ease-in-out infinite;
}

.ring-1 {
  width: 180px;
  height: 36px;

  bottom: 0;

  border: 1.5px solid rgba(41,171,226,0.8);

  box-shadow:
    0 0 18px rgba(41,171,226,0.55),
    inset 0 0 12px rgba(41,171,226,0.2);
}

.ring-2 {
  width: 260px;
  height: 52px;

  bottom: -10px;

  border: 1.5px solid rgba(41,171,226,0.4);

  box-shadow:
    0 0 10px rgba(41,171,226,0.18);
}

.ring-3 {
  width: 340px;
  height: 68px;

  bottom: -20px;

  border: 1.5px solid rgba(41,171,226,0.18);
}

@keyframes ringPulse {
  0%,100% {
    opacity: 1;
  }

  50% {
    opacity: 0.5;
  }
}

/* Ground glow */
.ground-glow {
  position: absolute;

  bottom: 5px;
  left: 50%;

  transform: translateX(-50%);

  width: 220px;
  height: 20px;

  border-radius: 50%;

  background: radial-gradient(
    ellipse,
    rgba(41,171,226,0.55) 0%,
    transparent 70%
  );

  filter: blur(7px);

  animation: glowBreathe 3s ease-in-out infinite;
}

@keyframes glowBreathe {
  0%,100% {
    opacity: 0.8;
    width: 180px;
  }

  50% {
    opacity: 1;
    width: 240px;
  }
}

/* ──────────────────────────────────────────
   BADGES
────────────────────────────────────────── */
.laptop-badge {
  position: absolute;
  z-index: 12;

  display: flex;
  align-items: center;
  gap: 10px;

  background: rgba(8,15,28,0.9);
  backdrop-filter: blur(12px);

  border: 1px solid rgba(41,171,226,0.2);

  padding: 10px 14px;
  border-radius: 14px;

  box-shadow: 0 8px 32px rgba(0,0,0,0.45);
}

.laptop-badge strong {
  display: block;
  font-size: 13px;
}

.laptop-badge small {
  font-size: 10px;
  color: #778;
}

.laptop-badge--top {
  top: 10%;
  right: -8%;
}

.laptop-badge--bottom {
  bottom: 18%;
  left: -8%;
}

/* ──────────────────────────────────────────
   ANIMATIONS
────────────────────────────────────────── */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ──────────────────────────────────────────
   TABLET
────────────────────────────────────────── */
@media (max-width: 992px) {

  .hero {
    min-height: auto;
    padding: 120px 24px 80px;
    text-align: center;
  }

  .hero-layout {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .hero-sub {
    max-width: 700px;
  }

  .hero-btns {
    justify-content: center;
  }

  .hero-stats {
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
  }

  .stat:first-child {
    padding-left: 28px;
  }

  /* Person */
  .person-stage {
    max-width: 340px;
    margin: 0 auto;
  }

  .person-img-wrap {
    max-width: 320px;
  }

  /* Floating pills */
  .hero-float {
    transform: scale(.92);
  }

  .hero-float--ml,
  .hero-float--mr {
    display: none;
  }

  .hero-float--tl {
    top: -5%;
    left: 0;
  }

  .hero-float--tr {
    top: -5%;
    right: 0;
  }

  .hero-float--bl {
    bottom: -2%;
    left: 2%;
  }

  .hero-float--br {
    bottom: -2%;
    right: 2%;
  }

  .laptop-badge--top {
    right: -2%;
  }

  .laptop-badge--bottom {
    left: -2%;
  }
}

/* ──────────────────────────────────────────
   MOBILE
────────────────────────────────────────── */
@media (max-width: 576px) {

  .hero {
    padding: 100px 16px 60px;
  }

  .hero h1 {
    font-size: 2.2rem;
    line-height: 1.15;
    letter-spacing: -1px;
  }

  .hero-sub {
    font-size: 14px;
    line-height: 1.7;
  }

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

  .hero-btns a {
    width: 100%;
  }

  .hero-stats {
    flex-direction: column;
    gap: 18px;
    margin-top: 36px;
  }

  .stat {
    padding: 0;
  }

  .stat-divider {
    display: none;
  }

  /* Person */
  .person-stage {
    max-width: 260px;
  }

  .person-img-wrap {
    max-width: 220px;
  }

  /* Hide floating elements */
  .hero-float,
  .laptop-badge {
    display: none;
  }

  /* Rings smaller */
  .ring-1 {
    width: 120px;
    height: 24px;
  }

  .ring-2 {
    width: 180px;
    height: 34px;
  }

  .ring-3 {
    width: 240px;
    height: 46px;
  }

  .ground-glow {
    width: 160px;
  }
}