/* 逆袭谷 - 官网样式 */

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

:root {
    --primary: #5B7FFF;
    --primary-dark: #4A6AE6;
    --bg: #1A1D28;
    --bg-secondary: #252836;
    --bg-card: #2E3144;
    --text: #E8E8F0;
    --text-muted: #8B8D9E;
    --accent: #FFD700;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
                 "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
}

.container {
    max-width: 960px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Hero */
.hero {
    text-align: center;
    padding: 80px 0 60px;
    background: linear-gradient(180deg, #1E2340 0%, var(--bg) 100%);
}

.app-icon {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    margin-bottom: 24px;
    background: var(--bg-card);
}

.hero h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 8px;
    background: linear-gradient(135deg, var(--primary), #A78BFA);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.tagline {
    font-size: 22px;
    color: var(--text);
    margin-bottom: 8px;
    font-weight: 500;
}

.subtitle {
    font-size: 16px;
    color: var(--text-muted);
    margin-bottom: 32px;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 32px;
}

.btn {
    display: inline-block;
    padding: 12px 32px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
}

.btn-primary {
    background: var(--primary);
    color: #fff;
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
}

.btn-secondary {
    background: var(--bg-card);
    color: var(--text);
    border: 1px solid rgba(255,255,255,0.1);
}

.btn-secondary:hover {
    background: #3A3E54;
    transform: translateY(-1px);
}

.btn-large {
    padding: 16px 48px;
    font-size: 18px;
}

.qr-codes {
    display: flex;
    gap: 40px;
    justify-content: center;
}

.qr-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.qr-placeholder {
    width: 120px;
    height: 120px;
    background: var(--bg-card);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 12px;
    border: 1px solid rgba(255,255,255,0.05);
}

.qr-item span {
    font-size: 13px;
    color: var(--text-muted);
}

/* Features */
.features {
    padding: 80px 0;
}

.features h2 {
    text-align: center;
    font-size: 32px;
    margin-bottom: 48px;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.feature-card {
    background: var(--bg-card);
    border-radius: 16px;
    padding: 32px;
    border: 1px solid rgba(255,255,255,0.05);
    transition: transform 0.2s, border-color 0.2s;
}

.feature-card:hover {
    transform: translateY(-2px);
    border-color: rgba(255,255,255,0.15);
}

.feature-icon {
    font-size: 36px;
    margin-bottom: 16px;
}

.feature-card h3 {
    font-size: 18px;
    margin-bottom: 8px;
    color: var(--text);
}

.feature-card p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.7;
}

/* Screenshots */
.screenshots {
    padding: 0 0 80px;
}

.screenshots h2 {
    text-align: center;
    font-size: 32px;
    margin-bottom: 8px;
}

.section-desc {
    text-align: center;
    color: var(--text-muted);
    margin-bottom: 32px;
}

.screenshot-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.screenshot-placeholder {
    aspect-ratio: 9 / 16;
    background: var(--bg-card);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    border: 1px solid rgba(255,255,255,0.05);
}

/* Download */
.download {
    padding: 80px 0;
    text-align: center;
    background: linear-gradient(0deg, #1E2340 0%, var(--bg) 100%);
}

.download h2 {
    font-size: 32px;
    margin-bottom: 8px;
}

.download p {
    color: var(--text-muted);
    margin-bottom: 32px;
}

.note {
    margin-top: 16px;
    font-size: 13px;
}

/* Footer */
footer {
    padding: 48px 0 32px;
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-links {
    display: flex;
    gap: 24px;
    justify-content: center;
    margin-bottom: 16px;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 14px;
}

.footer-links a:hover {
    color: var(--text);
}

.copyright {
    color: var(--text-muted);
    font-size: 13px;
    margin-bottom: 4px;
}

.icp {
    color: var(--text-muted);
    font-size: 12px;
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 { font-size: 36px; }
    .feature-grid { grid-template-columns: 1fr; }
    .screenshot-grid { grid-template-columns: repeat(3, 1fr); gap: 12px; }
    .qr-codes { flex-direction: column; align-items: center; gap: 16px; }
}
