* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

body {
    background-color: #f5f5f5;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.hero {
    position: relative;
    flex: 1;
    background-image: url('../images/background.png');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    padding: 0 10%;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(8px);
}

.content {
    position: relative;
    z-index: 1;
    display: flex;
    width: 100%;
    margin: auto;
    align-items: center;
    color: white;
    padding: 80px 0;
    justify-content: center;
}

.phone-image {
    flex: 0 0 45%;
    max-width: 300px;
    margin-right: 50px;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

.phone-image img {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.3));
}

.text-content {
    flex: 0 0 45%;
   
    display: flex;
    flex-direction: column;  /* 改为垂直排列 */
    justify-content: center; /* 垂直居中 */
    align-items: center;     /* 水平居中 */
    text-align: center;      /* 文本居中 */
}

.app-icon {
    width: 126px;
    height: 126px;
    margin-bottom: 20px;

    display: flex;
    align-items: center;
    justify-content: center;
}

.app-icon img {
    width: 70%;
    height: 70%;
}

h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

p {
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 30px;
    max-width: 600px;
}

.download-buttons {
    display: flex;
    margin-top: 50px;
    gap: 20px;
}

.download-btn {
    display: flex;
    align-items: center;
    padding: 12px 25px;
    border-radius: 30px;
    color: white;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
}

.android-btn {
    background-color: #3DDC84;
}

.ios-btn {
    background-color: #007AFF;
}

.download-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.android-btn:hover {
    background-color: #2CAF6E;
}

.ios-btn:hover {
    background-color: #0066CC;
}

.download-btn img {
    width: 32px;
    height: 32px;
    margin-right: 10px;
    filter: brightness(0) invert(1);
}

footer {
    background-color: #1e88e5;
    color: white;
    text-align: center;
    padding: 30px 0;
}

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

.footer-links a {
    color: white;
    text-decoration: none;
    transition: opacity 0.3s;
}

.footer-links a:hover {
    opacity: 0.8;
    text-decoration: underline;
}

.copyright {
    font-size: 0.9rem;
    opacity: 0.8;
}

@media (max-width: 768px) {
    .content {
        flex-direction: column;
        text-align: center;
        padding: 40px 0;
    }
    
    .phone-image {
        margin-right: 0;
        margin-bottom: 30px;
        max-width: 200px;
    }
    
    .app-icon {
        margin-left: auto;
        margin-right: auto;
    }
    
    .download-buttons {
        justify-content: center;
    }
    
    p {
        max-width: 100%;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 10px;
    }
}