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

/* ==========================================================================
   PLUVIA EXECUTIVE PRESENTATION DECK — UNIFIED RESPONSIVE STYLESHEET
   Supports: Laptops, Desktops, iPads/Tablets, Mobile & iPhone screens
   Preserves: Exact 1920x1080 high-resolution layout during Print / PDF Export
   ========================================================================== */

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg-radial: radial-gradient(circle at 10% 20%, rgba(14, 165, 233, 0.08) 0%, transparent 40%),
               radial-gradient(circle at 90% 80%, rgba(59, 130, 246, 0.06) 0%, transparent 40%),
               linear-gradient(135deg, #050b18 0%, #030712 100%);
  --border-cyan: rgba(56, 189, 248, 0.25);
  --border-subtle: rgba(255, 255, 255, 0.08);
}

html {
  scroll-behavior: smooth;
}

body {
  background: #030712;
  color: #e2e8f0;
  font-family: 'Plus Jakarta Sans', 'Prompt', -apple-system, BlinkMacSystemFont, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  margin: 0;
  padding: 0;
}

/* ==========================================================================
   SCREEN DISPLAY STYLES (Fluid & Responsive for Laptops & Mobile)
   ========================================================================== */
@media screen {
  .slide {
    width: 100%;
    max-width: 100%;
    min-height: 100vh;
    min-height: 100dvh;
    height: auto;
    position: relative;
    overflow: visible;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding-top: clamp(28px, 3.2vw, 48px);
    padding-left: clamp(20px, 4vw, 72px);
    padding-right: clamp(20px, 4vw, 72px);
    padding-bottom: clamp(74px, 8.5vh, 100px);
    background: var(--bg-radial);
    border-bottom: 1px solid rgba(56, 189, 248, 0.12);
  }

  .slide::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image: 
      linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
      linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
    z-index: 0;
  }

  .slide-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1680px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    flex: 1;
    justify-content: space-between;
    gap: clamp(20px, 2.5vh, 32px);
  }

  /* Slide Headers */
  .slide-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: clamp(14px, 2vh, 28px);
    border-bottom: 1px solid rgba(56, 189, 248, 0.15);
    padding-bottom: clamp(12px, 1.8vh, 20px);
  }

  .header-left {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
  }

  .category-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'JetBrains Mono', monospace;
    font-size: clamp(11px, 0.85vw, 13px);
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 5px 13px;
    border-radius: 9999px;
    width: fit-content;
    background: rgba(14, 165, 233, 0.12);
    border: 1px solid rgba(14, 165, 233, 0.3);
    color: #38bdf8;
  }

  .category-badge.emerald {
    background: rgba(16, 185, 129, 0.12);
    border-color: rgba(16, 185, 129, 0.3);
    color: #34d399;
  }

  .category-badge.purple {
    background: rgba(168, 85, 247, 0.12);
    border-color: rgba(168, 85, 247, 0.3);
    color: #c084fc;
  }

  .category-badge.amber {
    background: rgba(245, 158, 11, 0.12);
    border-color: rgba(245, 158, 11, 0.3);
    color: #fbbf24;
  }

  .category-badge.red {
    background: rgba(239, 68, 68, 0.12);
    border-color: rgba(239, 68, 68, 0.3);
    color: #f87171;
  }

  .slide-title {
    font-size: clamp(22px, 2.6vw, 38px);
    font-weight: 800;
    letter-spacing: -0.5px;
    color: #f8fafc;
    line-height: 1.2;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
  }

  .slide-subtitle {
    font-size: clamp(13px, 1.05vw, 16px);
    color: #94a3b8;
    font-weight: 400;
    max-width: 950px;
    line-height: 1.55;
  }

  .header-branding {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-shrink: 0;
  }

  .brand-pill {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(15, 23, 42, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 6px 14px;
    border-radius: 10px;
    font-family: 'JetBrains Mono', monospace;
    font-size: clamp(11px, 0.8vw, 13px);
    color: #cbd5e1;
    white-space: nowrap;
  }

  .live-dot {
    width: 8px;
    height: 8px;
    background: #10b981;
    border-radius: 50%;
    box-shadow: 0 0 10px #10b981;
  }

  /* Slide Footers */
  .slide-footer {
    display: flex;
    justify-content: flex-start;
    gap: clamp(16px, 2vw, 32px);
    align-items: center;
    max-width: calc(100% - 480px);
    flex-wrap: wrap;
    padding-top: clamp(14px, 1.8vh, 20px);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    font-family: 'JetBrains Mono', monospace;
    font-size: clamp(10.5px, 0.8vw, 13px);
    color: #64748b;
  }

  .slide-footer > div:last-child {
    display: none;
  }

  .footer-security {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #38bdf8;
  }

  /* Presentation Footer Support Branding (Mudapedia & DBI) */
  .footer-support-brand {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-family: 'JetBrains Mono', monospace;
    font-size: clamp(10.5px, 0.75vw, 12px);
    color: #94a3b8;
    white-space: nowrap;
    background: rgba(15, 23, 42, 0.65);
    border: 1px solid rgba(56, 189, 248, 0.22);
    padding: 3px 10px;
    border-radius: 9999px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
  }

  .footer-support-item {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
  }

  .footer-support-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: #38bdf8;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.2s ease;
    white-space: nowrap;
  }

  .footer-support-link:hover {
    color: #00f0ff;
    text-shadow: 0 0 8px rgba(0, 240, 255, 0.7);
  }

  .footer-support-logo.mudapedia {
    height: 12px;
    width: auto;
    object-fit: contain;
    vertical-align: middle;
  }

  .footer-support-logo.dbi {
    height: 16px;
    width: auto;
    object-fit: contain;
    vertical-align: middle;
  }

  .footer-support-sep {
    color: rgba(255, 255, 255, 0.25);
    margin: 0 2px;
  }

  /* Grids */
  .grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(20px, 2.5vw, 36px);
    flex: 1;
    align-items: center;
  }

  .grid-2-asym {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: clamp(20px, 2.5vw, 36px);
    flex: 1;
    align-items: center;
  }

  .grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(16px, 2vw, 28px);
    flex: 1;
  }

  .grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: clamp(14px, 1.6vw, 22px);
    flex: 1;
  }

  /* Glass Panels */
  .glass-card {
    background: rgba(11, 20, 38, 0.75);
    border: 1px solid var(--border-cyan);
    border-radius: 18px;
    padding: clamp(20px, 2.2vw, 32px);
    backdrop-filter: blur(16px);
    box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.7),
                inset 0 1px 0 rgba(255, 255, 255, 0.08);
    display: flex;
    flex-direction: column;
    position: relative;
  }

  .glass-card.highlight {
    border-color: rgba(56, 189, 248, 0.45);
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.12) 0%, rgba(11, 20, 38, 0.85) 100%);
  }

  .glass-card.glow-emerald {
    border-color: rgba(16, 185, 129, 0.4);
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1) 0%, rgba(11, 20, 38, 0.85) 100%);
  }

  /* Screenshot Frame */
  .screenshot-frame {
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid rgba(56, 189, 248, 0.35);
    box-shadow: 0 20px 45px -10px rgba(0, 0, 0, 0.85),
                0 0 25px rgba(14, 165, 233, 0.15);
    background: #090d16;
    position: relative;
    width: 100%;
  }

  .screenshot-frame .browser-bar {
    height: 32px;
    background: #0f172a;
    display: flex;
    align-items: center;
    padding: 0 14px;
    gap: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .browser-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
  }
  .dot-red { background: #ef4444; }
  .dot-yellow { background: #f59e0b; }
  .dot-green { background: #10b981; }

  .browser-url {
    margin-left: 10px;
    background: #060a12;
    padding: 3px 12px;
    border-radius: 6px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    color: #94a3b8;
    border: 1px solid rgba(255, 255, 255, 0.05);
    flex: 1;
    max-width: 380px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .screenshot-img {
    width: 100%;
    height: auto;
    max-height: 480px;
    display: block;
    object-fit: cover;
  }

  /* Features */
  .feature-item {
    display: flex;
    gap: clamp(12px, 1.2vw, 16px);
    margin-bottom: clamp(14px, 1.8vh, 18px);
  }

  .feature-icon-box {
    width: clamp(38px, 3vw, 44px);
    height: clamp(38px, 3vw, 44px);
    border-radius: 12px;
    background: rgba(14, 165, 233, 0.15);
    border: 1px solid rgba(14, 165, 233, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #38bdf8;
    font-size: clamp(17px, 1.4vw, 20px);
    flex-shrink: 0;
  }

  .feature-icon-box.emerald {
    background: rgba(16, 185, 129, 0.15);
    border-color: rgba(16, 185, 129, 0.3);
    color: #34d399;
  }
  .feature-icon-box.purple {
    background: rgba(168, 85, 247, 0.15);
    border-color: rgba(168, 85, 247, 0.3);
    color: #c084fc;
  }
  .feature-icon-box.amber {
    background: rgba(245, 158, 11, 0.15);
    border-color: rgba(245, 158, 11, 0.3);
    color: #fbbf24;
  }

  .feature-title {
    font-size: clamp(15px, 1.15vw, 18px);
    font-weight: 700;
    color: #f1f5f9;
    margin-bottom: 3px;
  }

  .feature-desc {
    font-size: clamp(12.5px, 0.95vw, 14px);
    color: #94a3b8;
    line-height: 1.5;
  }

  /* KPIs */
  .kpi-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(10px, 1.4vw, 18px);
    margin-top: clamp(16px, 2vh, 22px);
  }

  .kpi-card {
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: clamp(12px, 1.4vh, 16px);
    text-align: center;
  }

  .kpi-number {
    font-size: clamp(22px, 2.2vw, 32px);
    font-weight: 800;
    font-family: 'JetBrains Mono', monospace;
    color: #38bdf8;
    margin-bottom: 3px;
  }
  .kpi-number.emerald { color: #34d399; }
  .kpi-number.amber { color: #fbbf24; }

  .kpi-label {
    font-size: clamp(10px, 0.8vw, 12px);
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.8px;
  }

  /* Cover Slide */
  .cover-slide {
    background: linear-gradient(to right, rgba(3, 7, 18, 0.96) 0%, rgba(3, 7, 18, 0.88) 55%, rgba(3, 7, 18, 0.35) 100%),
                url('./deck-assets/ai_hero_aircraft.jpg') right center / cover no-repeat;
  }

  .cover-left {
    max-width: 920px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex: 1;
    min-height: 65vh;
  }

  .cover-logo-badge {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: clamp(16px, 2.5vh, 28px);
  }

  .cover-logo-img {
    width: clamp(48px, 4vw, 64px);
    height: clamp(48px, 4vw, 64px);
    object-fit: contain;
    filter: drop-shadow(0 0 20px rgba(56, 189, 248, 0.6));
  }

  .cover-brand-name {
    font-size: clamp(22px, 2.2vw, 28px);
    font-weight: 900;
    letter-spacing: 4px;
    color: #f8fafc;
  }

  .cover-hero-title {
    font-size: clamp(28px, 3.8vw, 58px);
    font-weight: 900;
    line-height: 1.15;
    letter-spacing: -1px;
    color: #ffffff;
    margin-bottom: clamp(16px, 2vh, 24px);
    text-shadow: 0 4px 20px rgba(0,0,0,0.8);
  }

  .cover-hero-title span {
    background: linear-gradient(135deg, #38bdf8 0%, #3b82f6 50%, #60a5fa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
  }

  .cover-desc {
    font-size: clamp(14px, 1.25vw, 19px);
    color: #cbd5e1;
    line-height: 1.6;
    margin-bottom: clamp(20px, 3vh, 36px);
    font-weight: 400;
    max-width: 780px;
  }

  .cover-pills {
    display: flex;
    flex-wrap: wrap;
    gap: clamp(8px, 1vw, 12px);
    margin-bottom: clamp(20px, 3vh, 36px);
  }

  .cover-pill-item {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(15, 23, 42, 0.85);
    border: 1px solid rgba(56, 189, 248, 0.3);
    padding: clamp(6px, 0.8vh, 10px) clamp(12px, 1.2vw, 18px);
    border-radius: 9999px;
    font-family: 'JetBrains Mono', monospace;
    font-size: clamp(11px, 0.85vw, 13px);
    font-weight: 600;
    color: #e2e8f0;
    box-shadow: 0 4px 15px rgba(0,0,0,0.4);
  }

  /* Role Matrix Table */
  .table-responsive {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin-bottom: 14px;
    border-radius: 14px;
    border: 1px solid rgba(56, 189, 248, 0.2);
  }

  .role-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 8px;
    min-width: 760px;
  }

  .role-table th {
    padding: 10px 14px;
    text-align: left;
    font-family: 'JetBrains Mono', monospace;
    font-size: 11.5px;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .role-table td {
    padding: 12px 14px;
    background: rgba(15, 23, 42, 0.6);
    font-size: 13px;
    color: #cbd5e1;
  }

  .role-table tr td:first-child {
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
    border-left: 3px solid #38bdf8;
  }

  .role-table tr td:last-child {
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
  }

  .role-pill {
    display: inline-block;
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 5px;
    letter-spacing: 0.5px;
  }

  /* Tags */
  .tag-blue { background: rgba(59, 130, 246, 0.2); color: #60a5fa; }
  .tag-emerald { background: rgba(16, 185, 129, 0.2); color: #34d399; }
  .tag-purple { background: rgba(168, 85, 247, 0.2); color: #c084fc; }
  .tag-amber { background: rgba(245, 158, 11, 0.2); color: #fbbf24; }
  .tag-red { background: rgba(239, 68, 68, 0.2); color: #f87171; }
  .tag-slate { background: rgba(148, 163, 184, 0.2); color: #cbd5e1; }

  /* Timeline step box */
  .step-box {
    display: flex;
    flex-direction: column;
    background: rgba(15, 23, 42, 0.7);
    border: 1px solid rgba(56, 189, 248, 0.2);
    border-radius: 16px;
    padding: clamp(16px, 1.8vw, 24px);
    position: relative;
  }

  .step-number {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'JetBrains Mono', monospace;
    font-weight: 800;
    font-size: 14px;
    margin-bottom: 12px;
    box-shadow: 0 0 12px rgba(2, 132, 199, 0.5);
  }
}

/* ==========================================================================
   INTERACTIVE FLOATING HUD
   ========================================================================== */
.pres-nav-hud {
  position: fixed;
  bottom: 20px;
  right: 28px;
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(11, 20, 38, 0.92);
  border: 1px solid rgba(56, 189, 248, 0.4);
  padding: 8px 16px;
  border-radius: 9999px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8), 0 0 20px rgba(14, 165, 233, 0.25);
  transform: translateY(0) scale(1);
  opacity: 1;
  filter: blur(0px);
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1),
              opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              filter 0.35s ease,
              box-shadow 0.25s ease;
  will-change: transform, opacity, filter;
}

/* Animasi Motion saat scroll ke bawah: Preview Toolbar menghilang */
.pres-nav-hud.hud--hidden {
  transform: translateY(85px) scale(0.92);
  opacity: 0;
  pointer-events: none;
  filter: blur(4px);
  transition: transform 0.38s cubic-bezier(0.4, 0, 0.2, 1),
              opacity 0.3s ease,
              filter 0.3s ease;
}

/* ==========================================================================
   TOP READING PROGRESS BAR (MUNCUL DI ATAS KETIKA DI-SCROLL KE BAWAH)
   ========================================================================== */
.pres-top-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 4px;
  background: rgba(8, 14, 28, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(56, 189, 248, 0.2);
  z-index: 10000;
  overflow: hidden;
  opacity: 0;
  transform: translateY(-100%);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              opacity 0.32s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
}

.pres-top-progress.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.pres-top-progress-fill {
  height: 100%;
  width: 7.14%;
  background: linear-gradient(90deg, #00f0ff 0%, #3b82f6 50%, #ec4899 100%);
  box-shadow: 0 0 14px rgba(0, 240, 255, 0.95), 0 0 22px rgba(236, 72, 153, 0.65);
  transition: width 0.15s ease-out;
  position: relative;
}

.pres-top-progress-fill::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 8px;
  height: 100%;
  background: #ffffff;
  box-shadow: 0 0 12px #00f0ff, 0 0 18px #ec4899;
  border-radius: 9999px;
}

.hud-btn {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #f1f5f9;
  font-size: 18px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
}

.hud-btn:hover {
  background: #0284c7;
  border-color: #38bdf8;
  box-shadow: 0 0 10px #38bdf8;
}

.hud-counter {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  font-weight: 700;
  color: #38bdf8;
  letter-spacing: 1px;
  padding: 0 6px;
  white-space: nowrap;
}

.hud-divider {
  width: 1px;
  height: 18px;
  background: rgba(255, 255, 255, 0.15);
  margin: 0 2px;
}

.hud-btn-action {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 12px;
  font-weight: 700;
  color: #cbd5e1;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 6px 12px;
  border-radius: 9999px;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.hud-btn-action:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
}

.hud-btn-action.download {
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
  border-color: #38bdf8;
  color: #ffffff;
}

.hud-btn-action.download:hover {
  box-shadow: 0 0 15px rgba(56, 189, 248, 0.5);
}

/* ==========================================================================
   TACTICAL IN-WEB DOWNLOAD PROGRESS MODAL & OVERLAY
   ========================================================================== */
.pluvia-download-overlay {
  position: fixed;
  inset: 0;
  background: rgba(3, 7, 18, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              visibility 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.pluvia-download-overlay.is-active {
  opacity: 1;
  visibility: visible;
}

.pluvia-download-card {
  width: 100%;
  max-width: min(520px, 94vw);
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.96) 0%, rgba(10, 16, 30, 0.98) 100%);
  border: 1px solid rgba(56, 189, 248, 0.4);
  border-radius: 20px;
  padding: 24px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.85),
              0 0 30px rgba(14, 165, 233, 0.3),
              inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transform: scale(0.92) translateY(20px);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
  color: #f8fafc;
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
}

.pluvia-download-overlay.is-active .pluvia-download-card {
  transform: scale(1) translateY(0);
}

.pluvia-download-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, #00f0ff, #3b82f6, #ec4899);
}

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

.dl-header-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 700;
  color: #38bdf8;
  letter-spacing: 0.5px;
  background: rgba(14, 165, 233, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.3);
  padding: 4px 10px;
  border-radius: 9999px;
}

.dl-pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #00f0ff;
  box-shadow: 0 0 8px #00f0ff;
  animation: dlPulse 1.2s infinite ease-in-out;
}

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

.dl-btn-close {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #94a3b8;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 16px;
  line-height: 1;
  transition: all 0.2s;
}

.dl-btn-close:hover {
  background: rgba(239, 68, 68, 0.2);
  border-color: #ef4444;
  color: #ef4444;
}

.dl-file-info {
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(11, 20, 38, 0.6);
  border: 1px solid rgba(56, 189, 248, 0.15);
  border-radius: 12px;
  padding: 12px 14px;
  margin-bottom: 20px;
}

.dl-file-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.2), rgba(99, 102, 241, 0.2));
  border: 1px solid rgba(56, 189, 248, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #38bdf8;
  flex-shrink: 0;
}

.dl-file-text {
  flex: 1;
  min-width: 0;
}

.dl-file-name {
  font-size: 13px;
  font-weight: 700;
  color: #f1f5f9;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 2px;
}

.dl-file-desc {
  font-size: 11px;
  font-family: 'JetBrains Mono', monospace;
  color: #64748b;
}

.dl-progress-track {
  width: 100%;
  height: 10px;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(56, 189, 248, 0.2);
  border-radius: 9999px;
  overflow: hidden;
  margin-bottom: 12px;
  position: relative;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.5);
}

.dl-progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #00f0ff 0%, #3b82f6 50%, #ec4899 100%);
  box-shadow: 0 0 14px rgba(0, 240, 255, 0.9), 0 0 20px rgba(236, 72, 153, 0.5);
  border-radius: 9999px;
  transition: width 0.12s ease-out;
  position: relative;
}

.dl-progress-fill::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 8px;
  background: #ffffff;
  box-shadow: 0 0 10px #ffffff, 0 0 16px #00f0ff;
  border-radius: 9999px;
}

.dl-stats-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11.5px;
  font-family: 'JetBrains Mono', monospace;
  margin-bottom: 6px;
}

.dl-stat-percent {
  font-weight: 800;
  font-size: 14px;
  color: #00f0ff;
  text-shadow: 0 0 10px rgba(0, 240, 255, 0.5);
}

.dl-stat-size {
  color: #cbd5e1;
}

.dl-status-msg {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
  color: #94a3b8;
  font-family: 'JetBrains Mono', monospace;
  padding-top: 4px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.dl-success-state {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.4);
  color: #34d399;
  font-weight: 700;
  font-size: 13px;
  padding: 12px;
  border-radius: 12px;
  margin-top: 12px;
  animation: dlSuccessPop 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes dlSuccessPop {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

/* Presentation Deck Preview inside Download Modal */
.dl-deck-preview {
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(11, 20, 38, 0.7);
  border: 1px solid rgba(56, 189, 248, 0.25);
  border-radius: 14px;
  padding: 10px 14px;
  margin-bottom: 16px;
  position: relative;
  overflow: hidden;
}

.dl-preview-media {
  position: relative;
  width: 100px;
  height: 60px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(56, 189, 248, 0.4);
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.45);
}

.dl-preview-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.dl-preview-glare {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.25) 0%, transparent 60%);
  pointer-events: none;
}

.dl-preview-tag {
  position: absolute;
  bottom: 3px;
  left: 3px;
  right: 3px;
  background: rgba(3, 7, 18, 0.88);
  color: #38bdf8;
  font-family: 'JetBrains Mono', monospace;
  font-size: 8px;
  font-weight: 700;
  text-align: center;
  border-radius: 4px;
  padding: 1px 2px;
  letter-spacing: 0.3px;
  border: 1px solid rgba(56, 189, 248, 0.3);
}

.dl-preview-meta {
  flex: 1;
  min-width: 0;
}

.dl-preview-deck-title {
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  font-weight: 800;
  color: #f8fafc;
  letter-spacing: 0.5px;
  margin-bottom: 3px;
}

.dl-preview-deck-sub {
  font-size: 11.5px;
  color: #94a3b8;
  line-height: 1.3;
}

.dl-card-footer {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: center;
}

.dl-support-brand {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 5px;
  font-size: 10px;
  padding: 4px 10px;
  background: rgba(8, 14, 28, 0.7);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
  max-width: 100%;
}

.hud-lang-group {
  display: flex;
  gap: 4px;
  align-items: center;
}

.hud-lang-btn {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 700;
  color: #94a3b8;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 4px 8px;
  border-radius: 6px;
  text-decoration: none;
  transition: all 0.2s;
  white-space: nowrap;
}

.hud-lang-btn:hover, .hud-lang-btn.active {
  background: rgba(14, 165, 233, 0.2);
  border-color: #38bdf8;
  color: #38bdf8;
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS (Tablets, iPads, Laptops)
   ========================================================================== */
@media screen and (max-width: 1200px) {
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .slide {
    padding: 36px 32px 60px 32px;
  }
}

@media screen and (max-width: 992px) {
  .slide {
    padding: 28px 20px 96px 20px;
    height: auto;
    min-height: 100vh;
  }

  .slide-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .header-branding {
    align-self: flex-start;
  }

  .grid-2,
  .grid-2-asym {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .grid-3 {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .grid-4 {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .cover-slide {
    background: linear-gradient(180deg, rgba(3, 7, 18, 0.95) 0%, rgba(3, 7, 18, 0.88) 60%, rgba(3, 7, 18, 0.98) 100%),
                url('./deck-assets/ai_hero_aircraft.jpg') center top / cover no-repeat;
  }

  .slide-footer {
    padding-right: 0;
    max-width: 100%;
  }
}

/* ==========================================================================
   MOBILE & iPHONE BREAKPOINT (< 768px and < 480px)
   ========================================================================== */
@media screen and (max-width: 768px) {
  .slide {
    padding: 20px 14px 105px 14px;
  }

  .slide-title {
    font-size: 21px;
  }

  .slide-subtitle {
    font-size: 13px;
  }

  .cover-left {
    min-height: auto;
    padding-top: 10px;
  }

  .cover-hero-title {
    font-size: 26px;
    line-height: 1.2;
    letter-spacing: -0.5px;
  }

  .cover-desc {
    font-size: 13px;
    margin-bottom: 20px;
  }

  .cover-pills {
    gap: 6px;
    margin-bottom: 20px;
  }

  .cover-pill-item {
    font-size: 10.5px;
    padding: 5px 10px;
  }

  .glass-card {
    padding: 16px 14px;
    border-radius: 14px;
  }

  .feature-item {
    gap: 10px;
    margin-bottom: 12px;
  }

  .feature-icon-box {
    width: 36px;
    height: 36px;
    font-size: 16px;
    border-radius: 10px;
  }

  .feature-title {
    font-size: 14.5px;
  }

  .feature-desc {
    font-size: 12px;
  }

  .kpi-row {
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
    margin-top: 14px;
  }

  .kpi-card {
    padding: 10px 4px;
    border-radius: 10px;
  }

  .kpi-number {
    font-size: 18px;
  }

  .kpi-label {
    font-size: 8.5px;
    letter-spacing: 0.4px;
  }

  .screenshot-frame .browser-bar {
    height: 26px;
    padding: 0 8px;
  }

  .browser-dot {
    width: 7px;
    height: 7px;
  }

  .browser-url {
    max-width: 140px;
    font-size: 9px;
    padding: 2px 6px;
  }

  .screenshot-img {
    max-height: 240px;
  }

  .slide-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    font-size: 9.5px;
    padding-top: 12px;
  }

  /* Compact Floating HUD on Mobile */
  .pres-nav-hud {
    bottom: 10px;
    left: 8px;
    right: 8px;
    padding: 6px 10px;
    gap: 4px;
    justify-content: space-between;
  }

  .hud-btn {
    width: 28px;
    height: 28px;
    font-size: 15px;
  }

  .hud-counter {
    font-size: 10px;
    padding: 0;
  }

  .hud-divider {
    display: none;
  }

  #btn-fullscreen {
    display: none;
  }

  .hud-lang-btn {
    font-size: 10px;
    padding: 3px 6px;
  }

  .hud-btn-action.download {
    font-size: 10.5px;
    padding: 5px 8px;
  }
}

/* ==========================================================================
   PRINT / PDF EXPORT ENGINE RULES
   Crucial: Exactly locks to 1920x1080 16:9 pixel-perfect format for Puppeteer
   ========================================================================== */
@media print {
  @page {
    size: 1920px 1080px;
    margin: 0;
  }

  *, *::before, *::after {
    box-sizing: border-box !important;
  }

  html, body {
    width: 1920px !important;
    height: auto !important;
    background: #030712 !important;
    color: #e2e8f0 !important;
    overflow: visible !important;
    margin: 0 !important;
    padding: 0 !important;
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
  }

  .pres-nav-hud,
  .pres-top-progress,
  .pluvia-download-overlay {
    display: none !important;
  }

  .slide {
    width: 1920px !important;
    height: 1080px !important;
    min-height: 1080px !important;
    max-height: 1080px !important;
    padding: 60px 80px !important;
    page-break-after: always !important;
    page-break-inside: avoid !important;
    break-after: page !important;
    overflow: hidden !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    border-bottom: none !important;
    background: radial-gradient(circle at 10% 20%, rgba(14, 165, 233, 0.08) 0%, transparent 40%),
                radial-gradient(circle at 90% 80%, rgba(59, 130, 246, 0.06) 0%, transparent 40%),
                linear-gradient(135deg, #050b18 0%, #030712 100%) !important;
  }

  .slide-content {
    max-width: none !important;
    height: 100% !important;
    gap: 0 !important;
  }

  .slide-header {
    display: flex !important;
    flex-direction: row !important;
    justify-content: space-between !important;
    align-items: flex-start !important;
    margin-bottom: 36px !important;
    border-bottom: 1px solid rgba(56, 189, 248, 0.15) !important;
    padding-bottom: 24px !important;
  }

  .header-branding {
    display: flex !important;
  }

  .slide-title {
    font-size: 40px !important;
  }

  .slide-subtitle {
    font-size: 17px !important;
    max-width: 900px !important;
  }

  .cover-slide {
    background: linear-gradient(to right, rgba(3, 7, 18, 0.94) 45%, rgba(3, 7, 18, 0.6) 80%, rgba(3, 7, 18, 0.2) 100%),
                url('./deck-assets/ai_hero_aircraft.jpg') center right / cover no-repeat !important;
  }

  .cover-left {
    min-height: auto !important;
    height: 100% !important;
    max-width: 900px !important;
  }

  .cover-hero-title {
    font-size: 64px !important;
    line-height: 1.1 !important;
    margin-bottom: 24px !important;
  }

  .cover-desc {
    font-size: 20px !important;
    max-width: 780px !important;
    margin-bottom: 40px !important;
  }

  .cover-pills {
    margin-bottom: 48px !important;
  }

  .cover-pill-item {
    font-size: 13px !important;
    padding: 10px 20px !important;
  }

  .grid-2 {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 40px !important;
  }

  .grid-2-asym {
    display: grid !important;
    grid-template-columns: 1.15fr 0.85fr !important;
    gap: 40px !important;
  }

  .grid-3 {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 30px !important;
  }

  .grid-4 {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 24px !important;
  }

  .screenshot-img {
    max-height: none !important;
  }

  .kpi-row {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 20px !important;
  }

  .kpi-number {
    font-size: 32px !important;
  }

  .table-responsive {
    border: none !important;
    overflow: visible !important;
  }

  .role-table {
    min-width: auto !important;
    width: 100% !important;
    border-spacing: 0 10px !important;
  }

  .role-table th {
    padding: 12px 18px !important;
    font-size: 12px !important;
  }

  .role-table td {
    padding: 16px 18px !important;
    font-size: 14px !important;
  }

  .slide-footer {
    display: flex !important;
    flex-direction: row !important;
    justify-content: space-between !important;
    align-items: center !important;
    max-width: 100% !important;
    font-size: 13px !important;
    padding-top: 20px !important;
  }

  .slide-footer > div:last-child {
    display: block !important;
  }

  .footer-support-brand {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    font-size: 11px !important;
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
    border: 1px solid rgba(56, 189, 248, 0.4) !important;
    background: rgba(15, 23, 42, 0.85) !important;
    padding: 3px 10px !important;
    border-radius: 9999px !important;
  }

  .footer-support-logo.mudapedia {
    height: 12px !important;
    display: inline-block !important;
    vertical-align: middle !important;
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
  }

  .footer-support-logo.dbi {
    height: 16px !important;
    display: inline-block !important;
    vertical-align: middle !important;
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
  }

  #pluvia-preloader {
    display: none !important;
  }

  .animate-on-scroll {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
    animation: none !important;
  }
}

/* ==========================================================================
   PLUVIA HOLOGRAPHIC RGB PRELOADER (AIRCRAFT & LOGO LASER PERIMETER)
   ========================================================================== */
#pluvia-preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  z-index: 999999;
  background: #030712;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.75s cubic-bezier(0.16, 1, 0.3, 1),
              visibility 0.75s;
}

#pluvia-preloader.fade-out {
  opacity: 0;
  transform: scale(1.04);
  visibility: hidden;
  pointer-events: none;
}

/* Background Cyber Grid */
.preloader-grid-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    linear-gradient(rgba(14, 165, 233, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(14, 165, 233, 0.06) 1px, transparent 1px);
  background-size: 50px 50px;
  background-position: center center;
  pointer-events: none;
  z-index: 1;
}

/* Ambient Radial Glows */
.preloader-ambient-glow {
  position: absolute;
  width: 580px;
  height: 580px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(14, 165, 233, 0.18) 0%, rgba(59, 130, 246, 0.08) 40%, transparent 70%);
  filter: blur(60px);
  pointer-events: none;
  z-index: 1;
  animation: ambientPulse 4s ease-in-out infinite alternate;
}

@keyframes ambientPulse {
  0% { transform: scale(0.9); opacity: 0.6; }
  100% { transform: scale(1.18); opacity: 1; }
}

/* Holographic Corner Crosshairs */
.preloader-crosshair {
  position: absolute;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: rgba(56, 189, 248, 0.6);
  letter-spacing: 1.5px;
  pointer-events: none;
  z-index: 2;
  text-transform: uppercase;
}
.preloader-crosshair.top-left { top: 28px; left: 32px; }
.preloader-crosshair.top-right { top: 28px; right: 32px; }
.preloader-crosshair.bottom-left { bottom: 28px; left: 32px; }
.preloader-crosshair.bottom-right { bottom: 28px; right: 32px; }

@media screen and (max-width: 640px) {
  .preloader-crosshair { font-size: 9px; }
  .preloader-crosshair.top-left { top: 16px; left: 16px; }
  .preloader-crosshair.top-right { top: 16px; right: 16px; }
  .preloader-crosshair.bottom-left { bottom: 16px; left: 16px; }
  .preloader-crosshair.bottom-right { bottom: 16px; right: 16px; }
}

/* Center Container */
.preloader-center {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 22px;
  max-width: 90vw;
}

/* RGB Glowing Border Card */
.preloader-card-border {
  position: relative;
  width: 170px;
  height: 170px;
  border-radius: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 3px;
  box-shadow: 0 0 55px rgba(14, 165, 233, 0.4),
              0 20px 45px rgba(0, 0, 0, 0.85);
}

/* Rotating RGB Laser Perimeter Beam */
.preloader-card-border::before {
  content: "";
  position: absolute;
  width: 280%;
  height: 280%;
  background: conic-gradient(
    from 0deg,
    transparent 0deg,
    #00f0ff 45deg,
    #3b82f6 95deg,
    #a855f7 165deg,
    #ec4899 220deg,
    #10b981 290deg,
    #00f0ff 360deg
  );
  animation: rotateRgbBeam 2.6s linear infinite;
}

@keyframes rotateRgbBeam {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Inner Badge */
.preloader-card-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center, #0a1324 0%, #030712 100%);
  border-radius: 27px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 14px;
  overflow: hidden;
  box-shadow: inset 0 0 30px rgba(14, 165, 233, 0.25);
}

/* Aircraft SVG */
.preloader-aircraft-svg {
  width: 102px;
  height: 102px;
  display: block;
}

/* Laser Path Outline around Airplane */
.plane-outline-laser {
  stroke-dasharray: 450;
  stroke-dashoffset: 450;
  animation: planeLaserLoop 2.8s linear infinite;
}

@keyframes planeLaserLoop {
  0% { stroke-dashoffset: 450; opacity: 0.8; }
  50% { stroke-dashoffset: 0; opacity: 1; filter: drop-shadow(0 0 10px rgba(0, 240, 255, 0.9)); }
  100% { stroke-dashoffset: -450; opacity: 0.8; }
}

.spin-slow {
  transform-origin: 60px 60px;
  animation: spinRadar 10s linear infinite;
}

@keyframes spinRadar {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.pulse-fast {
  animation: pulseWing 1.1s ease-in-out infinite alternate;
}

@keyframes pulseWing {
  0% { transform: scale(0.8); opacity: 0.4; }
  100% { transform: scale(1.4); opacity: 1; filter: drop-shadow(0 0 6px #00f0ff); }
}

.preloader-badge-tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 8.5px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: #38bdf8;
  margin-top: 4px;
  text-transform: uppercase;
}

/* Title & Branding */
.preloader-title-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.preloader-brand-title {
  font-size: clamp(26px, 4vw, 34px);
  font-weight: 900;
  letter-spacing: 6px;
  color: #ffffff;
  text-shadow: 0 0 25px rgba(56, 189, 248, 0.65);
}

.preloader-brand-sub {
  font-family: 'JetBrains Mono', monospace;
  font-size: clamp(10px, 1.2vw, 12px);
  font-weight: 600;
  color: #38bdf8;
  letter-spacing: 2.5px;
  text-transform: uppercase;
}

/* Progress bar */
.preloader-progress-container {
  width: clamp(260px, 38vw, 360px);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.preloader-progress-bar {
  width: 100%;
  height: 4px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 9999px;
  overflow: hidden;
  position: relative;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.5);
}

.preloader-progress-fill {
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, #00f0ff 0%, #3b82f6 50%, #a855f7 100%);
  border-radius: 9999px;
  box-shadow: 0 0 12px rgba(0, 240, 255, 0.8);
  transition: width 0.12s linear;
}

.preloader-status-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
}

.preloader-status-text {
  color: #94a3b8;
  letter-spacing: 0.5px;
  text-align: left;
}

.preloader-percent {
  color: #38bdf8;
  font-weight: 700;
  letter-spacing: 1px;
}

/* ==========================================================================
   SMOOTH & SUBTLE MOTION ENGINE (PREMIUM, GROUNDED & FLUID)
   ========================================================================== */
@media screen {
  .slide {
    transition: opacity 0.3s ease;
  }

  /* Scroll Reveal & Motion Base for Cards — Subtle, crisp, natural */
  .animate-on-scroll {
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.4s cubic-bezier(0.2, 0.8, 0.2, 1),
                transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1),
                border-color 0.25s ease,
                box-shadow 0.25s ease;
    will-change: opacity, transform;
  }

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

  /* Subtle micro-stagger */
  .animate-on-scroll.stagger-1 { transition-delay: 0.03s !important; }
  .animate-on-scroll.stagger-2 { transition-delay: 0.07s !important; }
  .animate-on-scroll.stagger-3 { transition-delay: 0.11s !important; }
  .animate-on-scroll.stagger-4 { transition-delay: 0.15s !important; }
  .animate-on-scroll.stagger-5 { transition-delay: 0.19s !important; }
  .animate-on-scroll.stagger-6 { transition-delay: 0.23s !important; }

  /* Interactive card hover transitions — subtle & refined */
  .glass-card {
    transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1),
                box-shadow 0.25s ease,
                border-color 0.25s ease;
  }

  .glass-card:hover {
    transform: translateY(-3px);
    border-color: rgba(56, 189, 248, 0.5);
    box-shadow: 0 16px 32px -8px rgba(0, 0, 0, 0.8),
                0 0 20px rgba(14, 165, 233, 0.2);
  }

  .screenshot-frame {
    transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1),
                box-shadow 0.3s ease,
                border-color 0.3s ease;
  }

  .screenshot-frame.animate-on-scroll {
    transform: translateY(12px);
  }

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

  .screenshot-frame:hover {
    transform: translateY(-3px);
    border-color: rgba(56, 189, 248, 0.6);
    box-shadow: 0 24px 48px -10px rgba(0, 0, 0, 0.9),
                0 0 28px rgba(14, 165, 233, 0.25);
  }

  .kpi-card {
    transition: transform 0.25s ease,
                border-color 0.25s ease,
                background 0.25s ease,
                box-shadow 0.25s ease;
  }

  .kpi-card:hover {
    transform: translateY(-2px);
    border-color: rgba(56, 189, 248, 0.45);
    background: rgba(15, 23, 42, 0.92);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.7), 0 0 16px rgba(14, 165, 233, 0.2);
  }

  .feature-item {
    transition: transform 0.22s ease;
  }

  .feature-item:hover {
    transform: translateX(4px);
  }

  .feature-item:hover .feature-icon-box {
    transform: scale(1.06);
    box-shadow: 0 0 14px rgba(56, 189, 248, 0.4);
  }

  .feature-icon-box {
    transition: transform 0.22s ease, box-shadow 0.22s ease;
  }

  .step-box {
    transition: transform 0.25s ease,
                border-color 0.25s ease,
                box-shadow 0.25s ease;
  }

  .step-box:hover {
    transform: translateY(-3px);
    border-color: rgba(56, 189, 248, 0.45);
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.75), 0 0 20px rgba(14, 165, 233, 0.2);
  }

  .role-table tr {
    transition: background 0.18s ease;
  }

  .role-table tr:hover td {
    background: rgba(20, 32, 60, 0.85);
  }

  /* HUD Top Slide Progress Bar */
  .hud-slide-progress-track {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: rgba(255, 255, 255, 0.1);
    overflow: hidden;
  }

  .hud-slide-progress-fill {
    height: 100%;
    width: 7.14%;
    background: linear-gradient(90deg, #00f0ff 0%, #3b82f6 50%, #ec4899 100%);
    box-shadow: 0 0 8px rgba(0, 240, 255, 0.9);
    transition: width 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  }
}


