* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Roboto', sans-serif;
}

html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}

body {
    background-color: #f9f9f9; /* 更柔和的背景色 */
    color: #333; /* 深灰色文本 */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    line-height: 1.6;
}

/* Fade-in animation for container */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.container {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    width: 100vw; /* Use full viewport width */
    max-width: 100%; /* Ensure no overflow */
    margin: 0;
    padding: 0;
    animation: fadeIn 1s ease-in;
}

/* Header Section */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background: #ffffff;
    border-bottom: 2px solid #004d40; /* 深绿色边框 */
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo {
    height: 50px;
}

.nav {
    list-style: none;
    display: flex;
}

.nav li {
    margin-left: 20px; /* 减少间距 */
}

.nav a {
    color: #004d40; /* 深绿色文本 */
    text-decoration: none;
    font-weight: 500;
    font-size: 1.1rem;
    transition: color 0.3s, text-shadow 0.3s;
}

.nav a:hover {
    color: #00251a; /* 更深的绿色 */
    text-shadow: 0px 0px 5px rgba(0, 77, 64, 0.5);
}

/* Main Content Section */
.main {
    flex: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 60px 0;
    width: 100%;
}

/* Centered Content */
.content {
    max-width: 600px;
    text-align: center; /* Center text in content */
    animation: contentLoad 1s ease-out;
}

@keyframes contentLoad {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.title {
    font-size: 3rem;
    margin-bottom: 25px;
    color: #004d40; /* 深绿色标题 */
    text-shadow: 2px 2px 5px rgba(0, 77, 64, 0.3);
}

.description {
    font-size: 1.2rem;
    margin-bottom: 30px;
    line-height: 1.8;
    color: #666; /* 中灰色文本 */
}

/* Download Button */
.download-btn {
    display: inline-block;
    background: linear-gradient(135deg, #004d40 0%, #00332a 100%);
    border: none; /* 去掉边框 */
    color: #ffffff;
    padding: 12px 35px;
    font-size: 1.2rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: bold;
    box-shadow: 0px 5px 15px rgba(0, 77, 64, 0.3);
    transition: background 0.3s, transform 0.3s, box-shadow 0.3s;
}

.download-btn:hover {
    background: linear-gradient(135deg, #00332a 0%, #004d40 100%);
    transform: scale(1.05);
    box-shadow: 0px 6px 20px rgba(0, 77, 64, 0.5); /* 增加阴影效果 */
}

/* Screenshot Section */
.screenshot img {
    max-width: 100%;
    border-radius: 15px;
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s, opacity 0.3s;
}

.screenshot img:hover {
    transform: scale(1.05);
    box-shadow: 0px 8px 20px rgba(0, 0, 0, 0.2);
    opacity: 0.9; /* 添加轻微透明度变化 */
}

/* Footer Section */
.footer {
    text-align: center;
    padding: 30px;
    font-size: 0.9rem;
    background: #ffffff;
    border-top: 2px solid #004d40; /* 深绿色边框 */
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-links {
    list-style: none;
    display: flex;
    gap: 20px;
    padding: 0;
}

.footer-links a {
    color: #004d40; /* 深绿色文本 */
    text-decoration: none;
    transition: color 0.3s, text-shadow 0.3s;
}

.footer-links a:hover {
    color: #00251a; /* 更深的绿色 */
    text-shadow: 0px 0px 5px rgba(0, 77, 64, 0.5);
}

/* Additional Styles */
.button-outline {
    display: inline-block;
    background-color: transparent;
    border: 2px solid #004d40; /* 深绿色边框 */
    color: #004d40; /* 深绿色文本 */
    padding: 12px 35px;
    font-size: 1.2rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s, background-color 0.3s, transform 0.3s, box-shadow 0.3s;
}

.button-outline:hover {
    background-color: #004d40;
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0px 4px 12px rgba(0, 77, 64, 0.3); /* 添加阴影效果 */
}

.card {
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    padding: 20px;
    transition: box-shadow 0.3s, transform 0.3s, background-color 0.3s;
}

.card:hover {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
    transform: translateY(-5px);
    background-color: #f0f0f0; /* 改变背景色 */
}

.border-effect {
    border: 2px solid #004d40;
    border-radius: 10px;
    padding: 15px;
    box-shadow: 0px 4px 10px rgba(0, 77, 64, 0.1);
}
