/* 
    Luckyskart - Premium Multi-Vendor Marketplace Architecture
    Style System: Luxury Glassmorphism 2.0
*/

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

:root {
    /* Color Palette: Slate & Gold */
    --primary-color: #f39c12;    /* Vibrant Gold */
    --primary-hover: #e67e22;
    --accent-emerald: #10b981;  /* High-end Emerald */
    --accent-royal: #6366f1;    /* Deep Royal Blue */
    
    /* Surface Tokens */
    --bg-dark: #020617;          /* Near Black Slate */
    --bg-card: rgba(15, 23, 42, 0.6);
    --bg-surface: rgba(30, 41, 59, 0.4);
    
    /* Text Tokens */
    --text-white: #ffffff;
    --text-light: #f8fafc;
    --text-muted: #94a3b8;       /* Slate-400 */
    --text-dim: #64748b;         /* Slate-500 */
    
    /* Effects */
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-shimmer: linear-gradient(135deg, rgba(255,255,255,0.05), transparent);
    
    /* Shadows & Rounds */
    --shadow-luxury: 0 20px 50px rgba(0, 0, 0, 0.4);
    --shadow-glow: 0 0 30px rgba(243, 156, 18, 0.15);
    --radius-pill: 9999px;
    --radius-xl: 24px;
    --radius-lg: 16px;
    
    /* Motion */
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --motion-smooth: cubic-bezier(0.16, 1, 0.3, 1);
}

/* Base resets */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-light);
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, .outfit {
    font-family: 'Outfit', sans-serif;
}

/* Glassmorphism Classes */
.glass {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
}

.glass-premium {
    background: linear-gradient(160deg, rgba(255,255,255,0.05), rgba(255,255,255,0.01));
    backdrop-filter: blur(25px);
    border: 1px solid rgba(255,255,255,0.1);
    box-shadow: var(--shadow-luxury);
}

/* Container & Sections */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

section {
    padding: 8rem 0;
}

/* Navigation Overhaul */
header {
    position: fixed;
    top: 1.5rem;
    left: 2rem;
    right: 2rem;
    z-index: 1000;
    margin: 0 auto;
    max-width: 1300px;
}

.nav-glass {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2.5rem;
    border-radius: var(--radius-pill);
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(15px);
    border: 1px solid var(--glass-border);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.logo {
    font-size: 1.8rem;
    font-weight: 800;
    font-family: 'Outfit', sans-serif;
    letter-spacing: -1.5px;
    background: linear-gradient(135deg, #f39c12, #ffeb3b);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-decoration: none;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
    align-items: center;
}

.nav-links a {
    color: var(--text-white);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    opacity: 0.8;
    transition: var(--transition);
}

.nav-links a:hover {
    opacity: 1;
    color: var(--primary-color);
}

/* Marketplace Hero */
.hero-premium {
    min-height: 90vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 5rem;
    background: radial-gradient(circle at top right, rgba(243, 156, 18, 0.08), transparent 40%);
}

.hero-content h1 {
    font-size: clamp(3.5rem, 8vw, 6rem);
    font-weight: 900;
    letter-spacing: -3.5px;
    line-height: 0.95;
    margin-bottom: 2rem;
}

.hero-content p {
    font-size: 1.35rem;
    color: var(--text-muted);
    max-width: 550px;
    margin-bottom: 3.5rem;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.2rem;
    background: rgba(243, 156, 18, 0.1);
    color: var(--primary-color);
    border-radius: var(--radius-pill);
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 2rem;
}

/* Premium Product Cards */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 3rem;
}

.luxury-card {
    background: var(--bg-card);
    border-radius: var(--radius-xl);
    overflow: hidden;
    position: relative;
    transition: var(--transition);
    border: 1px solid var(--glass-border);
}

.luxury-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--glass-shimmer);
    opacity: 0;
    transition: var(--transition);
    pointer-events: none;
}

.luxury-card:hover {
    transform: translateY(-15px) scale(1.02);
    border-color: rgba(243, 156, 18, 0.3);
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.5), var(--shadow-glow);
}

.luxury-card:hover::before {
    opacity: 1;
}

.card-img-wrapper {
    height: 380px;
    overflow: hidden;
    position: relative;
}

.card-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.2s var(--motion-smooth);
}

.luxury-card:hover .card-img-wrapper img {
    transform: scale(1.15);
}

.card-content {
    padding: 2.5rem;
}

.badge-tag {
    font-size: 0.75rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-dim);
    margin-bottom: 1rem;
    display: block;
}

.btn-luxury {
    background: var(--text-white);
    color: var(--bg-dark);
    padding: 1.2rem 2.5rem;
    border-radius: var(--radius-pill);
    font-weight: 800;
    text-decoration: none;
    transition: var(--transition);
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
}

.btn-luxury:hover {
    background: var(--primary-color);
    color: #fff;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 30px rgba(243, 156, 18, 0.3);
}

/* Footer Premium */
footer {
    background: linear-gradient(to bottom, transparent, var(--bg-card));
    padding: 10rem 0 4rem;
    border-top: 1px solid var(--glass-border);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 6rem;
}

.footer-header h4 {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--text-white);
    margin-bottom: 2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Utilities */
.gradient-text {
    background: linear-gradient(135deg, #f39c12, #ffeb3b, #f39c12);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 200% auto;
    animation: flow 5s linear infinite;
}

@keyframes flow {
    to { background-position: 200% center; }
}

.animate-up {
    opacity: 0;
    transform: translateY(40px);
    transition: all 1s var(--motion-smooth);
}

.animate-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Animations Trigger Hooks */
[data-scroll] {
    opacity: 0;
    transition: opacity 1s var(--motion-smooth), transform 1s var(--motion-smooth);
}

[data-scroll="in"] {
    opacity: 1;
    transform: translateY(0);
}
