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

:root {
  --primary: #5B21B6;
  --primary-hover: #4C1D95;
  --primary-accent: #7C3AED;
  --primary-light: #F5F3FF;
  --lavender: #EDE9FE;
  --soft-violet: #DDD6FE;
  --ink: #0F172A;
  --navy: #1E1B4B;
  --muted: #64748B;
  --border: #E2E8F0;
  --border-purple: #EDE9FE;
  --accent-yellow: #F59E0B;
  --accent-amber: #FBBF24;
  --emerald: #10B981;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: #FAF8FF;
  color: var(--navy);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.font-display {
  font-family: 'Outfit', sans-serif;
}

.font-mono {
  font-family: 'JetBrains Mono', monospace;
}

/* Yellow stroke curve underneath hero text */
.curved-underline {
  position: relative;
  display: inline-block;
}

.curved-underline::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 9px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 20' preserveAspectRatio='none'%3E%3Cpath d='M5 14 Q 100 2, 195 14' stroke='%23FBBF24' stroke-width='6' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center bottom;
  background-size: 100% 100%;
}

/* Animations */
@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes floatSlow {
  0%, 100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-8px) rotate(1deg);
  }
}

@keyframes floatReverse {
  0%, 100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(8px) rotate(-1.5deg);
  }
}

@keyframes pulseGlow {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(91, 33, 182, 0.4);
  }
  50% {
    box-shadow: 0 0 0 12px rgba(91, 33, 182, 0);
  }
}

.animate-float {
  animation: floatSlow 4s ease-in-out infinite;
}

.animate-float-reverse {
  animation: floatReverse 4.5s ease-in-out infinite;
}

.animate-glow {
  animation: pulseGlow 2.5s infinite;
}

.rise {
  animation: rise 0.5s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.rise-1 { animation-delay: 0.08s; }
.rise-2 { animation-delay: 0.16s; }
.rise-3 { animation-delay: 0.24s; }
.rise-4 { animation-delay: 0.32s; }

/* Custom scrollbars */
::-webkit-scrollbar {
  width: 7px;
  height: 7px;
}
::-webkit-scrollbar-track {
  background: transparent;
}
::-webkit-scrollbar-thumb {
  background: #C4B5FD;
  border-radius: 999px;
}
::-webkit-scrollbar-thumb:hover {
  background: #8B5CF6;
}

/* Badges */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.65rem;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 9999px;
  border: 1px solid transparent;
}

.badge-scheduled {
  background-color: #EEF2FF;
  color: #4338CA;
  border-color: #C7D2FE;
}

.badge-completed {
  background-color: #ECFDF5;
  color: #065F46;
  border-color: #A7F3D0;
}

.badge-cancelled {
  background-color: #FEF2F2;
  color: #991B1B;
  border-color: #FECACA;
}

.badge-pending {
  background-color: #FFFBEB;
  color: #92400E;
  border-color: #FDE68A;
}

/* Toast notifications */
#toast-container {
  position: fixed;
  top: 1.25rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 99999;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  pointer-events: none;
}

.toast {
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: #FFFFFF;
  color: var(--ink);
  padding: 0.85rem 1.35rem;
  border-radius: 9999px;
  box-shadow: 0 14px 30px -6px rgba(91, 33, 182, 0.18), 0 8px 10px -6px rgba(0, 0, 0, 0.08);
  font-size: 0.875rem;
  font-weight: 500;
  border: 1px solid var(--border-purple);
  animation: rise 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Modal Backdrop */
.modal-backdrop {
  background-color: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(5px);
}

/* Google Meet badge */
.badge-meet {
  background: linear-gradient(135deg, #00832d 0%, #00ac47 100%);
  color: white;
  box-shadow: 0 4px 10px rgba(0, 172, 71, 0.25);
}

/* Floating Action Widgets (Small Compact Icons) */
.floating-action-widget {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 40;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
