/* ConversaPos Landing Page Styles */
/* Consistent with frontend design system */

:root {
  /* Primary Colors - matching frontend */
  --primary: hsl(151.3274 66.8639% 45%);
  --primary-dark: hsl(151.3274 66.8639% 35%);
  --primary-light: hsl(151.3274 66.8639% 55%);
  --primary-foreground: hsl(0 0% 98%);

  /* Background Colors */
  --background: hsl(0 0% 100%);
  --foreground: hsl(222.2 84% 4.9%);

  /* Card Colors */
  --card: hsl(0 0% 100%);
  --card-foreground: hsl(222.2 84% 4.9%);

  /* Muted Colors */
  --muted: hsl(210 40% 96%);
  --muted-foreground: hsl(215.4 16.3% 46.9%);

  /* Border Colors */
  --border: hsl(214.3 31.8% 91.4%);
  --input: hsl(214.3 31.8% 91.4%);
  --ring: hsl(151.3274 66.8639% 45%);

  /* Typography */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Custom Tailwind Classes */
.bg-primary {
  background-color: var(--primary);
}

.bg-primary-dark {
  background-color: var(--primary-dark);
}

.text-primary {
  color: var(--primary);
}

.text-primary-dark {
  color: var(--primary-dark);
}

.border-primary {
  border-color: var(--primary);
}

.border-primary\/20 {
  border-color: hsl(151.3274 66.8639% 45% / 0.2);
}

.from-primary\/5 {
  --tw-gradient-from: hsl(151.3274 66.8639% 45% / 0.05);
}

.to-primary\/10 {
  --tw-gradient-to: hsl(151.3274 66.8639% 45% / 0.1);
}

.focus\:ring-primary:focus {
  --tw-ring-color: var(--primary);
}

.hover\:bg-primary-dark:hover {
  background-color: var(--primary-dark);
}

.hover\:text-primary-dark:hover {
  color: var(--primary-dark);
}

/* Custom Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse-green {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(34, 197, 94, 0);
  }
}

.animate-fade-in-up {
  animation: fadeInUp 0.6s ease-out;
}

.animate-pulse-green {
  animation: pulse-green 2s infinite;
}

/* Enhanced Button Styles */
.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--primary-foreground);
  font-weight: 600;
  padding: 1rem 2rem;
  border-radius: 0.5rem;
  box-shadow: 0 4px 14px 0 rgba(34, 197, 94, 0.25);
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px 0 rgba(34, 197, 94, 0.35);
}

.btn-primary:active {
  transform: translateY(0);
}

/* Enhanced Card Styles */
.feature-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 2rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary) 0%, var(--primary-light) 100%);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.feature-card:hover::before {
  transform: scaleX(1);
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  border-color: var(--primary);
}

/* Icon Styles */
.feature-icon {
  width: 3rem;
  height: 3rem;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

/* Form Enhancements */
.form-input {
  transition: all 0.3s ease;
  border: 2px solid var(--border);
}

.form-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.1);
  outline: none;
}

/* Gradient Text */
.gradient-text {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Stats Counter Animation */
.stat-number {
  font-weight: 700;
  font-size: 2.5rem;
  color: var(--primary);
  display: block;
}

/* Responsive Typography */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
    line-height: 1.2;
  }
  
  .hero-subtitle {
    font-size: 1.125rem;
  }
}

/* Privacy Policy Specific Styles */
.prose {
  color: var(--muted-foreground);
  line-height: 1.7;
}

.prose h2 {
  color: var(--foreground);
  font-weight: 600;
  margin-top: 2rem;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--border);
}

.prose h3 {
  color: var(--foreground);
  font-weight: 500;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
}

.prose p {
  margin-bottom: 1rem;
}

.prose ul {
  margin-bottom: 1.5rem;
}

.prose li {
  margin-bottom: 0.5rem;
}

.prose a {
  color: var(--primary);
  text-decoration: none;
  transition: all 0.2s ease;
}

.prose a:hover {
  text-decoration: underline;
  color: var(--primary);
  opacity: 0.8;
}

.prose strong {
  color: var(--foreground);
  font-weight: 600;
}

/* Contact info box */
.prose .bg-muted\/50 {
  background-color: var(--muted);
  border: 1px solid var(--border);
  transition: all 0.3s ease;
}

.prose .bg-muted\/50:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Loading States */
.loading {
  opacity: 0.7;
  pointer-events: none;
}

.loading::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 20px;
  margin: -10px 0 0 -10px;
  border: 2px solid transparent;
  border-top: 2px solid var(--primary);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Smooth Scrolling */
html {
  scroll-behavior: smooth;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--muted);
}

::-webkit-scrollbar-thumb {
  background: var(--primary);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--primary-dark);
}

/* Print Styles */
@media print {
  .no-print {
    display: none !important;
  }
}