/* ===== Hero区域样式 ===== */
.hero-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    padding: 60px 0;
    margin-bottom: 60px;
}

.hero-content {
    flex: 1;
    max-width: 500px;
}

.hero-title {
    font-size: 42px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 16px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 20px;
    color: #6c757d;
    margin-bottom: 12px;
}

.hero-description {
    font-size: 16px;
    color: #95a5a6;
    line-height: 1.6;
}

.hero-image {
    flex: 1;
    max-width: 500px;
    animation: float 3s ease-in-out infinite;
}

.hero-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* 浮动动画 */
@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

/* ===== 工作流程图标样式优化 ===== */
.workflow-step-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 16px;
    background: transparent;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.workflow-step-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: all 0.3s ease;
}

.workflow-step-card:hover .workflow-step-icon img {
    transform: scale(1.1);
}

/* ===== 卡片悬停效果优化 ===== */
.workflow-step-card {
    position: relative;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.workflow-step-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(255, 107, 53, 0.15);
}

.workflow-step-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.05), rgba(139, 92, 246, 0.05));
    border-radius: 12px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.workflow-step-card:hover::before {
    opacity: 1;
}

/* ===== 痛点卡片优化 ===== */
.pain-point {
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.pain-point::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 107, 53, 0.1), transparent);
    transition: left 0.5s ease;
}

.pain-point:hover::after {
    left: 100%;
}

.pain-icon {
    transition: all 0.3s ease;
}

.pain-point:hover .pain-icon {
    transform: scale(1.2) rotate(5deg);
}

/* ===== 核心价值卡片优化 ===== */
.value-card {
    position: relative;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border: 1px solid #e9ecef;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.value-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
    border-color: #FF6B35;
}

.value-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 0;
    background: linear-gradient(180deg, #FF6B35, #8B5CF6);
    transition: height 0.4s ease;
}

.value-card:hover::before {
    height: 100%;
}

/* ===== 按钮动效优化 ===== */
.cta-button {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.cta-button:hover::before {
    width: 300px;
    height: 300px;
}

.cta-button:active {
    transform: scale(0.95);
}

/* ===== 项目卡片优化 ===== */
.project-card {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.project-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.05), rgba(139, 92, 246, 0.05));
    border-radius: 16px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.project-card:hover::after {
    opacity: 1;
}

.project-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 16px 40px rgba(255, 107, 53, 0.2);
}

/* ===== 页面切换动画 ===== */
.page-content {
    animation: fadeInUp 0.5s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== 表格悬停效果 ===== */
.data-table tr {
    transition: all 0.3s ease;
}

.data-table tbody tr:hover {
    background: rgba(255, 107, 53, 0.05);
    transform: scale(1.01);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

/* ===== 进度条动画 ===== */
.progress-bar {
    position: relative;
    overflow: hidden;
}

.progress-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

/* ===== 侧边栏导航动效 ===== */
.sidebar-nav-item {
    position: relative;
}

.sidebar-nav-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 70%;
    background: var(--primary-orange);
    border-radius: 0 4px 4px 0;
    transition: width 0.3s ease;
}

.sidebar-nav-item:hover::before,
.sidebar-nav-item.active::before {
    width: 4px;
}

/* ===== Tab导航动效 ===== */
.tab-nav-item {
    position: relative;
}

.tab-nav-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: var(--primary-orange);
    transition: width 0.3s ease;
}

.tab-nav-item:hover::after {
    width: 80%;
}

.tab-nav-item.active::after {
    width: 100%;
}

/* ===== 空状态插画 ===== */
.empty-state {
    text-align: center;
    padding: 60px 20px;
}

.empty-state-image {
    max-width: 300px;
    margin: 0 auto 24px;
    animation: float 3s ease-in-out infinite;
}

.empty-state-image img {
    width: 100%;
    height: auto;
}

/* ===== 加载动画 ===== */
.loading-spinner {
    display: inline-block;
    width: 40px;
    height: 40px;
    border: 4px solid rgba(255, 107, 53, 0.2);
    border-top-color: var(--primary-orange);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

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

/* ===== 响应式优化 ===== */
@media (max-width: 768px) {
    .hero-section {
        flex-direction: column;
        text-align: center;
    }

    .hero-title {
        font-size: 32px;
    }

    .workflow-steps-new {
        grid-template-columns: 1fr;
    }
}
