/* Landing hero components */

.hero-flow {
  height: 72vh;
  min-height: 480px;
  max-height: 640px;
}

.hero-flow-bg {
  will-change: transform;
  filter: blur(4px) brightness(0.75);
  animation: heroKenBurns 20s ease-in-out infinite alternate;
}

.hero-flow-overlay {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.35) 0%, rgba(0, 0, 0, 0.5) 50%, rgba(0, 0, 0, 0.7) 100%);
  z-index: 1;
}

.hero-flow-content {
  opacity: 0;
  transform: translateY(16px);
  animation: heroFadeUp 0.8s cubic-bezier(0.25, 0.1, 0.25, 1) 0.15s forwards;
}

.hero-flow-title {
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.08;
  color: #fff;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.5), 0 1px 4px rgba(0, 0, 0, 0.4);
  margin-bottom: 0.75rem;
}

.hero-flow-subtitle {
  font-size: clamp(0.9375rem, 1.5vw, 1.1875rem);
  font-weight: 300;
  letter-spacing: -0.005em;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.8);
  text-shadow: 0 1px 16px rgba(0, 0, 0, 0.4), 0 1px 3px rgba(0, 0, 0, 0.3);
  max-width: 560px;
  margin-bottom: 1.75rem;
}

.hero-flow-buttons,
.hero-trust-badges,
.hero-trust-line,
.hero-scroll-wrap {
  opacity: 0;
  animation: heroFadeUp 0.7s cubic-bezier(0.25, 0.1, 0.25, 1) 0.4s forwards;
}

.hero-flow-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.hero-btn-primary,
.hero-btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.6875rem 1.75rem;
  font-size: 0.9375rem;
  font-weight: 500;
  letter-spacing: -0.005em;
  border-radius: 980px;
  text-decoration: none;
  min-height: 44px;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.hero-btn-primary {
  color: #1d1d1f;
  background: rgba(255, 255, 255, 0.95);
  border: none;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
}

.hero-btn-primary:hover {
  background: #fff;
  color: #1d1d1f;
  transform: scale(1.04);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  text-decoration: none;
}

.hero-btn-secondary {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.hero-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.5);
  color: #fff;
  transform: scale(1.04);
  text-decoration: none;
}

.hero-trust-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 0.625rem;
  animation-delay: 0.6s;
}

.hero-trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.3125rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 980px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

.hero-trust-line {
  font-size: 0.8125rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.7);
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.3);
  margin: 0;
  animation-delay: 0.75s;
}

.hero-scroll-wrap {
  margin-bottom: 1.5rem;
  animation-delay: 1.2s;
}

.hero-scroll-indicator {
  text-align: center;
}

.hero-mouse {
  width: 22px;
  height: 34px;
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  border-radius: 12px;
  margin: 0 auto 0.375rem;
  position: relative;
}

.hero-wheel {
  width: 3px;
  height: 6px;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 2px;
  position: absolute;
  top: 7px;
  left: 50%;
  transform: translateX(-50%);
  animation: heroWheel 1.8s ease-in-out infinite;
}

.hero-scroll-label {
  display: block;
  font-size: 0.625rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.35);
}

.hero-echo {
  height: 60vh;
  min-height: 400px;
  max-height: 550px;
}

.hero-echo-bg {
  will-change: transform;
  animation: echoPulse 8s ease-in-out infinite;
}

.hero-echo-overlay {
  background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.7) 70%, rgba(0, 0, 0, 0.85) 100%);
}

.hero-echo-rings {
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.echo-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  animation: ringExpand 4s ease-out infinite;
}

.echo-ring-1,
.echo-ring-2,
.echo-ring-3 {
  width: 200px;
  height: 200px;
}

.echo-ring-2 {
  animation-delay: 1.3s;
}

.echo-ring-3 {
  animation-delay: 2.6s;
}

.hero-echo-content {
  animation: echoContentFadeIn 1s ease-out forwards;
  opacity: 0;
}

.hero-echo-title {
  letter-spacing: -0.02em;
  text-shadow: 0 4px 40px rgba(0, 0, 0, 0.5), 0 0 80px rgba(var(--bs-primary-rgb), 0.3);
}

.hero-echo-subtitle {
  max-width: 600px;
  opacity: 0.9;
  font-weight: 300;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.4);
}

.hero-echo-btn {
  box-shadow: 0 0 30px rgba(var(--bs-primary-rgb), 0.5), 0 8px 30px rgba(0, 0, 0, 0.3);
  transition: all 0.4s cubic-bezier(0.25, 0.1, 0.25, 1);
  animation: btnPulse 2s ease-in-out infinite;
}

.hero-echo-btn:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 0 60px rgba(var(--bs-primary-rgb), 0.8), 0 12px 40px rgba(0, 0, 0, 0.4);
  animation: none;
}

@keyframes heroKenBurns {
  0% { transform: scale(1.02); }
  100% { transform: scale(1.08); }
}

@keyframes heroFadeUp {
  to { opacity: 1; transform: translateY(0); }
}

@keyframes heroWheel {
  0%, 100% { opacity: 0.8; top: 7px; }
  50% { opacity: 0.3; top: 16px; }
}

@keyframes echoPulse {
  0%, 100% { transform: scale(1); filter: brightness(0.9); }
  50% { transform: scale(1.08); filter: brightness(1.1); }
}

@keyframes ringExpand {
  0% { width: 100px; height: 100px; opacity: 0.6; }
  100% { width: 800px; height: 800px; opacity: 0; }
}

@keyframes echoContentFadeIn {
  0% { opacity: 0; transform: scale(0.95); }
  100% { opacity: 1; transform: scale(1); }
}

@keyframes btnPulse {
  0%, 100% { box-shadow: 0 0 30px rgba(var(--bs-primary-rgb), 0.5), 0 8px 30px rgba(0, 0, 0, 0.3); }
  50% { box-shadow: 0 0 50px rgba(var(--bs-primary-rgb), 0.7), 0 8px 40px rgba(0, 0, 0, 0.4); }
}

@media (max-width: 767.98px) {
  .hero-flow {
    height: 60vh;
    min-height: 380px;
    max-height: 480px;
  }

  .hero-flow-subtitle {
    max-width: 340px;
  }

  .hero-btn-primary,
  .hero-btn-secondary {
    padding: 0.625rem 1.5rem;
    font-size: 0.875rem;
  }

  .hero-scroll-wrap {
    display: none;
  }

  .hero-echo {
    height: 50vh;
    min-height: 350px;
    max-height: 450px;
  }

  .hero-echo-title {
    font-size: 1.75rem !important;
  }

  .hero-echo-subtitle {
    font-size: 1rem !important;
  }

  .echo-ring {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-flow-bg,
  .hero-flow-content,
  .hero-flow-buttons,
  .hero-trust-badges,
  .hero-trust-line,
  .hero-scroll-wrap,
  .hero-wheel,
  .hero-echo-bg,
  .echo-ring,
  .hero-echo-content,
  .hero-echo-btn {
    animation: none !important;
    transform: none !important;
    opacity: 1 !important;
  }
}
