/* Product Detail Specific Styles */
.product-detail-hero {
    background: linear-gradient(135deg, #174a6b 0%, #1a5f8a 50%, #0f5b86 100%);
    color: #fff;
    padding: 4rem 0;
    position: relative;
    overflow: hidden;
}

.product-detail-hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: url('https://www.thehammer.cn/static/hengda/banner22.jpg') center/cover no-repeat;
    opacity: 0.15;
}

.product-detail-hero .container {
    position: relative;
    z-index: 1;
}

.product-badge-detail {
    display: inline-block;
    padding: 0.5rem 1.2rem;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.badge-loader { background: linear-gradient(135deg, #e8f5e9, #c8e6c9); color: #2e7d32; }
.badge-light { background: linear-gradient(135deg, #fff3e0, #ffe0b2); color: #e65100; }

.product-detail-title {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #fff;
}

.product-model-label {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 1.5rem;
}

.product-key-specs {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1.25rem;
    margin-top: 2rem;
}

.key-spec-item {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 16px;
    padding: 1.25rem;
    text-align: center;
}

.key-spec-value {
    font-size: 1.8rem;
    font-weight: 700;
    color: #ffd54f;
    display: block;
}

.key-spec-label {
    font-size: 0.9rem;
    opacity: 0.85;
    margin-top: 0.25rem;
}

/* Image Gallery */
.product-gallery {
    padding: 4rem 0;
    background: #f8f9fa;
}

.gallery-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    grid-template-rows: repeat(2, 200px);
    gap: 1rem;
}

.gallery-item {
    border-radius: 16px;
    overflow: hidden;
    position: relative;
}

.gallery-item:first-child {
    grid-row: span 2;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
    color: #fff;
    padding: 2rem 1rem 1rem;
    font-size: 0.9rem;
}

/* Specs Detail Section */
.specs-detail-section {
    padding: 4rem 0;
}

.specs-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

.specs-card {
    background: linear-gradient(160deg, #fffdf7 0%, #eef8ff 100%);
    border: 1px solid rgba(41, 128, 185, 0.12);
    border-radius: 20px;
    padding: 2rem;
}

.specs-card h3 {
    color: #1f3f58;
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.specs-card h3 i {
    color: #174a6b;
}

.spec-row-detail {
    display: flex;
    justify-content: space-between;
    padding: 0.85rem 0;
    border-bottom: 1px solid rgba(0,0,0,0.06);
}

.spec-row-detail:last-child {
    border-bottom: none;
}

.spec-row-detail .label {
    color: #5c7a8a;
    font-size: 0.95rem;
}

.spec-row-detail .value {
    color: #1f3f58;
    font-weight: 600;
    font-size: 0.95rem;
}

/* Applications Section */
.applications-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e8f4f8 100%);
}

.app-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.app-card {
    background: #fff;
    border-radius: 20px;
    padding: 1.75rem;
    text-align: center;
    border: 1px solid rgba(23, 74, 107, 0.08);
    box-shadow: 0 8px 24px rgba(37, 91, 133, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.app-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(37, 91, 133, 0.12);
}

.app-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #e8f4fd, #dbeafe);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
    font-size: 1.8rem;
    color: #174a6b;
}

.app-card h4 {
    color: #1f3f58;
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
}

.app-card p {
    color: #5c7a8a;
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0;
}

/* Comparison Section */
.comparison-section {
    padding: 4rem 0;
}

.comparison-table-wrapper {
    overflow-x: auto;
    margin-top: 2rem;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(37, 91, 133, 0.1);
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
}

.comparison-table thead {
    background: linear-gradient(135deg, #174a6b, #1a5f8a);
    color: #fff;
}

.comparison-table th {
    padding: 1.25rem 1rem;
    text-align: left;
    font-weight: 600;
    font-size: 0.95rem;
}

.comparison-table td {
    padding: 1rem;
    border-bottom: 1px solid #eee;
    color: #355164;
}

.comparison-table tbody tr:hover {
    background: #f8fafc;
}

.comparison-table tbody tr:last-child td {
    border-bottom: none;
}

.highlight-col {
    background: #fff8e1;
    font-weight: 600;
    color: #1f3f58;
}

/* Features Section */
.features-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, #fffaf0 0%, #f4fbff 48%, #f8f7ff 100%);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.feature-card {
    background: #fff;
    border-radius: 16px;
    padding: 1.75rem;
    display: flex;
    gap: 1.25rem;
    border: 1px solid rgba(23, 74, 107, 0.06);
    box-shadow: 0 4px 16px rgba(37, 91, 133, 0.05);
}

.feature-icon {
    width: 50px;
    height: 50px;
    min-width: 50px;
    background: linear-gradient(135deg, #174a6b, #1a5f8a);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.3rem;
}

.feature-content h4 {
    color: #1f3f58;
    font-size: 1.05rem;
    margin-bottom: 0.5rem;
}

.feature-content p {
    color: #5c7a8a;
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0;
}

/* Workflow Section */
.workflow-section {
    padding: 4rem 0;
    background: #fff;
}

.workflow-steps {
    display: flex;
    justify-content: space-between;
    margin-top: 3rem;
    position: relative;
}

.workflow-steps::before {
    content: '';
    position: absolute;
    top: 35px;
    left: 60px;
    right: 60px;
    height: 3px;
    background: linear-gradient(90deg, #174a6b, #1a5f8a);
    z-index: 0;
}

.workflow-step {
    text-align: center;
    position: relative;
    z-index: 1;
    flex: 1;
}

.step-number {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #174a6b, #1a5f8a);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1rem;
    box-shadow: 0 8px 24px rgba(23, 74, 107, 0.3);
}

.workflow-step h4 {
    color: #1f3f58;
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.workflow-step p {
    color: #5c7a8a;
    font-size: 0.85rem;
    max-width: 150px;
    margin: 0 auto;
}

/* FAQ Section */
.faq-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e8f4f8 100%);
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
    margin-top: 2rem;
}

.faq-card {
    background: linear-gradient(160deg, #fffdf7 0%, #eef8ff 100%);
    border: 1px solid rgba(41, 128, 185, 0.12);
    border-radius: 20px;
    padding: 1.5rem;
}

.faq-card h3 {
    color: #1f3f58;
    font-size: 1.05rem;
    margin-bottom: 0.75rem;
}

.faq-card p {
    color: #5c7a8a;
    font-size: 0.9rem;
    line-height: 1.7;
    margin: 0;
}

/* Responsive */
@media (max-width: 992px) {
    .gallery-grid {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(3, 200px);
    }
    .gallery-item:first-child {
        grid-row: span 1;
    }
    .specs-detail-grid {
        grid-template-columns: 1fr;
    }
    .app-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .features-grid {
        grid-template-columns: 1fr;
    }
    .workflow-steps {
        flex-wrap: wrap;
        gap: 2rem;
    }
    .workflow-steps::before {
        display: none;
    }
}

@media (max-width: 768px) {
    .product-detail-title {
        font-size: 2rem;
    }
    .product-key-specs {
        grid-template-columns: repeat(2, 1fr);
    }
    .app-grid {
        grid-template-columns: 1fr;
    }
    .faq-grid {
        grid-template-columns: 1fr;
    }
}