/* Inner Page Split Hero — Video Panel */

.ih-hero {
  position: relative;
  overflow: hidden;
  padding: 120px 0 100px;
  background: radial-gradient(ellipse 80% 60% at 10% 40%, rgba(46, 60, 145, 0.45) 0%, transparent 60%), #0d0f1a;
}

.ih-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 64px 64px;
  pointer-events: none;
}

.ih-hero-shell {
  position: relative;
  z-index: 2;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 48px;
}

.ih-hero-grid {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 64px;
  align-items: center;
}

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

.ih-video-col {
  position: relative;
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
}

.ih-video-frame {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(138, 226, 255, 0.2);
  aspect-ratio: 16 / 10;
  background: rgba(13, 15, 26, 0.95);
  box-shadow: 0 0 80px rgba(46, 60, 145, 0.5);
}

.ih-video-frame video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.ih-video-vignette {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 3;
  background: linear-gradient(
    to bottom,
    rgba(13, 15, 26, 0.35) 0%,
    transparent 22%,
    transparent 62%,
    rgba(13, 15, 26, 0.72) 100%
  );
}

.ih-video-topbar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
}

.ih-video-label {
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(138, 226, 255, 0.75);
}

.ih-video-live {
  display: flex;
  align-items: center;
  gap: 8px;
}

.ih-video-live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ef4444;
  box-shadow: 0 0 6px rgba(239, 68, 68, 0.6);
  animation: ih-live-pulse 2s ease-in-out infinite;
}

.ih-video-live-text {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.35);
}

.ih-video-controls {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 4;
  padding: 16px 20px;
  background: linear-gradient(to top, rgba(13, 15, 26, 0.92) 0%, transparent 100%);
}

.ih-video-progress {
  width: 100%;
  height: 3px;
  border-radius: 999px;
  margin-bottom: 14px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.1);
}

.ih-video-progress-bar {
  height: 100%;
  border-radius: 999px;
  background: var(--light-blue, #8ae2ff);
  width: 0%;
  transition: width 0.4s linear;
}

.ih-video-btn-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.ih-video-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  cursor: pointer;
  border: 1px solid rgba(138, 226, 255, 0.3);
  background: rgba(138, 226, 255, 0.15);
  transition: background 0.2s;
}

.ih-video-btn:hover {
  background: rgba(138, 226, 255, 0.25);
}

.ih-video-btn-muted {
  width: 32px;
  height: 32px;
  border-color: rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.06);
}

.ih-video-time {
  font-size: 11px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.3);
}

.ih-video-brand {
  margin-left: auto;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: rgba(138, 226, 255, 0.45);
}

/* Floating stat badges around video */
.ih-stat-float {
  position: absolute;
  background: rgba(13, 15, 26, 0.92);
  border: 1px solid rgba(138, 226, 255, 0.2);
  border-radius: 12px;
  padding: 10px 14px;
  white-space: nowrap;
  font-size: 12px;
  font-weight: 700;
  z-index: 5;
  animation: ih-float-badge 3.5s ease-in-out infinite;
}

.ih-stat-float .num {
  color: var(--light-blue, #8ae2ff);
  font-size: 18px;
  font-weight: 900;
  display: block;
}

.ih-stat-n { top: -12px; left: 50%; transform: translateX(-50%); }
.ih-stat-e { right: -20px; top: 50%; transform: translateY(-50%); animation-delay: 0.5s; }
.ih-stat-s { bottom: -12px; left: 50%; transform: translateX(-50%); animation-delay: 1s; }
.ih-stat-w { left: -20px; top: 50%; transform: translateY(-50%); animation-delay: 1.5s; }

/* Tech ecosystem split */
.te-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  margin-top: 40px;
}

.te-video-wrap {
  position: relative;
  width: 100%;
  max-width: 420px;
  margin: 0 auto;
  aspect-ratio: 1;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(138, 226, 255, 0.15);
  box-shadow: 0 0 60px rgba(46, 60, 145, 0.35);
}

.te-video-wrap video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.te-categories {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.te-category-label {
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--light-blue, #8ae2ff);
  margin-bottom: 10px;
}

.te-logo-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.te-logo-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 700;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.65);
}

.te-logo-chip img {
  width: 20px;
  height: 20px;
  object-fit: contain;
  filter: brightness(0) invert(0.75);
}

.te-logo-marquee-wrap {
  overflow: hidden;
  position: relative;
  margin-top: 32px;
}

.te-logo-marquee-wrap::before,
.te-logo-marquee-wrap::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 80px;
  z-index: 2;
  pointer-events: none;
}

.te-logo-marquee-wrap::before {
  left: 0;
  background: linear-gradient(to right, #080a12, transparent);
}

.te-logo-marquee-wrap::after {
  right: 0;
  background: linear-gradient(to left, #080a12, transparent);
}

.te-logo-marquee-track {
  display: flex;
  gap: 16px;
  width: max-content;
  animation: ih-marquee 35s linear infinite;
}

.te-logo-marquee-item {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 12px 18px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(138, 226, 255, 0.1);
}

.te-logo-marquee-item img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  filter: brightness(0) invert(0.7);
}

.te-logo-marquee-item span {
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.35);
}

@keyframes ih-live-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

@keyframes ih-float-badge {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.ih-stat-e { animation-name: ih-float-badge-e; }
.ih-stat-w { animation-name: ih-float-badge-w; }
.ih-stat-s { animation-name: ih-float-badge-s; }
.ih-stat-n { animation-name: ih-float-badge-n; }

@keyframes ih-float-badge-n {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(-10px); }
}

@keyframes ih-float-badge-s {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(-10px); }
}

@keyframes ih-float-badge-e {
  0%, 100% { transform: translateY(-50%) translateX(0); }
  50% { transform: translateY(-50%) translateY(-10px); }
}

@keyframes ih-float-badge-w {
  0%, 100% { transform: translateY(-50%) translateX(0); }
  50% { transform: translateY(-50%) translateY(-10px); }
}

@keyframes ih-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@media (max-width: 1024px) {
  .ih-hero-shell { padding: 0 32px; }
  .ih-hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .ih-video-col { max-width: 100%; }
  .te-split { grid-template-columns: 1fr; gap: 40px; }
  .ih-stat-e { right: 8px; }
  .ih-stat-w { left: 8px; }
}

@media (max-width: 640px) {
  .ih-hero { padding: 80px 0 60px; }
  .ih-hero-shell { padding: 0 20px; }
  .ih-stat-float { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .ih-video-live-dot,
  .ih-stat-float,
  .te-logo-marquee-track {
    animation: none;
  }

  .ih-video-frame video {
    animation: none;
  }
}
