@tailwind base;
@tailwind components;
@tailwind utilities;

/* Import Flowbite CSS */
@import "flowbite/src/themes/default";

/* Custom carousel styles */
.carousel-text {
  @apply text-3xl font-bold text-white mb-4;
}

.carousel-container {
  @apply bg-gray-50 py-16;
}

/* Custom styles can be added below */

/* Custom styles for landing page - based on screenshots */
:root {
  /* Exact colors from the React version */
  --primary: #4a89dc;
  --primary-light: #e8f1ff;
  --primary-600: #4a89dc;
  --secondary: #6b46c1;
  --secondary-500: #6b46c1;
  --accent: #ff7846;
  --accent-light: #fff8f5;
  --accent-500: #ff7846;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;
  
  /* Exact spacing values */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  
  /* Border radius */
  --radius-sm: 0.125rem;
  --radius: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-2xl: 1.5rem;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.gradient-text {
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
}

.primary-gradient {
  background: linear-gradient(135deg, #4a89dc 0%, #6b46c1 100%);
}

/* Ensure the gradient button works */
.bg-gradient-to-r.from-primary-600.to-secondary-500 {
  background: linear-gradient(135deg, #4a89dc 0%, #6b46c1 100%);
}

/* Direct button class for fallback */
.gradient-button {
  background: linear-gradient(135deg, #4a89dc 0%, #6b46c1 100%);
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  border: none;
  box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.1);
  transition: all 200ms ease;
}

.gradient-button:hover {
  opacity: 0.9;
}

.text-gradient-primary {
  background-image: linear-gradient(135deg, #4a89dc 0%, #6b46c1 100%);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
}

.text-gradient-secondary {
  background-image: linear-gradient(135deg, #6b46c1 0%, #ff7846 100%);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
}

.btn-primary {
  background-color: var(--primary);
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 0.375rem;
  font-weight: 500;
  display: inline-block;
  text-align: center;
}

.btn-primary:hover {
  opacity: 0.9;
}

.btn-secondary {
  background-color: white;
  color: var(--primary);
  padding: 0.75rem 1.5rem;
  border-radius: 0.375rem;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  white-space: nowrap;
}

.btn-gradient {
  background: linear-gradient(to right, #4a89dc, #6b46c1);
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 0.375rem;
  font-weight: 500;
  display: inline-block;
  text-align: center;
}

.btn-gradient:hover {
  opacity: 0.9;
}

.card {
  background-color: white;
  border-radius: 0.75rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  overflow: hidden;
}

.step-1-bg {
  background-color: #e8f1ff;
}

.step-2-bg {
  background-color: #f3e8ff;
}

.step-3-bg {
  background-color: #fff8f5;
}

.step-circle {
  width: 3rem;
  height: 3rem;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 1.25rem;
}

.circle-1 {
  background-color: #4a89dc;
}

.circle-2 {
  background-color: #6b46c1;
}

.circle-3 {
  background-color: #ff7846;
}

.feature-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.375rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--primary-light);
}

.star-rating {
  color: #fbbf24;
  display: flex;
}

.pricing-card {
  border: 1px solid var(--gray-200);
  border-radius: 0.75rem;
  padding: 2rem;
}

.popular-tag {
  background-color: var(--primary);
  color: white;
  padding: 0.5rem;
  text-align: center;
  font-weight: 500;
}

.cta-section {
  background: linear-gradient(to right, #4a89dc, #6b46c1);
  color: white;
  padding: 4rem 2rem;
  border-radius: 0.75rem;
}