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

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

/* 通用样式 */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.flex {
    display: flex;
}

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

.flex-between {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.flex-col {
    display: flex;
    flex-direction: column;
}

.flex-row {
    display: flex;
    flex-direction: row;
}

/* 按钮样式 - 结合模板一的渐变按钮设计 */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.btn-primary {
    background: linear-gradient(90deg, #358BFF 0%, #36A4FF 100%);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(53, 139, 255, 0.3);
}

.btn-outline {
    background: transparent;
    color: #2468F2;
    border: 1px solid #2468F2;
}

.btn-outline:hover {
    background: #2468F2;
    color: white;
}

.btn-large {
    padding: 16px 32px;
    font-size: 16px;
}

.btn-white {
    background: white;
    color: #358BFF;
}

.btn-white:hover {
    background: #f8f9fa;
    transform: translateY(-2px);
}

.btn-outline-white {
    background: transparent;
    color: white;
    border: 1px solid white;
}

.btn-outline-white:hover {
    background: white;
    color: #358BFF;
}

/* 导航栏 - 结合模板一的固定导航和模板二的透明效果 */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(21, 28, 41, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    height: 80px;
}

.navbar.scrolled {
    background: rgba(21, 28, 41, 0.98);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    font-size: 24px;
    font-weight: bold;
    color: white;
    flex-shrink: 0;
}

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

.nav-menu {
    display: flex;
    gap: 40px;
    flex: 1;
    justify-content: center;
    align-items: center;
}

.nav-link {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
    height: 80px;
    display: flex;
    align-items: center;
}

.nav-link:hover,
.nav-link.active {
    color: #358BFF;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: #358BFF;
}

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

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
    padding: 8px;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.mobile-menu-toggle:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

/* 响应式导航栏 */
@media (max-width: 992px) {
    .nav-menu {
        gap: 30px;
    }
    
    .nav-actions {
        gap: 12px;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 13px;
    }
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }
    
    .nav-menu {
        display: none;
    }
    
    .nav-actions {
        display: none;
    }
}

.mobile-menu-toggle span {
    width: 24px;
    height: 2px;
    background: white;
    transition: all 0.3s ease;
}

/* Banner轮播 - 结合模板一的轮播结构和模板二的大尺寸设计 */
.banner {
    position: relative;
    height: 700px;
    overflow: hidden;
    margin-top: 80px;
}

.banner-slider {
    position: relative;
    height: 100%;
}

.banner-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    opacity: 0;
    transition: opacity 0.8s ease;
}

.banner-slide.active {
    opacity: 1;
}

/* Banner控制按钮 */
.banner-controls {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    pointer-events: none;
}

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

.banner-prev:hover,
.banner-next:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

/* Banner指示器 */
.bannerhd {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.bannerhd ul {
    display: flex;
    gap: 12px;
    list-style: none;
    margin: 0;
    padding: 0;
}

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

.bannerhd li.on,
.bannerhd li.active {
    background: white;
    width: 30px;
    border-radius: 6px;
}

.banner-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    color: white;
}

.banner-content h1 {
    font-size: 48px;
    font-weight: bold;
    margin-bottom: 24px;
    line-height: 1.2;
}

.banner-content p {
    font-size: 18px;
    margin-bottom: 40px;
    opacity: 0.9;
    max-width: 600px;
    line-height: 30px;
}

.banner-buttons {
    display: flex;
    gap: 20px;
}

.banner-controls {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    pointer-events: none;
}

.banner-prev,
.banner-next {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    transition: all 0.3s ease;
    pointer-events: all;
}

.banner-prev:hover,
.banner-next:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

/* Banner指示器 - 使用模板一的样式 */
.bannerhd {
    position: absolute;
    bottom: 80px;
    left: 0;
    width: 100%;
}

.bannerhd ul {
    width: 100%;
    text-align: center;
}

.bannerhd li {
    width: 8px;
    height: 8px;
    display: inline-block;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    margin-right: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.bannerhd li.on {
    background-color: rgba(255, 255, 255, 0.8);
    width: 32px;
}

/* Banner提示信息 - 类似模板一的设计 */
.bannertip {
    width: 100%;
    max-width: 1200px;
    height: 120px;
    background: white;
    position: relative;
    margin: -60px auto 0;
    box-shadow: 0px 3px 9px 0px rgba(33, 58, 86, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
}

.bannertip-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 0 40px;
}

.tip-item {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
}

.tip-item img {
    width: 56px;
    height: 56px;
}

.tip-content {
    display: flex;
    flex-direction: column;
    margin-left: 10px;
}

.tip-title {
    color: #191C3D;
    font-size: 16px;
    height: 30px;
    line-height: 30px;
    font-weight: 500;
}

.tip-desc {
    color: #191C3D;
    opacity: 0.5;
    font-size: 14px;
}

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

.section-header h2 {
    font-size: 32px;
    font-weight: bold;
    color: #000;
    margin-bottom: 16px;
}

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

/* 产品中心 - 结合模板一的卡片布局和模板二的标签设计 */
.contentbox {
    width: 100%;
    background: linear-gradient(0deg, #F6FAFF 0%, #FFFFFF 100%);
    padding: 100px 0;
}

.product-tabs {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 60px;
}

.tab-btn {
    background: none;
    border: none;
    font-size: 18px;
    font-weight: 500;
    color: #191C3D;
    cursor: pointer;
    padding: 12px 0;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
}

.tab-btn.active,
.tab-btn:hover {
    color: #2468F2;
    border-bottom-color: #2468F2;
    transform: translateY(-2px);
}

.tab-btn:hover {
    background: rgba(36, 104, 242, 0.05);
    border-radius: 4px 4px 0 0;
    box-shadow: 0 -2px 8px rgba(36, 104, 242, 0.1);
}

.tab-btn {
    position: relative;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.tab-btn::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    width: 0;
    height: 2px;
    background: #2468F2;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateX(-50%);
}

.tab-btn:hover::after {
    width: 100%;
}

.tab-btn.active::after {
    width: 100%;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

/* 确保产品内容正确显示 */
.product-content {
    width: 100%;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    width: 100%;
}

/* 调试样式 - 可以在开发时启用 */
/*
.tab-content {
    border: 2px solid red;
}
.tab-content.active {
    border: 2px solid green;
}
*/

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

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 30px;
}

.product-card {
    background: white;
    box-shadow: 0px 2px 8px 0px rgba(33, 58, 86, 0.08);
    border-radius: 8px;
    padding: 20px;
    transition: all 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.product-header {
    display: flex;
    align-items: center;
    height: 60px;
    margin-left: 20px;
}

.header-line {
    width: 6px;
    height: 18px;
    background: #2196F3;
    margin-right: 10px;
}

.product-header h3 {
    color: #000000;
    font-size: 16px;
    font-weight: 500;
}

.product-items {
    display: flex;
    flex-wrap: wrap;
    padding: 10px 20px 20px 20px;
}

.product-item {
    width: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-bottom: 20px;
}

.product-item img {
    width: 44px;
    height: 44px;
    margin-bottom: 8px;
}

.product-item span {
    font-size: 14px;
    color: #444444;
    text-align: center;
}

/* 解决方案 - 结合模板二的设计风格 */
.contentbox2 {
    width: 100%;
    background: linear-gradient(135deg, #DDE7F9 0%, #FEFEFE 100%);
    padding: 100px 0;
}

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

.solution-card {
    background: white;
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

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

.solution-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.solution-icon img {
    width: 30px;
    height: 30px;
    filter: brightness(0) invert(1);
}

.solution-card h3 {
    font-size: 18px;
    font-weight: bold;
    color: #333;
    margin-bottom: 12px;
}

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

/* 核心优势展示 */
.contentbox3 {
    width: 100%;
    background-color: #F1F1F5;
    padding: 100px 0;
}

.advantage-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 50px;
}

.advantage-left {
    width: 50%;
    padding-right: 50px;
}

.advantage-item {
    display: flex;
    align-items: center;
    margin-bottom: 40px;
}

.advantage-item img {
    width: 48px;
    height: 48px;
    margin-right: 20px;
}

.advantage-text h3 {
    color: #656565;
    font-size: 20px;
    margin-bottom: 8px;
    font-weight: 500;
}

.advantage-text p {
    color: #9F9F9F;
    font-size: 16px;
    line-height: 1.5;
}

.advantage-right {
    width: 50%;
}

.advantage-right img {
    width: 100%;
    height: auto;
    max-width: 600px;
}

.advantage-actions {
    display: flex;
    justify-content: center;
    gap: 30px;
}

/* CTA区域 */
.bottomtip {
    width: 100%;
    min-height: 160px;
    padding: 40px 0;
    background: linear-gradient(135deg, #358BFF 0%, #36A4FF 50%, #667eea 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.bottomtip::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

.cta-content {
    text-align: center;
    color: white;
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.cta-content h2 {
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 12px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.cta-content p {
    font-size: 18px;
    margin-bottom: 25px;
    opacity: 0.95;
    line-height: 1.6;
}

.cta-content .btn-large {
    padding: 16px 40px;
    font-size: 18px;
    font-weight: 600;
    background: white;
    color: #358BFF;
    border: none;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.cta-content .btn-large:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    background: #f8f9fa;
}

/* 关于我们样式 */
.about-content {
    max-width: 800px;
    margin: 0 auto;
}

.about-text {
    text-align: center;
}

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

.about-stats {
    display: flex;
    justify-content: space-around;
    margin-top: 50px;
    gap: 30px;
}

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

.stat-item h3 {
    font-size: 36px;
    font-weight: bold;
    color: #358BFF;
    margin-bottom: 10px;
}

.stat-item p {
    font-size: 14px;
    color: #666;
}

/* 联系我们样式 */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-item {
    padding: 20px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.contact-item h3 {
    font-size: 18px;
    color: #333;
    margin-bottom: 10px;
}

.contact-item p {
    font-size: 16px;
    color: #666;
    margin: 0;
}

.contact-form {
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.contact-form h3 {
    font-size: 20px;
    color: #333;
    margin-bottom: 20px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    margin-bottom: 15px;
    transition: border-color 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #358BFF;
}

.contact-form button {
    width: 100%;
    padding: 14px;
    font-size: 16px;
}

/* 响应式设计 */
@media (max-width: 992px) {
    .about-stats {
        gap: 20px;
    }
    
    .stat-item h3 {
        font-size: 32px;
    }
    
    .contact-content {
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .about-stats {
        flex-direction: column;
        gap: 15px;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .contact-info {
        gap: 15px;
    }
    
    .contact-item {
        padding: 15px;
    }
    
    .contact-form {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .stat-item h3 {
        font-size: 28px;
    }
    
    .contact-item {
        padding: 12px;
    }
    
    .contact-form {
        padding: 15px;
    }
}

/* CTA响应式设计 */
@media (max-width: 992px) {
    .cta-content h2 {
        font-size: 28px;
    }
    
    .cta-content p {
        font-size: 16px;
    }
}

@media (max-width: 768px) {
    .bottomtip {
        padding: 40px 20px;
    }
    
    .cta-content h2 {
        font-size: 24px;
    }
    
    .cta-content p {
        font-size: 16px;
        margin-bottom: 20px;
    }
    
    .cta-content .btn-large {
        padding: 14px 30px;
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .bottomtip {
        padding: 30px 15px;
    }
    
    .cta-content h2 {
        font-size: 22px;
    }
    
    .cta-content p {
        font-size: 15px;
    }
    
    .cta-content .btn-large {
        padding: 12px 25px;
        font-size: 15px;
    }
}

/* 页脚 */
.bottombox {
    width: 100%;
    background: #151C29;
    padding: 30px 0;
}

.footer-links {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.footer-links a {
    color: #788BA6;
    font-size: 14px;
    padding: 0 20px;
    text-align: center;
    border-right: 2px solid #788BA6;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:last-child {
    border-right: 0;
}

.footer-links a:hover {
    color: white;
}

.footer-copyright {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6B798E;
    font-size: 12px;
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .product-grid {
        grid-template-columns: 1fr;
    }
    
    .advantage-content {
        flex-direction: column;
    }
    
    .advantage-left,
    .advantage-right {
        width: 100%;
        padding: 0;
    }
    
    .advantage-right {
        margin-top: 30px;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .nav-actions {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .banner {
        height: 500px;
    }
    
    .banner-content h1 {
        font-size: 32px;
    }
    
    .banner-content p {
        font-size: 16px;
    }
    
    .banner-buttons {
        flex-direction: column;
        gap: 12px;
    }
    
    .product-tabs {
        flex-wrap: wrap;
        gap: 20px;
    }
    
    .solutions-grid {
        grid-template-columns: 1fr;
    }
    
    .bannertip-container {
        flex-direction: column;
        padding: 20px;
        height: auto;
        gap: 20px;
    }
    
    .bannertip {
        height: auto;
        margin-top: -30px;
    }
    
    .tip-item {
        width: 100%;
        justify-content: flex-start;
    }
    
    .advantage-actions {
        flex-direction: column;
        gap: 12px;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 10px;
    }
    
    .footer-links a {
        border-right: 0;
        padding: 5px 0;
    }
}