/**
 * 首页样式 - 科技风格
 */

/* 主横幅样式 */
.hero-section {
    position: relative;
    background: linear-gradient(45deg, #1a1a1a, #2c3e50);
    overflow: hidden;
    min-height: 100vh;
}

/* 科技背景动画 */
.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(45deg, #007bff20 25%, transparent 25%),
        linear-gradient(-45deg, #007bff20 25%, transparent 25%),
        linear-gradient(45deg, transparent 75%, #007bff20 75%),
        linear-gradient(-45deg, transparent 75%, #007bff20 75%);
    background-size: 20px 20px;
    animation: gridMove 20s linear infinite;
    opacity: 0.1;
}

@keyframes gridMove {
    0% {
        background-position: 0 0, 10px 0, 10px -10px, 0px 10px;
    }
    100% {
        background-position: 40px 40px, 50px 40px, 50px 30px, 40px 50px;
    }
}

/* 主标题样式 */
.hero-section h1 {
    font-size: 4rem;
    font-weight: 700;
    color: #fff;
    text-shadow: 0 0 10px rgba(0,123,255,0.5);
    margin-bottom: 1.5rem;
    position: relative;
}

.hero-section h1::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, #007bff, transparent);
}

.hero-section .lead {
    font-size: 1.5rem;
    color: rgba(255,255,255,0.9);
    margin-bottom: 2rem;
}

/* 科技感按钮 */
.btn-primary {
    background: linear-gradient(45deg, #007bff, #00bfff);
    border: none;
    padding: 15px 40px;
    font-size: 1.1rem;
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: all 0.3s ease;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: all 0.5s ease;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,123,255,0.3);
}

/* 公司简介部分 */
.company-intro {
    background: #f8f9fa;
    position: relative;
    overflow: hidden;
}

.company-intro::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 300px;
    height: 300px;
    background: linear-gradient(45deg, transparent, #007bff10);
    border-radius: 50%;
    transform: translate(150px, -150px);
}

.intro-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.intro-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, #007bff30, transparent);
    z-index: 1;
}

.intro-image img {
    transition: transform 0.5s ease;
}

.intro-image:hover img {
    transform: scale(1.05);
}

/* 核心业务卡片 */
.core-business .card {
    background: rgba(255,255,255,0.9);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
    position: relative;
}

.core-business .card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, #007bff05, transparent);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.core-business .card:hover::before {
    transform: translateX(100%);
}

.core-business .card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.core-business .card-body {
    padding: 2rem;
}

.core-business .card-title {
    color: #333;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    position: relative;
    padding-bottom: 1rem;
}

.core-business .card-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, #007bff, transparent);
}

/* 服务优势部分 */
.advantages {
    background: #fff;
    position: relative;
}

.advantage-item {
    text-align: center;
    padding: 2rem;
    position: relative;
    z-index: 1;
}

.advantage-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(45deg, #f5f7fa, #c3cfe2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: all 0.3s ease;
}

.advantage-icon::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border-radius: 50%;
    border: 2px solid transparent;
    background: linear-gradient(45deg, #007bff, transparent) border-box;
    -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: destination-out;
    mask-composite: exclude;
}

.advantage-item:hover .advantage-icon {
    transform: rotateY(180deg);
}

/* 响应式调整 */
@media (max-width: 991px) {
    .hero-section h1 {
        font-size: 3rem;
    }
    
    .hero-section .lead {
        font-size: 1.25rem;
    }
}

@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 2.5rem;
    }
    
    .advantage-item {
        margin-bottom: 2rem;
    }
}

/* 动画效果 */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease-out forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 科技感装饰元素 */
.tech-decoration {
    position: absolute;
    width: 200px;
    height: 200px;
    border: 2px solid rgba(0,123,255,0.1);
    border-radius: 50%;
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* 联系我们样式 */
.contact-section {
    background-color: #f8f9fa;
    padding: 5rem 0;
}

.contact-info {
    margin-bottom: 2rem;
}

.contact-info i {
    color: #1a237e;
    margin-right: 1rem;
}

/* 动画效果 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fadeInUp {
    animation: fadeInUp 0.6s ease-out;
} 