:root {
    /* OKLCH Color Palette from V0 globals.css */
    --background: oklch(0.98 0 0);
    --foreground: oklch(0.2 0 0);
    --card: oklch(1 0 0);
    --card-foreground: oklch(0.2 0 0);
    --popover: oklch(1 0 0);
    --popover-foreground: oklch(0.2 0 0);
    --primary: oklch(0.35 0.08 15);
    --primary-foreground: oklch(0.98 0 0);
    --secondary: oklch(0.92 0 0);
    --secondary-foreground: oklch(0.2 0 0);
    --muted: oklch(0.94 0 0);
    --muted-foreground: oklch(0.5 0 0);
    --accent: oklch(0.42 0.12 25);
    --accent-foreground: oklch(0.98 0 0);
    --destructive: oklch(0.577 0.245 27.325);
    --destructive-foreground: oklch(0.577 0.245 27.325);
    --border: oklch(0.89 0 0);
    --input: oklch(0.89 0 0);
    --ring: oklch(0.35 0.08 15);
    --chart-1: oklch(0.35 0.08 15);
    --chart-2: oklch(0.42 0.12 25);
    --chart-3: oklch(0.88 0.15 85);
    --chart-4: oklch(0.5 0 0);
    --chart-5: oklch(0.3 0 0);
    --radius: 0.75rem;
}

.dark {
    --background: oklch(0.15 0 0);
    --foreground: oklch(0.98 0 0);
    --card: oklch(0.18 0 0);
    --card-foreground: oklch(0.98 0 0);
    --popover: oklch(0.18 0 0);
    --popover-foreground: oklch(0.98 0 0);
    --primary: oklch(0.42 0.12 25);
    --primary-foreground: oklch(0.98 0 0);
    --secondary: oklch(0.25 0 0);
    --secondary-foreground: oklch(0.98 0 0);
    --muted: oklch(0.25 0 0);
    --muted-foreground: oklch(0.65 0 0);
    --accent: oklch(0.35 0.08 15);
    --accent-foreground: oklch(0.98 0 0);
    --destructive: oklch(0.396 0.141 25.723);
    --destructive-foreground: oklch(0.637 0.237 25.331);
    --border: oklch(0.25 0 0);
    --input: oklch(0.25 0 0);
    --ring: oklch(0.42 0.12 25);
}

body {
    background-color: var(--background);
    color: var(--foreground);
    font-family: "Inter", sans-serif;
    -webkit-font-smoothing: antialiased;
    margin: 0;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

.font-serif {
    font-family: "Libre Baskerville", serif;
}

/* Base Utilities */
.min-h-screen {
    min-height: 100vh;
}

.w-full {
    width: 100%;
}

.h-full {
    height: 100%;
}

.flex {
    display: flex;
}

.flex-col {
    flex-direction: column;
}

.flex-1 {
    flex: 1 1 0%;
}

.flex-shrink-0 {
    flex-shrink: 0;
}

.items-center {
    align-items: center;
}

.items-start {
    align-items: flex-start;
}

.justify-center {
    justify-content: center;
}

.justify-between {
    justify-content: space-between;
}

.grid {
    display: grid;
}

.grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.gap-2 {
    gap: 0.5rem;
}

.gap-3 {
    gap: 0.75rem;
}

.gap-4 {
    gap: 1rem;
}

.p-4 {
    padding: 1rem;
}

.p-6 {
    padding: 1.5rem;
}

.px-4 {
    padding-left: 1rem;
    padding-right: 1rem;
}

.px-6 {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

.py-3 {
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
}

.py-4 {
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.py-6 {
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
}

.mb-1 {
    margin-bottom: 0.25rem;
}

.mb-2 {
    margin-bottom: 0.5rem;
}

.mb-3 {
    margin-bottom: 0.75rem;
}

.mb-4 {
    margin-bottom: 1rem;
}

.mb-6 {
    margin-bottom: 1.5rem;
}

.mt-0\.5 {
    margin-top: 0.125rem;
}

.mt-8 {
    margin-top: 2rem;
}

.-mt-8 {
    margin-top: -2rem;
}

.relative {
    position: relative;
}

.absolute {
    position: absolute;
}

.inset-0 {
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}

.z-10 {
    z-index: 10;
}

.z-20 {
    z-index: 20;
}

.z-50 {
    z-index: 50;
}

.overflow-hidden {
    overflow: hidden;
}

.text-center {
    text-align: center;
}

.text-white {
    color: white;
}

.text-white\/90 {
    color: oklch(0.98 0 0 / 0.9);
}

.bg-gradient-to-b {
    background-image: linear-gradient(to bottom, var(--tw-gradient-stops));
}

.from-primary {
    --tw-gradient-from: var(--primary);
    --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgb(255 255 255 / 0));
}

.to-primary\/90 {
    --tw-gradient-to: color-mix(in oklch, var(--primary), transparent 10%);
}

.object-cover {
    object-fit: cover;
}

.opacity-20 {
    opacity: 0.2;
}

.backdrop-blur-sm {
    backdrop-filter: blur(4px);
}

.border {
    border-width: 1px;
}

/* Text Sizing & Weights */
.text-xs {
    font-size: 0.75rem;
    line-height: 1rem;
}

.text-sm {
    font-size: 0.875rem;
    line-height: 1.25rem;
}

.text-base {
    font-size: 1rem;
    line-height: 1.5rem;
}

.text-lg {
    font-size: 1.125rem;
    line-height: 1.75rem;
}

.text-2xl {
    font-size: 1.5rem;
    line-height: 2rem;
}

.text-3xl {
    font-size: 1.875rem;
    line-height: 2.25rem;
}

.font-medium {
    font-weight: 500;
}

.font-semibold {
    font-weight: 600;
}

.font-bold {
    font-weight: 700;
}

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

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

.text-muted-foreground {
    color: var(--muted-foreground);
}

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

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

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

.bg-primary\/10 {
    background-color: color-mix(in oklch, var(--primary), transparent 90%);
}

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

.border-primary\/20 {
    border-color: color-mix(in oklch, var(--primary), transparent 80%);
}

.rounded-xl {
    border-radius: 0.75rem;
}

.rounded-2xl {
    border-radius: 1rem;
}

.rounded-lg {
    border-radius: var(--radius);
}

.rounded-full {
    border-radius: 9999px;
}

.shadow-lg {
    box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1);
}

.shadow-2xl {
    box-shadow: 0 25px 50px -12px rgb(0 0 0 / 0.25);
}

/* Height Utilities */
.h-5 {
    height: 1.25rem;
}

.w-5 {
    width: 1.25rem;
}

.h-10 {
    height: 2.5rem;
}

.w-10 {
    width: 2.5rem;
}

.h-12 {
    height: 3rem;
}

.h-56 {
    height: 14rem;
}

/* Card Component */
.card {
    border-radius: var(--radius);
    border: 1px solid var(--border);
    background-color: var(--card);
    color: var(--card-foreground);
    box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
}

/* Button & Input */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius);
    font-weight: 500;
    transition: all 0.2s;
    cursor: pointer;
    border: none;
    font-size: 0.875rem;
    line-height: 1.25rem;
    padding: 0.5rem 1rem;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--primary-foreground);
}

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

.btn-primary:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.btn-ghost {
    background-color: transparent;
    color: var(--foreground);
}

.btn-ghost:hover {
    background-color: var(--muted);
}

.input {
    display: block;
    height: 3rem;
    width: 100%;
    border-radius: var(--radius);
    border: 1px solid var(--input);
    background-color: transparent;
    padding: 0.5rem 0.75rem;
    font-size: 1rem;
    transition: border-color 0.2s;
    color: var(--foreground);
}

.input:focus {
    outline: none;
    border-color: var(--ring);
    box-shadow: 0 0 0 2px var(--ring);
}

.pr-12 {
    padding-right: 3rem;
}

/* Animations from V0 */
.animate-fade-in {
    animation: fadeIn 0.8s ease-out;
}

.animate-scale-in {
    animation: scaleIn 0.6s ease-out;
}

.animate-slide-up {
    animation: slideUp 0.8s ease-out 0.3s both;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes scaleIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        transform: translateY(20px);
        opacity: 0;
    }

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

/* Pulse Animation */
.animate-ping-slow {
    animation: ping 2s cubic-bezier(0, 0, 0.2, 1) infinite;
}

@keyframes ping {

    75%,
    100% {
        transform: scale(2);
        opacity: 0;
    }
}

/* Embla Carousel Styles */
.embla {
    overflow: hidden;
    width: 100%;
}

.embla__container {
    display: flex;
    gap: 1.5rem;
    /* gap-6 equivalent */
    width: 100%;
    /* Ensure container takes width */
    padding-left: 1.5rem;
    /* px-6 equivalent */
    padding-right: 1.5rem;
}

.embla__slide {
    flex: 0 0 280px;
    /* Fixed width cards */
    min-width: 0;
}



/* Missing Tailwind Utilities for Pulse Indicator */
.h-3 {
    height: 0.75rem;
}

.w-3 {
    width: 0.75rem;
}

.bg-green-400 {
    background-color: #4ade80;
}

.bg-green-500 {
    background-color: #22c55e;
}

.opacity-75 {
    opacity: 0.75;
}

.inline-flex {
    display: inline-flex;
}

/* Trending Up Animation */
.animate-trend-up {
    animation: trend-up 1.5s ease-in-out infinite;
}

@keyframes trend-up {

    0%,
    100% {
        transform: translate(0, 0);
    }

    50% {
        transform: translate(3px, -3px);
    }
}

/* Missing Red Utilities for Trending Icon */
.bg-red-100 {
    background-color: #fee2e2;
}

.border-red-200 {
    border-color: #fecaca;
}

.text-red-600 {
    color: #dc2626;
}

.w-5 {
    width: 1.25rem;
}

.h-5 {
    height: 1.25rem;
}

.tracking-tight {
    letter-spacing: -0.025em;
}