/* 自定义样式 */
body {
    font-family: "Microsoft YaHei", sans-serif;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

/* 科技感渐变 - 增强文字阴影 */
.text-gradient {
    background: linear-gradient(135deg, #667eea, #764ba2, #f093fb);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 3s ease-in-out infinite alternate;
    text-shadow: 0 0 20px rgba(102, 126, 234, 0.5);
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

/* Hero区域文字样式 - 白色背景下移除阴影 */

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    100% { background-position: 100% 50%; }
}

/* 主背景渐变 - 修改为透明，显示星空背景 */
.hero-bg-gradient {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: transparent;
    /* 移除渐变背景，让星空粒子效果直接显示 */
}

@keyframes gradientAnimation {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* 统计数据背景 - 修改为白色背景 */
.stats-bg-white {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #ffffff;
}

/* 数据统计部分文字颜色调整 */
.stats-section .text-white {
    color: #333333 !important;
}

.stats-section .text-light {
    color: #666666 !important;
}

/* 按钮渐变 */
.btn-gradient {
    background: linear-gradient(135deg, #667eea, #764ba2);
    border: none;
    color: white;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-gradient::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.6s;
}

.btn-gradient:hover::before {
    left: 100%;
}

.btn-gradient:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.4);
    color: white;
}

/* 悬停按钮效果 */
.btn-hover-effect {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.btn-hover-effect:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 255, 255, 0.2);
}

/* 科技展示区域 - 已替换为特色展示 */

/* 浮动卡片动画 - 已移除，替换为特色展示 */

/* 图标圆形容器 */
.icon-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

/* 服务卡片 */
.service-card {
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.service-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05), rgba(118, 75, 162, 0.05));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-card:hover .service-card-overlay {
    opacity: 1;
}

/* 服务图标 */
.service-icon {
    transform: scale(1);
    transition: transform 0.3s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.1);
}

.icon-container {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    color: white;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

/* 渐变背景 */
.bg-gradient-primary {
    background: linear-gradient(135deg, #667eea, #764ba2);
}

.bg-gradient-success {
    background: linear-gradient(135deg, #56ab2f, #a8e6cf);
}

.bg-gradient-info {
    background: linear-gradient(135deg, #4facfe, #00f2fe);
}

.bg-gradient-warning {
    background: linear-gradient(135deg, #f093fb, #f5576c);
}

.bg-gradient-danger {
    background: linear-gradient(135deg, #f953c6, #b91d73);
}

.bg-gradient-secondary {
    background: linear-gradient(135deg, #667eea, #764ba2);
}

/* 数字计数器动画 */
.counter {
    font-weight: 700;
    font-size: 3rem;
}

.stat-item {
    position: relative;
    padding: 2rem;
}

.stat-icon {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 2rem;
    opacity: 0.3;
    color: #007bff;
}

/* 团队卡片 */
.team-card {
    transition: all 0.3s ease;
    border: 1px solid rgba(0,0,0,0.05);
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.team-avatar {
    width: 80px;
    height: 80px;
}

.avatar-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: white;
    position: relative;
    overflow: hidden;
}

.avatar-circle::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255,255,255,0.1), transparent);
    transform: rotate(-45deg);
    transition: transform 0.6s;
}

.team-card:hover .avatar-circle::before {
    transform: rotate(-45deg) translate(100%, 100%);
}

/* 团队专长标签 */
.team-expertise .badge {
    font-size: 0.75rem;
    padding: 0.4em 0.8em;
    border-radius: 15px;
    font-weight: 500;
}

/* 服务筛选标签 */
.service-filter-tabs .btn {
    transition: all 0.3s ease;
    font-weight: 500;
    padding: 0.5rem 1.5rem;
    border-width: 2px;
}

.service-filter-tabs .btn.active {
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-color: transparent;
    color: white;
    transform: translateY(-2px);
}

.service-filter-tabs .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
}

/* 粒子效果容器 - 已移除 */

/* Hero区域样式 - 白色背景 */
.hero-section {
    position: relative;
    z-index: 1;
    background: #ffffff !important;
    color: #333;
    border-bottom: 1px solid #e9ecef;
}

.hero-section::before {
    display: none;
}

/* 导航栏 */
.navbar-brand {
    font-weight: bold;
    font-size: 1.4rem;
}

.navbar {
    box-shadow: 0 2px 4px rgba(0,0,0,.1);
    backdrop-filter: blur(10px);
}

/* 导航链接样式 */
.navbar-nav .nav-link {
    font-size: 1.1rem;
    font-weight: 500;
    padding: 0.8rem 1rem !important;
    color: rgba(255, 255, 255, 0.85) !important;
    transition: color 0.2s ease;
}

.navbar-nav .nav-link.active,
.navbar-nav .nav-link:hover {
    color: #ffffff !important;
}

/* 优势卡片 */
.advantage-card {
    transition: all 0.3s ease;
    border: 1px solid rgba(0,0,0,0.05);
}

.advantage-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.advantage-icon {
    transform: scale(1);
    transition: transform 0.3s ease;
}

.advantage-card:hover .advantage-icon {
    transform: scale(1.1);
}

/* 客户评价卡片 */
.testimonial-card {
    transition: all 0.3s ease;
    border: 1px solid rgba(0,0,0,0.05);
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.customer-avatar {
    width: 60px;
    height: 60px;
}

.customer-avatar .avatar-circle {
    width: 60px;
    height: 60px;
    font-size: 12px;
}

/* 行动号召背景 - 修改为白色背景 */
.cta-bg-white {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #ffffff;
}

.cta-buttons .btn {
    transition: all 0.3s ease;
    font-weight: 600;
}

.cta-buttons .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

/* 成功案例统计 */
.success-stats {
    border: 1px solid rgba(0,0,0,0.05);
}

.stat-number {
    font-family: 'Arial', sans-serif;
    line-height: 1;
}

/* 响应式设计优化 */
@media (max-width: 768px) {
    .hero-section {
        padding: 2rem 0 !important;
        text-align: center;
    }
    
    .hero-section .display-4 {
        font-size: 2rem;
    }
    
    .hero-section .lead {
        font-size: 1.1rem;
    }
    
    .service-filter-tabs {
        flex-direction: column;
        align-items: center;
    }
    
    .service-filter-tabs .btn {
        margin-bottom: 0.5rem;
        width: 200px;
    }
    
    .team-stats .row {
        text-align: center;
    }
    
    .advantage-card,
    .testimonial-card {
        margin-bottom: 2rem;
    }
    
    .cta-section .display-5 {
        font-size: 1.5rem;
    }
    
    .cta-buttons .btn {
        width: 100%;
        margin-bottom: 1rem;
    }
}

@media (max-width: 576px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-section .btn {
        width: 100%;
        margin-bottom: 1rem;
    }
    
    .service-card,
    .advantage-card,
    .testimonial-card {
        margin-bottom: 1.5rem;
    }
}

/* 特殊动画效果 */
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.btn-gradient:hover {
    animation: pulse 0.6s ease-in-out;
}

/* 图标悬停效果 */
.icon-container:hover {
    transform: rotate(360deg);
    transition: transform 0.6s ease;
}

/* 滚动条样式 */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #764ba2, #667eea);
}

/* 按钮样式 */
.btn {
    border-radius: 30px;
    padding: 10px 20px;
}

.btn-lg {
    padding: 12px 24px;
}

.btn-primary {
    background-color: #0d6efd;
    border-color: #0d6efd;
}

.btn-primary:hover {
    background-color: #0b5ed7;
    border-color: #0a58ca;
}

/* 页脚 */
.footer {
    margin-top: 50px;
    padding: 20px 0;
    color: #6c757d;
}

.footer a {
    text-decoration: none;
}

.footer a:hover {
    text-decoration: underline;
}

/* 首页特殊样式 - 白色背景 */
.hero-section {
    background: #ffffff !important;
    color: #333;
    border-bottom: 1px solid #e9ecef;
}

.hero-section a {
    border-radius: 30px;
}

.hero-image-placeholder {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

/* 服务板块 - 修改为白色背景 */
.services-section {
    background-color: #ffffff;
}

.service-card {
    height: 100%;
    transition: transform 0.2s;
}

.service-card:hover {
    transform: translateY(-5px);
}

/* 图标样式 */
.icon-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

/* 标题样式 */
.display-4 {
    font-weight: 700;
}

.lead {
    font-weight: 400;
}

/* 平台优势 */
.advantages-section .icon-wrapper {
    font-size: 20px;
}

/* 数据统计 - 已移至白色背景 */

/* 客户评价 */
.testimonials-section .card {
    border-radius: 10px;
}

/* 行动号召 - 已移至白色背景 */

/* 响应式调整 */
@media (max-width: 768px) {
    .navbar-brand {
        font-size: 1.2rem;
    }
    
    .display-4 {
        font-size: 2rem;
    }
    
    .lead {
        font-size: 1rem;
    }
    
    .service-card {
        margin-bottom: 20px;
    }
    
    .hero-section {
        text-align: center;
    }
    
    .hero-section .btn {
        margin: 5px;
    }
}

/* 卡片悬停效果 */
.card.h-100 {
    transition: all 0.3s ease;
}

.card.h-100:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

/* 背景色调整 - 统一使用白色背景 */
.bg-light {
    background-color: #ffffff !important;
}

/* 文字颜色 */
.text-muted {
    color: #6c757d !important;
}

/* 标题样式 */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
}

/* 阴影效果 */
.shadow-sm {
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075) !important;
}

.border-0 {
    border: 0 !important;
}

/* 客户评价卡片 */
.card .card-text {
    font-style: italic;
}

/* 页脚样式 */
.footer {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.footer a {
    color: rgba(255, 255, 255, 0.8);
}

.footer a:hover {
    color: white;
    text-decoration: none;
}

.footer h5 {
    position: relative;
    padding-bottom: 10px;
}

.footer h5::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 2px;
    background-color: rgba(255, 255, 255, 0.5);
}

/* 输入框样式 */
.form-control {
    border-radius: 30px;
    padding: 10px 15px;
}

.btn-outline-light {
    border-radius: 30px;
    padding: 8px 15px;
}

/* 响应式字体大小 */
@media (max-width: 768px) {
    .fs-5 {
        font-size: 1rem !important;
    }
    
    .fs-4 {
        font-size: 1.25rem !important;
    }
    
    .display-5 {
        font-size: 2rem;
    }
}