/* ==========================================================================
   AKHU IT Department — Ultra-Premium Keynote & WebGL Presentation Styling
   Apple Keynote aesthetic + Sci-Fi Dark UI + Glassmorphism
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&family=Plus+Jakarta+Sans:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500;600&display=swap');

:root {
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Color Palette */
  --bg-dark: #030712;
  --bg-deep: #060b19;
  --bg-surface: rgba(11, 20, 42, 0.65);
  --bg-surface-elevated: rgba(17, 30, 64, 0.75);
  --border-glass: rgba(255, 255, 255, 0.09);
  --border-glow: rgba(0, 240, 255, 0.3);

  /* Neon Accents */
  --cyan: #00f0ff;
  --cyan-glow: rgba(0, 240, 255, 0.4);
  --blue: #3b82f6;
  --blue-glow: rgba(59, 130, 246, 0.4);
  --purple: #a855f7;
  --purple-glow: rgba(168, 85, 247, 0.35);
  --emerald: #10b981;
  --emerald-glow: rgba(16, 185, 129, 0.35);
  --amber: #f59e0b;
  --amber-glow: rgba(245, 158, 11, 0.4);
  --danger: #ef4444;
  --danger-glow: rgba(239, 68, 68, 0.4);

  /* Typography Colors */
  --text-primary: #ffffff;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;

  /* Gradients */
  --grad-title: linear-gradient(135deg, #ffffff 0%, #cbd5e1 50%, #94a3b8 100%);
  --grad-neon-cyan: linear-gradient(135deg, #00f0ff 0%, #3b82f6 100%);
  --grad-neon-purple: linear-gradient(135deg, #c084fc 0%, #6366f1 100%);
  --grad-surface: linear-gradient(145deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.01) 100%);

  /* Animation Timings */
  --ease-cinematic: cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html, body {
  width: 100%;
  height: 100%;
  overflow: hidden;
  background-color: var(--bg-dark);
  color: var(--text-primary);
  font-family: var(--font-body);
  user-select: none;
}

/* --------------------------------------------------------------------------
   Canvas Background & Vignette
   -------------------------------------------------------------------------- */
#bgCanvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 1;
  pointer-events: none;
}

.ambient-glow {
  position: fixed;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  filter: blur(140px);
  opacity: 0.15;
  pointer-events: none;
  z-index: 1;
  transition: all 1.2s ease;
}

.glow-top-left {
  top: -200px;
  left: -200px;
  background: var(--blue);
}

.glow-bottom-right {
  bottom: -200px;
  right: -200px;
  background: var(--cyan);
}

.vignette-overlay {
  position: fixed;
  inset: 0;
  background: radial-gradient(circle at center, transparent 40%, rgba(3, 7, 18, 0.8) 100%);
  pointer-events: none;
  z-index: 2;
}

/* --------------------------------------------------------------------------
   HUD: Top Header & Floating Bottom Bar
   -------------------------------------------------------------------------- */
.hud-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 72px;
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 100;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-glass);
}

.brand-wrapper {
  display: flex;
  align-items: center;
  gap: 16px;
}

.university-logo-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  box-shadow: none;
}

.brand-logo-img {
  width: 36px;
  height: 36px;
  object-fit: contain;
  filter: drop-shadow(0 0 10px rgba(0, 240, 255, 0.6));
}

.hero-logo-img {
  width: 64px;
  height: 64px;
  object-fit: contain;
  filter: drop-shadow(0 0 14px rgba(0, 240, 255, 0.55));
}

.hud-clock-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.04);
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid var(--border-glass);
}

.brand-text-block {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  background: var(--grad-title);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.brand-dept {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--cyan);
}

.header-center-info {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.04);
  padding: 6px 16px;
  border-radius: 999px;
  border: 1px solid var(--border-glass);
}

.live-pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--emerald);
  box-shadow: 0 0 10px var(--emerald);
  animation: pulseDot 2s infinite ease-in-out;
}

@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}

.header-status-text {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-secondary);
}

.live-clock {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--cyan);
}

.hud-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.hud-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 38px;
  padding: 0 14px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-glass);
  color: var(--text-primary);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
}

.hud-btn:hover {
  background: rgba(0, 240, 255, 0.12);
  border-color: var(--border-glow);
  box-shadow: 0 0 16px var(--cyan-glow);
  transform: translateY(-1px);
}

.hud-btn svg {
  width: 16px;
  height: 16px;
}

.btn-lang {
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--cyan);
  border-color: rgba(0, 240, 255, 0.3);
}

/* --------------------------------------------------------------------------
   Progress Bar & Floating Bottom Bar
   -------------------------------------------------------------------------- */
.progress-bar-container {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: rgba(255, 255, 255, 0.06);
  z-index: 100;
}

.progress-bar-fill {
  height: 100%;
  width: 10%;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
  box-shadow: 0 0 12px var(--cyan);
  transition: width 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.hud-bottom-bar {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 8px 18px;
  background: rgba(11, 20, 42, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-glass);
  border-radius: 999px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
  z-index: 100;
}

.slide-counter-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 0.88rem;
  font-weight: 600;
  padding: 0 8px;
}

.slide-number-curr {
  color: var(--cyan);
  font-weight: 700;
}

.slide-number-sep {
  color: var(--text-muted);
}

.slide-number-total {
  color: var(--text-secondary);
}

.nav-dots-group {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  cursor: pointer;
  transition: all 0.3s ease;
}

.nav-dot:hover {
  background: rgba(0, 240, 255, 0.7);
  transform: scale(1.3);
}

.nav-dot.active {
  width: 22px;
  border-radius: 10px;
  background: var(--cyan);
  box-shadow: 0 0 10px var(--cyan);
}

.hud-nav-arrows {
  display: flex;
  align-items: center;
  gap: 6px;
}

.hud-arrow-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-glass);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.hud-arrow-btn:hover {
  background: var(--cyan);
  color: #000;
  box-shadow: 0 0 15px var(--cyan);
}

/* --------------------------------------------------------------------------
   Slides Presentation Stage
   -------------------------------------------------------------------------- */
.presentation-stage {
  position: relative;
  width: 100vw;
  height: 100vh;
  z-index: 10;
  perspective: 1200px;
}

.slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 90px 60px 80px 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transform: scale(0.96) translateY(40px);
  transition: opacity 0.65s var(--ease-cinematic), transform 0.65s var(--ease-cinematic);
  will-change: opacity, transform;
}

.slide.active {
  opacity: 1;
  pointer-events: auto;
  transform: scale(1) translateY(0);
}

.slide.prev {
  transform: scale(0.96) translateY(-40px);
}

.slide.next {
  transform: scale(0.96) translateY(40px);
}

.slide-inner-container {
  width: 100%;
  max-width: 1440px;
  max-height: 840px;
  height: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
}

/* --------------------------------------------------------------------------
   Common Slide Typography & Badges
   -------------------------------------------------------------------------- */
.slide-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(0, 240, 255, 0.08);
  border: 1px solid rgba(0, 240, 255, 0.25);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 16px;
  width: fit-content;
}

.slide-eyebrow.warning-badge {
  background: rgba(245, 158, 11, 0.1);
  border-color: rgba(245, 158, 11, 0.35);
  color: var(--amber);
}

.slide-header-block {
  margin-bottom: 36px;
}

.slide-main-title {
  font-family: var(--font-heading);
  font-size: 2.75rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.5px;
  background: var(--grad-title);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 12px;
}

.slide-main-subtitle {
  font-size: 1.12rem;
  font-weight: 400;
  color: var(--text-secondary);
  max-width: 780px;
  line-height: 1.6;
}

/* Glassmorphism Cards & Panels */
.glass-panel {
  background: var(--bg-surface);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--border-glass);
  border-radius: 20px;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.45);
  transition: border-color 0.35s ease, transform 0.35s ease, box-shadow 0.35s ease;
  position: relative;
  overflow: hidden;
}

.glass-panel::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--grad-surface);
  pointer-events: none;
  border-radius: inherit;
}

.glass-panel:hover {
  border-color: var(--border-glow);
  box-shadow: 0 25px 60px rgba(0, 240, 255, 0.15);
}

/* --------------------------------------------------------------------------
   SLIDE 1: Hero Intro (Apple Keynote Style)
   -------------------------------------------------------------------------- */
.hero-layout {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  justify-content: center;
  height: 100%;
}

.hero-emblem-container {
  margin-bottom: 24px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-emblem-logo-core {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  box-shadow: none;
  animation: floatHeroLogo 4s ease-in-out infinite;
}

@keyframes floatHeroLogo {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-8px) scale(1.03); }
}

.hero-logo-img {
  width: 230px;
  height: 230px;
  object-fit: contain;
  filter: drop-shadow(0 0 35px rgba(0, 240, 255, 0.85)) drop-shadow(0 0 80px rgba(59, 130, 246, 0.5));
}

.hero-badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-glass);
  font-family: var(--font-mono);
  font-size: 0.85rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 24px;
}

.hero-main-heading {
  font-family: var(--font-heading);
  font-size: 4.6rem;
  font-weight: 900;
  letter-spacing: -1.5px;
  line-height: 1.08;
  margin-bottom: 20px;
}

.hero-heading-prefix {
  background: linear-gradient(135deg, #ffffff 30%, #94a3b8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-heading-suffix {
  background: var(--grad-neon-cyan);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-left: 12px;
}

.hero-subtitle-text {
  font-size: 1.45rem;
  font-weight: 500;
  color: #e2e8f0;
  max-width: 820px;
  margin-bottom: 14px;
  line-height: 1.5;
}

.hero-desc-text {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 720px;
  line-height: 1.7;
  margin-bottom: 40px;
}

.hero-action-row {
  display: flex;
  align-items: center;
  gap: 20px;
}

.btn-keynote-primary {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 36px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--cyan) 0%, var(--blue) 100%);
  color: #030712;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(0, 240, 255, 0.4);
  transition: all 0.3s ease;
}

.btn-keynote-primary:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 15px 45px rgba(0, 240, 255, 0.6);
}

.btn-keynote-primary svg {
  width: 20px;
  height: 20px;
  transition: transform 0.2s ease;
}

.btn-keynote-primary:hover svg {
  transform: translateX(4px);
}

.hero-keyboard-hint {
  font-size: 0.8rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
}

.kbd-badge {
  padding: 3px 8px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-glass);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: #fff;
}

/* --------------------------------------------------------------------------
   SLIDE 2: IT Department Overview (Structure: 2x2 Grid)
   -------------------------------------------------------------------------- */
.overview-2x2-grid,
.about-overview-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
}

.overview-card {
  padding: 26px 28px 24px;
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01));
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(20px);
  cursor: pointer;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.4s ease,
              box-shadow 0.4s ease,
              background 0.4s ease;
}

.overview-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.card-glow-purple::before {
  background: linear-gradient(90deg, transparent, #c084fc, transparent);
}
.card-glow-blue::before {
  background: linear-gradient(90deg, transparent, #60a5fa, transparent);
}
.card-glow-cyan::before {
  background: linear-gradient(90deg, transparent, #22d3ee, transparent);
}
.card-glow-emerald::before {
  background: linear-gradient(90deg, transparent, #34d399, transparent);
}

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

.card-glow-purple:hover {
  border-color: rgba(168, 85, 247, 0.5);
  box-shadow: 0 16px 40px rgba(168, 85, 247, 0.2), inset 0 0 20px rgba(168, 85, 247, 0.05);
  transform: translateY(-5px);
}

.card-glow-blue:hover {
  border-color: rgba(59, 130, 246, 0.5);
  box-shadow: 0 16px 40px rgba(59, 130, 246, 0.2), inset 0 0 20px rgba(59, 130, 246, 0.05);
  transform: translateY(-5px);
}

.card-glow-cyan:hover {
  border-color: rgba(0, 240, 255, 0.5);
  box-shadow: 0 16px 40px rgba(0, 240, 255, 0.2), inset 0 0 20px rgba(0, 240, 255, 0.05);
  transform: translateY(-5px);
}

.card-glow-emerald:hover {
  border-color: rgba(16, 185, 129, 0.5);
  box-shadow: 0 16px 40px rgba(16, 185, 129, 0.2), inset 0 0 20px rgba(16, 185, 129, 0.05);
  transform: translateY(-5px);
}

.overview-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.overview-icon-capsule {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
}

.overview-card:hover .overview-icon-capsule {
  transform: scale(1.1) rotate(4deg);
}

.icon-capsule-purple {
  background: rgba(168, 85, 247, 0.15);
  color: #c084fc;
  border: 1px solid rgba(168, 85, 247, 0.35);
  box-shadow: 0 0 20px rgba(168, 85, 247, 0.25);
}

.icon-capsule-blue {
  background: rgba(59, 130, 246, 0.15);
  color: #60a5fa;
  border: 1px solid rgba(59, 130, 246, 0.35);
  box-shadow: 0 0 20px rgba(59, 130, 246, 0.25);
}

.icon-capsule-cyan {
  background: rgba(0, 240, 255, 0.15);
  color: #22d3ee;
  border: 1px solid rgba(0, 240, 255, 0.35);
  box-shadow: 0 0 20px rgba(0, 240, 255, 0.25);
}

.icon-capsule-emerald {
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.35);
  box-shadow: 0 0 20px rgba(16, 185, 129, 0.25);
}

.overview-header-meta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.overview-badge {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 1px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text-secondary);
}

.overview-num {
  font-family: var(--font-mono);
  font-size: 1.05rem;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.35);
}

.overview-title-block {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 14px;
}

.overview-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.01em;
}

.overview-subtitle {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text-muted);
}

.overview-bullet-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.overview-bullet-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.88rem;
  line-height: 1.5;
  color: #cbd5e1;
}

.bullet-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  margin-top: 7px;
  flex-shrink: 0;
}

.bullet-purple {
  background: #c084fc;
  box-shadow: 0 0 8px #c084fc;
}

.bullet-blue {
  background: #60a5fa;
  box-shadow: 0 0 8px #60a5fa;
}

.bullet-cyan {
  background: #22d3ee;
  box-shadow: 0 0 8px #22d3ee;
}

.bullet-emerald {
  background: #34d399;
  box-shadow: 0 0 8px #34d399;
}

/* --------------------------------------------------------------------------
   SLIDE 3: Team
   -------------------------------------------------------------------------- */
.team-cards-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

.team-profile-card {
  padding: 28px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  border-radius: 22px;
  cursor: pointer;
  transition: all 0.35s ease;
}

.team-avatar-shell {
  width: 104px;
  height: 104px;
  border-radius: 50%;
  margin-bottom: 16px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(0, 240, 255, 0.2), rgba(168, 85, 247, 0.25));
  border: 2.5px solid rgba(0, 240, 255, 0.5);
  box-shadow: 0 0 25px rgba(0, 240, 255, 0.25), 0 8px 24px rgba(0, 0, 0, 0.35);
  overflow: hidden;
  flex-shrink: 0;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.team-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
  border-radius: 50%;
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.team-profile-card:hover .team-avatar-shell {
  border-color: var(--cyan);
  box-shadow: 0 0 30px rgba(0, 240, 255, 0.5), 0 12px 30px rgba(0, 0, 0, 0.4);
  transform: translateY(-4px) scale(1.03);
}

.team-profile-card:hover .team-avatar-img {
  transform: scale(1.1);
}

.avatar-initials {
  font-family: var(--font-heading);
  font-size: 1.7rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: 1px;
}

.team-card-badge {
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(0, 240, 255, 0.1);
  border: 1px solid rgba(0, 240, 255, 0.2);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--cyan);
  margin-bottom: 12px;
}

.team-member-name {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
}

.team-member-role {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--blue);
  margin-bottom: 8px;
}

.team-member-spec {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-bottom: 14px;
}

.team-member-bio {
  font-size: 0.78rem;
  line-height: 1.5;
  color: var(--text-secondary);
}

/* --------------------------------------------------------------------------
   SLIDE 4: Systems Built (Architecture Tree: Proxy -> Core -> 10 Nodes)
   -------------------------------------------------------------------------- */
#slide-4 .slide-inner-container {
  justify-content: flex-start;
  padding-top: 15px;
}

#slide-4 .slide-header-block {
  margin-bottom: 22px;
}

.systems-tree-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 1420px;
  margin: 0 auto;
  gap: 0;
}

/* Level 1: Proxy */
.tree-level-proxy {
  display: flex;
  justify-content: center;
  width: 100%;
  z-index: 4;
}

.tree-proxy-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 14px 38px;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.16), rgba(59, 130, 246, 0.12));
  border: 1.5px solid rgba(168, 85, 247, 0.5);
  box-shadow: 0 0 32px rgba(168, 85, 247, 0.3);
  cursor: pointer;
  transition: all 0.35s ease;
}

.tree-proxy-card:hover {
  border-color: #c084fc;
  box-shadow: 0 0 42px rgba(168, 85, 247, 0.55);
  transform: translateY(-3px) scale(1.015);
}

.tree-icon-capsule {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.icon-capsule-shield {
  background: rgba(168, 85, 247, 0.22);
  color: #c084fc;
  border: 1px solid rgba(168, 85, 247, 0.45);
  box-shadow: 0 0 18px rgba(168, 85, 247, 0.35);
}

.tree-proxy-content {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.tree-proxy-top {
  display: flex;
  align-items: center;
  gap: 12px;
}

.tree-badge-proxy {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1px;
  color: #c084fc;
  background: rgba(168, 85, 247, 0.16);
  padding: 2px 9px;
  border-radius: 6px;
  border: 1px solid rgba(168, 85, 247, 0.35);
}

.tree-live-tag {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  color: #34d399;
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(16, 185, 129, 0.14);
  padding: 2px 9px;
  border-radius: 6px;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.tree-proxy-name {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  margin: 0;
}

.tree-proxy-meta {
  font-family: var(--font-mono);
  font-size: 0.84rem;
  color: var(--text-secondary);
  margin: 0;
}

/* Connector 1 */
.tree-connector-stem {
  width: 2px;
  height: 22px;
  background: linear-gradient(180deg, #c084fc, #00f0ff);
  position: relative;
  margin: 0 auto;
  box-shadow: 0 0 8px rgba(0, 240, 255, 0.6);
}

.stem-pulse {
  position: absolute;
  top: 0;
  left: -2px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #00f0ff;
  box-shadow: 0 0 10px #00f0ff;
  animation: streamPulse 1.5s infinite linear;
}

@keyframes streamPulse {
  0% { top: 0; opacity: 0; }
  30% { opacity: 1; }
  100% { top: 100%; opacity: 0; }
}

/* Level 2: Core Root (akhu.uz) */
.tree-level-root {
  display: flex;
  justify-content: center;
  width: 100%;
  z-index: 3;
}

.tree-root-card {
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 16px 42px;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(0, 240, 255, 0.2), rgba(59, 130, 246, 0.16));
  border: 2px solid rgba(0, 240, 255, 0.65);
  box-shadow: 0 0 40px rgba(0, 240, 255, 0.4);
  cursor: pointer;
  transition: all 0.35s ease;
}

.tree-root-card:hover {
  border-color: #38bdf8;
  box-shadow: 0 0 50px rgba(0, 240, 255, 0.6);
  transform: translateY(-3px) scale(1.02);
}

.icon-capsule-core {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(0, 240, 255, 0.22);
  color: #00f0ff;
  border: 1.5px solid rgba(0, 240, 255, 0.55);
  box-shadow: 0 0 22px rgba(0, 240, 255, 0.45);
}

.tree-root-content {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.tree-root-top {
  display: flex;
  align-items: center;
  gap: 12px;
}

.tree-badge-root {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 1px;
  color: #00f0ff;
  background: rgba(0, 240, 255, 0.16);
  padding: 3px 11px;
  border-radius: 6px;
  border: 1px solid rgba(0, 240, 255, 0.45);
}

.tree-status-badge {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 600;
  color: #34d399;
  background: rgba(16, 185, 129, 0.16);
  padding: 3px 11px;
  border-radius: 6px;
  border: 1px solid rgba(16, 185, 129, 0.35);
}

.tree-root-title {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin: 0;
}

.tree-domain-highlight {
  font-family: var(--font-mono);
  font-size: 1.6rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: 0.5px;
  text-shadow: 0 0 16px rgba(0, 240, 255, 0.65);
}

.tree-domain-sep {
  color: rgba(255, 255, 255, 0.4);
  font-size: 1.2rem;
}

.tree-root-label {
  font-family: var(--font-heading);
  font-size: 1.22rem;
  font-weight: 600;
  color: #e2e8f0;
}

/* Branch Rail */
.tree-branch-bus {
  width: 100%;
  max-width: 1360px;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  height: 30px;
}

.bus-v-stem {
  width: 2px;
  height: 15px;
  background: linear-gradient(180deg, #00f0ff, rgba(0, 240, 255, 0.75));
  box-shadow: 0 0 8px rgba(0, 240, 255, 0.65);
}

.bus-h-rail {
  width: 93%;
  height: 2px;
  background: linear-gradient(90deg, transparent 1%, rgba(0, 240, 255, 0.85) 10%, rgba(0, 240, 255, 0.85) 90%, transparent 99%);
  box-shadow: 0 0 14px rgba(0, 240, 255, 0.65);
  position: relative;
}

/* Level 3: 10 Subdomain Nodes (5x2 Grid) */
.tree-nodes-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  width: 100%;
  margin-top: 3px;
}

.tree-node-card {
  padding: 18px 18px 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(18px);
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.tree-node-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, #00f0ff, transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.tree-node-card:hover {
  background: rgba(0, 240, 255, 0.1);
  border-color: rgba(0, 240, 255, 0.65);
  box-shadow: 0 12px 32px rgba(0, 240, 255, 0.28);
  transform: translateY(-4px);
}

.tree-node-card:hover::before {
  opacity: 1;
}

.node-badge-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2px;
}

.node-icon {
  font-size: 1.4rem;
  line-height: 1;
}

.node-tag-pill {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--cyan);
  background: rgba(0, 240, 255, 0.12);
  border: 1px solid rgba(0, 240, 255, 0.3);
  padding: 3px 8px;
  border-radius: 999px;
  letter-spacing: 0.3px;
}

.node-domain {
  font-family: var(--font-mono);
  font-size: 1.04rem;
  font-weight: 700;
  color: #fff;
  margin: 0;
  word-break: break-all;
  transition: color 0.3s ease;
}

.tree-node-card:hover .node-domain {
  color: var(--cyan);
  text-shadow: 0 0 10px rgba(0, 240, 255, 0.5);
}

.node-title {
  font-size: 0.86rem;
  font-weight: 500;
  color: var(--text-secondary);
  margin: 0;
  line-height: 1.35;
}

/* --------------------------------------------------------------------------
   SLIDE 5: Infrastructure (HPE DL380 Gen10 & VMware Pipeline Flow)
   -------------------------------------------------------------------------- */
.server-specs-ribbon {
  display: flex;
  gap: 12px;
  width: 100%;
  max-width: 1280px;
  margin-bottom: 24px;
}

.spec-chip {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.09);
  backdrop-filter: blur(16px);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.spec-chip:hover {
  background: rgba(0, 240, 255, 0.08);
  border-color: rgba(0, 240, 255, 0.4);
  box-shadow: 0 8px 24px rgba(0, 240, 255, 0.15);
  transform: translateY(-2px);
}

.spec-chip-icon {
  font-size: 1.35rem;
  line-height: 1;
  flex-shrink: 0;
}

.spec-chip-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.spec-chip-label {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 700;
  color: var(--cyan);
  letter-spacing: 0.8px;
}

.spec-chip-val {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-weight: 600;
}

/* 5-Stage Network Flow Pipeline */
.infra-flow-pipeline {
  display: flex;
  align-items: center;
  width: 100%;
  max-width: 1280px;
  gap: 10px;
  justify-content: space-between;
}

.flow-stage-card {
  padding: 20px 18px;
  border-radius: 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  position: relative;
  overflow: hidden;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  min-height: 175px;
  justify-content: space-between;
}

.flow-stage-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

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

.stage-internet {
  flex: 0.85;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.12), rgba(0, 240, 255, 0.06));
  border: 1.5px solid rgba(59, 130, 246, 0.35);
}
.stage-internet::before {
  background: linear-gradient(90deg, transparent, #60a5fa, transparent);
}
.stage-internet:hover {
  border-color: #60a5fa;
  box-shadow: 0 10px 30px rgba(59, 130, 246, 0.3);
  transform: translateY(-4px);
}

.stage-publicip {
  flex: 0.95;
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.12), rgba(59, 130, 246, 0.08));
  border: 1.5px solid rgba(168, 85, 247, 0.35);
}
.stage-publicip::before {
  background: linear-gradient(90deg, transparent, #c084fc, transparent);
}
.stage-publicip:hover {
  border-color: #c084fc;
  box-shadow: 0 10px 30px rgba(168, 85, 247, 0.3);
  transform: translateY(-4px);
}

.stage-firewall {
  flex: 0.95;
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.12), rgba(245, 158, 11, 0.08));
  border: 1.5px solid rgba(239, 68, 68, 0.35);
}
.stage-firewall::before {
  background: linear-gradient(90deg, transparent, #f87171, transparent);
}
.stage-firewall:hover {
  border-color: #f87171;
  box-shadow: 0 10px 30px rgba(239, 68, 68, 0.3);
  transform: translateY(-4px);
}

.stage-host {
  flex: 1.15;
  background: linear-gradient(135deg, rgba(0, 240, 255, 0.16), rgba(16, 185, 129, 0.1));
  border: 2px solid rgba(0, 240, 255, 0.55);
  box-shadow: 0 0 25px rgba(0, 240, 255, 0.2);
}
.stage-host::before {
  background: linear-gradient(90deg, transparent, #00f0ff, transparent);
}
.stage-host:hover {
  border-color: #38bdf8;
  box-shadow: 0 12px 35px rgba(0, 240, 255, 0.45);
  transform: translateY(-4px) scale(1.02);
}

.stage-vms {
  flex: 1.65;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.14), rgba(0, 240, 255, 0.08));
  border: 1.5px solid rgba(16, 185, 129, 0.45);
}
.stage-vms::before {
  background: linear-gradient(90deg, transparent, #34d399, transparent);
}
.stage-vms:hover {
  border-color: #34d399;
  box-shadow: 0 12px 35px rgba(16, 185, 129, 0.35);
  transform: translateY(-4px);
}

.stage-icon-capsule {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
}

.stage-internet .stage-icon-capsule { color: #60a5fa; background: rgba(59, 130, 246, 0.15); border-color: rgba(59, 130, 246, 0.4); }
.stage-publicip .stage-icon-capsule { color: #c084fc; background: rgba(168, 85, 247, 0.15); border-color: rgba(168, 85, 247, 0.4); }
.stage-firewall .stage-icon-capsule { color: #f87171; background: rgba(239, 68, 68, 0.15); border-color: rgba(239, 68, 68, 0.4); }
.stage-host .stage-icon-capsule { color: #00f0ff; background: rgba(0, 240, 255, 0.2); border-color: rgba(0, 240, 255, 0.5); box-shadow: 0 0 15px rgba(0, 240, 255, 0.3); }

.stage-header {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.stage-badge {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.8px;
  color: var(--text-muted);
}

.badge-vms {
  color: #34d399;
}

.stage-title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  margin: 0;
}

.stage-desc {
  font-size: 0.78rem;
  color: var(--text-secondary);
  line-height: 1.35;
  margin: 0;
}

/* Connectors & Pulse Particles */
.flow-connector {
  width: 26px;
  height: 2px;
  position: relative;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.flow-line {
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, rgba(0, 240, 255, 0.4), rgba(0, 240, 255, 0.9));
  box-shadow: 0 0 8px rgba(0, 240, 255, 0.6);
}

.flow-pulse-particle {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #00f0ff;
  box-shadow: 0 0 10px #00f0ff;
  position: absolute;
  animation: packetFlow 1.6s infinite linear;
}

@keyframes packetFlow {
  0% { left: 0; opacity: 0; }
  30% { opacity: 1; }
  100% { left: 100%; opacity: 0; }
}

/* VMs Cluster Inside Stage 5 */
.vms-cluster-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 4px;
}

.vms-mini-grid {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.vm-mini-node {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 10px;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: all 0.25s ease;
}

.vm-mini-node:hover {
  background: rgba(0, 240, 255, 0.12);
  border-color: rgba(0, 240, 255, 0.4);
  transform: translateX(3px);
}

.vm-mini-icon {
  font-size: 1.1rem;
  line-height: 1;
}

.vm-mini-info {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.vm-mini-name {
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
}

.vm-mini-desc {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--text-secondary);
  line-height: 1.2;
}

/* --------------------------------------------------------------------------
   SLIDE 6: Network & Stability
   -------------------------------------------------------------------------- */
.network-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 36px;
  align-items: center;
}

.traffic-canvas-card {
  padding: 28px;
  display: flex;
  flex-direction: column;
}

.telemetry-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
}

.telemetry-title-box {
  display: flex;
  align-items: center;
  gap: 10px;
}

.telemetry-title-box svg {
  width: 20px;
  height: 20px;
  color: var(--cyan);
}

.canvas-container {
  width: 100%;
  height: 220px;
  position: relative;
  border-radius: 12px;
  background: rgba(3, 7, 18, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.05);
  overflow: hidden;
}

#networkTrafficCanvas {
  width: 100%;
  height: 100%;
  display: block;
}

.telemetry-metrics-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 18px;
}

.telemetry-stat-card {
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-glass);
  border-radius: 12px;
}

.telemetry-stat-card .val {
  font-family: var(--font-mono);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--cyan);
}

.telemetry-stat-card .lbl {
  font-size: 0.75rem;
  color: var(--text-secondary);
}

.network-cards-stack {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.net-feature-card {
  padding: 22px;
}

.net-feature-card h4 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 6px;
}

.net-feature-card p {
  font-size: 0.86rem;
  line-height: 1.55;
  color: var(--text-secondary);
}

/* --------------------------------------------------------------------------
   SLIDE 7: Cybersecurity & Radar
   -------------------------------------------------------------------------- */
.security-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 40px;
  align-items: center;
}

.radar-shield-card {
  padding: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.radar-canvas-container {
  width: 280px;
  height: 280px;
  position: relative;
  margin: 10px 0 20px 0;
}

#cyberRadarCanvas {
  width: 100%;
  height: 100%;
  display: block;
}

.shield-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  border-radius: 999px;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.35);
  color: var(--emerald);
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 1px;
}

.security-layers-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.sec-layer-item {
  padding: 18px 22px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.sec-icon-pill {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(0, 240, 255, 0.15), rgba(168, 85, 247, 0.15));
  border: 1px solid var(--border-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cyan);
  flex-shrink: 0;
}

.sec-icon-pill svg {
  width: 20px;
  height: 20px;
}

.sec-layer-content h4 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
}

.sec-layer-content p {
  font-size: 0.85rem;
  line-height: 1.55;
  color: var(--text-secondary);
}

/* --------------------------------------------------------------------------
   SLIDE 8: Services Grid
   -------------------------------------------------------------------------- */
.services-grid-layout {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.service-card {
  padding: 32px;
  display: flex;
  gap: 22px;
  align-items: flex-start;
}

.service-card-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(0, 240, 255, 0.15), rgba(59, 130, 246, 0.2));
  border: 1px solid var(--border-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cyan);
  flex-shrink: 0;
}

.service-card-icon svg {
  width: 28px;
  height: 28px;
}

.service-card-body h3 {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}

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

/* --------------------------------------------------------------------------
   SLIDE 9: Rules & Compliance (Warning-Style UI)
   -------------------------------------------------------------------------- */
.rules-notice-banner {
  padding: 12px 20px;
  border-radius: 12px;
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.35);
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--amber);
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 28px;
}

.rules-notice-banner svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.rules-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.rule-alert-card {
  padding: 28px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
  border-radius: 18px;
}

.rule-alert-card.danger {
  border-color: rgba(239, 68, 68, 0.3);
  background: linear-gradient(145deg, rgba(239, 68, 68, 0.08) 0%, rgba(11, 20, 42, 0.75) 100%);
}

.rule-alert-card.danger:hover {
  border-color: var(--danger);
  box-shadow: 0 15px 40px var(--danger-glow);
}

.rule-alert-card.warning {
  border-color: rgba(245, 158, 11, 0.3);
  background: linear-gradient(145deg, rgba(245, 158, 11, 0.08) 0%, rgba(11, 20, 42, 0.75) 100%);
}

.rule-alert-card.warning:hover {
  border-color: var(--amber);
  box-shadow: 0 15px 40px var(--amber-glow);
}

.rule-icon-box {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.rule-alert-card.danger .rule-icon-box {
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.4);
  color: var(--danger);
}

.rule-alert-card.warning .rule-icon-box {
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid rgba(245, 158, 11, 0.4);
  color: var(--amber);
}

.rule-icon-box svg {
  width: 24px;
  height: 24px;
}

.rule-body h4 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}

.rule-body p {
  font-size: 0.88rem;
  line-height: 1.55;
  color: #cbd5e1;
}

/* --------------------------------------------------------------------------
   SLIDE 8: Final Slide & Hero Video Guide & Contact Hub
   -------------------------------------------------------------------------- */
.final-slide-layout {
  display: grid;
  grid-template-columns: 2.15fr 1fr;
  gap: 28px;
  width: 100%;
  max-width: 1360px;
  align-items: stretch;
}

/* Big Hero Video Showcase Card */
.final-video-box {
  padding: 18px 20px;
  border-radius: 20px;
  background: rgba(12, 22, 45, 0.7);
  border: 1px solid rgba(0, 240, 255, 0.35);
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.55), 0 0 40px rgba(0, 240, 255, 0.12);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.final-video-box:hover {
  border-color: rgba(0, 240, 255, 0.65);
  box-shadow: 0 20px 55px rgba(0, 0, 0, 0.65), 0 0 50px rgba(0, 240, 255, 0.22);
}

.video-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.video-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(0, 240, 255, 0.12);
  border: 1px solid rgba(0, 240, 255, 0.35);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--cyan);
  letter-spacing: 0.6px;
}

.video-chip-format {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.05);
  padding: 3px 8px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.video-frame-container {
  position: relative;
  width: 100%;
  height: 530px;
  max-height: 65vh;
  border-radius: 16px;
  overflow: hidden;
  background: #030712;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: inset 0 0 50px rgba(0, 0, 0, 0.85), 0 10px 35px rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
}

.slide-embedded-video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #000;
  border-radius: 14px;
  outline: none;
}

/* Right Content: Tech Support Hub */
.final-right-content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
}

.contact-hub-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.contact-header-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
}

.contact-header-badge svg {
  color: var(--cyan);
}

.work-hours-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 10px;
  background: rgba(52, 211, 153, 0.08);
  border: 1px solid rgba(52, 211, 153, 0.25);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 600;
  color: #34d399;
  letter-spacing: 0.3px;
}

.work-hours-indicator {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 10px #34d399;
  animation: pulseGlow 1.8s infinite;
}

.final-quote-box {
  padding: 12px 18px;
  border-left: 3px solid var(--cyan);
  background: rgba(0, 240, 255, 0.06);
  border-radius: 0 12px 12px 0;
  font-size: 0.9rem;
  font-style: italic;
  color: #cbd5e1;
  line-height: 1.45;
  margin: 0;
}

.social-channels-stack {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.social-channel-card {
  padding: 13px 18px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-glass);
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.social-channel-card:hover {
  background: rgba(0, 240, 255, 0.09);
  border-color: rgba(0, 240, 255, 0.4);
  transform: translateX(4px);
  box-shadow: 0 6px 20px rgba(0, 240, 255, 0.12);
}

.social-icon-circle {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(0, 240, 255, 0.12);
  border: 1px solid rgba(0, 240, 255, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cyan);
  flex-shrink: 0;
  transition: all 0.25s ease;
}

.phone-icon-circle {
  background: rgba(52, 211, 153, 0.12);
  border-color: rgba(52, 211, 153, 0.3);
  color: #34d399;
}

.web-icon-circle {
  background: rgba(192, 132, 252, 0.12);
  border-color: rgba(192, 132, 252, 0.3);
  color: #c084fc;
}

.social-channel-card:hover .social-icon-circle {
  transform: scale(1.08);
}

.social-icon-circle svg {
  width: 19px;
  height: 19px;
}

.social-card-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
  min-width: 0;
}

.social-name {
  font-size: 0.74rem;
  font-weight: 500;
  color: var(--text-muted);
}

.social-handle {
  font-family: var(--font-mono);
  font-size: 0.92rem;
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.social-arrow {
  font-size: 1.1rem;
  color: var(--text-muted);
  transition: transform 0.25s ease, color 0.25s ease;
  margin-right: 4px;
}

.social-channel-card:hover .social-arrow {
  transform: translateX(4px);
  color: var(--cyan);
}

.final-desc-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 18px;
  border-radius: 14px;
  background: rgba(0, 240, 255, 0.07);
  border: 1px solid rgba(0, 240, 255, 0.22);
  box-shadow: 0 4px 20px rgba(0, 240, 255, 0.08);
}

.final-desc-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(0, 240, 255, 0.15);
  border: 1px solid rgba(0, 240, 255, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cyan);
  flex-shrink: 0;
}

.final-desc-text {
  font-size: 0.86rem;
  line-height: 1.48;
  color: #e2e8f0;
  margin: 0;
  font-weight: 500;
}

/* --------------------------------------------------------------------------
   Thumbnail Drawer Modal & Video Modal
   -------------------------------------------------------------------------- */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(3, 7, 18, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  z-index: 200;
  display: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.modal-overlay.active {
  display: flex;
  opacity: 1;
}

/* Thumbnail Index Drawer */
.thumbnail-drawer {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 280px;
  background: rgba(8, 14, 30, 0.95);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  border-top: 1px solid var(--border-glow);
  z-index: 150;
  padding: 24px 40px;
  display: flex;
  flex-direction: column;
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 -20px 50px rgba(0,0,0,0.8);
}

.thumbnail-drawer.active {
  transform: translateY(0);
}

.drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
}

.drawer-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--cyan);
}

.drawer-close-btn {
  background: none;
  border: none;
  color: var(--text-secondary);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 4px;
}

.thumbs-scroll-row {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding-bottom: 12px;
}

.thumbs-scroll-row::-webkit-scrollbar {
  height: 6px;
}

.thumbs-scroll-row::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 999px;
}

.thumb-card {
  min-width: 170px;
  height: 110px;
  border-radius: 12px;
  background: rgba(17, 28, 55, 0.6);
  border: 1px solid var(--border-glass);
  padding: 12px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
  flex-shrink: 0;
  transition: all 0.25s ease;
}

.thumb-card:hover {
  border-color: var(--cyan);
  background: rgba(22, 38, 75, 0.8);
  transform: translateY(-4px);
}

.thumb-card.active {
  border-color: var(--cyan);
  box-shadow: 0 0 20px var(--cyan-glow);
  background: linear-gradient(135deg, rgba(0, 240, 255, 0.15), rgba(59, 130, 246, 0.2));
}

.thumb-num {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--cyan);
  font-weight: 700;
}

.thumb-name {
  font-size: 0.78rem;
  font-weight: 600;
  color: #fff;
  line-height: 1.3;
}

/* Video Player Modal */
.video-modal-dialog {
  margin: auto;
  width: 90%;
  max-width: 960px;
  background: #000;
  border-radius: 20px;
  border: 1px solid var(--border-glow);
  overflow: hidden;
  box-shadow: 0 0 80px rgba(0, 240, 255, 0.3);
  position: relative;
}

.video-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  border: none;
  color: #fff;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.video-container-inner {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
}

.video-container-inner video,
.video-container-inner iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* Blackout Screen (Press B) */
.blackout-screen {
  position: fixed;
  inset: 0;
  background: #000000;
  z-index: 999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.blackout-screen.active {
  opacity: 1;
  pointer-events: auto;
}

/* --------------------------------------------------------------------------
   Responsive Breakpoints
   -------------------------------------------------------------------------- */
@media (max-width: 1280px) {
  .hero-main-heading { font-size: 3.8rem; }
  .slide-main-title { font-size: 2.3rem; }
  .team-cards-grid { grid-template-columns: repeat(3, 1fr); }
  .about-grid-layout, .infra-grid-layout, .network-layout, .security-layout, .final-slide-layout {
    gap: 24px;
  }
}

@media (max-width: 1024px) {
  .slide { padding: 80px 28px 70px 28px; }
  .about-grid-layout, .infra-grid-layout, .network-layout, .security-layout, .final-slide-layout {
    grid-template-columns: 1fr;
  }
  .systems-layout { grid-template-columns: 1fr; height: auto; }
  .team-cards-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid-layout, .rules-cards-grid { grid-template-columns: 1fr; }
  .server-rack-visual { display: none; }
  .radar-canvas-container { width: 200px; height: 200px; }
}

@media (max-width: 768px) {
  .hero-main-heading { font-size: 2.8rem; }
  .slide-main-title { font-size: 1.8rem; }
  .team-cards-grid { grid-template-columns: 1fr; }
  .hud-header { padding: 0 16px; }
  .header-center-info { display: none; }
  .hud-bottom-bar { padding: 6px 12px; gap: 10px; }
}
