/* 爱卡云 - 最终精修优化 */

/* 导航栏下拉菜单箭头 */
.aikayun-menu > li > a::after {
    content: '';
    display: inline-block;
    width: 0;
    height: 0;
    margin-left: 6px;
    vertical-align: middle;
    border-top: 4px solid;
    border-right: 4px solid transparent;
    border-left: 4px solid transparent;
    opacity: 0.5;
    transition: all 0.2s ease;
}

.aikayun-menu > li:hover > a::after {
    transform: rotate(180deg);
    opacity: 1;
}

.aikayun-menu > li > a:only-child::after {
    display: none;
}

/* 产品卡片顶部渐变条 */
.product-card {
    position: relative;
    overflow: hidden;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #002ab1, #0052d9, #1466ed, #51d4ff);
    background-size: 300% 100%;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
    z-index: 2;
}

.product-card:hover::before {
    transform: scaleX(1);
    animation: shimmer 2s linear infinite;
}

/* 按钮波纹效果 */
.btn {
    position: relative;
    overflow: hidden;
}

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

.btn:active::after {
    width: 300px;
    height: 300px;
}

/* 卡片悬浮阴影增强 */
.product-card:hover,
.feature-card:hover,
.solution-card:hover,
.datacenter-card:hover,
.about-card:hover,
.contact-info-card:hover {
    box-shadow: 0 20px 60px rgba(0,82,217,0.15) !important;
}

/* 区块分隔装饰 */
.aikayun-section::before {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #002ab1, #0052d9, #1466ed);
    margin: 0 auto 32px;
    border-radius: 2px;
}

.aikayun-section:first-of-type::before {
    display: none;
}

/* 标题下划线动画 */
.aikayun-section-title h2 {
    position: relative;
    display: inline-block;
}

.aikayun-section-title h2::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, #002ab1, #0052d9, #1466ed);
    border-radius: 2px;
    transition: width 0.4s ease;
}

.aikayun-section:hover .aikayun-section-title h2::after {
    width: 60%;
}

/* 价格标签美化 */
.price {
    position: relative;
    display: inline-block;
}

.price .currency {
    font-size: 0.6em;
    vertical-align: top;
    margin-right: 2px;
}

.price .unit {
    font-size: 0.4em;
    color: #86909c;
    margin-left: 4px;
    font-weight: 400;
}

/* 热门标签 */
.hot-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: linear-gradient(135deg, #ff4d4f, #ff7875);
    color: white;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    z-index: 3;
    animation: pulse 2s infinite;
}

/* 解决方案图标 */
.solution-feature {
    display: inline-flex;
    align-items: center;
    padding: 6px 14px;
    background: rgba(0,82,217,0.08);
    color: #0052d9;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    margin: 4px;
    transition: all 0.2s ease;
}

.solution-feature:hover {
    background: #0052d9;
    color: white;
    transform: translateY(-2px);
}

/* 数据中心国旗 */
.datacenter-card .flag {
    font-size: 32px;
    margin-bottom: 8px;
    display: block;
}

/* CTA按钮动画 */
.cta-section .btn-white {
    animation: pulse 2s infinite;
}

/* 页脚社交图标 */
.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 16px;
}

.footer-social a {
    width: 36px;
    height: 36px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.7);
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background: #0052d9;
    color: white;
    transform: translateY(-3px);
}

/* 面包屑导航 */
.breadcrumb {
    padding: 16px 0;
    font-size: 14px;
    color: #86909c;
}

.breadcrumb a {
    color: #4e5969;
    transition: color 0.2s;
}

.breadcrumb a:hover {
    color: #0052d9;
}

.breadcrumb span {
    margin: 0 8px;
    color: #c9cdd4;
}

/* 空状态 */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: #86909c;
}

.empty-state .icon {
    font-size: 64px;
    margin-bottom: 16px;
    opacity: 0.5;
}

.empty-state h3 {
    font-size: 18px;
    color: #4e5969;
    margin-bottom: 8px;
}

/* 加载骨架屏 */
.skeleton {
    background: linear-gradient(90deg, #f2f3f5 25%, #e8ecf1 50%, #f2f3f5 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: 4px;
}

/* 手机端优化补充 */
@media (max-width: 768px) {
    .aikayun-section::before {
        margin-bottom: 24px;
    }
    
    .aikayun-section-title h2::after {
        width: 40% !important;
    }
    
    .hot-badge {
        top: 8px;
        right: 8px;
        font-size: 11px;
        padding: 3px 8px;
    }
}
