.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding-top: 64px;
  background: var(--color-bg);
}

/* Тихий градиент — не космос, а глубина */
.hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 50% -10%, rgba(0,200,240,0.04) 0%, transparent 70%),
    radial-gradient(ellipse 40% 30% at 80% 80%, rgba(0,150,200,0.02) 0%, transparent 60%);
  z-index: 0;
}

/* Горизонтальные liquidity lines — data feed атмосфера */
.hero__grid {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  opacity: 0.4;
}

.hero__grid-line {
  position: absolute;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(0,200,240,0.06) 20%,
    rgba(0,200,240,0.12) 50%,
    rgba(0,200,240,0.06) 80%,
    transparent 100%
  );
}

/* Вертикальные линии (сетка терминала) */
.hero__grid-col {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(180deg,
    transparent 0%,
    rgba(255,255,255,0.03) 30%,
    rgba(255,255,255,0.03) 70%,
    transparent 100%
  );
}

/* Scan line — движется сверху вниз */
.hero__scanline {
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg,
    transparent,
    rgba(0,200,240,0.15) 30%,
    rgba(0,200,240,0.3) 50%,
    rgba(0,200,240,0.15) 70%,
    transparent
  );
  z-index: 1;
  animation: scanline 8s linear infinite;
  pointer-events: none;
}

@keyframes scanline {
  0%   { top: 0%; opacity: 0; }
  5%   { opacity: 1; }
  95%  { opacity: 1; }
  100% { top: 100%; opacity: 0; }
}

/* ── Boot sequence контент ──────────────────── */
.hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: var(--space-xl) var(--space-md);
  max-width: 860px;
  width: 100%;
}

/* Лого */
.hero__logo-mark {
  width: auto;
  height: 100px;
  object-fit: contain;
  display: block;
  margin: 0 auto var(--space-lg);
  opacity: 0;
  animation: logoReveal 1s ease 0.5s forwards;
  filter: brightness(0.9) saturate(0.9);
}

@keyframes logoReveal {
  0%   { opacity: 0; transform: scale(0.95); }
  100% { opacity: 1; transform: scale(1); }
}

/* Boot sequence строки */
.hero__boot {
  font-family: var(--font-mono);
  font-size: var(--size-xs);
  letter-spacing: 0.12em;
  color: var(--color-accent);
  margin-bottom: var(--space-lg);
  min-height: 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.hero__boot-line {
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.4s ease, transform 0.4s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero__boot-line.visible {
  opacity: 1;
  transform: translateY(0);
}

.hero__boot-line::before {
  content: '›';
  color: var(--color-accent-dim);
  font-size: 0.9em;
}

.hero__boot-line--done {
  color: var(--color-long);
}

.hero__boot-line--done::before {
  content: '✓';
  color: var(--color-long);
}

/* Заголовок */
.hero__title {
  font-family: var(--font-primary);
  font-size: clamp(3rem, 8vw, var(--size-5xl));
  font-weight: 900;
  letter-spacing: 0.22em;
  color: var(--color-chrome);
  line-height: 1;
  margin-bottom: var(--space-sm);
  opacity: 0;
  animation: fadeUp 0.8s ease 2.8s forwards;
}

.hero__tagline {
  font-size: var(--size-base);
  color: var(--color-text-dim);
  letter-spacing: 0.06em;
  margin-bottom: var(--space-lg);
  line-height: 1.8;
  opacity: 0;
  animation: fadeUp 0.8s ease 3.1s forwards;
}

.hero__tagline span {
  color: var(--color-accent);
}

/* Status bar */
.hero__status {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-lg);
  margin-bottom: var(--space-lg);
  padding: var(--space-xs) var(--space-md);
  border: 1px solid var(--color-border-panel);
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.02);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  opacity: 0;
  animation: fadeUp 0.8s ease 3.3s forwards;
}

.hero__status-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: var(--size-xs);
  color: var(--color-text-dim);
  letter-spacing: 0.06em;
}

.hero__status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-long);
  animation: pulse 2s ease-in-out infinite;
}

.hero__status-dot--warn { background: #e6a817; }

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.3; }
}

/* CTA */
.hero__cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 0.8s ease 3.5s forwards;
}

/* Scroll hint */
.hero__scroll {
  position: absolute;
  bottom: var(--space-md);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: var(--color-text-muted);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.15em;
  opacity: 0;
  animation: fadeUp 0.8s ease 4s forwards;
}

.hero__scroll-arrow {
  width: 14px;
  height: 14px;
  border-right: 1px solid var(--color-text-muted);
  border-bottom: 1px solid var(--color-text-muted);
  transform: rotate(45deg);
  animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {
  0%, 100% { transform: rotate(45deg) translateY(0); }
  50%       { transform: rotate(45deg) translateY(4px); }
}

@keyframes fadeUp {
  0%   { opacity: 0; transform: translateY(12px); }
  100% { opacity: 1; transform: translateY(0); }
}
