:root {
    --bg-dark: #050505;
    --bg-card: #0d0d0d;
    --text-main: #f0f0f0;
    --text-dim: #a0a0a0;
    --neon-cyan: #00f3ff;
    --neon-pink: #ff00ff;
    --neon-purple: #9d00ff;
    --font-main: 'Outfit', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* Background grid effect */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-image: 
        linear-gradient(rgba(0, 243, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 243, 255, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    z-index: -1;
    pointer-events: none;
}

a {
    text-decoration: none;
    color: inherit;
}

/* Header */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 5%;
    background: rgba(5, 5, 5, 0.8);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid rgba(0, 243, 255, 0.2);
    box-shadow: 0 4px 30px rgba(0, 243, 255, 0.1);
}

.logo {
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: 2px;
    color: var(--neon-cyan);
    text-shadow: 0 0 10px var(--neon-cyan), 0 0 20px rgba(0, 243, 255, 0.5);
    cursor: pointer;
}

.logo span {
    color: var(--neon-pink);
    text-shadow: 0 0 10px var(--neon-pink), 0 0 20px rgba(255, 0, 255, 0.5);
}

.nav {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.nav-link {
    font-size: 1.1rem;
    font-weight: 600;
    transition: color 0.3s;
    position: relative;
    display: flex;
    align-items: center;
}

.nav-link:hover {
    color: var(--neon-cyan);
    text-shadow: 0 0 8px var(--neon-cyan);
}

.cart-count {
    background: var(--neon-pink);
    color: #fff;
    padding: 2px 10px;
    border-radius: 12px;
    font-size: 0.9rem;
    margin-left: 8px;
    box-shadow: 0 0 10px var(--neon-pink);
    transition: transform 0.2s;
}

.nav-btn {
    padding: 0.7rem 1.8rem;
    background: transparent;
    border: 2px solid var(--neon-purple);
    color: var(--text-main);
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-btn:hover {
    background: var(--neon-purple);
    box-shadow: 0 0 20px var(--neon-purple), inset 0 0 10px rgba(255, 255, 255, 0.5);
    color: #fff;
    transform: translateY(-2px);
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 6rem 2rem 4rem;
    position: relative;
}

.hero h1 {
    font-size: 4.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--neon-cyan), var(--neon-pink), var(--neon-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 30px rgba(0, 243, 255, 0.3);
}

.hero p {
    font-size: 1.3rem;
    color: var(--text-dim);
    max-width: 650px;
    margin: 0 auto;
}

/* Products Grid */
.products {
    padding: 3rem 5% 7rem;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 3.5rem;
    max-width: 1400px;
    margin: 0 auto;
}

.product-card {
    background: var(--bg-card);
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    flex-direction: column;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    border-radius: 16px;
    padding: 2px;
    background: linear-gradient(135deg, transparent, transparent, transparent);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    transition: all 0.4s ease;
    z-index: 2;
    pointer-events: none;
}

.product-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
}

.product-card:nth-child(1):hover::before { background: linear-gradient(45deg, var(--neon-cyan), transparent); box-shadow: 0 0 20px var(--neon-cyan) inset; }
.product-card:nth-child(2):hover::before { background: linear-gradient(45deg, var(--neon-purple), transparent); box-shadow: 0 0 20px var(--neon-purple) inset; }
.product-card:nth-child(3):hover::before { background: linear-gradient(45deg, var(--neon-pink), transparent); box-shadow: 0 0 20px var(--neon-pink) inset; }
.product-card:nth-child(4):hover::before { background: linear-gradient(45deg, var(--neon-cyan), transparent); box-shadow: 0 0 20px var(--neon-cyan) inset; }

.product-card:hover .product-image img {
    transform: scale(1.08);
}

.product-image {
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: #000;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.product-info {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    z-index: 1;
}

.product-info h3 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
}

.price {
    font-size: 1.8rem;
    color: var(--neon-cyan);
    font-weight: 800;
    margin-bottom: 2rem;
    text-shadow: 0 0 8px rgba(0, 243, 255, 0.4);
}

.add-to-cart {
    margin-top: auto;
    width: 100%;
    padding: 1.2rem;
    background: rgba(0, 243, 255, 0.05);
    color: #fff;
    border: 1px solid rgba(0, 243, 255, 0.3);
    border-radius: 8px;
    font-size: 1.1rem;
    font-family: inherit;
    font-weight: 600;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.add-to-cart::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: var(--neon-cyan);
    z-index: -1;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s cubic-bezier(0.19, 1, 0.22, 1);
}

.add-to-cart:hover {
    color: #000;
    border-color: var(--neon-cyan);
    box-shadow: 0 0 20px rgba(0, 243, 255, 0.6);
}

.add-to-cart:hover::after {
    transform: scaleX(1);
}

/* Footer */
.footer {
    background: #080808;
    padding: 4rem 5% 2rem;
    border-top: 1px solid rgba(255, 0, 255, 0.2);
    box-shadow: 0 -10px 30px rgba(255, 0, 255, 0.05);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

.footer-logo {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--neon-cyan);
    margin-bottom: 1rem;
}

.footer-logo span {
    color: var(--neon-pink);
}

.footer-links, .contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.footer-links a {
    color: var(--text-dim);
    transition: color 0.3s, text-shadow 0.3s;
    width: fit-content;
}

.footer-links a:hover {
    color: var(--neon-pink);
    text-shadow: 0 0 8px var(--neon-pink);
}

.contact-info p {
    color: var(--text-dim);
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-bottom {
    text-align: center;
    color: var(--text-dim);
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.95rem;
}

@media (max-width: 768px) {
    .header {
        flex-direction: column;
        gap: 1.5rem;
        padding: 1.5rem 2rem;
    }
    
    .hero h1 {
        font-size: 3rem;
    }
    
    .nav {
        gap: 1.5rem;
    }
}
