#hero {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 10rem 2rem 4rem;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(
    135deg,
    rgba(99, 102, 241, 0.12),
    rgba(6, 182, 212, 0.12)
  );
  border: 1px solid rgba(99, 102, 241, 0.25);
  padding: 0.45rem 1.1rem;
  border-radius: 999px;
  font-size: 0.82rem;
  color: var(--accent);
  margin-bottom: 2.5rem;
  font-weight: 600;
  animation: fadeDown 0.8s ease both;
  box-shadow: 0 4px 20px rgba(99, 102, 241, 0.1);
}
.hero-badge .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  animation: pulse 2s infinite;
}
.hero-title {
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(3rem, 7.5vw, 6.5rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -3px;
  margin-bottom: 1.5rem;
  animation: fadeUp 0.9s 0.1s ease both;
}
.word-swap {
  display: inline-block;
  overflow: hidden;
  height: 1.1em;
  vertical-align: bottom;
}
.word-container {
  display: inline-block;
  overflow: hidden;
  height: 1.2em;
  position: relative;
}

#word {
  display: inline-block;
  transition:
    transform 0.5s ease,
    opacity 0.5s ease;
  background: linear-gradient(90deg, #ff6a00, #ee0979);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-sub {
  font-size: clamp(1rem, 2vw, 1.3rem);
  color: var(--muted);
  max-width: 650px;
  line-height: 1.7;
  margin-bottom: 3rem;
  animation: fadeUp 0.9s 0.2s ease both;
}
.hero-btns {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
  animation: fadeUp 0.9s 0.3s ease both;
}
.btn-primary {
  padding: 0.9rem 2.2rem;
  background: var(--grad);
  border: none;
  border-radius: 12px;
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.25s;
  box-shadow: 0 6px 25px rgba(99, 102, 241, 0.4);
  position: relative;
  overflow: hidden;
}
.btn-primary::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), transparent);
  opacity: 0;
  transition: opacity 0.2s;
}
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 40px rgba(99, 102, 241, 0.5);
}
.btn-primary:hover::after {
  opacity: 1;
}
.btn-ghost {
  padding: 0.9rem 2.2rem;
  background: var(--surface);
  border: 2px solid var(--border);
  border-radius: 12px;
  color: var(--text);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
}
.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
}

.hero-stats {
  display: flex;
  gap: 3rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 4rem;
  animation: fadeUp 0.9s 0.6s ease both;
}
.stat {
  text-align: center;
  position: relative;
}
.stat-num {
  font-size: 2.2rem;
  font-weight: 800;
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.stat-label {
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 0.2rem;
  font-weight: 500;
}

.scroll-hint {
 margin-top: 50px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--muted);
  font-size: 0.72rem;
  animation: fadeIn 1s 1.2s both;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.scroll-line {
  width: 1px;
  height: 44px;
  background: linear-gradient(to bottom, transparent, var(--accent));
  animation: scrollDot 2s infinite;
}
