/* 
   Homepage Specific Tech Style 
   Focusing on balance, coordination, and high-tech feel
*/

:root {
    --tech-blue: #00d2ff;
    --tech-dark: #0a0e14;
    --tech-gradient: linear-gradient(135deg, #00d2ff 0%, #3a7bd5 100%);
}

/* 轮播图优化 - 清爽、协调且科技感 */
.rollpic {
    margin-top: 80px;
    height: 400px; /* 进一步收窄高度，更清爽 */
    overflow: hidden;
    position: relative;
    background-color: #000;
}

/* 移除突兀的底部边框，改用渐变投影 */
.rollpic::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background: linear-gradient(to top, rgba(255,255,255,1) 0%, rgba(255,255,255,0) 100%);
    z-index: 5;
    pointer-events: none;
}

.rollpic .am-slider-default {
    margin-bottom: 0;
    box-shadow: none;
}

.rollpic .am-slides li {
    height: 400px;
}

.rollpic img {
    width: 100%;
    height: 100% !important;
    object-fit: cover;
    object-position: center;
    filter: brightness(0.9);
    transition: transform 6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.rollpic .am-active img {
    transform: scale(1.05);
}

/* 定制指示器（小圆点）- 更加协调 */
.rollpic .am-control-nav {
    bottom: 30px !important;
    z-index: 10;
}

.rollpic .am-control-nav li a {
    width: 10px;
    height: 10px;
    background: rgba(255, 255, 255, 0.5) !important;
    border: 2px solid transparent;
    box-shadow: none !important;
    transition: all 0.3s ease;
}

.rollpic .am-control-nav li a.am-active {
    width: 30px; /* 激活时拉长，更有科技感 */
    border-radius: 5px;
    background: var(--tech-blue) !important;
    box-shadow: 0 0 10px var(--tech-blue) !important;
}

/* 定制左右切换箭头 - 隐藏直到悬停，更清爽 */
.rollpic .am-direction-nav a {
    opacity: 0;
    transition: all 0.3s ease;
    background-color: rgba(0, 210, 255, 0.2);
    color: #fff;
    text-shadow: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    line-height: 50px;
    margin-top: -25px;
}

.rollpic:hover .am-direction-nav a {
    opacity: 1;
}

.rollpic .am-direction-nav a:before {
    font-size: 24px;
}

.rollpic .am-direction-nav a:hover {
    background-color: var(--tech-blue);
}

/* 首页背景微调 */
body.homepage {
    background-color: #f8fafc;
}

/* 科技感标题 */
.homepage .part-title-span {
    background: var(--tech-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* 解决方案板块重塑 - 更加清爽与科技感 */
.homepage .solutions-content {
    margin-top: 40px;
    padding-bottom: 20px;
}

.homepage .solutions-content li {
    text-align: center;
    padding: 20px;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    border-radius: 12px;
    position: relative;
    overflow: hidden;
}

/* 装饰性背景，仅在悬停时显现极淡的渐变 */
.homepage .solutions-content li::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(0, 210, 255, 0.05) 0%, rgba(255, 255, 255, 0) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
}

.homepage .solutions-content li:hover::before {
    opacity: 1;
}

.homepage .solution-circle {
    display: inline-block;
    width: 80px;
    height: 80px;
    line-height: 80px;
    font-size: 32px;
    background: #fff !important;
    border: 1px solid #eef2f7 !important;
    color: var(--tech-blue) !important;
    border-radius: 50%;
    margin-bottom: 20px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.03);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
}

/* 呼吸灯特效 */
.homepage .solution-circle::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    border-radius: 50%;
    border: 2px solid var(--tech-blue);
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.5s ease;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-5px); }
    100% { transform: translateY(0px); }
}

.homepage .solutions-content li:nth-child(odd) .solution-circle {
    animation: float 4s ease-in-out infinite;
}

.homepage .solutions-content li:nth-child(even) .solution-circle {
    animation: float 4s ease-in-out infinite 2s;
}

.homepage .solutions-content li:hover .solution-circle {
    transform: rotateY(180deg) scale(1.1); /* 炫酷翻转效果 */
    background: var(--tech-blue) !important;
    color: #fff !important;
    border-color: var(--tech-blue) !important;
    box-shadow: 0 15px 30px rgba(0, 210, 255, 0.4);
}

.homepage .solutions-content li:hover .solution-circle::after {
    opacity: 1;
    transform: scale(1.15);
}

.homepage .solutions-title {
    display: block;
    font-size: 18px;
    font-weight: 600;
    color: #334155;
    margin-bottom: 12px;
    transition: color 0.3s ease;
}

.homepage .solutions-content li:hover .solutions-title {
    color: var(--tech-blue);
}

.homepage .solutions-way {
    font-size: 14px;
    color: #64748b;
    line-height: 1.6;
    margin: 0;
    padding: 0 10px;
    opacity: 0.8;
}

/* 案例卡片平滑化 - 更加协调 */
.homepage .case-li {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    border: 1px solid #f1f5f9;
}

.homepage .case-li:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    border-color: var(--tech-blue);
}

.homepage .case-li-mengban {
    background: linear-gradient(to top, rgba(0, 210, 255, 0.8) 0%, rgba(0, 0, 0, 0) 100%) !important;
    font-weight: 500;
    letter-spacing: 1px;
    padding-top: 40px !important;
}

/* 底部操作栏 */
.homepage .lan-bott {
    background: var(--tech-gradient) !important;
    border-radius: 8px;
    margin-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.homepage .see-more {
    border: 2px solid #fff !important;
    background: transparent !important;
    color: #fff !important;
    font-weight: bold;
}

.homepage .see-more:hover {
    background: #fff !important;
    color: var(--tech-blue) !important;
}
