/* 全局样式 */
:root {
    --primary-color: #ffffff;
    --secondary-color: #cccccc;
    --accent-color: #ffffff;
    --text-color: #ffffff;
    --light-text: rgba(255, 255, 255, 0.7);
    --background-color: #000000;
    --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);
}

/* 更新卡片背景 */
.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);
    }
}

/* 增强按钮效果 */
.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: rgba(0, 0, 0, 0.9);
    padding: 1rem var(--section-padding);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 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(--secondary-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 {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1rem 2rem;
    border-radius: 12px;
    text-decoration: none;
    color: var(--background-color);
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    background-color: var(--primary-color);
    border: 1px solid var(--primary-color);
}

.download-buttons a:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255,255,255,0.2);
    background-color: transparent;
    color: var(--primary-color);
}

.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 {
    padding: 2rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    transition: all 0.3s ease;
}

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

.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 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border-radius: 50px;
    background: var(--primary-color);
    color: var(--background-color);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.purchase-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255,255,255,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: rgba(0, 0, 0, 0.9);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

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

.copyright, .icp {
    color: var(--light-text);
    font-size: 0.9rem;
    margin: 0.5rem 0;
}

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

.icp a:hover {
    color: var(--text-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;
    }
} 