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

html, body {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: #0A0E1A;
    color: #ffffff;
}

.hero-section {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(10, 14, 26, 0.85);
    pointer-events: none;
    z-index: 1;
}

.product-grid {
    position: absolute;
    top: 20px;
    left: 0;
    right: 0;
    display: flex;
    gap: 0;
    z-index: 2;
    pointer-events: auto;
    overflow: hidden;
}

.product-grid-bottom {
    position: absolute;
    bottom: 60px;
    left: 0;
    right: 0;
    display: flex;
    gap: 0;
    z-index: 2;
    pointer-events: auto;
    overflow: hidden;
}

.product-scroll-set {
    display: flex;
    gap: 15px;
    padding: 0 15px;
    animation: scroll-products 30s linear infinite;
    flex-shrink: 0;
}

@keyframes scroll-products {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-100%);
    }
}

@keyframes scroll-products-reverse {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(0);
    }
}

.product-grid-bottom .product-scroll-set {
    animation: scroll-products-reverse 30s linear infinite;
}

.product-card {
    background: rgba(0, 0, 0, 0.7);
    border-radius: 8px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 8px;
    transition: all 0.3s ease;
    cursor: pointer;
    flex-shrink: 0;
    width: 200px;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    background: rgba(0, 0, 0, 0.8);
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-3px);
}

.product-image {
    width: 100%;
    height: 160px;
    object-fit: cover;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.05);
    display: block;
    margin-bottom: 8px;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    backface-visibility: hidden;
    transform: translateZ(0);
}

.product-title {
    font-size: 12px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0;
    text-align: center;
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 10;
    width: 90%;
    max-width: 800px;
    pointer-events: auto;
    background: rgba(0, 0, 0, 0.7);
    padding: 30px 40px;
    border-radius: 16px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
}

.hero-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 16px;
    color: #ffffff;
    line-height: 1.2;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.hero-description {
    font-size: 16px;
    line-height: 1.6;
    color: #e0e8f0;
    margin-bottom: 0;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}

.payment-logos {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    align-items: center;
    z-index: 2;
    pointer-events: none;
}

.payment-logo {
    height: 14px;
    width: auto;
    opacity: 0.6;
    filter: brightness(0.9);
}

.tech-stack {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 9px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.4);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 2;
    pointer-events: none;
    white-space: nowrap;
}

/* Responsive Design */
@media (max-width: 768px) {
    .product-card {
        width: 150px;
    }
    
    .product-image {
        height: 120px;
    }
    
    .product-title {
        font-size: 10px;
    }
    
    .product-scroll-set {
        gap: 10px;
        padding: 0 10px;
    }
    
    .product-grid {
        top: 10px;
    }
    
    .product-grid-bottom {
        bottom: 50px;
    }

    .hero-content {
        width: 95%;
        padding: 25px 20px;
    }

    .hero-title {
        font-size: 24px;
    }

    .hero-description {
        font-size: 14px;
    }
    
    .payment-logos {
        bottom: 24px;
        gap: 6px;
    }
    
    .payment-logo {
        height: 11px;
    }
    
    .tech-stack {
        font-size: 7px;
        bottom: 8px;
        letter-spacing: 0.3px;
    }
}

/* Extra narrow screens */
@media (max-width: 480px) {
    .product-card {
        width: 120px;
    }
    
    .product-image {
        height: 96px;
    }
    
    .product-title {
        font-size: 9px;
    }
    
    .product-scroll-set {
        gap: 8px;
        padding: 0 8px;
    }
    
    .product-grid {
        top: 8px;
    }
    
    .product-grid-bottom {
        bottom: 45px;
    }

    .hero-content {
        width: 95%;
        padding: 20px 15px;
    }

    .hero-title {
        font-size: 20px;
    }

    .hero-description {
        font-size: 12px;
    }
    
    .payment-logos {
        bottom: 22px;
        gap: 5px;
    }
    
    .payment-logo {
        height: 10px;
    }
    
    .tech-stack {
        font-size: 6px;
        bottom: 6px;
        letter-spacing: 0.2px;
    }
}
