/* ProprioTrack - Shared styles for English and French pages */

/* Base Styles */
:root {
  --primary-color: #4f46e5;
  --primary-dark: #4338ca;
  --primary-light: #818cf8;
  --secondary-color: #10b981;
  --text-dark: #1f2937;
  --text-light: #f9fafb;
  --text-muted: #6b7280;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-800: #1f2937;
  --gray-900: #111827;
}

body {
  font-family: 'Inter', 'Poppins', sans-serif;
  color: var(--text-dark);
  padding-bottom: 60px; /* Add padding to bottom for mobile sticky button */
}

@media (min-width: 768px) {
  body {
    padding-bottom: 0; /* Remove padding on desktop */
  }
}

/* Gradient Backgrounds */
.gradient-bg {
  background: linear-gradient(135deg, #4f46e5 0%, #3b82f6 100%);
}

.hero-pattern {
  background-color: var(--gray-50);
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%234f46e5' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

/* Text Gradients */
.gradient-text {
  background: linear-gradient(135deg, #4f46e5 0%, #3b82f6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}

.fr-gradient-text {
  background: linear-gradient(135deg, #4f46e5 0%, #3b82f6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}

.fr-gradient-bg {
  background: linear-gradient(135deg, #4f46e5 0%, #3b82f6 100%);
}

/* Buttons */
.btn-primary {
  background-color: #4338ca;
  color: white;
  padding: 0.75rem 2rem;
  border-radius: 0.375rem;
  font-weight: 600;
  transition: background-color 0.2s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-primary:hover {
  background-color: #3730a3;
}

.btn-secondary {
  background-color: white;
  color: #4338ca;
  padding: 0.75rem 2rem;
  border-radius: 0.375rem;
  font-weight: 600;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  transition: background-color 0.2s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-secondary:hover {
  background-color: #f9fafb;
}

/* Countdown Styles */
.countdown-item {
  background-color: white;
  border-radius: 0.5rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  padding: 1rem 1.5rem;
  width: 6rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.countdown-number {
  font-size: 2rem;
  font-weight: 700;
  color: #4f46e5;
  line-height: 1.2;
  margin-bottom: 0.25rem;
}

.countdown-label {
  color: #6b7280;
  font-size: 0.875rem;
  margin-top: 0.25rem;
}

@media (max-width: 768px) {
  .countdown-item {
    padding: 0.75rem 1rem;
    width: 4.5rem;
  }
  
  .countdown-number {
    font-size: 1.5rem;
  }
  
  .countdown-label {
    font-size: 0.75rem;
  }
}

/* Features Icons */
.feature-icon {
  @apply w-12 h-12 bg-indigo-100 text-indigo-600 rounded-full flex items-center justify-center mb-4;
}

/* Forms */
input, textarea, select {
  @apply focus:ring-indigo-500 focus:border-indigo-500;
}

/* Mobile Menu */
#mobile-menu {
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  background-color: white;
  max-height: 80vh;
  overflow-y: auto;
  border-top: 1px solid #f3f4f6;
}

/* Mobile menu items */
#mobile-menu a {
  display: block;
  padding: 0.75rem 0;
  color: #1f2937;
  font-weight: 500;
  border-bottom: 1px solid #f3f4f6;
  transition: color 0.2s;
}

#mobile-menu a:hover {
  color: #4f46e5;
}

#mobile-menu a.font-semibold {
  color: #4f46e5;
}

/* Button focus state */
#mobile-menu-button:focus {
  outline: 2px solid #4f46e5;
  outline-offset: 2px;
}

/* Footer Styles */
footer {
  @apply bg-gray-800 text-white;
}

/* Responsive Styles */
@media (max-width: 768px) {
  h1 {
    @apply text-2xl;
  }
  
  h2 {
    @apply text-xl;
  }
  
  .countdown-item {
    @apply w-14 p-2;
  }
  
  .countdown-number {
    @apply text-lg;
  }
  
  .countdown-label {
    @apply text-xs;
  }
}

/* Mobile sticky waitlist button */
.mobile-sticky-button {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 30;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

/* FAQ Section */
.faq-item {
  border-bottom: 1px solid var(--gray-200);
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.animate-fade-in {
  animation: fadeIn 0.5s ease-in-out;
}

/* Language Switcher */
.language-switcher {
  @apply flex items-center justify-center space-x-2;
}

/* Specific French styles if needed */
.fr-body-bg {
  background-color: var(--gray-50);
}

/* AI Feature highlight */
.ai-feature-icon {
  background-color: rgba(79, 70, 229, 0.1);
  border-radius: 50%;
  padding: 0.75rem;
  display: inline-flex;
  margin-bottom: 1rem;
}

/* Form styles */
.form-input:focus {
  border-color: #4f46e5;
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.3);
  outline: none;
}

/* Responsive adjustments */
@media (max-width: 640px) {
  .countdown-item {
    width: 4rem;
    padding: 0.5rem;
  }
  
  .countdown-number {
    font-size: 1.25rem;
  }
  
  .countdown-label {
    font-size: 0.75rem;
  }
  
  /* Reduced section spacing on mobile */
  section {
    padding-top: 2rem;
    padding-bottom: 2rem;
  }
  
  .hero-pattern {
    padding-top: 1.5rem;
    padding-bottom: 1rem;
  }
}

/* Card hover effects */
.card-hover {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-hover:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
} 