/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: calc(100vh - 68px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 4rem 2rem 2rem;
  overflow: hidden;
}
.hero-bg-img {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center 30%;
  opacity: 0.35;
  filter: saturate(0.6) hue-rotate(10deg);
}
.hero-bg-overlay {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 70% 70% at 50% 50%, rgba(3,10,2,0.3) 0%, rgba(3,10,2,0.85) 80%),
    linear-gradient(to bottom, rgba(3,10,2,0.6) 0%, transparent 30%, transparent 70%, rgba(3,10,2,0.9) 100%);
}
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(57,255,20,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(57,255,20,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  animation: gridPulse 8s ease-in-out infinite;
}
.hero-signal {
  position: absolute;
  top: 1.2rem; left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-mono);
  font-size: 0.62rem;
  color: var(--green-dim);
  letter-spacing: 0.18em;
  white-space: nowrap;
  overflow: hidden;
  max-width: 90vw;
  text-overflow: ellipsis;
  animation: blink 2.5s step-end infinite;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 860px;
  width: 100%;
}
.hero-logo-img {
  width: min(260px, 50vw);
  height: auto;
  margin: 0 auto 1.5rem;
  display: block;
  filter: drop-shadow(0 0 30px rgba(57,255,20,0.25)) drop-shadow(0 0 60px rgba(255,179,0,0.1));
  animation: fadeInDown 1s ease both;
}
.hero-title {
  font-family: var(--font-hud);
  font-weight: 900;
  font-size: clamp(2rem, 6vw, 4.5rem);
  line-height: 1.05;
  margin-bottom: 0.4rem;
  color: #fff;
  animation: fadeInDown 1s ease 0.2s both;
}
.hero-title .green { color: var(--green); text-shadow: 0 0 30px var(--green), 0 0 60px rgba(57,255,20,0.3); }
.hero-title .amber { color: var(--amber); text-shadow: 0 0 20px var(--amber); }
.hero-subtitle {
  font-family: var(--font-hud);
  font-size: clamp(0.7rem, 1.8vw, 1rem);
  color: var(--text-dim);
  letter-spacing: 0.2em;
  margin-bottom: 2.5rem;
  animation: fadeInDown 1s ease 0.35s both;
}

/* 2-column layout: text | stalker image */
.hero-layout {
  display: grid;
  grid-template-columns: 1fr 220px;
  gap: 2rem;
  align-items: start;
  text-align: left;
  animation: fadeInUp 1s ease 0.5s both;
}
.hero-stalker-img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  object-position: center top;
  border: 1px solid var(--border-bright);
  box-shadow: 0 0 30px rgba(57,255,20,0.15);
  filter: saturate(0.85);
  display: block;
}
.hero-text {
  font-size: 1.05rem;
  line-height: 1.9;
  color: var(--text);
  border-left: 2px solid var(--green-dim);
  padding-left: 1.5rem;
  font-weight: 300;
  margin-bottom: 1.5rem;
}
.hero-connect {
  background: var(--panel);
  border: 1px solid var(--border);
  padding: 1.3rem 1.6rem;
  font-family: var(--font-mono);
  font-size: 0.88rem;
  color: var(--green);
  line-height: 2.1;
  position: relative;
  margin-bottom: 1.5rem;
}
.hero-connect::before {
  content: '◄ СИГНАЛ ОТРИМАНО ►';
  position: absolute;
  top: -0.65rem; left: 1rem;
  background: var(--bg);
  padding: 0 0.5rem;
  font-size: 0.62rem;
  color: var(--amber);
  letter-spacing: 0.2em;
}
.hero-connect .ip    { color: var(--amber); }
.hero-connect .label { color: var(--text-dim); font-size: 0.8rem; }

/* ===== FEATURES GRID ===== */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1px;
  background: var(--border);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-top: 4rem;
}
.feature {
  background: var(--bg2);
  padding: 2rem 1.5rem;
  text-align: center;
  transition: background 0.2s;
}
.feature:hover { background: var(--bg3); }
.feature-icon { font-size: 2rem; margin-bottom: 0.8rem; }
.feature h3 {
  font-family: var(--font-hud);
  font-size: 0.82rem;
  color: var(--green);
  letter-spacing: 0.1em;
  margin-bottom: 0.5rem;
  text-shadow: 0 0 10px rgba(57,255,20,0.3);
}
.feature p { font-size: 0.88rem; color: var(--text-dim); line-height: 1.7; }

/* ===== MOBILE ===== */
@media (max-width: 768px) {
  .hero { padding: 3rem 1rem 2rem; }
  .hero-layout { grid-template-columns: 1fr; }
  .hero-stalker-img { height: 220px; width: 100%; }
  .hero-title { font-size: clamp(1.6rem, 8vw, 3rem); }
  .hero-text { font-size: 0.95rem; }
  .features { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .features { grid-template-columns: 1fr; }
}
