/* =========================================
   Ultra Simple Premium Product Detail
   Clean, Minimal, No Underlines
   ========================================= */

:root {
    --primary: #3b82f6;
    --primary-dark: #1e40af;
    --glass: rgba(255, 255, 255, 0.8);
    --glass-light: rgba(255, 255, 255, 0.5);
    --border: rgba(0, 0, 0, 0.06);
    --text: #1e293b;
    --text-light: #64748b;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

/* Clean Page */
.product-detail-page {
    background: linear-gradient(to bottom, #f8fafc, #e2e8f0);
    min-height: 100vh;
    padding: 2rem 0;
}

/* Simple Header */
.product-header {
    background: var(--glass);
    backdrop-filter: blur(20px);
    padding: 2rem;
    border-radius: 16px;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow);
}

.product-title {
    font-size: 1.875rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 1.5rem;
}

/* Clean Tabs */
.product-tabs-nav {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.tab-btn {
    padding: 0.75rem 1.5rem;
    background: white;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.9375rem;
    color: var(--text-light);
    cursor: pointer;
    transition: all 0.2s;
}

.tab-btn:hover {
    color: var(--primary);
}

.tab-btn.active {
    background: var(--primary);
    color: white;
}

.tab-btn .badge {
    background: rgba(0, 0, 0, 0.1);
    padding: 0.2rem 0.5rem;
    border-radius: 8px;
    font-size: 0.75rem;
    margin-left: 0.5rem;
}

.tab-btn.active .badge {
    background: rgba(255, 255, 255, 0.2);
}

/* Simple Actions */
.product-header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.btn-share {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: white;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    transition: all 0.2s;
}

.btn-share:hover {
    background: var(--primary);
    color: white;
}

.product-rating-display {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: white;
    border-radius: 10px;
}

.product-rating-display i {
    color: #fbbf24;
}

.product-rating-display span {
    color: var(--text);
    font-weight: 600;
}

/* Clean Layout */
.product-content {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 1.5rem;
}

/* Simple Main */
.product-main {
    background: var(--glass);
    backdrop-filter: blur(20px);
    border-radius: 16px;
    box-shadow: var(--shadow);
}

.tab-content {
    display: none;
    padding: 2rem;
}

.tab-content.active {
    display: block;
}

/* Clean Preview */
.product-preview {
    margin-bottom: 2rem;
}

.preview-main-image {
    border-radius: 12px;
    overflow: hidden;
    background: white;
    margin-bottom: 1rem;
}

.preview-main-image img {
    width: 100%;
    display: block;
}

.preview-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

/* Simple Buttons */
.btn-preview,
.btn-screenshots {
    padding: 0.875rem 2rem;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.9375rem;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.2s;
}

.btn-preview {
    background: var(--primary);
    color: white;
}

.btn-preview:hover {
    background: var(--primary-dark);
}

.btn-screenshots {
    background: var(--text);
    color: white;
}

.btn-screenshots:hover {
    background: #0f172a;
}

/* Clean Typography - NO UNDERLINES */
.product-description h2,
.product-features h2,
.reviews-container h2,
.comments-container h2,
.changelog-container h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 1.5rem;
}

.description-content {
    line-height: 1.7;
    color: var(--text-light);
}

/* Simple Reviews */
.reviews-summary {
    background: var(--primary);
    padding: 2rem;
    border-radius: 12px;
    margin-bottom: 2rem;
    text-align: center;
}

.rating-number {
    font-size: 3rem;
    font-weight: 800;
    color: white;
}

.rating-stars-big {
    display: flex;
    gap: 0.25rem;
    justify-content: center;
    color: #fbbf24;
    font-size: 1.5rem;
}

.rating-count {
    color: white;
    margin-top: 0.5rem;
}

.reviews-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.review-item {
    padding: 1.5rem;
    background: white;
    border-radius: 12px;
    transition: all 0.2s;
}

.review-item:hover {
    box-shadow: var(--shadow);
}

.review-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.review-author {
    display: flex;
    gap: 1rem;
}

.author-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

.author-name {
    font-weight: 600;
    color: var(--text);
}

.review-date {
    font-size: 0.875rem;
    color: var(--text-light);
}

.review-rating {
    display: flex;
    gap: 0.25rem;
    color: #fbbf24;
}

.review-text {
    color: var(--text-light);
    line-height: 1.6;
}

/* Simple Changelog - NO UNDERLINES */
.changelog-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.changelog-item {
    padding: 1.5rem;
    background: white;
    border-left: 3px solid var(--primary);
    border-radius: 12px;
    transition: all 0.2s;
}

.changelog-item:hover {
    box-shadow: var(--shadow);
}

.changelog-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.changelog-version {
    font-weight: 600;
    color: var(--primary);
}

.changelog-date {
    font-size: 0.875rem;
    color: var(--text-light);
}

.changelog-content {
    color: var(--text-light);
    line-height: 1.6;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 3rem;
    color: var(--text-light);
}

.empty-state i {
    font-size: 3rem;
    opacity: 0.3;
    margin-bottom: 1rem;
}

/* Clean Sidebar */
.product-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* Simple Seller Card */
.seller-card {
    background: var(--glass);
    backdrop-filter: blur(20px);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: var(--shadow);
    text-align: center;
}

.seller-header {
    margin-bottom: 1.5rem;
}

.seller-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 3px solid var(--primary);
    margin-bottom: 1rem;
}

.seller-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 0.25rem;
}

.seller-since {
    font-size: 0.875rem;
    color: var(--text-light);
}

.seller-rating {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    color: #fbbf24;
    margin-bottom: 1rem;
}

.rating-badge {
    background: var(--primary);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.875rem;
    margin-left: 0.5rem;
}

.seller-badges {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.badge-level {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #48bb78;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.badge-level.secondary {
    background: #ed8936;
}

.btn-view-portfolio {
    display: block;
    padding: 1rem;
    background: var(--primary);
    color: white;
    text-decoration: none;
    border-radius: 10px;
    font-weight: 600;
    transition: all 0.2s;
}

.btn-view-portfolio:hover {
    background: var(--primary-dark);
}

/* Sales Info */
.sales-info {
    background: var(--glass);
    backdrop-filter: blur(20px);
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    font-weight: 600;
    color: var(--text);
}

.sales-info i {
    color: var(--primary);
}

/* Product Info - NO UNDERLINES */
.product-info-card {
    background: var(--glass);
    backdrop-filter: blur(20px);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: var(--shadow);
}

.product-info-card h3 {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 1.5rem;
}

.info-row {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 0;
}

.info-label {
    font-weight: 500;
    color: var(--text-light);
}

.info-value {
    font-weight: 600;
    color: var(--text);
}

/* Purchase Card */
.purchase-card {
    background: var(--primary);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: var(--shadow);
    position: sticky;
    top: 2rem;
}

.price-display {
    font-size: 2rem;
    font-weight: 800;
    color: white;
    text-align: center;
    margin-bottom: 1.5rem;
}

.btn-purchase,
.btn-buy-now {
    width: 100%;
    padding: 1rem;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    margin-bottom: 1rem;
}

.btn-purchase {
    background: white;
    color: var(--primary);
}

.btn-purchase:hover {
    background: #f8fafc;
}

.btn-buy-now {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 2px solid white;
}

.btn-buy-now:hover {
    background: white;
    color: var(--primary);
}

/* Clean Modal */
.screenshots-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: none;
}

.screenshots-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
}

.screenshots-modal .modal-content {
    position: relative;
    z-index: 1;
    width: 90%;
    max-width: 1200px;
    background: white;
    border-radius: 16px;
    overflow: hidden;
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.5);
    border: none;
    color: white;
    cursor: pointer;
    z-index: 2;
}

.modal-close:hover {
    background: rgba(0, 0, 0, 0.8);
}

.modal-body {
    padding: 2rem;
}

.screenshot-main {
    position: relative;
    margin-bottom: 1.5rem;
    background: #000;
    border-radius: 12px;
    overflow: hidden;
}

.screenshot-main img {
    width: 100%;
    display: block;
}

.nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: white;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
}

.nav-btn:hover {
    background: var(--primary);
    color: white;
}

.nav-btn.prev {
    left: 1rem;
}

.nav-btn.next {
    right: 1rem;
}

.screenshot-thumbnails {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    padding-bottom: 1rem;
}

.thumbnail {
    flex: 0 0 auto;
    width: 120px;
    height: 80px;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.2s;
}

.thumbnail:hover,
.thumbnail.active {
    border-color: var(--primary);
}

.thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.screenshot-counter {
    text-align: center;
    font-weight: 600;
    color: var(--text-light);
    margin-top: 1rem;
}

/* Responsive */
@media (max-width: 1024px) {
    .product-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .product-header {
        padding: 1.5rem;
    }
    
    .product-title {
        font-size: 1.5rem;
    }
    
    .tab-content {
        padding: 1.5rem;
    }
    
    .preview-actions {
        flex-direction: column;
    }
    
    .btn-preview,
    .btn-screenshots {
        width: 100%;
    }
}
