/* 全局样式 */
:root {
    --primary-color: #4F46E5;
    --primary-dark: #3730A3;
    --primary-light: #818CF8;
    --secondary-color: #10B981;
    --dark-color: #1F2937;
    --light-color: #F9FAFB;
    --success-color: #10B981;
    --warning-color: #F59E0B;
    --danger-color: #EF4444;
}

html {
    scroll-behavior: smooth;
}

/* 导航栏 */
.nav-link {
    position: relative;
    color: #4B5563;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-link:hover {
    color: var(--primary-color);
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: var(--primary-color);
    transition: width 0.3s;
}

.nav-link:hover::after {
    width: 100%;
}

/* 按钮样式 */
.btn-primary {
    display: inline-block;
    background: linear-gradient(135deg, #4F46E5 0%, #6366F1 100%);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 500;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 4px 6px rgba(79, 70, 229, 0.25);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 10px rgba(79, 70, 229, 0.35);
}

.btn-secondary {
    display: inline-block;
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    padding: 0.7rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 500;
    transition: all 0.3s;
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: white;
}

.btn-contact {
    display: block;
    width: 100%;
    background: linear-gradient(135deg, #3730A3 0%, #4F46E5 100%);
    color: white;
    padding: 0.75rem;
    border-radius: 0.5rem;
    font-weight: 500;
    transition: all 0.3s;
    text-align: center;
}

.btn-contact:hover {
    background: linear-gradient(135deg, #4F46E5 0%, #3730A3 100%);
    transform: translateY(-2px);
}

/* 章节标题 */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 1rem;
}

.section-divider {
    height: 4px;
    width: 60px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    margin: 0 auto;
    border-radius: 2px;
}

/* 使命卡片 */
.mission-card {
    background-color: white;
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s, box-shadow 0.3s;
    text-align: center;
}

.mission-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.mission-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    margin: 0 auto 1.5rem;
}

.mission-icon i {
    font-size: 1.75rem;
}

/* 技术特点 */
.tech-feature {
    display: flex;
    margin-bottom: 2rem;
    align-items: flex-start;
}

.tech-icon {
    flex-shrink: 0;
    width: 3rem;
    height: 3rem;
    border-radius: 0.5rem;
    background: linear-gradient(135deg, #4F46E5 0%, #818CF8 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    font-size: 1.25rem;
}

/* 业务卡片 */
.business-card {
    background-color: white;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s, box-shadow 0.3s;
}

.business-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.business-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.5s;
}

.business-card:hover .business-img {
    transform: scale(1.05);
}

.business-content {
    padding: 1.5rem;
}

.business-link {
    color: var(--primary-color);
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    transition: color 0.3s;
}

.business-link:hover {
    color: var(--primary-dark);
}

.business-link i {
    transition: transform 0.3s;
}

.business-link:hover i {
    transform: translateX(5px);
}

/* 联系我们 */
.contact-input {
    width: 100%;
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    padding: 0.75rem;
    border-radius: 0.5rem;
    transition: border-color 0.3s;
}

.contact-input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.contact-input:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.5);
}

.contact-icon {
    width: 2.5rem;
    height: 2.5rem;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: background-color 0.3s, transform 0.3s;
}

.social-icon:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
}

/* 动画样式 */
[data-aos] {
    opacity: 0;
    transition-property: opacity, transform;
}

[data-aos].aos-animate {
    opacity: 1;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }
    
    .contact-icon, .social-icon {
        width: 2rem;
        height: 2rem;
    }
}

/* 返回顶部按钮 */
#back-to-top {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
}

#back-to-top.visible {
    opacity: 1;
    visibility: visible;
} 