/* 首页专属补充样式 - index.css */
/* 注意: 主样式在 style.css 和 animations.css 中定义 */

/* 产品卡片顶部渐变线 - 使用::before替代(因为card-glow也需要定位) */
.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), #ff6b35, var(--primary));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
    z-index: 2;
}
.product-card:hover::before {
    transform: scaleX(1);
}

/* 产品链接下划线动效 */
.product-link::after {
    content: '';
    position: absolute;
    bottom: 8px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), #ff6b35);
    transition: width 0.3s ease;
}
.product-link:hover::after {
    width: calc(100% - 24px);
}

/* Hero标题渐变文字 */
.hero-title span {
    background: linear-gradient(135deg, #ff8c42, #ffb380, #ff6b35);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Stats分隔线 */
.stats-grid .stat-card:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 20%;
    height: 60%;
    width: 1px;
    background: rgba(255,255,255,0.06);
}
.stat-card {
    position: relative;
}

/* 响应式补充 */
@media (max-width: 1024px) {
    .stats-grid .stat-card:not(:last-child)::after {
        display: none;
    }
    .stats-grid .stat-card:nth-child(odd)::after {
        display: block;
        right: 0;
    }
}
