/* =========================================
   PREMIUM PRODUCT PAGES STYLES
   ========================================= */

.product-page-wrapper {
    padding-top: 120px;
    background: #f8fafc;
}

/* --- Hero Section --- */
.product-hero {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    position: relative;
    padding: 120px 0;
    overflow: hidden;
    color: var(--white);
    margin-top: 70px; /* navbar offset */
    box-shadow: inset 0 -10px 30px rgba(0,0,0,0.2);
}

.product-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.2) 0%, transparent 60%);
    border-radius: 50%;
    animation: floatAnim 10s infinite alternate ease-in-out;
}

.product-hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.15) 0%, transparent 60%);
    border-radius: 50%;
    animation: floatAnim 12s infinite alternate-reverse ease-in-out;
}

@keyframes floatAnim {
    0% { transform: translateY(0) scale(1); }
    100% { transform: translateY(-30px) scale(1.05); }
}

.product-hero-container {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 50px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.product-hero-content {
    animation: slideUp 1s ease-out forwards;
}

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

.product-hero-content .breadcrumb {
    color: rgba(255,255,255,0.7);
    font-size: 0.95rem;
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}
.product-hero-content .breadcrumb a {
    color: #10b981; /* primary emerald */
    text-decoration: none;
    transition: color 0.3s ease;
}
.product-hero-content .breadcrumb a:hover {
    color: #34d399;
}

.product-hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 25px;
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: -1px;
}

.product-hero-content h1 span.highlight {
    background: linear-gradient(to right, #10b981, #3b82f6);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    position: relative;
    display: inline-block;
}

.product-hero-content p {
    font-size: 1.2rem;
    color: rgba(255,255,255,0.85);
    max-width: 650px;
    margin-bottom: 35px;
    line-height: 1.7;
}

.product-hero-content .btn {
    padding: 14px 34px;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.4s ease;
    box-shadow: 0 10px 20px rgba(16, 185, 129, 0.3);
}
.product-hero-content .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 25px rgba(16, 185, 129, 0.4);
}

.product-hero-img-box {
    width: 100%;
    aspect-ratio: 4/3;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.6);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    transition: transform 0.5s ease, box-shadow 0.5s ease;
    animation: fadeInRight 1s ease-out forwards 0.3s;
    opacity: 0;
}

.product-hero-img-box:hover {
    transform: translateY(-10px) rotate(1deg);
    box-shadow: 0 30px 60px -15px rgba(16, 185, 129, 0.3);
    border-color: rgba(16, 185, 129, 0.4);
}

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

.product-hero-img-box i { 
    font-size: 4.5rem; 
    margin-bottom: 15px; 
    background: linear-gradient(135deg, #10b981, #3b82f6);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    filter: drop-shadow(0 5px 15px rgba(16, 185, 129, 0.4));
}

/* --- Content Sections --- */
.prod-section {
    padding: 100px 0;
    background: #ffffff;
    position: relative;
    overflow: hidden;
}

.prod-section:nth-child(odd) { 
    background: #f8fafc; 
}

.prod-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
}
.prod-grid.reverse { 
    grid-template-columns: 0.9fr 1.1fr;
}
.prod-grid.reverse > .prod-text { order: 2; }
.prod-grid.reverse > .prod-img-box { order: 1; }

.prod-text {
    opacity: 0;
    transform: translateY(30px);
    animation: revealAnim 0.8s ease-out forwards;
    animation-timeline: view();
    animation-range: entry 10% cover 30%;
}

@supports not (animation-timeline: view()) {
    .prod-text {
        opacity: 1;
        transform: none;
        animation: none;
    }
}

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

.prod-text .section-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(16, 185, 129, 0.1);
    color: #047857;
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 6px -1px rgba(16, 185, 129, 0.1);
}

.prod-text h2 {
    font-size: 2.5rem;
    color: #1e293b;
    margin-bottom: 25px;
    font-weight: 800;
    line-height: 1.3;
}

.prod-text p {
    font-size: 1.1rem;
    color: #475569;
    line-height: 1.8;
    margin-bottom: 20px;
}

.prod-img-box {
    width: 100%;
    aspect-ratio: 4/3;
    background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
    border-radius: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #64748b;
    font-weight: 600;
    box-shadow: 0 20px 40px -10px rgba(0,0,0,0.1);
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
    border: 1px solid rgba(255,255,255,0.7);
}

.prod-img-box::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(45deg, transparent, rgba(255,255,255,0.4), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.prod-img-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 50px -12px rgba(16, 185, 129, 0.2);
}

.prod-img-box:hover::before {
    transform: translateX(100%);
}

.prod-img-box i { 
    font-size: 4rem; 
    color: #94a3b8; 
    margin-bottom: 15px;
    transition: color 0.3s ease;
}

.prod-img-box:hover i {
    color: #10b981;
}

/* --- Applications Section --- */
.applications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 25px;
    margin-top: 50px;
}

.app-card {
    background: #ffffff;
    padding: 35px 25px;
    border-radius: 20px;
    text-align: center;
    border: 1px solid #e2e8f0;
    box-shadow: 0 10px 15px -3px rgba(0,0,0,0.05);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.app-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #10b981, #3b82f6);
    transform: scaleX(0);
    transition: transform 0.4s ease;
    transform-origin: left;
}

.app-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1), 0 10px 10px -5px rgba(0,0,0,0.04);
    border-color: #cbd5e1;
}

.app-card:hover::after {
    transform: scaleX(1);
}

.app-card i {
    font-size: 2.8rem;
    color: #10b981;
    margin-bottom: 20px;
    display: inline-block;
    transition: transform 0.4s ease;
    background: linear-gradient(135deg, #10b981, #3b82f6);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.app-card:hover i {
    transform: scale(1.1) rotate(5deg);
}

.app-card h4 {
    font-size: 1.15rem;
    color: #1e293b;
    font-weight: 700;
}

.features-list { 
    display: grid; 
    grid-template-columns: 1fr 1fr; 
    gap: 20px; 
    margin-top: 30px;
}

.features-list li { 
    display: flex; 
    align-items: flex-start; 
    gap: 12px; 
    font-weight: 600;
    color: #334155;
    font-size: 1.05rem;
}

.features-list li i { 
    color: #10b981; 
    margin-top: 4px; 
    font-size: 1.2rem;
    background: rgba(16, 185, 129, 0.15);
    padding: 4px;
    border-radius: 50%;
}

/* Responsive */
@media(max-width: 991px) {
    .product-hero-container {
        grid-template-columns: 1fr; 
        text-align: center; 
        gap: 30px;
    }
    
    .product-hero-content h1 {
        font-size: 2.8rem;
    }

    .prod-grid, .prod-grid.reverse { 
        grid-template-columns: 1fr; 
        text-align: center;
        gap: 40px;
    }
    
    .prod-grid.reverse > .prod-text,
    .prod-grid.reverse > .prod-img-box {
        order: 0;
    }

    .features-list { 
        grid-template-columns: 1fr; 
        text-align: left;
    }
    
    .product-hero-content p { 
        margin: 0 auto 30px; 
    }
    
    .prod-text .section-badge {
        margin: 0 auto 20px auto;
    }
}
