/* style.css - Custom stylesheet for Vibrant Modernist styling, animations, and transitions */

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

:root {
  --font-headline: 'Plus Jakarta Sans', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-label: 'Outfit', sans-serif;
}

body {
  font-family: var(--font-body);
  overflow-x: hidden;
  background-color: #f8f9fc;
}

h1,
h2,
h3,
h4,
h5,
h6,
.font-headline {
  font-family: var(--font-headline) !important;
}

button,
input,
select,
textarea,
.font-label,
.label-md {
  font-family: var(--font-label) !important;
}

/* Page Transition Animations */
body.page-transition-active {
  animation: fadeIn 0.12s ease-out forwards;
}

body.slide-in-right {
  animation: slideInRight 0.12s cubic-bezier(0.1, 0.9, 0.2, 1) forwards;
}

body.slide-in-left {
  animation: slideInLeft 0.12s cubic-bezier(0.1, 0.9, 0.2, 1) forwards;
}

body.slide-out-left {
  animation: slideOutLeft 0.12s cubic-bezier(0.4, 0, 0.9, 0.1) forwards;
}

body.slide-out-right {
  animation: slideOutRight 0.12s cubic-bezier(0.4, 0, 0.9, 0.1) forwards;
}

body.fade-out {
  animation: fadeOut 0.12s ease-in forwards;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes fadeOut {
  from {
    opacity: 1;
  }

  to {
    opacity: 0;
  }
}

@keyframes slideInRight {
  from {
    transform: translateX(100vw);
  }

  to {
    transform: translateX(0);
  }
}

@keyframes slideInLeft {
  from {
    transform: translateX(-100vw);
  }

  to {
    transform: translateX(0);
  }
}

@keyframes slideOutLeft {
  from {
    transform: translateX(0);
    opacity: 1;
  }

  to {
    transform: translateX(-100vw);
    opacity: 0;
  }
}

@keyframes slideOutRight {
  from {
    transform: translateX(0);
    opacity: 1;
  }

  to {
    transform: translateX(100vw);
    opacity: 0;
  }
}

/* Custom progress dials */
.circular-progress {
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.4s ease;
}

/* Tactile bubble design animations */
.bento-item,
.vibrant-card,
.report-card {
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.bento-item:hover,
.vibrant-card:hover,
.report-card:hover {
  transform: translateY(-4px) scale(1.008);
  box-shadow: 0 20px 40px -10px rgba(57, 97, 141, 0.08) !important;
}

.btn-bubble {
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-bubble:hover {
  transform: translateY(-2px);
  filter: brightness(1.05);
}

.btn-bubble:active {
  transform: translateY(0) scale(0.97);
}

/* Background mesh ambient glow */
.bg-mesh-modern {
  background-color: #f8f9fc;
  background-image:
    radial-gradient(at 0% 0%, rgba(154, 193, 252, 0.12) 0px, transparent 50%),
    radial-gradient(at 100% 0%, rgba(114, 250, 147, 0.08) 0px, transparent 50%),
    radial-gradient(at 50% 100%, rgba(228, 95, 43, 0.04) 0px, transparent 50%);
}

/* Shimmer skeleton screen */
.skeleton-shimmer {
  background: linear-gradient(90deg, #edeef1 25%, #f6f7f8 50%, #edeef1 75%);
  background-size: 200% 100%;
  animation: loadingShimmer 1.5s infinite linear;
}

@keyframes loadingShimmer {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

/* Logo styles */
.logo-white {
  filter: brightness(0) invert(1);
}