/* Product Page Specific Styles */
.product-page-body {
    background: #0a0a0f;
    min-height: 100vh;
    animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.product-page-container {
    padding: 120px 0 50px;
    max-width: 1400px;
    margin: 0 auto;
}

.product-page-content {
    display: grid;
    grid-template-columns: 1fr 450px;
    gap: 3rem;
    padding: 0 2rem;
}

/* Left Side - Product Info */
.product-page-left {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

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

.product-page-icon {
    width: 130px;
    height: 130px;
    background: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 0 40px rgba(212, 175, 55, 0.5), 0 0 80px rgba(212, 175, 55, 0.15);
    overflow: hidden;
    animation: iconGlow 3s ease-in-out infinite;
}

@keyframes iconGlow {
    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); }
}

.esp-icon-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.product-page-title h1 {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.product-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
}

.product-page-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.stat-box {
    background: rgba(26, 26, 46, 0.6);
    padding: 1.5rem;
    border-radius: 15px;
    border: 1px solid rgba(212, 175, 55, 0.2);
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all 0.3s;
}

.stat-box:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
}

.stat-box i {
    font-size: 2rem;
    color: var(--primary);
}

.stat-content {
    display: flex;
    flex-direction: column;
}

.stat-value {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--text);
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.product-page-description,
.product-page-features,
.product-page-screenshots {
    background: rgba(26, 26, 46, 0.4);
    padding: 2rem;
    border-radius: 20px;
    border: 1px solid rgba(212, 175, 55, 0.2);
}

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

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

.features-grid-page {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.feature-item {
    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.1);
    transition: all 0.3s;
}

.feature-item:hover {
    border-color: var(--primary);
    transform: translateX(5px);
}

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

/* Screenshots Carousel */
.screenshots-carousel {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.carousel-main {
    width: 100%;
    border-radius: 15px;
    overflow: hidden;
    border: 2px solid rgba(212, 175, 55, 0.3);
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
}

.carousel-main:hover {
    border-color: var(--primary);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.3);
}

.carousel-main img {
    width: 100%;
    height: auto;
    display: block;
}

/* Zoom hint overlay on main image */
.carousel-zoom-hint {
    position: absolute;
    bottom: 14px;
    right: 14px;
    display: flex;
    align-items: center;
    gap: 7px;
    background: rgba(0, 0, 0, 0.72);
    color: #d4af37;
    padding: 7px 14px;
    border-radius: 20px;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    border: 1px solid rgba(212, 175, 55, 0.4);
    backdrop-filter: blur(6px);
    pointer-events: none;
    opacity: 0;
    transform: translateY(6px);
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.carousel-main:hover .carousel-zoom-hint {
    opacity: 1;
    transform: translateY(0);
}

.carousel-thumbnails {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 0.8rem;
}

.carousel-thumbnails img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    border: 2px solid rgba(212, 175, 55, 0.2);
    cursor: pointer;
    transition: all 0.3s;
    opacity: 0.6;
}

.carousel-thumbnails img:hover,
.carousel-thumbnails img.active {
    border-color: var(--primary);
    opacity: 1;
    transform: scale(1.05);
}

/* Right Side - Purchase Card */
.product-page-right {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.purchase-card {
    background: rgba(26, 26, 46, 0.8);
    backdrop-filter: blur(10px);
    padding: 2.5rem;
    border-radius: 25px;
    border: 2px solid rgba(212, 175, 55, 0.3);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.purchase-card h2 {
    color: var(--primary);
    font-size: 1.8rem;
    margin-bottom: 2rem;
    text-align: center;
}

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

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

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

.plan-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;
}

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

.plan-header h3 {
    font-size: 1.3rem;
    color: var(--primary);
}

.plan-price {
    display: flex;
    align-items: flex-start;
    gap: 3px;
}

.plan-price .currency {
    font-size: 1.2rem;
    margin-top: 5px;
    color: var(--primary);
}

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

.plan-duration {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.savings-badge {
    background: rgba(76, 175, 80, 0.2);
    color: var(--success);
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1rem;
    display: inline-block;
}

.plan-features {
    list-style: none;
    margin-bottom: 1.5rem;
}

.plan-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0.6rem 0;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.plan-features i {
    color: var(--success);
}

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

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

.trust-badges {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(212, 175, 55, 0.2);
}

.trust-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-align: center;
}

.trust-item i {
    font-size: 1.5rem;
    color: var(--primary);
}

.trust-item span {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

/* Responsive */
@media (max-width: 1200px) {
    .product-page-content {
        grid-template-columns: 1fr;
    }

    .product-page-right {
        position: relative;
        top: 0;
    }

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

    .carousel-thumbnails {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .product-page-header {
        flex-direction: column;
        text-align: center;
    }

    .product-page-title h1 {
        font-size: 2rem;
    }

    .product-page-stats {
        grid-template-columns: 1fr;
    }

    .trust-badges {
        grid-template-columns: 1fr;
    }
}

/* Product Reviews Section */
.product-page-reviews {
    background: rgba(26, 26, 46, 0.4);
    padding: 2rem;
    border-radius: 20px;
    border: 1px solid rgba(212, 175, 55, 0.2);
}

.product-page-reviews h3 {
    color: var(--primary);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.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);
    transition: all 0.3s;
}

.review-card:hover {
    border-color: var(--primary);
    transform: translateX(5px);
}

.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;
}

/* Page transition animations */
.product-page-left > div {
    animation: slideInLeft 0.6s ease-out;
    animation-fill-mode: both;
}

.product-page-left > div:nth-child(1) { animation-delay: 0.1s; }
.product-page-left > div:nth-child(2) { animation-delay: 0.2s; }
.product-page-left > div:nth-child(3) { animation-delay: 0.3s; }
.product-page-left > div:nth-child(4) { animation-delay: 0.4s; }
.product-page-left > div:nth-child(5) { animation-delay: 0.5s; }
.product-page-left > div:nth-child(6) { animation-delay: 0.6s; }

.product-page-right {
    animation: slideInRight 0.6s ease-out 0.3s;
    animation-fill-mode: both;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ============================================
   PRODUCT PAGE ENHANCED VISUALS
   ============================================ */

.product-page-title h1 {
    font-family: 'Orbitron', sans-serif;
    letter-spacing: 2px;
    text-shadow: 0 0 25px rgba(212, 175, 55, 0.5);
}

.product-subtitle {
    letter-spacing: 1px;
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.15rem;
}

.product-page-description h3,
.product-page-features h3,
.product-page-screenshots h3,
.product-page-reviews h3 {
    font-family: 'Orbitron', sans-serif;
    letter-spacing: 2px;
}

.purchase-card h2 {
    font-family: 'Orbitron', sans-serif;
    letter-spacing: 2px;
    text-shadow: 0 0 20px rgba(212, 175, 55, 0.5);
}

.plan-header h3 {
    font-family: 'Orbitron', sans-serif;
    letter-spacing: 1px;
}

/* Purchase card shimmer */
.purchase-card {
    overflow: hidden;
    position: relative;
    animation: cardBorderPulseRight 3s ease-in-out infinite 1.5s;
}

.purchase-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -80px;
    width: 60px;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.12), transparent);
    transform: skewX(-20deg);
    animation: cardShimmerRight 6s ease-in-out infinite;
    pointer-events: none;
    z-index: 10;
}

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

@keyframes cardBorderPulseRight {
    0%, 100% { border-color: rgba(212, 175, 55, 0.3); }
    50%       { border-color: rgba(212, 175, 55, 0.7);
                box-shadow: 0 10px 50px rgba(212, 175, 55, 0.25); }
}

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

/* Stat boxes: glow on value */
.stat-value {
    font-family: 'Orbitron', sans-serif;
    text-shadow: 0 0 15px rgba(212, 175, 55, 0.5);
}
