/* 
 * Category页面CTA区块 - 风格2: 分栏布局
 * 独立CSS文件，确保不影响其他页面样式
 */

/* CTA区块容器 */
.category-cta-section {
    padding: 4rem 0;
    background: #f8fafc;
    margin: 4rem 0;
}

/* CTA容器 */
.category-cta-container {
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    max-width: 1200px;
    margin: 0 auto;
}

/* 分栏网格布局 */
.category-cta-grid {
    display: grid;
    grid-template-columns: 1fr 400px;
    min-height: 400px;
}

/* 左侧内容区域 */
.category-cta-content {
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* 标题样式 */
.category-cta-title {
    font-size: 2rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 1rem;
    line-height: 1.2;
}

/* 描述文字 */
.category-cta-description {
    font-size: 1.125rem;
    color: #6b7280;
    margin-bottom: 2rem;
    line-height: 1.6;
}

/* 特性列表 */
.category-cta-features {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem 0;
}

.category-cta-feature {
    display: flex;
    align-items: center;
    margin-bottom: 0.75rem;
    font-size: 1rem;
    color: #374151;
}

/* 特性图标 */
.category-cta-icon {
    width: 1.25rem;
    height: 1.25rem;
    color: #10b981;
    margin-right: 0.75rem;
    flex-shrink: 0;
}

/* CTA按钮 */
.category-cta-button {
    display: inline-block;
    background: #3b82f6;
    color: white;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1.125rem;
    text-decoration: none;
    transition: all 0.3s ease;
    align-self: flex-start;
    border: none;
    cursor: pointer;
}

.category-cta-button:hover {
    background: #2563eb;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
    color: white;
    text-decoration: none;
}

/* 右侧视觉区域 */
.category-cta-visual {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem;
}

.category-cta-visual-content {
    text-align: center;
    color: white;
}

/* 视觉区域表情符号 */
.category-cta-emoji {
    font-size: 4rem;
    margin-bottom: 1rem;
    display: block;
}

/* 视觉区域标题 */
.category-cta-visual-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: white;
}

/* 视觉区域副标题 */
.category-cta-visual-subtitle {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
}

/* 平板设备响应式 */
@media (max-width: 1024px) {
    .category-cta-grid {
        grid-template-columns: 1fr 300px;
    }
    
    .category-cta-content {
        padding: 2.5rem;
    }
    
    .category-cta-visual {
        padding: 2.5rem;
    }
    
    .category-cta-title {
        font-size: 1.75rem;
    }
}

/* 移动设备响应式 */
@media (max-width: 768px) {
    .category-cta-section {
        padding: 2rem 0;
        margin: 2rem 0;
    }
    
    .category-cta-grid {
        grid-template-columns: 1fr;
    }
    
    .category-cta-content {
        padding: 2rem;
        text-align: center;
    }
    
    .category-cta-visual {
        padding: 2rem;
        order: -1; /* 移动端将视觉区域移到顶部 */
    }
    
    .category-cta-title {
        font-size: 1.5rem;
    }
    
    .category-cta-description {
        font-size: 1rem;
    }
    
    .category-cta-button {
        width: 100%;
        text-align: center;
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
    }
    
    .category-cta-emoji {
        font-size: 3rem;
    }
    
    .category-cta-visual-title {
        font-size: 1.25rem;
    }
}

/* 小屏幕设备 */
@media (max-width: 480px) {
    .category-cta-content {
        padding: 1.5rem;
    }
    
    .category-cta-visual {
        padding: 1.5rem;
    }
    
    .category-cta-title {
        font-size: 1.375rem;
    }
    
    .category-cta-features {
        margin-bottom: 1.5rem;
    }
    
    .category-cta-feature {
        margin-bottom: 0.5rem;
        font-size: 0.9rem;
    }
}

/* 悬停动画效果 */
.category-cta-container {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.category-cta-container:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

/* 特性项悬停效果 */
.category-cta-feature {
    transition: transform 0.2s ease;
}

.category-cta-feature:hover {
    transform: translateX(4px);
}

/* 视觉区域动画 */
.category-cta-emoji {
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}
