/* ./assets/css/home.css */

/* 针对首页特性的精美排版扩展样式 */
.hero { text-align: center; padding: 60px 0; }
.hero h1 {
    font-size: 56px; font-weight: 800; letter-spacing: -0.03em; line-height: 1.1;
    background: linear-gradient(180deg, #ffffff 60%, #888888 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.hero p { font-size: 20px; color: var(--text-muted); max-width: 640px; margin: 24px auto 40px auto; line-height: 1.5; }

.cta-group { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.btn {
    display: inline-flex; align-items: center; padding: 14px 28px; border-radius: 30px;
    font-size: 16px; font-weight: 600; text-decoration: none; transition: all 0.2s ease;
}
.btn-primary { background-color: var(--text-main); color: var(--bg-main); }
.btn-primary:hover { transform: translateY(-2px); opacity: 0.9; }

.app-preview { margin-top: 60px; text-align: center; }
.app-preview img {
    width: 100%; max-width: 960px; border-radius: 12px; border: 1px solid var(--border-color);
    box-shadow: 0 20px 50px rgba(255, 255, 255, 0.05);
}

.features { padding: 80px 0; }
.grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-top: 40px; }
.grid-wide { grid-column: span 2; }
.card {
    background: var(--bg-card); border: 1px solid var(--border-color); border-radius: 16px;
    padding: 40px; transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.card:hover { transform: translateY(-4px); border-color: #444444; box-shadow: 0 10px 30px rgba(255,255,255,0.02); }
.card h3 { font-size: 24px; font-weight: 700; margin-bottom: 12px; }
.card p { color: var(--text-muted); line-height: 1.6; font-size: 16px; }

.download-section { padding: 80px 0; background: linear-gradient(180deg, #000000, #0a0a0a); border-top: 1px solid var(--border-color); }
.download-box { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; text-align: center; padding: 40px 0; }
.download-channel { padding: 40px 30px; border-radius: 12px; background: rgba(255,255,255,0.01); border: 1px solid var(--border-color); }
.store-badge { height: 44px; margin-bottom: 20px; cursor: pointer; transition: opacity 0.2s; }
.store-badge:hover { opacity: 0.8; }
.direct-link { display: block; color: var(--text-muted); font-size: 14px; text-decoration: none; margin-top: 12px; }
.direct-link:hover { color: var(--text-main); text-decoration: underline; }

.changelog { padding: 80px 0; border-top: 1px solid var(--border-color); }
.log-item { display: flex; justify-content: space-between; margin-top: 24px; padding-bottom: 24px; border-bottom: 1px solid var(--border-color); }
.log-version { font-weight: 700; font-size: 18px; }
.log-details { color: var(--text-muted); width: 70%; line-height: 1.6; }
.log-details li { margin-bottom: 8px; list-style-type: none; }

@media (max-width: 768px) {
    .hero h1 { font-size: 40px; }
    .grid, .download-box { grid-template-columns: 1fr; }
    .grid-wide { grid-column: span 1; }
    .log-item { flex-direction: column; gap: 12px; }
    .log-details { width: 100%; }
}