/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #4a90e2;
    --secondary-color: #50c878;
    --accent-color: #ff6b6b;
    --text-dark: #333;
    --text-light: #666;
    --bg-light: #f8f9fa;
    --bg-white: #ffffff;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 4px 20px rgba(0, 0, 0, 0.15);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-white);
}

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

/* 导航栏 */
.navbar {
    background-color: var(--bg-white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
}

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

.logo h1 {
    color: var(--primary-color);
    font-size: 28px;
    font-weight: bold;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s;
}

.nav-menu a:hover {
    color: var(--primary-color);
}

.btn-download {
    background-color: var(--primary-color);
    color: white !important;
    padding: 10px 20px;
    border-radius: 25px;
    transition: all 0.3s;
}

.btn-download:hover {
    background-color: #357abd;
    transform: translateY(-2px);
}

/* 按钮样式 */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background-color: #357abd;
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

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

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: white;
}

.btn-large {
    padding: 15px 40px;
    font-size: 18px;
}

/* 主横幅 */
.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 80px 0;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.hero-content h2 {
    font-size: 42px;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 24px;
    margin-bottom: 15px;
    opacity: 0.95;
}

.hero-description {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 20px;
}

.phone-mockup {
    background: linear-gradient(135deg, #4a90e2 0%, #357abd 100%);
    border-radius: 30px;
    padding: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    max-width: 300px;
    margin: 0 auto;
}

.phone-screen {
    background-color: white;
    border-radius: 20px;
    padding: 80px 40px;
    text-align: center;
    color: var(--text-dark);
}

.phone-screen p:first-child {
    font-size: 80px;
    margin-bottom: 10px;
}

.phone-screen p:last-child {
    font-size: 20px;
    font-weight: 600;
    color: var(--primary-color);
}

/* 功能特色 */
.features {
    padding: 80px 0;
    background-color: var(--bg-light);
}

.section-title {
    text-align: center;
    font-size: 36px;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.section-subtitle {
    text-align: center;
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 50px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-card {
    background-color: var(--bg-white);
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s;
    box-shadow: var(--shadow);
}

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

.feature-icon {
    font-size: 60px;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.feature-card p {
    color: var(--text-light);
    line-height: 1.6;
}

/* 关于我们 */
.about {
    padding: 80px 0;
}

.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 50px;
}

.about-text h3 {
    font-size: 28px;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.about-text p {
    color: var(--text-light);
    margin-bottom: 25px;
    line-height: 1.8;
}

.values-list {
    list-style: none;
    margin-top: 20px;
}

.values-list li {
    padding: 10px 0;
    color: var(--text-light);
}

.values-list strong {
    color: var(--primary-color);
}

.about-stats {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.stat-card {
    background: linear-gradient(135deg, var(--primary-color) 0%, #357abd 100%);
    color: white;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: var(--shadow);
}

.stat-card h4 {
    font-size: 36px;
    margin-bottom: 10px;
}

.stat-card p {
    font-size: 16px;
    opacity: 0.9;
}

/* 行动号召 */
.cta {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 80px 0;
    text-align: center;
}

.cta h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

.cta p {
    font-size: 20px;
    margin-bottom: 30px;
    opacity: 0.9;
}

/* APP页面样式 */
.app-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 60px 0;
    text-align: center;
}

.app-hero h2 {
    font-size: 42px;
    margin-bottom: 15px;
}

.app-subtitle {
    font-size: 20px;
    opacity: 0.9;
}

.app-intro {
    padding: 60px 0;
}

.app-intro-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 50px;
}

.app-intro-text h3 {
    font-size: 28px;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.app-intro-text h4 {
    font-size: 22px;
    margin-top: 30px;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.app-intro-text p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 20px;
}

.app-features-list {
    list-style: none;
    margin: 20px 0;
}

.app-features-list li {
    padding: 10px 0;
    color: var(--text-light);
    font-size: 16px;
}

.system-requirements {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 20px;
}

.requirement-item {
    background-color: var(--bg-light);
    padding: 20px;
    border-radius: 10px;
}

.requirement-item strong {
    color: var(--primary-color);
    display: block;
    margin-bottom: 10px;
}

.requirement-item p {
    margin: 5px 0;
    font-size: 14px;
}

.app-screenshots {
    display: flex;
    justify-content: center;
    align-items: center;
}

.app-screenshots .carousel-container {
    max-width: 400px;
}

.screenshot-placeholder {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 20px;
    padding: 60px 40px;
    text-align: center;
    color: white;
    box-shadow: var(--shadow-hover);
}

.screenshot-placeholder p:first-child {
    font-size: 80px;
    margin-bottom: 10px;
}

.screenshot-placeholder p:last-child {
    font-size: 18px;
}

/* 下载区域 */
.download-section {
    padding: 60px 0;
    background-color: var(--bg-light);
}

.download-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.download-card {
    background-color: var(--bg-white);
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: all 0.3s;
}

.download-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.platform-icon {
    font-size: 80px;
    margin-bottom: 20px;
}

.download-card h3 {
    font-size: 28px;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.version-info, .size-info, .update-date {
    color: var(--text-light);
    margin: 8px 0;
}

.btn-download-app {
    margin: 25px 0 15px 0;
    width: 100%;
    max-width: 280px;
}

.download-note {
    font-size: 14px;
    color: var(--text-light);
    font-style: italic;
}

/* 二维码下载 */
.qr-download {
    text-align: center;
    margin-top: 60px;
    padding: 40px;
    background-color: var(--bg-white);
    border-radius: 20px;
    box-shadow: var(--shadow);
}

.qr-download h3 {
    font-size: 28px;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.qr-download > p {
    color: var(--text-light);
    margin-bottom: 30px;
}

.qr-codes {
    display: flex;
    justify-content: center;
    gap: 60px;
}

.qr-code-item {
    text-align: center;
}

.qr-placeholder {
    width: 180px;
    height: 180px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    color: white;
}

.qr-placeholder p:first-child {
    font-size: 60px;
    margin-bottom: 5px;
}

.qr-placeholder p:last-child {
    font-size: 14px;
}

.qr-code-item > p {
    font-weight: 600;
    color: var(--text-dark);
}

/* 安装指南 */
.install-guide {
    padding: 60px 0;
}

.guide-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.guide-tab h3 {
    font-size: 24px;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.install-steps {
    margin-left: 20px;
    margin-bottom: 20px;
}

.install-steps li {
    padding: 10px 0;
    color: var(--text-light);
    line-height: 1.6;
}

.note-box {
    background-color: #fff3cd;
    border-left: 4px solid #ffc107;
    padding: 15px;
    border-radius: 5px;
    margin-top: 20px;
}

.note-box p {
    color: #856404;
    margin: 0;
}

/* 常见问题 */
.faq {
    padding: 60px 0;
    background-color: var(--bg-light);
}

.faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background-color: var(--bg-white);
    padding: 25px;
    border-radius: 10px;
    margin-bottom: 20px;
    box-shadow: var(--shadow);
}

.faq-item h4 {
    color: var(--primary-color);
    margin-bottom: 10px;
    font-size: 18px;
}

.faq-item p {
    color: var(--text-light);
    line-height: 1.6;
}

/* 用户评价 */
.reviews {
    padding: 60px 0;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.review-card {
    background-color: var(--bg-light);
    padding: 30px;
    border-radius: 15px;
    box-shadow: var(--shadow);
}

.rating {
    font-size: 20px;
    margin-bottom: 15px;
}

.review-text {
    color: var(--text-light);
    margin-bottom: 15px;
    line-height: 1.6;
    font-style: italic;
}

.reviewer {
    color: var(--text-dark);
    font-weight: 600;
    text-align: right;
}

/* 页脚 */
.footer {
    background-color: #2c3e50;
    color: white;
    padding: 50px 0 20px 0;
}

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

.footer-section h4 {
    margin-bottom: 20px;
    font-size: 18px;
}

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

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

.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s;
}

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

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    display: inline-block;
    padding: 8px 15px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 5px;
}

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

/* 轮播图样式 */
.carousel-container {
    position: relative;
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: var(--shadow-hover);
}

.carousel-slides {
    position: relative;
    width: 100%;
    height: 100%;
}

.carousel-slide {
    display: none;
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 20px;
    animation: fadeIn 0.5s ease-in-out;
}

.carousel-slide.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.8);
    color: var(--text-dark);
    border: none;
    padding: 12px 16px;
    font-size: 24px;
    cursor: pointer;
    border-radius: 50%;
    transition: all 0.3s;
    z-index: 10;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-btn:hover {
    background-color: rgba(255, 255, 255, 1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.carousel-btn.prev {
    left: 15px;
}

.carousel-btn.next {
    right: 15px;
}

.carousel-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.carousel-dots .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s;
}

.carousel-dots .dot:hover {
    background-color: rgba(255, 255, 255, 0.8);
}

.carousel-dots .dot.active {
    background-color: white;
    width: 30px;
    border-radius: 6px;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }

    .hero .container,
    .app-intro-content,
    .about-content {
        grid-template-columns: 1fr;
    }

    .hero-content h2 {
        font-size: 32px;
    }

    .features-grid,
    .download-cards {
        grid-template-columns: 1fr;
    }

    .guide-tabs {
        grid-template-columns: 1fr;
    }

    .qr-codes {
        flex-direction: column;
        align-items: center;
    }

    .system-requirements {
        grid-template-columns: 1fr;
    }

    .carousel-container {
        max-width: 100%;
    }

    .carousel-btn {
        width: 35px;
        height: 35px;
        font-size: 20px;
        padding: 8px 12px;
    }

    .carousel-btn.prev {
        left: 10px;
    }

    .carousel-btn.next {
        right: 10px;
    }
}

@media (max-width: 480px) {
    .hero-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        text-align: center;
    }

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