/* 基础样式 */
:root {
    --primary-color: #FF5E62;
    --secondary-color: #FF9966;
    --gradient: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    --text-color: #333;
    --light-text: #fff;
    --dark-bg: #222;
    --light-bg: #f9f9f9;
    --border-radius: 8px;
    --box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'PingFang SC', 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: #fff;
}

.logo1 {
  width: 40px;
  height: 40px;
}

/* .logo2 {
  width: 120px;
  height: 120px;
} */

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

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition);
}

a:hover {
    color: var(--secondary-color);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    border-radius: var(--border-radius);
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 30px;
    font-weight: bold;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary {
    background: var(--gradient);
    color: var(--light-text);
    border: none;
}

.btn-primary:hover {
    box-shadow: 0 6px 15px rgba(255, 94, 98, 0.3);
    transform: translateY(-2px);
    color: var(--light-text);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background-color: rgba(255, 94, 98, 0.1);
    transform: translateY(-2px);
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
    font-size: 2.5rem;
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--gradient);
    border-radius: 2px;
}

/* 顶部导航 */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    padding: 15px 0;
}

header .container {
    display: flex;
    align-items: center;
}

.logo {
    margin-right: 10px;
}

.site-name {
    font-size: 1.5rem;
    font-weight: bold;
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin: 0;
}

nav {
    margin-left: auto;
}

nav ul {
    display: flex;
}

nav ul li {
    margin-left: 20px;
}

nav ul li a {
    color: var(--text-color);
    font-weight: 500;
    position: relative;
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient);
    transition: var(--transition);
}

nav ul li a:hover::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--primary-color);
    margin: 2px 0;
    border-radius: 3px;
    transition: var(--transition);
}

/* Banner区域 */
.banner {
    padding: 150px 0 100px;
    background-image: url('https://images.unsplash.com/photo-1557682250-33bd709cbe85?ixlib=rb-1.2.1&auto=format&fit=crop&w=2000&q=80');
    background-size: cover;
    background-position: center;
    position: relative;
    color: var(--text-color); /* 修改文字颜色为深色 */
}

.banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.8)); /* 修改为白色半透明渐变 */
}

/* 修改二维码文字颜色 */
.qrcode-item p {
    font-weight: 500;
    color: var(--text-color); /* 修改为深色文字 */
    margin: 0;
}

.banner .container {
    position: relative;
    z-index: 1;
}

.banner-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.app-info {
    margin-bottom: 30px;
}

.app-icon {
    margin: 0 auto 20px;
    width: 80px;
    height: 80px;
}

.app-name {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.app-description {
    margin-bottom: 40px;
}

.app-description p {
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.download-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* 特色区域 */
.features {
    padding: 100px 0;
    background-color: var(--light-bg);
}

/* 特色区域的emoji图标 */
.feature-icon {
    flex: 0 0 120px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.emoji-icon {
    font-size: 4rem;
    background: var(--gradient);
    width: 100px;
    height: 100px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    box-shadow: var(--box-shadow);
}

/* 修改特色项目的样式以适应新的图标 */
.feature-item {
    display: flex;
    align-items: center;
    margin-bottom: 80px;
    gap: 50px;
}

.feature-item:last-child {
    margin-bottom: 0;
}

.feature-item.reverse {
    flex-direction: row-reverse;
}

.feature-content {
    flex: 1;
}

@media (max-width: 992px) {
    .feature-item, .feature-item.reverse {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }
    
    .feature-icon, .feature-content {
        width: 100%;
    }
}

.feature-content h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline-block;
}

.feature-content p {
    margin-bottom: 15px;
    font-size: 1.1rem;
}

/* 精彩亮点区域 */
.highlights {
    padding: 100px 0;
    background-color: #fff;
    text-align: center;
}

.highlights .container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 30px;
}

.highlight-item {
    flex: 1;
    min-width: 300px;
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

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

.highlight-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.highlight-item h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--text-color);
}

.highlight-item p {
    color: #666;
}

/* 应用展示区域 */
.app-showcase {
    padding: 100px 0;
    background-color: #f9f9f9;
}

.carousel-container {
    max-width: 320px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    background: #000;
    padding: 10px 0;
}

.carousel-wrapper {
    position: relative;
    overflow: hidden;
}

.carousel-slides {
    position: relative;
    height: 600px;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
    display: flex;
    justify-content: center;
    align-items: center;
}

.carousel-slide.active {
    opacity: 1;
    z-index: 1;
}

.carousel-slide img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.carousel-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
}

.carousel-control {
    background: var(--gradient);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
    margin: 0 10px;
}

.carousel-control:hover {
    transform: scale(1.1);
}

.carousel-indicators {
    display: flex;
    justify-content: center;
    margin: 0 15px;
}

.indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(255, 94, 98, 0.3);
    margin: 0 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator.active {
    background-color: var(--primary-color);
    transform: scale(1.2);
}

@media (max-width: 768px) {
    .carousel-container {
        max-width: 280px;
    }
    
    .carousel-slides {
        height: 500px;
    }
}

/* 底部区域 */
footer {
    background-color: var(--dark-bg);
    color: var(--light-text);
    padding: 70px 0 20px;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 50px;
}

.company-info, .footer-links, .footer-qrcode {
    flex: 1;
    min-width: 250px;
    margin-bottom: 30px;
}

.company-info h3, .footer-links h3, .footer-qrcode h3 {
    margin-bottom: 20px;
    font-size: 1.3rem;
    position: relative;
    padding-bottom: 10px;
}

.company-info h3::after, .footer-links h3::after, .footer-qrcode h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--gradient);
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a {
    color: #aaa;
}

.footer-links ul li a:hover {
    color: var(--light-text);
}

.qrcode {
    background-color: #fff;
    padding: 10px;
    border-radius: var(--border-radius);
    display: inline-block;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    margin-bottom: 10px;
    color: #aaa;
    font-size: 0.9rem;
}

/* 响应式设计 */
@media (max-width: 992px) {
    .feature-item, .feature-item.reverse {
        flex-direction: column;
        gap: 30px;
    }
    
    .feature-image, .feature-content {
        width: 100%;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .highlights .container {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: #fff;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
        padding: 20px 0;
    }
    
    nav.active {
        display: block;
    }
    
    nav ul {
        flex-direction: column;
        align-items: center;
    }
    
    nav ul li {
        margin: 10px 0;
    }
    
    .menu-toggle {
        display: flex;
        margin-left: auto;
    }
    
    .menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }
    
    .banner {
        padding: 120px 0 80px;
    }
    
    .app-name {
        font-size: 2rem;
    }
    
    .download-buttons {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .download-buttons .btn {
        width: 100%;
        max-width: 250px;
    }
    
    .features, .highlights, .app-showcase {
        padding: 70px 0;
    }
    
    .footer-content {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .section-title {
        font-size: 1.8rem;
    }
    
    .feature-content h3 {
        font-size: 1.5rem;
    }
    
    /* .carousel-wrapper {
        padding-bottom: 177.78%;
    } */
}

.download-qrcodes {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 30px;
    flex-wrap: wrap; /* 添加弹性换行 */
}

.qrcode-item {
    text-align: center;
    background-color: #fff;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    width: 160px; /* 设置固定宽度 */
    margin-bottom: 15px; /* 添加底部间距 */
}

.qrcode-img {
    width: 120px;
    height: 120px;
    border-radius: 0;
    margin-bottom: 10px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
    border: 1px solid #eaeaea;
}

/* 移除原来的媒体查询规则，使二维码始终保持水平排列 */
@media (max-width: 768px) {
    .download-qrcodes {
        flex-direction: row; /* 改为行方向 */
        justify-content: center; /* 居中对齐 */
        gap: 20px; /* 减小间距 */
    }
    
    .qrcode-item {
        width: 140px; /* 小屏幕下稍微缩小宽度 */
        padding: 10px; /* 减小内边距 */
    }
    
    .qrcode-img {
        width: 110px; /* 小屏幕下稍微缩小图片 */
        height: 110px;
    }
}

/* 超小屏幕下进一步优化 */
@media (max-width: 360px) {
    .download-qrcodes {
        gap: 10px; /* 进一步减小间距 */
    }
    
    .qrcode-item {
        width: 130px; /* 进一步缩小宽度 */
        padding: 8px; /* 进一步减小内边距 */
    }
    
    .qrcode-img {
        width: 100px; /* 进一步缩小图片 */
        height: 100px;
    }
}