* {
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background-color: #f4f7f9;
    color: #333;
}

header {
    background: #007BFF;
    color: white;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

header .logo {
    font-size: 1.8em;
    font-weight: bold;
}

header nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

header nav ul li {
    display: inline;
    margin-left: 20px;
}

header nav ul li a {
    color: white;
    text-decoration: none;
    transition: color 0.3s;
}

header nav ul li a:hover {
    color: #FFD700; /* 金色 */
}

.hero {
    background: linear-gradient(90deg, #4CAF50, #81C784); /* 健康主题渐变色 */
    color: white;
    padding: 100px 20px;
    text-align: center;
    /* box-shadow: 0 0 10px rgba(0, 0, 0, 0.5); */
    margin: 0; /* 去掉外边距 */
    max-width: 100%;
    width: 100vw; /* 宽度占满屏幕 */
    position: relative; /* 使其绝对定位 */
    top: 0; /* 确保紧贴顶部 */
    border-radius: 0;
}

.hero h1 {
    font-size: 2.5em;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.2em;
    margin-bottom: 30px;
}

.btn {
    background: #FF5722;
    color: white;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 5px;
    transition: background 0.3s;
    border: none;
    font-size: 1em;
}

.btn:hover {
    background: #e64a19; /* 深橙色 */
}

section {
    padding: 40px 20px;
    margin: 20px auto;
    max-width: 800px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    background: white;
}

h2 {
    color: #007BFF;
    border-bottom: 2px solid #007BFF;
    padding-bottom: 10px;
    margin-bottom: 20px;
    font-size: 1.8em;
}

ul {
    list-style: none;
    padding: 0;
}

ul li {
    margin-bottom: 15px;
    padding-left: 20px;
    position: relative;
    font-size: 1.1em;
}

ul li:before {
    content: '✔️';
    position: absolute;
    left: 0;
    color: #007BFF;
}

footer {
    text-align: center;
    padding: 20px 0;
    background: #333;
    color: white;
    position: relative;
    bottom: 0;
    width: 100%;
    margin-top: 40px;
}

footer p {
    margin: 5px 0;
}

/* 响应式设计 */
@media (max-width: 768px) {
    header {
        flex-direction: column;
        align-items: flex-start;
    }

    header nav ul {
        display: flex;
        flex-direction: column;
        margin-top: 10px;
    }

    header nav ul li {
        margin-left: 0;
        margin-bottom: 10px;
    }

    .hero h1 {
        font-size: 2em;
    }

    .hero p {
        font-size: 1em;
    }

    section {
        padding: 20px 10px;
    }

    h2 {
        font-size: 1.5em;
    }

    .btn {
        padding: 10px 20px;
        font-size: 0.9em;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.8em;
    }

    .hero p {
        font-size: 0.9em;
    }

    h2 {
        font-size: 1.3em;
    }

    .btn {
        padding: 8px 15px;
        font-size: 0.8em;
    }
}
