.hero-section {
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 100px 0 90px; /* Reduced from 130px to 100px */
  isolation: isolate;
}

.hero-section .container {
  position: relative;
  z-index: 2;
  width: 100%;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.9fr);
  gap: 72px;
  align-items: center;
  margin-bottom: 60px;
}

.hero-bg-glow {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(100px);
  opacity: 0.2;
  z-index: 0;
}

.hero-bg-glow-1 {
  top: -140px;
  left: -100px;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(74, 108, 247, 0.75) 0%, transparent 70%);
}

.hero-bg-glow-2 {
  right: -140px;
  bottom: -180px;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(143, 168, 255, 0.55) 0%, transparent 70%);
}

.hero-grid-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(74, 108, 247, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(74, 108, 247, 0.035) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: radial-gradient(circle at center, black 40%, transparent 100%);
  pointer-events: none;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
  text-align: left;
}

/* Updated Hero Title - Extra Bold with increased weight */
.hero-title {
  margin: 0 0 20px;
  color: var(--white);
  font-size: clamp(3rem, 5.5vw, 5rem);
  line-height: 1.1;
  letter-spacing: -0.04em;
  font-weight: 600; /* Increased from 800 to 900 (extra bold) */
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2); /* Added slight shadow for extra boldness */
}

/* Gradient text for main headline - Enhanced boldness */
.hero-title .gradient-text {
  background: linear-gradient(135deg, #FFFFFF 0%, #8fa8ff 45%, #c4d1ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline-block;
  font-weight: 900; /* Ensures gradient text is also extra bold */
}

/* Subtitle styling - secondary headline */
.hero-subtitle {
  margin: 0 0 18px;
  color: var(--primary-light);
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
  line-height: 1.3;
  font-weight: 700; /* Increased from 600 to 700 */
  letter-spacing: -0.02em;
}

.hero-text {
  max-width: 560px;
  margin: 0 0 32px;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 28px;
  justify-content: flex-start;
}

.hero-actions .btn {
  gap: 10px;
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 28px;
  margin-bottom: 0;
  justify-content: flex-start;
}

.hero-proof span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.45;
  font-weight: 500;
}

.hero-proof span i {
  color: var(--primary-light);
  font-size: 0.9rem;
}

/* Stats Wrapper - Centered below both columns */
.hero-stats-wrapper {
  margin-top: 20px;
  padding-top: 20px;
  position: relative;
  z-index: 2;
  width: 100%;
}

/* Updated Hero Stats - Centered Grid */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  max-width: 800px;
  margin: 0 auto;
  position: relative;
}

/* Enhanced Stat Cards */
.stat-card {
  padding: 22px 20px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--card-border);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: var(--transition);
  text-align: center;
}

.stat-card:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(74, 108, 247, 0.3);
}

.stat-card strong {
  display: block;
  margin-bottom: 8px;
  color: var(--white);
  font-size: 1.8rem;
  line-height: 1;
  font-weight: 900; /* Increased from 800 to 900 */
  background: linear-gradient(135deg, #fff, var(--primary-light));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.stat-card span {
  display: block;
  color: var(--muted);
  font-size: 0.85rem;
  line-height: 1.5;
  font-weight: 500;
}

.hero-visual {
  position: relative;
  z-index: 2;
  width: 100%;
  display: flex;
  justify-content: flex-end;
}

.image-wrapper {
  position: relative;
  width: 100%;
  max-width: 520px;
  border-radius: 28px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow-lg);
}

.image-container {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3.2;
  min-height: 360px;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.image-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(9, 13, 24, 0.08) 0%, rgba(9, 13, 24, 0.22) 100%),
    linear-gradient(135deg, rgba(74, 108, 247, 0.12) 0%, rgba(74, 108, 247, 0.02) 55%, transparent 100%);
  pointer-events: none;
}

/* Badge styling (kept for potential future use) */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 0 14px;
  margin-bottom: 22px;
  border-radius: 999px;
  background: rgba(74, 108, 247, 0.14);
  border: 1px solid rgba(74, 108, 247, 0.24);
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 700;
  line-height: 1;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.hero-badge i {
  color: var(--primary-light);
  font-size: 0.8rem;
}

/* =========================================
   RESPONSIVE BREAKPOINTS
========================================= */

@media (max-width: 1200px) {
  .hero-section {
    padding: 90px 0 70px; /* Reduced top padding for tablet */
  }
  
  .hero-grid {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: 48px;
  }

  .hero-title {
    font-size: clamp(2.8rem, 5vw, 4.9rem);
  }

  .image-wrapper {
    max-width: 470px;
  }

  .hero-stats {
    gap: 20px;
    max-width: 720px;
  }

  .stat-card strong {
    font-size: 1.7rem;
  }
}

@media (max-width: 992px) {
  .hero-section {
    min-height: auto;
    padding: 80px 0 70px; /* Further reduced for mobile */
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 36px;
    margin-bottom: 48px;
  }

  .hero-content {
    max-width: 100%;
    margin: 0;
    text-align: left;
  }

  .hero-title {
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
  }

  .hero-subtitle {
    max-width: 100%;
  }

  .hero-text {
    max-width: 640px;
    margin-left: 0;
    margin-right: 0;
  }

  .hero-actions,
  .hero-proof {
    justify-content: flex-start;
  }

  .hero-stats-wrapper {
    margin-top: 20px;
  }

  .hero-stats {
    max-width: 100%;
    margin: 0;
    gap: 20px;
  }

  .hero-visual {
    justify-content: flex-start;
  }

  .image-wrapper {
    max-width: 100%;
  }

  .image-container {
    min-height: 320px;
  }
}

@media (max-width: 768px) {
  .hero-section {
    padding: 70px 0 56px; /* Even more reduced for mobile */
  }

  .hero-grid {
    margin-bottom: 40px;
    gap: 32px;
  }

  .hero-title {
    font-size: clamp(2.2rem, 9vw, 3.4rem);
    line-height: 1.08;
    margin-bottom: 16px;
    font-weight: 900; /* Maintains extra bold on mobile */
  }

  .hero-subtitle {
    font-size: 1.1rem;
    margin-bottom: 16px;
    font-weight: 700;
  }

  .hero-text {
    font-size: 0.96rem;
    line-height: 1.65;
    margin-bottom: 28px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    margin-bottom: 24px;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-proof {
    gap: 12px;
    margin-bottom: 0;
  }

  .hero-proof span {
    font-size: 0.82rem;
  }

  .hero-stats-wrapper {
    margin-top: 0;
    padding-top: 0;
  }

  .hero-stats {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .stat-card {
    text-align: center;
    padding: 18px 16px;
  }

  .stat-card strong {
    font-size: 1.5rem;
    margin-bottom: 6px;
    font-weight: 900;
  }

  .stat-card span {
    font-size: 0.82rem;
  }

  .image-wrapper {
    border-radius: 22px;
  }

  .image-container {
    min-height: 230px;
    aspect-ratio: 4 / 3;
  }
}

@media (max-width: 480px) {
  .hero-section {
    padding: 60px 0 46px; /* Minimum top padding for very small screens */
  }

  .hero-grid {
    margin-bottom: 32px;
    gap: 28px;
  }

  .hero-title {
    font-size: 1.95rem;
    font-weight: 900;
  }

  .hero-subtitle {
    font-size: 1rem;
    font-weight: 700;
  }

  .hero-text {
    font-size: 0.92rem;
  }

  .hero-proof {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .hero-stats {
    gap: 10px;
  }

  .stat-card {
    padding: 14px 12px;
  }

  .stat-card strong {
    font-size: 1.35rem;
  }

  .image-container {
    min-height: 200px;
  }
}