/* ============================================================
   hero.css — Hero section styles
   ============================================================ */

#hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center;
  overflow: hidden; padding-top: 80px;
}
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(45,212,191,0.14) 0%, transparent 60%),
              radial-gradient(ellipse 60% 40% at 80% 80%, rgba(56,189,248,0.08) 0%, transparent 50%),
              radial-gradient(ellipse 40% 40% at 20% 60%, rgba(167,139,250,0.06) 0%, transparent 50%),
              var(--navy);
  animation: bgPulse 10s ease-in-out infinite alternate;
}
@keyframes bgPulse { 0%{opacity:1;} 50%{opacity:0.75;} 100%{opacity:1;} }

.orb {
  position: absolute; border-radius: 50%;
  filter: blur(90px); opacity: 0.12; z-index: 0;
  animation: float 14s ease-in-out infinite alternate;
}
.orb-1 { width: 500px; height: 500px; background: var(--teal); top: -150px; left: -150px; animation-duration: 16s; }
.orb-2 { width: 350px; height: 350px; background: var(--blue); bottom: -50px; right: -80px; animation-duration: 12s; animation-delay: -5s; }
.orb-3 { width: 250px; height: 250px; background: var(--purple); top: 40%; left: 45%; animation-duration: 9s; animation-delay: -3s; }
@keyframes float {
  0%   { transform: translate(0, 0) scale(1); }
  100% { transform: translate(40px, -50px) scale(1.12); }
}

.particles { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.particle {
  position: absolute; border-radius: 50%;
  width: 2px; height: 2px; background: var(--teal);
  opacity: 0; animation: particleFloat linear infinite;
}
.particle:nth-child(1)  { left:5%;  top:80%; animation-duration:18s; animation-delay:0s;   width:3px; height:3px; }
.particle:nth-child(2)  { left:10%; top:70%; animation-duration:22s; animation-delay:2s;   opacity:0.4; }
.particle:nth-child(3)  { left:20%; top:90%; animation-duration:16s; animation-delay:4s;   background:var(--blue); }
.particle:nth-child(4)  { left:30%; top:85%; animation-duration:24s; animation-delay:1s;   width:3px; height:3px; }
.particle:nth-child(5)  { left:40%; top:75%; animation-duration:19s; animation-delay:6s;   background:var(--purple); }
.particle:nth-child(6)  { left:50%; top:95%; animation-duration:21s; animation-delay:3s;   }
.particle:nth-child(7)  { left:60%; top:80%; animation-duration:17s; animation-delay:8s;   background:var(--blue); width:3px; height:3px; }
.particle:nth-child(8)  { left:70%; top:70%; animation-duration:23s; animation-delay:0.5s; }
.particle:nth-child(9)  { left:80%; top:90%; animation-duration:20s; animation-delay:5s;   background:var(--purple); }
.particle:nth-child(10) { left:90%; top:85%; animation-duration:15s; animation-delay:7s;   }
.particle:nth-child(11) { left:15%; top:60%; animation-duration:25s; animation-delay:1.5s; background:var(--blue); }
.particle:nth-child(12) { left:25%; top:50%; animation-duration:18s; animation-delay:9s;   width:1px; height:1px; }
.particle:nth-child(13) { left:35%; top:65%; animation-duration:22s; animation-delay:2.5s; }
.particle:nth-child(14) { left:45%; top:55%; animation-duration:16s; animation-delay:4.5s; background:var(--purple); width:3px; height:3px; }
.particle:nth-child(15) { left:55%; top:45%; animation-duration:20s; animation-delay:6.5s; }
.particle:nth-child(16) { left:65%; top:60%; animation-duration:24s; animation-delay:3.5s; background:var(--blue); }
.particle:nth-child(17) { left:75%; top:50%; animation-duration:17s; animation-delay:8.5s; }
.particle:nth-child(18) { left:85%; top:65%; animation-duration:21s; animation-delay:1s;   background:var(--teal); }
.particle:nth-child(19) { left:95%; top:55%; animation-duration:19s; animation-delay:5.5s; width:1px; height:1px; }
.particle:nth-child(20) { left:8%;  top:40%; animation-duration:23s; animation-delay:7.5s; background:var(--purple); }

@keyframes particleFloat {
  0%   { opacity: 0; transform: translateY(0) scale(0); }
  10%  { opacity: 0.6; transform: translateY(-20px) scale(1); }
  90%  { opacity: 0.3; }
  100% { opacity: 0; transform: translateY(-400px) scale(0.5); }
}

.hero-content { position: relative; z-index: 1; max-width: 820px; }

.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 16px; border-radius: 100px;
  background: rgba(45,212,191,0.08); border: 1px solid rgba(45,212,191,0.3);
  font-size: 0.78rem; font-weight: 700; color: var(--teal);
  margin-bottom: 28px; letter-spacing: 1px; text-transform: uppercase;
  animation: fadeInUp 0.6s 0.2s both;
}
.badge-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--teal); animation: blink 2s infinite;
  box-shadow: 0 0 8px var(--teal);
}
@keyframes blink { 0%,100%{opacity:1;} 50%{opacity:0.2;} }

.hero-title { margin-bottom: 20px; animation: fadeInUp 0.6s 0.4s both; }
.hero-tagline {
  font-size: clamp(1rem, 2vw, 1.25rem); color: var(--muted);
  margin-bottom: 36px; max-width: 560px; min-height: 2.5em;
  animation: fadeInUp 0.6s 0.6s both;
}
.typing-cursor { animation: cursorBlink 1s infinite; color: var(--teal); font-weight: 300; }
@keyframes cursorBlink { 0%,49%{opacity:1;} 50%,100%{opacity:0;} }

.hero-stats {
  display: flex; align-items: center;
  margin-bottom: 40px; flex-wrap: wrap; gap: 0;
  animation: fadeInUp 0.6s 0.8s both;
}
.hero-stat { text-align: center; padding: 0 24px; }
.hero-stat:first-child { padding-left: 0; }
.hero-stat-num {
  display: block; font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 900; letter-spacing: -1px;
  background: linear-gradient(135deg, var(--teal), var(--blue));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.hero-stat-label { font-size: 0.72rem; color: var(--muted); font-weight: 500; letter-spacing: 0.3px; }
.hero-stat-divider { width: 1px; height: 36px; background: var(--border); margin: 0 4px; }

.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; animation: fadeInUp 0.6s 1s both; }

.btn-primary {
  padding: 14px 32px; border-radius: 10px; font-weight: 700; font-size: 0.95rem;
  background: linear-gradient(135deg, var(--teal), var(--blue));
  color: #080c18; border: none; cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 24px rgba(45,212,191,0.35); display: inline-block;
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 8px 36px rgba(45,212,191,0.45); opacity: 1; }
.btn-secondary {
  padding: 14px 32px; border-radius: 10px; font-weight: 600; font-size: 0.95rem;
  background: rgba(255,255,255,0.04); color: var(--text);
  border: 1px solid var(--border); cursor: pointer;
  transition: border-color 0.2s, background 0.2s; display: inline-block;
}
.btn-secondary:hover { border-color: var(--teal); background: rgba(45,212,191,0.06); opacity: 1; }

.scroll-hint {
  position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: var(--faint); font-size: 0.72rem; z-index: 1; letter-spacing: 2px; text-transform: uppercase;
  animation: fadeInUp 2s 1.5s both;
}
.scroll-hint-line {
  width: 1px; height: 44px;
  background: linear-gradient(to bottom, var(--teal), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse { 0%,100%{transform:scaleY(1);opacity:1;} 50%{transform:scaleY(0.5);opacity:0.4;} }
