/* HMI Product Page Specific Styles */

/* Product Hero */
.product-hero {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: var(--bg-white);
    padding: 60px 0 40px;
}

.breadcrumb {
    font-size: 14px;
    margin-bottom: 20px;
    opacity: 0.8;
}

.breadcrumb a {
    color: var(--bg-white);
    text-decoration: none;
    transition: opacity 0.3s;
}

.breadcrumb a:hover {
    opacity: 1;
}

.breadcrumb span {
    color: var(--bg-white);
}

.product-hero h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.2;
}

.product-tagline {
    font-size: 20px;
    opacity: 0.9;
}

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

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

.product-gallery-section {
    position: sticky;
    top: 100px;
}

.main-image {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    margin-bottom: 20px;
    background-color: var(--bg-light);
}

.main-image img {
    width: 100%;
    height: auto;
    display: block;
}

.thumbnail-images {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.thumbnail-images img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    cursor: pointer;
    border: 3px solid transparent;
    transition: all 0.3s;
}

.thumbnail-images img:hover {
    border-color: var(--primary-color);
    transform: scale(1.05);
}

.thumbnail-images img.active {
    border-color: var(--primary-color);
}

.product-info-section h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.product-intro {
    font-size: 18px;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 40px;
}

.key-features h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 25px;
    color: var(--text-dark);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.feature-box {
    background-color: var(--bg-light);
    padding: 25px;
    border-radius: 10px;
    transition: all 0.3s;
}

.feature-box:hover {
    background-color: var(--primary-color);
    color: var(--bg-white);
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(26, 86, 219, 0.3);
}

.feature-icon {
    font-size: 32px;
    display: block;
    margin-bottom: 12px;
}

.feature-box h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
}

.feature-box p {
    font-size: 14px;
    line-height: 1.6;
    opacity: 0.9;
}

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

/* Technical Specifications */
.tech-specs {
    padding: 80px 0;
    background-color: var(--bg-light);
}

.specs-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.spec-category {
    background-color: var(--bg-white);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.spec-category h3 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--primary-color);
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 10px;
}

.specs-table {
    width: 100%;
    border-collapse: collapse;
}

.specs-table tr {
    border-bottom: 1px solid var(--border-color);
}

.specs-table tr:last-child {
    border-bottom: none;
}

.specs-table td {
    padding: 12px 0;
    font-size: 15px;
}

.spec-label {
    font-weight: 600;
    color: var(--text-dark);
    width: 45%;
}

.spec-value {
    color: var(--text-light);
}

/* Applications */
.applications {
    padding: 80px 0;
    background-color: var(--bg-white);
}

.section-subtitle {
    text-align: center;
    font-size: 18px;
    color: var(--text-light);
    margin-top: 10px;
    margin-bottom: 20px;
}

.applications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

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

@media (min-width: 768px) and (max-width: 1199px) {
    .applications-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 767px) {
    .applications-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
}

.application-card {
    background-color: var(--bg-light);
    padding: 35px;
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s;
    border: 2px solid transparent;
}

.application-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.app-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.application-card h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-dark);
}

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

/* System Architecture */
.architecture {
    padding: 80px 0;
    background-color: var(--bg-light);
}

.architecture-content {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 50px;
    align-items: start;
    margin-top: 40px;
}

.arch-text h3 {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.arch-text p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 25px;
}

.arch-text h4 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 15px;
    margin-top: 30px;
    color: var(--primary-color);
}

.arch-text ul {
    list-style: none;
    padding: 0;
}

.arch-text ul li {
    padding: 10px 0;
    padding-left: 30px;
    position: relative;
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-dark);
}

.arch-text ul li:before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
    font-size: 18px;
}

.arch-text ul li strong {
    color: var(--text-dark);
}

.arch-image {
    position: sticky;
    top: 100px;
}

.arch-image img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.image-caption {
    font-size: 14px;
    color: var(--text-light);
    margin-top: 15px;
    text-align: center;
    font-style: italic;
}

/* Engineering Support */
.engineering-support {
    padding: 80px 0;
    background-color: var(--bg-white);
}

.support-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.support-item {
    background-color: var(--bg-light);
    padding: 30px;
    border-radius: 10px;
    border-left: 4px solid var(--primary-color);
    transition: all 0.3s;
}

.support-item:hover {
    transform: translateX(5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.support-item h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.support-item p {
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-light);
}

/* Product CTA */
.product-cta {
    background: linear-gradient(135deg, #1a56db 0%, #3b82f6 100%);
    padding: 80px 0;
    text-align: center;
}

.product-cta .cta-content h2 {
    font-size: 38px;
    font-weight: 700;
    color: var(--bg-white);
    margin-bottom: 20px;
}

.product-cta .cta-content p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 35px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

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

    .product-gallery-section {
        position: static;
    }

    .architecture-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .arch-image {
        position: static;
    }
}

@media (max-width: 768px) {
    .product-hero h1 {
        font-size: 32px;
    }

    .product-tagline {
        font-size: 16px;
    }

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

    .specs-container {
        grid-template-columns: 1fr;
    }

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

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

    .product-cta .cta-content h2 {
        font-size: 28px;
    }

    .product-info-section h2 {
        font-size: 24px;
    }

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

@media (max-width: 480px) {
    .product-hero {
        padding: 40px 0 30px;
    }

    .product-hero h1 {
        font-size: 26px;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .cta-buttons a {
        width: 100%;
        text-align: center;
    }
}
