/* =========================================================================
   Uniwire eCourse - Precision Industrial SaaS Design System (v2.0.0)
   Typography: Plus Jakarta Sans (Headings), Inter (Body), JetBrains Mono (Code/Hash)
   Colors: Dark Navy (#0A1128), Electric Cerulean (#0284C7), Industrial Amber (#F59E0B)
   ========================================================================= */

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

:root {
  --font-heading: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', Consolas, Monaco, monospace;

  /* Precision Industrial Palette */
  --unw-navy: #0A1128;
  --unw-slate: #0F172A;
  --unw-cerulean: #0284C7;
  --unw-cerulean-light: #38BDF8;
  --unw-amber: #F59E0B;
  --unw-amber-dark: #D97706;
  --unw-surface: #F8FAFC;
  --unw-border: #E2E8F0;

  /* Theme Variables (Default Light) */
  --bg-main: #F8FAFC;
  --bg-card: #FFFFFF;
  --bg-header: rgba(10, 17, 40, 0.95);
  --text-primary: #0F172A;
  --text-secondary: #475569;
  --border-color: #E2E8F0;
}

/* Dark Mode Variables */
html.dark {
  --bg-main: #070B19;
  --bg-card: #0F172A;
  --bg-header: rgba(7, 11, 25, 0.92);
  --text-primary: #F8FAFC;
  --text-secondary: #94A3B8;
  --border-color: rgba(255, 255, 255, 0.1);
}

body {
  font-family: var(--font-body);
  color: var(--text-primary);
  background-color: var(--bg-main);
  transition: background-color 0.25s ease, color 0.25s ease;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
}

.font-mono {
  font-family: var(--font-mono) !important;
}

/* Precision Micro Glow Buttons */
.btn-glow-cerulean {
  background-color: #0284C7;
  box-shadow: 0 0 15px rgba(2, 132, 199, 0.35);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.btn-glow-cerulean:hover {
  background-color: #0369A1;
  box-shadow: 0 0 25px rgba(2, 132, 199, 0.55);
  transform: translateY(-1px);
}

.btn-glow-amber {
  background-color: #F59E0B;
  color: #0F172A;
  box-shadow: 0 0 15px rgba(245, 158, 11, 0.35);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.btn-glow-amber:hover {
  background-color: #D97706;
  box-shadow: 0 0 25px rgba(245, 158, 11, 0.55);
  transform: translateY(-1px);
}

/* Header Glass */
.glass-header {
  background: var(--bg-header);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

/* Hero Panoramic Graphic */
.splash-hero-container {
  position: relative;
  overflow: hidden;
}

.splash-mesh-left, .splash-mesh-right {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 420px;
  height: 420px;
  pointer-events: none;
  opacity: 0.85;
}
.splash-mesh-left { left: -60px; }
.splash-mesh-right { right: -60px; }

@media (max-width: 1024px) {
  .splash-mesh-left, .splash-mesh-right {
    opacity: 0.25;
    width: 250px;
    height: 250px;
  }
}

@media (max-width: 640px) {
  .splash-mesh-left, .splash-mesh-right {
    display: none !important;
  }
}

/* Brand Logo Protection & Aspect Ratio */
.brand-logo-img {
  object-fit: contain;
  flex-shrink: 0;
  max-height: 100%;
}

/* Splash Pill Buttons */
.splash-pill {
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid transparent;
}
.splash-pill:hover {
  transform: translateY(-2px);
}
.pill-orange {
  background: linear-gradient(135deg, #F59E0B, #D97706);
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.35);
}
.pill-orange:hover {
  box-shadow: 0 6px 20px rgba(245, 158, 11, 0.55);
}
.pill-navy {
  background: #0F172A;
  border-color: #1E293B;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
}
.pill-navy:hover {
  background: #1E293B;
  border-color: #38BDF8;
}
.pill-teal {
  background: linear-gradient(135deg, #0284C7, #0369A1);
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.35);
}
.pill-teal:hover {
  box-shadow: 0 6px 20px rgba(2, 132, 199, 0.55);
}

/* Volume Range Slider Customization */
input[type=range].volume-slider {
  -webkit-appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 9999px;
  background: #E2E8F0;
  outline: none;
  transition: background 0.2s ease;
}

html.dark input[type=range].volume-slider {
  background: #334155;
}

input[type=range].volume-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #0284C7;
  border: 2px solid #FFFFFF;
  box-shadow: 0 0 8px rgba(2, 132, 199, 0.5);
  cursor: pointer;
  transition: transform 0.15s ease, background-color 0.15s ease;
}

input[type=range].volume-slider::-webkit-slider-thumb:hover {
  transform: scale(1.15);
  background: #38BDF8;
}

/* Slide-Over Drawer Transitions */
.slide-drawer-backdrop {
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.slide-drawer-content {
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  transform: translateX(100%);
}
.slide-drawer-content.drawer-open {
  transform: translateX(0);
}

/* Monospace Cryptographic Box */
.terminal-card {
  background-color: #070B19;
  border: 1px solid rgba(56, 189, 248, 0.2);
  border-radius: 16px;
  font-family: var(--font-mono);
}

/* Subtle card borders */
.subtle-border {
  border: 1px solid rgba(255, 255, 255, 0.08);
}
