/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Microsoft YaHei', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f5f5f5;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 导航栏 */
.navbar {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 24px;
    font-weight: bold;
    color: white;
}

.nav-menu {
    display: flex;
    gap: 30px;
}

.nav-menu a {
    color: white;
    font-size: 16px;
    transition: opacity 0.3s;
}

.nav-menu a:hover {
    opacity: 0.8;
}

/* Hero区域 */
.hero {
    background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)), url('https://images.unsplash.com/photo-1506905925346-21bda4d32df4?w=1920');
    background-size: cover;
    background-position: center;
    height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

.hero-content h1 {
    font-size: 48px;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-content p {
    font-size: 20px;
    margin-bottom: 30px;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    background: #ff6b6b;
    color: white;
    border-radius: 30px;
    font-size: 16px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255,107,107,0.4);
}

/* 特色区域 */
.features {
    padding: 80px 0;
    background: white;
}

.section-title {
    text-align: center;
    font-size: 36px;
    margin-bottom: 50px;
    color: #333;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-card {
    text-align: center;
    padding: 30px;
    border-radius: 10px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.feature-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: #667eea;
}

.feature-card p {
    color: #666;
}

/* 热门目的地 */
.destinations {
    padding: 80px 0;
}

.destinations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.destination-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.destination-card:hover {
    transform: scale(1.05);
}

.destination-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.destination-info {
    padding: 20px;
}

.destination-info h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

.destination-info p {
    color: #666;
    margin-bottom: 15px;
}

.price {
    color: #ff6b6b;
    font-size: 18px;
    font-weight: bold;
}

/* 文章列表 */
.articles-section {
    padding: 80px 0;
    background: white;
}

.articles-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.article-card {
    background: #f9f9f9;
    border-radius: 10px;
    overflow: hidden;
    transition: box-shadow 0.3s;
}

.article-card:hover {
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

.article-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.article-content {
    padding: 20px;
}

.article-content h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: #333;
}

.article-content p {
    color: #666;
    margin-bottom: 15px;
}

.article-meta {
    display: flex;
    justify-content: space-between;
    color: #999;
    font-size: 14px;
}

.read-more {
    color: #667eea;
    font-weight: bold;
}

/* 文章详情 */
.article-detail {
    padding: 60px 0;
    background: white;
}

.article-header {
    margin-bottom: 40px;
}

.article-header h1 {
    font-size: 36px;
    margin-bottom: 20px;
    color: #333;
}

.article-meta-detail {
    display: flex;
    gap: 30px;
    color: #999;
    margin-bottom: 30px;
}

.article-body {
    font-size: 18px;
    line-height: 1.8;
    color: #555;
}

.article-body p {
    margin-bottom: 20px;
}

.article-body img {
    width: 100%;
    border-radius: 10px;
    margin: 20px 0;
}

/* APP下载页 */
.app-download {
    padding: 80px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.app-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.app-info h1 {
    font-size: 42px;
    margin-bottom: 20px;
}

.app-info p {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.9;
}

.app-features {
    margin-bottom: 40px;
}

.app-features li {
    margin-bottom: 15px;
    font-size: 16px;
}

.download-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.download-btn {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 25px;
    background: white;
    color: #667eea;
    border-radius: 10px;
    transition: transform 0.3s;
}

.download-btn:hover {
    transform: scale(1.05);
}

.download-btn i {
    font-size: 32px;
}

.download-text {
    text-align: left;
}

.download-text small {
    display: block;
    font-size: 12px;
    opacity: 0.7;
}

.download-text strong {
    font-size: 16px;
}

.app-preview {
    text-align: center;
}

.phone-mockup {
    max-width: 300px;
    margin: 0 auto;
    background: white;
    border-radius: 40px;
    padding: 20px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.phone-screen {
    background: #f5f5f5;
    border-radius: 25px;
    padding: 20px;
    min-height: 500px;
}

/* 页脚 */
.footer {
    background: #333;
    color: white;
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    font-size: 20px;
    margin-bottom: 20px;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section a {
    color: #ccc;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #555;
    color: #999;
}

/* 其他APP推荐页面 */
.apps-recommend {
    padding: 80px 0;
    background: #f9f9f9;
}

.app-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
}

.app-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.app-card-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}

.app-icon {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    color: white;
    flex-shrink: 0;
}

.app-basic-info h3 {
    font-size: 22px;
    margin-bottom: 5px;
    color: #333;
}

.app-basic-info .developer {
    color: #999;
    font-size: 14px;
}

.app-rating {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.stars {
    color: #ffc107;
    font-size: 18px;
}

.rating-score {
    font-size: 18px;
    font-weight: bold;
    color: #333;
}

.rating-count {
    color: #999;
    font-size: 14px;
}

.app-description {
    color: #666;
    line-height: 1.8;
    margin-bottom: 20px;
}

.app-tags {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.tag {
    padding: 5px 15px;
    background: #f0f0f0;
    border-radius: 20px;
    font-size: 14px;
    color: #666;
}

.app-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    padding: 15px;
    background: #f9f9f9;
    border-radius: 10px;
    margin-bottom: 20px;
}

.stat-item {
    text-align: center;
}

.stat-value {
    font-size: 20px;
    font-weight: bold;
    color: #667eea;
}

.stat-label {
    font-size: 12px;
    color: #999;
    margin-top: 5px;
}

.view-detail-btn {
    display: block;
    width: 100%;
    padding: 12px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-align: center;
    border-radius: 8px;
    font-size: 16px;
    transition: opacity 0.3s;
}

.view-detail-btn:hover {
    opacity: 0.9;
}

/* 第三方APP详情页 */
.third-party-app {
    padding: 60px 0;
    background: white;
}

.app-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 60px 0;
    color: white;
}

.app-hero-content {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 40px;
    align-items: center;
}

.app-hero-icon {
    width: 120px;
    height: 120px;
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 60px;
    background: white;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.app-hero-info h1 {
    font-size: 36px;
    margin-bottom: 10px;
}

.app-hero-info .subtitle {
    font-size: 18px;
    opacity: 0.9;
    margin-bottom: 20px;
}

.app-hero-actions {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.hero-download-btn {
    padding: 12px 30px;
    background: white;
    color: #667eea;
    border-radius: 8px;
    font-weight: bold;
    transition: transform 0.3s;
}

.hero-download-btn:hover {
    transform: scale(1.05);
}

.app-detail-section {
    padding: 60px 0;
}

.detail-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
}

.screenshots {
    margin-bottom: 40px;
}

.screenshots h2 {
    font-size: 24px;
    margin-bottom: 20px;
    color: #333;
}

.screenshot-list {
    display: flex;
    gap: 15px;
    overflow-x: auto;
    padding-bottom: 10px;
}

.screenshot-item {
    min-width: 200px;
    height: 400px;
    background: #f5f5f5;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 14px;
}

.features-list {
    margin-bottom: 40px;
}

.features-list h2 {
    font-size: 24px;
    margin-bottom: 20px;
    color: #333;
}

.feature-item {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 10px;
}

.feature-number {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    flex-shrink: 0;
}

.feature-text h3 {
    font-size: 18px;
    margin-bottom: 8px;
    color: #333;
}

.feature-text p {
    color: #666;
    line-height: 1.6;
}

.sidebar-info {
    position: sticky;
    top: 100px;
}

.info-card {
    background: #f9f9f9;
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 20px;
}

.info-card h3 {
    font-size: 18px;
    margin-bottom: 15px;
    color: #333;
}

.info-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

.info-row:last-child {
    border-bottom: none;
}

.info-label {
    color: #999;
}

.info-value {
    color: #333;
    font-weight: 500;
}

.user-reviews {
    margin-top: 40px;
}

.user-reviews h2 {
    font-size: 24px;
    margin-bottom: 20px;
    color: #333;
}

.review-item {
    padding: 20px;
    background: #f9f9f9;
    border-radius: 10px;
    margin-bottom: 15px;
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.reviewer {
    display: flex;
    align-items: center;
    gap: 10px;
}

.reviewer-avatar {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
}

.review-date {
    color: #999;
    font-size: 14px;
}

.review-text {
    color: #666;
    line-height: 1.6;
}

.related-apps {
    padding: 60px 0;
    background: #f9f9f9;
}

.related-apps h2 {
    font-size: 28px;
    margin-bottom: 30px;
    text-align: center;
    color: #333;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.related-card {
    background: white;
    border-radius: 10px;
    padding: 20px;
    display: flex;
    gap: 15px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.08);
    transition: transform 0.3s;
    cursor: pointer;
}

.related-card:hover {
    transform: translateY(-3px);
}

.related-icon {
    width: 60px;
    height: 60px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    color: white;
    flex-shrink: 0;
}

.related-info h4 {
    font-size: 16px;
    margin-bottom: 5px;
    color: #333;
}

.related-info p {
    font-size: 14px;
    color: #999;
    margin-bottom: 8px;
}

.related-rating {
    color: #ffc107;
    font-size: 14px;
}

/* 翻页样式 */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 50px;
    padding: 20px 0;
}

.pagination-btn {
    padding: 8px 12px;
    background: white;
    border: 2px solid #667eea;
    color: #667eea;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 14px;
    min-width: 40px;
    text-align: center;
}

.pagination-btn:hover:not(.disabled):not(.active) {
    background: #667eea;
    color: white;
}

.pagination-btn.active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-color: #667eea;
}

.pagination-btn.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.pagination-info {
    color: #999;
    font-size: 14px;
    margin-left: 15px;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 32px;
    }

    .nav-menu {
        gap: 15px;
    }

    .app-container {
        grid-template-columns: 1fr;
    }

    .section-title {
        font-size: 28px;
    }

    .app-hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .app-hero-icon {
        margin: 0 auto;
    }

    .detail-grid {
        grid-template-columns: 1fr;
    }

    .sidebar-info {
        position: static;
    }

    .app-stats {
        grid-template-columns: repeat(3, 1fr);
    }

    .pagination {
        flex-wrap: wrap;
        gap: 5px;
    }

    .pagination-btn {
        padding: 8px 12px;
        font-size: 13px;
    }
}
