/* ============================================================
   STEMWise Landing — Hero Section
   ============================================================ */

.stmw-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(145deg, #06061a 0%, #140e30 35%, #2a1a6b 65%, var(--stmw-primary) 100%);
  overflow: hidden;
  padding: 120px 0 80px;
}

/* ── Decorative Shapes ── */
.stmw-hero__bg-shapes {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.stmw-hero__shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: .35;
}

.stmw-hero__shape--1 {
  width: 500px;
  height: 500px;
  background: var(--stmw-primary);
  top: -15%;
  right: -8%;
  animation: stmwFloat 8s ease-in-out infinite;
}

.stmw-hero__shape--2 {
  width: 300px;
  height: 300px;
  background: var(--stmw-secondary);
  bottom: 5%;
  left: -5%;
  opacity: .2;
  animation: stmwFloat 10s ease-in-out infinite 2s;
}

.stmw-hero__shape--3 {
  width: 200px;
  height: 200px;
  background: #a78bfa;
  top: 40%;
  left: 30%;
  opacity: .15;
  animation: stmwFloat 12s ease-in-out infinite 4s;
}

/* ── Row ── */
.stmw-hero__row {
  min-height: calc(100vh - 200px);
  gap: 40px 0;
}

/* ── Content ── */
.stmw-hero__content {
  animation: stmwFadeInUp .8s var(--stmw-ease) both;
}

.stmw-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--stmw-font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--stmw-secondary);
  background: rgba(207, 254, 90, .1);
  border: 1px solid rgba(207, 254, 90, .2);
  padding: 8px 18px;
  border-radius: 999px;
  margin-bottom: 24px;
}

.stmw-hero__badge i {
  font-size: 16px;
}

.stmw-hero__title {
  font-family: var(--stmw-font-display);
  font-weight: 800;
  font-size: clamp(32px, 5vw, 54px);
  line-height: 1.1;
  letter-spacing: -1px;
  color: var(--stmw-white);
  margin-bottom: 20px;
}

.stmw-hero__title-accent {
  color: var(--stmw-secondary);
  position: relative;
}

.stmw-hero__subtitle {
  font-family: var(--stmw-font-body);
  font-size: 18px;
  line-height: 1.7;
  color: rgba(255, 255, 255, .7);
  max-width: 520px;
  margin-bottom: 32px;
}

/* ── CTAs ── */
.stmw-hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* ── Visual Column ── */
.stmw-hero__visual-col {
  animation: stmwFadeInUp .8s var(--stmw-ease) .2s both;
}

.stmw-hero__visual {
  position: relative;
  padding: 20px;
}

/* ── Browser Frame ── */
.stmw-hero__browser-frame {
  background: rgba(255, 255, 255, .06);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: var(--stmw-radius-lg);
  overflow: hidden;
  box-shadow:
    0 24px 80px rgba(0, 0, 0, .4),
    0 0 0 1px rgba(255, 255, 255, .05) inset;
}

.stmw-hero__browser-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 12px 16px;
  background: rgba(0, 0, 0, .25);
  border-bottom: 1px solid rgba(255, 255, 255, .06);
}

.stmw-hero__browser-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .15);
}

.stmw-hero__browser-dot:nth-child(1) { background: #ff5f57; }
.stmw-hero__browser-dot:nth-child(2) { background: #ffbd2e; }
.stmw-hero__browser-dot:nth-child(3) { background: #28c840; }

.stmw-hero__browser-url {
  margin-left: 12px;
  font-size: 12px;
  color: rgba(255, 255, 255, .4);
  font-family: var(--stmw-font-body);
  background: rgba(255, 255, 255, .06);
  padding: 4px 14px;
  border-radius: 6px;
}

.stmw-hero__browser-body {
  position: relative;
  overflow: hidden;
  line-height: 0;
}

.stmw-hero__platform-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* ── Floating Elements ── */
.stmw-hero__float {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 10px;
  font-family: var(--stmw-font-display);
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  box-shadow: 0 8px 32px rgba(0, 0, 0, .3);
  z-index: 2;
}

.stmw-hero__float i {
  font-size: 18px;
}

.stmw-hero__float--badge {
  bottom: 30px;
  left: -10px;
  background: var(--stmw-secondary);
  color: var(--stmw-dark);
  animation: stmwFloat 6s ease-in-out infinite;
}

.stmw-hero__float--stat {
  top: 60px;
  right: 0;
  background: var(--stmw-white);
  color: var(--stmw-primary);
  animation: stmwFloat 6s ease-in-out infinite 3s;
}

/* ── Responsive ── */
@media (max-width: 991.98px) {
  .stmw-hero {
    padding: 100px 0 60px;
    min-height: auto;
  }

  .stmw-hero__row {
    min-height: auto;
    text-align: center;
  }

  .stmw-hero__subtitle {
    margin-left: auto;
    margin-right: auto;
  }

  .stmw-hero__ctas {
    justify-content: center;
  }

  .stmw-hero__visual {
    max-width: 520px;
    margin: 0 auto;
  }

  .stmw-hero__float--badge {
    left: 10px;
    bottom: 10px;
  }

  .stmw-hero__float--stat {
    right: 10px;
    top: 30px;
  }
}

@media (max-width: 575.98px) {
  .stmw-hero__title {
    font-size: 28px;
  }

  .stmw-hero__subtitle {
    font-size: 16px;
  }

  .stmw-hero__ctas {
    flex-direction: column;
  }

  .stmw-hero__ctas .stmw-btn {
    width: 100%;
  }

  .stmw-hero__float {
    display: none;
  }
}
