.hero-section {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 32px;
  align-items: center;
  min-height: calc(100vh - 140px);
  padding-bottom: 22px;
}

.hero-copy {
  min-width: 0;
}

.hero-title {
  max-width: 12ch;
  margin-bottom: 18px;
  line-height: 0.95;
}

.hero-title span {
  display: block;
  margin-top: 10px;
  font-size: clamp(1rem, 1.8vw, 1.4rem);
  line-height: 1.45;
  color: var(--text-soft);
}

.hero-title .hero-typed-line {
  display: block;
  margin-top: 14px;
  max-width: 18ch;
  font-size: clamp(1.1rem, 2vw, 1.6rem);
  font-weight: 700;
  background: linear-gradient(
    90deg,
    #eef8ff,
    #8dd8ff,
    #4ea1ff,
    #d6b36a,
    #eef8ff
  );
  background-size: 220% auto;
  -webkit-background-clip: text;
  color: transparent;
  animation: venxGradientShift 6s linear infinite;
}

.hero-text {
  max-width: 720px;
  margin-bottom: 24px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  margin-bottom: 26px;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.metric-card {
  padding: 18px;
}

.metric-value {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary-strong);
}

.metric-label {
  color: var(--text-dim);
  font-size: 0.92rem;
}

/* =========================
   RIGHT SIDE FIX
========================= */
.hero-visual {
  display: flex;
  justify-content: flex-end; /* IMPORTANT */
  align-items: center;
}

/* =========================
   PANEL FINAL
========================= */
.hero-video-shell {
  position: relative;
  width: 100%;
  max-width: 720px; /* BIGGER */
  aspect-ratio: 16 / 9; /* PERFECT RATIO */
  border-radius: 32px;
  overflow: hidden;

  box-shadow:
    0 30px 90px rgba(0,0,0,0.4),
    0 0 0 1px rgba(120,180,255,0.08),
    0 0 40px rgba(78,161,255,0.15);

  backdrop-filter: blur(6px);
}

/* =========================
   BORDER ANIMATION
========================= */
.hero-video-shell::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1.5px;
  background: conic-gradient(
    from 0deg,
    #4ea1ff,
    #7cc6ff,
    #d6b36a,
    #00d6ff,
    #4ea1ff
  );
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  animation: heroBorderSpin 8s linear infinite;
  z-index: 4;
}

/* =========================
   DOT GLOW
========================= */
.hero-video-shell::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;

  background:
    radial-gradient(circle at 10% 20%, #7cc6ff 2px, transparent 3px),
    radial-gradient(circle at 90% 15%, #d6b36a 2px, transparent 3px),
    radial-gradient(circle at 90% 85%, #00d6ff 2px, transparent 3px),
    radial-gradient(circle at 10% 90%, #4ea1ff 2px, transparent 3px);

  animation: heroDotsFloat 5s ease-in-out infinite alternate;
  z-index: 4;
}

/* =========================
   VIDEO / IMAGE
========================= */
.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: inherit;
  transform: scale(1.02);
}

/* =========================
   FOG
========================= */
.hero-ui-fog {
  position: absolute;
  bottom: 0;
  height: 35%;
  width: 100%;
  background: linear-gradient(
    to top,
    rgba(5,8,22,0.6),
    transparent
  );
}

/* =========================
   ANIMATIONS
========================= */
@keyframes heroBorderSpin {
  to { transform: rotate(360deg); }
}

@keyframes heroDotsFloat {
  0% { transform: translateY(0); }
  100% { transform: translateY(-3px); }
}

@keyframes venxGradientShift {
  0% { background-position: 0%; }
  100% { background-position: 220%; }
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 1100px) {
  .hero-section {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    justify-content: center;
  }

  .hero-video-shell {
    max-width: 100%;
  }
}

@media (max-width: 780px) {
  .hero-video-shell {
    aspect-ratio: 16 / 10;
  }
}
