/* 基础样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Microsoft YaHei", Arial, sans-serif;
}

body {
    background-color: #f5f5f5;
    color: #333;
    line-height: 1.6;
}

/* 头部样式 */
header {
    background-color: #1a5276;
    color: white;
    padding: 15px 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1); /* 可选：轻微阴影增强层次感 */
}

.header-container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100px; /* 新增固定高度，原高度由内容撑开 */
    padding: 0 20px; /* 增加左右内边距避免内容贴边 */
}

.logo {
    font-size: 30px;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 15px; /* 替代 margin-right，更现代的间距方式 */
}

.logo img {
    height: 50px;
    margin-right: 10px;
}

.contact {
    text-align: right;
}

.contact h2 {
    font-size: 18px;
    margin-bottom: 5px;
}

.contact p {
    font-size: 16px;
}

/* 导航样式 */
nav {
    background-color: #2980b9;
}

.nav-container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.nav-menu {
    display: flex;
    list-style: none;
}

.nav-menu li {
    padding: 15px 20px;
}

.nav-menu li a {
    color: white;
    text-decoration: none;
    font-size: 25px;
}

.nav-menu li:hover {
    background-color: #3498db;
}

/* Banner样式 */
/* 轮播图基础样式 */
.banner {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: #f0f0f0; /* 加载时的背景色，与主色调协调 */
}

.slideshow-container {
    max-width: 100%;
    position: relative;
    margin: auto;
    max-width: 1200px; /* 严格限制最大宽度 */
    aspect-ratio: 3/1; /* 保持3:1宽高比 (1200:400) */
}

.mySlides {
    display: none;
    position: relative;
    width: 100%;
    height: 100%; /* 继承容器高度 */
}

.mySlides img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center; /* 确保重点内容始终可见 */
    vertical-align: bottom; /* 消除图片底部间隙 */
}


/* ===== 响应式处理 ===== */
@media (max-width: 1200px) {
    .slideshow-container {
        aspect-ratio: unset; /* 小屏解除固定比例 */
        height: auto;
        min-height: 300px; /* 保持最小高度 */
    }
    
    .mySlides {
        height: 33.33vw; /* 保持宽高比 (高度=宽度/3) */
    }
}

@media (max-width: 768px) {
    .mySlides {
        height: 50vw; /* 移动端适当增加高度占比 */
    }
}



/* 移除原来的文字内容样式 */
.slide-content {
    display: none; /* 完全隐藏文字容器 */
}

/* 图片链接样式 */
.slide-link {
    display: block;
    position: relative;
    width: 100%;
    height: 100%;
}

.slide-link img {
    width: 100%;
    height: auto;
    display: block;
}

/* 保持轮播图高度一致 */
.mySlides {
    height: 400px; /* 固定高度，根据需求调整 */
    overflow: hidden;
}

/* 箭头和圆点提升层级 */
.prev, .next, .dots-container {
    position: absolute;
    z-index: 10;
}

/* 按钮样式 */
.btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: #007bff;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.btn:hover {
    background-color: #0056b3;
}

/* 导航箭头 */
.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -22px;
    color: white;
    font-weight: bold;
    font-size: 18px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
    background-color: rgba(0, 0, 0, 0.3);
}

.next {
    right: 0;
    border-radius: 3px 0 0 3px;
}

.prev:hover, .next:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

/* 圆点指示器 */
.dots-container {
    text-align: center;
    position: absolute;
    bottom: 20px;
    width: 100%;
}

.dot {
    cursor: pointer;
    height: 15px;
    width: 15px;
    margin: 0 5px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.6s ease;
}

.active, .dot:hover {
    background-color: #717171;
}

/* 淡入动画 */
.fade {
    animation-name: fade;
    animation-duration: 1.5s;
}

@keyframes fade {
    from {opacity: .4}
    to {opacity: 1}
}

/* 按钮样式 */
.btn {
    display: inline-block;
    background-color: #e74c3c;
    color: white;
    padding: 10px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s;
}

.btn:hover {
    background-color: #c0392b;
    transform: translateY(-2px);
}

/* 容器样式 */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 30px auto;
}

.section-title {
    text-align: center;
    margin-bottom: 30px;
    color: #1a5276;
    font-size: 28px;
    position: relative;
    padding-bottom: 15px;
}

.section-title:after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: #e74c3c;
}

/* 产品卡片样式 */
.products {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.product-card {
    background-color: white;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    transition: all 0.3s;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.product-img {
    height: 300px;
    background-color: #eee;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-img img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.product-info {
    padding: 20px;
}

.product-title {
    font-size: 18px;
    margin-bottom: 10px;
    color: #1a5276;
}

.product-desc {
    color: #666;
    margin-bottom: 15px;
    font-size: 14px;
}

/* 新闻和下载区域样式 */
.news-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 50px;
}

.news-section {
    background-color: white;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.news-section h3 {
    color: #1a5276;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.news-list {
    list-style: none;
}

.news-item_index {
    padding: 10px 0;
    border-bottom: 1px dashed #eee;
}

.news-item_index:last-child {
    border-bottom: none;
}

.news-item_index a {
    color: #333;
    text-decoration: none;
    display: block;
}

.news-item_index a:hover {
    color: #e74c3c;
}

.news-date {
    color: #999;
    font-size: 12px;
    margin-right: 10px;
}

.download-list {
    list-style: none;
}


.download-item a {
    color: #333;
    text-decoration: none;
    display: block;
}

.download-item a:hover {
    color: #e74c3c;
}

.more-link {
    text-align: right;
    margin-top: 15px;
}

.more-link a {
    color: #2980b9;
    text-decoration: none;
    font-size: 14px;
}

.more-link a:hover {
    text-decoration: underline;
}

/* 页脚样式 */
footer {
    background-color: #1a5276;
    color: white;
    padding: 30px 0;
    text-align: center;
}

.footer-container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-links {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.footer-links a {
    color: white;
    margin: 0 15px;
    text-decoration: none;
}

.footer-links a:hover {
    text-decoration: underline;
}

.copyright {
    font-size: 14px;
    color: rgba(255,255,255,0.7);
}

/* 关于页面样式 */
.about-content {
    background-color: white;
    padding: 30px;
    border-radius: 5px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.about-content h3 {
    color: #1a5276;
    margin: 20px 0 10px;
}

.about-content ul {
    margin-left: 20px;
    margin-bottom: 20px;
}

.about-content p {
    margin-bottom: 15px;
}

/* 产品详情页样式 */
.product-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    background-color: white;
    padding: 30px;
    border-radius: 5px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    margin-bottom: 30px;
}

.product-detail-img {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f9f9f9;
    padding: 20px;
    border-radius: 5px;
}

.product-detail-img img {
    max-width: 100%;
    max-height: 400px;
    object-fit: contain;
}

.product-detail-info h3 {
    color: #1a5276;
    margin-bottom: 15px;
    font-size: 24px;
}

.product-detail-info .price {
    font-size: 22px;
    color: #e74c3c;
    font-weight: bold;
    margin: 15px 0;
}

.product-specs {
    margin: 20px 0;
}

.product-specs h4 {
    color: #1a5276;
    margin-bottom: 10px;
}

.product-specs ul {
    list-style: none;
}

.product-specs li {
    padding: 5px 0;
    border-bottom: 1px dashed #eee;
}

.product-actions {
    margin-top: 20px;
}

/* 联系我们页面样式 */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.contact-info {
    background-color: white;
    padding: 30px;
    border-radius: 5px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.contact-info h3 {
    color: #1a5276;
    margin-bottom: 20px;
}

.contact-info p {
    margin-bottom: 15px;
}

.contact-info ul {
    list-style: none;
    margin-top: 20px;
}

.contact-info li {
    padding: 10px 0;
    border-bottom: 1px dashed #eee;
    display: flex;
    align-items: center;
}

.contact-info li i {
    margin-right: 10px;
    color: #2980b9;
}

.contact-form {
    background-color: white;
    padding: 30px;
    border-radius: 5px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.contact-form h3 {
    color: #1a5276;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    color: #666;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
}

.form-group textarea {
    height: 120px;
    resize: vertical;
}

.map-container {
    margin-top: 30px;
    height: 300px;
    background-color: #eee;
    border-radius: 5px;
    overflow: hidden;
}

/* about.html */
/* 工作室介绍页专属样式 */
.about-content {
    line-height: 1.8;
    max-width: 900px;
    margin: 0 auto;
}

.product-highlight {
    display: flex;
    gap: 30px;
    margin: 25px 0;
}

.product-item {
    flex: 1;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #007bff;
}

.feature-list {
    list-style: none;
    padding: 0;
}

.feature-list li {
    padding: 8px 0;
    display: flex;
    align-items: center;
}

.icon-check {
    display: inline-block;
    width: 20px;
    height: 20px;
    background: url(../images/icon-check.svg) no-repeat;
    margin-right: 10px;
}

.tech-roadmap {
    position: relative;
    padding-left: 30px;
    margin: 30px 0;
}

.roadmap-item {
    position: relative;
    padding-bottom: 30px;
}

.roadmap-item:before {
    content: "";
    position: absolute;
    left: -30px;
    top: 0;
    width: 2px;
    height: 100%;
    background: #dee2e6;
}

.roadmap-item:last-child:before {
    height: 20px;
}

.year {
    position: absolute;
    left: -40px;
    top: 0;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #007bff;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
}

blockquote {
    border-left: 4px solid #007bff;
    padding-left: 20px;
    margin: 25px 0;
    font-style: italic;
    color: #555;
}

@media (max-width: 768px) {
    .product-highlight {
        flex-direction: column;
    }
}

.keywords {
    color: #e74c3c;
    font-weight: bold;
    letter-spacing: 1px;
}

/* 新闻页面 */
/* 基础样式 */
.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
}

.breadcrumb {
    color: #666;
    font-size: 14px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

/* 新闻列表样式 */
.news-list-container {
    margin-bottom: 40px;
}

.news-item {
    display: flex;
    padding: 20px 0;
    border-bottom: 1px solid #eee;
}

.news-date {
    width: 120px;
    color: #004499;
    font-size: 15px;
    padding-right: 20px;
    font-weight: bold; /* 加粗显示 */
}

.news-content {
    flex: 1;
}

.news-content h4 {
    margin: 0 0 10px 0;
    font-size: 18px;
    color: #333;
    font-weight: normal;
    font-weight: bold; /* 加粗显示 */
}

.news-content p {
    margin: 5px 0 10px 0;
    color: #666;
    font-size: 14px;
    line-height: 1.6;
    
}

.news-detail-link {
    text-align: right;
}

.news-detail-link a {
    color: #0066cc;
    text-decoration: none;
    font-size: 14px;
}

.news-detail-link a:hover {
    text-decoration: underline;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .container {
        padding: 15px;
    }
    
    .news-item {
        flex-direction: column;
        padding: 15px 0;
    }
    
    .news-date {
        width: 120px;
        color: #0066cc;  /* 蓝色文字 */
        font-size: 15px;
        padding-right: 20px;
        transition: color 0.3s;  /* 添加过渡效果使颜色变化更平滑 */
    }
    
    .news-content h4 {
        font-size: 16px;
    }
    
    .news-detail-link {
        text-align: left;
        margin-top: 10px;
    }
}


/* 产品页面 */
/* 分页容器 */
.pagination {
    display: flex;
    justify-content: center;
    margin: 40px 0;
    gap: 8px;
    font-family: 'Arial', sans-serif;
}

/* 分页按钮基础样式 */
.page-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 16px;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    color: #333;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    min-width: 36px;
    height: 36px;
    box-sizing: border-box;
}

/* 普通按钮悬停效果 */
.page-btn:not(.active):hover {
    background-color: #f5f5f5;
    border-color: #d0d0d0;
    color: #0066cc;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

/* 当前活动页样式 */
.page-btn.active {
    background-color: #0066cc;
    color: white;
    border-color: #0066cc;
    font-weight: 600;
    box-shadow: 0 2px 6px rgba(0,102,204,0.2);
}

/* 下一页按钮特殊样式 */
.page-btn:last-child {
    padding: 8px 12px;
    background-color: #f8f8f8;
}

.page-btn:last-child:hover {
    background-color: #eaeaea;
}

/* 禁用状态（可选） */
.page-btn.disabled {
    color: #aaa;
    pointer-events: none;
    background-color: #f8f8f8;
}

/* 响应式调整 */
@media (max-width: 480px) {
    .pagination {
        gap: 4px;
    }
    
    .page-btn {
        padding: 6px 10px;
        min-width: 32px;
        height: 32px;
        font-size: 13px;
    }
    
    .page-btn:last-child {
        padding: 6px 8px;
    }
}

/* 产品页面 顶部按钮 */
/* 产品分类容器 */
.product-categories {
    display: flex;
    gap: 12px;
    margin: 30px 0;
    flex-wrap: wrap;
}

/* 分类按钮基础样式 */
.category-btn {
    padding: 10px 24px;
    border: none;
    border-radius: 30px; /* 胶囊形状 */
    background-color: #f5f5f5;
    color: #555;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    position: relative;
    overflow: hidden;
}

/* 悬停效果 */
.category-btn:hover:not(.active) {
    background-color: #e0e0e0;
    color: #333;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

/* 激活状态 */
.category-btn.active {
    background-color: #0066cc;
    color: white;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(0,102,204,0.2);
}

/* 激活状态下的微光效果 */
.category-btn.active::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        to bottom right,
        rgba(255,255,255,0.3) 0%,
        rgba(255,255,255,0) 60%
    );
    transform: rotate(30deg);
}

/* 点击效果 */
.category-btn:active {
    transform: translateY(0) scale(0.98);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .product-categories {
        gap: 8px;
    }
    
    .category-btn {
        padding: 8px 16px;
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .product-categories {
        justify-content: center;
    }
    
    .category-btn {
        flex: 1;
        min-width: 100px;
        text-align: center;
    }
}


/* 资料下载页面 */
/* 下载项目容器 */
.download-item {
    display: flex;
    align-items: flex-start;
    padding: 20px;
    border-radius: 8px;
    background-color: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    margin-bottom: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.download-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}

/* 下载图标 */
.download-icon {
    font-size: 32px;
    margin-right: 20px;
    flex-shrink: 0;
}

/* 下载信息区域 */
.download-info {
    flex: 1;
    min-width: 0; /* 防止内容溢出 */
}

.download-info h3 {
    margin: 0 0 8px 0;
    font-size: 18px;
}

.download-info h3 a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s;
}

.download-info h3 a:hover {
    color: #0066cc;
}

/* 文件元信息 */
.download-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 10px;
    font-size: 14px;
    color: #666;
}

.download-meta span {
    display: flex;
    align-items: center;
}

.download-meta span::before {
    content: "•";
    margin-right: 8px;
    color: #ccc;
}

.download-meta span:first-child::before {
    display: none;
}

.download-info p {
    margin: 0;
    color: #555;
    line-height: 1.5;
    font-size: 14px;
}

/* 下载按钮区域 */
.download-action {
    display: flex;
    align-items: center;
    margin-left: 20px;
    flex-shrink: 0;
}

.btn {
    display: inline-block;
    padding: 10px 24px;
    background-color: #0066cc;
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.3s ease;
    white-space: nowrap;
    border: none;
    cursor: pointer;
}

.btn:hover {
    background-color: #0052a3;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0,102,204,0.3);
}

.btn:active {
    transform: translateY(0);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .download-item {
        flex-direction: column;
        padding: 16px;
    }
    
    .download-icon {
        margin-right: 0;
        margin-bottom: 12px;
    }
    
    .download-meta {
        flex-wrap: wrap;
        gap: 8px 15px;
    }
    
    .download-action {
        margin-left: 0;
        margin-top: 16px;
        width: 100%;
    }
    
    .btn {
        width: 100%;
        text-align: center;
    }
}

/* 经销商 */
/* 基础样式 */
.dealers-section {
    padding: 40px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 40px;
}


/* 地区标签样式 */
.region-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 30px;
    justify-content: center;
}

.region-btn {
    padding: 8px 20px;
    border: 1px solid #ddd;
    border-radius: 20px;
    background-color: #fff;
    color: #555;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.region-btn:hover {
    border-color: #0066cc;
    color: #0066cc;
}

.region-btn.active {
    background-color: #0066cc;
    color: white;
    border-color: #0066cc;
    font-weight: 500;
}

/* 经销商列表样式 */
.dealers-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 25px;
    margin-bottom: 50px;
}

.dealer-card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    padding: 25px;
}

.dealer-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.dealer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #f0f0f0;
}

.dealer-header h3 {
    margin: 0;
    font-size: 18px;
    color: #333;
}

.region-tag {
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
    color: white;
}

.region-tag.east { background: #e74c3c; }
.region-tag.south { background: #3498db; }
.region-tag.north { background: #2ecc71; }
.region-tag.central { background: #9b59b6; }
.region-tag.west { background: #f39c12; }
.region-tag.northeast { background: #1abc9c; }

.dealer-info {
    margin-bottom: 20px;
}

.info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 12px;
    font-size: 14px;
    color: #555;
    line-height: 1.5;
}

.info-item i {
    margin-right: 10px;
    color: #0066cc;
    font-size: 16px;
    min-width: 20px;
    text-align: center;
}

.dealer-actions {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

/* 成为经销商部分 */
.become-dealer {
    background: #f9f9f9;
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    margin-top: 40px;
}

.become-dealer h3 {
    margin-top: 0;
    color: #333;
    font-size: 24px;
    margin-bottom: 15px;
}

.become-dealer p {
    color: #666;
    margin-bottom: 20px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.action-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
}

/* 按钮样式 */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn.primary {
    background-color: #0066cc;
    color: white;
    border: 1px solid #0066cc;
}

.btn.primary:hover {
    background-color: #0052a3;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 102, 204, 0.2);
}

.btn.outline {
    background-color: transparent;
    color: #0066cc;
    border: 1px solid #0066cc;
}

.btn.outline:hover {
    background-color: rgba(0, 102, 204, 0.05);
    transform: translateY(-2px);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .dealers-list {
        grid-template-columns: 1fr;
    }
    
    .region-tabs {
        justify-content: flex-start;
    }
    
    .action-buttons {
        flex-direction: column;
        gap: 10px;
    }
    
    .btn {
        width: 100%;
    }
}

/* 图标字体 (可以使用Font Awesome或自定义图标) */
@font-face {
    font-family: 'DealerIcons';
    src: url('../fonts/dealer-icons.woff') format('woff');
}

.icon-user:before { content: "👤"; font-family: 'DealerIcons'; }
.icon-phone:before { content: "📞"; font-family: 'DealerIcons'; }
.icon-location:before { content: "📍"; font-family: 'DealerIcons'; }
.icon-business:before { content: "💼"; font-family: 'DealerIcons'; }


/* 诚招代理 */
:root {
    --primary-color: #3498db;
    --secondary-color: #2980b9;
    --accent-color: #e74c3c;
    --light-color: #f8f9fa;
    --dark-color: #343a40;
    --text-color: #333;
    --border-radius: 8px;
    --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

body {
    font-family: 'Segoe UI', 'Microsoft YaHei', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: #f5f7fa;
    margin: 0;
    padding: 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 40px;
    color: var(--dark-color);
    position: relative;
    padding-bottom: 15px;
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: var(--primary-color);
}

.agent-content {
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    padding: 30px;
    margin-bottom: 40px;
}

.agent-intro, .agent-requirements, .agent-process, .agent-form-container {
    margin-bottom: 40px;
}

h3 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    border-left: 4px solid var(--primary-color);
    padding-left: 15px;
}

h4 {
    font-size: 1.4rem;
    color: var(--secondary-color);
    margin: 20px 0 10px;
}

.agent-benefits ul, .agent-requirements ol {
    padding-left: 20px;
}

.agent-benefits li, .agent-requirements li {
    margin-bottom: 10px;
    padding-left: 10px;
}

.agent-benefits strong {
    color: var(--accent-color);
}

.process-steps {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-top: 30px;
}

.step {
    flex: 0 0 calc(20% - 20px);
    margin-bottom: 20px;
    position: relative;
    text-align: center;
}

.step-number {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 auto 15px;
    box-shadow: 0 3px 10px rgba(52, 152, 219, 0.3);
}

.step-content {
    background: var(--light-color);
    padding: 20px;
    border-radius: var(--border-radius);
    height: 100%;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.agent-form-container {
    background: var(--light-color);
    padding: 30px;
    border-radius: var(--border-radius);
}

.form-row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

.form-group {
    flex: 1;
    min-width: 250px;
    margin: 0 15px 20px;
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--dark-color);
}

input, textarea, select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: var(--border-radius);
    font-size: 1rem;
    transition: border-color 0.3s;
}

input:focus, textarea:focus, select:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.2);
}

textarea {
    min-height: 120px;
    resize: vertical;
}

.form-submit {
    text-align: center;
    margin-top: 30px;
}

.btn {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 12px 30px;
    font-size: 1.1rem;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* 弹窗样式 */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.modal-content {
    background: white;
    padding: 30px;
    border-radius: var(--border-radius);
    max-width: 500px;
    width: 90%;
    text-align: center;
    position: relative;
    animation: modalFadeIn 0.3s;
}

@keyframes modalFadeIn {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

.modal-icon {
    font-size: 3rem;
    color: var(--accent-color);
    margin-bottom: 20px;
}

.modal-title {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: var(--dark-color);
}

.modal-message {
    margin-bottom: 25px;
    font-size: 1.1rem;
}

.contact-info1 {
    background: #f8f9fa;
    padding: 15px;
    border-radius: var(--border-radius);
    margin: 20px 0;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    justify-content: center;
}

.contact-item i {
    margin-right: 10px;
    color: var(--primary-color);
}

.modal-close {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 10px 25px;
    border-radius: var(--border-radius);
    cursor: pointer;
    font-size: 1rem;
    transition: background 0.3s;
}

.modal-close:hover {
    background: var(--secondary-color);
}