/* APP下载页面样式 */

/* 主要内容区域 */
.app-main {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    margin-top: 20px; /* 添加顶部间距，避免与导航栏紧贴 */
}

/* APP介绍区域 */
.app-hero {
    position: relative;
    overflow: hidden;
}

.hero-background {
    background: linear-gradient(135deg, #12cbaa 0%, #72df9d 100%);
    position: relative;
    padding: 0;
    width: 100%;
}

.hero-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url(../images/app/hero-pattern.png) repeat;
    opacity: 0.1;
}

/* APP展示容器 */
.app-showcase {
    max-width: 100%;
    width: 100%;
    margin: 0;
    padding: 0;
    position: relative;
    z-index: 2;
}

/* 展示图片样式 */
.showcase-image {
    margin: 0;
    padding: 0;
    text-align: center;
    line-height: 0;
}

.showcase-image img {
    width: 100%;
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0;
    padding: 0;
    border: none;
    vertical-align: top;
}

/* 以下样式已经不再使用，因为改为了图片展示模式
.hero-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 80px 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-content {
    display: flex;
    flex-direction: column;
    gap: 40px;
}
*/

/* APP信息 */
.app-info {
    display: flex;
    align-items: center;
    gap: 25px;
}

.app-icon {
    flex-shrink: 0;
}

.app-icon img {
    width: 100px;
    height: 100px;
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

.app-details h1 {
    font-size: 36px;
    color: #fff;
    margin-bottom: 10px;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.app-slogan {
    font-size: 18px;
    color: rgba(255,255,255,0.9);
    line-height: 1.6;
    margin-bottom: 20px;
}

.app-rating {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.rating-stars {
    display: flex;
    align-items: center;
    gap: 10px;
}

.stars {
    color: #FFD700;
    font-size: 20px;
}

.rating-score {
    color: #fff;
    font-size: 18px;
    font-weight: 600;
}

.download-count {
    color: rgba(255,255,255,0.8);
    font-size: 14px;
}

.count {
    font-weight: 600;
    color: #fff;
}

/* 下载区域 */
.download-section h2 {
    font-size: 28px;
    color: #fff;
    margin-bottom: 25px;
    font-weight: 600;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.download-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 30px;
}

.download-btn {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 25px;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 12px;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.download-btn:hover {
    background: rgba(255,255,255,0.25);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

.download-btn img {
    width: 40px;
    height: 40px;
}

.btn-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.platform {
    font-size: 16px;
    font-weight: 600;
    color: #fff;
}

.subtitle {
    font-size: 12px;
    color: rgba(255,255,255,0.8);
}

/* 二维码 */
.qr-codes {
    display: flex;
    gap: 30px;
    justify-content: center;
}

.qr-code-item {
    text-align: center;
}

.qr-image {
    width: 120px;
    height: 120px;
    background: #fff;
    padding: 10px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    margin-bottom: 10px;
}

.qr-code-item p {
    color: #fff;
    font-size: 14px;
    font-weight: 500;
}

/* Hero图片 */
.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 20px 40px rgba(0,0,0,0.3));
}

/* APP功能特色 */
.app-features {
    background: #fff;
    padding: 80px 0;
}

.features-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

.features-container h2 {
    font-size: 32px;
    color: #333;
    text-align: center;
    margin-bottom: 50px;
    font-weight: 600;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.feature-item {
    text-align: center;
    padding: 30px 20px;
    background: #f8f9fa;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    background: #fff;
}

.feature-icon {
    margin-bottom: 20px;
}

.feature-icon img {
    width: 60px;
    height: 60px;
}

.feature-item h3 {
    font-size: 20px;
    color: #333;
    margin-bottom: 15px;
    font-weight: 600;
}

.feature-item p {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
}

/* APP截图展示 */
.app-screenshots {
    background: #f8f9fa;
    padding: 80px 0;
}

.screenshots-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

.screenshots-container h2 {
    font-size: 32px;
    color: #333;
    text-align: center;
    margin-bottom: 50px;
    font-weight: 600;
}

.screenshots-gallery {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    padding: 20px 0;
    scroll-behavior: smooth;
}

.screenshot-item {
    flex: 0 0 200px;
    text-align: center;
}

.screenshot-item img {
    width: 180px;
    height: 320px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    transition: transform 0.3s ease;
}

.screenshot-item:hover img {
    transform: scale(1.05);
}

.screenshot-item p {
    color: #666;
    font-size: 14px;
    margin-top: 10px;
    font-weight: 500;
}

/* 下载指南 */
.download-guide {
    background: #fff;
    padding: 80px 0;
}

.guide-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

.guide-container h2 {
    font-size: 32px;
    color: #333;
    text-align: center;
    margin-bottom: 40px;
    font-weight: 600;
}

.guide-tabs {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 40px;
}

.guide-tab {
    padding: 12px 30px;
    background: #f8f9fa;
    border: 1px solid #ddd;
    border-radius: 25px;
    color: #666;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 16px;
    font-weight: 500;
}

.guide-tab:hover,
.guide-tab.active {
    background: #D42A3C;
    color: #fff;
    border-color: #D42A3C;
}

.guide-content {
    position: relative;
}

.guide-platform {
    display: none;
    background: #f8f9fa;
    padding: 40px;
    border-radius: 12px;
}

.guide-platform.active {
    display: block;
}

.guide-platform h3 {
    font-size: 24px;
    color: #333;
    margin-bottom: 25px;
    font-weight: 600;
}

.guide-steps {
    list-style: none;
    counter-reset: step-counter;
    margin-bottom: 30px;
}

.guide-steps li {
    counter-increment: step-counter;
    position: relative;
    padding: 20px 0 20px 60px;
    border-bottom: 1px solid #eee;
}

.guide-steps li:last-child {
    border-bottom: none;
}

.guide-steps li::before {
    content: counter(step-counter);
    position: absolute;
    left: 0;
    top: 20px;
    width: 40px;
    height: 40px;
    background: #D42A3C;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 16px;
}

.guide-steps strong {
    color: #333;
    font-weight: 600;
}

.supported-markets,
.ios-requirements {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.supported-markets h4,
.ios-requirements h4 {
    font-size: 18px;
    color: #333;
    margin-bottom: 15px;
    font-weight: 600;
}

.market-icons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.market-icons img {
    width: 50px;
    height: 50px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.ios-requirements ul {
    list-style: disc;
    padding-left: 20px;
}

.ios-requirements li {
    color: #666;
    margin-bottom: 8px;
}

/* 用户评价 */
.user-reviews {
    background: #f8f9fa;
    padding: 80px 0;
}

.reviews-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

.reviews-container h2 {
    font-size: 32px;
    color: #333;
    text-align: center;
    margin-bottom: 50px;
    font-weight: 600;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.review-item {
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.review-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.review-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.user-avatar img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
}

.user-info h4 {
    font-size: 16px;
    color: #333;
    margin-bottom: 5px;
    font-weight: 600;
}

.review-rating {
    color: #FFB400;
    font-size: 14px;
}

.review-content {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
    font-style: italic;
}

/* 底部下载区域 */
.bottom-download {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 60px 0;
}

.bottom-download-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.download-prompt h3 {
    font-size: 28px;
    color: #fff;
    margin-bottom: 10px;
    font-weight: 600;
}

.download-prompt p {
    font-size: 16px;
    color: rgba(255,255,255,0.9);
}

.bottom-download-buttons {
    display: flex;
    gap: 20px;
    flex-shrink: 0;
}

.download-btn-bottom {
    transition: transform 0.3s ease;
}

.download-btn-bottom:hover {
    transform: translateY(-3px);
}

.download-btn-bottom img {
    height: 60px;
    width: auto;
}