/* 全局样式 */
:root {
    --primary-color: #2D3436;
    --secondary-color: #636E72;
    --accent-color: #0984E3;
    --text-color: #2D3436;
    --light-text: rgba(45, 52, 54, 0.7);
    --background-color: #FFFFFF;
    --section-padding: 4rem;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'PingFang SC', 'Microsoft YaHei', sans-serif;
    background-color: var(--background-color);
    color: var(--text-color);
    position: relative;
    overflow-x: hidden;
    text-align: center;
}

body::before {
    display: none;
}

/* 更新粒子效果 */
.particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
    background-color: var(--background-color);
}

.particle {
    position: absolute;
    background: radial-gradient(circle, rgba(9, 132, 227, 0.6) 0%, rgba(9, 132, 227, 0.2) 50%, transparent 100%);
    border-radius: 50%;
    animation: float 15s infinite linear;
}

@keyframes float {
    0% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100px) rotate(360deg);
        opacity: 0;
    }
}

/* 更新卡片背景 */
.feature, .about-item, .info-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* 增强现有动画效果 */
.hero-content {
    animation: fadeInUp 1s ease-out;
}

.feature, .about-item, .info-item {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature:hover, .about-item:hover, .info-item:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* 添加滚动动画 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 滚动动画初始状态 */
.scroll-animate {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.scroll-animate.visible {
    opacity: 1;
    transform: translateY(0);
}

/* 增强按钮效果 */
.download-buttons a, .purchase-link {
    position: relative;
    overflow: hidden;
}

.download-buttons a::before, .purchase-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent
    );
    transition: 0.5s;
}

.download-buttons a:hover::before, .purchase-link:hover::before {
    left: 100%;
}

/* 增强图片效果 */
.hero-image {
    transition: transform 0.5s ease;
}

.hero-image:hover {
    transform: scale(1.02);
}

/* 添加渐变边框效果 */
.feature, .about-item, .info-item {
    position: relative;
}

.feature::before, .about-item::before, .info-item::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(45deg, rgba(255,255,255,0.1), rgba(255,255,255,0.3));
    -webkit-mask: 
        linear-gradient(#fff 0 0) content-box, 
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

/* 响应式调整 */
@media (max-width: 1200px) {
    section {
        padding: var(--section-padding) 2rem;
    }
}

@media (max-width: 768px) {
    section {
        padding: var(--section-padding) 1rem;
    }
    
    .particles {
        display: none;
    }
}

/* 导航栏 */
header {
    background-color: var(--background-color);
    padding: 1rem var(--section-padding);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

nav {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

nav ul {
    display: flex;
    gap: 2rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

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

nav a:hover {
    color: var(--accent-color);
}

/* 主要内容区域 */
main {
    margin-top: 80px;
    text-align: center;
}

section {
    padding: var(--section-padding);
    max-width: 1200px;
    margin: 0 auto;
}

/* 英雄区域 */
.hero {
    position: relative;
    text-align: center;
    padding: 4rem var(--section-padding);
    overflow: hidden;
    min-height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: var(--background-color);
}

.hero-banner {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto 4rem;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(255,255,255,0.1);
}

.hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    filter: grayscale(100%) contrast(120%) brightness(0.8);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 1rem;
}

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    text-shadow: none;
}

.hero p {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--text-color);
    margin-bottom: 3rem;
    text-shadow: none;
    line-height: 1.8;
}

/* 下载按钮 */
.download-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.download-buttons a {
    background: var(--accent-color);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.download-buttons a:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(9, 132, 227, 0.2);
}

.download-buttons i {
    font-size: 1.3rem;
}

.app-store {
    background-color: var(--primary-color);
}

.google-play {
    background-color: #3DDC84;
}

.web-version {
    background-color: #007AFF;
}

@media (max-width: 768px) {
    .download-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .download-buttons a {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }
}

/* 功能区域 */
.features {
    padding: var(--section-padding);
    background-color: var(--background-color);
}

.features h2 {
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: 3rem;
    color: var(--primary-color);
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.feature {
    background: white;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    padding: 2rem;
    transition: all 0.3s ease;
}

.feature:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.feature i {
    color: var(--accent-color);
    font-size: 2rem;
    margin-bottom: 1rem;
}

.feature h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

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

/* 下载区域 */
.download {
    padding: var(--section-padding);
    background-color: var(--background-color);
    position: relative;
}

.download::before,
.download::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
}

.download::before {
    top: 0;
}

.download::after {
    bottom: 0;
}

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

.download-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
}

.download-text h2 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.download-text p {
    color: var(--light-text);
}

.purchase-link {
    background: var(--accent-color);
    color: white;
    padding: 1rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.purchase-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(9, 132, 227, 0.2);
}

/* 关于区域 */
.about {
    padding: var(--section-padding);
    background-color: var(--background-color);
}

.about h2 {
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: 2rem;
    color: var(--primary-color);
}

.about p {
    max-width: 800px;
    margin: 0 auto 3rem;
    color: var(--light-text);
    line-height: 1.6;
}

.about-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.about-item {
    padding: 2rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.about-item i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.about-item h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

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

/* 安卓信息区域 */
.android-info {
    padding: var(--section-padding);
    background-color: var(--background-color);
}

.android-info h2 {
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: 3rem;
    color: var(--primary-color);
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.info-item {
    padding: 2rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.info-item i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.info-item h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

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

/* 页脚 */
footer {
    padding: 2rem var(--section-padding);
    background-color: var(--background-color);
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.footer-content p {
    margin: 10px 0;
    font-size: 0.9rem;
}

.copyright {
    color: var(--secondary-color);
    font-size: 0.9rem;
    margin: 0.5rem 0;
}

.copyright a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.copyright a:hover {
    color: var(--accent-color);
}

.service-info {
    font-size: 0.85rem;
    color: #999;
    margin: 5px 0;
}

.icp {
    color: var(--secondary-color);
    font-size: 0.9rem;
    margin: 0.5rem 0;
}

.icp a {
    color: var(--secondary-color);
    text-decoration: none;
}

.icp a:hover {
    color: var(--accent-color);
}

/* 响应式调整 */
@media (max-width: 1200px) {
    .info-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    nav ul {
        display: none;
    }
    
    .download-content {
        flex-direction: column;
        text-align: center;
    }
    
    .info-grid {
        grid-template-columns: 1fr;
    }
    
    section {
        padding: var(--section-padding) 1rem;
    }
}

/* Logo 样式 */
.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
}

.logo i {
    color: var(--primary-color);
}

/* 动画 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 安卓版本信息部分 */
.android-info {
    padding: var(--section-padding);
    background-color: var(--background-color);
    text-align: center;
}

.android-info h2 {
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: 3rem;
    color: var(--primary-color);
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.info-item {
    padding: 2rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.info-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(255,255,255,0.1);
    border-color: rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.1);
}

.info-item i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.info-item h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

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

@media (max-width: 1024px) {
    .info-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .info-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .info-item {
        padding: 1.5rem;
    }
}

/* 服务区域 */
.services {
    padding: var(--section-padding);
    background-color: var(--background-color);
}

.services h2 {
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: 3rem;
    color: var(--primary-color);
    text-align: center;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.service-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 2.5rem 2rem;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
}

.service-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-color: rgba(9, 132, 227, 0.3);
}

.service-item i {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 1.5rem;
}

.service-item h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.service-item p {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--light-text);
    margin: 0;
}

@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .service-item {
        padding: 2rem 1.5rem;
    }
}

/* 用户案例区域 */
.testimonials {
    padding: var(--section-padding);
    background-color: var(--background-color);
}

.testimonials h2 {
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: 3rem;
    color: var(--primary-color);
    text-align: center;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .testimonial-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

.testimonial {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 2rem;
    transition: all 0.3s ease;
    position: relative;
}

.testimonial:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-color: rgba(9, 132, 227, 0.3);
}

.testimonial::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: 20px;
    font-size: 4rem;
    color: var(--accent-color);
    opacity: 0.3;
    font-family: serif;
}

.testimonial-content p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--text-color);
    margin-bottom: 1.5rem;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.testimonial-author strong {
    color: var(--primary-color);
    font-size: 1rem;
}

.testimonial-author span {
    color: var(--light-text);
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .testimonial-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .testimonial {
        padding: 1.5rem;
    }
}