/* Modern Theme - Purple/Pink Gradient Design */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&display=swap');

:root {
    --primary: #6366f1;
    --primary-dark: #4f46e5;
    --secondary: #ec4899;
    --accent: #8b5cf6;
    --dark-bg: #0f172a;
    --darker-bg: #020617;
    --card-bg: rgba(30, 41, 59, 0.7);
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --glass-border: rgba(255, 255, 255, 0.1);

    /* Map to existing variable names for compatibility */
    --bg-primary: #020617;
    --bg-secondary: #0f172a;
    --bg-tertiary: #1e293b;
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --accent-primary: #6366f1;
    --accent-secondary: #ec4899;
    --accent-hover: #4f46e5;
    --success: #10b981;
    --danger: #ef4444;
    --warning: #f59e0b;
    --border: rgba(255, 255, 255, 0.1);
    --shadow: rgba(0, 0, 0, 0.5);
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--darker-bg);
    overflow-x: hidden;
}

/* Background Glow Effects */
body::before,
body::after {
    content: '';
    position: fixed;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    pointer-events: none;
    z-index: -1;
    animation: float 10s infinite ease-in-out;
}

body::before {
    top: -100px;
    left: -100px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.15) 0%, rgba(2, 6, 23, 0) 70%);
}

body::after {
    bottom: -100px;
    right: -100px;
    background: radial-gradient(circle, rgba(236, 72, 153, 0.15) 0%, rgba(2, 6, 23, 0) 70%);
    animation-delay: -5s;
}

@keyframes float {

    0%,
    100% {
        transform: translate(0, 0);
    }

    50% {
        transform: translate(30px, 50px);
    }
}

/* Gradient Text Utility */
.gradient-text {
    background: linear-gradient(135deg, #6366f1 0%, #ec4899 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Enhanced Glassmorphism Cards */
.category-card,
.product-card {
    background: var(--card-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    transform: none !important;
}

.category-card:hover,
.product-card:hover {
    border-color: rgba(99, 102, 241, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(99, 102, 241, 0.2);
    transform: none !important;
}

/* Modern Buttons */
.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.4);
}

.btn-primary:hover {
    box-shadow: 0 8px 30px rgba(99, 102, 241, 0.6);
}

/* Navbar Enhancements */
.navbar {
    background: rgba(2, 6, 23, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
}

.navbar.scrolled {
    background: rgba(2, 6, 23, 0.95);
}

/* Hero Section - Modern Style */
.hero-section-modern {
    min-height: 70vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 6rem;
    padding-bottom: 3rem;
}

.hero-content-modern {
    margin: 0;
    max-width: 100%;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: center;
}

.hero-text-modern {
    text-align: left;
}

.hero-text-modern h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    font-weight: 800;
}

.hero-text-modern p {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 600px;
    line-height: 1.8;
}

.hero-buttons-modern {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-image-modern {
    position: relative;
    display: flex;
    justify-content: center;
}

.hero-image-modern img,
.hero-image-modern>div {
    width: 100%;
    border-radius: 24px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    border: 1px solid var(--glass-border);
}

.hero-image-modern>div {
    transform: rotate(-5deg);
    padding: 2rem;
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
}

/* Stats Section */
.stats-modern {
    padding: 4rem 0;
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
    background: rgba(15, 23, 42, 0.5);
    margin-bottom: 6rem;
}

.stats-grid-modern {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    text-align: center;
}

.stat-item-modern h3 {
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(to right, white, var(--text-muted));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.5rem;
}

.stat-item-modern p {
    color: var(--text-muted);
    font-weight: 500;
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

/* Enhanced Product/Category Icons */
.category-icon {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    box-shadow: 0 8px 16px rgba(99, 102, 241, 0.3);
}

/* Responsive */
@media (max-width: 900px) {
    .hero-content-modern {
        grid-template-columns: 1fr !important;
        text-align: center;
        gap: 3rem !important;
    }

    .hero-text-modern {
        text-align: center;
    }

    .hero-text-modern h1 {
        font-size: 2.5rem !important;
    }

    .hero-text-modern p {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-buttons-modern {
        justify-content: center;
    }

    .stats-grid-modern {
        grid-template-columns: repeat(2, 1fr);
    }
}