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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    line-height: 1.6;
}

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

::-webkit-scrollbar-track {
    background: #f4f4f5;
}

::-webkit-scrollbar-thumb {
    background: #a1a1aa;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #71717a;
}

/* Dark mode scrollbar */
.dark ::-webkit-scrollbar-track {
    background: #18181b;
}

.dark ::-webkit-scrollbar-thumb {
    background: #3f3f46;
}

.dark ::-webkit-scrollbar-thumb:hover {
    background: #52525b;
}

/* Category accent bar */
.category-accent {
    width: 4px;
    border-radius: 2px;
    background: #f59e0b;
}

/* Product card animations */
.product-card {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px -12px rgba(0, 0, 0, 0.1);
}

.dark .product-card:hover {
    box-shadow: 0 20px 40px -12px rgba(0, 0, 0, 0.4);
}

/* FAQ details */
details summary {
    cursor: pointer;
    list-style: none;
}

details summary::-webkit-details-marker {
    display: none;
}

details summary::marker {
    display: none;
}

details[open] summary .faq-arrow {
    transform: rotate(180deg);
}

details[open] .faq-content {
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

.animate-delay-100 { animation-delay: 0.1s; }
.animate-delay-200 { animation-delay: 0.2s; }
.animate-delay-300 { animation-delay: 0.3s; }
.animate-delay-400 { animation-delay: 0.4s; }

/* Stock badge */
.stock-badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 12px;
    background: #f0fdf4;
    color: #16a34a;
    border: 1px solid #bbf7d0;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 500;
    white-space: nowrap;
}

.dark .stock-badge {
    background: rgba(34, 197, 94, 0.1);
    color: #4ade80;
    border-color: rgba(34, 197, 94, 0.2);
}

/* How it works icon */
.how-it-works-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: #f4f4f5;
    color: #3f3f46;
    transition: all 0.3s ease;
}

.dark .how-it-works-icon {
    background: #27272a;
    color: #a1a1aa;
}

/* FAQ divider */
.faq-divider {
    width: 48px;
    height: 4px;
    background: #18181b;
    border-radius: 2px;
    margin: 12px auto 0;
}

.dark .faq-divider {
    background: #e4e4e7;
}

/* Language dropdown animation */
.lang-dropdown-enter {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

/* Mobile adjustments */
@media (max-width: 640px) {
    .product-card:hover {
        transform: translateY(-2px);
    }
}
