/* ========================================
   PRODUCT PAGE - MODERN ELEGANT DESIGN
   Wimac Crane Turkey
   ======================================== */

/* ======== VARIABLES ======== */
:root {
    --primary: #ffe900;
    --dark: #0a0a0a;
    --gray: #666;
    --gray-light: #999;
    --light-bg: #f8f9fa;
    --card-bg: #ffffff;
    --border: #e5e7eb;
    --shadow-sm: 0 4px 20px rgba(0,0,0,0.06);
    --shadow-md: 0 15px 50px rgba(0,0,0,0.1);
    --shadow-lg: 0 30px 80px rgba(0,0,0,0.12);
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ======== PRODUCT HERO - CINEMATIC ======== */
.product-hero {
    position: relative;
    min-height: 600px;
    max-height: 800px;
    height: 85vh;
    background: var(--dark);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.product-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse at 20% 80%, rgba(255,233,0,0.12) 0%, transparent 50%),
        radial-gradient(ellipse at 90% 20%, rgba(255,233,0,0.06) 0%, transparent 40%);
    pointer-events: none;
}

/* Hero Top Bar */
.product-hero-topbar {
    padding: 20px 0;
    position: relative;
    z-index: 20;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    flex-shrink: 0;
    height: 80px;
}

.product-hero-topbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.product-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255,233,0,0.1);
    border: 1px solid rgba(255,233,0,0.25);
    color: var(--primary);
    padding: 10px 20px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.product-hero-nav {
    display: flex;
    gap: 8px;
}

.product-hero-nav-btn {
    width: 50px;
    height: 50px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    font-size: 16px;
}

.product-hero-nav-btn:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--dark);
}

/* Hero Main */
.product-hero-main {
    flex: 1;
    display: flex;
    align-items: center;
    padding: 40px 0;
    position: relative;
    z-index: 5;
}

.product-hero-main .container {
    width: 100%;
}

.product-hero-content {
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 60px;
    align-items: center;
    width: 100%;
}

/* Hero Text Side */
.product-hero-text {
    position: relative;
    z-index: 10;
}

.product-hero-title {
    font-size: 52px;
    font-weight: 900;
    color: #fff;
    line-height: 1.05;
    margin-bottom: 20px;
    letter-spacing: -2px;
}

.product-hero-title span {
    color: var(--primary);
    position: relative;
    display: inline-block;
}

.product-hero-desc {
    font-size: 15px;
    color: rgba(255,255,255,0.55);
    line-height: 1.8;
    margin-bottom: 35px;
    max-width: 360px;
}

/* Hero Stats */
.product-hero-stats {
    display: flex;
    gap: 30px;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.product-stat {
    text-align: left;
}

.product-stat-value {
    font-size: 40px;
    font-weight: 900;
    color: var(--primary);
    line-height: 1;
    letter-spacing: -2px;
}

.product-stat-value small {
    font-size: 20px;
    font-weight: 700;
}

.product-stat-label {
    font-size: 10px;
    font-weight: 600;
    color: rgba(255,255,255,0.4);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 6px;
}

/* Hero Gallery - Cinematic Slider */
.product-hero-gallery {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 400px;
    background: #111;
    overflow: hidden;
}

.product-hero-slider-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}

.product-hero-slider {
    width: 100%;
    height: 100%;
    position: relative;
}

.product-hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease;
    z-index: 1;
}

.product-hero-slide.active {
    opacity: 1;
    z-index: 2;
}

.product-hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-hero-slide::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(10,10,10,0.4) 0%, transparent 50%);
    pointer-events: none;
}

/* Floating Card */
.product-hero-floating {
    position: absolute;
    bottom: 25px;
    left: 25px;
    background: var(--primary);
    padding: 18px 25px;
    z-index: 10;
}

.product-hero-floating-label {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.65;
    margin-bottom: 4px;
    color: var(--dark);
}

.product-hero-floating-value {
    font-size: 24px;
    font-weight: 900;
    color: var(--dark);
    letter-spacing: -1px;
}

/* Thumbnail Strip */
.product-hero-thumbs {
    position: absolute;
    bottom: 25px;
    right: 25px;
    display: flex;
    gap: 8px;
    z-index: 10;
}

.product-hero-thumb {
    width: 70px;
    height: 50px;
    overflow: hidden;
    cursor: pointer;
    opacity: 0.4;
    transition: var(--transition);
    border: 2px solid transparent;
}

.product-hero-thumb:hover {
    opacity: 0.7;
}

.product-hero-thumb.active {
    opacity: 1;
    border-color: var(--primary);
}

.product-hero-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Progress Bar */
.product-hero-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: rgba(255,255,255,0.1);
    z-index: 15;
}

.product-hero-progress-bar {
    height: 100%;
    background: var(--primary);
    width: 0;
    animation: heroProgress 5s linear infinite;
}

@keyframes heroProgress {
    from { width: 0; }
    to { width: 100%; }
}

/* Scroll Indicator */
.product-hero-scroll {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(255,255,255,0.35);
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 2px;
    z-index: 10;
}

.product-hero-scroll-line {
    width: 1px;
    height: 50px;
    background: linear-gradient(to bottom, var(--primary), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 1; transform: scaleY(1); }
    50% { opacity: 0.4; transform: scaleY(0.7); }
}

/* Hero Responsive */
@media (max-width: 1200px) {
    .product-hero-content {
        grid-template-columns: 360px 1fr;
        gap: 50px;
    }
    .product-hero-title { font-size: 46px; }
    .product-hero-gallery { min-height: 350px; }
}

@media (max-width: 992px) {
    .product-hero {
        min-height: auto;
        max-height: none;
        height: auto;
    }
    .product-hero-topbar { display: none; }
    .product-hero-main { padding: 0; }
    .product-hero-content {
        grid-template-columns: 1fr;
        gap: 0;
    }
    .product-hero-text { display: none; }
    .product-hero-gallery {
        width: 100%;
        height: auto;
        min-height: auto;
        max-height: none;
        background: var(--dark);
        overflow: visible;
    }
    .product-hero-slider-wrapper {
        position: relative;
        width: 100%;
        height: 60vw;
        min-height: 280px;
        max-height: 450px;
    }
    .product-hero-slider {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
    }
    .product-hero-scroll { display: none; }
    .product-hero-floating { bottom: 20px; left: 20px; padding: 15px 20px; z-index: 10; }
    .product-hero-floating-value { font-size: 20px; }
    .product-hero-thumbs {
        position: relative;
        bottom: auto;
        right: auto;
        justify-content: center;
        padding: 15px 20px;
        background: var(--dark);
        gap: 10px;
        width: 100%;
        z-index: 1;
    }
    .product-hero-thumb { 
        width: 60px; 
        height: 45px; 
        opacity: 0.6;
    }
    .product-hero-thumb.active {
        opacity: 1;
    }
}

@media (max-width: 576px) {
    .product-hero-slider-wrapper {
        height: 55vw;
        min-height: 200px;
        max-height: 320px;
    }
    .product-hero-floating { bottom: 15px; left: 15px; padding: 12px 16px; }
    .product-hero-floating-label { font-size: 9px; }
    .product-hero-floating-value { font-size: 18px; }
    .product-hero-thumbs { padding: 12px 15px; gap: 8px; }
    .product-hero-thumb { width: 50px; height: 38px; }
}

/* ======== PRODUCT OVERVIEW SECTION ======== */
.product-overview {
    background: #fff;
    padding: 20px 0;
    position: relative;
}

.product-overview-grid {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 80px;
}

/* Section Header */
.product-section-header {
    margin-bottom: 50px;
}

.product-section-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 700;
    color: var(--gray);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
}

.product-section-tag::before {
    content: '';
    width: 40px;
    height: 2px;
    background: var(--primary);
}

.product-section-title {
    font-size: 48px;
    font-weight: 800;
    color: var(--dark);
    line-height: 1.15;
    letter-spacing: -1px;
}

/* Content Text */
.product-content-text p {
    font-size: 16px;
    line-height: 1.9;
    color: #444;
    margin-bottom: 25px;
}

.product-content-text p:last-child {
    margin-bottom: 0;
}

.product-content-text strong {
    color: var(--dark);
}

/* Inline Gallery */
.product-inline-gallery {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    margin: 50px 0;
}

.product-inline-img {
    position: relative;
    overflow: hidden;
    background: var(--light-bg);
}

.product-inline-img img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

.product-inline-img:hover img {
    transform: scale(1.08);
}

.product-inline-img figcaption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: #fff;
    font-size: 13px;
    font-weight: 500;
    transform: translateY(100%);
    transition: transform 0.4s ease;
}

.product-inline-img:hover figcaption {
    transform: translateY(0);
}

/* Feature Cards */
.product-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 50px;
}

.product-feature-card {
    padding: 30px;
    background: var(--light-bg);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.product-feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 0;
    background: var(--primary);
    transition: height 0.4s ease;
}

.product-feature-card:hover {
    background: #fff;
    box-shadow: var(--shadow-md);
}

.product-feature-card:hover::before {
    height: 100%;
}

.product-feature-icon {
    width: 50px;
    height: 50px;
    background: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--dark);
    margin-bottom: 20px;
    transition: transform 0.3s ease;
}

.product-feature-card:hover .product-feature-icon {
    transform: scale(1.1) rotate(-5deg);
}

.product-feature-card h4 {
    font-size: 17px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 10px;
}

.product-feature-card p {
    font-size: 14px;
    color: var(--gray);
    line-height: 1.6;
}

/* ======== SIDEBAR ======== */
.product-sidebar {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

/* Specs Card - Premium Design */
.product-specs-card {
    background: linear-gradient(145deg, #111111 0%, #0a0a0a 100%);
    padding: 0;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.05);
}

.product-specs-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(255,233,0,0.15) 0%, transparent 70%);
    pointer-events: none;
}

.product-specs-header {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 25px 30px;
    background: rgba(255,233,0,0.05);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.product-specs-header i {
    width: 48px;
    height: 48px;
    background: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--dark);
}

.product-specs-header h4 {
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.5px;
}

.product-specs-list {
    padding: 10px 0;
}

.product-spec-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 30px;
    border-bottom: 1px solid rgba(255,255,255,0.04);
    transition: background 0.3s ease;
}

.product-spec-row:hover {
    background: rgba(255,233,0,0.03);
}

.product-spec-row:last-child {
    border-bottom: none;
}

.product-spec-label {
    font-size: 13px;
    color: rgba(255,255,255,0.5);
    font-weight: 500;
}

.product-spec-value {
    font-size: 13px;
    font-weight: 700;
    color: #fff;
    text-align: right;
    padding-left: 15px;
    position: relative;
}

.product-spec-value::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 4px;
    background: var(--primary);
    border-radius: 50%;
}

/* Downloads Card */
.product-downloads-card {
    background: #fff;
    border: 1px solid var(--border);
    padding: 30px;
}

.product-downloads-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 25px;
}

.product-downloads-header i {
    color: var(--primary);
    font-size: 20px;
}

.product-downloads-header h4 {
    font-size: 17px;
    font-weight: 700;
    color: var(--dark);
}

.product-download-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 18px;
    background: var(--light-bg);
    margin-bottom: 12px;
    text-decoration: none;
    transition: var(--transition);
}

.product-download-item:last-child {
    margin-bottom: 0;
}

.product-download-item:hover {
    background: var(--dark);
}

.product-download-item:hover .product-download-icon,
.product-download-item:hover .product-download-info span,
.product-download-item:hover .product-download-info small,
.product-download-item:hover > i {
    color: #fff;
}

.product-download-item:hover .product-download-icon {
    background: var(--primary);
    color: var(--dark);
}

.product-download-icon {
    width: 45px;
    height: 45px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: #dc3545;
    transition: var(--transition);
}

.product-download-info {
    flex: 1;
}

.product-download-info span {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 3px;
    transition: color 0.3s ease;
}

.product-download-info small {
    font-size: 12px;
    color: var(--gray);
    transition: color 0.3s ease;
}

.product-download-item > i {
    color: var(--gray);
    font-size: 14px;
    transition: var(--transition);
}

/* CTA Card */
.product-cta-card {
    background: linear-gradient(135deg, var(--primary) 0%, #f5df00 100%);
    padding: 35px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.product-cta-card::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -30%;
    width: 200px;
    height: 200px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
}

.product-cta-icon {
    width: 70px;
    height: 70px;
    background: var(--dark);
    margin: 0 auto 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: var(--primary);
}

.product-cta-card h4 {
    font-size: 20px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 10px;
}

.product-cta-card p {
    font-size: 14px;
    color: rgba(0,0,0,0.7);
    margin-bottom: 25px;
    line-height: 1.6;
}

.product-cta-phone {
    display: block;
    font-size: 24px;
    font-weight: 800;
    color: var(--dark);
    text-decoration: none;
    margin-bottom: 15px;
    transition: var(--transition);
}

.product-cta-phone:hover {
    transform: scale(1.05);
}

.product-cta-availability {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: rgba(0,0,0,0.6);
}

.product-cta-dot {
    width: 8px;
    height: 8px;
    background: #22c55e;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* ======== INTERACTIVE SECTION ======== */
.product-interactive {
    background: var(--light-bg);
    padding: 120px 0;
    position: relative;
    overflow: hidden;
}

.product-interactive::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 300px;
    background: linear-gradient(to bottom, #fff, transparent);
    pointer-events: none;
}

.product-interactive-header {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    z-index: 2;
}

.product-interactive-container {
    position: relative;
    max-width: 1100px;
    margin: 0 auto;
    z-index: 2;
}

/* Type Switcher */
.product-type-switcher {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
}

.product-type-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    background: #fff;
    border: 2px solid var(--border);
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    color: var(--dark);
    cursor: pointer;
    transition: var(--transition);
}

.product-type-btn:hover {
    border-color: var(--dark);
}

.product-type-btn.active {
    background: var(--dark);
    border-color: var(--dark);
    color: #fff;
}

.product-type-btn i {
    color: var(--primary);
}

/* Image Wrapper */
.product-image-container {
    background: #fff;
    padding: 20px;
    box-shadow: var(--shadow-lg);
    position: relative;
}

/* Subtle grid pattern */
.product-image-container::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(rgba(0,0,0,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0,0,0,0.03) 1px, transparent 1px);
    background-size: 25px 25px;
    pointer-events: none;
    z-index: 0;
}

.product-main-visual {
    position: relative;
    overflow: visible;
    z-index: 1;
}

.product-type-visual {
    display: none;
    position: relative;
}

.product-type-visual.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.product-type-visual img {
    width: 100%;
    height: auto;
    display: block;
}

.product-type-label {
    position: absolute;
    top: 20px;
    left: 20px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--dark);
    color: var(--primary);
    padding: 12px 20px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    z-index: 5;
}

@media (max-width: 768px) {
    .product-type-label {
        display: none;
    }
}

/* Hotspots */
.product-hotspot {
    position: absolute;
    width: 44px;
    height: 44px;
    transform: translate(-50%, -50%);
    cursor: pointer;
    z-index: 100;
}

.product-hotspot-dot {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-hotspot-dot::before {
    content: '';
    position: absolute;
    width: 18px;
    height: 18px;
    background: var(--primary);
    border-radius: 50%;
    box-shadow: 0 4px 20px rgba(255,233,0,0.5);
    z-index: 2;
    transition: transform 0.3s ease;
}

.product-hotspot:hover .product-hotspot-dot::before {
    transform: scale(1.3);
}

.product-hotspot-dot::after {
    content: '';
    position: absolute;
    width: 44px;
    height: 44px;
    background: rgba(255,233,0,0.25);
    border-radius: 50%;
    animation: hotspotPulse 2.5s ease-in-out infinite;
}

@keyframes hotspotPulse {
    0%, 100% { transform: scale(1); opacity: 0.6; }
    50% { transform: scale(1.8); opacity: 0; }
}

.product-hotspot-number {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 800;
    color: var(--dark);
    z-index: 3;
}

/* Hotspot Popup */
.product-hotspot-popup {
    position: absolute;
    width: 340px;
    background: #fff;
    box-shadow: 0 30px 80px rgba(0,0,0,0.25);
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: var(--transition);
    z-index: 99999;
    overflow: hidden;
}

.product-hotspot:hover .product-hotspot-popup {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Popup Positioning */
.product-hotspot.popup-right .product-hotspot-popup {
    left: 55px;
    top: 50%;
    transform: translateY(-50%) translateX(15px);
}

.product-hotspot.popup-right:hover .product-hotspot-popup {
    transform: translateY(-50%) translateX(0);
}

.product-hotspot.popup-left .product-hotspot-popup {
    right: 55px;
    top: 50%;
    transform: translateY(-50%) translateX(-15px);
}

.product-hotspot.popup-left:hover .product-hotspot-popup {
    transform: translateY(-50%) translateX(0);
}

.product-hotspot.popup-bottom .product-hotspot-popup {
    top: 55px;
    left: 50%;
    transform: translateX(-50%) translateY(15px);
}

.product-hotspot.popup-bottom:hover .product-hotspot-popup {
    transform: translateX(-50%) translateY(0);
}

.product-hotspot.popup-top .product-hotspot-popup {
    bottom: 55px;
    left: 50%;
    transform: translateX(-50%) translateY(-15px);
}

.product-hotspot.popup-top:hover .product-hotspot-popup {
    transform: translateX(-50%) translateY(0);
}

/* Popup Content */
.product-popup-image {
    position: relative;
    height: 160px;
    overflow: hidden;
}

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

.product-popup-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.4), transparent);
}

.product-popup-badge {
    position: absolute;
    bottom: 15px;
    left: 15px;
    background: var(--primary);
    color: var(--dark);
    padding: 6px 12px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 2;
}

.product-popup-content {
    padding: 25px;
}

.product-popup-content h4 {
    font-size: 18px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 10px;
}

.product-popup-content p {
    font-size: 13px;
    color: var(--gray);
    line-height: 1.7;
    margin-bottom: 20px;
}

.product-popup-specs {
    display: flex;
    gap: 20px;
    padding-top: 15px;
    border-top: 1px solid var(--border);
}

.product-popup-spec {
    flex: 1;
    text-align: center;
}

.product-popup-spec span {
    display: block;
    font-size: 10px;
    color: var(--gray-light);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 5px;
}

.product-popup-spec strong {
    font-size: 14px;
    font-weight: 700;
    color: var(--dark);
}

/* ======== CTA SECTION ======== */
.product-cta-section {
    background: var(--dark);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.product-cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse at 20% 50%, rgba(255,233,0,0.1) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 80%, rgba(255,233,0,0.08) 0%, transparent 40%);
    pointer-events: none;
}

.product-cta-content {
    text-align: center;
    position: relative;
    z-index: 2;
    max-width: 700px;
    margin: 0 auto;
}

.product-cta-title {
    font-size: 42px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 20px;
}

.product-cta-title span {
    color: var(--primary);
}

.product-cta-text {
    font-size: 17px;
    color: rgba(255,255,255,0.7);
    margin-bottom: 40px;
    line-height: 1.8;
}

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

.product-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 35px;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    transition: var(--transition);
}

.product-cta-btn-primary {
    background: var(--primary);
    color: var(--dark);
}

.product-cta-btn-primary:hover {
    background: #fff;
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(255,233,0,0.3);
}

.product-cta-btn-secondary {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255,255,255,0.3);
}

.product-cta-btn-secondary:hover {
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-3px);
}

/* ======== RESPONSIVE ======== */
@media (max-width: 1200px) {
    .product-hero-title {
        font-size: 52px;
    }
    
    .product-hero-grid {
        gap: 50px;
    }
    
    .product-overview-grid {
        gap: 50px;
    }
    
    .product-section-title {
        font-size: 40px;
    }
}

@media (max-width: 992px) {
    .product-hero {
        min-height: auto;
        padding: 120px 0 80px;
    }
    
    .product-hero-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .product-hero-content {
        text-align: center;
        padding: 0;
    }
    
    .product-hero-desc {
        margin: 0 auto 40px;
    }
    
    .product-hero-stats {
        justify-content: center;
    }
    
    .product-hero-gallery {
        padding: 0;
    }
    
    .product-hero-thumbs {
        position: relative;
        right: auto;
        top: auto;
        transform: none;
        flex-direction: row;
        justify-content: center;
        margin-top: 20px;
    }
    
    .product-hero-floating {
        position: relative;
        bottom: auto;
        left: auto;
        display: inline-block;
        margin-top: 20px;
    }
    
    .product-hero-scroll {
        display: none;
    }
    
    .product-overview {
        padding: 80px 0;
    }
    
    .product-overview-grid {
        grid-template-columns: 1fr;
    }
    
    .product-sidebar {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }
    
    .product-specs-card {
        grid-column: span 2;
    }
    
    .product-interactive {
        padding: 80px 0;
    }
    
    .product-image-container {
        padding: 30px;
    }
}

@media (max-width: 768px) {
    .product-hero-title {
        font-size: 36px;
    }
    
    .product-hero-stats {
        flex-direction: column;
        gap: 30px;
        align-items: center;
    }
    
    .product-stat {
        text-align: center;
    }
    
    .product-stat-value {
        font-size: 36px;
    }
    
    .product-hero-main-img img {
        height: 350px;
    }
    
    .product-section-title {
        font-size: 32px;
    }
    
    .product-inline-gallery {
        grid-template-columns: 1fr;
    }
    
    .product-inline-img img {
        height: 220px;
    }
    
    .product-features {
        grid-template-columns: 1fr;
    }
    
    .product-sidebar {
        grid-template-columns: 1fr;
    }
    
    .product-specs-card {
        grid-column: span 1;
    }
    
    .product-type-switcher {
        flex-direction: column;
    }
    
    .product-type-btn {
        justify-content: center;
    }
    
    .product-image-container {
        padding: 20px;
    }
    
    .product-hotspot {
        width: 36px;
        height: 36px;
    }
    
    .product-hotspot-dot::before {
        width: 14px;
        height: 14px;
    }
    
    .product-hotspot-dot::after {
        width: 36px;
        height: 36px;
    }
    
    .product-hotspot-popup {
        position: fixed !important;
        top: 50% !important;
        left: 50% !important;
        right: auto !important;
        bottom: auto !important;
        transform: translate(-50%, -50%) scale(0.95) !important;
        width: calc(100vw - 40px);
        max-width: 380px;
        z-index: 9999;
    }
    
    .product-hotspot:hover .product-hotspot-popup,
    .product-hotspot.active .product-hotspot-popup {
        transform: translate(-50%, -50%) scale(1) !important;
    }
    
    .product-cta-title {
        font-size: 32px;
    }
    
    .product-cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .product-cta-btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .product-hero-title {
        font-size: 30px;
    }
    
    .product-hero-badge {
        font-size: 10px;
        padding: 8px 16px;
    }
    
    .product-hero-desc {
        font-size: 15px;
    }
    
    .product-hero-main-img img {
        height: 280px;
    }
    
    .product-section-title {
        font-size: 26px;
    }
    
    .product-feature-card {
        padding: 25px;
    }
    
    .product-specs-card,
    .product-downloads-card,
    .product-cta-card {
        padding: 25px;
    }
    
    .product-cta-title {
        font-size: 26px;
    }
}

/* Mobile Popup Overlay - DISABLED */
.product-popup-overlay {
    display: none !important;
}

/* ======== COMPONENT TABS - ORIGINAL ENHANCED ======== */
.component-tabs-container {
    margin-top: 50px;
}

.component-tabs {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 25px;
    position: relative;
    z-index: 100;
    overflow-x: auto;
    padding: 10px 20px;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.component-tabs::-webkit-scrollbar {
    display: none;
}

.tab-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #ffffff;
    border: 2px solid var(--border);
    padding: 12px 18px;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: inherit;
    flex-shrink: 0;
    white-space: nowrap;
}

.tab-btn:hover {
    border-color: rgba(255,233,0,0.5);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.tab-btn.active {
    background: var(--dark);
    border-color: var(--dark);
    box-shadow: 0 12px 35px rgba(0,0,0,0.2);
}

.tab-number {
    width: 26px;
    height: 26px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 800;
    color: var(--dark);
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.tab-btn.active .tab-number {
    background: var(--primary);
    box-shadow: 0 0 20px rgba(255,233,0,0.5);
}

.tab-text {
    font-size: 12px;
    font-weight: 600;
    color: #333;
    transition: color 0.3s ease;
}

.tab-btn.active .tab-text {
    color: #fff;
}

/* Tab Contents - Dark Theme */
.tab-contents {
    margin-top: 0;
    padding-top: 40px;
    background: var(--dark);
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(0,0,0,0.2);
    position: relative;
    z-index: 1;
}

.tab-content {
    display: none;
    animation: tabFadeIn 0.5s ease;
}

.tab-content.active {
    display: block;
}

@keyframes tabFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.tab-content-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    padding: 40px;
    align-items: center;
}

/* Tab Text Content */
.tab-text-content h3 {
    font-size: 32px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 8px;
    letter-spacing: -0.5px;
}

.tab-subtitle {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    color: var(--dark);
    background: var(--primary);
    padding: 6px 14px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 18px;
}

.tab-description {
    font-size: 14px;
    color: rgba(255,255,255,0.7);
    line-height: 1.7;
    margin-bottom: 20px;
}

.tab-features {
    list-style: none;
    padding: 0;
    margin: 0 0 25px 0;
}

.tab-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: rgba(255,255,255,0.85);
    margin-bottom: 8px;
    line-height: 1.4;
    padding: 6px 0;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.tab-features li:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.tab-features li i {
    color: var(--primary);
    font-size: 8px;
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    background: rgba(255,233,0,0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tab-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--primary);
    color: var(--dark);
    padding: 12px 25px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.4s ease;
}

.tab-cta:hover {
    background: #fff;
    transform: translateX(5px);
    box-shadow: 0 15px 40px rgba(255,233,0,0.3);
}

.tab-cta i {
    transition: transform 0.3s ease;
}

.tab-cta:hover i {
    transform: translateX(5px);
}

/* Tab Images Grid */
.tab-images {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 15px;
}

.tab-image {
    border-radius: 16px;
    overflow: hidden;
    position: relative;
}

.tab-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.3), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.tab-image:hover::after {
    opacity: 1;
}

.tab-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

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

.tab-image.main {
    grid-column: span 2;
    height: 260px;
}

.tab-image:not(.main) {
    height: 160px;
}

/* Tab Responsive */
@media (max-width: 1100px) {
    .tab-content-inner {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 40px;
    }
    
    .tab-images {
        order: -1;
    }
    
    .tab-text-content h3 {
        font-size: 30px;
    }
}

@media (max-width: 768px) {
    .component-tabs {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
        padding: 10px 15px;
        justify-content: center;
        margin-bottom: 20px;
    }
    
    .tab-btn {
        padding: 10px 12px;
        justify-content: center;
    }
    
    .tab-number {
        width: 22px;
        height: 22px;
        font-size: 10px;
    }
    
    .tab-text {
        font-size: 10px;
    }
    
    .tab-content-inner {
        padding: 30px 20px;
    }
    
    .tab-text-content h3 {
        font-size: 24px;
    }
    
    .tab-image.main {
        height: 200px;
    }
    
    .tab-image:not(.main) {
        height: 130px;
    }
}

@media (max-width: 550px) {
    .component-tabs {
        grid-template-columns: repeat(3, 1fr);
        gap: 6px;
        padding: 8px 10px;
        margin-bottom: 15px;
    }
    
    .tab-btn {
        flex-direction: column;
        gap: 5px;
        padding: 10px 8px;
        border-radius: 12px;
    }
    
    .tab-number {
        width: 20px;
        height: 20px;
        font-size: 9px;
    }
    
    .tab-text {
        font-size: 9px;
        line-height: 1.2;
        text-align: center;
    }
    
    .tab-contents {
        padding-top: 30px;
    }
    
    .tab-content-inner {
        padding: 25px 18px;
    }
    
    .tab-text-content h3 {
        font-size: 22px;
    }
    
    .tab-subtitle {
        font-size: 10px;
        padding: 6px 12px;
    }
    
    .tab-description {
        font-size: 14px;
    }
    
    .tab-features li {
        font-size: 13px;
        padding: 8px 0;
    }
    
    .tab-images {
        grid-template-columns: 1fr;
    }
    
    .tab-image.main {
        grid-column: span 1;
        height: 200px;
    }
    
    .tab-image:not(.main) {
        height: 150px;
    }
    
    .tab-cta {
        width: 100%;
        justify-content: center;
        padding: 14px 25px;
    }
}

/* ======== APPLICATIONS SECTION ======== */
.product-applications {
    background: #fff;
    padding: 120px 0;
    position: relative;
}

.product-applications-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
}

.product-application-card {
    background: var(--light-bg);
    padding: 35px 25px;
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.product-application-card::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--primary);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.product-application-card:hover {
    background: #fff;
    box-shadow: var(--shadow-md);
    transform: translateY(-8px);
}

.product-application-card:hover::before {
    transform: scaleX(1);
}

.product-application-icon {
    width: 70px;
    height: 70px;
    background: var(--primary);
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: var(--dark);
    transition: var(--transition);
}

.product-application-card:hover .product-application-icon {
    background: var(--dark);
    color: var(--primary);
    transform: scale(1.1) rotate(-5deg);
}

.product-application-card h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 10px;
}

.product-application-card p {
    font-size: 13px;
    color: var(--gray);
    line-height: 1.6;
}

@media (max-width: 1200px) {
    .product-applications-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .product-applications {
        padding: 80px 0;
    }
    
    .product-applications-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .product-application-card {
        padding: 25px 20px;
    }
    
    .product-application-icon {
        width: 60px;
        height: 60px;
        font-size: 24px;
    }
}

@media (max-width: 576px) {
    .product-applications-grid {
        grid-template-columns: 1fr;
    }
}

/* ======== FOOTER STYLES ======== */
.footer {
    background: var(--dark);
    padding: 80px 0 30px;
    color: #fff;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 50px;
    margin-bottom: 50px;
}

.footer-logo {
    height: 40px;
    margin-bottom: 20px;
}

.footer-logo-text {
    font-size: 32px;
    font-weight: 900;
    color: #fff;
    letter-spacing: -1px;
    margin-bottom: 20px;
}

.footer-logo-text span {
    color: var(--primary);
}

.footer-brand p {
    font-size: 14px;
    color: rgba(255,255,255,0.6);
    line-height: 1.8;
    margin-bottom: 25px;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--primary);
    color: var(--dark);
}

.footer-links h4,
.footer-contact h4 {
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 15px;
}

.footer-links h4::after,
.footer-contact h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--primary);
}

.footer-links a {
    display: block;
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    font-size: 14px;
    margin-bottom: 12px;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary);
    padding-left: 5px;
}

.footer-contact p {
    display: flex;
    align-items: center;
    gap: 12px;
    color: rgba(255,255,255,0.6);
    font-size: 14px;
    margin-bottom: 15px;
}

.footer-contact i {
    color: var(--primary);
    width: 16px;
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
    text-align: center;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    font-size: 13px;
    color: rgba(255,255,255,0.5);
}

.footer-bottom-links {
    display: flex;
    gap: 25px;
}

.footer-bottom-links a {
    font-size: 13px;
    color: rgba(255,255,255,0.5);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-bottom-links a:hover {
    color: var(--primary);
}

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

@media (max-width: 576px) {
    .footer {
        padding: 60px 0 25px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 35px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .footer-bottom-links {
        gap: 20px;
    }
}
