/* Base Variables */
:root {
    --bg-dark: #0a0f1a;
    --text-light: #e0e6ed;
    --accent: #00d2ff;
    --accent-secondary: #3a7bd5;
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', sans-serif;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Glassmorphism Navbar */
.glass-nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(10, 15, 26, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--glass-border);
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 {
    font-size: 1.8rem;
    color: var(--text-light);
    font-weight: 700;
    letter-spacing: 1px;
}

.logo span {
    font-size: 0.8rem;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.nav-links a {
    color: var(--text-light);
    text-decoration: none;
    margin: 0 1.5rem;
    font-weight: 400;
    transition: color 0.3s;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--accent);
}

.cart-icon {
    font-size: 1.2rem;
    cursor: pointer;
    background: var(--glass-bg);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    border: 1px solid var(--glass-border);
    transition: all 0.3s;
}

.cart-icon:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

#cart-count {
    color: var(--accent);
    font-weight: bold;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    padding-top: 80px;
}

.hero-content {
    flex: 1;
}

.badge {
    background: linear-gradient(45deg, var(--accent-secondary), var(--accent));
    color: #fff;
    padding: 0.3rem 1rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 1rem;
}

.hero h2 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.highlight {
    background: linear-gradient(45deg, var(--accent), var(--accent-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.2rem;
    color: #a0aabf;
    margin-bottom: 2rem;
    max-width: 500px;
}

.btn-primary {
    background: var(--accent);
    color: #000;
    border: none;
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(0, 210, 255, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 210, 255, 0.5);
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    position: relative;
}

.glow-orb {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(0,210,255,0.2) 0%, rgba(10,15,26,0) 70%);
    position: absolute;
    z-index: -1;
}

/* Sections */
.section {
    padding: 100px 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-light);
}

.section-header p {
    color: #a0aabf;
    font-size: 1.1rem;
}

/* Category Filters */
.category-filters {
    margin-top: 2rem;
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.filter-btn {
    background: transparent;
    color: var(--text-light);
    border: 1px solid var(--glass-border);
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 0.9rem;
}

.filter-btn:hover, .filter-btn.active {
    background: rgba(0, 210, 255, 0.1);
    border-color: var(--accent);
    color: var(--accent);
}

/* Products Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
}

.product-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s;
    backdrop-filter: blur(10px);
}

.product-card:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 210, 255, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.product-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 1.5rem;
    background: rgba(255, 255, 255, 0.02);
}

.product-title {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.product-price {
    font-size: 1.3rem;
    color: var(--accent);
    font-weight: 700;
    margin-bottom: 1rem;
}

.btn-add-cart {
    background: transparent;
    color: var(--text-light);
    border: 1px solid var(--accent);
    padding: 0.6rem 1.5rem;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s;
    width: 100%;
    font-weight: 600;
}

.btn-add-cart:hover {
    background: var(--accent);
    color: #000;
}

/* Modal / Checkout */
.modal {
    display: none; 
    position: fixed; 
    z-index: 2000; 
    left: 0;
    top: 0;
    width: 100%; 
    height: 100%; 
    background-color: rgba(0,0,0,0.8); 
    backdrop-filter: blur(5px);
}

.modal-content {
    background: var(--bg-dark);
    margin: 10% auto; 
    padding: 2rem;
    border: 1px solid var(--accent);
    border-radius: 20px;
    width: 90%; 
    max-width: 500px;
    position: relative;
    box-shadow: 0 0 30px rgba(0, 210, 255, 0.2);
}

.close-btn {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close-btn:hover {
    color: var(--accent);
}

.cart-items {
    margin-top: 1.5rem;
    max-height: 200px;
    overflow-y: auto;
    border-bottom: 1px solid var(--glass-border);
    padding-bottom: 1rem;
}

.cart-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.cart-total {
    margin: 1rem 0;
    text-align: right;
    color: var(--accent);
}

.checkout-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.checkout-form input, .checkout-form textarea {
    width: 100%;
    padding: 0.8rem;
    border-radius: 10px;
    border: 1px solid var(--glass-border);
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-light);
    font-size: 1rem;
}

.checkout-form input:focus, .checkout-form textarea:focus {
    outline: none;
    border-color: var(--accent);
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 120px;
    }
    
    .hero h2 {
        font-size: 2.5rem;
    }
    
    .hero p {
        margin: 0 auto 2rem auto;
    }
    
    .hero-image {
        margin-top: 2rem;
    }

    .nav-container {
        flex-wrap: wrap;
    }

    .nav-links {
        display: none; /* Can implement hamburger menu later */
    }
    
    .section {
        padding: 60px 1rem;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
}

.floating-whatsapp {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    border-radius: 50px;
    text-align: center;
    box-shadow: 2px 2px 10px rgba(0,0,0,0.3);
    z-index: 1000;
    transition: transform 0.3s;
}

.floating-whatsapp:hover {
    transform: scale(1.1);
}

.floating-whatsapp img {
    margin-top: 10px;
    width: 40px;
    height: 40px;
}