/* ==========================================
   1. CSS Custom Properties (Design Tokens)
   ========================================== */
:root {
  /* Backgrounds */
  --bg-primary:    #04060F;
  --bg-secondary:  #070C1A;
  --bg-card:       #0B1530;
  --bg-elevated:   #0F1D3A;

  /* Neon Accents */
  --neon-cyan:     #0055FF;
  --neon-magenta:  #FF0090;
  --neon-purple:   #FF5500;
  --neon-amber:    #FFB800;

  /* Text */
  --text-primary:  #FFFFFF;
  --text-secondary:#B0C4DE;
  --text-muted:    #5A7A9A;

  /* Borders / Glows */
  --border-glow:   rgba(0, 85, 255, 0.25);
  --border-subtle: rgba(255, 255, 255, 0.08);

  /* Gradients */
  --gradient-hero: linear-gradient(135deg, #04060F 0%, #070C1A 50%, #0A041A 100%);
  --gradient-cta:  linear-gradient(90deg, #0055FF, #FF5500);
  --gradient-card: linear-gradient(145deg, #0B1530, #070C1A);

  /* Fonts */
  --font-sans: 'Space Grotesk', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', 'Courier New', monospace;

  /* Spacing */
  --space-1: 0.5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2rem;
  --space-6: 3rem;
  --space-8: 4rem;
  --space-12: 6rem;
  --space-16: 8rem;

  /* Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-pill: 9999px;

  /* Container */
  --container-max: 1280px;
  --nav-height: 72px;
}

/* ==========================================
   2. CSS Reset & Base Styles
   ========================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-height);
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

img, iframe {
  max-width: 100%;
  display: block;
}

button {
  cursor: pointer;
  font-family: var(--font-sans);
  border: none;
  background: none;
}

/* ==========================================
   3. Typography
   ========================================== */
.gradient-text {
  background: var(--gradient-cta);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  display: block;
}

.section-label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--neon-cyan);
  text-transform: uppercase;
  margin-bottom: var(--space-2);
}

.section-heading {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--text-primary);
  margin-bottom: var(--space-3);
}

.section-subtext {
  font-size: 1.0625rem;
  color: var(--text-secondary);
  max-width: 600px;
  line-height: 1.7;
}

/* ==========================================
   4. Utility / Layout
   ========================================== */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 clamp(1rem, 5vw, 3rem);
}

section {
  padding: var(--space-12) 0;
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-8);
}

.section-header .section-subtext {
  margin: 0 auto;
}

/* ==========================================
   5. Animations & Keyframes
   ========================================== */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 0 20px rgba(0, 85, 255, 0.3); }
  50%       { box-shadow: 0 0 40px rgba(0, 85, 255, 0.7); }
}

@keyframes rotateRing {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

@keyframes rotateRingReverse {
  from { transform: rotate(0deg); }
  to   { transform: rotate(-360deg); }
}

@keyframes gradientShift {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0; }
}

@keyframes scrollArrow {
  0%   { transform: translateY(0); opacity: 1; }
  100% { transform: translateY(8px); opacity: 0; }
}

@keyframes tagFloat {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-6px); }
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.animate-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger children */
.animate-on-scroll:nth-child(2) { transition-delay: 0.1s; }
.animate-on-scroll:nth-child(3) { transition-delay: 0.2s; }
.animate-on-scroll:nth-child(4) { transition-delay: 0.3s; }
.animate-on-scroll:nth-child(5) { transition-delay: 0.4s; }

/* ==========================================
   6. Buttons
   ========================================== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 2.25rem;
  background: var(--gradient-cta);
  color: #fff;
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 700;
  border-radius: var(--radius-pill);
  box-shadow: 0 0 30px rgba(0, 85, 255, 0.3), 0 0 60px rgba(255, 85, 0, 0.15);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  white-space: nowrap;
}

.btn-primary:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 0 50px rgba(0, 85, 255, 0.5), 0 0 90px rgba(255, 85, 0, 0.3);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 2.25rem;
  background: #0055FF;
  color: #fff;
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 700;
  border: none;
  border-radius: var(--radius-pill);
  box-shadow: 0 0 24px rgba(0, 85, 255, 0.35);
  transition: background 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
  white-space: nowrap;
}

.btn-secondary:hover {
  background: #1a6aff;
  box-shadow: 0 0 40px rgba(0, 85, 255, 0.55);
  transform: translateY(-2px);
}

.btn-partner {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 2.25rem;
  background: #FF5500;
  color: #fff;
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 700;
  border: none;
  border-radius: var(--radius-pill);
  box-shadow: 0 0 24px rgba(255, 85, 0, 0.35);
  transition: background 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
  white-space: nowrap;
}

.btn-partner:hover {
  background: #ff6a1a;
  box-shadow: 0 0 40px rgba(255, 85, 0, 0.55);
  transform: translateY(-2px);
}

.btn-outline-cyan {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  background: transparent;
  color: var(--neon-cyan);
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  font-weight: 600;
  border: 1.5px solid var(--neon-cyan);
  border-radius: var(--radius-pill);
  transition: background 0.2s ease, box-shadow 0.2s ease;
}

.btn-outline-cyan:hover {
  background: rgba(0, 85, 255, 0.08);
  box-shadow: 0 0 20px rgba(0, 85, 255, 0.2);
}

.btn-outline-blue {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  background: #0055FF;
  color: #fff;
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  font-weight: 700;
  border: none;
  border-radius: var(--radius-pill);
  box-shadow: 0 0 20px rgba(0, 85, 255, 0.3);
  transition: background 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.btn-outline-blue:hover {
  background: #1a6aff;
  box-shadow: 0 0 32px rgba(0, 85, 255, 0.5);
  transform: translateY(-2px);
}

.btn-cta-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem 3rem;
  background: #0055FF;
  color: #fff;
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  font-weight: 700;
  border: none;
  border-radius: var(--radius-pill);
  box-shadow: 0 0 30px rgba(0, 85, 255, 0.35);
  transition: background 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
  white-space: nowrap;
}

.btn-cta-secondary:hover {
  background: #1a6aff;
  box-shadow: 0 0 50px rgba(0, 85, 255, 0.55);
  transform: translateY(-2px);
}

.cta-buttons {
  display: flex;
  gap: var(--space-3);
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: var(--space-3);
}

/* ==========================================
   7. Navigation
   ========================================== */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: transparent;
  transition: background 0.3s ease, backdrop-filter 0.3s ease, border-color 0.3s ease;
  border-bottom: 1px solid transparent;
}

#navbar.scrolled {
  background: rgba(4, 6, 15, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom-color: var(--border-subtle);
}

.nav-container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 clamp(1rem, 5vw, 3rem);
  height: var(--nav-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
}

.nav-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.nav-logo-img {
  height: 40px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 0 12px rgba(0, 85, 255, 0.4));
  transition: filter 0.2s ease;
}

.nav-logo-img:hover {
  filter: drop-shadow(0 0 20px rgba(0, 85, 255, 0.6));
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

.nav-links a {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color 0.2s ease;
  position: relative;
  padding-bottom: 2px;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 1.5px;
  background: var(--neon-cyan);
  transform: scaleX(0);
  transition: transform 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text-primary);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  transform: scaleX(1);
}

.btn-ticket {
  display: inline-flex;
  align-items: center;
  padding: 0.625rem 1.5rem;
  background: transparent;
  color: var(--neon-cyan);
  font-size: 0.9375rem;
  font-weight: 700;
  border: 1.5px solid var(--neon-cyan);
  border-radius: var(--radius-pill);
  transition: background 0.2s ease, box-shadow 0.2s ease;
  animation: pulseGlow 3s ease infinite;
  white-space: nowrap;
  flex-shrink: 0;
}

.btn-ticket:hover {
  background: rgba(0, 85, 255, 0.12);
  box-shadow: 0 0 24px rgba(0, 85, 255, 0.4);
}

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
  width: 36px;
  height: 36px;
  justify-content: center;
  align-items: center;
}

.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu */
.nav-mobile-menu {
  display: none;
  background: rgba(4, 6, 15, 0.97);
  border-top: 1px solid var(--border-subtle);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.4s ease;
}

.nav-mobile-menu.open {
  max-height: 400px;
}

.nav-mobile-menu ul {
  padding: var(--space-3) clamp(1rem, 5vw, 3rem) var(--space-4);
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
}

.nav-mobile-menu a {
  display: block;
  padding: 0.75rem 0;
  font-size: 1.0625rem;
  font-weight: 500;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border-subtle);
  transition: color 0.2s;
}

.nav-mobile-menu a:hover,
.nav-mobile-menu .btn-ticket {
  color: var(--neon-cyan);
}

.nav-mobile-menu .btn-ticket {
  border: none;
  padding: 0.75rem 0;
  font-size: 1.0625rem;
  font-weight: 700;
  background: none;
  animation: none;
  border-radius: 0;
}

/* ==========================================
   8. Hero Section
   ========================================== */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--gradient-hero);
  padding: 0;
  overflow: hidden;
}

#hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 0.55;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    180deg,
    rgba(4, 6, 15, 0.78) 0%,
    rgba(4, 6, 15, 0.38) 45%,
    rgba(4, 6, 15, 0.68) 100%
  );
}

.hero-container {
  position: relative;
  z-index: 2;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: calc(var(--nav-height) + 3rem) clamp(1rem, 5vw, 3rem) 6rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 100%;
}

.hero-content {
  max-width: 780px;
  width: 100%;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1.125rem;
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-pill);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--neon-cyan);
  background: rgba(0, 85, 255, 0.06);
  margin-bottom: var(--space-3);
  white-space: nowrap;
}

.hero-logo-img {
  max-width: 520px;
  width: 100%;
  height: auto;
  margin: 0 auto var(--space-3);
  filter:
    drop-shadow(0 0 40px rgba(0, 85, 255, 0.4))
    drop-shadow(0 0 80px rgba(255, 85, 0, 0.2));
}

.hero-title {
  font-size: clamp(2.5rem, 7vw, 5.5rem);
  font-weight: 700;
  line-height: 1.05;
  margin-bottom: var(--space-3);
}

.hero-title .gradient-text {
  background-size: 200% 200%;
  animation: gradientShift 4s ease infinite;
}

.hero-theme {
  font-family: var(--font-mono);
  font-size: clamp(1rem, 2.5vw, 1.375rem);
  color: var(--text-secondary);
  margin-bottom: var(--space-3);
  min-height: 1.8em;
}

.cursor-blink {
  animation: blink 1s step-end infinite;
  color: var(--neon-cyan);
  font-weight: 400;
}

.hero-desc {
  font-size: 1.0625rem;
  color: var(--text-secondary);
  margin-bottom: var(--space-4);
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  gap: var(--space-2);
  flex-wrap: wrap;
  margin-bottom: var(--space-6);
  justify-content: center;
}

/* Countdown */
.hero-countdown {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  flex-wrap: wrap;
  justify-content: center;
}

.cd-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.cd-value {
  font-family: var(--font-mono);
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 700;
  color: var(--text-primary);
  background: var(--bg-card);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-md);
  padding: 0.5rem 0.875rem;
  min-width: 64px;
  text-align: center;
  box-shadow: 0 0 20px rgba(0, 85, 255, 0.12);
}

.cd-label {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  text-transform: uppercase;
}

.cd-sep {
  font-family: var(--font-mono);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--neon-cyan);
  margin-bottom: 1.25rem;
  opacity: 0.6;
}

/* Scroll indicator */
.hero-scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.375rem;
  font-family: var(--font-mono);
  font-size: 0.625rem;
  letter-spacing: 0.15em;
  color: var(--text-muted);
  text-transform: uppercase;
}

.scroll-arrow {
  width: 1px;
  height: 32px;
  background: linear-gradient(to bottom, var(--neon-cyan), transparent);
  animation: scrollArrow 1.5s ease-in-out infinite;
}

/* ==========================================
   9. Stats Section
   ========================================== */
#stats {
  background: var(--bg-secondary);
  padding: var(--space-8) 0;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-2);
}

.stat-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: var(--space-4);
  text-align: center;
  border-right: 1px solid var(--border-subtle);
}

.stat-card:last-child {
  border-right: none;
}

.stat-number {
  font-family: var(--font-mono);
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  background: var(--gradient-cta);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  line-height: 1;
}

.stat-plus {
  font-family: var(--font-mono);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  background: var(--gradient-cta);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  margin-left: 2px;
  line-height: 1;
}

.stat-label {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  margin-top: var(--space-1);
  letter-spacing: 0.02em;
}

/* ==========================================
   10. About Section
   ========================================== */
#about {
  background: var(--bg-primary);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: var(--space-8);
  align-items: start;
  margin-bottom: var(--space-8);
}

.about-quote {
  position: relative;
  margin-bottom: var(--space-4);
}

.quote-mark {
  font-size: 8rem;
  line-height: 0.5;
  color: var(--neon-cyan);
  opacity: 0.15;
  font-family: Georgia, serif;
  position: absolute;
  top: 0;
  left: -1rem;
}

.about-quote p {
  font-size: clamp(1.25rem, 2.5vw, 1.625rem);
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.4;
  padding-top: 1.5rem;
}

.about-date-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 1.125rem;
  background: var(--bg-card);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-md);
  font-family: var(--font-mono);
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--neon-cyan);
}

.about-right p {
  color: var(--text-secondary);
  margin-bottom: var(--space-3);
  line-height: 1.75;
  font-size: 1.0625rem;
}

.theme-callout {
  background: linear-gradient(135deg, var(--bg-card), var(--bg-elevated));
  border: 1px solid var(--border-subtle);
  border-left: 4px solid var(--neon-cyan);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  text-align: center;
}

.theme-callout-label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--neon-cyan);
  text-transform: uppercase;
  margin-bottom: var(--space-2);
}

.theme-callout-text {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 700;
  margin-bottom: var(--space-3);
}

.theme-callout-desc {
  font-size: 1.0625rem;
  color: var(--text-secondary);
  max-width: 680px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ==========================================
   11. Program Section (Stages + Speakers)
   ========================================== */
#program {
  background: var(--bg-secondary);
}

/* Program top-level tabs (Stages / Speakers) */
.prog-tabs {
  display: flex;
  gap: var(--space-2);
  margin-bottom: var(--space-6);
  justify-content: center;
  flex-wrap: wrap;
}

.prog-tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: var(--space-3) var(--space-6);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  color: var(--text-muted);
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  min-width: 180px;
  text-align: center;
}

.prog-tab:hover {
  background: var(--bg-elevated);
  color: var(--text-secondary);
  border-color: rgba(0, 85, 255, 0.25);
}

.prog-tab.active {
  background: var(--bg-elevated);
  color: var(--neon-cyan);
  border-color: var(--neon-cyan);
  box-shadow: 0 0 20px rgba(0, 85, 255, 0.15);
}

.prog-tab-label {
  font-size: 1.125rem;
  font-weight: 700;
}

.prog-tab-sub {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  opacity: 0.7;
  letter-spacing: 0.06em;
}

/* Program panels */
.prog-panel {
  display: none;
}

.prog-panel.active {
  display: block;
}

/* Stage day tabs (inner tabs, inside Stages panel) */
.stages-tabs {
  display: flex;
  gap: 0;
  margin-bottom: var(--space-6);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.tab-btn {
  flex: 1;
  min-width: 140px;
  padding: var(--space-3) var(--space-4);
  background: var(--bg-card);
  color: var(--text-muted);
  border-right: 1px solid var(--border-subtle);
  transition: background 0.25s ease, color 0.25s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

.tab-btn:last-child {
  border-right: none;
}

.tab-btn:hover {
  background: var(--bg-elevated);
  color: var(--text-secondary);
}

.tab-btn.active {
  background: var(--bg-elevated);
  color: var(--neon-cyan);
  border-bottom: 2px solid var(--neon-cyan);
}

.tab-day {
  font-size: 1rem;
  font-weight: 700;
}

.tab-date {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  opacity: 0.7;
}

.day-panel {
  display: none;
}

.day-panel.active {
  display: block;
}

.day-theme {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: var(--space-4);
  text-align: center;
}

.stages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--space-3);
}

.stage-card {
  background: var(--gradient-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: var(--space-4);
  position: relative;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
}

.stage-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at top left, rgba(0, 85, 255, 0.04), transparent 70%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.stage-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 85, 255, 0.4);
  box-shadow: 0 8px 32px rgba(0, 85, 255, 0.12);
}

.stage-card:hover::before {
  opacity: 1;
}

.stage-main {
  border-color: rgba(0, 85, 255, 0.3);
  background: linear-gradient(145deg, #0F2545, #070C1A);
}

.stage-badge-main {
  position: absolute;
  top: var(--space-2);
  right: var(--space-2);
  padding: 0.25rem 0.625rem;
  background: rgba(0, 85, 255, 0.12);
  border: 1px solid rgba(0, 85, 255, 0.3);
  border-radius: var(--radius-pill);
  font-family: var(--font-mono);
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--neon-cyan);
}

.stage-icon {
  margin-bottom: var(--space-2);
  line-height: 0;
}

.stage-name {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
}

.stage-subtitle {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--neon-cyan);
  margin-bottom: var(--space-2);
  opacity: 0.8;
}

.stage-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Speakers panel */
.speakers-tba {
  text-align: center;
  font-family: var(--font-mono);
  font-size: 0.875rem;
  color: var(--text-muted);
  letter-spacing: 0.06em;
  margin-bottom: var(--space-6);
}

.speakers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: var(--space-3);
}

.speaker-card {
  background: var(--gradient-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: var(--space-4);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--space-2);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.speaker-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 85, 255, 0.3);
  box-shadow: 0 8px 24px rgba(0, 85, 255, 0.1);
}

.speaker-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(0, 85, 255, 0.2), rgba(255, 85, 0, 0.15));
  border: 1.5px solid rgba(0, 85, 255, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
}

.speaker-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
}

.speaker-domain {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--neon-cyan);
  opacity: 0.8;
}

/* ==========================================
   12. Audience Section
   ========================================== */
#audience {
  background: var(--bg-primary);
}

.audience-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: var(--space-3);
}

.audience-card {
  background: var(--gradient-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: var(--space-4);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  border-left: 3px solid transparent;
}

.audience-card:hover {
  transform: translateY(-4px);
  border-left-color: var(--neon-cyan);
  box-shadow: 0 8px 30px rgba(0, 85, 255, 0.1);
}

.audience-icon {
  margin-bottom: var(--space-3);
  line-height: 0;
}

.audience-card h3 {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: var(--space-2);
}

.audience-card p {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* ==========================================
   13. Ecosystem Section
   ========================================== */
#ecosystem {
  background: var(--bg-secondary);
}

.ecosystem-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: var(--space-12);
  align-items: start;
}

.ecosystem-left p {
  color: var(--text-secondary);
  margin-bottom: var(--space-3);
  line-height: 1.75;
  font-size: 1.0625rem;
}

.ecosystem-left .btn-outline-blue,
.ecosystem-left .btn-outline-cyan {
  margin-top: var(--space-2);
}

.ecosystem-right {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3);
}

.eco-card {
  background: var(--gradient-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: var(--space-3);
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.eco-card:hover {
  border-color: rgba(0, 85, 255, 0.3);
  box-shadow: 0 4px 20px rgba(0, 85, 255, 0.08);
}

.eco-icon {
  line-height: 0;
}

.eco-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
}

.eco-card p {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ==========================================
   14. Venue Section
   ========================================== */
#venue {
  background: var(--bg-primary);
}

.venue-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: var(--space-8);
  align-items: start;
}

.venue-hall {
  font-family: var(--font-mono);
  font-size: 0.9375rem;
  color: var(--neon-cyan);
  margin-bottom: var(--space-4);
  opacity: 0.85;
}

.venue-details {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  margin-bottom: var(--space-4);
}

.venue-details li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  color: var(--text-secondary);
  font-size: 0.9375rem;
  line-height: 1.5;
}

.venue-details li svg {
  flex-shrink: 0;
  margin-top: 2px;
}

.map-wrapper {
  width: 100%;
  height: 380px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.4);
}

.map-wrapper iframe {
  width: 100%;
  height: 100%;
  border: 0;
  filter: invert(90%) hue-rotate(180deg) brightness(0.85) saturate(0.9);
}

/* ==========================================
   15. CTA Section
   ========================================== */
#cta {
  position: relative;
  background: linear-gradient(135deg, #04060F, #080C1E, #0F0420);
  background-size: 200% 200%;
  animation: gradientShift 8s ease infinite;
  overflow: hidden;
  padding: var(--space-16) 0;
}

.cta-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 85, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 85, 255, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at center, black 40%, transparent 100%);
}

.cta-content {
  text-align: center;
  position: relative;
  z-index: 1;
}

.cta-heading {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: var(--space-3);
}

.cta-sub {
  font-size: 1.125rem;
  color: var(--text-secondary);
  margin-bottom: var(--space-4);
  line-height: 1.7;
}

.cta-theme {
  font-family: var(--font-mono);
  font-size: 1.0625rem;
  color: var(--text-muted);
  margin-bottom: var(--space-6);
  letter-spacing: 0.04em;
}

.btn-cta-hero {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem 3.5rem;
  background: var(--gradient-cta);
  color: #fff;
  font-family: var(--font-sans);
  font-size: 1.125rem;
  font-weight: 700;
  border-radius: var(--radius-pill);
  border: none;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 0 40px rgba(0, 85, 255, 0.4), 0 0 80px rgba(255, 85, 0, 0.2);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-cta-hero:hover {
  transform: scale(1.04) translateY(-2px);
  box-shadow: 0 0 60px rgba(0, 85, 255, 0.6), 0 0 120px rgba(255, 85, 0, 0.4);
}

.cta-venue-note {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-top: var(--space-2);
}

/* ==========================================
   16. Footer
   ========================================== */
#footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-subtle);
  padding: var(--space-8) 0 var(--space-4);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: var(--space-8);
  padding-bottom: var(--space-6);
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: var(--space-4);
}

.footer-logo {
  display: flex;
  flex-direction: column;
  margin-bottom: var(--space-3);
}

.footer-logo-img {
  height: 36px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 0 10px rgba(0, 85, 255, 0.3));
}

.footer-tagline {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  margin-bottom: var(--space-2);
}

.footer-copy {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.footer-links h4,
.footer-contact h4 {
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: var(--space-3);
}

.footer-links ul {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--neon-cyan);
}

.footer-email {
  display: block;
  font-size: 0.9375rem;
  color: var(--text-secondary);
  margin-bottom: var(--space-3);
  transition: color 0.2s ease;
}

.footer-email:hover {
  color: var(--neon-cyan);
}

.footer-social {
  display: flex;
  gap: var(--space-2);
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  color: var(--text-muted);
  transition: color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.footer-social a:hover {
  color: var(--neon-cyan);
  border-color: rgba(0, 85, 255, 0.3);
  box-shadow: 0 0 12px rgba(0, 85, 255, 0.2);
}

.footer-bottom {
  text-align: center;
}

.footer-bottom p {
  font-size: 0.8125rem;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}

/* ==========================================
   17. Responsive Breakpoints
   ========================================== */

/* Tablet */
@media (max-width: 1024px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: var(--space-6);
  }

  .ecosystem-grid {
    grid-template-columns: 1fr;
    gap: var(--space-6);
  }

  .ecosystem-right {
    grid-template-columns: repeat(2, 1fr);
  }

  .venue-grid {
    grid-template-columns: 1fr;
    gap: var(--space-6);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-6);
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

/* Large mobile */
@media (max-width: 768px) {
  section {
    padding: var(--space-8) 0;
  }

  .nav-links,
  .btn-ticket {
    display: none;
  }

  .nav-hamburger {
    display: flex;
  }

  .nav-mobile-menu {
    display: block;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stat-card {
    border-right: none;
    border-bottom: 1px solid var(--border-subtle);
  }

  .stat-card:nth-child(odd) {
    border-right: 1px solid var(--border-subtle);
  }

  .stat-card:nth-last-child(-n+2) {
    border-bottom: none;
  }

  .ecosystem-right {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--space-4);
  }

  .cta-heading {
    font-size: clamp(2rem, 8vw, 3rem);
  }

  .btn-cta-hero {
    padding: 1rem 2.5rem;
    font-size: 1rem;
  }

  .btn-cta-secondary {
    padding: 1rem 2rem;
    font-size: 1rem;
  }

  .prog-tabs {
    flex-direction: column;
    align-items: center;
  }

  .prog-tab {
    width: 100%;
    max-width: 360px;
  }

  .speakers-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Small mobile */
@media (max-width: 480px) {
  .hero-countdown {
    gap: var(--space-1);
  }

  .cd-value {
    font-size: 1.25rem;
    min-width: 48px;
    padding: 0.4rem 0.625rem;
  }

  .cd-sep {
    font-size: 1.125rem;
    margin-bottom: 1rem;
  }

  .hero-logo-img {
    max-width: 300px;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .hero-buttons .btn-primary,
  .hero-buttons .btn-secondary,
  .hero-buttons .btn-partner {
    width: 100%;
    max-width: 300px;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .cta-buttons .btn-cta-hero,
  .cta-buttons .btn-cta-secondary {
    width: 100%;
    max-width: 320px;
  }

  .stages-tabs {
    gap: 0;
  }

  .tab-btn {
    min-width: 100px;
    padding: var(--space-2);
  }

  .about-left {
    display: none;
  }

  .about-grid {
    grid-template-columns: 1fr;
  }

  .speakers-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================
   Speaker Swiper Carousel
   ========================================== */

.speaker-swiper {
  width: 100%;
  padding: var(--space-3) var(--space-2) var(--space-8);
  /* extra bottom padding for pagination dots */
}

/* Override Swiper arrow colors */
.speaker-swiper .swiper-button-prev,
.speaker-swiper .swiper-button-next {
  color: var(--neon-cyan);
}

.speaker-swiper .swiper-button-prev::after,
.speaker-swiper .swiper-button-next::after {
  font-size: 1.25rem;
  font-weight: 700;
}

/* Override Swiper pagination dots */
.speaker-swiper .swiper-pagination-bullet {
  background: var(--border-glow);
  opacity: 1;
}

.speaker-swiper .swiper-pagination-bullet-active {
  background: var(--neon-cyan);
}

/* ==========================================
   Speaker Card
   ========================================== */

.speaker-card {
  background: var(--gradient-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: var(--space-5) var(--space-4);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  cursor: pointer;
  transition: border-color var(--transition-base), transform var(--transition-base), box-shadow var(--transition-base);
  height: 100%;
  gap: var(--space-2);
}

.speaker-card:hover {
  border-color: var(--neon-cyan);
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(0, 85, 255, 0.18);
}

/* Photo circle */
.speaker-photo {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(0,85,255,0.15), rgba(255,85,0,0.1));
  border: 2px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-bottom: var(--space-1);
  transition: border-color var(--transition-base);
}

.speaker-card:hover .speaker-photo {
  border-color: var(--neon-cyan);
}

.speaker-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.speaker-photo-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.speaker-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0;
  line-height: 1.3;
}

.speaker-title {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--neon-cyan);
  letter-spacing: 0.06em;
  margin: 0;
  text-transform: uppercase;
}

/* ==========================================
   Speaker Modal
   ========================================== */

.speaker-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(4, 6, 15, 0.88);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-4);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.speaker-modal-overlay.is-open {
  opacity: 1;
  pointer-events: all;
}

.speaker-modal-box {
  background: var(--bg-elevated);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-xl);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.6), 0 0 40px rgba(0, 85, 255, 0.12);
  width: 100%;
  max-width: 680px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  transform: translateY(24px) scale(0.97);
  transition: transform 0.25s ease;
}

.speaker-modal-overlay.is-open .speaker-modal-box {
  transform: translateY(0) scale(1);
}

.speaker-modal-close {
  position: absolute;
  top: var(--space-3);
  right: var(--space-3);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text-secondary);
  transition: border-color var(--transition-base), color var(--transition-base);
  z-index: 10;
}

.speaker-modal-close:hover {
  border-color: var(--neon-cyan);
  color: var(--text-primary);
}

.speaker-modal-content {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: var(--space-5);
  padding: var(--space-6);
}

.speaker-modal-photo-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
}

.speaker-modal-img {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--border-glow);
}

.speaker-modal-photo-placeholder {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(0,85,255,0.15), rgba(255,85,0,0.1));
  border: 2px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
}

.speaker-modal-info {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  padding-top: var(--space-1);
}

.speaker-modal-name {
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0;
  line-height: 1.3;
  padding-right: var(--space-8); /* avoid overlap with close btn */
}

.speaker-modal-title {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--neon-cyan);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0;
}

.speaker-modal-company {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin: 0;
}

.speaker-modal-bio {
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-top: var(--space-2);
  padding-top: var(--space-2);
  border-top: 1px solid var(--border-subtle);
}

/* Responsive: stack modal on mobile */
@media (max-width: 600px) {
  .speaker-modal-content {
    grid-template-columns: 1fr;
    padding: var(--space-5) var(--space-4);
    gap: var(--space-4);
  }

  .speaker-modal-photo-wrap {
    padding-top: var(--space-2);
  }

  .speaker-modal-img,
  .speaker-modal-photo-placeholder {
    width: 120px;
    height: 120px;
  }

  .speaker-modal-name {
    font-size: 1.2rem;
    padding-right: 0;
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  html {
    scroll-behavior: auto;
  }

  .animate-on-scroll {
    opacity: 1;
    transform: none;
  }
}
