/* =============================================
   PRODUCT PAGE STYLES
   ============================================= */

/* Product Hero */
.product-hero {
    position: relative;
    min-height: 60vh;
    display: flex;
    align-items: center;
    padding: 150px 0 80px;
    overflow: hidden;
}

.product-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    z-index: 0;
}

.product-hero-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(10, 10, 15, 0.9), rgba(20, 20, 32, 0.8));
}

.product-hero .container {
    position: relative;
    z-index: 1;
}

.product-hero-content {
    max-width: 700px;
}

.product-tag {
    display: inline-block;
    background: rgba(230, 57, 70, 0.2);
    color: var(--primary-color);
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
    border: 1px solid rgba(230, 57, 70, 0.3);
}

.product-hero h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    color: var(--white);
    margin-bottom: 20px;
    line-height: 1.2;
}

.product-hero p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 30px;
    line-height: 1.8;
}

.product-hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

/* Product Overview */
.product-overview {
    padding: 100px 0;
    background: var(--white);
}

.overview-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.overview-content h2 {
    font-size: 2.5rem;
    margin-bottom: 25px;
}

.overview-content p {
    font-size: 1rem;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 20px;
}

.overview-stats {
    display: flex;
    gap: 40px;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid #eee;
}

.stat-item {
    text-align: center;
}

.stat-item .stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.stat-item .stat-label {
    font-size: 14px;
    color: var(--text-light);
}

.overview-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.overview-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Product Features */
.product-features {
    padding: 100px 0;
    background: var(--light-bg);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.feature-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 16px;
    text-align: center;
    transition: var(--transition);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
}

.feature-icon i {
    font-size: 32px;
    color: var(--white);
}

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 15px;
}

.feature-card p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.7;
}

/* Technical Specs */
.product-specs {
    padding: 100px 0;
    background: var(--white);
}

.specs-table-wrapper {
    margin-top: 50px;
    overflow-x: auto;
}

.specs-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.08);
}

.specs-table th,
.specs-table td {
    padding: 20px;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.specs-table th {
    background: linear-gradient(135deg, var(--dark-color), var(--dark-secondary));
    color: var(--white);
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.specs-table tbody tr:hover {
    background: var(--light-bg);
}

.specs-table td {
    font-size: 15px;
    color: var(--text-color);
}

.specs-note {
    margin-top: 20px;
    font-size: 13px;
    color: var(--text-light);
    font-style: italic;
}

/* Product CTA */
.product-cta {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    text-align: center;
}

.product-cta h2 {
    font-size: 2.5rem;
    color: var(--white);
    margin-bottom: 15px;
}

.product-cta p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 30px;
}

.product-cta .cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* Related Products */
.related-products {
    padding: 100px 0;
    background: var(--light-bg);
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.related-card {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    transition: var(--transition);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.related-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.related-image {
    height: 200px;
    overflow: hidden;
}

.related-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.related-card:hover .related-image img {
    transform: scale(1.1);
}

.related-card h4 {
    padding: 20px;
    font-size: 1rem;
    text-align: center;
    color: var(--dark-color);
}

/* Product Videos */
.product-videos {
    padding: 100px 0;
    background: var(--white);
}

.product-videos .videos-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.product-videos .video-card {
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.product-videos .video-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.product-videos .video-thumbnail {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.product-videos .video-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.product-videos .video-card:hover .video-thumbnail img {
    transform: scale(1.1);
}

.product-videos .play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 20px;
    transition: var(--transition);
}

.product-videos .video-card:hover .play-button {
    transform: translate(-50%, -50%) scale(1.1);
    background: var(--primary-dark);
}

.product-videos .video-card h4 {
    padding: 15px;
    text-align: center;
    font-size: 14px;
    background: var(--white);
}

/* Video Modal */
.video-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.95);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.video-modal-content {
    position: relative;
    width: 100%;
    max-width: 1000px;
    aspect-ratio: 16/9;
    background: #000;
    border-radius: 16px;
    overflow: hidden;
}

.video-modal-content iframe {
    width: 100%;
    height: 100%;
}

.close-video {
    position: absolute;
    top: -50px;
    right: 0;
    color: var(--white);
    font-size: 40px;
    cursor: pointer;
    transition: var(--transition);
    z-index: 10001;
}

.close-video:hover {
    color: var(--primary-color);
}

/* Responsive */
@media (max-width: 992px) {
    .overview-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

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

    .related-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .product-hero {
        min-height: 50vh;
        padding: 120px 0 60px;
    }

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

    .overview-stats {
        flex-direction: column;
        gap: 20px;
    }

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

    .related-grid {
        grid-template-columns: 1fr;
    }

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

    .specs-table th,
    .specs-table td {
        padding: 15px 10px;
        font-size: 13px;
    }
}
