/* Premium Frontend Design System */
:root {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --primary-light: #eff6ff;
    --secondary: #64748b;
    --accent: #f59e0b;
    --success: #10b981;
    --danger: #ef4444;
    --bg-main: #f8fafc;
    --white: #ffffff;
    --text-dark: #0f172a;
    --text-main: #334155;
    --text-muted: #64748b;
    --card-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.05);
    --hover-shadow: 0 10px 30px -4px rgba(37, 99, 235, 0.15);
}

body {
    background-color: var(--bg-main);
    color: var(--text-main);
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    line-height: 1.6;
}

/* NAVBAR */
.navbar-premium {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding: 0.85rem 0;
    z-index: 1050; /* Ensure it stays above sticky elements */
}

.navbar-brand-premium {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.025em;
    color: var(--primary) !important;
    display: flex;
    align-items: center;
}

.nav-link-premium {
    font-weight: 600;
    font-size: 0.9375rem;
    color: var(--text-dark) !important;
    padding: 0.5rem 1rem !important;
    transition: color 0.2s;
}

.nav-link-premium:hover {
    color: var(--primary) !important;
}

/* BUTTONS */
.btn-premium {
    padding: 0.625rem 1.5rem;
    font-weight: 600;
    border-radius: 0.625rem;
    transition: all 0.2s ease;
}

.btn-primary-premium {
    background-color: var(--primary);
    border: none;
    color: white;
}

.btn-primary-premium:hover {
    background-color: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
}

/* HERO SECTION */
.hero-premium {
    background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 100%);
    color: white;
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
    margin-bottom: 3rem;
}

.hero-premium::after {
    content: '';
    position: absolute;
    top: 0; right: 0;
    width: 40%; height: 100%;
    background: radial-gradient(circle at 70% 50%, rgba(255,255,255,0.1) 0%, transparent 60%);
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.25rem;
    opacity: 0.9;
    max-width: 600px;
    margin-bottom: 2rem;
}

/* PRODUCT CARDS */
.product-card-premium {
    border: none;
    border-radius: 1.25rem;
    box-shadow: var(--card-shadow);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    background: white;
}

.product-card-premium:hover {
    transform: translateY(-8px);
    box-shadow: var(--hover-shadow);
}

.product-img-container {
    height: 240px;
    overflow: hidden;
    position: relative;
}

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

.product-card-premium:hover .product-img-container img {
    transform: scale(1.1);
}

.badge-sale {
    position: absolute;
    top: 1rem; left: 1rem;
    background: var(--danger);
    color: white;
    padding: 0.35rem 0.75rem;
    border-radius: 0.5rem;
    font-weight: 700;
    font-size: 0.75rem;
    z-index: 10;
}

.price-final-premium {
    color: var(--primary);
    font-weight: 800;
    font-size: 1.2rem;
}

.price-original-premium {
    text-decoration: line-through;
    color: var(--text-muted);
    font-size: 0.875rem;
}

/* SECTION HEADERS */
.section-header-premium {
    margin-bottom: 2.5rem;
}

.section-header-premium h2 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-dark);
    letter-spacing: -0.025em;
    margin-bottom: 0.5rem;
}

.section-accent {
    width: 60px; height: 4px;
    background: var(--primary);
    border-radius: 2px;
}

/* CART BADGE */
.cart-badge-premium {
    background: var(--primary-light);
    color: var(--primary);
    padding: 0.5rem;
    border-radius: 0.75rem;
    position: relative;
    border: 1px solid rgba(37, 99, 235, 0.1);
}

.badge-count {
    position: absolute;
    top: -5px; right: -5px;
    background: var(--danger);
    color: white;
    border-radius: 50%;
    width: 18px; height: 18px;
    font-size: 0.65rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

/* FOOTER */
.footer-premium {
    background: #0f172a;
    color: #94a3b8;
    padding: 5rem 0 2rem;
    margin-top: 5rem;
}

.footer-premium h5 {
    color: white;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.footer-link {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.2s;
    display: block;
    margin-bottom: 0.75rem;
}

.footer-link:hover {
    color: var(--primary);
}
