/* ========================================
   Products Page Styles
   ======================================== */

/* Product Navigation */
.product-nav {
    background: var(--white);
    padding: 20px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 70px;
    z-index: 999;
    border-bottom: 3px solid var(--primary-color);
}

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

.product-nav-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px 35px;
    background: var(--bg-light);
    border-radius: 8px;
    font-weight: 600;
    font-size: 16px;
    transition: var(--transition);
    border: 2px solid transparent;
}

.product-nav-btn i {
    font-size: 20px;
}

.product-nav-btn:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(26, 58, 107, 0.3);
}

.product-nav-btn.active {
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--secondary-color);
    box-shadow: 0 3px 10px rgba(26, 58, 107, 0.3);
}

/* Product Section */
.product-section {
    padding: 80px 0;
}

.product-section.bg-light {
    background: var(--bg-light);
}

.product-intro {
    text-align: center;
    margin-bottom: 50px;
}

/* Product Features */
.product-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.feature-box {
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.feature-box h3 {
    font-size: 20px;
    color: var(--primary-color);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--secondary-color);
}

.feature-box ul {
    list-style: none;
}

.feature-box li {
    padding: 10px 0;
    padding-left: 25px;
    position: relative;
    color: var(--text-dark);
}

.feature-box li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: bold;
    font-size: 18px;
}

/* CAD Notice */
.cad-notice {
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    padding: 20px 30px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.cad-notice i {
    font-size: 24px;
    color: var(--primary-color);
}

.cad-notice span {
    flex: 1;
    color: var(--text-dark);
    font-weight: 500;
}

/* Product Table */
.product-table-container {
    margin-top: 40px;
}

.product-table-container h3 {
    font-size: 22px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.product-table {
    width: 100%;
    background: var(--white);
}

.product-table thead {
    background: var(--primary-color);
    color: var(--white);
}

.product-table th {
    font-weight: 600;
    text-align: center;
}

.product-table td {
    text-align: center;
}

.product-table tbody tr:hover {
    background: #e3f2fd;
}

/* Precision Grade */
.precision-grade {
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    margin-bottom: 40px;
}

.precision-grade h3 {
    font-size: 20px;
    color: var(--primary-color);
    margin-bottom: 20px;
    text-align: center;
}

.grade-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.grade-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    background: var(--bg-light);
    border-radius: 8px;
    text-align: center;
}

.grade-item strong {
    font-size: 32px;
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.grade-item span {
    color: var(--text-dark);
    font-size: 14px;
}

/* Parts Grid */
.parts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.part-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
}

.part-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.part-icon {
    width: 80px;
    height: 80px;
    background: var(--bg-light);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 32px;
    transition: var(--transition);
}

.part-card:hover .part-icon {
    background: var(--primary-color);
    color: var(--white);
}

.part-card h3 {
    font-size: 20px;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.part-card p {
    color: var(--text-light);
    font-size: 14px;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, #2c5aa0 100%);
    padding: 80px 0;
    text-align: center;
    color: var(--white);
}

.cta-section h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

.cta-section p {
    font-size: 18px;
    margin-bottom: 40px;
    opacity: 0.9;
}

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

/* Responsive */
@media (max-width: 768px) {
    .product-nav {
        top: 60px;
    }
    
    .product-nav-links {
        flex-direction: column;
    }
    
    .product-nav-btn {
        justify-content: center;
    }
    
    .product-features {
        grid-template-columns: 1fr;
    }
    
    .cad-notice {
        flex-direction: column;
        text-align: center;
    }
    
    .product-table-container {
        overflow-x: auto;
    }
    
    .grade-list {
        grid-template-columns: 1fr;
    }
    
    .parts-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
}
