body {
    margin: 0;
    font-family: 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;
    background: #f7f7f7;
    color: #222;
    min-height: 100vh;
    overflow-x: hidden;
}

@media (max-width: 600px) {
    .header {
        padding: 2vh 0 1vh 0;
        padding-left: 4vw;
        height: 10vh;
    }
    .logo {
        width: 8vh;
        height: 8vh;
        margin-right: 2vw;
    }
    .app-name {
        font-size: 4vh;
    }
    .hero {
        padding: 6vh 4vw 4vh 4vw;
        min-height: 70vh;
    }
    .slogan {
        font-size: 5vh;
        margin-bottom: 2vh;
    }
    .subtitle {
        font-size: 3vh;
        margin: 0 0 3vh 0;
    }
    .download-btn {
        font-size: 3vh;
        padding: 2vh 6vw;
    }
    .advantages {
        padding: 4vh 4vw 6vh 4vw;
    }
    .advantages h2 {
        font-size: 3.5vh;
        margin-bottom: 4vh;
    }
    .advantage-list {
        gap: 3vh;
        flex-direction: column;
        align-items: center;
    }
    .advantage-item {
        width: 90vw;
        max-width: 400px;
        padding: 3vh 4vw 2vh 4vw;
    }
    .advantage-icon {
        width: 10vh;
        height: 10vh;
        margin-bottom: 2vh;
    }
    .advantage-item h3 {
        font-size: 3vh;
    }
    .advantage-item p {
        font-size: 2.2vh;
    }
    .footer {
        padding: 2vh 0 1.5vh 0;
        font-size: 2vh;
    }
}

body::before, body::after {
    content: '';
    position: fixed;
    z-index: 0;
    pointer-events: none;
    opacity: 0.18;
    background-repeat: no-repeat;
    background-size: 180px 180px;
}
body::before {
    left: 0;
    bottom: 0;
    width: 180px;
    height: 180px;
    background-image: url('../img/cow-bg1.png');
}
body::after {
    right: 0;
    top: 0;
    width: 180px;
    height: 180px;
    background-image: url('../img/cow-bg2.png');
}
main, .header, .footer {
    position: relative;
    z-index: 1;
}
.header {
    background: #222;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    padding: 2vh 0 1vh 0;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    border-bottom: none;
    padding-left: 4vw;
    height: 8vh;
    min-height: 60px;
}
.logo-container {
    display: flex;
    align-items: center;
}
.logo {
    width: 6vh;
    height: 6vh;
    margin-right: 1.5vw;
    border-radius: 12px;
    background: #444;
    box-shadow: 0 2px 8px rgba(0,0,0,0.18);
    min-width: 40px;
    min-height: 40px;
}
.app-name {
    font-size: 3vh;
    font-weight: bold;
    color: #fff;
    letter-spacing: 2px;
    text-shadow: 1px 2px 0 #111;
    min-font-size: 18px;
}
.hero {
    text-align: center;
    background-image: url('../img/bg1.png');
    background-size: cover;
    background-position: center;
    border-radius: 0;
    box-shadow: none;
    padding: 8vh 4vw 6vh 4vw;
    margin: 0;
    position: relative;
    z-index: 1;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 60vh;
}
.slogan {
    font-size: 6vh;
    color: #111;
    margin-bottom: 3vh;
    font-weight: 700;
    text-shadow: 1px 2px 0 #fff;
    min-font-size: 32px;
}
.subtitle {
    color: #444;
    font-size: 2.5vh;
	font-weight: 550;
    margin: 0 0 4vh 0;
    text-align: center;
    letter-spacing: 1px;
    text-shadow: 1px 1px 0 #fff;
    min-font-size: 16px;
}
.download-btn {
    display: inline-block;
    background: linear-gradient(90deg, #111 60%, #444 100%);
    color: #fff;
    font-size: 2.5vh;
    font-weight: bold;
    padding: 2.5vh 8vw;
    border-radius: 50px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
    text-decoration: none;
    transition: background 0.2s, transform 0.2s;
    margin-top: 2vh;
    min-font-size: 18px;
    min-padding: 12px 40px;
}
.download-btn:hover {
    background: linear-gradient(90deg, #444 60%, #111 100%);
    transform: translateY(-2px) scale(1.04);
}
.advantages {
    /* background: #222; */
    border-radius: 0;
    padding: 6vh 4vw 8vh 4vw;
    margin-top: 0;
    box-shadow: 0 -2px 16px rgba(0,0,0,0.10);
    min-height: 40vh;
}
.advantages h2 {
    text-align: center;
    color: #222;
    font-size: 4vh;
    margin-bottom: 5vh;
    font-weight: 700;
    min-font-size: 24px;
}
.advantage-list {
    display: flex;
    justify-content: center;
    gap: 4vw;
    flex-wrap: wrap;
    max-width: 100%;
}
.advantage-item {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.07);
    padding: 4vh 3vw 3vh 3vw;
    width: 25vw;
    min-width: 280px;
    max-width: 350px;
    text-align: center;
    transition: box-shadow 0.2s, transform 0.2s;
    flex: 1;
}
.advantage-item:hover {
    box-shadow: 0 8px 32px rgba(0,0,0,0.13);
    transform: translateY(-4px) scale(1.03);
}
.advantage-icon {
    width: 8vh;
    height: 8vh;
    margin-bottom: 2vh;
    border-radius: 16px;
    background: #222;
    box-shadow: 0 2px 8px rgba(0,0,0,0.18);
    min-width: 50px;
    min-height: 50px;
}
.advantage-item h3 {
    color: #111;
    font-size: 2.5vh;
    margin-bottom: 1.5vh;
    min-font-size: 18px;
}
.advantage-item p {
    color: #444;
    font-size: 1.8vh;
    line-height: 1.6;
    min-font-size: 14px;
}
.footer {
    background: #222;
    color: #fff;
    text-align: center;
    padding: 3vh 0 2vh 0;
    font-size: 1.8vh;
    border-radius: 0;
    box-shadow: 0 -2px 8px rgba(0,0,0,0.08);
    margin-top: 0;
    min-font-size: 14px;
}
body .cute-decor {
    position: fixed;
    z-index: 0;
    pointer-events: none;
    opacity: 0.22;
}
.cute-star1 {
    left: 12vw;
    top: 8vh;
    width: 48px;
    height: 48px;
}
.cute-star2 {
    right: 18vw;
    bottom: 12vh;
    width: 36px;
    height: 36px;
}
.cute-heart1 {
    left: 22vw;
    bottom: 18vh;
    width: 40px;
    height: 40px;
}
.cute-heart2 {
    right: 8vw;
    top: 22vh;
    width: 32px;
    height: 32px;
}
main {
    margin-top: 0;
    min-height: 92vh;
    display: flex;
    flex-direction: column;
}
section {
    margin: 0;
}

/* 平板适配 */
@media (min-width: 601px) and (max-width: 900px) {
    .hero {
        padding: 7vh 4vw 5vh 4vw;
    }
    .slogan {
        font-size: 5.5vh;
    }
    .subtitle {
        font-size: 2.8vh;
    }
    .download-btn {
        font-size: 2.8vh;
        padding: 2.2vh 7vw;
    }
    .advantage-list {
        gap: 3vw;
    }
    .advantage-item {
        width: 40vw;
        min-width: 300px;
        max-width: 400px;
        padding: 3.5vh 2.5vw 2.5vh 2.5vw;
    }
}

/* 大屏幕适配 */
@media (min-width: 901px) {
    .hero {
        padding: 10vh 4vw 8vh 4vw;
		background-image: url(../img/bg.png);
    }
    .advantage-list {
        gap: 5vw;
        max-width: 1400px;
        margin: 0 auto;
    }
    .advantage-item {
        width: 20vw;
        min-width: 320px;
        max-width: 400px;
    }
}

/* 超小屏幕适配 */
@media (max-width: 400px) {
    .header {
        height: 12vh;
        padding: 1.5vh 0 0.5vh 0;
        padding-left: 3vw;
    }
    .logo {
        width: 10vh;
        height: 10vh;
        margin-right: 2vw;
    }
    .app-name {
        font-size: 5vh;
    }
    .hero {
        padding: 4vh 3vw 3vh 3vw;
        min-height: 80vh;
    }
    .slogan {
        font-size: 4vh;
        margin-bottom: 1.5vh;
    }
    .subtitle {
        font-size: 2.5vh;
        margin: 0 0 2vh 0;
    }
    .download-btn {
        font-size: 2.5vh;
        padding: 1.5vh 5vw;
    }
    .advantages {
        padding: 3vh 3vw 4vh 3vw;
    }
    .advantages h2 {
        font-size: 3vh;
        margin-bottom: 3vh;
    }
    .advantage-item {
        width: 95vw;
        padding: 2.5vh 3vw 2vh 3vw;
    }
    .advantage-icon {
        width: 12vh;
        height: 12vh;
    }
    .advantage-item h3 {
        font-size: 2.5vh;
    }
    .advantage-item p {
        font-size: 2vh;
    }
    .footer {
        padding: 1.5vh 0 1vh 0;
        font-size: 1.8vh;
    }
} 