/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

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

/* 头部导航样式 */
.header {
    background-color: #e6f0ff; /* 淡蓝色背景 */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.nav-brand {
    display: flex;
    align-items: center;
}

.brand-text {
    font-size: 24px;
    font-weight: bold;
    color: #1a2b47; /* 蓝黑色 */
    text-decoration: none;
    display: inline-block;
}

.nav-actions {
    display: flex;
    align-items: center;
}

.download-btn {
    background-color: transparent;
    color: #444;
    border: 2px solid #444;
    padding: 10px 20px;
    border-radius: 25px; /* 大圆边 */
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none; /* 移除下划线 */
    display: inline-block; /* 确保样式正确应用 */
}

.download-btn:hover {
    background-color: rgba(68, 68, 68, 0.1);
}

/* 轮播图区域样式 */
.hero-carousel {
    padding-top: 70px;
    position: relative;
    overflow: hidden;
}

/* 确保轮播图背景颜色正确显示 */
.slide {
    min-width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #f0f7ff 0%, #e8f4ff 50%, #f5faff 100%); /* 更浅的淡蓝色渐变背景 */
}

.carousel-container {
    position: relative;
    width: 100%;
    height: 680px; /* 调整为更合适的高度 */
}

.carousel-wrapper {
    display: flex;
    transition: transform 0.5s ease;
    height: 100%;
}


.slide-content {
    display: flex;
    align-items: center;
    justify-content: center; /* 改为居中对齐 */
    height: 100%;
    padding: 80px 0 40px;
    max-width: 90%;
    margin: 0 auto; /* 添加水平居中 */
}

.slide-text {
    flex: 0 0 45%; /* 固定宽度比例 */
    padding-right: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center; /* 垂直居中 */
}

.slide-title {
    font-size: 48px;
    font-weight: bold;
    margin-bottom: 10px;
    color: #1A73E8; /* 更新为指定的颜色 */
}

.slide-subtitle {
    font-size: 36px;
    margin-bottom: 30px;
    color: #333333;
}

.google-play-btn {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
}

.google-play-btn img {
    height: 60px;
}

.slide-image {
    flex: 0 0 45%; /* 固定宽度比例 */
    display: flex;
    justify-content: center;
    align-items: center;
}

.product-image {
    max-width: 100%;
    max-height: 400px;
    border-radius: 0;
    box-shadow: none;
    background: transparent; /* 确保背景透明 */
}

/* 为所有轮播图图片设置统一样式 */
.slide:nth-child(1) .product-image,
.slide:nth-child(2) .product-image,
.slide:nth-child(3) .product-image {
    background: transparent;
    box-shadow: none; /* 移除阴影 */
    border-radius: 0; /* 移除圆角 */
    max-height: 500px; /* 放大图片 */
    transform: scale(1.2); /* 放大图片 */
}

/* 确保所有轮播图的左侧内容位置一致 */
.slide:nth-child(1) .slide-text,
.slide:nth-child(2) .slide-text,
.slide:nth-child(3) .slide-text {
    padding-top: 0;
    padding-bottom: 0;
    height: 300px; /* 固定高度 */
}

/* 轮播控制样式 */
.carousel-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.indicator {
    width: 8px; /* 更小的指示器 */
    height: 8px; /* 更小的指示器 */
    border-radius: 50%;
    background-color: rgba(66, 133, 244, 0.3);
    border: none;
    cursor: pointer;
    transition: background-color 0.3s;
}

.indicator.active {
    background-color: #4285f4;
}

.carousel-btn {
    display: none; /* 隐藏左右点击按钮 */
}

/* Why choose Duo模块样式 */
.features-section {
    padding: 80px 0;
    background-color: #fff;
}

.section-title {
    text-align: center;
    font-size: 36px;
    font-weight: bold;
    color: #000728;
    margin-bottom: 50px;
}

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

.feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 30px;
    border-radius: 10px;
}

/* 移除悬停效果 */

.feature-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon img {
    max-width: 100%;
    max-height: 100%;
}

.feature-title {
    font-size: 24px;
    font-weight: bold;
    color: #333;
    margin-bottom: 15px;
}

.feature-text {
    font-size: 16px;
    line-height: 1.6;
    color: #4b4b4b;
    font-weight: 300;
}

/* 响应式设计 */
@media (max-width: 992px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .features-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .feature-item {
        padding: 20px;
    }
}

/* 联系方式区域样式 */
.contact-section {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.contact-info {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.contact-info h2 {
    font-size: 36px;
    margin-bottom: 30px;
    color: #000728;
}

.company-info {
    font-size: 18px;
    line-height: 1.8;
}

.email {
    margin-bottom: 20px;
    color: #4285f4;
    font-weight: bold;
}

.address {
    margin-bottom: 20px;
}

.phone {
    color: #4285f4;
    font-weight: bold;
}

/* 底部导航样式 */
.footer {
    background-color: #333;
    color: #fff;
    padding: 30px 0;
}

.footer-content {
    text-align: center;
}

.contact-email {
    margin-bottom: 10px;
    color: #aaa; /* 与版权信息相同的颜色 */
}

.footer-links {
    display: inline-block;
    text-align: center;
}

.copyright {
    font-size: 14px;
    color: #aaa;
    margin-bottom: 0;
    margin-right: 0;
}

.footer-nav {
    display: inline;
    margin-left: 0;
}

.footer-nav a {
    color: #aaa; /* 与版权信息相同的颜色 */
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
    margin-left: 5px;
}

.footer-nav .divider {
    color: #aaa; /* 与链接相同的颜色 */
    font-size: 14px;
}

.footer-nav a {
    color: #aaa; /* 与版权信息相同的颜色 */
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.footer-nav a:hover {
    color: #4285f4;
}

/* 移除媒体查询中的对齐方式，保持居中 */
@media (min-width: 768px) {
    .footer-links {
        justify-content: center;
    }
    
    .copyright {
        margin-bottom: 15px;
        width: 100%;
    }
}

/* 响应式设计 */
@media (max-width: 992px) {
    .carousel-container {
        height: 580px; /* 调整为更合适的高度 */
    }
    
    .slide-title {
        font-size: 40px;
    }
    
    .slide-subtitle {
        font-size: 20px;
    }
}

@media (max-width: 768px) {
    .slide-content {
        flex-direction: column;
        text-align: center;
    }

    .slide-text {
        padding-right: 0;
        margin-bottom: 30px;
    }

    .slide-title {
        font-size: 36px;
    }

    .slide-subtitle {
        font-size: 18px;
    }

    .carousel-container {
        height: 780px; /* 调整为更合适的高度 */
    }
}

@media (max-width: 576px) {
    .header .container {
        height: 60px;
    }
    
    .brand-text {
        font-size: 20px;
    }
    
    .download-btn {
        padding: 8px 16px;
        font-size: 14px;
    }
    
    .hero-carousel {
        padding-top: 60px;
    }
    
    .carousel-container {
        height: 650px; /* 调整为更合适的高度 */
    }
    
    .slide-title {
        font-size: 28px;
    }
    
    .slide-subtitle {
        font-size: 16px;
        margin-bottom: 20px;
    }
    
    .google-play-btn img {
        height: 50px;
    }
    
    .contact-info h2 {
        font-size: 28px;
    }
    
    .company-info {
        font-size: 16px;
    }
}