/* === Modern & Clean Hero Design === */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 0;
  margin: 0;
  background: linear-gradient(135deg, #FF6B6B 0%, #FFE66D 50%, #4ECDC4 100%);
}

/* Animated gradient background */
.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    -45deg,
    #FF6B6B,
    #F9A826,
    #FFE66D,
    #4ECDC4,
    #45B7D1,
    #96CEB4,
    #DDA15E,
    #BC6C25
  );
  background-size: 400% 400%;
  animation: gradient-shift 15s ease infinite;
  opacity: 0.9;
  z-index: 0;
}

@keyframes gradient-shift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

/* Subtle overlay for depth */
.hero::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at center, transparent 0%, rgba(0, 0, 0, 0.3) 100%);
  z-index: 1;
}

/* Content Area */
.hero-content {
  position: relative;
  z-index: 10;
  width: 100%;
  padding: clamp(80px, 12vh, 120px) 0;
}

.hero-text-wrapper {
  position: relative;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 60px);
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(30px, 5vh, 50px);
  z-index: 10;
}

/* Eyebrow */
.hero .eyebrow {
  position: relative;
  font-size: clamp(12px, 1.5vw, 16px);
  color: #ffffff;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  display: inline-block;
  padding: 12px 28px;
  border-radius: 50px;
  border: 2px solid rgba(255, 255, 255, 0.5);
  letter-spacing: 0.2em;
  font-weight: 700;
  text-transform: uppercase;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  animation: fade-in-up 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.1s forwards;
  opacity: 0;
}

@keyframes fade-in-up {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Title */
.hero h1 {
  position: relative;
  font-size: clamp(56px, 10vw, 140px);
  margin: 0;
  line-height: 1;
  font-weight: 900;
  letter-spacing: -0.05em;
  color: #ffffff;
  text-shadow:
    0 2px 10px rgba(0, 0, 0, 0.3),
    0 10px 30px rgba(0, 0, 0, 0.2);
  animation: fade-in-up 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.2s forwards;
  opacity: 0;
}

/* Subtitle */
.hero-subtitle {
  display: block;
  font-size: clamp(32px, 6vw, 80px);
  font-weight: 300;
  font-style: italic;
  margin-top: clamp(20px, 3vh, 30px);
  color: rgba(255, 255, 255, 0.95);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  letter-spacing: 0.02em;
  animation: fade-in-up 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.3s forwards;
  opacity: 0;
}

/* Lead text */
.hero .lead {
  font-size: clamp(18px, 2.5vw, 28px);
  color: #ffffff;
  line-height: 1.8;
  max-width: 900px;
  margin: clamp(30px, 5vh, 50px) 0;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  font-weight: 400;
  letter-spacing: 0.01em;
  animation: fade-in-up 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.4s forwards;
  opacity: 0;
}

/* CTA wrapper */
.hero-cta-wrapper {
  position: relative;
  margin-top: 30px;
  animation: fade-in-up 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.5s forwards;
  opacity: 0;
}

.cta-group {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
}

/* CTA Button */
.hero .btn.primary {
  position: relative;
  background: #ffffff;
  color: #667eea;
  font-weight: 900;
  font-size: clamp(16px, 2vw, 20px);
  padding: clamp(18px, 2.5vw, 24px) clamp(36px, 5vw, 56px);
  border: 3px solid #ffffff;
  border-radius: 50px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  letter-spacing: 0.05em;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
}

.hero .btn.primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
  background: rgba(255, 255, 255, 0.9);
}

.hero .cta-note {
  color: #ffffff;
  font-size: clamp(12px, 1.5vw, 15px);
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  background: rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(10px);
  padding: 8px 16px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Scroll Indicator */
.hero-scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  color: #ffffff;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 700;
  opacity: 0.8;
  animation: fade-in 1s ease 1s forwards, bounce 2s ease-in-out 1s infinite;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.hero-scroll-indicator svg {
  opacity: 0.9;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.3));
}

@keyframes fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 0.8;
  }
}

@keyframes bounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(10px);
  }
}

/* Staggered Animations */
.hero-animate {
  opacity: 0;
  animation: fade-in-up 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Responsive Design */
@media (max-width: 900px) {
  .hero-content {
    padding: clamp(60px, 10vh, 100px) 0;
  }

  .hero h1 {
    font-size: clamp(48px, 9vw, 90px);
  }

  .hero-subtitle {
    font-size: clamp(28px, 6vw, 60px);
  }

  .hero .lead {
    font-size: clamp(17px, 3vw, 24px);
  }
}

@media (max-width: 768px) {
  .hero {
    min-height: 100vh;
    min-height: 100svh;
  }

  .hero-text-wrapper {
    padding: 0 clamp(20px, 5vw, 40px);
  }

  .hero h1 {
    font-size: clamp(40px, 10vw, 70px);
    line-height: 1.1;
  }

  .hero-subtitle {
    font-size: clamp(24px, 7vw, 50px);
    margin-top: clamp(16px, 2.5vh, 24px);
  }

  .hero .lead {
    font-size: clamp(16px, 4vw, 20px);
    line-height: 1.7;
    margin: clamp(24px, 4vh, 40px) 0;
  }

  .hero-cta-wrapper {
    margin-top: 30px;
  }

  .cta-group {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .cta-group .btn {
    width: 100%;
    text-align: center;
    justify-content: center;
  }

  .hero .cta-note {
    text-align: center;
  }

  .hero-scroll-indicator {
    bottom: 30px;
    font-size: 9px;
  }
}

@media (max-width: 480px) {
  .hero-content {
    padding: clamp(60px, 10vh, 80px) 0;
  }

  .hero-text-wrapper {
    padding: 0 20px;
  }

  .hero .eyebrow {
    font-size: clamp(10px, 3vw, 13px);
    padding: 10px 20px;
    letter-spacing: 0.15em;
  }

  .hero h1 {
    font-size: clamp(32px, 11vw, 56px);
    line-height: 1.15;
  }

  .hero-subtitle {
    font-size: clamp(20px, 8vw, 40px);
    margin-top: clamp(12px, 2vh, 20px);
  }

  .hero .lead {
    font-size: clamp(15px, 4.5vw, 18px);
    line-height: 1.65;
    margin: clamp(20px, 3.5vh, 32px) 0;
  }

  .hero .btn.primary {
    font-size: clamp(15px, 4vw, 17px);
    padding: 16px 32px;
  }

  .hero-scroll-indicator {
    bottom: 20px;
    font-size: 8px;
  }
}

/* Accessibility and Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  .hero::before {
    animation: none;
  }

  .hero h1,
  .hero-subtitle,
  .hero .lead,
  .hero .eyebrow,
  .hero-cta-wrapper,
  .hero-animate {
    animation: none;
    opacity: 1;
    transform: none;
  }

  .hero-scroll-indicator {
    animation: none;
    opacity: 0.8;
  }

  .hero .btn.primary:hover {
    transform: none;
  }
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
  .hero::before {
    background: linear-gradient(-45deg, #0066cc, #00aaff, #0088ff, #0099ff);
  }

  .hero {
    background: #000066;
  }

  .hero .eyebrow {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.8);
  }

  .hero .btn.primary {
    border: 3px solid #ffffff;
  }
}
