/* 产品主视觉区域样式 */
.hero-container {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 40px;
	align-items: center;
}

.hero-content h1 {
	font-size: 2.5rem;
	margin-bottom: 20px;
	color: var(--color-text-dark);
	line-height: 1.2;
}

.hero-content p {
	font-size: 1.1rem;
	color: var(--gray-500);
	margin-bottom: 30px;
	line-height: 1.6;
}

/* 轮播图样式 - 已修复 */
.slider-container {
	position: relative;
	border-radius: 8px;
	overflow: hidden;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
	height: 400px;
}

.slider {
	display: flex;
	transition: transform 0.5s ease;
	height: 100%;
}

.slide {
	min-width: 100%;
	position: relative;
	height: 100%;
}

.slide img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	display: block;
}

.slide-caption {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	background: rgba(0, 0, 0, 0.7);
	color: white;
	padding: 15px;
	font-size: 0.9rem;
}

.slider-nav {
	position: absolute;
	top: 50%;
	width: 100%;
	display: flex;
	justify-content: space-between;
	transform: translateY(-50%);
	padding: 0 15px;
	z-index: 10;
}

.slider-btn {
	background: rgba(255, 255, 255, 0.8);
	border: none;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: all 0.3s ease;
}

.slider-btn:hover {
	background: white;
}

/* 轮播指示器 */
.slider-indicators {
	position: absolute;
	bottom: 15px;
	left: 0;
	right: 0;
	display: flex;
	justify-content: center;
	gap: 10px;
	z-index: 10;
}

.indicator {
	width: 12px;
	height: 12px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.5);
	cursor: pointer;
	transition: all 0.3s ease;
}

.indicator.active {
	background: white;
}

/* 视频区域样式 - 已修复 */
.video-container {
	position: relative;
	border-radius: 8px;
	overflow: hidden;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
	height: 400px;
}

.video-placeholder {
	position: relative;
	cursor: pointer;
	height: 100%;
	background-size: cover;
	background-position: center;
	display: flex;
	align-items: center;
	justify-content: center;
	background-color: #333;
	/* 默认背景色 */
}

.video-placeholder::after {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(0, 0, 0, 0.3);
}

.play-button {
	width: 80px;
	height: 80px;
	background: rgba(255, 255, 255, 0.9);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 5;
	transition: all 0.3s ease;
}

.play-button:hover {
	transform: scale(1.1);
	background: white;
}

.play-button::after {
	content: '';
	border-style: solid;
	border-width: 10px 0 10px 16px;
	border-color: transparent transparent transparent var(--primary-blue);
	margin-left: 4px;
}

/* 视频悬浮播放样式 */
.video-modal {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.9);
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 3000;
	opacity: 0;
	visibility: hidden;
	transition: all 0.3s ease;
}

.video-modal.active {
	opacity: 1;
	visibility: visible;
}

.video-modal-content {
	position: relative;
	width: 80%;
	max-width: 900px;
	background: black;
}

.video-modal iframe {
	width: 100%;
	height: 500px;
	border: none;
}

.close-video {
	position: absolute;
	top: -40px;
	right: 0;
	background: none;
	border: none;
	color: white;
	font-size: 24px;
	cursor: pointer;
	width: 30px;
	height: 30px;
	display: flex;
	align-items: center;
	justify-content: center;
}

/* 移动端适配 */
@media (max-width: 992px) {
	.hero-container {
		grid-template-columns: 1fr;
		gap: 30px;
	}

	.hero-content h1 {
		font-size: 2rem;
	}

}

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

	.slider-container,
	.video-container {
		height: 300px;
	}

	.video-modal iframe {
		height: 300px;
	}
}

@media (max-width: 576px) {
	.hero-content h1 {
		font-size: 1.8rem;
	}

	.slider-container,
	.video-container {
		height: 250px;
	}

	.play-button {
		width: 60px;
		height: 60px;
	}

}
/* 内容编辑区域样式 */
.content-editor-area {
    margin-top: var(--spacing-xl);
    padding: var(--spacing-xl) 0;
    background-color: var(--color-bg-default);
    border-radius: 8px;
}

.editor-content {
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.editor-content h2 {
    font-size: 1.8rem;
    color: var(--color-text-dark);
    margin-bottom: var(--spacing-lg);
    padding-bottom: var(--spacing-sm);
    border-bottom: 2px solid var(--color-primary);
}

.editor-content h3 {
    font-size: 1.4rem;
    color: var(--color-text-dark);
    margin: var(--spacing-lg) 0 var(--spacing-md);
}

.editor-content h4 {
    font-size: 1.1rem;
    color: var(--color-primary);
    margin: var(--spacing-md) 0 var(--spacing-sm);
}

.editor-content p {
    margin-bottom: var(--spacing-md);
    line-height: 1.6;
    color: var(--gray-500);
}

/* 移动端适配 */
@media (max-width: 768px) {
    .content-editor-area {
        margin-top: var(--spacing-lg);
        padding: var(--spacing-lg) 0;
    }
    
    .editor-content h2 {
        font-size: 1.5rem;
    }
    
    .editor-content h3 {
        font-size: 1.2rem;
    }
    
}

@media (max-width: 480px) {
    .editor-content {
        padding: 0 var(--spacing-sm);
    }
    
    .editor-content h2 {
        font-size: 1.3rem;
    }
}

 /* 产品应用展示区域样式 */
    .applications-showcase {
        padding: 60px 0;
        border-top: 1px solid var(--color-border);
    }
    
    .applications-title {
        font-size: 28px;
        color: var(--color-text-dark);
        margin-bottom: 40px;
        font-weight: 600;
        text-align: left;
    }
    
    .applications-grid {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 30px;
    }
    
    .application-card {
        display: block;
        text-decoration: none;
        color: inherit;
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }
    
    .application-card:hover {
        transform: translateY(-8px);
    }
    
    .application-image {
        position: relative;
        width: 100%;
        padding-bottom: 100%; /* 创建正方形容器 */
        overflow: hidden;
        border-radius: 8px;
        margin-bottom: 16px;
        background-color: var(--color-bg-alt);
    }
    
    .application-image img {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.5s ease;
    }
    
    .application-card:hover .application-image img {
        transform: scale(1.05);
    }
    
    .application-name {
        font-size: 18px;
        font-weight: 500;
        color: var(--color-text-dark);
        text-align: center;
        transition: color 0.3s ease;
        margin-top: 0;
    }
    
    .application-card:hover .application-name {
        color: var(--primary-blue);
    }
    
    /* 平板端适配 */
    @media (max-width: 992px) {
        .applications-grid {
            grid-template-columns: repeat(2, 1fr);
            gap: 25px;
        }
        
        .applications-showcase {
            padding: 50px 0;
        }
        
        .applications-title {
            font-size: 26px;
            margin-bottom: 35px;
        }
    }
    
    /* 移动端适配 */
    @media (max-width: 576px) {
        .applications-grid {
            grid-template-columns: 1fr;
            max-width: 350px;
            margin: 0 auto;
            gap: 20px;
        }
        
        .applications-showcase {
            padding: 40px 0;
        }
        
        .applications-title {
            font-size: 24px;
            margin-bottom: 30px;
        }
        
        .application-name {
            font-size: 16px;
        }
    }

    .specifications-section {
        border-top: 1px solid var(--color-border);
        border-bottom: 1px solid var(--color-border);
    }
    
    .specifications-header {
        margin-bottom: 40px;
        text-align: left;
    }
    
    .specifications-title {
        font-size: 2rem;
        font-weight: 600;
        color: var(--color-text-dark);
        margin-bottom: 12px;
        text-align: left;
    }
    
    .specifications-description {
        font-size: 1.1rem;
        color: var(--gray-500);
        line-height: 1.6;
        max-width: 600px;
    }
    
    .specifications-content {
        background: var(--color-bg-alt);
        border-radius: 8px;
        padding: 30px;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    }
    
    .specifications-editor-area {
        overflow: auto;
    }
    
    .specifications-table {
        overflow-x: auto;
        margin-top: 20px;
    }
    
    .specifications-table table {
        width: 100%;
        min-width: 800px;
        border-collapse: collapse;
        font-size: 0.95rem;
    }
    
    .specifications-table th {
        background-color: var(--primary-blue);
        color: var(--white);
        font-weight: 600;
        padding: 16px 20px;
        text-align: left;
        border: none;
    }
    
    .specifications-table td {
        padding: 14px 20px;
        border-bottom: 1px solid var(--color-border);
        background-color: var(--white);
    }
    
    .specifications-table tbody tr:hover {
        background-color: var(--blue-100);
    }
    
    .specifications-table th:first-child,
    .specifications-table td:first-child {
        border-right: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .specifications-table th:first-child {
        border-top-left-radius: 6px;
    }
    
    .specifications-table th:last-child {
        border-top-right-radius: 6px;
    }
    
    .specifications-table tbody tr:last-child td {
        border-bottom: none;
    }
    
    /* 移动端适配 */
    @media (max-width: 992px) {
        .specifications-section {
            padding: 60px 0;
        }
        
        .specifications-title {
            font-size: 1.8rem;
        }
        
        .specifications-content {
            padding: 20px;
        }
    }
    
    @media (max-width: 768px) {
        .specifications-section {
            padding: 50px 0;
        }
        
        .specifications-title {
            font-size: 1.6rem;
        }
        
        .specifications-description {
            font-size: 1rem;
        }
        
        .specifications-table {
            border-radius: 6px;
            overflow: hidden;
            border: 1px solid var(--color-border);
        }
        
        .specifications-table table {
            min-width: 600px;
            font-size: 0.9rem;
        }
        
        .specifications-table th,
        .specifications-table td {
            padding: 12px 16px;
        }
    }
    
    @media (max-width: 576px) {
        .specifications-section {
            padding: 40px 0;
        }
        
        .specifications-header {
            margin-bottom: 30px;
        }
        
        .specifications-title {
            font-size: 1.5rem;
        }
        
        .specifications-content {
            padding: 16px;
        }
        
        .specifications-table table {
            min-width: 500px;
            font-size: 0.85rem;
        }
        
        .specifications-table th,
        .specifications-table td {
            padding: 10px 12px;
        }
    }

    /* 其他定制产品展示区域样式 */
    .custom-products-section {
        padding: 0 0 60px 0;
        border-top: 1px solid var(--color-border);
        border-bottom: 1px solid var(--color-border);
    }
    
    .custom-products-title {
        font-size: 1.8rem;
        color: var(--color-text-dark);
        margin-bottom: 30px;
        font-weight: 600;
        text-align: left;
    }
    
    .custom-products-grid {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 25px;
    }
    
    .custom-product-card {
        display: flex;
        flex-direction: column;
        text-decoration: none;
        color: var(--color-text-dark);
        transition: all 0.3s ease;
        border-radius: 8px;
        overflow: hidden;
        border: 1px solid transparent;
        height: 100%;
    }
    
    .custom-product-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
        border-color: var(--primary-blue);
    }
    
    .product-image-container {
        position: relative;
        width: 100%;
        padding-top: 100%; /* 1:1 正方形比例 */
        overflow: hidden;
        background-color: var(--color-bg-alt);
    }
    
    .product-image {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.5s ease;
    }
    
    .custom-product-card:hover .product-image {
        transform: scale(1.05);
    }
    
    .product-title {
        padding: 15px 10px;
        font-size: 1rem;
        font-weight: 500;
        text-align: center;
        margin: 0;
        line-height: 1.3;
        background-color: var(--color-bg-default);
        flex-grow: 1;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    /* 平板设备适配 */
    @media (max-width: 992px) {
        .custom-products-grid {
            grid-template-columns: repeat(2, 1fr);
            gap: 20px;
        }
        
        .custom-products-section {
            padding: 50px 0;
        }
        
        .custom-products-title {
            font-size: 1.6rem;
            margin-bottom: 25px;
        }
    }
    
    /* 移动设备适配 */
    @media (max-width: 576px) {
        .custom-products-grid {
            grid-template-columns: 1fr;
            gap: 20px;
            max-width: 350px;
            margin: 0 auto;
        }
        
        .custom-products-section {
            padding: 40px 0;
        }
        
        .custom-products-title {
            font-size: 1.5rem;
            margin-bottom: 20px;
            text-align: center;
        }
        
        .product-title {
            padding: 12px 8px;
            font-size: 0.95rem;
        }
    }
    
    /* 超小屏幕优化 */
    @media (max-width: 380px) {
        .custom-products-grid {
            max-width: 100%;
        }
        
        .custom-products-title {
            font-size: 1.4rem;
        }
    }
	
.contact-form-section {
    padding: 60px 0;
    background-color: var(--color-bg-alt);
}

.contact-form-header {
    text-align: center;
    margin-bottom: 40px;
}

.contact-form-title {
    font-size: 2rem;
    color: var(--color-text-dark);
    margin-bottom: 10px;
}

.contact-form-description {
    color: var(--gray-500);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* 表单样式 */
.contact-form {
    max-width: 800px;
    margin: 0 auto;
}

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

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    font-weight: 500;
    margin-bottom: 8px;
    color: var(--color-text-dark);
}

.form-group input,
.form-group textarea {
    padding: 12px 15px;
    border: 1px solid var(--color-border);
    border-radius: 4px;
    font-size: 16px;
    transition: border-color 0.3s ease;
    background-color: var(--color-bg-default);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(26, 95, 180, 0.1);
}

/* 文件上传区域 */
.file-upload-group {
    margin-top: 10px;
}

.file-upload-area {
    border: 2px dashed var(--color-border);
    border-radius: 8px;
    padding: 30px 20px;
    text-align: center;
    background-color: var(--color-bg-default);
    cursor: pointer;
    transition: all 0.3s ease;
}

.file-upload-area:hover,
.file-upload-area.dragover {
    border-color: var(--primary-blue);
    background-color: rgba(26, 95, 180, 0.05);
}

.upload-icon {
    margin: 0 auto 15px;
}

.upload-text {
    font-size: 16px;
    color: var(--color-text-dark);
    margin-bottom: 8px;
}

.browse-link {
    color: var(--primary-blue);
    text-decoration: underline;
    cursor: pointer;
}

.upload-hint {
    font-size: 14px;
    color: var(--gray-500);
    margin-top: 5px;
}

/* 文件列表样式 */
.file-list {
    margin-top: 15px;
}

.file-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 15px;
    background-color: var(--color-bg-default);
    border: 1px solid var(--color-border);
    border-radius: 4px;
    margin-bottom: 8px;
}

.file-info {
    display: flex;
    align-items: center;
    gap: 10px;
    overflow: hidden;
}

.file-name {
    font-size: 14px;
    color: var(--color-text-dark);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 250px;
}

.file-size {
    font-size: 12px;
    color: var(--gray-500);
}

.remove-file {
    background: none;
    border: none;
    color: var(--gray-500);
    cursor: pointer;
    font-size: 18px;
    padding: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.remove-file:hover {
    background-color: var(--red-100);
    color: var(--primary-red);
}

/* 提交按钮区域 */
.form-submit {
    text-align: center;
    margin-top: 20px;
}

.submit-btn {
    background-color: var(--primary-blue);
    color: white;
    border: none;
    border-radius: 4px;
    padding: 15px 40px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    background-color: var(--blue-700);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(26, 95, 180, 0.2);
}

.form-note {
    font-size: 14px;
    color: var(--gray-500);
    margin-top: 15px;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .contact-form-section {
        padding: 40px 0;
    }
    
    .contact-form-title {
        font-size: 1.8rem;
    }
    
    .form-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .form-group.full-width {
        grid-column: 1;
    }
    
    .file-upload-area {
        padding: 20px 15px;
    }
    
    .upload-text {
        font-size: 14px;
    }
    
    .upload-hint {
        font-size: 12px;
    }
    
    .file-name {
        max-width: 180px;
    }
    
    .submit-btn {
        width: 100%;
        padding: 15px 20px;
    }
}

@media (max-width: 480px) {
    .contact-form-header {
        margin-bottom: 30px;
    }
    
    .contact-form-title {
        font-size: 1.5rem;
    }
    
    .contact-form-description {
        font-size: 1rem;
    }
    
    .file-name {
        max-width: 120px;
    }
}