/* 主页样式 - 导航栏样式已移至navbar.css */
body {
    background: 
        radial-gradient(circle at 20% 30%, rgba(255, 107, 107, 0.15), transparent 40%),
        radial-gradient(circle at 80% 20%, rgba(72, 187, 120, 0.15), transparent 45%),
        radial-gradient(circle at 60% 70%, rgba(66, 153, 225, 0.15), transparent 50%),
        radial-gradient(circle at 10% 80%, rgba(236, 201, 75, 0.12), transparent 35%),
        radial-gradient(circle at 90% 60%, rgba(159, 122, 234, 0.12), transparent 40%),
        radial-gradient(circle at 40% 10%, rgba(245, 101, 101, 0.1), transparent 30%),
        linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
}

.main-wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 40px 80px;
    flex: 1;
}

/* 双语内容容器 */
.homepage-content {
    width: 100%;
}

.homepage-content.hidden {
    display: none;
}

/* 头部介绍区 */
.hero-section {
    text-align: center;
    margin-bottom: 80px;
    animation: fadeInUp 0.8s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.brand-logo {
    width: 120px;
    height: 120px;
    border-radius: 24px;
    margin: 0 auto 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 
        0 20px 40px rgba(0,0,0,0.2),
        0 0 0 1px rgba(255,255,255,0.1);
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.brand-logo img {
    width: 80%;
    height: 80%;
    border-radius: 18px;
}

.brand-logo:hover {
    transform: translateY(-5px) scale(1.05);
}

.brand-logo::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent 30%, rgba(255,255,255,0.1) 50%, transparent 70%);
    transform: translateX(-100%);
    transition: transform 0.6s;
}

.brand-logo:hover::before {
    transform: translateX(100%);
}

.brand-title {
    font-size: 3.5rem;
    color: white;
    margin-bottom: 15px;
    font-weight: 300;
    letter-spacing: -0.02em;
}

.brand-subtitle {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 30px;
    font-weight: 400;
}

.brand-description {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
    max-width: 600px;
    margin: 0 auto;
}

/* 应用展示区 */
.apps-section {
    margin-bottom: 80px;
    animation: fadeInUp 0.8s ease-out 0.3s both;
}

.section-title {
    font-size: 2.5rem;
    color: white;
    text-align: center;
    margin-bottom: 50px;
    font-weight: 300;
    letter-spacing: -0.02em;
}

.apps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.app-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border-radius: 25px;
    padding: 40px;
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.2),
        0 0 0 1px rgba(255, 255, 255, 0.15);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.app-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.05), transparent 50%),
        radial-gradient(circle at 70% 80%, rgba(255, 255, 255, 0.05), transparent 50%);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.app-card:hover::before {
    opacity: 1;
}

.app-card:hover {
    transform: translateY(-10px);
    box-shadow: 
        0 30px 60px rgba(0, 0, 0, 0.3),
        0 0 0 1px rgba(255, 255, 255, 0.2);
}

.app-card.coming-soon {
    opacity: 0.8;
    border: 2px dashed rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.05);
}

.app-card .app-icon {
    width: 80px;
    height: 80px;
    border-radius: 18px;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
    cursor: pointer;
    position: relative;
}

.app-card .app-icon::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 18px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.app-card .app-icon:hover::after {
    opacity: 1;
}

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

.app-card .app-icon.placeholder {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 2px dashed rgba(255, 255, 255, 0.3);
    cursor: default;
}

.placeholder-icon {
    font-size: 2.5rem;
    opacity: 0.6;
}

.app-card:hover .app-icon {
    transform: scale(1.1) rotate(5deg);
}

.app-info {
    position: relative;
    z-index: 1;
}

.app-name {
    font-size: 1.5rem;
    color: white;
    margin-bottom: 8px;
    font-weight: 600;
}

.app-category {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.app-description {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    margin-bottom: 20px;
    font-size: 1rem;
}

.app-features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 25px;
}

.feature-tag {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

.feature-tag.coming {
    background: rgba(255, 193, 7, 0.3);
    color: #ffc107;
}

.app-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.btn {
    padding: 12px 24px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.btn::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: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.6);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

/* 社交媒体区 */
.social-section {
    text-align: center;
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

.social-content {
    max-width: 800px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.2),
        0 0 0 1px rgba(255, 255, 255, 0.15);
}

.social-description {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.7;
    margin-bottom: 30px;
    font-size: 1.1rem;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.social-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    text-decoration: none;
    color: white;
    transition: all 0.3s ease;
    min-width: 100px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.social-link:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.social-link img {
    width: 32px;
    height: 32px;
    filter: brightness(0) invert(1);
    transition: filter 0.3s ease;
}

.social-link:hover img {
    filter: brightness(0) invert(1) drop-shadow(0 0 8px rgba(255, 255, 255, 0.8));
}

.social-link span {
    font-size: 0.9rem;
    font-weight: 500;
    text-align: center;
    white-space: nowrap;
}

/* 页面底部版权信息 - 已移至footer.css统一管理 */

/* 响应式设计 */
@media (max-width: 768px) {
    .container {
        padding: 40px 20px;
    }
    
    .brand-title {
        font-size: 2.5rem;
    }
    
    .brand-subtitle {
        font-size: 1.1rem;
    }
    
    .brand-description {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .apps-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .app-card {
        padding: 30px;
    }
    
    .social-content {
        padding: 30px;
    }
    
    .social-links {
        gap: 15px;
    }
    
    .social-link {
        min-width: 80px;
        padding: 15px;
    }
}

@media (max-width: 480px) {
    .hero-section {
        margin-bottom: 60px;
    }
    
    .brand-logo {
        width: 100px;
        height: 100px;
    }
    
    .brand-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .app-card {
        padding: 25px;
    }
    
    .app-card .app-icon {
        width: 60px;
        height: 60px;
    }
    
    .app-actions {
        flex-direction: column;
    }
    
    .btn {
        text-align: center;
    }
    
    .social-links {
        gap: 12px;
    }
    
    .social-link {
        min-width: 70px;
        padding: 12px;
    }
    
    .social-link img {
        width: 24px;
        height: 24px;
    }
    
    .social-link span {
        font-size: 0.8rem;
    }
}

/* 加载动画 */
.loading {
    opacity: 0;
    animation: fadeIn 1s ease-out forwards;
}

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