/* 全局样式 - Apple 风格 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

:root {
    --apple-black: #1d1d1f;
    --apple-white: #f5f5f7;
    --apple-gray: #86868b;
    --apple-blue: #0066cc;
    --apple-red: #e63946;
    --apple-transition: all 0.3s cubic-bezier(0.28, 0.11, 0.32, 1);
}

body {
    background-color: var(--apple-white);
    color: var(--apple-black);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

.container {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    padding: 0;
}

/* 导航栏样式 */
.navbar {
    background-color: rgba(245, 245, 247, 0.8);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.navbar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 44px;
    padding: 0 30px;
}

.logo {
    color: var(--apple-black);
    font-size: 21px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--apple-transition);
    opacity: 0.8;
}

.logo:hover {
    opacity: 1;
}

.nav-links {
    display: flex;
}

.nav-links a {
    color: var(--apple-black);
    margin-left: 28px;
    text-decoration: none;
    font-size: 12px;
    font-weight: 400;
    transition: var(--apple-transition);
    opacity: 0.8;
}

.nav-links a:hover {
    opacity: 1;
    color: var(--apple-blue);
}

/* 主内容区样式 */
.main-content {
    padding: 0;
}

.title-section {
    text-align: center;
    margin: 40px 20px 40px;
}

.title-section h2 {
    font-size: 48px;
    font-weight: 600;
    letter-spacing: -0.015em;
    margin-bottom: 8px;
}

.section-subtitle {
    font-size: 24px;
    color: var(--apple-gray);
    margin-bottom: 40px;
}

/* 分类导航 */
.category-nav {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
}

.category-nav a {
    color: var(--apple-black);
    margin: 0 24px;
    text-decoration: none;
    font-size: 17px;
    font-weight: 400;
    position: relative;
    transition: var(--apple-transition);
    opacity: 0.8;
}

.category-nav a:after {
    content: "";
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -6px;
    left: 0;
    background-color: var(--apple-blue);
    transition: var(--apple-transition);
}

.category-nav a:hover {
    opacity: 1;
}

.category-nav a:hover:after,
.category-nav a.active:after {
    width: 100%;
}

.category-nav a.active {
    font-weight: 500;
    opacity: 1;
}

/* 视频区域 */
.video-section {
    background-color: #000;
    position: relative;
    margin-bottom: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0;
    border-radius: 0;
    overflow: hidden;
    box-shadow: none;
    width: 100%;
    transform-origin: center;
    transition: transform 0.5s ease;
}

.video-container {
    width: 100%;
    margin: 0;
    position: relative;
    overflow: hidden;
    min-height: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #000;
    cursor: grab;
}

.video-container:active {
    cursor: grabbing;
}

.video-container video {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
    transition: opacity 0.3s ease;
}

.video-fallback-message {
    color: #fff;
    text-align: center;
    padding: 20px;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 0;
    max-width: 80%;
}

/* 视频控制 */
.video-controls {
    display: block;
    position: absolute;
    width: 100%;
    top: 0;
    left: 0;
    height: 100%;
    pointer-events: none;
}

.control-btn {
    width: 50px;
    height: 50px;
    background-color: rgba(0, 0, 0, 0.5);
    border: none;
    border-radius: 50%;
    color: #fff;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    transition: all 0.3s cubic-bezier(0.28, 0.11, 0.32, 1);
    pointer-events: auto;
    z-index: 100;
    opacity: 0.7;
}

.prev-btn {
    left: 20px;
}

.next-btn {
    right: 20px;
}

.control-btn:hover {
    background: rgba(0, 0, 0, 0.8);
    transform: translateY(-50%) scale(1.05);
    opacity: 1;
}

.video-container:hover .control-btn {
    opacity: 1;
}

/* 视频标题 */
.video-title {
    margin-top: 0;
    text-align: center;
    position: absolute;
    bottom: 50px;
    width: 100%;
    background: rgba(0,0,0,0.5);
    padding: 10px 0;
}

.video-title h3 {
    color: #fff;
    font-size: 24px;
    font-weight: 500;
    letter-spacing: -0.015em;
    margin: 0;
}

/* 关于我们部分 */
.about-section {
    padding: 60px 0;
    text-align: center;
    line-height: 1.8;
    max-width: 100%;
    margin: 0;
    background-color: #f5f5f7;
}

.about-section h2 {
    font-size: 40px;
    font-weight: 600;
    margin-bottom: 24px;
    letter-spacing: -0.015em;
}

.about-content {
    max-width: 700px;
    margin: 0 auto;
    padding: 0 20px;
}

.about-section p {
    margin-bottom: 24px;
    font-size: 19px;
    color: var(--apple-gray);
    font-weight: 400;
}

.cta-button {
    display: inline-block;
    background-color: var(--apple-blue);
    color: #fff;
    font-size: 17px;
    font-weight: 500;
    padding: 12px 24px;
    border-radius: 0;
    text-decoration: none;
    margin-top: 20px;
    transition: var(--apple-transition);
}

.cta-button:hover {
    background-color: #0077e6;
    transform: scale(1.05);
}

/* 页脚 */
.footer {
    background-color: #f5f5f7;
    color: var(--apple-gray);
    text-align: center;
    padding: 40px 0;
    margin-top: 0;
    font-size: 12px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.footer-content {
    max-width: 700px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-links {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.footer-links a {
    color: var(--apple-gray);
    margin: 0 15px;
    text-decoration: none;
    font-size: 12px;
    transition: var(--apple-transition);
}

.footer-links a:hover {
    color: var(--apple-blue);
}

.copyright {
    color: var(--apple-gray);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .navbar-content {
        flex-direction: column;
        height: auto;
        padding: 10px 15px;
    }
    
    .logo {
        margin-bottom: 10px;
    }
    
    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .nav-links a {
        margin: 5px 10px;
        font-size: 14px;
    }
    
    .category-nav {
        flex-wrap: wrap;
    }
    
    .category-nav a {
        margin: 5px 12px;
    }
    
    .video-container {
        min-height: 250px;
    }
    
    .control-btn {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    .prev-btn {
        left: 10px;
    }
    
    .next-btn {
        right: 10px;
    }
    
    .video-title h3 {
        font-size: 16px;
    }
    
    .title-section h2 {
        font-size: 28px;
    }
    
    .section-subtitle {
        font-size: 16px;
        margin-bottom: 20px;
    }
    
    .advantage-item {
        height: auto;
        min-height: 300px;
    }
    
    #quality-item .advantage-content,
    #efficiency-item .advantage-content,
    #capacity-item .advantage-content {
        padding: 20px;
        background: linear-gradient(to bottom, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.3));
    }
    
    #quality-item .advantage-header h3,
    #efficiency-item .advantage-header h3,
    #capacity-item .advantage-header h3 {
        font-size: 22px;
    }
    
    .advantage-title {
        font-size: 16px;
    }
    
    .advantage-list li {
        font-size: 14px;
    }
    
    .about-section {
        padding: 40px 20px;
    }
    
    .about-section h2 {
        font-size: 24px;
    }
    
    .about-section p {
        font-size: 14px;
    }
    
    .contact-section {
        padding: 40px 20px;
    }
    
    .contact-container {
        flex-direction: column;
    }
    
    .contact-left {
        padding-right: 0;
        padding-bottom: 30px;
        text-align: center;
    }
    
    .contact-left p {
        margin: 0 auto;
        font-size: 16px;
    }
    
    .contact-left h2 {
        font-size: 28px;
    }
    
    .contact-info {
        max-width: 100%;
    }
    
    .qrcode-img {
        width: 120px;
        height: 120px;
    }
    
    .footer-links {
        flex-wrap: wrap;
    }
    
    .footer-links a {
        margin: 5px 10px;
    }
    
    /* 添加移动端滑动提示效果 */
    .video-container::after {
        content: '';
        position: absolute;
        bottom: 20px;
        left: 50%;
        transform: translateX(-50%);
        width: 80px;
        height: 4px;
        background-color: rgba(255, 255, 255, 0.3);
        border-radius: 2px;
        z-index: 10;
        opacity: 0.8;
    }
}

/* 动画效果 */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.title-section, .about-section {
    animation: fadeIn 1s ease forwards;
}

.contact-section {
    animation: fadeIn 1s ease forwards;
    animation-delay: 0.2s;
}

.video-section:hover {
    transform: scale(1.01);
}

@keyframes slideInLeft {
    from { opacity: 0; transform: translateX(-30px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes slideInRight {
    from { opacity: 0; transform: translateX(30px); }
    to { opacity: 1; transform: translateX(0); }
}

/* 我们的优势部分 */
.advantages-section {
    margin: 0;
    text-align: center;
    max-width: 100%;
    padding: 60px 0;
    background-color: #ffffff;
}

.advantages-section h2 {
    margin-bottom: 10px;
}

.advantages-grid {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-top: 40px;
}

.advantage-item {
    background-color: #f5f5f7;
    border-radius: 0;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    height: 300px;
    color: #fff;
    box-shadow: none;
    max-width: 100%;
    margin: 0;
    width: 100%;
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.advantage-item:last-child {
    border-bottom: none;
}

.advantage-item:hover {
    transform: translateY(0);
    box-shadow: none;
}

.advantage-item:hover .advantage-bg {
    transform: scale(1.05);
}

.advantage-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 30px;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.8));
    display: flex;
    flex-direction: column;
    justify-content: center;
    z-index: 1;
}

.advantage-header {
    margin-bottom: 20px;
}

.advantage-header h3 {
    font-size: 2.5rem;
    text-align: left;
    font-weight: 700;
    margin-bottom: 5px;
    color: #fff;
}

.advantage-title {
    font-size: 1.2rem;
    color: var(--apple-gray);
    margin-bottom: 15px;
}

.advantage-list {
    text-align: left;
    padding-left: 0;
    list-style: none;
}

.advantage-list li {
    margin-bottom: 8px;
    position: relative;
    font-size: 1rem;
    line-height: 1.3;
    padding-left: 25px;
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
}

/* 统一覆盖所有模块的列表符号 */
.advantage-list li:before,
#quality-item .advantage-list li:before,
#efficiency-item .advantage-list li:before,
#capacity-item .advantage-list li:before {
    content: '·' !important;
    position: absolute !important;
    left: 0 !important;
    top: -4px !important;
    color: rgba(255, 255, 255, 0.9) !important;
    font-size: 1.8rem !important;
    line-height: 0.8 !important;
    font-weight: bold !important;
}

@media (min-width: 992px) {
    .advantages-grid {
        flex-direction: row;
        gap: 0;
    }
    
    .advantage-item {
        height: 400px;
        flex: 1;
        margin: 0;
        border-right: 1px solid rgba(0,0,0,0.05);
        border-bottom: none;
    }
    
    .advantage-item:last-child {
        border-right: none;
    }
    
    #quality-item .advantage-content,
    #efficiency-item .advantage-content,
    #capacity-item .advantage-content {
        padding: 30px;
        background: linear-gradient(to bottom, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.3));
    }
}

/* 优势背景图片样式 */
.advantage-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    transition: transform 0.5s ease;
}

/* 删除旧的背景渐变色类 */
.quality-bg, .efficiency-bg, .capacity-bg {
    background: none;
}

/* 优势卡片动画效果 */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.advantage-item:nth-child(1) {
    animation-delay: 0.2s;
}

.advantage-item:nth-child(2) {
    animation-delay: 0.4s;
}

.advantage-item:nth-child(3) {
    animation-delay: 0.6s;
}

#quality-item .advantage-content {
    background: linear-gradient(to right, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.1) 70%, rgba(0, 0, 0, 0));
    justify-content: flex-start;
    align-items: flex-start;
    text-align: left;
    padding-left: 50px;
    padding-right: 40%;
}

#quality-item .advantage-header h3 {
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

#quality-item .advantage-list {
    text-align: left;
    max-width: 60%;
}

#quality-item .advantage-list li {
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

#quality-item .advantage-title {
    color: #fff;
    opacity: 0.9;
    font-size: 1.3rem;
    margin-top: 8px;
    margin-bottom: 20px;
    letter-spacing: 0.5px;
}

#quality-item {
    overflow: hidden;
}

#quality-item .advantage-bg {
    transition: transform 0.8s ease;
}

#quality-item:hover .advantage-bg {
    transform: scale(1.1) translateX(3%);
}

/* 效率模块样式 */
#efficiency-item .advantage-content {
    background: linear-gradient(to right, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.1) 70%, rgba(0, 0, 0, 0));
    justify-content: flex-start;
    align-items: flex-start;
    text-align: left;
    padding-left: 50px;
    padding-right: 40%;
}

#efficiency-item .advantage-header h3 {
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

#efficiency-item .advantage-list {
    text-align: left;
    max-width: 60%;
}

#efficiency-item .advantage-list li {
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

#efficiency-item .advantage-title {
    color: #fff;
    opacity: 0.9;
    font-size: 1.3rem;
    margin-top: 8px;
    margin-bottom: 20px;
    letter-spacing: 0.5px;
}

#efficiency-item {
    overflow: hidden;
}

#efficiency-item .advantage-bg {
    transition: transform 0.8s ease;
}

#efficiency-item:hover .advantage-bg {
    transform: scale(1.1) translateX(3%);
}

/* 产能模块样式 */
#capacity-item .advantage-content {
    background: linear-gradient(to right, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.1) 70%, rgba(0, 0, 0, 0));
    justify-content: flex-start;
    align-items: flex-start;
    text-align: left;
    padding-left: 50px;
    padding-right: 40%;
}

#capacity-item .advantage-header h3 {
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

#capacity-item .advantage-list {
    text-align: left;
    max-width: 60%;
}

#capacity-item .advantage-list li {
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

#capacity-item .advantage-title {
    color: #fff;
    opacity: 0.9;
    font-size: 1.3rem;
    margin-top: 8px;
    margin-bottom: 20px;
    letter-spacing: 0.5px;
}

#capacity-item {
    overflow: hidden;
}

#capacity-item .advantage-bg {
    transition: transform 0.8s ease;
}

#capacity-item:hover .advantage-bg {
    transform: scale(1.1) translateX(3%);
}

/* 联系我们部分 */
.contact-section {
    padding: 80px 0;
    background-color: #f5f5f7;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.contact-container {
    display: flex;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.contact-left {
    flex: 1;
    padding-right: 40px;
}

.contact-left h2 {
    font-size: 40px;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--apple-black);
    letter-spacing: -0.015em;
}

.contact-left p {
    font-size: 18px;
    line-height: 1.6;
    color: var(--apple-gray);
    max-width: 500px;
}

.contact-right {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.contact-info {
    background-color: #fff;
    padding: 30px;
    border-radius: 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    width: 100%;
    max-width: 400px;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.contact-item i {
    font-size: 20px;
    color: var(--apple-blue);
    margin-right: 15px;
    width: 24px;
    text-align: center;
}

.contact-item p {
    font-size: 16px;
    color: var(--apple-black);
}

.contact-item a {
    color: var(--apple-blue);
    text-decoration: none;
    transition: var(--apple-transition);
}

.contact-item a:hover {
    opacity: 0.8;
}

.contact-qrcode {
    text-align: center;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.qrcode-img {
    width: 150px;
    height: 150px;
    margin-bottom: 10px;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.contact-qrcode p {
    font-size: 14px;
    color: var(--apple-gray);
}

@media (max-width: 768px) {
    .contact-container {
        flex-direction: column;
    }
    
    .contact-left {
        padding-right: 0;
        padding-bottom: 40px;
        text-align: center;
    }
    
    .contact-left p {
        margin: 0 auto;
    }
    
    .contact-left h2 {
        font-size: 28px;
    }
    
    .contact-info {
        max-width: 100%;
    }
}