/* 全局样式 */
:root {
    --primary-color: #f8b0c2; /* 浅粉色 */
    --secondary-color: #e6c9a8; /* 香槟金 */
    --accent-color: #d64161; /* 深粉色 */
    --text-color: #333333;
    --light-text: #666666;
    --background-color: #ffffff;
    --card-background: #fff9fa;
    --shadow-color: rgba(248, 176, 194, 0.2);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans SC', sans-serif;
    color: var(--text-color);
    background-color: var(--background-color);
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
}

.section-title {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 1.8rem;
    font-weight: 500;
    color: var(--text-color);
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    margin: 0.5rem auto 0;
    border-radius: 2px;
}

section {
    padding: 4rem 2rem;
}

/* 顶部Banner区域 */
.banner {
    background: linear-gradient(135deg, #fff9fa 0%, #fef2e6 100%);
    padding: 2rem 2rem;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 70vh;
    box-shadow: inset 0 0 50px rgba(248, 176, 194, 0.1);
}

.banner-content {
    max-width: 50%;
    z-index: 2;
}

.banner h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--accent-color);
}

.banner h2 {
    font-size: 1.2rem;
    font-weight: 400;
    margin-bottom: 2rem;
    color: var(--light-text);
}

.banner-image {
    position: relative;
    width: 45%;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s ease;
}

.banner-image img {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
    opacity: 0.9;
    mix-blend-mode: multiply;
}


.primary-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(to right, var(--primary-color), var(--accent-color));
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 30px;
    font-weight: 500;
    cursor: pointer;
    box-shadow: 0 4px 15px var(--shadow-color);
    transition: all 0.3s ease;
}

.primary-btn i {
    margin-left: 0.5rem;
    transition: transform 0.3s ease;
}

.primary-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(214, 65, 97, 0.3);
}

.primary-btn:hover i {
    transform: translateX(5px);
}

.floating-notice {
    position: absolute;
    top: 20px;
    right: 20px;
    background-color: var(--accent-color);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    z-index: 10;
    box-shadow: 0 2px 10px rgba(214, 65, 97, 0.2);
}

.floating-notice i {
    margin-right: 0.5rem;
}


/* 功能亮点展示区 */
.features {
    background-color: var(--background-color);
}

.feature-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.feature-card {
    background-color: var(--card-background);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 5px 15px var(--shadow-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px var(--shadow-color);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.feature-icon i {
    font-size: 1.8rem;
    color: white;
}

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--accent-color);
}

.feature-card p {
    color: var(--light-text);
    font-size: 0.95rem;
}

/* 商品瀑布流展示 */
.products {
    background-color: #fafafa;
}

.product-categories {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.category-btn {
    background: none;
    border: none;
    padding: 0.5rem 1.5rem;
    margin: 0 0.5rem 1rem;
    font-size: 1rem;
    cursor: pointer;
    border-radius: 20px;
    transition: all 0.3s ease;
    color: var(--light-text);
}

.category-btn.active, .category-btn:hover {
    background-color: var(--primary-color);
    color: white;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.product-card {
    background-color: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.product-tag {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: var(--accent-color);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
    z-index: 1;
}

.product-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.product-card h3 {
    padding: 1rem 1rem 0.5rem;
    font-size: 1.1rem;
    font-weight: 500;
}

.product-price {
    padding: 0 1rem;
    font-weight: 700;
    color: var(--accent-color);
    font-size: 1.2rem;
}

.product-rating {
    padding: 0.5rem 1rem 1rem;
    display: flex;
    align-items: center;
    color: #ffc107;
}

.product-rating span {
    color: var(--light-text);
    margin-left: 0.5rem;
    font-size: 0.9rem;
}

.view-more-btn {
    display: block;
    margin: 0 auto;
    background: none;
    border: 2px solid var(--primary-color);
    color: var(--accent-color);
    padding: 0.8rem 2rem;
    border-radius: 30px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.view-more-btn:hover {
    background-color: var(--primary-color);
    color: white;
}

/* 用户评价与信任背书 */
.testimonials {
    background-color: var(--background-color);
}

.testimonial-slider {
    max-width: 900px;
    margin: 0 auto;
    overflow: hidden;
}

.testimonial-card {
    background-color: var(--card-background);
    border-radius: 15px;
    padding: 2rem;
    margin: 1rem;
    box-shadow: 0 5px 15px var(--shadow-color);
    display: flex;
    flex-wrap: wrap;
}

.margin-bottom-2rem {
    margin-bottom: 2rem;
}

.margin-bottom-1rem {
    margin-bottom: 1rem;
}

.user-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 1.5rem;
}

.user-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-content {
    flex: 1;
    min-width: 200px;
}

.user-rating {
    color: #ffc107;
    margin-bottom: 0.5rem;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 1rem;
}

.user-name {
    font-weight: 500;
    color: var(--accent-color);
}

.testimonial-image {
    width: 120px;
    height: 120px;
    border-radius: 10px;
    overflow: hidden;
    margin-left: auto;
}

.testimonial-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slider-dots {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
}

.dot {
    width: 10px;
    height: 10px;
    background-color: #ddd;
    border-radius: 50%;
    margin: 0 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.dot.active {
    background-color: var(--primary-color);
}

/* 品牌合作与信任背书 */
.trust-badges {
    background-color: #fafafa;
    text-align: center;
}

.brand-logos, .logistics-logos {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.brand-logo, .logistics-logo {
    width: 120px;
    height: 80px;
    margin: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.brand-logo:hover, .logistics-logo:hover {
    filter: grayscale(0%);
    opacity: 1;
}

.security-badges {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.security-badge {
    display: flex;
    align-items: center;
    margin: 1rem 2rem;
    color: var(--light-text);
}

.security-badge i {
    font-size: 1.5rem;
    margin-right: 0.5rem;
    color: var(--accent-color);
}

/* 时尚灵感板块 */
.fashion-inspiration {
    background-color: var(--background-color);
}

.inspiration-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.inspiration-card {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

/* .inspiration-card:hover {
    transform: translateY(-10px);
} */

.inspiration-card img {
    width: 120px;
    height: 120px;
    /* object-fit: cover; */
}

.inspiration-card h3 {
    padding: 1rem 1.5rem 0.5rem;
    font-size: 1.2rem;
    color: var(--accent-color);
}

.inspiration-card p {
    padding: 0 1.5rem 1.5rem;
    color: var(--light-text);
}

/* 下载引导区 */
.download-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    text-align: center;
    padding: 4rem 2rem;
}

.download-content {
    max-width: 800px;
    margin: 0 auto;
}

.download-section h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.download-section p {
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.download-options {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.download-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin: 40px 0;
}

/* 下载按钮基础样式 */
.download-btn {
    padding: 15px 30px;
    border-radius: 15px;
    text-decoration: none;
    color: var(--text-light);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s ease;
    border: none;
}

/* iOS按钮样式 */
.ios {
    background: #000000;  /* Apple的黑色 */
}

.ios:hover {
    background: #1a1a1a;  /* 略微亮一点的黑色 */
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Android按钮样式 */
.android {
    background: #01875f;  /* Google Play的绿色 */
}

.android:hover {
    background: #0ba678;  /* 略微亮一点的绿色 */
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(1, 135, 95, 0.1);
}

/* 移除通用的hover效果 */
.download-btn:hover {
    color: var(--text-light);
}

.download-section .primary-btn {
    background: white;
    color: var(--accent-color);
    margin-bottom: 2rem;
}

.app-stores {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
}

.app-store {
    margin: 0 1rem;
    transition: transform 0.3s ease;
}

.app-store:hover {
    transform: scale(1.05);
}

.app-store img {
    height: 40px;
}

.qr-code {
    background-color: white;
    padding: 1rem;
    border-radius: 10px;
    display: inline-block;
}

.qr-code img {
    width: 120px;
    height: 120px;
}

.qr-code p {
    color: var(--text-color);
    margin: 0.5rem 0 0;
    font-size: 0.9rem;
}

/* 页脚 */
.footer {
    background-color: #333;
    color: #fff;
    padding: 4rem 2rem 2rem;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-logo {
    margin-bottom: 2rem;
    flex: 1 1 300px;
}

.footer-logo img {
    height: 40px;
    margin-bottom: 1rem;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    flex: 2 1 600px;
}

.footer-column {
    flex: 1 1 200px;
    margin-bottom: 2rem;
}

.footer-column h3 {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    position: relative;
}

.footer-column h3::after {
    content: '';
    display: block;
    width: 30px;
    height: 2px;
    background-color: var(--primary-color);
    margin-top: 0.5rem;
}

.footer-column ul {
    list-style: none;
}

.footer-column li {
    margin-bottom: 0.8rem;
}

.footer-column a {
    color: #ccc;
    transition: color 0.3s ease;
}

.footer-column a:hover {
    color: var(--primary-color);
}

.social-icons {
    display: flex;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    margin-right: 1rem;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
}

.social-icons i {
    font-size: 1.2rem;
}

.copyright {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 2rem;
    font-size: 0.9rem;
    color: #999;
}

/* 响应式设计 */
@media (max-width: 992px) {
    .banner {
        flex-direction: column;
        text-align: center;
        padding: 2rem 1rem;
    }
    
    .banner-content {
        max-width: 100%;
        margin-bottom: 2rem;
    }
    
    .banner-image {
        width: 80%;
    }
    
    .floating-notice {
        position: relative;
        top: 0;
        right: 0;
        margin: 0 auto 2rem;
        width: fit-content;
    }
    
    .testimonial-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .user-avatar {
        margin-right: 0;
        margin-bottom: 1rem;
    }
    
    .testimonial-image {
        margin: 1rem auto 0;
    }
}

@media (max-width: 768px) {
    .banner h1 {
        font-size: 2rem;
    }
    
    .banner h2 {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .feature-cards {
        grid-template-columns: 1fr;
    }
    
    .product-grid {
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    }
    
    .inspiration-cards {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        flex-direction: column;
    }
    
    .footer-links {
        flex-direction: column;
    }
}

/* 动画效果 */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.feature-card, .product-card, .testimonial-card, .inspiration-card {
    animation: fadeIn 0.8s ease-out forwards;
}

.feature-card:nth-child(2) { animation-delay: 0.2s; }
.feature-card:nth-child(3) { animation-delay: 0.4s; }
.feature-card:nth-child(4) { animation-delay: 0.6s; }

.product-card:nth-child(2) { animation-delay: 0.1s; }
.product-card:nth-child(3) { animation-delay: 0.2s; }
.product-card:nth-child(4) { animation-delay: 0.3s; }
.product-card:nth-child(5) { animation-delay: 0.4s; }
.product-card:nth-child(6) { animation-delay: 0.5s; }