/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* CSS Variables - Brand Colors */
:root {
    --brand-dark: hsl(0, 0%, 10%);
    --brand-light: hsl(0, 0%, 98%);
    --brand-yellow: hsl(51, 100%, 50%);
    --brand-yellow-hover: hsl(39, 100%, 50%);
    --brand-green: hsl(140, 100%, 39%);
    --brand-red: hsl(354, 70%, 59%);
    --text-primary: hsl(0, 0%, 13%);
    --text-secondary: hsl(0, 0%, 33%);
    --text-muted: hsl(0, 0%, 80%);
}

/* Utility Classes */
.min-h-screen { min-height: 100vh; }
.container { max-width: 1200px; margin: 0 auto; }
.mx-auto { margin-left: auto; margin-right: auto; }
.text-center { text-align: center; }
.relative { position: relative; }
.absolute { position: absolute; }
.fixed { position: fixed; }
.inset-0 { top: 0; right: 0; bottom: 0; left: 0; }
.z-10 { z-index: 10; }
.z-50 { z-index: 50; }
.overflow-hidden { overflow: hidden; }
.block { display: block; }
.inline-block { display: inline-block; }
.inline-flex { display: inline-flex; }
.flex { display: flex; }
.grid { display: grid; }
.hidden { display: none; }

/* Background Colors */
.bg-brand-light { background-color: var(--brand-light); }
.bg-brand-dark { background-color: var(--brand-dark); }
.bg-brand-yellow { background-color: var(--brand-yellow); }
.bg-brand-green { background-color: var(--brand-green); }
.bg-white { background-color: white; }
.bg-gray-50 { background-color: #f9fafb; }
.bg-green-50 { background-color: #f0fdf4; }
.bg-white-10 { background-color: rgba(255, 255, 255, 0.1); }
.bg-red-500-20 { background-color: rgba(239, 68, 68, 0.2); }

/* Text Colors */
.text-white { color: white; }
.text-black { color: black; }
.text-text-primary { color: var(--text-primary); }
.text-text-secondary { color: var(--text-secondary); }
.text-text-muted { color: var(--text-muted); }
.text-brand-yellow { color: var(--brand-yellow); }
.text-brand-green { color: var(--brand-green); }
.text-brand-red { color: var(--brand-red); }
.text-blue-500 { color: #3b82f6; }

/* Background Gradients */
.bg-gradient {
    background: linear-gradient(135deg, var(--brand-dark) 0%, #1a1a1a 50%, var(--brand-dark) 100%);
    opacity: 0.9;
}

.bg-gradient-to-b {
    background: linear-gradient(to bottom, white 0%, #f9fafb 100%);
}

.bg-gradient-final {
    background: linear-gradient(135deg, var(--brand-dark) 0%, #1a1a1a 50%, var(--brand-dark) 100%);
}

/* Spacing */
.p-4 { padding: 1rem; }
.p-6 { padding: 1.5rem; }
.p-8 { padding: 2rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.px-8 { padding-left: 2rem; padding-right: 2rem; }
.px-12 { padding-left: 3rem; padding-right: 3rem; }
.py-3 { padding-top: 0.75rem; padding-bottom: 0.75rem; }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.py-5 { padding-top: 1.25rem; padding-bottom: 1.25rem; }
.py-12 { padding-top: 3rem; padding-bottom: 3rem; }
.py-16 { padding-top: 4rem; padding-bottom: 4rem; }

.m-2 { margin: 0.5rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-12 { margin-bottom: 3rem; }
.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }
.mt-12 { margin-top: 3rem; }
.mr-2 { margin-right: 0.5rem; }
.mr-3 { margin-right: 0.75rem; }
.ml-2 { margin-left: 0.5rem; }
.ml-3 { margin-left: 0.75rem; }
.ml-4 { margin-left: 1rem; }

/* Width and Max Width */
.w-full { width: 100%; }
.w-10 { width: 2.5rem; }
.w-12 { width: 3rem; }
.h-auto { height: auto; }
.h-10 { height: 2.5rem; }
.h-12 { height: 3rem; }
.max-w-sm { max-width: 24rem; }
.max-w-md { max-width: 28rem; }
.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; }

/* Typography */
.text-xs { font-size: 0.75rem; }
.text-sm { font-size: 0.875rem; }
.text-lg { font-size: 1.125rem; }
.text-xl { font-size: 1.25rem; }
.text-2xl { font-size: 1.5rem; }
.text-3xl { font-size: 1.875rem; }
.text-4xl { font-size: 2.25rem; }
.text-5xl { font-size: 3rem; }
.text-6xl { font-size: 3.75rem; }

.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }
.italic { font-style: italic; }
.line-through { text-decoration: line-through; }
.leading-tight { line-height: 1.25; }
.leading-relaxed { line-height: 1.625; }

/* Borders and Rounded */
.border { border-width: 1px; }
.border-2 { border-width: 2px; }
.border-t { border-top-width: 1px; }
.border-l-4 { border-left-width: 4px; }
.border-gray-200 { border-color: #e5e7eb; }
.border-gray-300 { border-color: #d1d5db; }
.border-green-200 { border-color: #bbf7d0; }
.border-brand-yellow { border-color: var(--brand-yellow); }
.border-brand-green { border-color: var(--brand-green); }
.border-blue-500 { border-color: #3b82f6; }

.rounded-lg { border-radius: 0.5rem; }
.rounded-xl { border-radius: 0.75rem; }
.rounded-2xl { border-radius: 1rem; }
.rounded-full { border-radius: 9999px; }

/* Shadows */
.shadow-lg { box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05); }
.shadow-xl { box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04); }
.shadow-2xl { box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25); }

/* Hover Effects */
.hover\:shadow-lg:hover { box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05); }
.hover\:shadow-xl:hover { box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04); }
.hover\:shadow-2xl:hover { box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25); }
.hover\:bg-brand-yellow-hover:hover { background-color: var(--brand-yellow-hover); }
.hover\:bg-green-600:hover { background-color: #16a34a; }

/* Group Hover Effects */
.group:hover .group-hover\:shadow-2xl { box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25); }
.group:hover .group-hover\:scale-105 { transform: scale(1.05); }

/* Flexbox and Grid */
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.space-x-4 > * + * { margin-left: 1rem; }
.space-x-6 > * + * { margin-left: 1.5rem; }

.grid.md\:grid-cols-2 { grid-template-columns: 1fr; }
.grid.md\:grid-cols-3 { grid-template-columns: 1fr; }
.gap-8 { gap: 2rem; }

/* Backdrop Blur */
.backdrop-blur { backdrop-filter: blur(8px); }
.backdrop-blur-sm { backdrop-filter: blur(4px); }

/* Object Fit */
.object-cover { object-fit: cover; }

/* Cursor */
.cursor-pointer { cursor: pointer; }

/* Transitions */
.transition-all { transition: all 0.3s ease; }
.duration-300 { transition-duration: 0.3s; }
.duration-500 { transition-duration: 0.5s; }

/* Transform */
.transform { transform: translateX(var(--tw-translate-x, 0)) translateY(var(--tw-translate-y, 0)) rotate(var(--tw-rotate, 0)) scaleX(var(--tw-scale-x, 1)) scaleY(var(--tw-scale-y, 1)); }
.scale-105 { transform: scale(1.05); }
.translate-x-full { transform: translateX(100%); }
.opacity-0 { opacity: 0; }
.opacity-100 { opacity: 1; }

/* Animations */
@keyframes fadeIn {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideUp {
    0% {
        opacity: 0;
        transform: translateY(40px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.animate-fade-in {
    animation: fadeIn 0.8s ease-out forwards;
}

.animate-slide-up {
    animation: slideUp 0.6s ease-out forwards;
}

.animate-pulse {
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.animate-pulse-slow {
    animation: pulse 3s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.animate-bounce-gentle {
    animation: bounce 2s ease-in-out infinite;
}

/* Button Styles */
.purchase-btn, .purchase-btn-final {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
}

.purchase-btn:hover, .purchase-btn-final:hover {
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

/* Responsive Design */
@media (min-width: 768px) {
    .md\:text-6xl { font-size: 3.75rem; }
    .md\:text-5xl { font-size: 3rem; }
    .md\:text-4xl { font-size: 2.25rem; }
    .md\:text-2xl { font-size: 1.5rem; }
    .md\:text-xl { font-size: 1.25rem; }
    .md\:py-5 { padding-top: 1.25rem; padding-bottom: 1.25rem; }
    .md\:px-12 { padding-left: 3rem; padding-right: 3rem; }
    
    .md\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .md\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* Custom Styles */
.antialiased {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Sales Notification Specific Styles */
#sales-notification {
    transition: all 0.3s ease;
}

#sales-notification.opacity-0 {
    opacity: 0;
}

#sales-notification.translate-x-full {
    transform: translateX(100%);
}