
/* Products Section */
.products-section {
    padding: 100px 0;
    position: relative;
    z-index: 1;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.product-card {
    background: rgba(26, 26, 46, 0.8);
    backdrop-filter: blur(10px);
    border-radius: 25px;
    padding: 2.5rem;
    border: 2px solid rgba(212, 175, 55, 0.2);
    transition: all 0.4s;
    position: relative;
    cursor: pointer;
}

.product-card:hover {
    transform: translateY(-15px);
    border-color: var(--primary);
    box-shadow: 0 15px 50px rgba(212, 175, 55, 0.4);
}

.product-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 6px;
    z-index: 10;
}

.product-badge.hot {
    background: linear-gradient(45deg, #ff6b35, #ff8c42);
    color: white;
    box-shadow: 0 5px 15px rgba(255, 107, 53, 0.4);
}

.product-badge.new {
    background: linear-gradient(45deg, #4caf50, #66bb6a);
    color: white;
    box-shadow: 0 5px 15px rgba(76, 175, 80, 0.4);
}

.product-image {
    width: 140px;
    height: 140px;
    margin: 0 auto 2rem;
    background: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-shadow: 0 0 40px rgba(212, 175, 55, 0.5), 0 0 80px rgba(212, 175, 55, 0.15);
    animation: cardIconGlow 3s ease-in-out infinite;
}

@keyframes cardIconGlow {
    0%, 100% { box-shadow: 0 0 30px rgba(212, 175, 55, 0.4), 0 0 60px rgba(212, 175, 55, 0.1); }
    50%       { box-shadow: 0 0 60px rgba(212, 175, 55, 0.8), 0 0 120px rgba(212, 175, 55, 0.3); }
}

.product-info h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--primary);
    text-align: center;
}

.product-description {
    color: var(--text-secondary);
    text-align: center;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.product-stats {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 15px;
}

.product-stats .stat-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
}

.product-stats .stat-item i {
    color: var(--primary);
}

.product-stats .rating {
    color: #ffd700;
    font-weight: bold;
    font-size: 1.1rem;
}

.product-stats .reviews {
    color: var(--text-secondary);
}

.product-stats .purchases {
    color: var(--text-secondary);
}

.product-price {
    text-align: center;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: rgba(212, 175, 55, 0.1);
    border-radius: 15px;
    border: 1px solid rgba(212, 175, 55, 0.3);
}

.price-from {
    color: var(--text-secondary);
    font-size: 0.9rem;
    display: block;
    margin-bottom: 0.5rem;
}

.price-amount {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--primary);
}

.price-period {
    color: var(--text-secondary);
    font-size: 1rem;
}

.product-button {
    width: 100%;
    padding: 16px;
    background: var(--gradient-2);
    color: var(--secondary);
    border: none;
    border-radius: 50px;
    font-weight: bold;
    font-size: 1.05rem;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.product-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.6);
}

/* Product Modal */
.product-modal-content {
    max-width: 900px;
    max-height: 90vh;
    overflow-y: auto;
}

.product-modal-header {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid rgba(212, 175, 55, 0.3);
}

.product-modal-icon {
    width: 100px;
    height: 100px;
    background: var(--gradient-2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: var(--secondary);
    flex-shrink: 0;
}

.product-modal-title h2 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
}

.product-modal-stats {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.product-modal-stats .stat-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.product-modal-body {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.product-description h3,
.product-features h3,
.product-pricing-section h3,
.product-reviews h3 {
    color: var(--primary);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.product-description p {
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: 1.05rem;
}

.features-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}

.features-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    border: 1px solid rgba(212, 175, 55, 0.2);
}

.features-list i {
    color: var(--success);
    font-size: 1.2rem;
}

.pricing-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.pricing-option {
    background: rgba(0, 0, 0, 0.4);
    padding: 2rem;
    border-radius: 20px;
    border: 2px solid rgba(212, 175, 55, 0.2);
    transition: all 0.3s;
    cursor: pointer;
    position: relative;
}

.pricing-option:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.3);
}

.pricing-option.featured {
    border-color: var(--primary);
    box-shadow: 0 5px 20px rgba(212, 175, 55, 0.2);
}

.pricing-badge {
    position: absolute;
    top: -12px;
    right: 15px;
    background: var(--gradient-2);
    color: var(--secondary);
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 5px;
}

.pricing-option-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.pricing-option-header h4 {
    font-size: 1.3rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.pricing-option-price {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 5px;
}

.pricing-option-price .currency {
    font-size: 1.5rem;
    margin-top: 8px;
    color: var(--primary);
}

.pricing-option-price .amount {
    font-size: 3rem;
    font-weight: bold;
    color: var(--text);
}

.pricing-option-duration {
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.pricing-option-button {
    width: 100%;
    padding: 14px;
    background: var(--gradient-2);
    color: var(--secondary);
    border: none;
    border-radius: 50px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.pricing-option-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(212, 175, 55, 0.5);
}

.reviews-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.review-card {
    background: rgba(0, 0, 0, 0.3);
    padding: 1.5rem;
    border-radius: 15px;
    border: 1px solid rgba(212, 175, 55, 0.2);
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.review-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.review-avatar {
    width: 45px;
    height: 45px;
    background: var(--gradient-2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary);
}

.review-author-name {
    font-weight: bold;
    color: var(--text);
}

.review-date {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.review-stars {
    display: flex;
    gap: 3px;
    color: #ffd700;
}

.review-text {
    color: var(--text-secondary);
    line-height: 1.6;
    font-style: italic;
}

/* Responsive for products */
@media (max-width: 768px) {
    .products-grid {
        grid-template-columns: 1fr;
    }

    .product-modal-header {
        flex-direction: column;
        text-align: center;
    }

    .product-modal-stats {
        justify-content: center;
    }

    .pricing-options {
        grid-template-columns: 1fr;
    }

    .features-list {
        grid-template-columns: 1fr;
    }
}

/* Product Screenshots */
.product-screenshots {
    margin: 2rem 0;
}

.screenshots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.screenshot-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    border: 2px solid rgba(212, 175, 55, 0.2);
    cursor: pointer;
    transition: all 0.3s;
}

.screenshot-item:hover {
    border-color: var(--primary);
    transform: scale(1.05);
    box-shadow: 0 5px 20px rgba(212, 175, 55, 0.3);
}

.screenshot-item img {
    width: 100%;
    height: auto;
    display: block;
}

/* Image Lightbox Modal */
.image-modal {
    display: none;
    position: fixed;
    z-index: 3000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
}

.image-modal img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 90%;
    max-height: 85%;
    border-radius: 10px;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.5);
    transition: opacity 0.2s ease;
}

.image-close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 2.5rem;
    z-index: 3001;
}

/* ── Lightbox Navigation Buttons ── */
.img-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(10, 8, 30, 0.6);
    border: 2px solid rgba(212, 175, 55, 0.5);
    color: #d4af37;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    font-size: 1.3rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    transition: all 0.25s ease;
    z-index: 3002;
}

.img-nav-btn:hover {
    background: rgba(212, 175, 55, 0.25);
    border-color: #d4af37;
    transform: translateY(-50%) scale(1.12);
    box-shadow: 0 0 25px rgba(212, 175, 55, 0.5);
}

.img-nav-btn:active {
    transform: translateY(-50%) scale(0.95);
}

.img-prev { left: 25px; }
.img-next { right: 25px; }

/* Image counter badge */
.img-counter {
    position: absolute;
    bottom: 22px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.7);
    color: #d4af37;
    padding: 6px 22px;
    border-radius: 20px;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.8rem;
    letter-spacing: 2px;
    border: 1px solid rgba(212, 175, 55, 0.35);
    z-index: 3002;
    backdrop-filter: blur(8px);
    white-space: nowrap;
}

@media (max-width: 768px) {
    .img-prev { left: 8px; }
    .img-next { right: 8px; }
    .img-nav-btn { width: 44px; height: 44px; font-size: 1rem; }
    .image-modal img { max-width: 95%; max-height: 82%; }
}

@media (max-width: 768px) {
    .screenshots-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }
    
    .image-modal img {
        max-width: 95%;
        max-height: 95%;
    }
    
    .image-close {
        top: 20px;
        right: 20px;
        font-size: 2.5rem;
    }
}

/* ============================================
   PRODUCT CARD ENHANCED VISUALS
   ============================================ */

.product-card {
    overflow: hidden;
    animation: cardBorderPulse 3s ease-in-out infinite;
}

/* Sweep shimmer light across the card */
.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -80px;
    width: 60px;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.18), transparent);
    transform: skewX(-20deg);
    animation: cardShimmer 5s ease-in-out infinite 1s;
    pointer-events: none;
    z-index: 10;
}

@keyframes cardShimmer {
    0%        { left: -80px; }
    40%, 100% { left: 120%; }
}

@keyframes cardBorderPulse {
    0%, 100% { border-color: rgba(212, 175, 55, 0.3); }
    50%       { border-color: rgba(212, 175, 55, 0.75);
                box-shadow: 0 0 35px rgba(212, 175, 55, 0.2); }
}

/* Product title Orbitron */
.product-info h3 {
    font-family: 'Orbitron', sans-serif;
    letter-spacing: 2px;
}

/* Upgrade product button font */
.product-button {
    font-family: 'Rajdhani', sans-serif;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
}
