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

body {
    font-family: 'Noto Sans SC', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

/* 容器样式 */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 导航栏样式 */
.navbar {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.logo img {
    max-width: 100%;
    height: auto;
}

.nav-menu {
    display: flex;
    list-style: none;
}

.nav-menu li {
    margin-left: 30px;
}

.nav-menu a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
    font-size: 16px;
}

.nav-menu a:hover {
    color: #007bff;
}

/* 汉堡菜单 */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: #333;
    margin: 3px 0;
    transition: all 0.3s ease;
}

/* 按钮样式 */
.btn {
    display: inline-block;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 500;
    transition: all 0.3s ease;
    font-size: 16px;
    border: 2px solid transparent;
}

.primary-btn {
    background-color: #007bff;
    color: #fff;
    margin-right: 15px;
}

.primary-btn:hover {
    background-color: #0056b3;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 123, 255, 0.3);
}

.secondary-btn {
    background-color: transparent;
    color: #007bff;
    border-color: #007bff;
}

.secondary-btn:hover {
    background-color: #007bff;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 123, 255, 0.3);
}

/* 横幅样式 */
.banner {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    padding: 150px 0 100px;
    text-align: center;
    margin-top: 70px;
    position: relative;
    overflow: hidden;
}

/* 使用Font Awesome图标的背景元素 */
.banner .bg-icon {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 40px;
    color: rgba(255, 255, 255, 0.6);
    animation: float 6s ease-in-out infinite;
    z-index: 0;
}

/* 购物袋图标 */
.banner .bg-icon.shopping-bag {
    top: 20%;
    left: 10%;
    width: 80px;
    height: 80px;
    font-size: 36px;
    animation-delay: 0s;
}

/* 包裹图标 */
.banner .bg-icon.package {
    bottom: 20%;
    right: 15%;
    width: 100px;
    height: 100px;
    font-size: 48px;
    animation-delay: 2s;
    animation-duration: 8s;
}

/* 商品图标 */
.banner .bg-icon.product {
    top: 30%;
    right: 20%;
    width: 60px;
    height: 60px;
    font-size: 28px;
    animation-delay: 1s;
    animation-duration: 7s;
    color: rgba(255, 255, 255, 0.5);
}

/* 购物车图标 */
.banner .bg-icon.shopping-cart {
    bottom: 30%;
    left: 15%;
    width: 70px;
    height: 70px;
    font-size: 32px;
    animation-delay: 3s;
    animation-duration: 9s;
    color: rgba(255, 255, 255, 0.5);
}

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

/* 确保banner-content有相对定位，以便z-index生效 */
.banner-content {
    position: relative;
    z-index: 1;
}

.banner-content h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.banner-content p {
    font-size: 20px;
    margin-bottom: 40px;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* 通用区块样式 */
section {
    padding: 100px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #333;
}

.section-title p {
    font-size: 18px;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

/* 关于我们样式 */
.about {
    background-color: #fff;
}

.about-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.about-item {
    text-align: center;
    padding: 30px;
    background-color: #f8f9fa;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.about-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.about-item h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #333;
}

.about-item p {
    font-size: 16px;
    color: #666;
}

/* 产品特色样式 */
.features {
    background-color: #f8f9fa;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.feature-card {
    background-color: #fff;
    padding: 40px 30px;
    border-radius: 10px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    margin-bottom: 25px;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 80px;
    width: 80px;
    margin-left: auto;
    margin-right: auto;
    background-color: rgba(0, 123, 255, 0.1);
    border-radius: 50%;
}

.feature-card h3 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #333;
}

.feature-card p {
    font-size: 16px;
    color: #666;
    line-height: 1.7;
}

/* 应用下载样式 */
.download {
    background-color: #fff;
}

.download-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 50px;
    max-width: 800px;
    margin: 0 auto;
    background-color: #f8f9fa;
    padding: 60px;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.download-app {
    text-align: center;
    flex: 1;
    min-width: 200px;
}

.app-logo {
    width: 120px;
    height: 120px;
    object-fit: contain;
    margin-bottom: 20px;
    border-radius: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.download-app h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #333;
}

.download-app p {
    font-size: 16px;
    color: #666;
}

.download-links {
    flex: 1;
    min-width: 300px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.download-btn {
    display: flex;
    align-items: center;
    background-color: #333;
    color: #fff;
    text-decoration: none;
    padding: 15px 25px;
    border-radius: 10px;
    transition: all 0.3s ease;
    font-weight: 500;
}

.download-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    background-color: #444;
}

.download-btn svg {
    margin-right: 15px;
    flex-shrink: 0;
}

.download-text {
    text-align: left;
}

.download-label {
    display: block;
    font-size: 16px;
    font-weight: 600;
}

.download-store {
    display: block;
    font-size: 14px;
    opacity: 0.8;
}

/* 页脚样式 */
.footer {
    background-color: #333;
    color: #fff;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.footer-logo img {
    max-width: 100%;
    height: auto;
    margin-bottom: 20px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 16px;
}

.footer-links a:hover {
    color: #007bff;
}

.footer-contact p {
    margin-bottom: 10px;
    font-size: 16px;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #444;
    color: #888;
    font-size: 14px;
}

.footer-bottom p {
    display: inline-block;
    margin: 0 10px;
}

/* 响应式设计 */
@media (max-width: 992px) {
    .banner-content h1 {
        font-size: 36px;
    }
    
    .banner-content p {
        font-size: 18px;
    }
    
    .section-title h2 {
        font-size: 30px;
    }
    
    .download-content {
        flex-direction: column;
        text-align: center;
        padding: 40px;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        flex-direction: column;
        background-color: #fff;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu li {
        margin: 20px 0;
    }
    
    .hamburger {
        display: flex;
    }
    
    .banner {
        padding: 120px 0 80px;
    }
    
    .banner-content h1 {
        font-size: 32px;
    }
    
    .banner-content p {
        font-size: 16px;
    }
    
    section {
        padding: 80px 0;
    }
    
    .btn {
        padding: 10px 25px;
        font-size: 14px;
    }
    
    .download-content {
        padding: 30px 20px;
    }
    
    .download-links {
        width: 100%;
    }
    
    .download-btn {
        justify-content: center;
    }
    
    .download-text {
        text-align: left;
    }
}

@media (max-width: 576px) {
    .banner-content h1 {
        font-size: 28px;
    }
    
    .banner-buttons {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .primary-btn {
        margin-right: 0;
        width: 100%;
        max-width: 250px;
    }
    
    .secondary-btn {
        width: 100%;
        max-width: 250px;
    }
    
    .section-title h2 {
        font-size: 26px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .download-content {
        padding: 20px;
    }
    
    .app-logo {
        width: 100px;
        height: 100px;
    }
}