/* ═══════════════════════════════════════════
   HERO — Cinematic Dark Design
   ═══════════════════════════════════════════ */
.hero2 {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  overflow: hidden;
  background: #0a0e17;
  margin-top: calc(-1 * (var(--nav-h) + 40px));
  padding-top: calc(var(--nav-h) + 40px);
  min-height: 100vh;
}

/* ─── Background layers ─── */
.hero2__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero2__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, black 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, black 20%, transparent 70%);
}

.hero2__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  will-change: transform;
}

.hero2__orb--1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0, 123, 193, 0.35) 0%, transparent 70%);
  top: -15%;
  left: -10%;
  animation: hero2-orb1 12s ease-in-out infinite;
}

.hero2__orb--2 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(82, 171, 51, 0.2) 0%, transparent 70%);
  bottom: -5%;
  right: -10%;
  animation: hero2-orb2 14s ease-in-out infinite;
}

.hero2__orb--3 {
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(0, 160, 233, 0.18) 0%, transparent 70%);
  top: 40%;
  right: 20%;
  animation: hero2-orb3 10s ease-in-out infinite;
}

@keyframes hero2-orb1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33%      { transform: translate(40px, 30px) scale(1.1); }
  66%      { transform: translate(-20px, -15px) scale(0.95); }
}
@keyframes hero2-orb2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33%      { transform: translate(-30px, -40px) scale(1.08); }
  66%      { transform: translate(25px, 20px) scale(0.92); }
}
@keyframes hero2-orb3 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50%      { transform: translate(-35px, 25px) scale(1.15); }
}

/* ─── Inner content ─── */
.hero2__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--container-wide);
  margin: 0 auto;
  padding: clamp(1.5rem, 2.5vw, 2.5rem) 2.4rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* Badge */
.hero2__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.9rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: rgba(255,255,255,0.8);
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 50px;
  margin-bottom: 1.2rem;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.hero2__badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #52AB33;
  box-shadow: 0 0 8px rgba(82, 171, 51, 0.6);
  animation: pulse-dot 2s ease-in-out infinite;
}

/* Title */
.hero2__title {
  font-size: clamp(2.4rem, 3.4vw, 4.6rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.04em;
  color: #ffffff;
  margin-bottom: 0.8rem;
  max-width: 900px;
}

.hero2__title-sub {
  font-size: 0.85em;
}

.hero2__title-em {
  display: flex;
  justify-content: center;
  gap: 0;
  overflow: hidden;
  min-width: 3ch;
  font-size: 1.5em;
  background: linear-gradient(135deg, #5ec8f8 0%, #3db8f5 50%, #48c9a6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  padding-bottom: 0.08em;
}

.hero2__title-em .char {
  display: inline-block;
  background: linear-gradient(135deg, #5ec8f8 0%, #3db8f5 50%, #48c9a6 100%);
  background-size: calc(var(--char-total) * 1em) 100%;
  background-position: calc(var(--char-index) * -1em) 0;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  will-change: transform, opacity;
}

/* Subtitle */
.hero2__sub {
  font-size: clamp(1.0625rem, 1.2vw, 1.2rem);
  color: rgba(255,255,255,0.55);
  line-height: 1.65;
  max-width: 580px;
  margin-bottom: 1.4rem;
}

/* CTAs */
.hero2__cta-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.75rem 1.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(135deg, #007BC1 0%, #0098e5 100%);
  border-radius: 60px;
  transition: all 0.3s ease;
  box-shadow: 0 0 0 0 rgba(0, 123, 193, 0), 0 4px 20px rgba(0, 123, 193, 0.3);
}

.hero2__cta-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(0, 123, 193, 0.3), 0 8px 30px rgba(0, 123, 193, 0.4);
}

/* ─── Showcase image card ─── */
.hero2__showcase {
  width: 100%;
  max-width: 1200px;
  perspective: 1200px;
  flex: 1;
}

.hero2__card {
  position: relative;
  border-radius: 1.4rem;
  overflow: visible;
  transform: rotateX(8deg) rotateY(0deg);
  transform-style: preserve-3d;
  transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.hero2__card:hover {
  transform: rotateX(2deg) rotateY(0deg);
}

.hero2__card-glow {
  position: absolute;
  inset: -2px;
  border-radius: 1.5rem;
  background: linear-gradient(135deg, rgba(0,123,193,0.5), rgba(82,171,51,0.3), rgba(0,160,233,0.4));
  z-index: 0;
  filter: blur(1px);
}

.hero2__card > img {
  position: relative;
  z-index: 1;
  width: 100%;
  max-height: 45vh;
  object-fit: cover;
  border-radius: 1.4rem;
  display: block;
}

/* ─── Stat pills ─── */
.hero2__pill {
  position: absolute;
  z-index: 10;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.1rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #fff;
  background: rgba(15, 20, 30, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 50px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
  white-space: nowrap;
  animation: hero2-pill-float 5s ease-in-out infinite;
}

.hero2__pill strong {
  color: #3db8f5;
  font-weight: 700;
}

.hero2__pill-icon {
  font-size: 1.1rem;
}

.hero2__pill--1 {
  bottom: 15%;
  left: -3%;
  animation-delay: 0s;
}

.hero2__pill--2 {
  top: 10%;
  right: -4%;
  animation-delay: 1.5s;
}

.hero2__pill--3 {
  bottom: -3%;
  right: 12%;
  animation-delay: 3s;
}

@keyframes hero2-pill-float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-8px); }
}

/* ─── Stats row inside hero ─── */
.hero2__stats {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--container-wide);
  margin: 0 auto;
  padding: clamp(2rem, 3.5vw, 3.5rem) 2.4rem clamp(2.5rem, 4vw, 4rem);
  text-align: center;
}

.hero2__stats-title {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.35);
  margin-bottom: clamp(1.5rem, 2.5vw, 2.5rem);
}

.hero2__stats-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(1.5rem, 3vw, 3rem);
}

.hero2__stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
}

.hero2__stat-num {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.03em;
  line-height: 1;
}

.hero2__stat-label {
  font-size: 0.75rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.4);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hero2__stat-divider {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.12), transparent);
  flex-shrink: 0;
}

/* Bottom fade — removed to avoid white gradient at hero bottom */
.hero2__fade {
  display: none;
}
