/* 灰度颜色值 */
:root {
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;
}

/* 基础样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'PingFang SC', 'Microsoft YaHei', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f5f7fa;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    text-decoration: none;
    color: #333;
}

ul {
    list-style: none;
}

/* 头部样式 */
header {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

header .container {
    max-width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 70px;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 40px;
    margin-right: 10px;
}

.logo-text {
    font-size: 24px;
    font-weight: 700;
    color: #1677ff;
    background: linear-gradient(90deg, #1677ff, #4096ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

nav ul {
    display: flex;
    align-items: center;
}

nav ul li {
    margin-left: 20px;
}

nav ul li a {
    padding: 8px 15px;
    border-radius: 5px;
    transition: all 0.3s ease;
    font-weight: 500;
}

nav ul li a:hover, nav ul li a.active {
    background-color: #1677ff;
    color: #fff;
}

.header-contact .contact-btn {
    padding: 8px 20px;
    background-color: #1677ff;
    color: #fff;
    border-radius: 5px;
    transition: all 0.3s ease;
    font-weight: 500;
}

.header-contact .contact-btn:hover {
    background-color: #0958d9;
}

/* 英雄区域样式 */
.hero {
    position: relative;
    width: 100%;
    height: auto;
}

.banner-swiper {
    width: 100%;
    height: auto;
}

.swiper-slide {
    position: relative;
    width: 100%;
    height: auto;
    aspect-ratio: 2993/1043; /* 期望的图片尺寸比例 */
}

.swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.swiper-content {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    text-align: left;
    color: #333;
    z-index: 2;
    padding: 0 20px;
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 25%;
    max-width: none;
}

.swiper-content h1 {
    font-size: 42px;
    margin-bottom: 20px;
    font-weight: 600;
    color: #333;
}

.swiper-content-label {
    font-size: 18px;
    font-weight: 800;
    margin-bottom: 10px;
    opacity: 0.8;
    line-height: 1.6;
    color: var(--gray-700);
}
.swiper-content-desc {
    font-size: 18px;
    margin-bottom: 10px;
    opacity: 0.8;
    line-height: 1.6;
    color: var(--gray-700);
}

.swiper-btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: #1677ff;
    color: #fff;
    border-radius: 5px;
    font-weight: 500;
    font-size: 16px;
    transition: all 0.3s ease;
    margin-top: 20px;
    border: 2px solid #1677ff;
    text-shadow: none;
}

.swiper-btn:hover {
    background-color: #0958d9;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.swiper-pagination {
    position: absolute;
    bottom: 20px;
    left: 0;
    width: 100%;
}

.swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.5);
    opacity: 1;
}

.swiper-pagination-bullet-active {
    background: #1677ff;
}

/* 应用中心样式 */
.section-title {
    text-align: center;
    margin-bottom: 40px;
    font-size: 30px;
    color: #1e293b;
    font-weight: 600;
}

.app-center {
    padding: 80px 0;
    background-color: #fff;
}

.app-tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.tab {
    padding: 10px 20px;
    margin: 0 10px 10px;
    border-radius: 20px;
    background-color: #f0f5ff;
    color: #1677ff;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.tab.active, .tab:hover {
    background-color: #1677ff;
    color: #fff;
}

.app-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
}

.app-card {
    background-color: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #eaeaea;
}

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

.app-image {
    height: 160px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f5f7fa;
}

.app-image img {
    width: 80px;
    height: 80px;
    object-fit: contain;
}

.app-info {
    padding: 20px;
}

.app-info h3 {
    margin-bottom: 10px;
    font-size: 18px;
    font-weight: 600;
    color: #1e293b;
}

.app-info p {
    color: #64748b;
    margin-bottom: 15px;
    font-size: 14px;
    line-height: 1.5;
    height: 60px;
    overflow: hidden;
}

.app-tags {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 15px;
}

.app-tag {
    background-color: #f0f5ff;
    color: #1677ff;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 12px;
    margin-right: 8px;
    margin-bottom: 8px;
}

.app-link {
    display: inline-block;
    background-color: #1677ff;
    color: #fff;
    padding: 8px 15px;
    border-radius: 5px;
    font-size: 14px;
    transition: background-color 0.3s ease;
    width: 100%;
    text-align: center;
}

.app-link:hover {
    background-color: #0958d9;
}

/* 应用场景样式 */
.app-scenarios {
    margin-top: 60px;
    padding: 40px 0;
}

.scenarios-nav {
    text-align: center;
    margin-bottom: 30px;
}

.scenarios-nav-list {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    list-style: none;
}

.scenarios-nav-item {
    padding: 10px 20px;
    margin: 0 10px 10px;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    background-color: #f0f2f5;
    font-weight: 500;
}

.scenarios-nav-item:hover,
.scenarios-nav-item.active {
    background-color: #1677ff;
    color: #fff;
}

.scenarios-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.scenario-detail {
    display: none;
    width: 100%;
    text-align: center;
}

.scenario-detail.active {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
}

.scenario-text {
    flex: 1;
    min-width: 300px;
    text-align: left;
    padding: 20px;
}

.scenario-text h3 {
    font-size: 24px;
    margin-bottom: 20px;
    color: #1e293b;
}

.scenario-text p {
    font-size: 16px;
    margin-bottom: 20px;
    color: #64748b;
    line-height: 1.6;
}

.scenario-text ul {
    list-style: none;
    padding: 0;
}

.scenario-text ul li {
    padding: 8px 0;
    position: relative;
    padding-left: 20px;
}

.scenario-text ul li::before {
    content: "✓";
    color: #1677ff;
    position: absolute;
    left: 0;
    font-weight: bold;
}

.scenario-image {
    flex: 1;
    min-width: 300px;
    padding: 20px;
}

.scenario-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* 企业应用解决方案样式 */
.enterprise {
    padding: 80px 0;
    background-color: #f5f7fa;
}

.solution-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
}

.solution-card {
    background-color: #fff;
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.solution-icon {
    width: 70px;
    height: 70px;
    background-color: #f0f5ff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.solution-icon i {
    font-size: 30px;
    color: #1677ff;
}

.solution-card h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: #1e293b;
    font-weight: 600;
}

.solution-card p {
    color: #64748b;
    font-size: 14px;
    line-height: 1.6;
}

/* 关于我们区域样式 */
.about {
    padding: 80px 0;
    background-color: #fff;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

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

.about .mission {
    background: #FBFBFB;
    height: 356px;
    width: 100%;
    position: relative;
    margin-top: 96px;
    padding: 60px 96px;
    box-sizing: border-box;
}

.about .mission .l-mess {
    float: left;
}
.about .mission .l-mess .label {
    font-size: 30px;
    color: #2A2E2E;
    letter-spacing: 0;
    font-family: 'TencentSansw7';
}
.about .mission .r-mess {
    float: right;
    width: 700px;
    height: 250px;
    position: relative;
}
.about .mission .r-mess:before {
    content: ' ';
    width: 1px;
    position: absolute;
    left: -60px;
    top: 0;
    display: block;
    bottom: 0;
    background: #D8D9DC;
}
.about .mission .r-mess .label {
    font-size: 20px;
    color: #2A2E2E;
    letter-spacing: 0;
    line-height: 36px;
}
.about .mission .r-mess .desc {
    font-size: 14px;
    color: #5F6464;
    letter-spacing: 0;
    line-height: 25px;
    margin-top: 16px;
}
.about .mission .line {
    width: 1px;
    height: 189px;
    background: #D8D9DC;
    position: absolute;
    left: 55.24%;
    top: 67px;
    display: none;
}
/* 页脚样式 */
footer {
    background-color: #1e293b;
    color: #fff;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.footer-logo h3 {
    font-size: 24px;
    margin-bottom: 10px;
    color: #fff;
}

.footer-links h4, .footer-contact h4 {
    margin-bottom: 15px;
    font-size: 18px;
    color: #fff;
}

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

.footer-links ul li a {
    color: #94a3b8;
    transition: color 0.3s ease;
}

.footer-links ul li a:hover {
    color: #1677ff;
}

.footer-contact p {
    color: #94a3b8;
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #334155;
    color: #94a3b8;
    font-size: 14px;
}

/* 响应式设计 */
@media (max-width: 768px) {
    header .container {
        flex-direction: column;
    }
    
    nav ul {
        margin-top: 15px;
    }
    
    .hero h2 {
        font-size: 28px;
    }
    
    .hero p {
        font-size: 16px;
    }
    
    .section-title {
        font-size: 24px;
    }
    
    .app-tabs {
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 10px;
    }
    
    .scenario-detail.active {
        flex-direction: column;
    }
    
    .scenario-text,
    .scenario-image {
        min-width: 100%;
    }
}

@media (max-width: 576px) {
    nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    nav ul li {
        margin: 5px;
    }
    
    .search-box {
        flex-direction: column;
    }
    
    .search-box input, .search-box button {
        border-radius: 5px;
        width: 100%;
    }
    
    .search-box button {
        margin-top: 10px;
    }
    
    .solution-cards {
        grid-template-columns: 1fr;
    }
}