/* ===== HERO FIX v7 — komarevich.pro ===== */

.hero {
  padding: 0 !important;
  align-items: flex-start !important;
  justify-content: center !important;
  min-height: 100svh;
}

.hero-wrap {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1440px !important;
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  align-items: center;
  padding: 120px 80px 80px !important;
  gap: 80px;
  box-sizing: border-box;
  margin: 0 auto;
}

.hero .hero-bg,
.hero .hero-grid {
  position: absolute !important;
  inset: 0;
  z-index: 0;
  width: 100% !important;
  max-width: none !important;
}

.hero .scroll-indicator {
  position: absolute !important;
  bottom: 32px;
  left: 80px;
  z-index: 3;
}

.hero-left {
  display: flex;
  flex-direction: column;
}

.hero-left h1 {
  font-family: var(--font-display) !important;
  font-size: clamp(52px, 5vw, 96px) !important;
  line-height: 0.9 !important;
  letter-spacing: -0.01em !important;
  margin-bottom: 28px !important;
}

.hero-left .hero-eyebrow { margin-bottom: 20px; }
.hero-left .hero-badges  { margin-bottom: 24px; }
.hero-left .hero-sub     { max-width: 460px; margin-bottom: 32px; }
.hero-left .hero-actions { margin-bottom: 36px; }

.hero-right {
  display: flex !important;
  align-items: center;
  justify-content: center;
}

.hero-visual {
  width: 100%;
  max-width: 520px;
  border: 1px solid var(--border);
  background: var(--black2);
  padding: 40px;
  position: relative;
  overflow: hidden;
}

.hero-visual::before {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 240px; height: 240px;
  background: radial-gradient(circle, rgba(79,142,247,0.1), transparent 70%);
  pointer-events: none;
}

.hv-stat {
  margin-bottom: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--border);
}

.hv-stat-num {
  font-family: var(--font-display);
  font-size: clamp(56px, 5vw, 84px);
  line-height: 1;
  color: var(--accent);
}
.hv-stat-num span { color: var(--white); opacity: 0.35; }

.hv-stat-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gray2);
  margin-top: 6px;
}

.hv-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 20px;
}

.hv-card {
  background: var(--black3);
  border: 1px solid var(--border);
  padding: 16px 18px;
  transition: border-color 0.2s;
}
.hv-card:hover { border-color: rgba(79,142,247,0.3); }
.hv-card--accent {
  border-color: rgba(79,142,247,0.25);
  background: rgba(79,142,247,0.05);
}
.hv-card-val {
  font-family: var(--font-display);
  font-size: 30px;
  color: var(--white);
  line-height: 1;
}
.hv-card--accent .hv-card-val { color: var(--accent); }
.hv-card-key {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gray2);
  margin-top: 4px;
}

.hv-platforms {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gray2);
}
.hv-plat-dot { flex: 1; height: 1px; background: var(--border); }

@media (max-width: 1100px) {
  .hero-wrap {
    grid-template-columns: 1fr !important;
    padding: 110px 40px 60px !important;
    gap: 48px;
    max-width: 100% !important;
  }
  .hero .scroll-indicator { left: 40px; }
  .hero-left h1 { font-size: clamp(44px, 8vw, 80px) !important; }
  .hero-visual { max-width: 100%; }
}

@media (max-width: 640px) {
  .hero-wrap { padding: 96px 20px 56px !important; gap: 36px; }
  .hero .scroll-indicator { left: 20px; }
  .hero-left h1 { font-size: clamp(38px, 11vw, 64px) !important; }
  .hero-visual { padding: 24px; }
}