/* M1. Cinematic Hero */

/* ============================================================
   M1. CINEMATIC HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 80px clamp(24px, 6vw, 80px) 40px;
  overflow-x: hidden;
}

/* Hero background video */
.hero-video {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.hero-video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(var(--hero-video-brightness, 0.3)) saturate(0.5);
}
/* Hero Talks logo */
.hero-logo {
  display: block;
  width: clamp(120px, 15vw, 200px);
  height: auto;
  margin: 0 auto 20px;
  filter: brightness(1.2);
  animation: fadeInDown 0.8s var(--ease-out) both;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1100px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  background: rgba(91, 155, 255, 0.08);
  border: 1px solid rgba(91, 155, 255, 0.15);
  border-radius: 100px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--brn-blue-accent);
  margin-bottom: 20px;
  animation: fadeInDown 0.8s var(--ease-out) 0.2s both;
}
.hero-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brn-blue-accent);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.5); }
}

.hero-headline {
  font-family: 'Noto Serif', Georgia, serif;
  font-size: clamp(2.2rem, 6vw, 4.5rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.05;
  margin-bottom: 16px;
  min-height: 1.05em;
}
.hero-typed {
  display: inline;
}
.typing-cursor {
  display: inline-block;
  width: 3px;
  height: 0.85em;
  background: var(--brn-blue-accent);
  margin-left: 4px;
  vertical-align: text-bottom;
  animation: blink 1s step-end infinite;
  transition: opacity 0.5s;
}
@keyframes blink {
  50% { opacity: 0; }
}

.hero-sub {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--text-secondary);
  font-weight: 400;
  letter-spacing: 0.04em;
  margin-bottom: 28px;
  opacity: 0;
  animation: fadeInUp 0.8s var(--ease-out) 2.8s both;
}
.hero-sub strong {
  color: var(--text-primary);
  font-weight: 600;
}

/* Countdown */
.countdown {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 28px;
  opacity: 0;
  animation: fadeInUp 0.8s var(--ease-out) 3.2s both;
}
.countdown-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.countdown-value {
  font-family: 'Instrument Sans', 'Inter', sans-serif;
  font-size: clamp(1.6rem, 3vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  min-width: 64px;
  text-align: center;
  position: relative;
  padding: 10px 6px;
}
.countdown-value::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 50%;
  transform: translateX(-50%);
  width: 40%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--brn-blue-accent), transparent);
  opacity: 0.3;
}
.countdown-label {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.countdown-sep {
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  color: var(--text-muted);
  font-weight: 300;
  align-self: flex-start;
  padding-top: 0.2em;
  opacity: 0.3;
}

/* Hero CTA */
.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 40px;
  background: var(--brn-navy);
  color: white;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 12px;
  text-decoration: none;
  border: 1px solid rgba(91, 155, 255, 0.2);
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out), background 0.4s, box-shadow 0.4s, border-color 0.4s;
}
.hero-cta.visible {
  opacity: 1;
  transform: translateY(0);
}
.hero-cta.visible:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 40px rgba(91, 155, 255, 0.25);
  background: var(--brn-navy-light);
  border-color: rgba(91, 155, 255, 0.4);
}
.hero-cta svg {
  width: 18px;
  height: 18px;
  transition: transform 0.3s var(--ease-out);
}
.hero-cta:hover svg { transform: translateX(4px); }

}
@keyframes bounce {
  0%, 100% { transform: rotate(45deg) translateY(0); }
  50% { transform: rotate(45deg) translateY(6px); }
}

/* Shared keyframes */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}