body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background: linear-gradient(135deg, #fdf6f9 0%, #f8e8f0 50%, #f3d9e4 100%);
    color: #333;
    min-height: 100vh;
}

header {
    background: linear-gradient(135deg, #ffebf2 0%, #ffd6e8 50%, #ffc1de 100%);
    padding: 4rem 2rem;
    text-align: center;
    box-shadow: 0 4px 20px rgba(214, 51, 108, 0.1);
    position: relative;
    overflow: hidden;
    margin-bottom: 4rem;
}

header::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

h1 {
    font-family: 'Fredoka One', cursive;
    font-weight: 400;
    font-size: 3.5rem;
    color: #d6336c;
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

header p {
    font-size: 1.2rem;
    color: #555;
    margin-top: 0;
    margin-bottom: 1.5rem;
    text-align: center;
    line-height: 1.8;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.header-icon {
    width: 120px;
    height: 120px;
    margin-bottom: 0.4rem;
    border-radius: 20px;
}

main {
    padding: 0 1rem;
}

section {
    margin-bottom: 4rem;
    padding: 4rem 2rem;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(214, 51, 108, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

section:last-child {
    margin-bottom: 4rem;
}

ul {
    list-style-type: none;
    padding: 0;
    display: grid;
    gap: 1rem;
    max-width: 600px;
    margin: 0 auto;
}

li {
    background: linear-gradient(135deg, #f9f9f9 0%, #ffffff 100%);
    margin-bottom: 0;
    padding: 1.5rem;
    border-radius: 15px;
    border-left: 4px solid #d6336c;
    box-shadow: 0 4px 15px rgba(214, 51, 108, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

li::before {
    content: '✨';
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 1.2rem;
    opacity: 0.6;
}

li:hover {
    transform: translateX(5px);
    box-shadow: 0 6px 20px rgba(214, 51, 108, 0.15);
}

p {
    margin-bottom: 1.5rem;
    text-align: center;
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

section:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(214, 51, 108, 0.15);
}

h2, h3 {
    font-family: 'Fredoka One', cursive;
    font-weight: 400;
    color: #d6336c;
    text-align: center;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 1rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

h2 {
    font-size: 2.2rem;
}

h3 {
    font-size: 1.5rem;
}

h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 3px;
    background: linear-gradient(90deg, #d6336c, #ff6b9d);
    border-radius: 2px;
}

.promo-image {
    max-width: 100%;
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 1rem 0;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

/* Banner图片特殊样式 */
.introduction .promo-image {
    max-width: 900px;
    width: 90%;
}

/* 功能说明图片样式 */
.features .promo-image {
    max-width: 300px;
    width: 100%;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .introduction .promo-image {
        max-width: 100%;
        width: 95%;
    }
    
    .features .promo-image {
        max-width: 250px;
        width: 90%;
    }
}

@media (max-width: 480px) {
    .introduction .promo-image {
        width: 100%;
    }
    
    .features .promo-image {
        max-width: 200px;
        width: 85%;
    }
}

.features {
    max-width: 1200px;
    margin: 0 auto;
}

.features .feature {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    margin-bottom: 3rem;
    padding: 0 1rem;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.features .feature:nth-child(odd) {
    flex-direction: row-reverse;
}

.features .feature .promo-image {
    flex: 1;
    min-width: 0; /* Prevents image from overflowing its container */
}

.feature-text {
    flex: 1;
    min-width: 0; /* Prevents text from overflowing its container */
    max-width: 500px; /* Fixed maximum width for better readability */
}

.download {
    text-align: center;
}



footer {
    text-align: center;
    padding: 1rem;
    background-color: #ffebf2;
    color: #555;
}

/* 中等屏幕间距控制 */
@media (max-width: 1024px) {
    .features .feature {
        gap: 0.25rem;
        margin-bottom: 2.5rem;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }

    .features .feature {
        gap: 0.2rem;
        margin-bottom: 2rem;
        padding: 0 0.5rem;
    }

    .features .feature, .features .feature:nth-child(odd) {
        flex-direction: column;
    }
}

/* 小屏幕间距控制 */
@media (max-width: 480px) {
    .features .feature {
        gap: 0.15rem;
        margin-bottom: 1.5rem;
        padding: 0;
    }
}