

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: calc(64px + 28px + 12px + 64px); 
  padding-bottom: 80px;
  background: var(--bg);
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero__bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #060e18 0%, var(--bg) 50%, #0f1c2d 100%);
}
.hero__bg::after {
  content: '';
  position: absolute;
  top: -20%; right: -10%;
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(255,121,0,.16) 0%, transparent 65%);
  border-radius: 50%;
  pointer-events: none;
}

.hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,121,0,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,121,0,.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 0%, transparent 100%);
}

#hero-particles {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.hero .container {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
}

.hero__content {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.hero__label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px 6px 8px;
  background: var(--glass-bg-card);
  backdrop-filter: var(--glass-blur-sm);
  -webkit-backdrop-filter: var(--glass-blur-sm);
  border: 1px solid var(--glass-border-accent);
  border-radius: var(--r-full);
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  color: var(--accent);
  letter-spacing: var(--ls-wide);
  width: fit-content;
}
.hero__label-dot {
  width: 8px; height: 8px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
  flex-shrink: 0;
}
@keyframes pulse-dot {
  0%,100% { opacity:1; transform:scale(1); }
  50%      { opacity:.4; transform:scale(.7); }
}

.hero__title {
  font-family: var(--font-head);
  font-size: var(--fs-4xl);
  font-weight: var(--fw-black);
  line-height: 1.02;
  letter-spacing: -0.04em;
  color: var(--white);
  margin: 0;
}
.hero__title .line {
  display: block;
  overflow: hidden;
}
.hero__title .accent { color: var(--accent); }

.hero__desc {
  font-size: var(--fs-base);
  color: var(--text-muted);
  line-height: var(--lh-loose);
  max-width: 44ch;
  margin: 0;
}

.hero__cta {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.hero__stats {
  display: flex;
  gap: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--glass-border);
}
.hero__stat-value {
  font-family: var(--font-head);
  font-size: var(--fs-3xl);
  font-weight: var(--fw-black);
  color: var(--white);
  line-height: 1;
}
.hero__stat-value span { color: var(--accent); }
.hero__stat-label {
  font-size: var(--fs-xs);
  color: var(--text-muted);
  margin-top: 4px;
  font-family: var(--font-body);
}

.hero__visual {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.hero__terminal-wrap {
  position: relative;
  width: 100%;
  max-width: 360px;
  margin: 0 auto;
}
.hero__terminal-wrap::before {
  content: '';
  position: absolute;
  bottom: -40px;
  left: 50%;
  transform: translateX(-50%);
  width: 75%;
  height: 100px;
  background: radial-gradient(ellipse, var(--accent-glow) 0%, transparent 70%);
  filter: blur(20px);
  pointer-events: none;
  z-index: 0;
}
.hero__terminal-img {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 24px 48px rgba(255,121,0,.25));
  animation: float 6s ease-in-out infinite;
  position: relative;
  z-index: 1;
}
@keyframes float {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(-14px); }
}

.hero__badge {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  background: rgba(13, 21, 33, 0.55);
  backdrop-filter: var(--glass-blur-lg);
  -webkit-backdrop-filter: var(--glass-blur-lg);
  border: none;
  border-radius: var(--r-xl);
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  color: var(--white);
  white-space: nowrap;
  box-shadow: 0 8px 32px rgba(0,0,0,0.40), inset 0 1px 0 rgba(255,255,255,0.07);
  z-index: 3;
}
.hero__badge--1 { top: 12%;  left: -5%;  animation: float-b 4s ease-in-out infinite 0s; }
.hero__badge--2 { bottom: 20%; right: -8%; animation: float-b 4s ease-in-out infinite 1.5s; }
.hero__badge--3 { top: 52%;  left: -10%; animation: float-b 4s ease-in-out infinite 0.8s; }

@keyframes float-b {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(-7px); }
}
.hero__badge-icon { font-size: 18px; }
.hero__badge-text { line-height: 1.3; }
.hero__badge-text strong { display: block; font-size: var(--fs-sm); color: var(--white); }
.hero__badge-text span   { color: var(--text-muted); font-weight: var(--fw-regular); }

.hero__scroll {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  font-size: var(--fs-xs);
  color: var(--text-dim);
  letter-spacing: var(--ls-wider);
  z-index: 2;
}
.hero__scroll-mouse {
  width: 22px; height: 36px;
  border: 2px solid var(--glass-border);
  border-radius: 11px;
  display: flex;
  justify-content: center;
  padding-top: 5px;
}
.hero__scroll-mouse::before {
  content: '';
  width: 3px; height: 7px;
  background: var(--accent);
  border-radius: var(--r-full);
  animation: scroll-dot 2s ease-in-out infinite;
}
@keyframes scroll-dot {
  0%,100% { transform:translateY(0); opacity:1; }
  50%      { transform:translateY(7px); opacity:.3; }
}

@media (max-width: 1024px) {
  .hero .container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero__content { align-items: center; }
  .hero__desc { max-width: 100%; }
  .hero__stats { justify-content: center; }
  .hero__visual { max-width: 320px; margin-inline: auto; order: -1; }
  .hero__badge { display: none; }
}

@media (max-width: 768px) {
  .hero__title .line { display: inline; }
  .hero__title .line + .line::before { content: ' '; }

  .hero {
    padding-top: calc(90px + 48px);
    padding-bottom: 60px;
    padding-left: 20px;
    padding-right: 20px;
  }
  .hero .container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 28px;
    padding-left: 0;
    padding-right: 0;
  }
  .hero__content {
    align-items: center;
    gap: 20px;
    order: 2;
  }
  .hero__visual {
    order: 1;
    max-width: 220px;
    margin-inline: auto;
  }
  .hero__badge { display: none; }
  .hero__title { font-size: clamp(2.2rem, 8vw, 3rem); }
  .hero__desc { font-size: var(--fs-sm); }

  .hero__cta {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    width: 100%;
  }
  .hero__cta .btn {
    flex: 1;
    min-width: 140px;
    justify-content: center;
    padding-left: 16px;
    padding-right: 16px;
  }

  .hero__stats { display: none; }

  .hero__scroll { display: none; }
}

@media (max-width: 480px) {
  .hero {
    padding-top: calc(85px + 40px);
    padding-bottom: 48px;
    padding-left: 16px;
    padding-right: 16px;
  }
  .hero__visual { max-width: 180px; }
  .hero__title { font-size: clamp(1.9rem, 7vw, 2.4rem); }
  .hero__cta .btn {
    font-size: var(--fs-sm);
    padding-left: 14px;
    padding-right: 14px;
  }
}