@charset "utf-8";
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
    min-height: 100vh;
    padding: 0;
}

/* 导航栏 */
.navbar {
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    max-width: 750px;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
    z-index: 1000;
}

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

.logo-section {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-section a {
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 15px;
    color: inherit;
    -webkit-tap-highlight-color: transparent;
    tap-highlight-color: transparent;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.logo img {
    width: 100%;
    height: 100%;
    border-radius: 10px;
}

.app-icon img {
    width: 100%;
    height: 100%;
    border-radius: 20px;
}

.header a {
    text-decoration: none;
    color: inherit;
    background-color: #667eea;
}

/* 应用简介 */
.app-summary {
    padding: 40px 30px;
    background: #fff;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    margin-bottom: 20px;
}

.summary-content {
    line-height: 1.6;
    color: #555;
    font-size: 15px;
    margin: 20px 0;
    padding: 25px;
    background: #f8f9fa;
    border-radius: 12px;
}

.summary-content p {
    margin-bottom: 15px;
}

.summary-content p:last-child {
    margin-bottom: 0;
}

.logo {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #fff;
}

.site-name {
    font-size: 20px;
    font-weight: bold;
    color: #333;
}

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

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

.nav-menu a:hover {
    color: #667eea;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #333;
}

/* 移动端菜单样式 */
@media (max-width: 600px) {
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.98);
        flex-direction: column;
        padding: 20px;
        gap: 15px;
        box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    }

    .nav-menu.active {
        display: flex;
    }

    .mobile-menu-btn {
        display: block;
    }

    .site-name {
        font-size: 18px;
    }
}

.container {
    max-width: 750px;
    margin: 0 auto;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    margin-top: 70px;
}

/* 头部区域 */
.header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    padding: 40px 30px;
    text-align: center;
}

.app-icon {
    width: 100px;
    height: 100px;
    background: #fff;
    border-radius: 20px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 50px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.header h1 {
    font-size: 32px;
    margin-bottom: 15px;
}

.header p {
    font-size: 16px;
    opacity: 0.9;
    margin-bottom: 25px;
}

.download-btn {
    display: inline-block;
    background: #fff;
    color: #667eea;
    padding: 15px 50px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: bold;
    font-size: 18px;
    transition: all 0.3s;
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
    z-index: 1;
    position: relative;
}

.download-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.3);
}

.version-info {
    margin-top: 15px;
    font-size: 14px;
    opacity: 0.8;
}

/* 截图展示 */
.screenshots {
    padding: 40px 30px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    margin-bottom: 20px;
}

.section-title {
    font-size: 24px;
    color: #333;
    margin-bottom: 25px;
    text-align: center;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    margin: 10px auto 0;
    border-radius: 2px;
}

.screenshot-grid {
    display: flex;
    gap: 15px;
    overflow-x: auto;
    padding-bottom: 10px;
    scrollbar-width: thin;
    scrollbar-color: #667eea #f0f0f0;
}

.screenshot-grid::-webkit-scrollbar {
    height: 6px;
}

.screenshot-grid::-webkit-scrollbar-track {
    background: #f0f0f0;
    border-radius: 3px;
}

.screenshot-grid::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 3px;
}

.screenshot-grid::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
}

.screenshot-item {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s;
    min-width: 200px;
    flex-shrink: 0;
}

.screenshot-item:hover {
    transform: translateY(-5px);
}

.screenshot-item img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    display: block;
}

.screenshot-item p {
    padding: 10px;
    text-align: center;
    font-size: 14px;
    color: #666;
}

/* 更多版本 */
.versions {
    padding: 40px 30px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    margin-bottom: 20px;
}

.version-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 25px;
}

.version-item {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    transition: all 0.3s;
}

.version-item:hover {
    box-shadow: 0 5px 20px rgba(0,0,0,0.12);
}

.version-info-text h4 {
    font-size: 16px;
    color: #333;
    margin-bottom: 5px;
}

.version-info-text h4 a {
    text-decoration: none;
    color: #26637b;
}

.version-info-text p {
    font-size: 13px;
    color: #888;
}

.version-download {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    padding: 10px 25px;
    border-radius: 10px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s;
}

.version-download:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

/* 用户评论 */
.reviews {
    padding: 40px 30px;
    background: #fff;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    margin-bottom: 20px;
}

.review-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 25px;
}

.review-item {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 20px;
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.reviewer-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.reviewer-avatar {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: bold;
    font-size: 18px;
}

.reviewer-name {
    font-weight: 600;
    color: #333;
}

.review-date {
    font-size: 12px;
    color: #999;
}

.review-rating {
    color: #ffc107;
    font-size: 16px;
}

.review-content {
    color: #555;
    font-size: 14px;
    line-height: 1.6;
}

/* 评论表单 */
.review-form-section {
    padding: 40px 30px;
    background: #fff;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    margin-bottom: 20px;
}

.review-form-section .section-title {
    color: #333;
}

.review-form-section .section-title::after {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.review-form {
    background: #fff;
    border-radius: 15px;
    padding: 30px;
    margin-top: 25px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 14px;
    color: #333;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 14px;
    transition: border-color 0.3s;
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #667eea;
}

.rating-select {
    display: flex;
    gap: 10px;
    align-items: center;
}

.rating-select input[type="range"] {
    flex: 1;
    height: 6px;
    -webkit-appearance: none;
    background: #e0e0e0;
    border-radius: 3px;
    outline: none;
}

.rating-select input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    cursor: pointer;
}

.rating-value {
    font-size: 24px;
    color: #ffc107;
}

.submit-btn {
    width: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    padding: 15px;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(102, 126, 234, 0.4);
}

/* 页脚 */
.footer {
    padding: 30px;
    text-align: center;
    background: #333;
    color: #fff;
}

.footer p {
    font-size: 14px;
    opacity: 0.8;
}

/* 响应式 */
@media (max-width: 600px) {
    body {
        padding: 10px;
    }

    .header {
        padding: 30px 20px;
    }

    .header h1 {
        font-size: 26px;
    }

    .screenshot-grid {
        grid-template-columns: 1fr;
    }

    .screenshot-item img {
        height: 450px;
    }

    .feature-list {
        grid-template-columns: 1fr;
    }

    .version-item {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .version-download {
        width: 80%;
        text-align: center;
        padding: 12px 0;
    }

    .section-title {
        font-size: 20px;
    }

    .screenshots,
    .app-intro,
    .versions,
    .reviews,
    .review-form-section {
        padding: 30px 20px;
    }
}