/* 全局样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: #333;
    line-height: 1.6;
    background-color: #fff;
    overflow-x: hidden;
}

/* 容器样式 */
.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 按钮样式 */
.btn-primary {
    display: inline-block;
    padding: 12px 32px;
    background-color: #0071e3;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    background-color: #005bb5;
    transform: translateY(-2px);
}

.btn-secondary {
    display: inline-block;
    padding: 10px 24px;
    background-color: transparent;
    color: #0071e3;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 1px solid #0071e3;
}

.btn-secondary:hover {
    background-color: #0071e3;
    color: white;
}

.btn-more {
    display: inline-block;
    padding: 12px 40px;
    background-color: transparent;
    color: #333;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 1px solid #ddd;
}

.btn-more:hover {
    background-color: #f5f5f5;
    border-color: #0071e3;
    color: #0071e3;
}

/* 标题样式 */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h3 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 16px;
    color: #111;
}

.section-header p {
    font-size: 16px;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

/* 导航栏样式 */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.3s ease;
    background-color: transparent;
}

.navbar.scrolled {
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
}

.logo h1 {
    font-size: 24px;
    font-weight: 700;
    color: #0071e3;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 40px;
}

.nav-links a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #0071e3;
    transition: width 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-links a:hover,
.nav-links a.active {
    color: #0071e3;
}

.mobile-menu-btn {
    display: none;
    cursor: pointer;
    font-size: 24px;
    color: #333;
}

/* 轮播图样式 */
.carousel-section {
    position: relative;
    height: 100vh;
    overflow: hidden;
    margin-top: 0;
}

.carousel-container {
    height: 100%;
    position: relative;
}

.carousel {
    height: 100%;
}

.carousel-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 0;
}

.carousel-item.active {
    opacity: 1;
    z-index: 1;
}

.carousel-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
    padding-left: 10%;
}

.carousel-content h2 {
    font-size: 56px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 24px;
    color: #fff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.carousel-content p {
    font-size: 20px;
    margin-bottom: 32px;
    color: #fff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.carousel-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.carousel-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel-indicators {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 16px;
    z-index: 3;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator.active,
.indicator:hover {
    background-color: #fff;
    transform: scale(1.2);
}

.carousel-arrows {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 40px;
    z-index: 3;
}

.arrow-prev,
.arrow-next {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.2);
    border: none;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.arrow-prev:hover,
.arrow-next:hover {
    background-color: rgba(255, 255, 255, 0.5);
    transform: scale(1.1);
}

/* 产品优势样式 */
.features-section {
    padding: 120px 0;
    background-color: #fafafa;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.feature-item {
    text-align: center;
    padding: 40px 20px;
    background-color: #fff;
    border-radius: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.feature-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: #f0f7ff;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    font-size: 32px;
    color: #0071e3;
}

.feature-item h4 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 16px;
    color: #111;
}

.feature-item p {
    font-size: 16px;
    color: #666;
    line-height: 1.7;
}

/* 公司简介样式 */
.about-section {
    padding: 120px 0;
    background-color: #fff;
}

.about-content {
    display: flex;
    align-items: center;
    gap: 80px;
}

.about-text {
    flex: 1;
}

.about-text .section-header {
    text-align: left;
    margin-bottom: 40px;
}

.about-text .section-header h3 {
    margin-bottom: 16px;
}

.about-text .section-header p {
    margin: 0;
}

.about-paragraphs {
    margin-bottom: 40px;
}

.about-paragraphs p {
    font-size: 16px;
    color: #666;
    line-height: 1.8;
    margin-bottom: 20px;
}

.about-stats {
    display: flex;
    gap: 40px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 40px;
    font-weight: 700;
    color: #0071e3;
    margin-bottom: 8px;
}

.stat-text {
    display: block;
    font-size: 14px;
    color: #666;
}

.about-image {
    flex: 1;
    position: relative;
}

.about-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* 产品中心样式 */
.products-section {
    padding: 120px 0;
    background-color: #fafafa;
}

.products-tabs {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 60px;
    flex-wrap: wrap;
}

.tab-btn {
    padding: 12px 32px;
    background-color: transparent;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 500;
    color: #666;
    cursor: pointer;
    transition: all 0.3s ease;
}

.tab-btn:hover {
    border-color: #0071e3;
    color: #0071e3;
}

.tab-btn.active {
    background-color: #0071e3;
    border-color: #0071e3;
    color: #fff;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 60px;
}

.product-item {
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.product-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.product-image {
    position: relative;
    overflow: hidden;
    height: 250px;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-item:hover .product-image img {
    transform: scale(1.05);
}

.product-info {
    padding: 24px;
}

.product-info h4 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 16px;
    color: #111;
}

.product-info p {
    font-size: 16px;
    color: #666;
    line-height: 1.7;
    margin-bottom: 24px;
}

.view-more {
    text-align: center;
}

/* 解决方案样式 */
.solutions-section {
    padding: 120px 0;
    background-color: #fff;
}

.solutions-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.solution-item {
    background-color: #fafafa;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.solution-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.solution-image {
    position: relative;
    overflow: hidden;
    height: 250px;
}

.solution-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.solution-item:hover .solution-image img {
    transform: scale(1.05);
}

.solution-info {
    padding: 24px;
}

.solution-info h4 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 16px;
    color: #111;
}

.solution-info p {
    font-size: 16px;
    color: #666;
    line-height: 1.7;
    margin-bottom: 24px;
}

/* 成功案例样式 */
.cases-section {
    padding: 120px 0;
    background-color: #fafafa;
}

.cases-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.case-item {
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.case-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

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

.case-item:hover img {
    transform: scale(1.05);
}

.case-info {
    padding: 20px;
}

.case-info h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #111;
}

.case-info p {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}

/* 新闻中心样式 */
.news-section {
    padding: 120px 0;
    background-color: #fff;
}

.news-content {
    display: flex;
    gap: 60px;
}

.news-main {
    flex: 2;
}

.news-main-item {
    background-color: #fafafa;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.news-main-item:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.news-main-item img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.news-main-item:hover img {
    transform: scale(1.02);
}

.news-main-info {
    padding: 32px;
}

.news-date {
    display: inline-block;
    padding: 6px 12px;
    background-color: #f0f7ff;
    color: #0071e3;
    font-size: 14px;
    font-weight: 500;
    border-radius: 4px;
    margin-bottom: 16px;
}

.news-main-info h4 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #111;
    line-height: 1.4;
}

.news-main-info p {
    font-size: 16px;
    color: #666;
    line-height: 1.8;
    margin-bottom: 24px;
}

.news-sidebar {
    flex: 1;
}

.news-list {
    background-color: #fafafa;
    border-radius: 8px;
    padding: 24px;
}

.news-item {
    padding: 20px 0;
    border-bottom: 1px solid #eee;
    transition: all 0.3s ease;
}

.news-item:last-child {
    border-bottom: none;
}

.news-item:hover {
    transform: translateX(10px);
}

.news-item .news-date {
    margin-bottom: 10px;
    font-size: 12px;
    padding: 4px 8px;
}

.news-item h5 a {
    text-decoration: none;
    color: #111;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.5;
    transition: color 0.3s ease;
}

.news-item h5 a:hover {
    color: #0071e3;
}

/* 页脚样式 */
.footer {
    background-color: #111;
    color: #fff;
    padding: 100px 0 40px;
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-logo h2 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 16px;
    color: #fff;
}

.footer-logo p {
    font-size: 16px;
    color: #888;
    margin-bottom: 24px;
    line-height: 1.7;
}

.footer-social {
    display: flex;
    gap: 16px;
}

.footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    color: #fff;
    font-size: 18px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background-color: #0071e3;
    transform: translateY(-3px);
}

.footer-links h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 24px;
    color: #fff;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 16px;
}

.footer-links a {
    text-decoration: none;
    color: #888;
    font-size: 16px;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: #0071e3;
    padding-left: 8px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-copyright p {
    font-size: 14px;
    color: #888;
}

.footer-bottom-links {
    display: flex;
    gap: 24px;
}

.footer-bottom-links a {
    text-decoration: none;
    color: #888;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-bottom-links a:hover {
    color: #0071e3;
}

/* 回到顶部按钮 */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #0071e3;
    color: #fff;
    border: none;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
    z-index: 1000;
}

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

.back-to-top:hover {
    background-color: #005bb5;
    transform: translateY(-5px);
}

/* 动画效果 */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

/* 滚动动画类 */
.fade-in {
    animation: fadeIn 0.8s ease forwards;
}

.slide-up {
    animation: slideUp 0.8s ease forwards;
}

.scale-in {
    animation: scaleIn 0.8s ease forwards;
}

/* 延迟动画 */
.delay-100 {
    animation-delay: 0.1s;
}

.delay-200 {
    animation-delay: 0.2s;
}

.delay-300 {
    animation-delay: 0.3s;
}

.delay-400 {
    animation-delay: 0.4s;
}

.delay-500 {
    animation-delay: 0.5s;
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .products-grid,
    .solutions-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .cases-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-top {
        grid-template-columns: 2fr 1fr 1fr;
        gap: 40px;
    }
    
    .carousel-content h2 {
        font-size: 48px;
    }
    
    .carousel-content p {
        font-size: 18px;
    }
}

@media (max-width: 992px) {
    .navbar .container {
        padding: 16px 20px;
    }
    
    .nav-links {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .about-content {
        flex-direction: column;
        gap: 60px;
    }
    
    .news-content {
        flex-direction: column;
        gap: 40px;
    }
    
    .section-header h3 {
        font-size: 32px;
    }
    
    .carousel-content {
        padding-left: 5%;
    }
    
    .carousel-content h2 {
        font-size: 40px;
    }
    
    .carousel-content p {
        font-size: 16px;
    }
}

@media (max-width: 768px) {
    .products-grid,
    .solutions-grid {
        grid-template-columns: 1fr;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .cases-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-top {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
    
    .about-stats {
        flex-wrap: wrap;
        gap: 20px;
    }
    
    .section-header {
        margin-bottom: 40px;
    }
    
    .section-header h3 {
        font-size: 28px;
    }
    
    .carousel-content h2 {
        font-size: 36px;
    }
    
    .carousel-section {
        height: 80vh;
    }
    
    .carousel-arrows {
        padding: 0 20px;
    }
    
    .arrow-prev,
    .arrow-next {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }
    
    .section-header p {
        font-size: 14px;
    }
}

@media (max-width: 576px) {
    .container {
        padding: 0 16px;
    }
    
    .footer-top {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .carousel-content h2 {
        font-size: 32px;
    }
    
    .carousel-content p {
        font-size: 14px;
    }
    
    .btn-primary {
        padding: 10px 24px;
        font-size: 14px;
    }
    
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
}