/* 引入汉仪综艺体简 */
@font-face {
    font-family: 'HanYiZongYiTi';
    src: url('fonts/HYZongYiTiJF.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

/* 引入思源黑体 */
@font-face {
    font-family: 'SourceHanSans';
    src: url('fonts/SourceHanSansSC-Regular.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

/* 全局样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'SourceHanSans', 'Microsoft YaHei', Arial, sans-serif;
    line-height: 1.6;
    color: #4d4d4d;
    background-color: white;
    -webkit-font-smoothing: antialiased;
	overflow-x: hidden;   /* 隐藏多余空白 */
}

/*
.noto-sans,li,p {
	font-family: "思源黑体", "Noto Sans SC", sans-serif;
	border: 1px solid red;
}

.han-yi,h2,h3,a {
	font-family: "汉仪综艺体简", "HYZhongYiTiJ", "思源黑体", "Noto Sans SC", sans-serif;
	border: 1px solid yellow;
}
*/
.noto-sans,li,p {
	font-family: "思源黑体", "Noto Sans SC", sans-serif;
}

.han-yi,h2,h3,a {
	font-family: "汉仪综艺体简", "HYZhongYiTiJ", "思源黑体", "Noto Sans SC", sans-serif;
}
/* 容器样式 */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}


/* 标题样式 */
.section-title {
    font-size: 28px;
    text-align: center;
    margin-bottom: 40px;
    color: #4d4d4d;
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: #007bff;
}

/* 头部样式 */
.header {
    background-color: white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
    flex-wrap: nowrap;
}

.logo img {
    height: 40px;
}

/* 桌面导航 */
.desktop-nav ul {
    display: flex;
    list-style: none;
}

.desktop-nav li {
    margin: 0 20px;
}

.desktop-nav a {
    text-decoration: none;
    color: #4d4d4d;
    font-size: 16px;
    transition: color 0.3s ease;
    position: relative;
}

.desktop-nav a:hover,
.desktop-nav a.active {
    color: #007bff;
}

.desktop-nav a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #007bff;
}

/* 移动端菜单按钮 */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: #4d4d4d;
    cursor: pointer;
}

/* 移动端导航 */
.mobile-nav {
    display: none;
    background-color: white;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
}

.mobile-nav ul {
    list-style: none;
    padding: 10px 0;
}

.mobile-nav li {
    border-bottom: 1px solid #eee;
}

.mobile-nav a {
    display: block;
    padding: 12px 20px;
    text-decoration: none;
    color: #4d4d4d;
    transition: background-color 0.3s ease;
}

.mobile-nav a:hover,
.mobile-nav a.active {
    background-color: #f8f9fa;
    color: #007bff;
}

/* 下拉菜单样式 */
.dropdown {
    position: relative;
}

.dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 5px;
}

.dropdown-toggle i {
    font-size: 12px;
    transition: transform 0.3s ease;
}

.dropdown:hover .dropdown-toggle i {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 200px;
    background-color: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border-radius: 6px;
    padding: 8px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 1001;
    white-space: nowrap;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    border-bottom: none;
}

.dropdown-menu a {
    display: block;
    padding: 10px 20px;
    color: #4d4d4d;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 14px;
}

.dropdown-menu a:hover {
    background-color: #f8f9fa;
    color: #007bff;
    padding-left: 25px;
}

/* 横幅样式 */
.banner {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    color: white;
    padding: 120px 0 80px;
    text-align: center;
    margin-top: 70px;
}

.banner-content h1 {
    font-size: 36px;
    margin-bottom: 20px;
    font-weight: bold;
}

.banner-content p {
    font-size: 18px;
    opacity: 0.9;
}

/* 服务区域样式 */
.services {
    padding: 80px 0;
    background-color: white;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.service-icon {
    font-size: 40px;
    color: #007bff;
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: #4d4d4d;
}

.service-card p {
    color: #666;
    margin-bottom: 20px;
}

.service-link {
    display: inline-flex;
    align-items: center;
    color: #007bff;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.service-link:hover {
    color: #0056b3;
}

.service-link i {
    margin-left: 5px;
    font-size: 12px;
    transition: transform 0.3s ease;
}

.service-link:hover i {
    transform: translateX(3px);
}

/* 客户案例样式 */
.cases {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.cases-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.case-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.case-item:hover {
    transform: translateY(-5px);
}

.case-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
}

.case-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0));
    color: white;
    padding: 30px 20px 20px;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.3s ease;
}

.case-item:hover .case-overlay {
    transform: translateY(0);
    opacity: 1;
}

.case-overlay h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

.case-overlay p {
    font-size: 14px;
    opacity: 0.9;
}

/* 关于我们样式 */
.about {
    padding: 80px 0;
    background-color: white;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-content p {
    font-size: 16px;
    color: #666;
    line-height: 1.8;
    margin-bottom: 30px;
}

.company-info {
    display: inline-flex;
    align-items: center;
    background-color: #f8f9fa;
    padding: 10px 20px;
    border-radius: 20px;
    font-size: 14px;
    color: #4d4d4d;
}

.company-info i {
    margin-right: 10px;
    color: #007bff;
}

/* 页脚样式 */
.footer {
    background-color: #4d4d4d;
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo img {
    height: 50px;
}

.footer-links h3,
.footer-contact h3 {
    font-size: 18px;
    margin-bottom: 20px;
    color: #fff;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    text-decoration: none;
    color: #ccc;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: white;
}

.footer-contact p {
    margin-bottom: 10px;
    color: #ccc;
    display: flex;
    align-items: center;
}

.footer-contact i {
    margin-right: 10px;
    width: 20px;
    text-align: center;
}

.footer-bottom {
    border-top: 1px solid #555;
    padding-top: 20px;
    text-align: center;
    font-size: 14px;
    color: #ccc;
}

/* 响应式设计 */
@media (max-width: 992px) {
    .services-grid,
    .cases-grid,
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .header .container {
        flex-wrap: wrap;
    }

    .desktop-nav,
    .contact-btn {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .mobile-nav.active {
        display: block;
    }
    
    .banner-content h1 {
        font-size: 28px;
    }
    
    .banner-content p {
        font-size: 16px;
    }
    
    .services-grid,
    .cases-grid,
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .case-item img {
        height: 200px;
    }
}

@media (max-width: 576px) {
    .section-title {
        font-size: 24px;
    }
    
    .banner-content h1 {
        font-size: 24px;
    }
    
    .service-card,
    .case-item {
        padding: 20px;
    }
    
    .about-content p {
        font-size: 14px;
    }
}

/* ====================== 多分辨率适配增强 ====================== */

/* 超大屏 > 1920px */
@media (min-width: 1920px) {
    .container { max-width: 1800px; }
    .banner { max-height: 900px; }
    .system-guide-container { gap: 80px; }
    .solution-container { gap: 30px; }
}

/* 宽屏 1440px-1919px */
@media (min-width: 1440px) and (max-width: 1919px) {
    .container { max-width: 1400px; }
    .banner { max-height: 850px; }
    .system-guide-container { gap: 70px; }
    .supply-cards-container { gap: 25px; }
}

/* 标准桌面 1024px-1439px */
@media (min-width: 1024px) and (max-width: 1439px) {
    .container { max-width: 1200px; }
    .solution-container { grid-template-columns: repeat(3, 1fr); }
    .supply-cards-container { 
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    .operation-cards { 
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    .system-guide-container { gap: 50px; }
    .guide-dotted-line { left: 20%; }
}

/* 小桌面 768px-1023px */
@media (min-width: 768px) and (max-width: 1023px) {
    .solution-container { grid-template-columns: repeat(2, 1fr); }
    .supply-cards-container { grid-template-columns: repeat(2, 1fr); }
    .operation-cards { grid-template-columns: repeat(2, 1fr); }
    
    .system-guide-container { 
        flex-direction: column;
        gap: 40px;
    }
    .guide-dotted-line { 
        right: auto; 
        left: 15%;
        top: -40px;
        bottom: -40px;
    }
    .guide-tabs { 
        gap: 40px;
        right: 0;
    }
    
    .content-left,
    .content-right {
        width: 100%;
        float: none;
        margin: 0 0 20px 0;
    }
    
    .solution-tabs {
        gap: 40px;
        flex-wrap: wrap;
    }
    
    .banner-floating-images { 
        flex-wrap: wrap;
        justify-content: center;
    }
    .banner-floating-images img {
        width: 40%;
        min-width: 150px;
    }
}

/* 平板 576px-767px */
@media (min-width: 576px) and (max-width: 767px) {
    .banner { 
        height: clamp(350px, 70vh, 500px);
        min-height: 350px;
    }
    
    .banner-floating-images { 
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }
    .banner-floating-images img {
        width: 40%;
        min-width: 140px;
    }
    
    .solution-tabs {
        gap: 20px;
        flex-wrap: wrap;
    }
    
    .solution-content-three { 
        flex-direction: column;
        gap: 20px;
    }
    
    .guide-dotted-line { 
        right: auto; 
        left: 10%;
    }
    .guide-tabs { 
        gap: 30px;
    }
    
    .pain-point-title { top: clamp(50px, 12vh, 60px); }
    .pain-point-subtitle { top: clamp(100px, 20vh, 120px); }
}

/* 手机 375px-575px */
@media (max-width: 575px) {
    .banner { 
        height: clamp(300px, 70vh, 400px);
        min-height: 300px;
    }
    
    .carousel-controls { padding: 0 10px; }
    .carousel-controls button {
        width: 35px;
        height: 35px;
        font-size: 1.2rem;
    }
    
    .banner-floating-images {
        flex-wrap: wrap;
        gap: 10px;
    }
    .banner-floating-images img {
        width: 45%;
        min-width: 130px;
    }
    
    .solution-container,
    .supply-cards-container,
    .operation-cards {
        grid-template-columns: 1fr;
    }
    
    .solution-content-three { flex-direction: column; }
    .guide-dotted-line { right: auto; left: 5%; }
    .guide-tabs { gap: 20px; }
    
    .tab-item { 
        padding: 6px 12px;
        font-size: 0.9rem;
    }
}

/* 小手机 < 374px */
@media (max-width: 374px) {
    .banner { height: clamp(250px, 60vh, 350px); }
    .banner-floating-images img { width: 90%; }
    
    .pain-point-title { top: clamp(40px, 10vh, 50px); }
    .pain-point-subtitle { top: clamp(80px, 18vh, 100px); }
    
    .operation-card-bg { min-height: 350px; }
    
    .solution-tabs {
        gap: 10px;
    }
    
    .tab-item { 
        padding: 4px 8px;
        font-size: 0.8rem;
    }
    
    .container { padding: 0 10px; }
    .solution-container, 
    .supply-cards-container, 
    .operation-cards {
        padding: 0 10px;
    }
}

/* 横屏模式 */
@media (orientation: landscape) and (max-height: 600px) {
    .banner { 
        height: 100vh; 
        min-height: auto;
    }
    .pain-point-bg-wrapper { 
        aspect-ratio: 21/9;
    }
    .solution-item { 
        height: clamp(150px, 30vh, 200px);
    }
    .supply-card { 
        height: clamp(200px, 40vh, 300px);
    }
    .operation-card-bg { 
        min-height: clamp(300px, 50vh, 400px);
    }
    
    .system-guide-container { 
        gap: 30px;
    }
    .guide-tabs { 
        gap: 20px;
    }
}

/* 高DPI屏幕优化 */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .icon-circle,
    .icon-right,
    .pipe-icon {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
    
    .guide-dotted-line {
        background-image: repeating-linear-gradient(
            to bottom,
            #4471CA 0,
            #4471CA 6px,
            transparent 6px,
            transparent 12px
        );
        background-size: 2px 12px;
    }
}

/* 触摸设备优化 */
.touch-device .guide-tab,
.touch-device .tab-item,
.touch-device .carousel-controls button {
    min-height: 44px;
    min-width: 44px;
}

.touch-device .guide-tabs { gap: 30px; }
.touch-device .solution-tabs { gap: 20px; }

/* 深色模式支持 */
@media (prefers-color-scheme: dark) {
    body {
        background-color: #1a1a1a;
        color: #e0e0e0;
    }
    
    .banner-header nav ul li a,
    .banner-header .contact-btn a {
        color: #e0e0e0;
    }
    
    .pain-point-title,
    .pain-point-text-left h3,
    .pain-point-text-right h3,
    .pain-point-footer,
    .solution-content h3,
    .carousel-section-title,
    .solution-text h3,
    .tab-text,
    .guide-title,
    .business-guide-title,
    .tech-advantage-title,
    .operation-title {
        color: #e0e0e0;
    }
    
    .pain-point-text-left,
    .pain-point-text-right {
        background: rgba(40, 40, 40, 0.9);
    }
    
    .supply-section,
    .business-guide-section,
    .tech-advantage-section,
    .operation-section {
        background-color: #2d2d2d;
    }
}

/* 打印样式优化 */
@media print {
    .banner-header,
    .carousel-controls,
    .carousel-indicators,
    .footer {
        display: none;
    }
    
    .banner {
        height: auto;
        padding: 20px 0;
    }
    
    .solution-item {
        break-inside: avoid;
    }
}