/* --- 全局与基础样式 --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans SC', 'Helvetica Neue', Arial, sans-serif;
    background-color: #f8f9fa; /* 柔和的浅灰色背景，比纯白更护眼 */
    color: #343a40; /* 深灰色文字，对比度高且不刺眼 */
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    text-align: center;
    line-height: 1.7;
}

.page-container {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 100vh;
    width: 100%;
    padding: 2rem;
}

a {
    color: #16a34a; /* 链接颜色与绿色主题保持一致 */
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #22c55e;
}


/* --- 头部样式 --- */
header {
    margin-bottom: 2rem;
}

header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #212529; /* 更深的黑色标题，突出重点 */
}

.tagline {
    font-size: 1.2rem;
    color: #6c757d; /* 较浅的灰色，作为副标题 */
}


/* --- 主要内容区域 (按钮) --- */
main {
    flex-grow: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.cta-button {
    display: inline-block;
    background: linear-gradient(45deg, #16a34a, #22c55e); /* 充满活力的绿色渐变 */
    color: #ffffff;
    font-size: 1.2rem;
    font-weight: bold;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 20px rgba(22, 163, 74, 0.3); /* 匹配按钮颜色的柔和阴影 */
    border: none;
}

.cta-button:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 8px 30px rgba(34, 197, 94, 0.4);
}


/* --- 页脚样式 --- */
footer {
    width: 100%;
    padding-top: 2rem;
    border-top: 1px solid #dee2e6; /* 更浅的分割线 */
}

.footer-line {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap; /* 在小屏幕上，条目可以自动换行，防止溢出 */
    gap: 0.5rem 2rem; /* 设置行间距和列间距 */
    margin-bottom: 0.8rem;
    color: #6c757d;
    font-size: 0.9rem;
}

.footer-line:last-child {
    margin-bottom: 0;
}

.legal-info {
    font-size: 0.8rem;
    color: #adb5bd; /* 版权和备案信息使用更浅的颜色 */
}

.legal-info a {
    color: inherit; /* 链接颜色继承父元素，保持低调 */
}


/* --- 响应式设计：适配移动设备 --- */
@media (max-width: 768px) {
    .page-container {
        padding: 1.5rem;
    }

    header h1 {
        font-size: 2rem;
    }

    .tagline {
        font-size: 1rem;
    }

    .cta-button {
        font-size: 1rem;
        padding: 0.8rem 2rem;
    }

    .footer-line {
        gap: 0.5rem 1rem; /* 移动端减小间距 */
        font-size: 0.85rem;
    }
}
