/* Homepage hero styling layer */
.hero{
  min-height: 100vh;
  padding: clamp(112px, 14vh, 168px) 0 88px;
  align-items: center;
  background:
    radial-gradient(80% 130% at 92% -15%, rgba(255, 107, 53, 0.22) 0%, rgba(255, 107, 53, 0) 62%),
    radial-gradient(70% 100% at -12% 95%, rgba(56, 130, 190, 0.34) 0%, rgba(56, 130, 190, 0) 70%),
    linear-gradient(125deg, #08182a 0%, #0b2a49 58%, #12365d 100%);
}

.hero::before{
  background:
    linear-gradient(125deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(-125deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 92px 92px;
  opacity: 0.38;
}

.hero-overlay{
  background:
    linear-gradient(180deg, rgba(2, 8, 16, 0.06) 0%, rgba(2, 8, 16, 0.35) 60%, rgba(2, 8, 16, 0.48) 100%);
}

.hero-content{
  width: min(1080px, calc(100% - 40px));
  margin: 0 auto;
  padding: 0 20px;
  text-align: center;
}

.hero-title.hero-title-refined{
  max-width: 18ch;
  margin: 0 auto 24px;
  font-size: clamp(1.95rem, 4.6vw, 4.2rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.04em;
  text-wrap: balance;
}

.hero-title-refined .hero-title-line,
.hero-title-refined .hero-title-accent{
  display: block;
}

.hero-title-refined .hero-title-line{
  color: #ffffff;
}

.hero-title-refined .hero-title-line:last-child{
  color: var(--secondary-color);
  font-size: clamp(0.9rem, 1.35vw, 1.08rem);
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: 0;
}

.hero-title-refined .hero-title-accent{
  width: fit-content;
  margin: 10px auto 14px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--secondary-color);
  font-size: clamp(0.9rem, 1.35vw, 1.08rem);
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
}

.hero-subtitle.hero-subtitle-refined{
  max-width: 60ch;
  margin: 0 auto 38px;
  font-size: clamp(1rem, 1.6vw, 1.3rem);
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.91);
}

.hero-subtitle-refined .hero-focus{
  color: var(--secondary-color);
  font-weight: 700;
}

.hero-buttons{
  justify-content: center;
  gap: 14px;
}

.hero-buttons .btn{
  min-width: 206px;
  border-radius: 12px;
  padding: 14px 28px;
  font-size: 1rem;
  font-weight: 700;
}

.hero-buttons .btn-primary{
  box-shadow: 0 14px 28px rgba(255, 107, 53, 0.28);
}

.hero-buttons .btn-secondary{
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(10, 24, 40, 0.2);
}

.hero-buttons .btn-secondary:hover{
  background: #ffffff;
}

.scroll-indicator{
  left: 50%;
  right: auto;
  bottom: 26px;
  transform: translateX(-50%);
  align-items: center;
  opacity: 0.8;
  letter-spacing: 0.16em;
}

@media (max-width: 968px){
  .hero{
    padding: 102px 0 72px;
    min-height: auto;
  }

  .hero-content{
    width: min(680px, calc(100% - 32px));
    padding: 0 16px;
  }

  .hero-title.hero-title-refined{
    max-width: 100%;
    margin-bottom: 18px;
    font-size: clamp(1.7rem, 7vw, 2.95rem);
    line-height: 1.1;
  }

  .hero-title-refined .hero-title-accent{
    max-width: 100%;
    width: auto;
    margin-bottom: 10px;
    padding: 0;
    font-size: 0.82rem;
    font-weight: 600;
    line-height: 1.35;
  }

  .hero-title-refined .hero-title-line:last-child{
    font-size: 0.82rem;
    font-weight: 600;
    line-height: 1.35;
  }

  .hero-subtitle.hero-subtitle-refined{
    margin-bottom: 30px;
    font-size: 1rem;
  }

  .hero-buttons{
    flex-wrap: wrap;
  }

  .hero-buttons .btn{
    min-width: 0;
    width: 50%;
    padding: 13px 12px;
    font-size: 0.95rem;
  }

  .scroll-indicator{
    display: none;
  }
}

@media (max-width: 640px){
  .hero{
    padding: 96px 0 64px;
  }

  .hero-content{
    width: calc(100% - 24px);
    padding: 0 8px;
  }

  .hero-title.hero-title-refined{
    font-size: clamp(1.75rem, 9.4vw, 2.7rem);
  }

  .hero-subtitle.hero-subtitle-refined{
    font-size: 0.98rem;
    line-height: 1.55;
  }

  .hero-buttons{
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

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