* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #FF6B6B;
    --secondary-color: #4ECDC4;
    --accent-color: #FFE66D;
    --dark-color: #2C3E50;
    --light-color: #F8F9FA;
    --text-color: #333;
    --success-color: #51CF66;
    --gradient-1: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-2: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --gradient-3: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--light-color);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background: var(--gradient-2);
    padding: 12px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.urgency-banner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: white;
    font-weight: bold;
    font-size: 14px;
    text-align: center;
}

.fire-icon {
    font-size: 18px;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

#countdown {
    background: rgba(255,255,255,0.2);
    padding: 4px 12px;
    border-radius: 20px;
    font-weight: 900;
    letter-spacing: 1px;
}

/* Hero Section */
.hero {
    background: var(--gradient-1);
    padding: 60px 20px;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.badge {
    display: inline-block;
    background: var(--accent-color);
    color: var(--dark-color);
    padding: 8px 20px;
    border-radius: 30px;
    font-weight: bold;
    font-size: 14px;
    margin-bottom: 20px;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    position: relative;
    z-index: 1;
}

.highlight {
    color: var(--accent-color);
    text-shadow: 2px 2px 8px rgba(0,0,0,0.5);
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 40px;
    opacity: 0.95;
    position: relative;
    z-index: 1;
}

.discount-box {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    margin: 40px 0;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);
    padding: 30px;
    border-radius: 20px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 1;
}

.discount-badge {
    background: var(--accent-color);
    color: var(--dark-color);
    width: 120px;
    height: 120px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    animation: scale 2s infinite;
}

@keyframes scale {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.discount-percent {
    font-size: 2.5rem;
    line-height: 1;
}

.discount-text {
    font-size: 1rem;
}

.discount-info {
    text-align: left;
}

.original-price {
    font-size: 1.2rem;
    text-decoration: line-through;
    opacity: 0.8;
    margin-bottom: 5px;
}

.new-price {
    font-size: 2rem;
    font-weight: 900;
    color: var(--accent-color);
}

/* CTA Button */
.cta-button {
    display: inline-block;
    background: var(--accent-color);
    color: var(--dark-color);
    padding: 20px 50px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 900;
    font-size: 1.3rem;
    margin: 30px 0;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
    text-align: center;
}

.cta-button:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 40px rgba(0,0,0,0.4);
}

.cta-button:active {
    transform: translateY(-2px) scale(1.02);
}

.button-text {
    display: block;
    margin-bottom: 5px;
}

.button-subtext {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    opacity: 0.8;
}

.cta-button-large {
    padding: 25px 60px;
    font-size: 1.5rem;
}

.cta-button-final {
    padding: 25px 60px;
    font-size: 1.6rem;
    background: var(--gradient-2);
    color: white;
}

/* Trust Indicators */
.trust-indicators {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 40px;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.2);
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: 600;
    backdrop-filter: blur(10px);
}

.trust-icon {
    background: var(--success-color);
    color: white;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 14px;
}

/* Products Section */
.products {
    padding: 80px 20px;
    background: var(--light-color);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.product-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    position: relative;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
}

.product-image {
    position: relative;
    width: 100%;
    padding-top: 100%; /* Square aspect ratio */
    overflow: hidden;
    background: var(--light-color);
}

.product-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease, opacity 0.5s ease;
    opacity: 0;
}

.product-image img.loaded {
    opacity: 1;
}

/* 图片加载占位符 */
.product-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
    z-index: 1;
    pointer-events: none;
}

.product-image:has(img.loaded)::before {
    display: none;
}

@keyframes loading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

.product-card:hover .product-image img {
    transform: scale(1.1);
}

.product-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--primary-color);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    z-index: 2;
}

.product-name {
    font-size: 1.3rem;
    font-weight: 700;
    margin: 20px 20px 10px;
    color: var(--dark-color);
}

.product-description {
    color: #666;
    margin: 0 20px 15px;
    line-height: 1.6;
    font-size: 0.95rem;
}

.product-price {
    padding: 15px 20px 20px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.price-old {
    color: #999;
    text-decoration: line-through;
    font-size: 1rem;
}

.price-new {
    color: var(--primary-color);
    font-size: 1.5rem;
    font-weight: 900;
}

.products-cta {
    text-align: center;
    margin-top: 40px;
}

/* Features Section */
.features {
    padding: 80px 20px;
    background: white;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: var(--dark-color);
    font-weight: 800;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-card {
    background: var(--light-color);
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
    border-color: var(--secondary-color);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--dark-color);
}

.feature-card p {
    color: #666;
    line-height: 1.8;
}

/* Social Proof */
.social-proof {
    padding: 80px 20px;
    background: var(--gradient-3);
    color: white;
}

.social-proof .section-title {
    color: white;
}

.testimonials {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 25px;
}

.testimonial-card {
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);
    padding: 25px;
    border-radius: 15px;
    text-align: left;
    transition: transform 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    background: rgba(255,255,255,0.2);
}

.testimonial-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.testimonial-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255,255,255,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.testimonial-info {
    flex: 1;
}

.stars {
    font-size: 1.2rem;
    margin-bottom: 5px;
    line-height: 1;
}

.testimonial-author-name {
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 3px;
    color: white;
}

.testimonial-location {
    font-size: 0.85rem;
    opacity: 0.8;
    color: white;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 12px;
    font-size: 1rem;
    line-height: 1.7;
    color: white;
}

.testimonial-date {
    font-size: 0.85rem;
    opacity: 0.7;
    color: white;
}

/* CTA Section */
.cta-section {
    padding: 80px 20px;
    background: white;
}

.cta-box {
    background: var(--gradient-1);
    padding: 60px 40px;
    border-radius: 20px;
    text-align: center;
    color: white;
    box-shadow: 0 20px 60px rgba(0,0,0,0.2);
}

.cta-title {
    font-size: 2.5rem;
    margin-bottom: 20px;
    font-weight: 900;
}

.cta-text {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.95;
}

.cta-note {
    margin-top: 20px;
    font-size: 1rem;
    opacity: 0.9;
}

/* FAQ Section */
.faq {
    padding: 80px 20px;
    background: var(--light-color);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    padding: 25px;
    margin-bottom: 20px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.faq-question {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--dark-color);
    font-weight: 700;
}

.faq-answer {
    color: #666;
    line-height: 1.8;
}

/* Final CTA */
.final-cta {
    padding: 80px 20px;
    background: var(--gradient-2);
    text-align: center;
    color: white;
}

.final-cta-title {
    font-size: 2.5rem;
    margin-bottom: 30px;
    font-weight: 900;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

/* Footer */
.footer {
    background: var(--dark-color);
    color: white;
    padding: 40px 20px;
    text-align: center;
}

.footer-note {
    margin-top: 15px;
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .discount-box {
        flex-direction: column;
        gap: 20px;
    }
    
    .discount-badge {
        width: 100px;
        height: 100px;
    }
    
    .discount-percent {
        font-size: 2rem;
    }
    
    .new-price {
        font-size: 1.5rem;
    }
    
    .cta-button {
        padding: 18px 40px;
        font-size: 1.1rem;
    }
    
    .trust-indicators {
        flex-direction: column;
        gap: 15px;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .cta-title,
    .final-cta-title {
        font-size: 2rem;
    }
    
    .urgency-banner {
        font-size: 12px;
        flex-wrap: wrap;
    }
    
    .products-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 20px;
    }
    
    .testimonials {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 40px 15px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .features,
    .social-proof,
    .cta-section,
    .faq,
    .final-cta {
        padding: 50px 15px;
    }
}
