:root {
  --primary: #4f46e5;
  /* Indigo 600 */
  --primary-dark: #312e81;
  /* Indigo 900 */
  --secondary: #d946ef;
  /* Fuchsia 500 */
  --accent: #0ea5e9;
  /* Light blue 500 */
  --bg: #fafafa;
  --bg-alt: #ffffff;
  --text: #0f172a;
  --text-light: #475569;
  --success: #10b981;
  --error: #ef4444;
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background-color: var(--bg);
  scroll-behavior: smooth;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Poppins', sans-serif;
}

/* Gradients */
.gradient-text {
  background: linear-gradient(135deg, var(--primary), var(--secondary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  background-size: 200% auto;
  animation: shine 5s linear infinite;
}

.gradient-bg {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  background-size: 200% auto;
  transition: 0.5s;
}

.gradient-bg:hover {
  background-position: right center;
}

@keyframes shine {
  to {
    background-position: 200% center;
  }
}

/* Animations */
.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-in-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Glassmorphism */
.glass-panel {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.05);
}

/* Hero Cards overlap showcase */
.hero-card {
  transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.hero-card:hover {
  transform: translateY(-20px) scale(1.05);
  z-index: 40;
}

.hero-showcase-image {
  opacity: 1;
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.hero-showcase-image.is-fading {
  opacity: 0.35;
  transform: scale(1.03);
}

/* Timeline Stepper */
.stepper-wrap {
  position: relative;
}

.stepper-wrap::before {
  content: '';
  position: absolute;
  top: 24px;
  left: 20px;
  right: 20px;
  height: 2px;
  background: #e2e8f0;
  z-index: 0;
}

@media (max-width: 768px) {
  .stepper-wrap::before {
    display: none;
  }
}

/* Wizard Form Cards */
.wizard-step {
  display: none;
  animation: slideIn 0.4s ease forwards;
}

.wizard-step.active {
  display: block;
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateX(20px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Custom Radios as Cards */
.radio-card input[type="radio"],
.checkbox-card input[type="checkbox"] {
  display: none;
}

.radio-card label,
.checkbox-card label {
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.2s ease;
  background: white;
}

.radio-card input[type="radio"]:checked+label,
.checkbox-card input[type="checkbox"]:checked+label {
  border-color: var(--secondary);
  background-color: #fdf4ff;
  /* light fuchsia */
  transform: scale(1.02);
  box-shadow: 0 10px 15px -3px rgba(217, 70, 239, 0.15);
}

/* Audio Recorder Pulse */
@keyframes pulse-red {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7);
  }

  70% {
    transform: scale(1);
    box-shadow: 0 0 0 15px rgba(239, 68, 68, 0);
  }

  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(239, 68, 68, 0);
  }
}

.recording-pulse {
  animation: pulse-red 2s infinite;
}
