/* 核心功能强调区域样式 */
/* Core Features Highlight Section */

.core-features-highlight {
    padding: 5rem 0;
    background: linear-gradient(180deg, 
        rgba(15, 23, 42, 0.95) 0%, 
        rgba(30, 41, 59, 0.95) 50%,
        rgba(15, 23, 42, 0.95) 100%
    );
    position: relative;
    overflow: hidden;
}

.core-features-highlight::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        #667eea 50%, 
        transparent 100%
    );
    opacity: 0.5;
    /* 移除扫描线动画 */
}

.core-features-header {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
}

.core-badge {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50px;
    color: white;
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
    /* 移除脉冲动画 */
}

.core-title {
    font-size: 3rem;
    font-weight: 900;
    background: linear-gradient(135deg, #ffffff 0%, #667eea 50%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.core-subtitle {
    font-size: 1.2rem;
    color: var(--gray-text);
    max-width: 600px;
    margin: 0 auto;
}

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

.core-feature-card {
    background: rgba(30, 41, 59, 0.6);
    border-radius: 20px;
    padding: 2.5rem;
    border: 2px solid rgba(102, 126, 234, 0.2);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
}

.core-feature-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(
        circle,
        rgba(102, 126, 234, 0.1) 0%,
        transparent 70%
    );
    opacity: 0;
    transition: opacity 0.4s;
}

/* 移除背景光晕动画 */

.core-feature-card:hover {
    transform: translateY(-5px);
    border-color: #667eea;
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.25);
}

.core-feature-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.core-feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    position: relative;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
    transition: transform 0.3s ease;
}

.core-feature-card:hover .core-feature-icon {
    transform: scale(1.05);
}

/* 移除图标边框动画以简化效果 */

.core-feature-title-group h3 {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--light-text);
    margin-bottom: 0.5rem;
}

.core-feature-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: rgba(102, 126, 234, 0.2);
    border: 1px solid rgba(102, 126, 234, 0.4);
    border-radius: 20px;
    font-size: 0.85rem;
    color: #667eea;
    font-weight: 600;
}

.core-feature-description {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--gray-text);
    margin-bottom: 2rem;
}

.core-feature-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

.core-stat-item {
    background: rgba(15, 23, 42, 0.5);
    padding: 1rem;
    border-radius: 12px;
    border: 1px solid rgba(102, 126, 234, 0.1);
    text-align: center;
    transition: all 0.3s;
}

.core-stat-item:hover {
    background: rgba(102, 126, 234, 0.1);
    border-color: rgba(102, 126, 234, 0.3);
    transform: scale(1.05);
}

.core-stat-number {
    font-size: 2rem;
    font-weight: 900;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
    margin-bottom: 0.25rem;
}

.core-stat-label {
    font-size: 0.9rem;
    color: var(--gray-text);
}

.core-feature-highlights {
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
}

.core-feature-highlights li {
    padding: 0.75rem 0;
    /* padding-left: 2rem; */ /* 已移除，因为不再使用::before */
    position: relative;
    color: var(--light-text);
    font-size: 1rem;
    line-height: 1.6;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.core-feature-highlights li i {
    color: #10b981;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.core-feature-highlights li:hover {
    color: #667eea;
    transform: translateX(5px);
}

.core-feature-highlights li:hover i {
    color: #667eea;
    transform: scale(1.1);
}

/* 已移除文字版勾号，保留HTML中的FontAwesome图标 */
/* .core-feature-highlights li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #10b981;
    font-weight: bold;
    font-size: 1.2rem;
    width: 24px;
    height: 24px;
    background: rgba(16, 185, 129, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(16, 185, 129, 0.3);
}

.core-feature-highlights li:hover::before {
    background: rgba(16, 185, 129, 0.2);
    border-color: rgba(16, 185, 129, 0.5);
    animation: checkPulse 0.6s ease-out;
} */

@keyframes checkPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

.core-feature-cta {
    display: flex;
    gap: 1rem;
}

.core-btn {
    flex: 1;
    padding: 0.875rem 1.5rem;
    border-radius: 10px;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    transition: all 0.3s;
    border: 2px solid transparent;
}

.core-btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.3);
}

.core-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(102, 126, 234, 0.5);
}

.core-btn-outline {
    background: transparent;
    color: #667eea;
    border-color: #667eea;
}

.core-btn-outline:hover {
    background: rgba(102, 126, 234, 0.1);
    transform: translateY(-2px);
}

/* 粒子动画已禁用以提升性能 */

/* 数字动画计数器 */
.core-counter {
    display: inline-block;
}

/* 响应式 */
@media (max-width: 968px) {
    .core-features-grid {
        grid-template-columns: 1fr;
    }
    
    .core-title {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .core-features-highlight {
        padding: 3rem 0;
    }
    
    .core-title {
        font-size: 2rem;
    }
    
    .core-feature-card {
        padding: 2rem;
    }
    
    .core-feature-header {
        flex-direction: column;
        text-align: center;
    }
    
    .core-feature-stats {
        grid-template-columns: 1fr;
    }
    
    .core-feature-cta {
        flex-direction: column;
    }
}

/* 特殊效果：机器学习 */
.ml-effect {
    border-color: rgba(16, 185, 129, 0.3);
}

.ml-effect:hover {
    border-color: #10b981;
    box-shadow: 0 8px 20px rgba(16, 185, 129, 0.25);
}

.ml-effect .core-feature-icon {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

/* 特殊效果：强化学习 */
.rl-effect {
    border-color: rgba(245, 158, 11, 0.3);
}

.rl-effect:hover {
    border-color: #f59e0b;
    box-shadow: 0 8px 20px rgba(245, 158, 11, 0.25);
}

.rl-effect .core-feature-icon {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
}

/* 特殊效果：深度学习 */
.dl-effect {
    border-color: rgba(139, 92, 246, 0.3);
}

.dl-effect:hover {
    border-color: #8b5cf6;
    box-shadow: 0 8px 20px rgba(139, 92, 246, 0.25);
}

.dl-effect .core-feature-icon {
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
}

/* 加载动画 */
.core-feature-card {
    animation: fadeInUp 0.6s ease-out backwards;
}

.core-feature-card:nth-child(1) {
    animation-delay: 0.1s;
}

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

.core-feature-card:nth-child(3) {
    animation-delay: 0.3s;
}

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