/* ============================================
   首页专属样式 - 赛博霓虹风格
   ============================================ */

/* 顶部状态栏 */
.top-bar {
    padding-top: 80px;
    background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
    border-bottom: 1px solid var(--border-subtle);
    position: relative;
}

.top-bar::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--neon-cyan), transparent);
    opacity: 0.3;
}

.top-bar-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-md);
    padding: var(--space-md) 0;
    font-size: 0.85rem;
    font-family: var(--font-display);
}

.brand-name {
    font-weight: 600;
    color: var(--neon-cyan);
    text-shadow: 0 0 10px var(--neon-cyan-glow);
    letter-spacing: 2px;
}

.divider {
    color: var(--text-muted);
}

.update-info {
    color: var(--text-secondary);
    letter-spacing: 1px;
}

.update-info span {
    color: var(--neon-green);
}

/* Hero 区域 */
.hero {
    padding: var(--space-4xl) 0;
    background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 50%, var(--bg-primary) 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Hero 背景装饰 */
.hero::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 800px;
    background: 
        radial-gradient(circle, rgba(0, 245, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle, rgba(255, 0, 255, 0.08) 30%, transparent 60%);
    pointer-events: none;
    animation: heroGlow 8s ease-in-out infinite;
}

@keyframes heroGlow {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.8; }
    50% { transform: translate(-50%, -50%) scale(1.1); opacity: 1; }
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.trust-badge-wrap {
    margin-bottom: var(--space-2xl);
}

.hero-title {
    font-family: var(--font-display);
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: var(--space-lg);
    color: var(--text-primary);
    letter-spacing: 2px;
}

.hero-title .gradient-text {
    display: block;
    margin-top: var(--space-sm);
}

.hero-subtitle {
    font-size: 1.35rem;
    color: var(--text-secondary);
    margin-bottom: var(--space-xl);
    letter-spacing: 1px;
}

/* 平台图标 */
.hero-platforms {
    display: flex;
    justify-content: center;
    gap: var(--space-xl);
    margin-bottom: var(--space-2xl);
}

.platform-icon {
    font-size: 2.5rem;
    opacity: 0.6;
    transition: all var(--transition-base);
    filter: grayscale(100%);
    cursor: pointer;
}

.platform-icon:hover {
    opacity: 1;
    filter: grayscale(0%);
    transform: translateY(-5px);
}

.platform-icon[data-platform="windows"]:hover {
    filter: drop-shadow(0 0 15px var(--neon-cyan));
}

.platform-icon[data-platform="macos"]:hover {
    filter: drop-shadow(0 0 15px var(--neon-pink));
}

.platform-icon[data-platform="android"]:hover {
    filter: drop-shadow(0 0 15px var(--neon-green));
}

.platform-icon[data-platform="ios"]:hover {
    filter: drop-shadow(0 0 15px var(--neon-purple));
}

/* CTA 按钮组 */
.hero-cta {
    margin-bottom: var(--space-2xl);
}

.hero-cta .btn {
    min-width: 260px;
    font-family: var(--font-display);
    letter-spacing: 1px;
}

/* 关键数据展示 */
.stats {
    background: var(--bg-primary);
    padding: var(--space-3xl) 0;
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
    position: relative;
}

.stats::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--neon-purple), transparent);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-xl);
}

.stat-item {
    text-align: center;
    padding: var(--space-lg);
    position: relative;
}

.stat-item::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 60%;
    background: linear-gradient(180deg, transparent, var(--border-neon), transparent);
}

.stat-item:last-child::after {
    display: none;
}

.stat-number {
    display: block;
    font-family: var(--font-display);
    font-size: 2.75rem;
    font-weight: 700;
    color: var(--neon-cyan);
    line-height: 1;
    margin-bottom: var(--space-sm);
    text-shadow: 0 0 20px var(--neon-cyan-glow);
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
    letter-spacing: 1px;
}

/* 功能特性区 */
.features {
    background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: var(--space-3xl);
}

.section-title {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--space-md);
    letter-spacing: 2px;
}

.section-desc {
    font-size: 1.1rem;
    color: var(--text-secondary);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: var(--space-lg);
}

.feature-card {
    background: var(--bg-glass);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    text-align: center;
    backdrop-filter: blur(10px);
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--neon-cyan), var(--neon-purple));
    opacity: 0;
    transition: opacity var(--transition-base);
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: var(--border-neon);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4), 0 0 30px var(--neon-cyan-glow);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-icon {
    width: 72px;
    height: 72px;
    background: linear-gradient(135deg, rgba(0, 245, 255, 0.1), rgba(184, 41, 221, 0.1));
    border: 1px solid var(--border-neon);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto var(--space-lg);
    box-shadow: 0 0 20px var(--neon-cyan-glow);
    transition: all var(--transition-base);
}

.feature-card:hover .feature-icon {
    transform: scale(1.1);
    box-shadow: 0 0 30px var(--neon-cyan-glow), 0 0 50px var(--neon-purple-glow);
}

.feature-title {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--space-sm);
    letter-spacing: 0.5px;
}

.feature-desc {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* CTA 转化区 */
.cta-section {
    padding: var(--space-4xl) 0;
    background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-tertiary) 50%, var(--bg-secondary) 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(ellipse at 30% 50%, rgba(0, 245, 255, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse at 70% 50%, rgba(255, 0, 255, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.cta-content {
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.cta-title {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--space-md);
    text-shadow: 0 0 30px var(--neon-cyan-glow);
    letter-spacing: 2px;
}

.cta-desc {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: var(--space-xl);
}

.cta-section .btn-primary {
    background: var(--text-primary);
    color: var(--bg-primary);
    box-shadow: 0 4px 30px rgba(255, 255, 255, 0.3);
}

.cta-section .btn-primary:hover {
    background: var(--neon-cyan);
    box-shadow: 0 8px 40px var(--neon-cyan-glow), 0 0 60px var(--neon-cyan-glow);
}

/* 流动线条装饰 */
.flow-lines {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    pointer-events: none;
}

.flow-line {
    position: absolute;
    width: 2px;
    height: 100%;
    background: linear-gradient(180deg, transparent, var(--neon-cyan), transparent);
    opacity: 0.3;
    animation: flowLine 3s linear infinite;
}

.flow-line:nth-child(1) { left: 20%; animation-delay: 0s; }
.flow-line:nth-child(2) { left: 40%; animation-delay: 1s; }
.flow-line:nth-child(3) { left: 60%; animation-delay: 2s; }
.flow-line:nth-child(4) { left: 80%; animation-delay: 0.5s; }

@keyframes flowLine {
    0% { transform: translateY(-100%); }
    100% { transform: translateY(100%); }
}

/* ============================================
   响应式设计
   ============================================ */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 2.75rem;
    }
    
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .stat-item::after {
        display: none;
    }
    
    .stat-item:nth-child(odd)::after {
        display: block;
    }
    
    .cta-title {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: var(--space-3xl) 0;
    }
    
    .hero-title {
        font-size: 2.25rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-platforms {
        gap: var(--space-lg);
    }
    
    .platform-icon {
        font-size: 2rem;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-md);
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .cta-title {
        font-size: 1.75rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.75rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-platforms {
        gap: var(--space-md);
    }
    
    .platform-icon {
        font-size: 1.5rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .cta-title {
        font-size: 1.5rem;
    }
    
    .hero-cta .btn {
        min-width: 200px;
    }
}

/* 友情链接区域 */
.footer-friends {
    padding: var(--space-3xl) 0 var(--space-2xl);
    text-align: center;
}

.footer-friends .footer-title {
    margin-bottom: var(--space-lg);
}

.footer-friends-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-sm) var(--space-xl);
}

.footer-friends-links a {
    position: relative;
    padding: 0;
    font-size: 0.9rem;
    color: var(--text-secondary);
    transition: color var(--transition-fast);
}

.footer-friends-links a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -3px;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--neon-cyan), var(--neon-purple));
    box-shadow: 0 0 8px var(--neon-cyan-glow);
    transition: width var(--transition-base);
}

.footer-friends-links a:hover {
    color: var(--neon-cyan);
    text-shadow: 0 0 10px var(--neon-cyan-glow);
}

.footer-friends-links a:hover::after {
    width: 100%;
}

@media (max-width: 768px) {
    .footer-friends-links {
        flex-direction: column;
        align-items: center;
        gap: var(--space-md);
    }
}
