/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
    color: #333;
    line-height: 1.6;
    padding-top: 64px;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
}

/* Container */
.container {
    max-width: 1335px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

/* Header */
.header {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

/* 页面广告区域 - 统一样式 */
.products-banner {
    width: 100%;
    height: 320px;
    overflow: hidden;
}

.products-banner img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    display: block;
}

.products-banner a {
    display: block;
}

.products-banner a img {
    cursor: pointer;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: inherit;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 50px;
    width: auto;
    display: block;
}

.slogan {
    display: flex;
    align-items: center;
}

.slogan img {
    width: 190px;
    height: 22px;
    display: block;
    object-fit: contain;
}

.nav {
    display: flex;
    gap: 40px;
    align-items: center;
    margin-left: 120px;
}

.nav-link {
    font-size: 16px;
    color: #333;
    transition: color 0.3s;
    white-space: nowrap;
    position: relative;
    padding-bottom: 8px;
}

.nav-link:hover,
.nav-link.active {
    color: #22d967;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 5px;
    background-color: #22d967;
    border-radius: 2px;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.phone-icon {
    display: flex;
    align-items: center;
}

.phone-icon img {
    width: 36px;
    height: 36px;
    display: block;
}

.phone-numbers {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.phone {
    font-size: 16px;
    color: #333;
    white-space: nowrap;
}

/* Buttons */
.btn {
    padding: 10px 24px;
    border-radius: 6px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s;
    border: none;
}

.btn-primary {
    background: #22d967;
    color: #fff;
}

.btn-primary:hover {
    background: #1ab855;
}

.btn-outline {
    background: transparent;
    border: 1px solid #22d967;
    color: #22d967;
}

.btn-outline:hover {
    background: #22d967;
    color: #fff;
}

.btn-lg {
    padding: 14px 36px;
    font-size: 16px;
}

.btn-full {
    width: 100%;
}

/* Hero Section - Carousel */
.hero {
    position: relative;
    overflow: hidden;
}

.carousel-container {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.carousel-slide {
	width: 100%;
	flex-shrink: 0;
}

.carousel-slide img {
	width: 100%;
	height: 550px;
	object-fit: cover;
	display: block;
}

.carousel-slide a {
    display: block;
}

.carousel-slide a img {
    cursor: pointer;
}

/* 图片保护 - 禁止选择和拖拽 */
img {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-user-drag: none;
    -khtml-user-drag: none;
    -moz-user-drag: none;
    -o-user-drag: none;
    user-drag: none;
    -webkit-touch-callout: none;
    pointer-events: auto;
}

/* 禁止文本选择 */
.no-select {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.8);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
    z-index: 10;
    color: #333;
}

.carousel-btn:hover {
    background: #22d967;
    color: #fff;
}

.prev-btn {
    left: 20px;
}

.next-btn {
    right: 20px;
}

.carousel-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background 0.3s;
}

.dot.active {
    background: #22d967;
}

.dot:hover {
    background: rgba(34, 217, 103, 0.7);
}

/* Section */
.section {
    padding: 40px 0;
}

#partners {
    padding-bottom: 80px;
}

.section-header {
    text-align: center;
    margin-bottom: 20px;
}

.section-title {
    font-size: 32px;
    font-weight: 700;
    color: #333;
    margin-bottom: 12px;
}

.section-desc {
    font-size: 16px;
    color: #666;
}

.section-divider {
    margin: 15px auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.section-divider img {
    width: 73px;
    height: 12px;
}

/* Products Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.product-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.product-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s, box-shadow 0.3s;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.product-card-link:hover .product-card {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.product-image {
    padding: 40px 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.product-image img {
    max-width: 100%;
    height: 280px;
    object-fit: contain;
}

.product-content {
    padding: 0 30px 30px 30px;
    text-align: left;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.product-title {
    font-size: 20px;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
}

.product-desc {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

/* Solutions Grid */
.solutions-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    width: 100%;
}

.solution-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.solution-card-link:hover .solution-card {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.solution-card {
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    width: 100%;
    height: 288px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.solution-image {
    width: 100%;
    height: 100%;
}

.solution-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.solution-overlay {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.5);
	display: flex;
	flex-direction: column;
	padding: 100px 28px 35px 28px;
	opacity: 1;
	visibility: visible;
	transition: all 0.3s ease;
}

/* PC端才需要悬停显示 */
@media (min-width: 1025px) {
	.solution-overlay {
		opacity: 0;
		visibility: hidden;
	}

	.solution-card:hover .solution-overlay {
		opacity: 1;
		visibility: visible;
	}
}

.solution-title {
    font-size: 28px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 18px;
    text-align: center;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.solution-desc {
    font-size: 17px;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.6;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    text-align: center;
}

/* Stats Section */
.stats-section {
    background: url("../static/bgimg.png") no-repeat center center;
    background-size: cover;
    height: 606px;
    display: flex;
    align-items: center;
    position: relative;
}

.stats-inner {
    position: relative;
    z-index: 1;
}

.stats-title {
    text-align: center;
    font-size: 32px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 12px;
}

.stats-subtitle {
    text-align: center;
    font-size: 16px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 48px;
}

.stats-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 24px;
}

.stat-item {
    text-align: center;
    background: #fff;
    border-radius: 16px;
    padding: 32px 40px;
    min-width: 180px;
}

.stat-number {
    font-size: 32px;
    font-weight: 700;
    color: #333;
    margin-bottom: 12px;
}

.stat-label {
    font-size: 15px;
    color: #666;
}

.stat-highlight {
    padding: 48px 56px;
    min-width: 280px;
}

.stat-highlight .stat-number {
    font-size: 56px;
    color: #FF9500;
}

.stat-highlight .stat-label {
    font-size: 16px;
}

/* Cases Grid */
.cases-container {
    display: flex;
    align-items: center;
    gap: 24px;
}

.cases-nav {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
}

.cases-nav:hover {
    background: #22d967;
    border-color: #22d967;
}

.cases-nav:hover svg path {
    stroke: #fff;
}

.cases-grid {
    flex: 1;
    overflow: hidden;
}

.case-track {
    display: flex;
    gap: 30px;
    transition: transform 0.3s ease-out;
}

.case-card-link {
    text-decoration: none;
    color: inherit;
    flex: 0 0 calc((100% - 60px) / 3);
}

.case-card {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.case-card-link:hover .case-card {
    transform: translateY(-8px);
    /* box-shadow: 0 12px 28px rgba(0, 0, 0, 0.15); */
}

.case-image {
    height: 220px;
    overflow: hidden;
}

.case-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.case-card-link:hover .case-image img {
    transform: scale(1.08);
}

.case-title {
    padding: 20px;
    font-size: 18px;
    font-weight: 600;
    color: #333;
    text-align: center;
    background: #fff;
    transition: color 0.3s ease;
}

.case-card-link:hover .case-title {
    color: #22d967;
}

/* Partners Scroll */
.partners-scroll-container {
    overflow: hidden;
    width: 100%;
    position: relative;
}

.partners-scroll {
    display: flex;
    gap: 80px;
    align-items: center;
    justify-content: center;
    width: max-content;
}

.partners-scroll.animate {
    animation: scrollLeft 30s linear infinite;
    animation-play-state: running;
}

.partners-scroll.animate:hover {
    animation-play-state: paused;
}

@keyframes scrollLeft {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.partner-item {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.partner-item img {
    width: 150px;
    height: 80px;
    object-fit: contain;
}

/* No Data State */
.no-data-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 80px 20px;
    text-align: center;
}

.no-data-image {
    max-width: 300px;
    width: 100%;
    height: auto;
    margin-bottom: 24px;
}

.no-data-text {
    font-size: 16px;
    color: #666;
}

/* Footer */
.footer {
    background: #1a1a1a;
    color: #fff;
    padding-top: 80px;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
}

.footer-column {
    flex: 1;
}

.footer-title {
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 12px;
}

.footer-divider {
    width: 40px;
    height: 2px;
    background: #22d967;
    margin-bottom: 24px;
}

/* 关注我们 */
.footer-qrcode {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-qrcode img {
    width: 130px;
    height: 130px;
    border-radius: 8px;
    background: #fff;
    margin-bottom: 12px;
}

.qrcode-text {
    font-size: 14px;
    color: #aaa;
    text-align: center;
    width: 130px;
}

/* 联系方式 */
.contact-info {
    display: flex;
    flex-direction: column;
}

.contact-item {
    font-size: 16px;
    color: #aaa;
    margin: 0;
    padding: 0;
    line-height: 2;
}

.contact-phone-row {
    display: flex;
}

.contact-label-text {
    display: inline-block;
    width: 3em;
    flex-shrink: 0;
}

.contact-phone-content {
    flex: 1;
}

/* 快速链接 */
.quick-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.quick-link {
    font-size: 16px;
    color: #aaa;
    transition: color 0.3s;
}

.quick-link:hover {
    color: #22d967;
}

/* 联系表单 */
.contact-form {
    width: 100%;
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 12px 14px;
    margin-bottom: 12px;
    border: none;
    border-radius: 4px;
    background: #444;
    color: #fff;
    font-size: 14px;
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: #999;
}

.form-textarea {
    height: 80px;
    resize: none;
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    background: #555;
}

.btn-full {
    width: 100%;
    padding: 12px 24px;
    font-size: 14px;
    margin-top: 8px;
    border-radius: 4px;
}

/* Footer底部 - 备案号和版权信息 */
.footer-bottom {
    border-top: 1px solid #333;
    padding: 20px 0;
    margin-top: 40px;
}

.footer-bottom-content {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-icp {
    font-size: 14px;
    color: #aaa;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-icp:hover {
    color: #22d967;
}

.footer-copyright {
    font-size: 14px;
    color: #aaa;
}

/* 汉堡菜单按钮 */
.hamburger-btn {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    z-index: 1001;
}

.hamburger-line {
    width: 24px;
    height: 3px;
    background: #333;
    margin: 2px 0;
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* 移动端菜单 */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    background: #fff;
    z-index: 1002;
    overflow-y: auto;
    transition: right 0.3s ease;
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.1);
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    border-bottom: 1px solid #eee;
}

.mobile-logo img {
    height: 36px;
    width: auto;
}

.mobile-menu-close {
    background: none;
    border: none;
    font-size: 32px;
    color: #333;
    cursor: pointer;
    line-height: 1;
    padding: 5px;
}

.mobile-nav {
    display: flex;
    flex-direction: column;
    padding: 20px;
}

.mobile-nav-link {
    padding: 15px 0;
    font-size: 16px;
    color: #333;
    text-decoration: none;
    border-bottom: 1px solid #f0f0f0;
    transition: color 0.3s;
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
    color: #22d967;
}

.mobile-phone-section {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: #f9f9f9;
    margin: 20px;
    border-radius: 8px;
}

/* 遮罩层 */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1001;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Responsive */
@media (max-width: 1200px) {
    .solutions-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }

    .stats-grid {
        flex-wrap: wrap;
        gap: 15px;
    }

    .stat-item {
        min-width: calc(33.333% - 10px);
        padding: 20px 15px;
    }

    .stat-highlight {
        min-width: calc(33.333% - 10px);
        padding: 30px 20px;
    }
}

@media (max-width: 1024px) {
    .nav {
        margin-left: 40px;
        gap: 25px;
    }

    .slogan img {
        width: 140px;
    }

    .products-grid {
        gap: 25px;
    }

    .section-title {
        font-size: 28px;
    }

    .footer-inner {
        flex-wrap: wrap;
    }

    .footer-column {
        flex: 0 0 calc(50% - 20px);
        margin-bottom: 40px;
    }

    .products-banner,
    .products-banner img {
        height: 200px;
    }
}

@media (max-width: 768px) {
    .nav {
        display: none;
    }

    .slogan {
        display: none;
    }

    .header-right {
        display: none;
    }

    .hamburger-btn {
        display: flex;
    }

    .header-inner {
        justify-content: space-between;
    }

    .logo img {
        height: 40px;
    }

    /* 轮播图 */
    .carousel-slide img {
        width: 100%;
        height: 200px;
        object-fit: cover;
    }

    .carousel-btn {
        width: 36px;
        height: 36px;
    }

    .prev-btn {
        left: 10px;
    }

    .next-btn {
        right: 10px;
    }

    .dot {
        width: 10px;
        height: 10px;
    }

    /* 产品中心 */
    .products-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .product-image {
        padding: 25px 20px;
    }

    .product-image img {
        height: 200px;
    }

    .product-content {
        padding: 0 20px 20px 20px;
    }

    .product-title {
        font-size: 18px;
    }

    /* 解决方案 */
    .solutions-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .solution-card {
        height: 240px;
    }

    .solution-title {
        font-size: 24px;
    }

    .solution-desc {
        font-size: 15px;
    }

    .solution-overlay {
        padding: 80px 20px 20px 20px;
    }

    /* 数据统计 */
    .stats-section {
        height: auto;
        padding: 60px 0;
    }

    .stats-title {
        font-size: 24px;
    }

    .stats-grid {
        flex-direction: column;
        gap: 15px;
    }

    .stat-item {
        min-width: 100%;
        padding: 20px;
    }

    .stat-highlight {
        min-width: 100%;
        padding: 25px;
    }

    .stat-number {
        font-size: 28px;
    }

    .stat-highlight .stat-number {
        font-size: 42px;
    }

    /* 成功案例 */
    .cases-container {
        gap: 10px;
    }

    .cases-nav {
        width: 35px;
        height: 35px;
    }

    .case-card-link {
        flex: 0 0 100%;
    }

    .case-image {
        height: 200px;
    }

    .case-title {
        padding: 15px;
        font-size: 16px;
    }

    /* 合作伙伴 */
    .partners-scroll {
        gap: 40px;
    }

    .partner-item img {
        width: 100px;
        height: 60px;
    }

    /* 通用样式 */
    .section {
        padding: 40px 0;
    }

    .section-title {
        font-size: 24px;
    }

    .section-desc {
        font-size: 14px;
    }

    .container {
        padding: 0 15px;
    }

    /* 底部 */
    .footer-inner {
        flex-direction: column;
        gap: 30px;
    }

    .footer-column {
        flex: 0 0 100%;
        margin-bottom: 0;
    }

    .footer {
        padding-top: 50px;
    }

    .footer-qrcode {
        align-items: center;
    }

    .quick-links,
    .contact-info {
        text-align: left;
    }

    /* 移动端隐藏快速链接 */
    .footer-column:nth-child(3) {
        display: none;
    }

    /* Footer底部 - 移动端 */
    .footer-bottom {
        margin-top: 30px;
        padding: 15px 0;
    }

    .footer-bottom-content {
        flex-direction: column;
        gap: 8px;
    }

    .footer-icp,
    .footer-copyright {
        font-size: 12px;
    }
}

@media (max-width: 480px) {

    /* 轮播图 */
    .carousel-slide img {
        width: 100%;
        height: 140px;
        object-fit: cover;
    }

    .carousel-btn {
        width: 32px;
        height: 32px;
    }

    .carousel-btn svg {
        width: 18px;
        height: 18px;
    }

    /* 产品中心 */
    .product-image img {
        height: 180px;
    }

    /* 解决方案 */
    .solution-card {
        height: 220px;
    }

    .solution-title {
        font-size: 22px;
        margin-bottom: 12px;
    }

    /* 数据统计 */
    .stat-item {
        padding: 18px 15px;
    }

    .stat-number {
        font-size: 24px;
    }

    .stat-highlight .stat-number {
        font-size: 36px;
    }

    /* 成功案例 */
    .case-image {
        height: 180px;
    }

    /* 合作伙伴 */
    .partner-item img {
        width: 80px;
        height: 50px;
    }

    /* 广告区域 */
    .products-banner,
    .products-banner img {
        height: 140px;
    }

    /* 通用 */
    .section {
        padding: 30px 0;
    }

    .section-title {
        font-size: 22px;
    }

    .footer-qrcode img {
        width: 80px;
        height: 80px;
    }

    .footer-qrcode {
        align-items: self-start;
    }

    .qrcode-text {
        text-align: left;
    }

    #partners {
        padding-top: 0px;
        padding-bottom: 30px;
    }
}