@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

:root {
    --bg-color: #05070a;
    --accent-blue: #2563eb;
    --accent-purple: #7c3aed;
    --accent-pink: #db2777;
    --text-primary: #ffffff;
    --text-secondary: #94a3b8;
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    --transition-slow: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

h1,
h2,
h3,
h4,
.logo,
.cta-button,
.nav-links a {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
}

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    overflow-x: hidden;
    line-height: 1.6;
}

/* Deep Tech Background */
.bg-blobs {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    overflow: hidden;
    background: #05070a;
}

.bg-blobs::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 30%, rgba(37, 99, 235, 0.03), transparent 70%),
        radial-gradient(circle at 80% 70%, rgba(124, 58, 237, 0.03), transparent 70%);
    opacity: 1;
}

.blob {
    position: absolute;
    filter: blur(120px);
    border-radius: 50%;
    opacity: 0.3;
    animation: move 25s infinite alternate ease-in-out;
}

.blob-1 {
    width: 1000px;
    height: 1000px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.15), transparent 70%);
    top: -300px;
    left: -300px;
}

.blob-2 {
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(124, 58, 237, 0.1), transparent 70%);
    bottom: -200px;
    right: -200px;
    animation-delay: -7s;
}

@keyframes move {
    0% {
        transform: translate(0, 0) scale(1);
    }

    50% {
        transform: translate(100px, 50px) scale(1.1);
    }

    100% {
        transform: translate(-50px, 100px) scale(0.9);
    }
}

.blob-1 {
    width: 500px;
    height: 500px;
    background: var(--accent-blue);
    top: -100px;
    left: -100px;
}

.blob-2 {
    width: 400px;
    height: 400px;
    background: var(--accent-purple);
    bottom: -50px;
    right: -50px;
    animation-delay: -5s;
}

.blob-3 {
    width: 300px;
    height: 300px;
    background: var(--accent-pink);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: -10s;
}

@keyframes float {
    0% {
        transform: translate(0, 0) scale(1);
    }

    100% {
        transform: translate(50px, 50px) scale(1.1);
    }
}

/* Navigation */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 5%;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    background: rgba(5, 7, 10, 0.5);
    backdrop-filter: blur(10px);
}

.logo {
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: 1px;
    background: linear-gradient(to right, #60a5fa, #c084fc);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-family: 'Orbitron', sans-serif;
}

/* Social Media Icons */
.social-links {
    display: flex;
    gap: 1.5rem;
    margin-top: 2rem;
    justify-content: center;
}

.social-icon {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-decoration: none;
}

.social-icon:hover {
    background: var(--accent-blue);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 5px 15px rgba(37, 99, 235, 0.4);
}

.social-icon img {
    width: 22px;
    height: 22px;
    filter: invert(1);
}

.cart-icon {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    cursor: pointer;
    background: var(--glass-bg);
    padding: 1rem;
    border-radius: 50%;
    border: 1px solid var(--glass-border);
    transition: var(--transition-fast);
    z-index: 2001;
    box-shadow: 0 0 20px rgba(37, 99, 235, 0.3);
}

.cart-icon:hover {
    background: var(--accent-blue);
    transform: scale(1.1);
}

.cart-count {
    position: absolute;
    top: -5px;
    right: -5px;
    background: var(--accent-pink);
    color: white;
    font-size: 0.7rem;
    padding: 0.2rem 0.5rem;
    border-radius: 50px;
    font-weight: 800;
}

/* Checkout Form in Cart */
.checkout-form {
    display: none;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1rem;
}

.checkout-form.active {
    display: flex;
}

.checkout-form input {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 0.8rem;
    border-radius: 8px;
    color: white;
    font-family: 'Outfit';
}

.back-to-cart {
    cursor: pointer;
    color: var(--text-secondary);
    font-size: 0.8rem;
    margin-bottom: 1rem;
    display: block;
}

.back-to-cart:hover {
    color: var(--text-primary);
}

/* Cart Sidebar */
.cart-sidebar {
    position: fixed;
    top: 0;
    right: -400px;
    width: 400px;
    height: 100vh;
    background: rgba(5, 7, 10, 0.95);
    backdrop-filter: blur(20px);
    border-left: 1px solid var(--glass-border);
    z-index: 2000;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    transition: var(--transition-slow);
}

.cart-sidebar.open {
    right: 0;
}

.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.cart-items {
    flex: 1;
    overflow-y: auto;
    margin-bottom: 2rem;
}

.cart-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    animation: slideIn 0.3s forwards;
}

.cart-item-img {
    width: 80px;
    height: 80px;
    border-radius: 10px;
    background: #111;
}

.cart-footer {
    border-top: 1px solid var(--glass-border);
    padding-top: 2rem;
}

.total-price {
    font-size: 1.5rem;
    font-weight: 800;
    display: flex;
    justify-content: space-between;
    margin-bottom: 1.5rem;
}

/* Animations */
@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(20px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.nav-links {
    display: flex;
    gap: 3rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 500;
    transition: var(--transition-fast);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--text-primary);
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 5%;
    flex-direction: column;
}

.hero h1 {
    font-size: 5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s forwards 0.2s;
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin-bottom: 2.5rem;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s forwards 0.4s;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2rem;
    background: var(--accent-blue);
    color: white;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 600;
    transition: var(--transition-fast);
    box-shadow: 0 10px 20px rgba(37, 99, 235, 0.3);
    border: none;
    cursor: pointer;
}

.cta-button:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 30px rgba(37, 99, 235, 0.5);
}

/* Glass Cards */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(15px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: var(--glass-shadow);
    transition: var(--transition-slow);
}

.glass-card:hover {
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-10px);
}

/* Product Grid */
.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin: 4rem 0 2rem;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
    padding: 0 5% 4rem;
    max-width: 1200px;
    margin: 0 auto;
}

.product-image {
    width: 100%;
    aspect-ratio: 1/1;
    border-radius: 12px;
    background: #0a0c10;
    margin-bottom: 1rem;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.product-card {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
}

.product-card .cta-button {
    margin-top: auto;
    width: 100%;
    padding: 0.8rem;
    text-align: center;
}

.product-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
}

.product-card p {
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.tag {
    display: inline-block;
    padding: 0.2rem 0.6rem;
    background: rgba(37, 99, 235, 0.15);
    color: #60a5fa;
    border-radius: 4px;
    font-size: 0.75rem;
    margin-bottom: 0.8rem;
    text-transform: uppercase;
    font-weight: 600;
}

/* Animations */
@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Contact Form */
.contact-container {
    max-width: 800px;
    margin: 10rem auto;
    padding: 0 5%;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-form input,
.contact-form textarea {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 1.2rem;
    border-radius: 12px;
    color: white;
    font-size: 1rem;
    outline: none;
    transition: var(--transition-fast);
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--accent-blue);
}

.submit-btn {
    padding: 1.2rem;
    background: var(--accent-blue);
    border: none;
    color: white;
    font-weight: 600;
    border-radius: 12px;
    cursor: pointer;
    transition: var(--transition-fast);
}

.submit-btn:hover {
    background: #1d4ed8;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 70%;
        background: rgba(5, 7, 10, 0.95);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: var(--transition-slow);
        z-index: 2000;
        gap: 2rem;
    }

    .nav-links.active {
        right: 0;
    }

    .menu-toggle {
        display: block !important;
        cursor: pointer;
        z-index: 2001;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .cart-sidebar {
        width: 100%;
    }

    .contact-container {
        margin: 6rem auto;
    }

    .section-title {
        font-size: 2rem;
    }
}

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    color: white;
}