/* 极简风格 - Foodii */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1a1a1a;
}

.container {
    max-width: 480px;
    margin: 0 auto;
    padding: 40px 20px;
    text-align: center;
}

main {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.app-icon {
    width: 120px;
    height: 120px;
    border-radius: 26px;
    box-shadow:
        0 8px 16px rgba(0, 0, 0, 0.06),
        0 2px 4px rgba(0, 0, 0, 0.04);
    transition: transform 0.3s ease;
    object-fit: cover;
    object-position: center;
    display: block;
}

.app-icon:hover {
    transform: scale(1.05);
}

h1 {
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin: 10px 0 0 0;
}

.tagline {
    font-size: 1.25rem;
    color: #666;
    font-weight: 500;
    margin: 0;
}

.description {
    font-size: 1rem;
    line-height: 1.6;
    color: #666;
    margin: 10px 0 30px 0;
    max-width: 360px;
}

.download-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    margin-top: 8px;
}

.download-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    background: #000;
    color: #fff;
    text-decoration: none;
    border-radius: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

.download-btn:hover {
    background: #333;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18);
}

.download-btn:active {
    transform: translateY(0);
}

.apple-logo {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
}

.download-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.1;
}

.download-label {
    font-size: 0.5625rem;
    font-weight: 400;
    opacity: 0.85;
    letter-spacing: 0.01em;
}

.download-store {
    font-size: 1.125rem;
    font-weight: 600;
    letter-spacing: -0.02em;
}

.qrcode-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.qrcode {
    width: 140px;
    height: 140px;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
    background: #fff;
    padding: 8px;
}

.qrcode-tip {
    font-size: 0.8125rem;
    color: #999;
    margin: 0;
    font-weight: 400;
}

/* 响应式 */
@media (max-width: 480px) {
    h1 {
        font-size: 2rem;
    }

    .tagline {
        font-size: 1.1rem;
    }

    .app-icon {
        width: 100px;
        height: 100px;
    }
}

@media (prefers-color-scheme: dark) {
    body {
        background: linear-gradient(180deg, #1a1a1a 0%, #0a0a0a 100%);
        color: #fff;
    }

    h1 {
        color: #fff;
    }

    .tagline,
    .description {
        color: #aaa;
    }

    .download-btn {
        background: #fff;
        color: #000;
    }

    .download-btn:hover {
        background: #e5e5e5;
    }

    footer {
        border-top-color: #333;
    }

    footer a {
        color: #aaa;
    }

    footer a:hover {
        color: #fff;
    }
}
