@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
    --font-primary: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    --primary-gradient: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
    --primary-color: #4f46e5;
    --accent-color: #06b6d4;
    --bg-light: #f8fafc;
    --card-bg-light: #ffffff;
    --text-primary-light: #0f172a;
    --text-muted-light: #64748b;
    --border-color-light: #e2e8f0;
}

[data-bs-theme="dark"] {
    --bg-light: #0f172a;
    --card-bg-light: #1e293b;
    --text-primary-light: #f8fafc;
    --text-muted-light: #94a3b8;
    --border-color-light: #334155;
}

body {
    font-family: var(--font-primary);
    background-color: var(--bg-light);
    color: var(--text-primary-light);
    transition: background-color 0.3s ease, color 0.3s ease;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main {
    flex: 1;
}

/* Glassmorphism & Card Styles */
.glass-card {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(226, 232, 240, 0.8);
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
}

[data-bs-theme="dark"] .glass-card {
    background: rgba(30, 41, 59, 0.85);
    border-color: rgba(51, 65, 85, 0.8);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.product-card {
    border-radius: 16px;
    overflow: hidden;
    transition: transform 0.3s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.3s ease;
    border: 1px solid var(--border-color-light);
    background-color: var(--card-bg-light);
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(79, 70, 229, 0.12);
}

.product-thumb-wrapper {
    position: relative;
    overflow: hidden;
    height: 220px;
    background: linear-gradient(135deg, #1e1b4b 0%, #312e81 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-thumb-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover .product-thumb-wrapper img {
    transform: scale(1.06);
}

/* Hero Section */
.hero-gradient {
    background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 50%, #312e81 100%);
    color: white;
    border-radius: 0 0 32px 32px;
    padding: 5rem 0 6rem 0;
    position: relative;
    overflow: hidden;
}

.hero-gradient::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(124, 58, 237, 0.3) 0%, rgba(0, 0, 0, 0) 70%);
    border-radius: 50%;
}

/* Custom Buttons */
.btn-indigo {
    background: var(--primary-gradient);
    color: white !important;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    padding: 0.75rem 1.75rem;
    transition: all 0.25s ease;
    box-shadow: 0 4px 15px rgba(79, 70, 229, 0.3);
}

.btn-indigo:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(79, 70, 229, 0.45);
    color: white !important;
}

.badge-featured {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: white;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.7rem;
    letter-spacing: 0.5px;
    padding: 0.35rem 0.75rem;
    border-radius: 50px;
}

.badge-category {
    background: rgba(79, 70, 229, 0.1);
    color: #4f46e5;
    font-weight: 600;
    font-size: 0.75rem;
    padding: 0.3rem 0.75rem;
    border-radius: 50px;
}

[data-bs-theme="dark"] .badge-category {
    background: rgba(124, 58, 237, 0.25);
    color: #a78bfa;
}

/* Navbar */
.navbar-custom {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-color-light);
}

[data-bs-theme="dark"] .navbar-custom {
    background: rgba(15, 23, 42, 0.9);
}

/* Rating Stars */
.rating-stars {
    color: #fbbf24;
}

/* Footer */
footer {
    background-color: #090d16;
    color: #94a3b8;
    border-top: 1px solid #1e293b;
}

footer h5 {
    color: #f8fafc;
    font-weight: 700;
}

footer a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.2s ease;
}

footer a:hover {
    color: #38bdf8;
}
