/* GoMotion Design System & Styles */
@import url('https://fonts.googleapis.com/css2?family=Varela+Round&family=Manrope:wght@400;500;600;700;800&family=JetBrains+Mono:wght@400;500;600&display=swap');

:root {
  --primary: #2B5BFC;
  --primary-hover: #1E46D9;
  --primary-light: #EEF3FF;
  --primary-glow: rgba(43, 91, 252, 0.28);
  --dark: #0A0E1A;
  --gray-bg: #F4F6FC;
  --card-bg: #FFFFFF;
  --text-main: #0A0E1A;
  --text-muted: #566073;
  --text-sub: #8A93A8;
  --border: #E7EAF3;
  --border-light: #EEF1F8;
  --success: #0B7A4B;
  --success-bg: #D9F5E6;
  --radius-lg: 18px;
  --radius-md: 12px;
  --radius-sm: 8px;
  --shadow-sm: 0 4px 14px rgba(13, 32, 84, 0.05);
  --shadow-md: 0 12px 34px rgba(13, 32, 84, 0.08);
  --shadow-lg: 0 24px 64px rgba(13, 32, 84, 0.12);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Manrope', sans-serif;
  color: var(--text-main);
  background-color: #FFFFFF;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.15s ease;
}

a:hover {
  color: var(--primary-hover);
}

button {
  font-family: 'Manrope', sans-serif;
  cursor: pointer;
  border: none;
  outline: none;
  transition: all 0.2s ease;
}

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

@keyframes gm-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-7px); }
}

@keyframes gm-float2 {
  0%, 100% { transform: translateY(-4px); }
  50% { transform: translateY(5px); }
}

@keyframes gm-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.45; transform: scale(0.96); }
}

@keyframes gm-eq {
  0%, 100% { transform: scaleY(0.3); }
  50% { transform: scaleY(1); }
}

@keyframes gm-playhead {
  0% { left: 4%; }
  100% { left: 96%; }
}

@keyframes gm-ring {
  0% { box-shadow: 0 10px 24px rgba(43,91,252,0.35), 0 0 0 0 rgba(43,91,252,0.4); }
  70% { box-shadow: 0 10px 24px rgba(43,91,252,0.35), 0 0 0 10px rgba(43,91,252,0); }
  100% { box-shadow: 0 10px 24px rgba(43,91,252,0.35), 0 0 0 0 rgba(43,91,252,0); }
}

@keyframes gm-marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Common Components */
.btn-primary {
  background: var(--primary);
  color: #FFFFFF;
  font-weight: 700;
  padding: 12px 24px;
  border-radius: var(--radius-md);
  box-shadow: 0 8px 20px var(--primary-glow);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.btn-primary:hover {
  background: var(--primary-hover);
  transform: translateY(-1px);
}

.btn-secondary {
  background: #FFFFFF;
  color: var(--text-main);
  border: 1px solid var(--border);
  font-weight: 700;
  padding: 12px 22px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn-secondary:hover {
  border-color: #B9C6E8;
  background: #F8FAFF;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 999px;
}
.badge-green {
  background: var(--success-bg);
  color: var(--success);
}
.badge-blue {
  background: #DCEAFE;
  color: #1D4FD7;
}
.badge-purple {
  background: #EAE4FD;
  color: #6D3FD4;
}
.badge-orange {
  background: #FFE9D4;
  color: #B45309;
}
.badge-pink {
  background: #FCE1F1;
  color: #B01B77;
}

/* Modal styling */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(10, 14, 26, 0.65);
  backdrop-filter: blur(5px);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.modal-backdrop.active {
  display: flex;
}
.modal-card {
  background: #FFFFFF;
  border-radius: 20px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.25);
  width: 100%;
  max-width: 520px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  padding: 32px;
  animation: gm-rise 0.25s ease-out;
}
.modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #F4F6FC;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: #566073;
}
.modal-close:hover {
  background: #E7EAF3;
  color: #0A0E1A;
}
