/* 通用样式 */
:root {
    --primary-color: #22BCBC;
    --primary-light: #3ed4d4;
    --primary-dark: #1a9595;
    --secondary-color: #f8f9fa;
    --text-color: #333;
    --light-text: #fff;
    --gray-text: #6c757d;
    --border-color: #dee2e6;
    --box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* 背景动态元素 */
.bg-elements {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -2;
    pointer-events: none;
}

.bg-element {
    position: absolute;
    border-radius: 50%;
    opacity: 0.5;
    filter: blur(40px);
    animation: float 15s infinite ease-in-out;
}

.bg-element:nth-child(1) {
    width: 300px;
    height: 300px;
    background-color: rgba(34, 188, 188, 0.07);
    top: 10%;
    left: -100px;
    animation-delay: 0s;
}

.bg-element:nth-child(2) {
    width: 200px;
    height: 200px;
    background-color: rgba(34, 188, 188, 0.05);
    top: 60%;
    right: -50px;
    animation-delay: -5s;
}

.bg-element:nth-child(3) {
    width: 150px;
    height: 150px;
    background-color: rgba(34, 188, 188, 0.06);
    bottom: 10%;
    left: 20%;
    animation-delay: -10s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) translateX(0);
    }
    25% {
        transform: translateY(-20px) translateX(10px);
    }
    50% {
        transform: translateY(10px) translateX(20px);
    }
    75% {
        transform: translateY(20px) translateX(-10px);
    }
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background: linear-gradient(135deg, #f5f7fa 0%, #eef2f7 100%);
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 10% 20%, rgba(34, 188, 188, 0.03) 0%, rgba(34, 188, 188, 0.01) 90%);
    z-index: -1;
}

body::after {
    content: '';
    position: fixed;
    top: 0;
    right: 0;
    width: 70%;
    height: 70%;
    background: radial-gradient(circle at 90% 10%, rgba(34, 188, 188, 0.05) 0%, rgba(255, 255, 255, 0) 80%);
    z-index: -1;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: color 0.3s;
}

a:hover {
    color: var(--primary-dark);
}

img {
    max-width: 100%;
    height: auto;
}

.btn {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    border-radius: 2rem;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s;
}

.primary {
    background-color: var(--primary-color);
    color: var(--light-text);
}

.primary:hover {
    background-color: var(--primary-dark);
    color: var(--light-text);
}

.secondary {
    background-color: var(--secondary-color);
    color: var(--text-color);
    border: 2px solid var(--primary-color);
}

.secondary:hover {
    background-color: var(--primary-color);
    color: var(--light-text);
}

section {
    padding: 5rem 0;
}

h2 {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    color: var(--text-color);
    font-size: 2.5rem;
}

h2::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background-color: var(--primary-color);
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

/* 导航栏 */
header {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 40px;
    margin-right: 10px;
    border-radius: 8px;
}

.logo h1 {
    font-size: 1.5rem;
    color: var(--primary-color);
    font-weight: 700;
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 2rem;
}

.nav-links a {
    color: var(--text-color);
    font-weight: 500;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    transition: width 0.3s;
}

.nav-links a:hover::after {
    width: 100%;
}

.mobile-menu {
    display: none;
    cursor: pointer;
    font-size: 1.5rem;
    color: var(--primary-color);
}

/* 英雄区 */
.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 5rem 5%;
    max-width: 1200px;
    margin: 0 auto;
    min-height: 80vh;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(34, 188, 188, 0.1) 0%, rgba(255, 255, 255, 0) 70%);
    top: -100px;
    left: -100px;
    border-radius: 50%;
}

.hero::after {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(34, 188, 188, 0.1) 0%, rgba(255, 255, 255, 0) 70%);
    bottom: -50px;
    right: 10%;
    border-radius: 50%;
}

.hero-content {
    flex: 1;
    padding-right: 2rem;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.hero-content p {
    font-size: 1.2rem;
    color: var(--gray-text);
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
}

.hero-image img {
    max-width: 100%;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
}

/* 功能特点 */
.features {
    background-color: var(--secondary-color);
    padding: 5rem 5%;
    position: relative;
    overflow: hidden;
}

.features::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(34, 188, 188, 0.05) 0%, rgba(255, 255, 255, 0) 50%);
    z-index: 0;
}

.feature-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    background-color: #fff;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
    text-align: center;
    transition: transform 0.3s;
}

.feature-card:hover {
    transform: translateY(-10px);
}

.feature-card i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

/* 应用截图 */
.app-screenshot {
    padding: 5rem 5%;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.screenshot-container {
    position: relative;
    overflow: hidden;
    padding: 0 15px;
}

/* 横向图片滚动容器 */
.screenshot-grid {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 20px;
    margin-top: 2rem;
    padding: 10px 0 20px;
    scrollbar-width: thin;
    scrollbar-color: var(--primary-color) #f0f0f0;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
}

/* 滚动指示 */
.scroll-indicator {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.scroll-indicator-text {
    display: flex;
    align-items: center;
    color: var(--gray-text);
    font-size: 0.9rem;
}

.scroll-indicator-text i {
    margin-left: 5px;
    animation: scroll-hint 1.5s infinite;
}

@keyframes scroll-hint {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(5px); }
}

/* 自定义滚动条样式 */
.screenshot-grid::-webkit-scrollbar {
    height: 8px;
}

.screenshot-grid::-webkit-scrollbar-track {
    background: #f0f0f0;
    border-radius: 10px;
}

.screenshot-grid::-webkit-scrollbar-thumb {
    background-color: var(--primary-color);
    border-radius: 10px;
}

.screenshot-item {
    flex: 0 0 auto;
    width: 280px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: transform 0.3s, box-shadow 0.3s;
    background-color: #fff;
    scroll-snap-align: start;
}

.screenshot-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.screenshot-item img {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
    background-color: #f9f9f9;
    border-radius: 12px 12px 0 0;
}

.screenshot-caption {
    padding: 15px;
    text-align: center;
    font-size: 0.95rem;
    color: var(--gray-text);
    border-top: 1px solid var(--border-color);
}

/* 响应式调整 */
@media (max-width: 768px) {
    .screenshot-item {
        width: 250px;
    }
}

@media (max-width: 576px) {
    .screenshot-item {
        width: 220px;
    }
    
    .screenshot-grid {
        gap: 15px;
    }
}

/* 下载区域 */
.download {
    background-color: var(--secondary-color);
    padding: 5rem 5%;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.download::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(255, 255, 255, 0) 50%, rgba(34, 188, 188, 0.07) 100%);
    z-index: 0;
}

.download h2, .download p, .download-options {
    position: relative;
    z-index: 1;
}

.download p {
    max-width: 600px;
    margin: 0 auto 3rem;
    color: var(--gray-text);
    font-size: 1.1rem;
}

.download-options {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    max-width: 1000px;
    margin: 0 auto;
}

.download-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2rem;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
    width: 250px;
    transition: all 0.3s;
}

.download-btn:hover {
    transform: translateY(-10px);
    background-color: var(--primary-color);
}

.download-btn i {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.download-btn:hover i,
.download-btn:hover span {
    color: var(--light-text);
}

.download-btn span {
    font-weight: 600;
    font-size: 1.2rem;
    color: var(--text-color);
}

.download-btn .version {
    font-size: 0.9rem;
    color: var(--gray-text);
    margin-top: 0.5rem;
}

.download-btn:hover .version {
    color: var(--light-text);
}

.qr-code {
    margin-top: 3rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 1;
}

.qr-code img {
    width: 150px;
    height: 150px;
    margin-bottom: 1rem;
    padding: 10px;
    background-color: white;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
}

.qr-code p {
    font-size: 1rem;
    color: var(--gray-text);
}

/* FAQ区域 */
.faq {
    padding: 5rem 5%;
    max-width: 1200px;
    margin: 0 auto;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 1.5rem;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    overflow: hidden;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    background-color: #fff;
    cursor: pointer;
}

.faq-question h3 {
    font-size: 1.2rem;
    font-weight: 600;
}

.faq-question i {
    color: var(--primary-color);
    transition: transform 0.3s;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s;
}

.faq-item.active .faq-answer {
    padding: 1.5rem;
    max-height: 1000px;
}

/* 页脚 */
footer {
    background-color: #333;
    color: var(--light-text);
    padding: 4rem 5% 2rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-logo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 2rem;
}

.footer-logo img {
    height: 50px;
    margin-bottom: 1rem;
    border-radius: 10px;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 4rem;
}

.link-group h4 {
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
    position: relative;
}

.link-group h4::after {
    content: '';
    display: block;
    width: 30px;
    height: 3px;
    background-color: var(--primary-color);
    position: absolute;
    bottom: -8px;
    left: 0;
}

.link-group ul {
    list-style: none;
}

.link-group ul li {
    margin-bottom: 0.8rem;
}

.link-group ul li a {
    color: #ddd;
    transition: color 0.3s;
}

.link-group ul li a:hover {
    color: var(--primary-light);
}

.copyright {
    text-align: center;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #555;
    color: #999;
}

.beian-info {
    font-size: 0.8rem;
    opacity: 0.7;
    margin-top: 0.5rem;
}

.beian-info a {
    color: #999;
    text-decoration: none;
}

.beian-info a:hover {
    color: var(--primary-light);
}

.beian-info img {
    position: relative;
    top: 2px;
    height: 14px;
    margin-right: 2px;
}

/* 响应式设计 */
@media (max-width: 992px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding: 3rem 5%;
    }

    .hero-content {
        padding-right: 0;
        margin-bottom: 3rem;
    }

    .cta-buttons {
        justify-content: center;
    }

    .feature-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .mobile-menu {
        display: block;
    }

    .feature-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        flex-direction: column;
    }
    
    .footer-links {
        gap: 2rem;
    }
} 