/* 通用样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

body {
    color: #333;
    background: #fff;
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

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

.btn {
    display: inline-block;
    padding: 8px 20px;
    border-radius: 4px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-primary {
    background: #1677ff;
    color: #fff;
}

.btn-light {
    background: #fff;
    color: #1677ff;
    border: 1px solid #1677ff;
}

.section-title {
    text-align: center;
    margin: 60px 0 40px;
}

.section-title h2 {
    font-size: 24px;
    color: #165DFF;
    margin-bottom: 10px;
}

.section-title p {
    font-size: 14px;
    color: #666;
}

/* 导航 */
header {
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.logo {
    font-size: 22px;
    font-weight: 600;
    color: #1677ff;
}

.logo img { 
    width: 100px;
    margin-right: 10px;
}

.nav-menu {
    display: flex;
}

.nav-menu > li {
    position: relative;
    padding: 0 24px;
    line-height: 70px;
}

.nav-menu > li.active {
   color: #1677ff;
}

.nav-menu > li.active ::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: #1677ff;
}

.nav-menu > li > a {
    font-size: 15px;
}

.nav-menu > li:hover > a {
    color: #1677ff;
}

.nav-dropdown {
    position: absolute;
    left: 0;
    top: 70px;
    width: 160px;
    background: #fff;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    border-radius: 4px;
    display: none;
    overflow: hidden;
}

.nav-dropdown li {
    line-height: 46px;
    text-align: center;
}

.nav-dropdown li a {
    display: block;
    font-size: 14px;
}

.nav-dropdown li a:hover {
    background: #f5f8ff;
    color: #1677ff;
}

.nav-menu > li:hover .nav-dropdown {
    display: block;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.phone {
    font-size: 14px;
    color: #666;
}

/* 页脚 */
footer {
    background: #1d2a4d;
    color: #fff;
    padding: 60px 40px 30px;
    margin-top: 60px;
}

.footer-container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    padding: 0 20px;
}

.footer-column h4 {
    font-size: 16px;
    margin-bottom: 20px;
    position: relative;
}

.footer-column h4::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 30px;
    height: 2px;
    background: #1677ff;
}

.footer-column ul {
    padding: 0;
    margin: 0;
}

.footer-column ul li {
    list-style: none;
    margin-bottom: 10px;
}

.footer-column ul li a {
    color: #a3a3a3;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.footer-column ul li a:hover {
    color: #fff;
}

.footer-contact p {
    color: #a3a3a3;
    margin-bottom: 15px;
    font-size: 14px;
}

.footer-bottom {
    max-width: 1200px;
    width: 100%;
    margin: 30px auto 0;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: #a3a3a3;
    font-size: 14px;
    text-align: center;
}

@media (max-width: 992px) {
    .footer-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
        padding: 0 20px;
    }
    
    .footer-bottom {
        padding: 0 20px;
    }
}

/* 正文内容样式 */

/* banner 样式 */
.hero {
    background: linear-gradient(180deg, #aab7d6 0%, #bbc9e9 100%);
    color: white;
    padding: 40px 0;
}

.hero-banner {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.5);
    
}

.hero-banner img {
    width: 100%;
    display: block;
    opacity: 0.8;
    height: auto;
    object-fit: cover;
}

.banner-content {
    position: absolute;
    top: 50%;
    left: 40px;
    transform: translateY(-50%);
    z-index: 2;
    color: #fff;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.banner-content h1 {
    font-size: 32px;
    margin-bottom: 15px;
}

.banner-content p {
    font-size: 16px;
    margin-bottom: 25px;
    opacity: 0.9;
}

.hero-banner .overlay { 
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0,0,0,0.2);
    z-index: 1;
    pointer-events: none;
}

.hero-stats {
    display: flex;
    justify-content: space-around;
    background-color: white;
    border-radius: 0 0 12px 12px;
    padding: 20px 0;
    margin-top: -4px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.5);
}

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

.stat-number {
    font-size: 28px;
    font-weight: bold;
    color: #165DFF; /* 使用CSS变量替代var(--primary) */
}

.stat-label {
    font-size: 14px;
    color: #4E5969; /* 使用CSS变量替代var(--gray) */
}

.stat-icon {
    width: 32px;
    height: 32px;
    margin-bottom: 8px;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
    transition: transform 0.3s ease;
}

.stat-icon:hover {
    transform: scale(1.1);
}

.brand-clients {
    padding: 40px 0;
    text-align: center;
}

.brand-clients-title {
    font-size: 18px;
    margin-bottom: 8px;
    color: #1D2129; /* 使用CSS变量替代var(--dark) */
}

.brand-clients-subtitle {
    font-size: 14px;
    color: #4E5969; /* 使用CSS变量替代var(--gray) */
    margin-bottom: 24px;
}

.brand-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
    opacity: 0.8;
}

/* 方案模块 */
.solutions {
    padding: 60px 0;
    background: #fff;
}

.solution-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    padding: 0 20px;
}

.solution-card {
    border: 1px solid #eee;
    border-radius: 8px;
    overflow: hidden;
    transition: box-shadow 0.3s;
    background: #fff;
}

.solution-card:hover {
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}

.solution-image {
    height: 180px;
    background: #f5f7fa;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
}

.solution-content {
    padding: 25px;
}

.solution-content h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: #1D2129;
}

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

/* 客户模块列表 */
.clients-section {
    padding: 60px 0;
    background: #f8fafc;
}

.client-list-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    padding: 0 20px;
}

.client-item-card {
    text-align: center;
    padding: 30px 20px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.client-logo-box {
    width: 80px;
    height: 80px;
    margin: 0 auto 15px;
    background: #f5f7fa;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #1677ff;
}

/* 优势模块样式 */
.advantages-section {
    padding: 80px 0;
    background-color: #FFFFFF; /* 使用CSS变量替代var(--white) */
}

.advantages-header {
    text-align: center;
    margin-bottom: 60px;
}

.advantages-header h2 {
    font-size: 36px;
    color: #1D2129; /* 使用CSS变量替代var(--dark) */
    margin-bottom: 15px;
    font-weight: 500;
}

.advantages-header p {
    font-size: 20px;
    color: #4E5969; /* 使用CSS变量替代var(--gray) */
}

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

.advantage-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.advantage-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
    color: #4E5969; /* 使用CSS变量替代var(--gray) */
}

.advantage-title {
    font-size: 24px;
    color: #1a3b75;
    font-weight: 500;
    margin-bottom: 20px;
}

.advantage-desc {
    font-size: 16px;
    color: #4E5969; /* 使用CSS变量替代var(--gray) */
    line-height: 1.8;
    text-align: left;
}

/* 产品模块样式 */
.core-products {
    background-color: #FFFFFF; /* 使用CSS变量替代var(--white) */
    padding: 60px 0;
}

.products-header {
    text-align: center;
    margin-bottom: 40px;
}

.products-header h2 {
    font-size: 28px;
    color: #1D2129; /* 使用CSS变量替代var(--dark) */
    margin-bottom: 10px;
}

.products-header p {
    font-size: 14px;
    color: #4E5969; /* 使用CSS变量替代var(--gray) */
}

.products-tabs {
    display: flex;
    justify-content: center;
    gap: 60px;
    border-bottom: 1px solid #eee;
    margin-bottom: 40px;
    overflow-x: auto;
}

.products-tab {
    padding: 15px 0;
    font-size: 16px;
    color: #4E5969; /* 使用CSS变量替代var(--gray) */
    cursor: pointer;
    position: relative;
    white-space: nowrap;
    transition: color 0.3s;
}

.products-tab.active {
    color: #3b6cf5; /* 使用CSS变量替代var(--orange) */
}

.products-tab.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #3b6cf5; /* 使用CSS变量替代var(--orange) */
}

.products-content {
    display: flex;
    align-items: center;
    gap: 60px;
    min-height: 350px;
}

.product-illustration {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.product-illustration img {
    max-width: 100%;
    height: auto;
}

.product-info {
    flex: 1;
}

.product-info h3 {
    font-size: 24px;
    color: #1D2129; /* 使用CSS变量替代var(--dark) */
    margin-bottom: 20px;
}

.product-info .desc {
    font-size: 14px;
    color: #4E5969; /* 使用CSS变量替代var(--gray) */
    line-height: 1.8;
    margin-bottom: 30px;
}

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

.feature-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #4E5969; /* 使用CSS变量替代var(--gray) */
}

.feature-item::before {
    content: '•';
    color: #1D2129; /* 使用CSS变量替代var(--dark) */
    font-weight: bold;
}

.demo-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 30px;
    border: 1px solid #4E5969; /* 使用CSS变量替代var(--gray) */
    border-radius: 6px;
    background-color: #FFFFFF; /* 使用CSS变量替代var(--white) */
    color: #1D2129; /* 使用CSS变量替代var(--dark) */
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s;
}

.demo-btn:hover {
    border-color: #3b6cf5; /* 使用CSS变量替代var(--orange) */
    color: #3b6cf5; /* 使用CSS变量替代var(--orange) */
}

/* 响应式适配 */
@media (max-width: 992px) {
    .products-content {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }
    .product-features {
        grid-template-columns: repeat(2, 1fr);
    }
    .demo-btn {
        margin: 0 auto;
    }
    .advantages-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .advantages-grid {
        grid-template-columns: 1fr;
    }
    .advantages-header h2 {
        font-size: 28px;
    }
    .advantages-header p {
        font-size: 16px;
    }
}