/* ============================================================
   css/hero.css — Hero Section
   ============================================================ */

.hero {
  min-height: 100vh;
  display:    flex;
  align-items: center;
  position:   relative;
  overflow:   hidden;
  background: var(--black);
}

/* Layered backgrounds */
.hero-bg {
  position:   absolute;
  inset:      0;
  background: linear-gradient(135deg, #0A0A0A 0%, #1a1a0a 40%, #0a0a0a 100%);
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(0deg,   transparent, transparent 80px, rgba(245,197,24,0.04) 80px, rgba(245,197,24,0.04) 81px),
    repeating-linear-gradient(90deg,  transparent, transparent 80px, rgba(245,197,24,0.04) 80px, rgba(245,197,24,0.04) 81px);
}

.hero-accent {
  position:   absolute;
  right:      0;
  top:        0;
  bottom:     0;
  width:      45%;
  background: rgba(245, 197, 24, 0.03);
  clip-path:  polygon(15% 0, 100% 0, 100% 100%, 0% 100%);
}

/* Floating shapes */
.hero-shapes {
  position: absolute;
  inset:    0;
  overflow: hidden;
}

.shape {
  position:   absolute;
  background: var(--yellow);
  opacity:    0.08;
}

.shape-1 {
  width:     300px;
  height:    300px;
  right:     10%;
  top:       20%;
  transform: rotate(45deg);
  animation: float1 8s ease-in-out infinite;
}

.shape-2 {
  width:     150px;
  height:    150px;
  right:     25%;
  bottom:    15%;
  transform: rotate(30deg);
  animation: float2 6s ease-in-out infinite;
}

.shape-3 {
  width:     80px;
  height:    80px;
  right:     40%;
  top:       10%;
  animation: float3 10s ease-in-out infinite;
}

@keyframes float1 {
  0%, 100% { transform: rotate(45deg) translateY(0); }
  50%       { transform: rotate(45deg) translateY(-20px); }
}

@keyframes float2 {
  0%, 100% { transform: rotate(30deg) translateY(0); }
  50%       { transform: rotate(30deg) translateY(15px); }
}

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

/* Content */
.hero-content {
  position:   relative;
  z-index:    1;
  max-width:  var(--max-width);
  margin:     0 auto;
  padding:    6rem var(--container-pad) 4rem;
  width:      100%;
}

/* Badge */
.hero-badge {
  display:        inline-flex;
  align-items:    center;
  gap:            0.5rem;
  background:     rgba(245, 197, 24, 0.15);
  border:         1px solid rgba(245, 197, 24, 0.3);
  padding:        0.4rem 1rem;
  font-family:    var(--font-cond);
  font-size:      0.75rem;
  font-weight:    700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color:          var(--yellow);
  margin-bottom:  2rem;
  animation:      fadeInUp 0.8s ease both;
}

.hero-badge::before {
  content:       '';
  width:         6px;
  height:        6px;
  background:    var(--yellow);
  border-radius: 50%;
  animation:     pulse 2s ease infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.5; transform: scale(1.5); }
}

/* Main title */
.hero-title {
  font-family:   var(--font-display);
  font-size:     clamp(4rem, 9vw, 9rem);
  line-height:   0.9;
  color:         #FAFAFA;
  margin-bottom: 1.5rem;
}

.hero-title .line {
  display:  block;
  overflow: hidden;
}

.hero-title .line span {
  display:   block;
  animation: slideUp 0.9s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.hero-title .line:nth-child(1) span { animation-delay: 0.2s; }
.hero-title .line:nth-child(2) span { animation-delay: 0.35s; }
.hero-title .line:nth-child(3) span { animation-delay: 0.5s; }

.hero-title .accent { color: var(--yellow); }

@keyframes slideUp {
  from { transform: translateY(100%); }
  to   { transform: translateY(0); }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Sub text */
.hero-sub {
  font-size:   1.1rem;
  color:       rgba(250, 250, 250, 0.6);
  max-width:   520px;
  margin-bottom: 3rem;
  line-height: 1.7;
  animation:   fadeInUp 0.8s 0.7s ease both;
  opacity:     0;
  animation-fill-mode: both;
}

/* CTA buttons */
.hero-cta {
  display:   flex;
  gap:       1rem;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s 0.9s ease both;
  opacity:   0;
  animation-fill-mode: both;
}

/* Stats strip */
.hero-stats {
  display:    flex;
  gap:        3rem;
  margin-top: 4rem;
  padding-top: 3rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  animation:  fadeInUp 0.8s 1.1s ease both;
  opacity:    0;
  animation-fill-mode: both;
  flex-wrap:  wrap;
}

.hero-stat .num {
  font-family: var(--font-display);
  font-size:   2.5rem;
  color:       var(--yellow);
}

.hero-stat .label {
  font-family:    var(--font-cond);
  font-size:      0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color:          rgba(250, 250, 250, 0.5);
}

/* Scroll indicator */
.scroll-indicator {
  position:       absolute;
  bottom:         2rem;
  left:           50%;
  transform:      translateX(-50%);
  display:        flex;
  flex-direction: column;
  align-items:    center;
  gap:            0.5rem;
  animation:      fadeInUp 1s 1.3s ease both;
  opacity:        0;
  animation-fill-mode: both;
  cursor:         pointer;
}

.scroll-indicator span {
  font-family:    var(--font-cond);
  font-size:      0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color:          rgba(250, 250, 250, 0.4);
}

.scroll-line {
  width:      1px;
  height:     60px;
  background: linear-gradient(to bottom, rgba(245,197,24,0.8), transparent);
  animation:  scrollAnim 2s ease-in-out infinite;
}

@keyframes scrollAnim {
  0%   { transform: scaleY(0); transform-origin: top; }
  50%  { transform: scaleY(1); transform-origin: top; }
  51%  { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}
