@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

:root {
  --background: oklch(0.12 0.02 285);
  --foreground: oklch(0.98 0.01 285);
  --card: oklch(0.16 0.03 0);
  --card-foreground: oklch(0.98 0.01 285);
  --popover: oklch(0.14 0.02 285);
  --popover-foreground: oklch(0.98 0.01 285);
  --primary: oklch(0.65 0.25 285);
  --primary-foreground: oklch(0.98 0.01 285);
  --secondary: oklch(0.22 0.04 285);
  --secondary-foreground: oklch(0.98 0.01 285);
  --muted: oklch(0.25 0.03 285);
  --muted-foreground: oklch(0.65 0.02 285);
  --accent: oklch(0.55 0.22 285);
  --accent-foreground: oklch(0.98 0.01 285);
  --destructive: oklch(0.577 0.245 27.325);
  --destructive-foreground: oklch(0.98 0.01 285);
  --border: oklch(0.25 0.04 285);
  --input: oklch(0.22 0.04 285);
  --ring: oklch(0.65 0.25 285);
  --chart-1: oklch(0.65 0.25 285);
  --chart-2: oklch(0.55 0.22 285);
  --chart-3: oklch(0.45 0.18 285);
  --chart-4: oklch(0.75 0.2 285);
  --chart-5: oklch(0.6 0.23 285);
  --radius: 0.75rem;
  --sidebar: oklch(0.985 0 0);
  --sidebar-foreground: oklch(0.145 0 0);
  --sidebar-primary: oklch(0.205 0 0);
  --sidebar-primary-foreground: oklch(0.985 0 0);
  --sidebar-accent: oklch(0.97 0 0);
  --sidebar-accent-foreground: oklch(0.205 0 0);
  --sidebar-border: oklch(0.922 0 0);
  --sidebar-ring: oklch(0.708 0 0);
}

.dark {
  --background: oklch(0.145 0 0);
  --foreground: oklch(0.985 0 0);
  --card: oklch(0.145 0 0);
  --card-foreground: oklch(0.985 0 0);
  --popover: oklch(0.145 0 0);
  --popover-foreground: oklch(0.985 0 0);
  --primary: oklch(0.985 0 0);
  --primary-foreground: oklch(0.205 0 0);
  --secondary: oklch(0.269 0 0);
  --secondary-foreground: oklch(0.985 0 0);
  --muted: oklch(0.269 0 0);
  --muted-foreground: oklch(0.708 0 0);
  --accent: oklch(0.269 0 0);
  --accent-foreground: oklch(0.985 0 0);
  --destructive: oklch(0.396 0.141 25.723);
  --destructive-foreground: oklch(0.637 0.237 25.331);
  --border: oklch(0.269 0 0);
  --input: oklch(0.269 0 0);
  --ring: oklch(0.439 0 0);
  --chart-1: oklch(0.488 0.243 264.376);
  --chart-2: oklch(0.696 0.17 162.48);
  --chart-3: oklch(0.769 0.188 70.08);
  --chart-4: oklch(0.627 0.265 303.9);
  --chart-5: oklch(0.645 0.246 16.439);
  --sidebar: oklch(0.205 0 0);
  --sidebar-foreground: oklch(0.985 0 0);
  --sidebar-primary: oklch(0.488 0.243 264.376);
  --sidebar-primary-foreground: oklch(0.985 0 0);
  --sidebar-accent: oklch(0.269 0 0);
  --sidebar-accent-foreground: oklch(0.985 0 0);
  --sidebar-border: oklch(0.269 0 0);
  --sidebar-ring: oklch(0.439 0 0);
}

* {
  border-color: var(--border);
  outline-color: var(--ring);
  outline-width: 0.5px;
}

body {
  background-color: var(--background);
  color: var(--foreground);
  font-family: 'Inter', sans-serif;
}

/* Utility classes */
.min-h-screen { min-height: 100vh; }
.relative { position: relative; }
.absolute { position: absolute; }
.fixed { position: fixed; }
.inset-0 { top: 0; right: 0; bottom: 0; left: 0; }
.top-0 { top: 0; }
.left-0 { left: 0; }
.right-0 { right: 0; }
.z-50 { z-index: 50; }

/* Flexbox */
.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.gap-2 { gap: 0.5rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }

/* Grid */
.grid { display: grid; }
.grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }

/* Spacing */
.p-4 { padding: 1rem; }
.p-6 { padding: 1.5rem; }
.p-8 { padding: 2rem; }
.p-12 { padding: 3rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.py-6 { padding-top: 1.5rem; padding-bottom: 1.5rem; }
.py-12 { padding-top: 3rem; padding-bottom: 3rem; }
.py-20 { padding-top: 5rem; padding-bottom: 5rem; }
.pt-32 { padding-top: 8rem; }
.pb-20 { padding-bottom: 5rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-12 { margin-bottom: 3rem; }
.mt-8 { margin-top: 2rem; }
.mt-20 { margin-top: 5rem; }
.mx-auto { margin-left: auto; margin-right: auto; }

/* Sizing */
.h-4 { height: 1rem; }
.h-5 { height: 1.25rem; }
.h-6 { height: 1.5rem; }
.h-8 { height: 2rem; }
.h-9 { height: 2.25rem; }
.h-10 { height: 2.5rem; }
.h-12 { height: 3rem; }
.h-16 { height: 4rem; }
.w-4 { width: 1rem; }
.w-5 { width: 1.25rem; }
.w-6 { width: 1.5rem; }
.w-8 { width: 2rem; }
.w-9 { width: 2.25rem; }
.w-10 { width: 2.5rem; }
.w-12 { width: 3rem; }
.w-16 { width: 4rem; }
.max-w-2xl { max-width: 42rem; }
.max-w-3xl { max-width: 48rem; }
.max-w-4xl { max-width: 56rem; }
.max-w-5xl { max-width: 64rem; }
.max-w-6xl { max-width: 72rem; }
.max-w-none { max-width: none; }

/* Typography */
.text-xs { font-size: 0.75rem; line-height: 1rem; }
.text-sm { font-size: 0.875rem; line-height: 1.25rem; }
.text-lg { font-size: 1.125rem; line-height: 1.75rem; }
.text-xl { font-size: 1.25rem; line-height: 1.75rem; }
.text-2xl { font-size: 1.5rem; line-height: 2rem; }
.text-3xl { font-size: 1.875rem; line-height: 2.25rem; }
.text-4xl { font-size: 2.25rem; line-height: 2.5rem; }
.text-5xl { font-size: 3rem; line-height: 1; }
.text-6xl { font-size: 3.75rem; line-height: 1; }
.text-7xl { font-size: 4.5rem; line-height: 1; }
.font-bold { font-weight: 700; }
.font-semibold { font-weight: 600; }
.font-medium { font-weight: 500; }
.leading-none { line-height: 1; }
.leading-relaxed { line-height: 1.625; }
.leading-tight { line-height: 1.25; }
.tracking-tight { letter-spacing: -0.025em; }
.text-center { text-align: center; }
.text-balance { text-wrap: balance; }

/* Colors */
.text-primary { color: var(--primary); }
.text-primary-foreground { color: var(--primary-foreground); }
.text-secondary { color: var(--secondary); }
.text-secondary-foreground { color: var(--secondary-foreground); }
.text-muted-foreground { color: var(--muted-foreground); }
.text-foreground { color: var(--foreground); }
.text-white { color: white; }
.text-gray-300 { color: #d1d5db; }
.text-gray-400 { color: #9ca3af; }
.bg-primary { background-color: var(--primary); }
.bg-primary-foreground { background-color: var(--primary-foreground); }
.bg-secondary { background-color: var(--secondary); }
.bg-secondary-foreground { background-color: var(--secondary-foreground); }
.bg-background { background-color: var(--background); }
.bg-card { background-color: var(--card); }
.bg-card-foreground { background-color: var(--card-foreground); }
.bg-accent { background-color: var(--accent); }
.bg-accent-foreground { background-color: var(--accent-foreground); }
.bg-gray-700 { background-color: #1a1a1a; }
.bg-gray-800 { background-color: #1f2937; }

/* Borders */
.border { border-width: 1px; border-style: solid; border-color: var(--border); }
.border-t { border-top-width: 1px; border-top-style: solid; border-top-color: var(--border); }
.border-b { border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: var(--border); }
.border-primary { border-color: var(--primary); }
.border-primary/20 { border-color: color-mix(in srgb, var(--primary) 20%, transparent); }
.border-primary/40 { border-color: color-mix(in srgb, var(--primary) 40%, transparent); }
.border-border { border-color: var(--border); }
.border-border/40 { border-color: color-mix(in srgb, var(--border) 40%, transparent); }
.border-transparent { border-color: transparent; }
.border-gray-600 { border-color: #4b5563; }
.border-gray-700 { border-color: #374151; }

/* Border radius */
.rounded-md { border-radius: 0.375rem; }
.rounded-lg { border-radius: 0.5rem; }
.rounded-xl { border-radius: 0.75rem; }
.rounded-full { border-radius: 9999px; }

/* Shadows */
.shadow-sm { box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05); }
.shadow-lg { box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1); }
.shadow-xs { box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05); }

/* Backgrounds */
.bg-gradient-to-r { background-image: linear-gradient(to right, var(--tw-gradient-stops)); }
.bg-gradient-to-br { background-image: linear-gradient(to bottom right, var(--tw-gradient-stops)); }
.from-primary { --tw-gradient-from: var(--primary); --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgb(0 0 0 / 0)); }
.via-background { --tw-gradient-to: color-mix(in srgb, var(--background) 0%, transparent); }
.to-accent { --tw-gradient-to: var(--accent); }
.to-background { --tw-gradient-to: var(--background); }
.from-primary/10 { --tw-gradient-from: color-mix(in srgb, var(--primary) 10%, transparent); }
.via-background { --tw-gradient-to: color-mix(in srgb, var(--background) 0%, transparent); }
.to-accent/10 { --tw-gradient-to: color-mix(in srgb, var(--accent) 10%, transparent); }

/* Backdrop */
.backdrop-blur { backdrop-filter: blur(8px); }
.backdrop-blur-xl { backdrop-filter: blur(24px); }

/* Text effects */
.bg-clip-text { background-clip: text; }
.text-transparent { color: transparent; }

/* Opacity */
.opacity-50 { opacity: 0.5; }
.opacity-80 { opacity: 0.8; }
.opacity-90 { opacity: 0.9; }

/* Transforms */
.translate-x-1 { transform: translateX(0.25rem); }
.-translate-x-1\/2 { transform: translateX(-50%); }

/* Transitions */
.transition-all { transition-property: all; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); transition-duration: 150ms; }
.transition-colors { transition-property: color, background-color, border-color, text-decoration-color, fill, stroke; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); transition-duration: 150ms; }
.transition-transform { transition-property: transform; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); transition-duration: 150ms; }

/* Hover states */
.hover\:bg-primary\/90:hover { background-color: color-mix(in srgb, var(--primary) 90%, transparent); }
.hover\:bg-primary\/30:hover { background-color: color-mix(in srgb, var(--primary) 30%, transparent); }
.hover\:bg-secondary\/90:hover { background-color: color-mix(in srgb, var(--secondary) 90%, transparent); }
.hover\:bg-secondary\/80:hover { background-color: color-mix(in srgb, var(--secondary) 80%, transparent); }
.hover\:bg-accent\/90:hover { background-color: color-mix(in srgb, var(--accent) 90%, transparent); }
.hover\:bg-accent\/50:hover { background-color: color-mix(in srgb, var(--accent) 50%, transparent); }
.hover\:text-primary:hover { color: var(--primary); }
.hover\:underline:hover { text-decoration: underline; }
.hover\:border-primary\/40:hover { border-color: color-mix(in srgb, var(--primary) 40%, transparent); }
.hover\:shadow-lg:hover { box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1); }
.hover\:shadow-primary\/10:hover { box-shadow: 0 10px 15px -3px color-mix(in srgb, var(--primary) 10%, transparent), 0 4px 6px -4px color-mix(in srgb, var(--primary) 10%, transparent); }
.group:hover .group-hover\:translate-x-1 { transform: translateX(0.25rem); }

/* Focus states */
.focus-visible\:border-ring:focus-visible { border-color: var(--ring); }
.focus-visible\:ring-ring\/50:focus-visible { box-shadow: 0 0 0 3px color-mix(in srgb, var(--ring) 50%, transparent); }
.focus-visible\:ring-\[3px\]:focus-visible { box-shadow: 0 0 0 3px var(--ring); }
.focus-visible\:ring-destructive\/20:focus-visible { box-shadow: 0 0 0 3px color-mix(in srgb, var(--destructive) 20%, transparent); }
.focus-visible\:ring-destructive\/40:focus-visible { box-shadow: 0 0 0 3px color-mix(in srgb, var(--destructive) 40%, transparent); }
.focus\:outline-hidden:focus { outline: 2px solid transparent; outline-offset: 2px; }
.focus\:ring-2:focus { box-shadow: 0 0 0 2px var(--ring); }
.focus\:ring-ring:focus { box-shadow: 0 0 0 2px var(--ring); }
.focus\:ring-offset-2:focus { box-shadow: 0 0 0 2px var(--ring), 0 0 0 4px var(--background); }

/* Disabled states */
.disabled\:pointer-events-none:disabled { pointer-events: none; }
.disabled\:opacity-50:disabled { opacity: 0.5; }

/* Responsive */
@media (min-width: 640px) {
  .sm\:flex-row { flex-direction: row; }
  .sm\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (min-width: 768px) {
  .md\:flex { display: flex; }
  .md\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .md\:flex-row { flex-direction: row; }
  .md\:text-4xl { font-size: 2.25rem; line-height: 2.5rem; }
  .md\:text-6xl { font-size: 3.75rem; line-height: 1; }
  .md\:text-xl { font-size: 1.25rem; line-height: 1.75rem; }
}

@media (min-width: 1024px) {
  .lg\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .lg\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .lg\:text-7xl { font-size: 4.5rem; line-height: 1; }
}

/* Container */
.container { width: 100%; margin-left: auto; margin-right: auto; padding-left: 1rem; padding-right: 1rem; }
@media (min-width: 640px) { .container { max-width: 640px; } }
@media (min-width: 768px) { .container { max-width: 768px; } }
@media (min-width: 1024px) { .container { max-width: 1024px; } }
@media (min-width: 1280px) { .container { max-width: 1280px; } }
@media (min-width: 1536px) { .container { max-width: 1536px; } }

/* Card components */
.card { background-color: var(--card); color: var(--card-foreground); }
.card-header { padding: 1.5rem; }
.card-content { padding: 1.5rem; }
.card-footer { padding: 1.5rem; }

/* Button components */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; white-space: nowrap; border-radius: 0.5rem; font-size: 0.875rem; font-weight: 500; transition: all 150ms cubic-bezier(0.4, 0, 0.2, 1); }
.btn:disabled { pointer-events: none; opacity: 0.5; }
.btn-primary { background-color: white; color: #374151; border: none; }
.btn-primary:hover { background-color: #f9fafb; }
.btn-secondary { background-color: white; color: #374151; border: none; }
.btn-secondary:hover { background-color: #f9fafb; }
.btn-outline { border: 1px solid var(--border); background-color: var(--background); box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05); }
.btn-outline:hover { background-color: var(--accent); color: var(--accent-foreground); }

/* Badge components */
.badge { display: inline-flex; align-items: center; border-radius: 9999px; border: 1px solid transparent; padding: 0.125rem 0.625rem; font-size: 0.75rem; font-weight: 600; transition: colors 150ms cubic-bezier(0.4, 0, 0.2, 1); }
.badge-primary { background-color: var(--primary); color: var(--primary-foreground); }
.badge-primary:hover { background-color: color-mix(in srgb, var(--primary) 80%, transparent); }

/* Prose */
.prose { color: var(--foreground); max-width: 65ch; }
.prose-invert { color: var(--foreground); }
.prose h1, .prose h2, .prose h3, .prose h4, .prose h5, .prose h6 { color: var(--foreground); font-weight: 600; }
.prose p { color: var(--muted-foreground); line-height: 1.625; }

/* Utilities */
.shrink-0 { flex-shrink: 0; }
.whitespace-nowrap { white-space: nowrap; }
.antialiased { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
.font-sans { font-family: 'Inter', ui-sans-serif, system-ui, sans-serif; }

/* Lucide icons */
[data-lucide] { display: inline-block; }

/* Custom button styles for "Acheter maintenant" */
.buy-button {
    background-color: white;
    color: #374151;
    border: none;
    border-radius: 0.5rem;
    padding: 0.75rem 1.5rem;
    font-weight: 500;
    font-size: 0.875rem;
    transition: all 150ms ease;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto;
    min-width: 200px;
    text-decoration: none;
}

.buy-button:hover {
    background-color: #f9fafb;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Animations pour les cartes de fonctionnalités */
.feature-card {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-card {
    transition: none;
}

.feature-card.animate {
    opacity: 1;
    transform: translateX(0);
}

/* Animation en cascade pour les cartes */
.feature-card:nth-child(1) { transition-delay: 0.1s; }
.feature-card:nth-child(2) { transition-delay: 0.2s; }
.feature-card:nth-child(3) { transition-delay: 0.3s; }
.feature-card:nth-child(4) { transition-delay: 0.4s; }
.feature-card:nth-child(5) { transition-delay: 0.5s; }
.feature-card:nth-child(6) { transition-delay: 0.6s; }

/* Animations pour les cartes de statistiques */
.stat-card {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.stat-card {
    transition: none;
}

.stat-card.animate {
    opacity: 1;
    transform: translateY(0);
}

/* Animation en cascade pour les stats */
.stat-card:nth-child(1) { transition-delay: 0.2s; }
.stat-card:nth-child(2) { transition-delay: 0.4s; }
.stat-card:nth-child(3) { transition-delay: 0.6s; }

/* Effets de survol pour toutes les cartes */
.group:hover {
    border-color: rgba(255, 255, 255, 0.6) !important;
    box-shadow: 0 8px 20px rgba(255, 255, 255, 0.15) !important;
    transform: translateY(-3px);
}

/* Effet de survol spécifique pour les cartes */
.feature-card:hover,
.stat-card:hover {
    border-color: rgba(255, 255, 255, 0.6) !important;
    box-shadow: 0 8px 20px rgba(255, 255, 255, 0.15) !important;
    transform: translateY(-3px);
}

