/* =====================
   Hero Section Styles
   ===================== */

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  padding-top: 80px;
  overflow: hidden;
  /* Dark background matching the vignette edges */
  background: #0a0a0c;
}

/* Full-bleed background - image positioned off-center to the right */
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg-image {
  position: absolute;
  top: 50%;
  /* Shift image to the right - 60% from left edge */
  left: 60%;
  transform: translate(-40%, -50%);
  width: auto;
  max-width: none;
  height: 120%;
  min-width: 70%;
  object-fit: cover;
  object-position: center;
  /* Darken the image itself to match the dark theme */
  filter: brightness(0.5);
}

/* Heavy vignette overlay - blends image into dark background */
.hero-vignette {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    /* Strong radial vignette from center-right outward */
    radial-gradient(ellipse 70% 70% at 65% 50%, transparent 10%, rgba(10, 10, 12, 0.5) 40%, rgba(10, 10, 12, 0.9) 70%, rgba(10, 10, 12, 1) 100%),
    /* Extra heavy fade from left for text area */
    linear-gradient(to right, rgba(10, 10, 12, 1) 0%, rgba(10, 10, 12, 0.95) 25%, rgba(10, 10, 12, 0.7) 40%, transparent 60%),
    /* Fade from top */
    linear-gradient(to bottom, rgba(10, 10, 12, 0.8) 0%, transparent 30%),
    /* Fade from bottom */
    linear-gradient(to top, rgba(10, 10, 12, 0.9) 0%, rgba(10, 10, 12, 0.5) 20%, transparent 40%),
    /* Fade from right edge */
    linear-gradient(to left, rgba(10, 10, 12, 0.9) 0%, transparent 30%);
}

/* Hero Content - positioned on the left with padding */
.hero .container {
  position: relative;
  z-index: 1;
  max-width: none;
  padding: 0;
  margin: 0;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 660px;
  /* Shift text further left - 75% more padding */
  padding-left: 125px;
  text-align: left;
}

.hero-eyebrow {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: var(--accent-blue);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 16px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.hero-eyebrow::before {
  content: '';
  width: 24px;
  height: 1px;
  background: var(--accent-blue);
}

.hero h1 {
  font-size: clamp(36px, 4.5vw, 56px);
  font-weight: 600;
  line-height: 1.1;
  margin-bottom: 24px;
  letter-spacing: -1px;
  /* Text shadow for extra readability */
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
}

.hero h1 .highlight {
  color: var(--accent-blue);
}

.hero-description {
  font-size: 17px;
  color: var(--text-secondary);
  margin-bottom: 40px;
  max-width: 480px;
  line-height: 1.7;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.3);
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: flex-start;
}

/* Fade-in Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.hero-content > * {
  animation: fadeInUp 0.6s ease forwards;
  opacity: 0;
}

.hero-eyebrow { animation-delay: 0.1s; }
.hero h1 { animation-delay: 0.2s; }
.hero-description { animation-delay: 0.3s; }
.hero-actions { animation-delay: 0.4s; }

.hero-bg {
  animation: fadeIn 1.2s ease forwards;
}

/* Responsive */
@media (max-width: 968px) {
  .hero .container {
    text-align: center;
  }

  .hero-content {
    max-width: 100%;
    padding: 0 20px;
    padding-left: 50px;
    margin: 0 auto;
    text-align: center;
  }

  .hero-eyebrow::before {
    display: none;
  }

  .hero-description {
    margin-left: auto;
    margin-right: auto;
  }

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

  /* On mobile, center the image more */
  .hero-bg-image {
    left: 50%;
    transform: translate(-50%, -50%);
    min-width: 100%;
    filter: brightness(0.35);
  }

  .hero-vignette {
    background:
      /* Strong overall darkening for mobile */
      radial-gradient(ellipse 100% 100% at 50% 50%, transparent 0%, rgba(10, 10, 12, 0.6) 30%, rgba(10, 10, 12, 0.95) 65%),
      /* Extra bottom fade */
      linear-gradient(to top, rgba(10, 10, 12, 1) 0%, rgba(10, 10, 12, 0.7) 30%, transparent 60%),
      /* Top fade */
      linear-gradient(to bottom, rgba(10, 10, 12, 0.8) 0%, transparent 40%);
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: clamp(28px, 8vw, 36px);
  }

  .hero-bg-image {
    filter: brightness(0.4);
  }
}
