.hero-section {
  padding: 34px 0 28px;
  border-bottom: 1px solid rgba(57, 113, 177, 0.18);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.02fr 1fr;
  gap: 28px;
  align-items: center;
}

.hero-title {
  font-size: 58px;
  line-height: 1.03;
  letter-spacing: -1.6px;
  font-weight: 800;
  margin-bottom: 18px;
}
.hero-title span { 
  font-size: 20 ;
  color: var(--blue); 
}

.hero-desc {
  max-width: 540px;
  color: var(--text-soft);
  font-size: 16px;
  line-height: 1.75;
  margin-bottom: 28px;
}

.hero-features {
  display: flex; gap: 28px; flex-wrap: wrap;
  margin-bottom: 30px;
}
.feature-item { display: flex; align-items: center; gap: 10px; }

.feature-icon {
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(28, 161, 255, 0.35);
  display: grid; place-items: center;
  color: var(--blue);
  font-size: 15px;
  box-shadow: inset 0 0 20px rgba(17, 123, 255, 0.08);
}

.feature-text { font-size: 14px; line-height: 1.35; color: #dbecfb; }

.hero-buttons {
  display: flex; align-items: center;
  gap: 18px; flex-wrap: wrap;
}

.btn-primary {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 22px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--blue), var(--blue-dark));
  color: #fff; font-weight: 600;
  box-shadow: 0 0 26px rgba(0, 140, 255, 0.24);
  transition: 0.3s ease;
}
.btn-primary:hover { transform: translateY(-2px); }

.btn-video { color: #dcecff; font-weight: 500; font-size: 15px; }

/* ============================================================
   Hero right column — floating card
   ============================================================ */

.hero-right {
  position: relative;
  perspective: 1200px;
}

/* ============================================================
   Image box — fills the card, no border, clean
   ============================================================ */

.hero-image-box {
  position: relative;
  min-height: 320px;
  height: 320px;
  border-radius: 24px;
  border: 1px solid rgba(22, 162, 255, 0.22);   /* very subtle outline */
  background:
    radial-gradient(circle at center, rgba(14, 111, 255, 0.10), transparent 60%),
    linear-gradient(180deg, rgba(5, 15, 28, 0.96), rgba(3, 10, 19, 0.98));
  overflow: hidden;
  padding: 0;                                    /* edge-to-edge image */
  box-shadow:
    0 20px 50px rgba(0, 0, 0, 0.55),
    0 0 60px rgba(0, 140, 255, 0.16),
    0 0 120px rgba(0, 140, 255, 0.07),
    inset 0 0 80px rgba(0, 102, 255, 0.05);

  /* floating motion */
  animation: heroFloat 6s ease-in-out infinite;
  will-change: transform;
  transition: box-shadow 0.5s ease;
}

/* pause + boost glow on hover */
.hero-image-box:hover {
  animation-play-state: paused;
  box-shadow:
    0 30px 70px rgba(0, 0, 0, 0.6),
    0 0 90px rgba(0, 140, 255, 0.30),
    0 0 180px rgba(0, 140, 255, 0.14),
    inset 0 0 80px rgba(0, 102, 255, 0.08);
}

/* the actual floating keyframes */
@keyframes heroFloat {
  0%   { transform: translateY(0); }
  50%  { transform: translateY(-14px); }
  100% { transform: translateY(0); }
}

/* soft blue glow behind the card */
.hero-image-box::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: 26px;
  background: radial-gradient(
    circle at 50% 50%,
    rgba(22, 162, 255, 0.20),
    transparent 70%
  );
  filter: blur(24px);
  z-index: -1;
  animation: heroGlow 6s ease-in-out infinite;
  pointer-events: none;
}

@keyframes heroGlow {
  0%, 100% { opacity: 0.45; }
  50%      { opacity: 0.85; }
}

/* ============================================================
   Image — fills the box, no distortion
   ============================================================ */

.hero-image-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 45%;
  display: block;
  filter: drop-shadow(0 0 32px rgba(0, 140, 255, 0.22));
  transition: transform 0.6s ease;
}

/* subtle zoom on hover */
.hero-image-box:hover img {
  transform: scale(1.03);
}

/* ============================================================
   Responsive
   ============================================================ */

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

@media (max-width: 820px) {
  .hero-title { font-size: 42px; }

  .hero-image-box {
    min-height: 240px;
    height: 240px;
    animation-duration: 7s;      /* slower on mobile */
  }

  @keyframes heroFloat {
    0%   { transform: translateY(0); }
    50%  { transform: translateY(-8px); }
    100% { transform: translateY(0); }
  }
}

/* respect users who prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
  .hero-image-box,
  .hero-image-box::before {
    animation: none;
  }
}
