/* 高级金属光泽特效增强 */

/* 全局金属光泽动画 */
@keyframes metallic-pulse {
    0%, 100% {
        box-shadow:
            0 0 20px rgba(255, 140, 66, 0.3),
            inset 0 1px 0 rgba(255, 255, 255, 0.1);
    }
    50% {
        box-shadow:
            0 0 30px rgba(255, 140, 66, 0.5),
            inset 0 1px 0 rgba(255, 255, 255, 0.2);
    }
}

/* 金属光泽扫描效果 */
@keyframes metallic-scan {
    0% {
        background-position: -200% center;
    }
    100% {
        background-position: 200% center;
    }
}

/* 为所有卡片添加微妙的金属边框光效 */
.advantage-card,
.product-card,
.service-card,
.feature-card,
.benefit-card,
.job-card,
.news-card,
.contact-card {
    position: relative;
}

.advantage-card::after,
.service-card::after,
.benefit-card::after,
.contact-card::after {
    content: '';
    position: absolute;
    top: -1px;
    left: -1px;
    right: -1px;
    bottom: -1px;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(
        135deg,
        rgba(255, 140, 66, 0.3) 0%,
        rgba(255, 140, 66, 0.1) 25%,
        rgba(255, 140, 66, 0.05) 50%,
        rgba(255, 140, 66, 0.1) 75%,
        rgba(255, 140, 66, 0.3) 100%
    );
    background-size: 200% 200%;
    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.advantage-card:hover::after,
.service-card:hover::after,
.benefit-card:hover::after,
.contact-card:hover::after {
    opacity: 1;
    animation: metallic-scan 3s linear infinite;
}

/* 增强按钮的金属质感 */
.btn {
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.btn-primary::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.3) 0%, transparent 100%);
    border-radius: 8px 8px 0 0;
    pointer-events: none;
}

/* 为标题添加金属发光效果 */
.section-title {
    position: relative;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
}

/* Icon的金属光泽 */
.advantage-icon,
.service-icon,
.feature-icon,
.benefit-icon,
.contact-icon,
.intro-icon {
    filter: drop-shadow(0 2px 4px rgba(255, 140, 66, 0.3));
    transition: filter 0.3s ease;
}

.advantage-card:hover .advantage-icon,
.service-card:hover .service-icon,
.feature-card:hover .feature-icon,
.benefit-card:hover .benefit-icon,
.contact-card:hover .contact-icon,
.intro-item:hover .intro-icon {
    filter: drop-shadow(0 4px 8px rgba(255, 140, 66, 0.6));
}

/* 增强产品卡片的金属边框 */
.product-image {
    position: relative;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.1),
        0 4px 15px rgba(0, 0, 0, 0.3);
}

/* 新闻标签的金属质感增强 */
.news-category {
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    position: relative;
}

.news-category::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.2) 0%, transparent 100%);
    border-radius: 4px 4px 0 0;
}

/* 职位标签的高级金属效果 */
.job-tag {
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.job-tag.hot {
    animation: pulse-tag 2s ease-in-out infinite, metallic-pulse 3s ease-in-out infinite;
}

/* 语言切换器的增强光效 */
.lang-btn.active {
    animation: metallic-pulse 2s ease-in-out infinite;
}

/* 分割线的闪烁效果 */
.title-divider {
    animation: metallic-pulse 2s ease-in-out infinite;
}

/* 滚动条的金属光泽增强 */
::-webkit-scrollbar-thumb {
    animation: metallic-pulse 3s ease-in-out infinite;
}

/* 特殊高光效果 */
.hero-title,
.combo-product h3,
.apply-title,
.benefits-title {
    position: relative;
}

.hero-title::after,
.combo-product h3::after,
.apply-title::after,
.benefits-title::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    background: radial-gradient(ellipse at center, rgba(255, 140, 66, 0.1) 0%, transparent 70%);
    pointer-events: none;
    z-index: -1;
}

/* 导航栏的金属反光 */
.navbar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg,
        transparent 0%,
        rgba(255, 140, 66, 0.3) 25%,
        rgba(255, 140, 66, 0.5) 50%,
        rgba(255, 140, 66, 0.3) 75%,
        transparent 100%
    );
    background-size: 200% 100%;
    animation: metallic-scan 4s linear infinite;
}

/* 页脚的金属边框效果 */
.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg,
        rgba(255, 140, 66, 0.1) 0%,
        rgba(255, 140, 66, 0.5) 50%,
        rgba(255, 140, 66, 0.1) 100%
    );
    background-size: 200% 100%;
    animation: metallic-scan 3s linear infinite;
}

/* 组合产品的旋转光晕增强 */
.combo-product {
    box-shadow:
        0 10px 40px rgba(255, 140, 66, 0.3),
        inset 0 2px 0 rgba(255, 255, 255, 0.15),
        inset 0 -2px 0 rgba(0, 0, 0, 0.2),
        0 0 60px rgba(255, 140, 66, 0.2);
}

/* 应聘区域的呼吸灯效果 */
.apply-section {
    animation: metallic-pulse 4s ease-in-out infinite;
}

/* Logo的金属光泽 */
.logo-image {
    filter: drop-shadow(0 2px 8px rgba(255, 140, 66, 0.3));
    transition: filter 0.3s ease;
}

.logo:hover .logo-image {
    filter: drop-shadow(0 4px 16px rgba(255, 140, 66, 0.6));
}

/* 为所有链接添加金属光泽过渡 */
a {
    transition: all 0.3s ease;
}

/* 增强hover状态的金属质感 */
.nav-menu a:hover {
    text-shadow: 0 0 10px rgba(255, 140, 66, 0.5);
}

/* Feature item的金属边框 */
.feature-item {
    border-left-color: var(--accent-primary);
    box-shadow: -2px 0 10px rgba(255, 140, 66, 0.2);
}

/* 教育客户区块的光晕效果 */
.education-clients {
    animation: metallic-pulse 3s ease-in-out infinite;
}

/* 福利区块的呼吸效果 */
.benefits-section {
    animation: metallic-pulse 4s ease-in-out infinite;
}
