/* styles.css */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: linear-gradient(135deg, #f8fdff 0%, #f0fbfe 30%, #e8f9fd 70%, #e0f7fc 100%);
    min-height: 100vh;
    overflow-x: hidden;
}

/* Floating particles effect */
.particles-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.particle {
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
    animation-timing-function: ease-in-out;
    animation-iteration-count: infinite;
}

.particle-1 {
    width: 4px;
    height: 4px;
    background: #19C0E6;
    top: 20%;
    left: 10%;
    animation: float1 20s infinite;
}

.particle-2 {
    width: 6px;
    height: 6px;
    background: #4dd0ea;
    top: 60%;
    right: 15%;
    animation: float2 25s infinite;
    animation-delay: -5s;
}

.particle-3 {
    width: 3px;
    height: 3px;
    background: #19C0E6;
    top: 40%;
    left: 80%;
    animation: float3 30s infinite;
    animation-delay: -10s;
}

.particle-4 {
    width: 5px;
    height: 5px;
    background: #66d9ee;
    top: 80%;
    left: 20%;
    animation: float4 22s infinite;
    animation-delay: -15s;
}

@keyframes float1 {
    0%, 100% { transform: translateY(0px) translateX(0px); }
    33% { transform: translateY(-30px) translateX(20px); }
    66% { transform: translateY(20px) translateX(-15px); }
}

@keyframes float2 {
    0%, 100% { transform: translateY(0px) translateX(0px); }
    50% { transform: translateY(-40px) translateX(-25px); }
}

@keyframes float3 {
    0%, 100% { transform: translateY(0px) translateX(0px); }
    25% { transform: translateY(15px) translateX(-20px); }
    75% { transform: translateY(-25px) translateX(10px); }
}

@keyframes float4 {
    0%, 100% { transform: translateY(0px) translateX(0px); }
    40% { transform: translateY(-20px) translateX(30px); }
    80% { transform: translateY(10px) translateX(-10px); }
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    padding: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
}

.logo {
    font-size: 1.2rem;
    font-weight: 300;
    color: rgba(75, 85, 99, 0.9);
    letter-spacing: 2px;
}

.nav-links {
    display: flex;
    gap: 3rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-link {
    color: rgba(75, 85, 99, 0.7);
    text-decoration: none;
    font-weight: 300;
    font-size: 0.8rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.nav-link:hover {
    color: rgba(75, 85, 99, 1);
}

.cart-icon {
    background: transparent;
    border: 1px solid rgba(75, 85, 99, 0.3);
    color: rgba(75, 85, 99, 0.8);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    cursor: pointer;
    font-size: 0.7rem;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.cart-icon:hover {
    background: rgba(75, 85, 99, 0.1);
}

/* Main content */
.main-content {
    padding-top: 8rem;
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 2rem;
    padding-right: 2rem;
}

.product-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
    margin-bottom: 4rem;
}

/* Product Gallery */
.product-gallery {
    position: sticky;
    top: 8rem;
}

.main-image {
    width: 100%;
    height: 500px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 20px;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(75, 85, 99, 0.1);
}

.product-image {
    width: 80%;
    height: 80%;
    background: linear-gradient(135deg, #e8f9fd 0%, #f0fbfe 50%, #f8fdff 100%);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: all 0.3s ease;
}

.product-image svg {
    width: 60%;
    height: 60%;
    opacity: 0.8;
}

.thumbnail-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.5rem;
}

.thumbnail {
    aspect-ratio: 1;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid transparent;
}

.thumbnail:hover, .thumbnail.active {
    background: rgba(255, 255, 255, 0.9);
    border-color: rgba(75, 85, 99, 0.2);
}

.thumbnail svg {
    width: 60%;
    height: 60%;
    opacity: 0.6;
}

/* Product Info */
.product-info {
    padding-top: 2rem;
}

.product-title {
    font-size: 2.5rem;
    font-weight: 100;
    color: rgba(75, 85, 99, 0.9);
    margin: 0 0 1rem 0;
    line-height: 1.2;
}

.product-price {
    font-size: 1.8rem;
    font-weight: 300;
    color: rgba(75, 85, 99, 0.8);
    margin: 0 0 2rem 0;
}

.product-description {
    font-size: 0.9rem;
    color: rgba(75, 85, 99, 0.7);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.product-features {
    margin-bottom: 3rem;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
}

.feature-item {
    font-size: 0.8rem;
    color: rgba(75, 85, 99, 0.7);
    margin-bottom: 0.5rem;
    padding-left: 1rem;
    position: relative;
}

.feature-item::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: rgba(75, 85, 99, 0.5);
}

.quantity-selector {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.quantity-label {
    font-size: 0.8rem;
    color: rgba(75, 85, 99, 0.7);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.quantity-controls {
    display: flex;
    align-items: center;
    border: 1px solid rgba(75, 85, 99, 0.3);
    border-radius: 25px;
    overflow: hidden;
}

.quantity-btn {
    background: transparent;
    border: none;
    padding: 0.5rem 1rem;
    cursor: pointer;
    color: rgba(75, 85, 99, 0.7);
    transition: all 0.3s ease;
}

.quantity-btn:hover {
    background: rgba(75, 85, 99, 0.1);
}

.quantity-input {
    border: none;
    background: transparent;
    text-align: center;
    width: 3rem;
    padding: 0.5rem;
    color: rgba(75, 85, 99, 0.8);
}

.add-to-cart {
    background: rgba(75, 85, 99, 0.9);
    color: white;
    border: none;
    padding: 1rem 3rem;
    font-size: 0.8rem;
    font-weight: 300;
    letter-spacing: 2px;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    width: 100%;
    margin-bottom: 1rem;
}

.add-to-cart:hover {
    background: rgba(75, 85, 99, 1);
    transform: translateY(-1px);
}

.buy-now {
    background: transparent;
    color: rgba(75, 85, 99, 0.8);
    border: 1px solid rgba(75, 85, 99, 0.4);
    padding: 1rem 3rem;
    font-size: 0.8rem;
    font-weight: 300;
    letter-spacing: 2px;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    width: 100%;
}

.buy-now:hover {
    background: rgba(75, 85, 99, 0.1);
}

/* Decorative elements */
.glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(40px);
    opacity: 0.2;
    animation: glow 8s ease-in-out infinite;
}

.orb-1 {
    width: 300px;
    height: 300px;
    background: linear-gradient(45deg, #e8f9fd, #e0f7fc);
    top: 20%;
    right: -10%;
    animation-delay: 0s;
}

.orb-2 {
    width: 200px;
    height: 200px;
    background: linear-gradient(45deg, #f0fbfe, #f8fdff);
    bottom: 10%;
    left: -5%;
    animation-delay: -4s;
}

@keyframes glow {
    0%, 100% { transform: scale(1) rotate(0deg); opacity: 0.2; }
    50% { transform: scale(1.1) rotate(180deg); opacity: 0.3; }
}

/* Responsive */
@media (max-width: 768px) {
    .header {
        padding: 1rem;
    }
    
    .nav-links {
        display: none;
    }
    
    .main-content {
        padding-top: 6rem;
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    .product-section {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .product-gallery {
        position: static;
    }
    
    .main-image {
        height: 400px;
    }
    
    .product-title {
        font-size: 2rem;
    }
}