/* ==========================================================================
   MoDrive Design System & Global Theme Stylesheet
   Flagship Cloud Product of the Tune X Ecosystem (tunex.in)
   Lead Architect: Sibajee Dash
   ========================================================================== */

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

:root {
  --font-main: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  
  /* Color Tokens */
  --bg-dark: #06090f;
  --bg-surface: #0b0f19;
  --bg-card: rgba(255, 255, 255, 0.025);
  --border-subtle: rgba(255, 255, 255, 0.06);
  --border-highlight: rgba(168, 85, 247, 0.25);
  
  --primary-purple: #a855f7;
  --primary-blue: #3b82f6;
  --primary-cyan: #06b6d4;
  --accent-emerald: #10b981;
  --accent-amber: #f59e0b;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  color-scheme: dark;
  min-height: 100%;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-dark);
  color: #e2e8f0;
  min-height: 100vh;
  margin: 0;
  padding: 0;
}

body.flex-col > main {
  flex: 1 0 auto;
}

#modrive-header,
[data-modrive-header] {
  width: 100%;
  flex-shrink: 0;
}

#modrive-footer,
[data-modrive-footer] {
  width: 100%;
  margin-top: auto;
  flex-shrink: 0;
}

/* Glassmorphism Surface Classes */
.glassmorphism {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-subtle);
}

.glassmorphism-hover {
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}
.glassmorphism-hover:hover {
  background: rgba(255, 255, 255, 0.045);
  border-color: rgba(168, 85, 247, 0.2);
  transform: translateY(-2px);
}

.glassmorphism-sidebar {
  background: rgba(13, 18, 30, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-right: 1px solid var(--border-subtle);
}

/* Glow Orb Ambient Lighting */
.glow-orb-container {
  position: fixed;
  inset: 0;
  overflow: hidden;
  pointer-events-none;
  z-index: 0;
}

.glow-orb {
  filter: blur(110px);
  opacity: 0.14;
  pointer-events: none;
  position: absolute;
}

/* Keyframe Animations */
.animate-float {
  animation: float 10s ease-in-out infinite;
}

.animate-float-delayed {
  animation: float 14s ease-in-out infinite 3s;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0px) scale(1);
  }
  50% {
    transform: translateY(-20px) scale(1.06);
  }
}

.circle-progress {
  transition: stroke-dashoffset 1s linear;
}

/* Custom Sleek Scrollbar */
::-webkit-scrollbar {
  width: 7px;
  height: 7px;
}

::-webkit-scrollbar-track {
  background: #06090f;
}

::-webkit-scrollbar-thumb {
  background: #1e293b;
  border-radius: 9999px;
}

::-webkit-scrollbar-thumb:hover {
  background: #334155;
}

/* Text Selection */
::selection {
  background: rgba(168, 85, 247, 0.35);
  color: #ffffff;
}
