/* 全局样式 */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
}

header {
    background: #333;
    color: #fff;
    padding: 1rem 0;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

nav .logo {
    font-size: 1.5rem;
    font-weight: bold;
    font-family: 'LiSu', '隶书', serif;
    color: #87CEEB; /* 淡蓝色 */
    text-shadow: 
        -1px -1px 0 white, /* 左上白色描边 */
        1px -1px 0 white,  /* 右上白色描边 */
        -1px 1px 0 white,  /* 左下白色描边 */
        1px 1px 0 white;   /* 右下白色描边 */
}
nav .nav-links {
    list-style: none;
    display: flex;
}

nav .nav-links li {
    margin-left: 20px;
}

nav .nav-links a {
    color: #fff;
    text-decoration: none;
    font-size: 1rem;
}

.hero {
    background: url('hero-bg.jpg') no-repeat center center/cover;
    color: #fff;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 10px;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.btn {
    background: #ff6f61;
    color: #fff;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    font-size: 1rem;
}

.portfolio {
    padding: 50px 20px;
    text-align: center;
}

.portfolio h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.gallery {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.gallery-item {
    margin: 10px;
    flex: 1 1 calc(25% - 20px);
    max-width: calc(25% - 20px);
}

.gallery-item img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

.about {
    padding: 50px 20px;
    text-align: center;
    background: #fff;
}

.about h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.about p {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
}

.contact {
    padding: 50px 20px;
    text-align: center;
    background: #f4f4f4;
}

.contact h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.contact form {
    max-width: 600px;
    margin: 0 auto;
    text-align: left;
}

.contact label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.contact input, .contact textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.contact button {
    background: #333;
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

footer {
    background: #333;
    color: #fff;
    text-align: center;
    padding: 20px 0;
}

/* APP下载页面样式 */
.app-download {
    padding: 50px 20px;
    text-align: center;
    background: #fff;
}

.app-download h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.app-download p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: #555;
}

.download-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
}

.download-buttons .btn {
    background: #ff6f61;
    color: #fff;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 5px;
    font-size: 1.1rem;
    transition: background 0.3s ease;
}

.download-buttons .btn:hover {
    background: #e65a50;
}

.qrcode {
    margin-top: 30px;
}

.qrcode img {
    width: 150px;
    height: 150px;
    margin-bottom: 10px;
}

.qrcode p {
    font-size: 1rem;
    color: #777;
}