/* 首页样式 */

/* 渐变文字效果 */
.gradient-text {
    display: inline-block;
    background-image: linear-gradient(90deg, #ff3b30 0%, #ff3b30 30%, #b83bff 65%, #5677fc 100%);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    position: relative;
    z-index: 1;
}

/* 首页内容容器 */
.content-home {
    width: 100%;
    min-height: 100vh;
}

/* 首页顶部区域 */
.home-hero {
    position: relative;
    min-height: 520px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: #ffffff;
    padding: 60px 40px;
}

.home-hero-content {
    position: relative;
    z-index: 20;
    max-width: 1280px;
    width: 100%;
    margin: 0 auto;
    padding: 0 16px;
}

.home-hero-inner {
    max-width: 768px;
}

.home-hero-title {
    font-size: 3rem;
    font-weight: bold;
    color: #111827;
    margin-bottom: 24px;
    line-height: 1.3;
}

.home-hero p {
    font-size: 1.25rem;
    color: #374151;
    margin-bottom: 40px;
}

.home-hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.home-hero-btn {
    display: inline-block;
    padding: 16px 32px;
    font-size: 1.125rem;
    font-weight: 500;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s;
    text-align: center;
    border: 2px solid transparent;
}

.home-hero-btn-primary {
    background-color: #2c3e50;
    color: white;
    border-color: #2c3e50;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.home-hero-btn-primary:hover {
    background-color: #34495e;
}

.home-hero-btn-secondary {
    background-color: white;
    color: #2c3e50;
    border-color: #2c3e50;
}

.home-hero-btn-secondary:hover {
    background-color: #f5f5f5;
}

/* 功能卡片区域 */
.home-features {
    padding: 40px 40px 80px;
    background: #ffffff;
}

.home-features-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 16px;
}

.home-features-title {
    text-align: center;
    margin-bottom: 16px;
}

.home-features-title h2 {
    font-size: 2.25rem;
    font-weight: bold;
    color: #111827;
    margin-bottom: 16px;
}

.home-features-title p {
    font-size: 1.25rem;
    color: #4b5563;
    max-width: 768px;
    margin: 0 auto;
}

.home-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-top: 48px;
}

.home-feature-card {
    background: #f9fafb;
    border-radius: 12px;
    padding: 32px;
    transition: all 0.3s;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    display: block;
}

.home-feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 5px 12px rgba(0, 0, 0, 0.1);
    border-color: #e5e7eb;
}

.home-feature-card-label {
    display: inline-block;
    padding: 4px 12px;
    background: #111111;
    color: white;
    font-size: 0.75rem;
    border-radius: 6px;
    margin-bottom: 20px;
}

.home-feature-card-label.ai-creation {
    background: #111111;
}

.home-feature-card-label.ai-editing {
    background: #a67c52;
    border: 1px solid rgba(217, 191, 160, 0.4);
}

.home-feature-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #111111;
    margin-bottom: 12px;
    line-height: 1.3;
}

.home-feature-card p {
    font-size: 0.875rem;
    color: #666666;
    line-height: 1.5;
}

/* 不同功能卡片的背景色 */
.home-feature-card:nth-child(1) {
    background: linear-gradient(to bottom, #e6f9f4, #e0f5ed);
}

.home-feature-card:nth-child(2) {
    background: #E9F0F5;
}

.home-feature-card:nth-child(3) {
    background: #F5F0E9;
}

.home-feature-card:nth-child(4) {
    background: #deeaf5;
}

/* 底部CTA区域 */
.home-cta {
    background: #faf5ff;
    padding: 80px 0;
    text-align: center;
}

.home-cta-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 16px;
}

.home-cta h2 {
    font-size: 2.25rem;
    font-weight: bold;
    color: #111827;
    margin-bottom: 24px;
}

.home-cta p {
    font-size: 1.25rem;
    color: #4b5563;
    margin-bottom: 40px;
    max-width: 768px;
    margin-left: auto;
    margin-right: auto;
}

.home-cta-btn {
    display: inline-block;
    padding: 16px 32px;
    background-color: #2c3e50;
    color: white;
    font-size: 1.125rem;
    font-weight: 500;
    border-radius: 8px;
    text-decoration: none;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
}

.home-cta-btn:hover {
    background-color: #34495e;
}

/* 响应式设计 */
@media (min-width: 640px) {
    .home-hero-buttons {
        flex-direction: row;
    }
    
    .home-hero-title {
        font-size: 3.75rem;
    }
    
    .home-hero p {
        font-size: 1.5rem;
    }
}

@media (min-width: 1024px) {
    .home-hero-title {
        font-size: 3.75rem;
    }
    
    .home-features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1280px) {
    .home-features-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}
