/* ─── Hero Section — Fullscreen cinematic ─── */

@keyframes hero-bg-reveal {
  from { opacity: 0; transform: scale(1.04); }
  to   { opacity: 1; transform: scale(1); }
}

/* ── Outer shell ── */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  padding: 0;
}

/* ── Background layer (parallax target) ── */
.hero-bg {
  position: absolute;
  inset: 0;
  /* Slightly oversized to give parallax room to translate */
  top: -10%;
  bottom: -10%;
  will-change: transform;
  z-index: 0;
}

.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  pointer-events: none;
  user-select: none;
  animation: hero-bg-reveal 4.6s cubic-bezier(.22,.6,.36,1) both;
}

/* Gradient overlay: stronger on the left where text sits */
.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(8, 11, 18, 0.92) 0%,
    rgba(8, 11, 18, 0.78) 35%,
    rgba(8, 11, 18, 0.40) 65%,
    rgba(8, 11, 18, 0.15) 100%
  );
  transition: opacity 0.15s ease;
}

/* ── Foreground content ── */
.hero-content {
  position: relative;
  z-index: 1;
  width: 100%;
  padding-top: clamp(4rem, 10vh, 6rem);
  padding-bottom: clamp(4.5rem, 9vh, 6.5rem);
  padding-left: clamp(1.5rem, 5vw, 3rem);
  padding-right: clamp(1.5rem, 5vw, 3rem);
}

.hero-text-col {
  max-width: 520px;
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 2rem 3.5rem 2rem 0;
  /* Subtle local dark gradient — fades right, no card feel */
  
}

/* ── Label above headline ── */
.hero-label {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.64rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(155, 175, 225, 0.68);
  margin-bottom: 1.05rem;
  line-height: 1;
}

.hero-label::before {
  content: '';
  display: block;
  width: 22px;
  height: 1px;
  background: rgba(155, 175, 225, 0.45);
  flex-shrink: 0;
}

/* ── Headline ── */
.hero-headline {
  font-size: clamp(2rem, 3.6vw, 3.1rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.01em;
  margin: 0 0 0.85rem;
  text-shadow: 0 1px 6px rgba(0,0,0,.45);
}

/* ── Tagline / subtitle ── */
.hero-tagline {
  font-size: clamp(.84rem, .73rem + .44vw, .96rem);
  font-weight: 400;
  line-height: 1.6;
  color: rgba(200, 212, 230, 0.62);
  margin: 0 0 0.75rem;
  letter-spacing: 0.01em;
  text-shadow: 0 1px 3px rgba(0,0,0,.3);
}

/* ── Supporting subtitle ── */
.hero-subtitle {
  font-size: clamp(.82rem, .70rem + .48vw, .94rem);
  color: rgba(190, 205, 225, 0.52);
  line-height: 1.7;
  margin: 0 0 1.6rem;
  max-width: 460px;
  text-shadow: 0 1px 3px rgba(0,0,0,.3);
}

/* ── CTA buttons row ── */
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: 0.2rem;
}

/* ── Value pills ── */
.hero-value-pills {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
  margin: 0 0 1.6rem;
}

.hero-value-pills .pill {
  background: rgba(22, 29, 35, 0.72);
  border: 1px solid rgba(255,255,255,.1);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  padding: .45rem .85rem;
  border-radius: 16px;
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .4px;
  display: inline-flex;
  gap: .45rem;
  align-items: center;
  line-height: 1.1;
  box-shadow: 0 2px 6px rgba(0,0,0,.25);
}

.hero-value-pills .pill:hover {
  background: rgba(40, 52, 65, 0.82);
  color: var(--color-accent);
}

.hero-value-pills .pill-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--color-accent);
  flex-shrink: 0;
}

/* ── CTAs ── */
.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: .85rem;
}

/* ── Scroll hint (vertical line at bottom-center) ── */
.hero-scroll-hint {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  opacity: .35;
  transition: opacity .3s ease;
}

.hero-scroll-hint:hover { opacity: .65; }

.hero-scroll-line {
  display: block;
  width: 1px;
  height: 36px;
  background: linear-gradient(to bottom, var(--color-text-dim), transparent);
  animation: scroll-line-pulse 2.4s ease-in-out infinite;
}

@keyframes scroll-line-pulse {
  0%, 100% { opacity: 1; transform: scaleY(1); }
  50%       { opacity: .4; transform: scaleY(.7); }
}

/* ── Mobile / narrow screens ── */
@media (max-width: 900px) {
  .hero {
    min-height: 100svh;
    align-items: flex-end;
  }

  .hero-bg {
    will-change: auto;
  }

  .hero-bg-overlay {
    background: linear-gradient(
      180deg,
      rgba(15, 17, 21, 0.20) 0%,
      rgba(15, 17, 21, 0.85) 55%,
      rgba(15, 17, 21, 0.95) 100%
    );
  }

  .hero-bg-img {
    object-position: center;
  }

  .hero-text-col {
    max-width: 100%;
    padding-right: 0;
    background: linear-gradient(
      to bottom,
      rgba(5, 8, 14, 0.18) 0%,
      transparent 100%
    );
  }

  .hero-headline {
    font-size: clamp(1.7rem, 7vw, 2.3rem);
  }

  .hero-scroll-hint { display: none; }
}

/* ── Reduced-motion ── */
@media (prefers-reduced-motion: reduce) {
  .hero-scroll-line { animation: none; opacity: .4; }
  .hero-bg { will-change: auto; }
}

