/* ==== Gensbox 3D Print - 首页视觉优化 (橘红+白色配色 v2) ==== */

.hero {
    background: linear-gradient(135deg, #ff6b35 0%, #e85d2c 40%, #c0392b 100%) !important;
    position: relative !important;
    overflow: hidden !important;
    min-height: 500px !important;
    display: flex !important;
    align-items: center !important;
}
.hero::before {
    content: "" !important;
    position: absolute !important;
    top: -50% !important;
    right: -20% !important;
    width: 600px !important;
    height: 600px !important;
    background: radial-gradient(circle, rgba(255,255,255,0.12) 0%, transparent 70%) !important;
    pointer-events: none !important;
}
.hero::after {
    content: "" !important;
    position: absolute !important;
    bottom: -30% !important;
    left: -10% !important;
    width: 400px !important;
    height: 400px !important;
    background: radial-gradient(circle, rgba(255,200,150,0.1) 0%, transparent 70%) !important;
    pointer-events: none !important;
}
.hero-content {
    padding: 60px 0 !important;
    position: relative !important;
    z-index: 2 !important;
}
.hero-title {
    font-size: 42px !important;
    font-weight: 700 !important;
    color: #fff !important;
    line-height: 1.2 !important;
    margin-bottom: 20px !important;
}
.hero-description {
    font-size: 18px !important;
    color: rgba(255,255,255,0.85) !important;
    line-height: 1.6 !important;
    margin-bottom: 30px !important;
    max-width: 520px !important;
}
.hero-actions .el-button--primary {
    background: #fff !important;
    color: #e85d2c !important;
    border: none !important;
    font-weight: 600 !important;
    letter-spacing: 0.5px !important;
}
.hero-actions .el-button--primary:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 25px rgba(0,0,0,0.2) !important;
}
.hero-actions .el-button--default {
    border-color: rgba(255,255,255,0.5) !important;
    color: #fff !important;
    font-weight: 500 !important;
}
.hero-actions .el-button--default:hover {
    border-color: rgba(255,255,255,0.8) !important;
    background: rgba(255,255,255,0.12) !important;
}

/* 占位图替换为随机模型封面图（通过302重定向到随机封面的API） */
.placeholder-image {
    width: 480px !important;
    height: 400px !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    background-image: url(/api/v1/models/random-cover-image) !important;
    background-size: contain !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    border-radius: 16px !important;
}
.placeholder-image .el-icon {
    display: none !important;
}

/* 功能卡片 */
.feature-card {
    background: #fff !important;
    border-radius: 16px !important;
    padding: 32px !important;
    transition: all 0.3s ease !important;
    border: 1px solid rgba(0,0,0,0.04) !important;
}
.feature-card:hover {
    transform: translateY(-4px) !important;
    box-shadow: 0 12px 40px rgba(0,0,0,0.1) !important;
}

/* 模型卡片 */
.model-card {
    border-radius: 16px !important;
    overflow: hidden !important;
    transition: all 0.3s ease !important;
    border: 1px solid rgba(0,0,0,0.06) !important;
}
.model-card:hover {
    transform: translateY(-4px) !important;
    box-shadow: 0 12px 40px rgba(0,0,0,0.1) !important;
}

/* 统计区块 */
.stats {
    background: linear-gradient(135deg, #ff6b35 0%, #c0392b 100%) !important;
    padding: 60px 0 !important;
}
.stat-number {
    font-size: 36px !important;
    font-weight: 700 !important;
    color: #fff !important;
}
.stat-label {
    color: rgba(255,255,255,0.7) !important;
    font-size: 16px !important;
}

/* CTA */
.cta {
    background: linear-gradient(135deg, #ff6b35 0%, #c0392b 100%) !important;
    padding: 60px 0 !important;
}
.cta-title {
    color: #fff !important;
    font-size: 32px !important;
    font-weight: 700 !important;
}
.cta-description {
    color: rgba(255,255,255,0.7) !important;
    font-size: 18px !important;
}

/* 通用标题 */
.section-title {
    font-size: 28px !important;
    font-weight: 700 !important;
    color: #1a1a2e !important;
}
.section-description {
    color: #666 !important;
    font-size: 16px !important;
}

/* 导航栏 */
.navbar {
    background: rgba(255,255,255,0.95) !important;
    backdrop-filter: blur(12px) !important;
    border-bottom: 1px solid rgba(0,0,0,0.04) !important;
}
.nav-link.router-link-active {
    color: #e85d2c !important;
    background: #fff5f0 !important;
}
.nav-link:hover {
    color: #e85d2c !important;
}
.navbar-logo:hover {
    color: #e85d2c !important;
}
.navbar-logo .el-icon {
    color: #e85d2c !important;
}

/* 分页高亮 */
.el-pager li.active {
    background-color: #e85d2c !important;
    border-color: #e85d2c !important;
}

/* 主要按钮统一样式 */
.el-button--primary {
    background-color: #e85d2c !important;
    border-color: #e85d2c !important;
}
.el-button--primary:hover {
    background-color: #d04e1e !important;
    border-color: #d04e1e !important;
}

/* 标签颜色 */
.el-tag {
    background-color: #fff5f0 !important;
    border-color: #f5c6a8 !important;
    color: #e85d2c !important;
}

/* 响应式 */
@media (max-width: 768px) {
    .hero-title {
        font-size: 28px !important;
    }
    .hero-description {
        font-size: 15px !important;
    }
    .placeholder-image {
        width: 100% !important;
        height: 280px !important;
    }
}
