/* ==========================================================================
   APP-RITE — Visual Design & Theme System
   Corporate Blue: #017AEB
   Typography: Inter
   ========================================================================== */

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

:root {
  --color-brand: #017AEB;
  --color-brand-hover: #0066c7;
  --color-brand-light: #e6f2fe;
}

body {
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

/* Background image overlay system */
.bg-custom-fixed {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -10;
  background-color: #0f172a;
  background-image: 
    radial-gradient(at 0% 0%, rgba(1, 122, 235, 0.12) 0px, transparent 50%),
    radial-gradient(at 100% 100%, rgba(14, 165, 233, 0.08) 0px, transparent 50%);
  background-size: cover;
  background-position: center;
}

/* Theme overlay layer */
.bg-overlay-theme {
  position: absolute;
  inset: 0;
  transition: background-color 0.3s ease;
}

html:not(.dark) .bg-overlay-theme {
  background-color: rgba(248, 250, 252, 0.95);
}

html.dark .bg-overlay-theme {
  background-color: rgba(15, 23, 42, 0.96);
}

/* Glassmorphic card utility */
.glass-card {
  background-color: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(226, 232, 240, 0.8);
}

html.dark .glass-card {
  background-color: rgba(30, 41, 59, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(51, 65, 85, 0.8);
}

/* Featured step card gradient */
.card-featured {
  background: linear-gradient(135deg, #017AEB 0%, #004fb3 100%);
}

/* Animations */
.fade-in {
  animation: fadeIn 0.3s ease-out forwards;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulseGlow {
  0%, 100% {
    box-shadow: 0 4px 14px 0 rgba(1, 122, 235, 0.39);
  }
  50% {
    box-shadow: 0 8px 24px 0 rgba(1, 122, 235, 0.65);
  }
}

.btn-pulse {
  animation: pulseGlow 2s infinite ease-in-out;
}

@keyframes heartbeat {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.08); }
}

.animate-heartbeat {
  animation: heartbeat 1.5s infinite ease-in-out;
}

/* Hide scrollbar helpers */
.hide-scroll::-webkit-scrollbar {
  display: none;
}
.hide-scroll {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

/* Clean tap targets for touch devices */
button, a {
  -webkit-tap-highlight-color: transparent;
}
