/* ═══════════════════════════════════════════════════════════════
   VNV — CORPORATE HERO & SUBHERO (FULL MULTI-DEVICE RESPONSIVE)
   Interactive Vector Canvas + Showreel Switcher + Chapter Cards
   Supports: 320px Mobile → 768px Tablet → 1024px Laptop → 4K Desktop
═══════════════════════════════════════════════════════════════ */

#hero {
  position: relative;
  width: 100%;
  min-height: calc(100vh - 10px);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  overflow: hidden;
  padding-top: calc(var(--nav-h) + 64px);
  padding-bottom: 50px;
  background: #ffffff;
  box-sizing: border-box;
}

/* ─── HERO CANVAS LAYER (FULL BACKGROUND COVERAGE) ─── */
.hero-canvas-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
  opacity: 0.85;
  overflow: hidden;
}

.hero-canvas-layer canvas {
  width: 100%;
  height: 100%;
  display: block;
}

/* ─── HERO BACKGROUND IMAGES ─── */
.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0.12;
  filter: grayscale(40%) contrast(1.05);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 1.2s ease;
  z-index: 0;
}

.hero-gradient-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(circle at 75% 30%, rgba(8, 145, 178, 0.09) 0%, transparent 60%),
    radial-gradient(circle at 20% 80%, rgba(2, 132, 199, 0.08) 0%, transparent 55%),
    linear-gradient(to top, #ffffff 0%, rgba(255, 255, 255, 0.9) 45%, rgba(255, 255, 255, 0.5) 100%);
  z-index: 2;
  pointer-events: none;
}

/* ─── HERO CONTENT WRAPPER ─── */
.hero-content-wrapper {
  position: relative;
  z-index: 3;
  max-width: var(--max-w);
  margin: 24px auto 0;
  width: 100%;
  padding: 0 48px;
  display: grid;
  grid-template-columns: 1.32fr 0.68fr;
  align-items: center;
  gap: 48px;
}

.hero-main {
  max-width: 760px;
}

.hero-pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 15px;
  border-radius: var(--radius-full);
  background: rgba(8, 145, 178, 0.08);
  border: 1px solid rgba(8, 145, 178, 0.22);
  color: var(--primary-dk);
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.hero-pill-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 8px rgba(8, 145, 178, 0.6);
  animation: pulseDot 2s infinite ease-in-out;
}

@keyframes pulseDot {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.4;
    transform: scale(0.8);
  }
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(30px, 3.4vw, 48px);
  font-weight: 800;
  line-height: 1.14;
  color: #0f172a;
  letter-spacing: -0.025em;
  margin-bottom: 14px;
}

.glow-word {
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent-blue) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.hero-subtitle {
  font-size: clamp(14px, 1.1vw, 16px);
  color: #475569;
  line-height: 1.65;
  margin-bottom: 24px;
  max-width: 660px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-reel-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 22px;
  border-radius: var(--radius-sm);
  background: #ffffff;
  border: 1px solid #cbd5e1;
  color: #0f172a;
  font-family: var(--font-display);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
  transition: all 0.25s ease;
}

.hero-reel-btn:hover {
  background: #f8fafc;
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(8, 145, 178, 0.15);
}

.hero-reel-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(8, 145, 178, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
}

/* ─── HERO SIDE PANEL (INTERACTIVE CHAPTER CARDS) ─── */
.hero-side-panel {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.hero-chapter-card {
  padding: 13px 18px;
  border-radius: var(--radius-md);
  background: #ffffff;
  border: 1px solid #e2e8f0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.03);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-chapter-card:hover {
  border-color: rgba(8, 145, 178, 0.4);
  transform: translateX(4px);
  box-shadow: 0 6px 18px rgba(8, 145, 178, 0.12);
}

.hero-chapter-card.is-active {
  background: #ffffff;
  border-color: var(--primary);
  border-left-width: 4px;
  box-shadow: 0 6px 20px rgba(8, 145, 178, 0.15);
}

.hcc-num {
  font-family: var(--font-display);
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: var(--primary-dk);
  text-transform: uppercase;
  margin-bottom: 2px;
}

.hcc-title {
  font-family: var(--font-display);
  font-size: 13.5px;
  font-weight: 700;
  color: #0f172a;
}

.hcc-sub {
  font-size: 11px;
  color: #64748b;
  margin-top: 1px;
}

/* ─── SUBHERO (INTERIOR PAGES) ─── */
.subhero {
  position: relative;
  padding: 54px 48px;
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  border-bottom: 1px solid #e2e8f0;
}

.subhero-content {
  max-width: var(--max-w);
  margin: 0 auto;
}

.subhero-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  background: rgba(8, 145, 178, 0.08);
  border: 1px solid rgba(8, 145, 178, 0.22);
  color: var(--primary-dk);
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.subhero-title {
  font-family: var(--font-display);
  font-size: clamp(26px, 3.2vw, 42px);
  font-weight: 800;
  line-height: 1.18;
  color: #0f172a;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.subhero-subtitle {
  font-size: 15px;
  color: #475569;
  line-height: 1.7;
  max-width: 780px;
}

/* ═══════════════════════════════════════════════════════════════
   MULTI-DEVICE RESPONSIVE BREAKPOINTS
═══════════════════════════════════════════════════════════════ */

/* ─── Tablets & Small Laptops (769px to 1024px) ─── */
/* ─── STATS TICKER BAR (HERO MULTI-DEVICE) ─── */
.hero-stats-ticker {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: var(--max-w);
  margin: 36px auto 0;
  padding: 0 48px;
}

.stats-ticker-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-md);
  padding: 18px 24px;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.05);
}

.stat-ticker-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  border-right: 1px solid #f1f5f9;
  padding-right: 14px;
}

.stat-ticker-item:last-child {
  border-right: none;
  padding-right: 0;
}

.sti-num {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 800;
  color: #0f172a;
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.sti-num em {
  font-style: normal;
  color: var(--primary);
  font-size: 13.5px;
  font-weight: 700;
}

.sti-label {
  font-size: 11.5px;
  color: #64748b;
  line-height: 1.4;
  font-weight: 600;
}

/* ═══════════════════════════════════════════════════════════════
   MULTI-DEVICE RESPONSIVE BREAKPOINTS
═══════════════════════════════════════════════════════════════ */

/* ─── Tablets & Small Laptops (769px to 1024px) ─── */
@media (max-width: 1024px) {
  #hero {
    height: auto;
    min-height: calc(100vh - var(--nav-h));
    padding-top: calc(var(--nav-h) + 54px);
    padding-bottom: 48px;
  }

  .hero-content-wrapper {
    grid-template-columns: 1fr;
    padding: 0 32px;
    gap: 32px;
    margin-top: 18px;
  }

  .hero-side-panel {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .hero-stats-ticker {
    padding: 0 32px;
    margin-top: 28px;
  }

  .stats-ticker-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    padding: 16px 20px;
  }

  .stat-ticker-item:nth-child(2) {
    border-right: none;
  }

  .subhero {
    padding: 44px 32px;
  }
}

/* ─── Mobile Devices & Phablets (481px to 768px) ─── */
@media (max-width: 768px) {
  #hero {
    padding-top: calc(var(--nav-h) + 44px);
    padding-bottom: 36px;
  }

  .hero-content-wrapper {
    padding: 0 20px;
    gap: 24px;
    margin-top: 14px;
  }

  .hero-title {
    font-size: clamp(25px, 6vw, 34px);
    line-height: 1.18;
    margin-bottom: 12px;
  }

  .hero-subtitle {
    font-size: 14.5px;
    line-height: 1.6;
    margin-bottom: 20px;
  }

  .hero-side-panel {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .hero-stats-ticker {
    padding: 0 20px;
    margin-top: 20px;
  }

  .stats-ticker-grid {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 14px 16px;
  }

  .stat-ticker-item {
    border-right: none;
    border-bottom: 1px solid #f1f5f9;
    padding-right: 0;
    padding-bottom: 10px;
  }

  .stat-ticker-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
  }

  .subhero {
    padding: 36px 20px;
  }
}

/* ─── Compact Phones (320px to 480px) ─── */
@media (max-width: 480px) {
  #hero {
    padding-top: calc(var(--nav-h) + 36px);
    padding-bottom: 28px;
  }

  .hero-content-wrapper {
    padding: 0 16px;
    gap: 20px;
    margin-top: 12px;
  }

  .hero-pill-badge {
    font-size: 9.5px;
    padding: 4px 10px;
    margin-bottom: 10px;
    letter-spacing: 0.08em;
  }

  .hero-title {
    font-size: 24px;
    line-height: 1.2;
    margin-bottom: 10px;
  }

  .hero-subtitle {
    font-size: 13.5px;
    line-height: 1.55;
    margin-bottom: 16px;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
    gap: 10px;
    align-items: stretch;
  }

  .hero-actions .btn-primary,
  .hero-actions .hero-reel-btn {
    width: 100%;
    justify-content: center;
    padding: 13px 18px;
    font-size: 12px;
    min-height: 46px;
  }

  .hero-side-panel {
    gap: 8px;
  }

  .hero-chapter-card {
    padding: 12px 14px;
    min-height: 48px;
  }

  .hcc-title {
    font-size: 13px;
  }

  .hcc-sub {
    font-size: 10.5px;
  }

  .hero-stats-ticker {
    padding: 0 16px;
    margin-top: 18px;
  }

  .stats-ticker-grid {
    padding: 12px 14px;
  }

  .sti-num {
    font-size: 17px;
  }

  .sti-label {
    font-size: 11px;
  }

  .subhero {
    padding: 28px 16px;
  }

  .subhero-title {
    font-size: 22px;
  }

  .subhero-subtitle {
    font-size: 13.5px;
  }
}