/* ==================== 产品详情页样式 ==================== */

/* 产品 Hero */
.product-hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 22px 60px;
    background: linear-gradient(180deg, #f5f5f7 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

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

.product-badge {
    display: inline-block;
    padding: 6px 16px;
    background: var(--primary-color);
    color: white;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 20px;
    width: fit-content;
}

.product-hero h1 {
    font-size: clamp(40px, 6vw, 64px);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 16px;
}

.product-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.product-tags {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.tag {
    padding: 8px 20px;
    background: var(--bg-secondary);
    border-radius: 24px;
    font-size: 14px;
    font-weight: 500;
}

.product-hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.product-main-img {
    position: relative;
    width: 450px;
    height: 450px;
}

.product-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(0, 113, 227, 0.2) 0%, transparent 70%);
    border-radius: 50%;
    animation: pulse 3s ease-in-out infinite;
}

.product-image-placeholder {
    position: relative;
    width: 100%;
    height: 100%;
    background: linear-gradient(145deg, #e8e8ed 0%, #d2d2d7 100%);
    border-radius: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-shadow: var(--shadow-medium);
}

.product-image-placeholder i {
    font-size: 120px;
    color: var(--primary-color);
    opacity: 0.6;
    margin-bottom: 20px;
}

.product-image-placeholder p {
    color: var(--text-secondary);
    font-size: 14px;
}

/* 产品特点 */
.product-features {
    padding: 100px 22px;
    background: var(--bg-color);
}

.features-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.feature-card {
    background: var(--bg-secondary);
    padding: 32px;
    border-radius: 20px;
    text-align: center;
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-medium);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: white;
    border-radius: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 20px;
    box-shadow: var(--shadow-light);
    transition: var(--transition);
}

.feature-card:hover .feature-icon {
    transform: scale(1.1);
}

.feature-icon i {
    font-size: 32px;
    color: var(--primary-color);
}

.feature-card h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
}

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

/* 产品解剖图 */
.product-anatomy {
    padding: 100px 22px;
    background: var(--bg-secondary);
}

.anatomy-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 40px;
    align-items: center;
}

.anatomy-image {
    position: relative;
    background: white;
    border-radius: 24px;
    overflow: hidden;
    aspect-ratio: 16/10;
}

.anatomy-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: linear-gradient(145deg, #f5f5f7 0%, #e8e8ed 100%);
}

.anatomy-placeholder i {
    font-size: 100px;
    color: var(--text-secondary);
    opacity: 0.3;
    margin-bottom: 16px;
}

.anatomy-grid {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.grid-line {
    position: absolute;
    background: rgba(0, 113, 227, 0.1);
}

.grid-line.horizontal {
    left: 0;
    right: 0;
    height: 1px;
}

.grid-line.vertical {
    top: 0;
    bottom: 0;
    width: 1px;
}

/* 热区标注 */
.anatomy-hotspots {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.hotspot {
    position: absolute;
    transform: translate(-50%, -50%);
    cursor: pointer;
    z-index: 10;
}

.hotspot-dot {
    width: 24px;
    height: 24px;
    background: var(--primary-color);
    border-radius: 50%;
    border: 3px solid white;
    box-shadow: 0 2px 10px rgba(0, 113, 227, 0.4);
    animation: hotspotPulse 2s ease-in-out infinite;
}

.hotspot:hover .hotspot-dot,
.hotspot.active .hotspot-dot {
    animation: none;
    transform: scale(1.3);
}

.hotspot-label {
    position: absolute;
    top: 30px;
    left: 50%;
    transform: translateX(-50%);
    background: white;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 500;
    white-space: nowrap;
    box-shadow: var(--shadow-light);
    opacity: 0;
    transition: var(--transition);
    pointer-events: none;
}

.hotspot:hover .hotspot-label,
.hotspot.active .hotspot-label {
    opacity: 1;
}

@keyframes hotspotPulse {
    0%, 100% {
        box-shadow: 0 2px 10px rgba(0, 113, 227, 0.4);
    }
    50% {
        box-shadow: 0 2px 20px rgba(0, 113, 227, 0.8);
    }
}

/* 解剖图详情面板 */
.anatomy-details {
    background: white;
    border-radius: 24px;
    padding: 40px;
    min-height: 300px;
}

.detail-panel {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
}

.detail-content h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--primary-color);
}

.detail-content p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.7;
}

.detail-content ul {
    margin-top: 20px;
}

.detail-content li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    font-size: 14px;
}

.detail-content li i {
    color: var(--primary-color);
}

/* 规格参数 */
.product-specs {
    padding: 100px 22px;
    background: var(--bg-color);
}

.specs-table {
    max-width: 800px;
    margin: 0 auto;
    background: var(--bg-secondary);
    border-radius: 20px;
    overflow: hidden;
}

.spec-row {
    display: grid;
    grid-template-columns: 200px 1fr;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

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

.spec-label {
    padding: 20px 24px;
    font-weight: 600;
    background: rgba(0, 0, 0, 0.02);
    font-size: 14px;
}

.spec-value {
    padding: 20px 24px;
    font-size: 14px;
    color: var(--text-secondary);
}

/* 应用场景 */
.product-scenarios {
    padding: 100px 22px;
    background: var(--bg-secondary);
}

.scenarios-grid {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.scenario-card {
    background: white;
    padding: 32px;
    border-radius: 20px;
    text-align: center;
    transition: var(--transition);
    cursor: pointer;
}

.scenario-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-light);
}

.scenario-icon {
    width: 64px;
    height: 64px;
    background: var(--bg-secondary);
    border-radius: 16px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 16px;
}

.scenario-icon i {
    font-size: 28px;
    color: var(--primary-color);
}

.scenario-card h3 {
    font-size: 14px;
    font-weight: 500;
}

/* CTA */
.product-cta {
    padding: 100px 22px;
    background: var(--secondary-color);
    color: white;
    text-align: center;
}

.cta-content h2 {
    font-size: 36px;
    font-weight: 600;
    margin-bottom: 12px;
}

.cta-content p {
    font-size: 18px;
    opacity: 0.8;
    margin-bottom: 32px;
}

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

.btn-large {
    padding: 16px 36px;
    font-size: 16px;
}

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

.product-cta .btn-primary:hover {
    background: #f5f5f7;
}

.product-cta .btn-secondary {
    border-color: white;
    color: white;
}

.product-cta .btn-secondary:hover {
    background: white;
    color: var(--secondary-color);
}

/* 响应式 */
@media (max-width: 968px) {
    .product-hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .product-tags {
        justify-content: center;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .anatomy-container {
        grid-template-columns: 1fr;
    }
    
    .scenarios-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .features-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
    }
    
    .spec-row {
        grid-template-columns: 1fr;
    }
    
    .spec-label {
        background: transparent;
        padding-bottom: 8px;
    }
    
    .spec-row {
        padding: 16px 0;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    }
    
    .scenarios-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
}
