/* ============================================
   HERO SECTION — Onyx Visual
   Full viewport, centered content, scroll indicator
   ============================================ */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: var(--navbar-height);
  padding-bottom: var(--sp-16);
  overflow: hidden;
}

/* Background gradient overlay */
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse 80% 50% at 50% 0%, rgba(59,130,246,0.08) 0%, transparent 60%),
    radial-gradient(ellipse 60% 60% at 80% 100%, rgba(6,182,212,0.06) 0%, transparent 50%),
    var(--bg-primary);
}

/* Grid lines (subtle background texture) */
.hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(30, 41, 59, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(30, 41, 59, 0.12) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black 0%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black 0%, transparent 100%);
}

/* Background orbs */
.hero__orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(100px);
  z-index: 0;
}

.hero__orb--1 {
  width: 700px;
  height: 700px;
  top: -200px;
  right: -150px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.10) 0%, transparent 70%);
}

.hero__orb--2 {
  width: 500px;
  height: 500px;
  bottom: -120px;
  left: -180px;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.08) 0%, transparent 70%);
}

/* Content wrapper */
.hero__content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
}

/* Eyebrow badge */
.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  padding: var(--sp-2) var(--sp-4);
  background: rgba(59, 130, 246, 0.08);
  border: 1px solid rgba(59, 130, 246, 0.2);
  border-radius: var(--radius-full);
  font-size: 0.8125rem;
  font-weight: var(--fw-medium);
  color: var(--accent-primary);
  margin-bottom: var(--sp-8);
}

.hero__eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--success);
  animation: pulse-dot 2s ease infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

/* Title */
.hero__title {
  margin-bottom: var(--sp-6);
  max-width: 780px;
  margin-left: auto;
  margin-right: auto;
}

.hero__title .highlight {
  background: var(--accent-glow);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Subtitle */
.hero__subtitle {
  font-size: 1.125rem;
  color: var(--text-secondary);
  max-width: 620px;
  margin: 0 auto var(--sp-10);
  line-height: 1.7;
}

@media (min-width: 768px) {
  .hero__subtitle {
    font-size: 1.25rem;
  }
}

/* CTA row */
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--sp-4);
  margin-bottom: var(--sp-8);
}

/* Trust line */
.hero__trust {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  font-size: 0.875rem;
  color: var(--text-muted);
}

.hero__trust svg {
  width: 16px;
  height: 16px;
  color: var(--accent-primary);
  flex-shrink: 0;
}

/* Scroll indicator */
.hero__scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-2);
  color: var(--text-muted);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.6;
  animation: scroll-bounce 2s ease infinite;
}

.hero__scroll-arrow {
  width: 24px;
  height: 24px;
}

@keyframes scroll-bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* Hide scroll indicator on mobile or short screens */
@media (max-height: 700px) {
  .hero__scroll-indicator {
    display: none;
  }
}

/* ============================================
   COMPACT HERO VARIANT
   Used on inner pages (rental, purchase, use-cases, product)
   ============================================ */

.hero--compact {
  position: relative;
  min-height: auto;
  padding-top: calc(var(--navbar-height) + var(--sp-16));
  padding-bottom: var(--sp-20);
  text-align: center;
  overflow: hidden;
}

@media (min-width: 768px) {
  .hero--compact {
    padding-top: calc(var(--navbar-height) + var(--sp-24));
    padding-bottom: var(--sp-24);
  }
}

.hero--compact .hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse 70% 60% at 50% 20%, rgba(59,130,246,0.09) 0%, transparent 60%),
    radial-gradient(ellipse 50% 50% at 80% 80%, rgba(6,182,212,0.06) 0%, transparent 50%),
    var(--bg-primary);
}

.hero--compact .hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(30, 41, 59, 0.10) 1px, transparent 1px),
    linear-gradient(90deg, rgba(30, 41, 59, 0.10) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 60% 50% at 50% 50%, black 0%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 60% 50% at 50% 50%, black 0%, transparent 100%);
}

.hero--compact .hero__content {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin: 0 auto;
}

.hero--compact .hero__title {
  margin-bottom: var(--sp-5);
}

.hero--compact .hero__subtitle {
  font-size: 1.125rem;
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto var(--sp-8);
  line-height: 1.7;
}

@media (min-width: 768px) {
  .hero--compact .hero__subtitle {
    font-size: 1.1875rem;
  }
}

.hero--compact .hero__actions {
  display: flex;
  justify-content: center;
  gap: var(--sp-4);
}
