html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', 'Noto Sans SC', sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* 导航栏下划线动画 */
.nav-link { 
    position: relative; 
}
.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -6px;
    left: 0;
    background-color: #0d6efd;
    transition: width 0.3s ease;
    border-radius: 2px;
}
.nav-link:hover::after,
.nav-link.active::after { 
    width: 100%; 
}

/* 背景模糊发光动画 (Hero区域) */
@keyframes blob {
    0% { transform: translate(0px, 0px) scale(1); }
    33% { transform: translate(30px, -50px) scale(1.1); }
    66% { transform: translate(-20px, 20px) scale(0.9); }
    100% { transform: translate(0px, 0px) scale(1); }
}
.animate-blob {
    animation: blob 7s infinite;
}
.animation-delay-2000 {
    animation-delay: 2s;
}

/* 滚动渐显动画 (Scroll Reveal) */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}
.reveal.active {
    opacity: 1;
    transform: translateY(0);
}
.reveal-delay-100 { transition-delay: 100ms; }
.reveal-delay-200 { transition-delay: 200ms; }
.reveal-delay-300 { transition-delay: 300ms; }

/* 服务卡片悬停特效 */
.service-card {
    transition: all 0.3s ease;
}
.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    border-color: #bfdbfe;
}
.service-icon-wrapper {
    transition: all 0.3s ease;
}
.service-card:hover .service-icon-wrapper {
    background-color: #0d6efd;
    transform: scale(1.1);
}
.service-card:hover .service-icon {
    color: #ffffff;
}

/* 业务环绕旋转动画 (Hero区域) */
.orbit-system {
    position: relative;
    width: 360px;
    height: 360px;
    margin: 0 auto;
}
.orbit-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
}
.orbit-track {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 1px dashed rgba(13, 110, 253, 0.3);
    animation: spin 24s linear infinite;
}
.orbit-item {
    position: absolute;
    width: 90px;
    height: 90px;
    margin-top: -45px;
    margin-left: -45px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(8px);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
    animation: spin-reverse 24s linear infinite;
    border: 1px solid rgba(255, 255, 255, 0.5);
    transition: all 0.3s ease;
}
.orbit-item:hover {
    background: #ffffff;
    transform: scale(1.15);
    box-shadow: 0 15px 30px -5px rgba(13, 110, 253, 0.2);
    border-color: #0d6efd;
    z-index: 20;
}
.orbit-item.item-1 { top: 0; left: 50%; }
.orbit-item.item-2 { top: 50%; left: 100%; }
.orbit-item.item-3 { top: 100%; left: 50%; }
.orbit-item.item-4 { top: 50%; left: 0; }

@keyframes spin {
    100% { transform: rotate(360deg); }
}
@keyframes spin-reverse {
    100% { transform: rotate(-360deg); }
}
/* 极致细腻的背景与阴影细节 */
.glass-card {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02), 0 2px 4px -1px rgba(0, 0, 0, 0.01);
}
.hero-gradient-text {
    background: linear-gradient(135deg, #0f172a 0%, #334155 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.micro-interaction {
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.micro-interaction:hover {
    transform: translateY(-4px) scale(1.01);
    box-shadow: 0 20px 40px -10px rgba(13, 110, 253, 0.08);
    background: rgba(255, 255, 255, 0.9);
}
