/* 字体定义 */
@font-face {
    font-family: 'SY-Regular';
    src: url('../font/SourceHanSansCN-Regular.otf') format('opentype');
}

@font-face {
    font-family: 'SY-Bold';
    src: url('../font/SourceHanSansCN-Bold.otf') format('opentype');
}

/* 全局样式 */
:root {
    --primary-color: #FF6B00;
    --text-primary: #333333;
    --text-secondary: #666666;
    --bg-light: #F6F8FA;
    --max-width: 1440px;
}

body {
    font-family: "SY-Regular", "Source Han Sans CN", sans-serif;
    line-height: 1.5;
    color: var(--text-primary);
    overflow-x: hidden;
    background: #FFFFFF;
}

/* 导航栏样式已移至 css/nav.css */
/* 主要内容区域 */
.product-main {
    padding-top: 120px;
    padding-bottom: 80px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* 标题区域 */
.title-section {
    text-align: center;
    margin-bottom: 20px;
    margin-top: 50px;
    padding: 0 20px;
}

.main-title {
    font-family: 'Source Han Sans CN', sans-serif;
    font-weight: bold;
    font-size: 50px;
    color: #212121;
    margin-bottom: 16px;
    margin-top: 60px;
    text-align: center;
    line-height: 38px;
    letter-spacing: 2px;
}

.main-title .highlight {
    color: #f18721;
}

.subtitle {
    font-family: 'Source Han Sans CN', sans-serif;
    font-size: 24px;
    color: #212121;
    margin-top: 64px;
    font-weight: bold;
    text-align: center;
}

/* 视频包装容器 */
.video-wrapper {
    width: 872px !important;
    height: 490px !important;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    position: relative;
}

/* 视频区域 */
.video-section {
    margin-top: 32px;;
    width: 872px !important;
    height: 490px !important;
    flex-shrink: 0;
}

.video-container {
    position: relative;
    width: 872px !important;
    height: 490px !important;
    background: #000;
    border-radius: 12px;
    overflow: hidden;
}

.main-video {
    width: 872px !important;
    height: 490px !important;
    object-fit: fill !important;
}

/* 视频导航箭头 */
.nav-arrow {
    width: 44px;
    height: 44px;
    border: none;
    border-radius: 50%;
    background: #FFFFFF;
    box-shadow: 0px 4px 16px rgba(0, 0, 0, 0.08);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    z-index: 10;
}

.nav-arrow:hover {
    /* transform: scale(1.1); */
    box-shadow: 0px 8px 24px rgba(0, 0, 0, 0.12);
}

.nav-arrow img {
    width: 24px;
    height: 24px;
}

/* 视频控制按钮 */
.video-controls {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.video-container:hover .video-controls {
    opacity: 1;
}

.play-pause {
    width: 80px;
    height: 80px;
    border: none;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.play-pause:hover {
    background: rgba(255, 255, 255, 0.3);
}

.play-pause img {
    width: 30px;
    height: 30px;
}

/* 进度条 */
.progress-container {
    width: 100%;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.progress-bar {
    width: 100%;
    height: 4px;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 2px;
    cursor: pointer;
    position: relative;
}

.progress-filled {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background: var(--primary-color);
    border-radius: 2px;
    width: 0;
}

.video-time {
    display: flex;
    justify-content: space-between;
    color: var(--text-secondary);
    font-size: 14px;
}

/* 页脚样式 */
.footer {
    background: #FFFFFF;
    padding: 40px 0;
    border-top: 1px solid #E5E5E5;
}

.footer-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 120px;
}

.copyright {
    display: flex;
    justify-content: center;
    gap: 24px;
}

.copyright p {
    color: #999999;
    font-size: 14px;
}

/* 页脚导航区域 */
.footer-nav-section {
    background: #FFFFFF;
    margin: 64px 0 56px 0;
}

.footer-content {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 120px;
    display: flex;
    justify-content: space-between;
    gap: 80px;
}

/* 左侧导航 */
.footer-nav {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 80px;
    flex: 1;
}

.nav-group h3 {
    font-size: 16px;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 24px;
}

.sub-nav {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.sub-nav a {
    font-size: 14px;
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.sub-nav a:hover {
    color: var(--primary-color);
}

/* 右侧二维码 */
.qrcode-section {
    text-align: center;
}

.qrcode-section img {
    width: 120px;
    height: 120px;
    margin-bottom: 16px;
}

.qrcode-section p {
    font-size: 14px;
    color: var(--text-primary);
}

/* 底部版权信息 */
.footer-bottom {
    margin-top: 50px;
    /* padding-top: 40px;
    border-top: 1px solid #E5E5E5;
    display: flex;
    justify-content: center;
    gap: 24px; */
}

.copyright p {
    font-size: 14px;
    color: #999999;
}

/* 响应式设计 */
@media (max-width: 1440px) {
    .footer-content {
        padding: 0 80px;
    }
}

@media (max-width: 1200px) {
    .footer-nav {
        gap: 40px;
    }
}

@media (max-width: 992px) {
    .footer-content {
        flex-direction: column;
        gap: 40px;
    }

    .footer-nav {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }

    .qrcode-section {
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .footer-content {
        padding: 0 20px;
    }

    .footer-nav {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 16px;
    }
}

@media (max-width: 1200px) {
    .video-wrapper {
        width: 964px !important;
        height: 470px !important;
        max-width: 964px;
        padding: 0 60px;
    }
}

@media (max-width: 992px) {
    .video-wrapper {
        width: 964px !important;
        height: 470px !important;
        padding: 0 40px;
        gap: 20px;
    }

    .video-section {
        width: 836px;
    }

    .video-container {
        width: 836px !important;
        height: 470px !important;
    }

    .nav-arrow {
        width: 36px;
        height: 36px;
    }

    .nav-arrow img {
        width: 20px;
        height: 20px;
    }
}

@media (max-width: 768px) {
    /* 导航栏响应式样式已移至 css/nav.css */

    .main-title {
        font-size: 32px;
    }

    .footer-container {
        padding: 0 20px;
    }

    .copyright {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .video-wrapper {
        width: 964px !important;
        height: 470px !important;
        padding: 0 20px;
        gap: 10px;
    }

    .nav-arrow {
        width: 32px;
        height: 32px;
    }

    .nav-arrow img {
        width: 16px;
        height: 16px;
    }
}