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

/* 添加隐藏类基础样式 */
.hidden {
    display: none !important;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 0;
}

/* Navigation - 使用Tailwind CSS，这里只保留必要的自定义样式 */
.navbar {
    /* 这些样式由Tailwind CSS处理，只保留必要的自定义样式 */
}

/* 确保移动端菜单按钮在正确位置 */
#mobile-menu-button {
    display: none;
}

/* 移动端菜单样式 */
#mobile-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    z-index: 50;
}

/* 确保移动端菜单按钮在移动设备上显示 */
@media (max-width: 767px) {
    #mobile-menu-button {
        display: block !important;
    }
}

/* Hero Section */
.hero {
    padding: 10rem 0 5rem;
    background-color: #f8f9fa;
}

.hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 5%;
}

.hero-content {
    flex: 1;
    padding-right: 2rem;
}

.hero-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #333;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.hero-description {
    margin-bottom: 2rem;
    color: #555;
    max-width: 600px;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
}

.btn {
    padding: 0.8rem 2rem;
    border: none;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
}

.btn i {
    margin-right: 0.5rem;
}

.btn-primary {
    background-color: #4facfe;
    color: white;
}

.btn:hover {
    transform: translateY(-3px);
}

.hero-visual {
    flex: 1;
    display: flex;
    justify-content: center;
}

.phone-mockup {
    position: relative;
    width: 300px;
    height: 600px;
    background-color: #333;
    border-radius: 40px;
    padding: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.phone-screen {
    width: 100%;
    height: 100%;
    background-color: white;
    border-radius: 30px;
    overflow: hidden;
}

.app-screenshot {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Features Section */
.features {
    padding: 5rem 0;
}

.section-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 3rem;
    color: #333;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    padding: 0 5%;
}

.feature-card {
    background-color: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background-color: #f0f7ff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.feature-icon i {
    font-size: 1.5rem;
    color: #4facfe;
}

.feature-card h3 {
    margin-bottom: 0.5rem;
    color: #333;
}

.feature-card p {
    color: #666;
}

/* Screenshots Section */
.screenshots {
    padding: 5rem 0;
    background-color: #f8f9fa;
}

.screenshots-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    padding: 0 5%;
}

.screenshot-item {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.screenshot-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.screenshot-item img:hover {
    transform: scale(1.05);
}

/* Download Section */
.download {
    padding: 5rem 0;
    text-align: center;
}

.download-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 5%;
}

.download h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #333;
}

.download p {
    color: #666;
    margin-bottom: 2rem;
}

.download-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.download-btn {
    display: flex;
    align-items: center;
    padding: 1rem 2rem;
    background-color: #333;
    color: white;
    border-radius: 10px;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.download-btn:hover {
    transform: translateY(-5px);
}

.download-btn i {
    font-size: 1.5rem;
    margin-right: 0.8rem;
}

.google-play {
    background-color: #4CAF50;
}

.app-store {
    background-color: #000;
}

.btn-text .small-text {
    font-size: 0.8rem;
    display: block;
}

.btn-text .large-text {
    font-size: 1rem;
    font-weight: 600;
}

/* Footer */
.footer {
    background-color: #333;
    color: white;
    padding: 5rem 0 2rem;
}

.footer-container {
    padding: 0 5%;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer-section h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.footer-section h4 {
    font-size: 1rem;
    margin-bottom: 1rem;
}

.footer-section p {
    color: #ccc;
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #444;
    color: #ccc;
}

/* 下载弹窗样式 */
#download-modal {
    opacity: 0;
    transition: opacity 0.3s ease;
}

#download-modal.show {
    opacity: 1;
}

/* 确保桌面导航可见 */
@media (min-width: 768px) {
    .md\:flex {
        display: flex !important;
    }
    
    #mobile-menu-button {
        display: none !important;
    }
}

/* 确保移动导航按钮可见 */
@media (max-width: 767px) {
    #mobile-menu-button {
        display: block !important;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-container {
        flex-direction: column;
        text-align: center;
    }

    .hero-content {
        padding-right: 0;
        margin-bottom: 3rem;
    }

    .hero-buttons {
        justify-content: center;
    }
}
@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .download-buttons {
        flex-direction: column;
        align-items: center;
    }

    .download-btn {
        width: 80%;
        justify-content: center;
    }
}

/* 截图轮播容器样式 */
.screenshots-slider {
    max-width: 800px;
    margin: 2rem auto;
    padding: 0 1rem;
}

.slider-wrapper {
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.06);
    position: relative;
    height: 450px; /* 添加固定高度，解决尺寸问题 */
}

/* 添加轮播滑动样式 */
.slider-wrapper {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1); /* 使用缓动函数优化滑动轨迹 */
}

.screenshot-slide {
    min-width: 100%;
    text-align: center;
    padding: 1rem;
    background-color: #f8f9fa;
    height: 100%; /* 使每个slide占满容器高度 */
    display: flex;
    flex-direction: column;
    justify-content: center; /* 垂直居中内容 */
}

/* 修复图片尺寸 */
.responsive-image {
    max-width: 100%;
    max-height: 380px; /* 限制图片最大高度 */
    height: auto;
    display: block;
    margin: 0 auto; /* 水平居中图片 */
    object-fit: contain; /* 保持图片比例，避免拉伸 */
}

.screenshot-caption {
    margin-top: 0.8rem;
    font-weight: 500;
    color: #444;
}

/* 修复导��按钮样式 */
.slider-nav {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
    position: absolute;
    top: 50%;
    width: 100%;
    transform: translateY(-50%);
    z-index: 10;
    padding: 0 1rem;
}

/* 调整导航按钮位置 */
.slider-prev {
    margin-right: auto;
}

.slider-next {
    margin-left: auto;
}

.slider-prev, .slider-next {
    background-color: rgba(255, 255, 255, 0.8);
    border: 1px solid #ddd;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

/* 导航点样式 */
.slider-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
    position: absolute;
    bottom: 1rem;
    width: 100%;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .slider-wrapper {
        height: 350px; /* 移动端减小高度 */
    }
    
    .responsive-image {
        max-height: 280px; /* 移动端图片高度 */
    }
}

@media (max-width: 480px) {
    .slider-wrapper {
        height: 280px; /* 小屏手机进一步减小高度 */
    }
    
    .responsive-image {
        max-height: 200px; /* 小屏手机图片高度 */
    }
}

.slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #ddd;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.slider-dot.active {
    background-color: #4facfe;
}

/* 添加到文件末尾 */
/* 从HTML提取的Tailwind自定义工具类和动画 */
@layer utilities {
    /* 工具类样式保持不变 */
}

@keyframes float {
    /* 动画样式保持不变 */
}


/* 其他样式保持不变 */