/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Microsoft YaHei', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 落地页主容器 */
.landing-page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.main-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
    min-height: 100vh;
}

/* 图片区域样式 */
.hero-image-section {
    width: 100%;
    max-width: 500px;
    margin-bottom: 30px;
    text-align: center;
}

.hero-image {
    width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.hero-image:hover {
    transform: scale(1.02);
}

/* 占位图样式（当没有上传图片时） */
.hero-placeholder {
    width: 100%;
    min-height: 300px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
    padding: 40px 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.placeholder-content h1 {
    font-size: 2rem;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.placeholder-content p {
    font-size: 1.1rem;
    opacity: 0.9;
    line-height: 1.5;
}

/* 主题样式 */
.theme-blue .hero-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.theme-green .hero-section {
    background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
}

.theme-red .hero-section {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a24 100%);
}

.theme-purple .hero-section {
    background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
    color: #333;
}

.theme-orange .hero-section {
    background: linear-gradient(135deg, #ff9a9e 0%, #fecfef 100%);
    color: #333;
}

.theme-gold .hero-section {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.theme-dark .hero-section {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
}

.theme-pink .hero-section {
    background: linear-gradient(135deg, #ffecd2 0%, #fcb69f 100%);
    color: #333;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-description {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* CTA按钮样式 */
.cta-section {
    width: 100%;
    max-width: 500px;
    margin: 20px 0;
}

.cta-button {
    width: 100%;
    background: linear-gradient(135deg, #8B5CF6, #A855F7);
    color: white;
    border: none;
    padding: 18px 0;
    font-size: 1.3rem;
    font-weight: bold;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(139, 92, 246, 0.3);
    letter-spacing: 1px;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.4);
    background: linear-gradient(135deg, #A855F7, #8B5CF6);
}

.cta-button:active {
    transform: translateY(0);
}

.cta-button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

/* 声明区域样式 */
.disclaimer-section {
    width: 100%;
    max-width: 500px;
    margin-top: 20px;
    text-align: center;
}

.disclaimer-text {
    font-size: 0.9rem;
    color: #999;
    line-height: 1.4;
    padding: 0 20px;
}

/* 特性区域样式 */
.features-section {
    padding: 80px 0;
    background: white;
}

.features-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #2c3e50;
}

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

.feature-item {
    text-align: center;
    padding: 2rem;
    border-radius: 10px;
    background: #f8f9fa;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-item h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #2c3e50;
}

.feature-item p {
    color: #666;
    line-height: 1.6;
}

/* 推荐区域样式 */
.testimonials-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: white;
}

.testimonials-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

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

.testimonial-item {
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 10px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.testimonial-content p {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    font-style: italic;
}

.testimonial-author {
    text-align: right;
    font-weight: bold;
    opacity: 0.8;
}

/* 页脚样式 */
.footer {
    background: #2c3e50;
    color: white;
    text-align: center;
    padding: 2rem 0;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .main-content {
        padding: 15px;
        justify-content: flex-start;
        padding-top: 50px;
    }
    
    .hero-image-section {
        max-width: 100%;
        margin-bottom: 25px;
    }
    
    .hero-image {
        border-radius: 12px;
    }
    
    .hero-placeholder {
        min-height: 250px;
        padding: 30px 15px;
        border-radius: 12px;
    }
    
    .placeholder-content h1 {
        font-size: 1.6rem;
        margin-bottom: 12px;
    }
    
    .placeholder-content p {
        font-size: 1rem;
    }
    
    .cta-section {
        max-width: 100%;
        margin: 15px 0;
    }
    
    .cta-button {
        padding: 16px 0;
        font-size: 1.2rem;
        border-radius: 10px;
    }
    
    .disclaimer-section {
        max-width: 100%;
        margin-top: 15px;
    }
    
    .disclaimer-text {
        font-size: 0.85rem;
        padding: 0 15px;
    }
}

@media (max-width: 480px) {
    .main-content {
        padding: 10px;
        padding-top: 30px;
    }
    
    .hero-image-section {
        margin-bottom: 20px;
    }
    
    .hero-placeholder {
        min-height: 200px;
        padding: 20px 10px;
    }
    
    .placeholder-content h1 {
        font-size: 1.4rem;
        margin-bottom: 10px;
    }
    
    .placeholder-content p {
        font-size: 0.9rem;
    }
    
    .cta-button {
        padding: 14px 0;
        font-size: 1.1rem;
    }
    
    .disclaimer-text {
        font-size: 0.8rem;
        padding: 0 10px;
    }
}

/* 主题样式占位图 */
.theme-blue .hero-placeholder {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.theme-green .hero-placeholder {
    background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
}

.theme-red .hero-placeholder {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a24 100%);
}

.theme-purple .hero-placeholder {
    background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
    color: #333;
}

.theme-orange .hero-placeholder {
    background: linear-gradient(135deg, #ff9a9e 0%, #fecfef 100%);
    color: #333;
}

.theme-gold .hero-placeholder {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.theme-dark .hero-placeholder {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
}

.theme-pink .hero-placeholder {
    background: linear-gradient(135deg, #ffecd2 0%, #fcb69f 100%);
    color: #333;
}

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

.feature-item,
.testimonial-item {
    animation: fadeInUp 0.6s ease forwards;
}

.feature-item:nth-child(2) {
    animation-delay: 0.2s;
}

.feature-item:nth-child(3) {
    animation-delay: 0.4s;
}

/* 加载动画 */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255,255,255,.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}
