/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Microsoft YaHei', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f5f5f5;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 头部导航栏样式 */
.header {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    padding: 10px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: none;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 50px;
    width: auto;
}

.logo-text {
    display: none;
}

.logo-brand {
    font-size: 24px;
    font-weight: bold;
    color: #4caf50;
    letter-spacing: 2px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-menu li a {
    color: #ffffff;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    padding: 8px 15px;
    transition: all 0.3s ease;
    border-radius: 4px;
}

.nav-menu li a:hover {
    color: #4caf50;
}

/* 语言切换按钮 */
.language-switch {
    display: flex;
    align-items: center;
}

.lang-toggle-btn {
    background-color: transparent;
    color: #ffffff;
    border: 2px solid #ffffff;
    padding: 8px 20px;
    cursor: pointer;
    font-size: 14px;
    border-radius: 20px;
    transition: all 0.3s ease;
    font-weight: 500;
    position: relative;
    min-width: 80px;
}

.lang-toggle-btn:hover {
    background-color: transparent;
    border-color: #ffffff;
    transform: scale(1.05);
}

.lang-toggle-btn:active {
    transform: scale(0.98);
}

.lang-text {
    display: inline-block;
    transition: all 0.3s ease;
}

/* 主要内容区域 */
.main-content {
    margin-top: 0;
    padding-top: 60px;
    min-height: 600px;
}

/* Hero区域 */
.hero-section {
    background-color: #000000;
    padding: 0;
    margin: 0;
}

.hero-background {
    background: linear-gradient(135deg, #000000 0%, #1a1a1a 100%);
    padding: 80px 0 0 0;
    min-height: auto;
    display: flex;
    align-items: center;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0px;
}

.hero-text {
    width: 100%;
    color: #ffffff;
    text-align: center;
}

.hero-title {
    font-size: 56px;
    font-weight: bold;
    color: #ffffff;
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
    white-space: nowrap;
}

/* 英文模式下 hero-title 字体调小 */
.lang-en .hero-title {
    font-size: 42px;
}

.hero-subtitle {
    font-size: 20px;
    color: #cccccc;
    margin-bottom: 40px;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
    position: relative;
    z-index: 10;
}

.btn {
    display: inline-block;
    padding: 6px 20px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 20px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.btn-primary {
    background-color: transparent;
    color: #4caf50;
    border-color: #4caf50;
}

.btn-primary:hover {
    background-color: #4caf50;
    color: #ffffff;
    border-color: #4caf50;
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(76, 175, 80, 0.4);
}

.btn-secondary {
    background-color: transparent;
    color: #ffffff;
    border-color: #ffffff;
}

.btn-secondary:hover {
    background-color: #ffffff;
    color: #000000;
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(255, 255, 255, 0.3);
}

.hero-image {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: -220px;
}

.hero-image img {
    width: 100%;
    height: auto;
    max-width: 1200px;
    filter: drop-shadow(0 10px 30px rgba(76, 175, 80, 0.3));
}

/* 奥迪风格产品展示区域 */
.audi-product-section {
    background: url('bg.webp') center center / cover no-repeat;
    padding: 0;
    position: relative;
}

.audi-product-container {
    max-width: 100%;
    margin: 0 auto;
}

/* 一级分类 */
.primary-category {
    display: flex;
    justify-content: center;
    gap: 0;
    padding: 40px 20px 35px;
    background: transparent;
    position: relative;
    z-index: 15;
}

.primary-tab {
    background: transparent;
    border: none;
    color: #000000;
    font-size: 23px;
    font-weight: 700;
    padding: 10px 35px;
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
    letter-spacing: 1px;
}

.primary-tab::before {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 2px;
    height: 50%;
    background-color: #000000;
}

.primary-tab:last-child::before {
    display: none;
}

.primary-tab::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 4px;
    background-color: #ff0000;
    transform-origin: center;
    transition: all 0.3s ease;
    opacity: 0;
}

.primary-tab.active::after,
.primary-tab:hover::after {
    opacity: 1;
}

.primary-tab.active {
    color: #000000;
}

/* 二级分类 */
.secondary-category {
    display: flex;
    justify-content: center;
    gap: 30px;
    padding: 25px 20px;
    min-height: 15px;
    position: relative;
    z-index: 15;
    margin-bottom: 74px;
}

.secondary-tab {
    background: transparent;
    border: none;
    color: #333333;
    font-size: 19px;
    font-weight: 600;
    padding: 8px 0;
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
    letter-spacing: 2px;
}

.secondary-tab::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 80%;
    height: 4px;
    background-color: #ff0000;
    transition: transform 0.3s ease;
}

.secondary-tab.active {
    color: #000000;
    font-weight: 700;
}

.secondary-tab.active::after {
    transform: translateX(-50%) scaleX(1);
}

.secondary-tab:hover {
    color: #000000;
}

/* 产品展示区域 */
.product-showcase {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    min-height: 600px;
}

.product-main-image {
    width: 100%;
    flex: 1;
    position: relative;
    display: flex;
    flex-direction: column;
    background: transparent;
}

.product-main-image img {
    width: 100%;
    height: 1200px;
    object-fit: contain;
    object-position: center bottom;
    margin-top: -300px;
    margin-bottom: -30px;
    pointer-events: none;
}

/* 产品参数覆盖层 - 改为在图片下方 */
.product-specs-overlay {
    position: relative;
    bottom: auto;
    left: auto;
    transform: translateY(-120px);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 100px;
    padding: 30px 80px;
    background: transparent;
    z-index: 10;
}

/* 品牌信息 - 左侧 */
.brand-info {
    flex-shrink: 0;
    display: grid;
    grid-template-columns: auto auto;
    grid-template-rows: auto auto;
    gap: 8px 40px;
    align-items: center;
}

.brand-name {
    font-size: 26px;
    font-weight: bold;
    color: #000000;
    margin-bottom: 0;
    letter-spacing: 1px;
    line-height: 1;
    grid-column: 1;
    grid-row: 1;
}

.brand-slogan {
    font-size: 18px;
    color: #666666;
    margin-bottom: 0;
    display: block;
    margin-right: 0;
    font-weight: 400;
    line-height: 1.2;
    grid-column: 1;
    grid-row: 2;
}

.contact-btn {
    background-color: #333333;
    color: #ffffff;
    border: none;
    padding: 6px 20px;
    border-radius: 20px;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
    margin-top: 0;
    grid-column: 2;
    grid-row: 1 / 3;
    align-self: center;
}

.contact-btn:hover {
    background-color: #000000;
}

/* 产品规格列表 - 右侧 */
.specs-list {
    display: flex;
    align-items: center;
    gap: 40px;
    flex-shrink: 0;
}

.spec-item {
    text-align: center;
    color: #000000;
}

.spec-value {
    font-size: 28px;
    font-weight: 400;
    margin-bottom: 10px;
    letter-spacing: 0.5px;
    color: #000000;
    line-height: 1;
}

.spec-label {
    font-size: 16px;
    color: #333333;
    font-weight: 400;
    letter-spacing: 0px;
    line-height: 1;
}

/* 参数之间的竖线分隔 */
.spec-divider {
    width: 2px;
    height: 50px;
    background-color: #666666;
}

/* 导航箭头 */
.nav-arrow {
    position: absolute;
    top: 40%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    width: 70px;
    height: 70px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 20;
    padding: 0;
}

.nav-arrow img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: transparent;
}

.nav-arrow:hover {
    transform: translateY(-50%) scale(1.1);
}

.prev-arrow {
    left: 150px;
}

.next-arrow {
    right: 150px;
}

/* 淡入动画 */
.fade-in-audi {
    animation: fadeInAudi 0.8s ease-in-out;
}

@keyframes fadeInAudi {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* 产品展示图片区域 */
.product-images-section {
    background-color: #ffffff;
    padding: 40px 0;
}

.product-images-section .container {
    max-width: 100%;
    padding: 0 30px;
}

.product-images-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 5px;
    max-width: 100%;
}

.product-image-item {
    width: 100%;
    overflow: hidden;
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.product-image-item.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.product-image-item:nth-child(1) {
    transition-delay: 0s;
}

.product-image-item:nth-child(2) {
    transition-delay: 0.2s;
}

.product-image-item:nth-child(3) {
    transition-delay: 0.4s;
}

.product-image-item:nth-child(4) {
    transition-delay: 0.6s;
}

.product-image-item img {
    width: 100%;
    height: auto;
    display: block;
}

/* 应用场景区域 */
.application-scenarios-section {
    background-color: #f5f5f5;
    padding: 60px 0;
}

.application-scenarios-section .container {
    max-width: 100%;
    padding: 0;
}

.scenarios-title {
    font-size: 36px;
    font-weight: 700;
    color: #333333;
    text-align: center;
    margin-bottom: 30px;
    letter-spacing: 2px;
    padding: 0 20px;
}

.scenarios-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-bottom: 50px;
    padding: 0 20px;
}

/* 应用场景区域的进一步了解按钮 */
.application-scenarios-section .btn-primary {
    background-color: transparent;
    color: #333333;
    border-color: #333333;
}

.application-scenarios-section .btn-primary:hover {
    background-color: #333333;
    color: #ffffff;
    border-color: #333333;
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.btn-secondary-green {
    background-color: transparent;
    color: #4caf50;
    border: 2px solid #4caf50;
    padding: 8px 25px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 20px;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-secondary-green:hover {
    background-color: #4caf50;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(76, 175, 80, 0.3);
}

.scenarios-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0 10px;
    margin-bottom: 0;
    padding: 0 30px;
}

.scenarios-row:last-child {
    grid-template-columns: repeat(3, 1fr);
}

.scenario-item {
    background-color: #ffffff;
    border-radius: 0;
    overflow: hidden;
    box-shadow: none;
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.scenario-item.animate-in {
    opacity: 1;
    transform: translateY(0);
}

/* 第一行的两个图片 */
.scenarios-row:nth-child(3) .scenario-item:nth-child(1) {
    transition-delay: 0s;
}

.scenarios-row:nth-child(3) .scenario-item:nth-child(2) {
    transition-delay: 0.2s;
}

/* 第二行的三个图片 */
.scenarios-row:nth-child(4) .scenario-item:nth-child(1) {
    transition-delay: 0.4s;
}

.scenarios-row:nth-child(4) .scenario-item:nth-child(2) {
    transition-delay: 0.6s;
}

.scenarios-row:nth-child(4) .scenario-item:nth-child(3) {
    transition-delay: 0.8s;
}

.scenario-item:hover {
    transform: translateY(0);
}

.scenario-image {
    width: 100%;
    overflow: hidden;
}

.scenario-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.scenario-item:hover .scenario-image img {
    transform: scale(1.05);
}

.scenario-text {
    padding: 20px;
    text-align: center;
}

.scenario-line1 {
    font-size: 18px;
    font-weight: 600;
    color: #333333;
    margin-bottom: 8px;
    letter-spacing: 1px;
}

.scenario-line2 {
    font-size: 14px;
    font-weight: 400;
    color: #666666;
    letter-spacing: 0.5px;
}

/* 图片轮播区域 */
.banner-carousel-section {
    background-color: #000000;
    padding: 40px 30px;
    position: relative;
    overflow: hidden;
}

.carousel-container {
    max-width: 100%;
    margin: 0 auto;
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 45%;
    overflow: hidden;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
    z-index: 1;
}

.carousel-slide.active {
    opacity: 1;
    z-index: 2;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* 泰隆产品展示区域 */
.tailong-products-section {
    background-color: #000000;
    padding: 80px 0;
}

.tailong-products-section .container {
    max-width: 100%;
    padding: 0;
}

.tailong-header {
    text-align: center;
    margin-bottom: 60px;
    padding: 0 20px;
}

.tailong-brand {
    font-size: 20px;
    font-weight: bold;
    color: #ffffff;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.tailong-slogan {
    font-size: 20px;
    color: #ffffff;
    margin-bottom: 10px;
    letter-spacing: 2px;
}

.tailong-slogan2 {
    font-size: 18px;
    color: #ffffff;
    letter-spacing: 1px;
}

.tailong-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 30px;
}

.tailong-item {
    background-color: #1a1a1a;
    border-radius: 0;
    overflow: hidden;
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.tailong-item.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.tailong-item:nth-child(1) {
    transition-delay: 0s;
}

.tailong-item:nth-child(2) {
    transition-delay: 0.2s;
}

.tailong-item:nth-child(3) {
    transition-delay: 0.4s;
}

.tailong-item:nth-child(4) {
    transition-delay: 0.6s;
}

.tailong-image {
    width: 100%;
    overflow: hidden;
}

.tailong-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.tailong-item:hover .tailong-image img {
    transform: scale(1.05);
}

.tailong-text {
    padding: 25px;
    text-align: left;
}

.tailong-line1 {
    font-size: 18px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 8px;
    letter-spacing: 1px;
}

.tailong-line2 {
    font-size: 14px;
    font-weight: 400;
    color: #cccccc;
    letter-spacing: 0.5px;
}

/* 泰隆底部区域 */
.tailong-footer {
    text-align: center;
    margin-top: 60px;
    padding-top: 40px;
}

.tailong-footer-text {
    font-size: 18px;
    color: #ffffff;
    margin-bottom: 25px;
    letter-spacing: 1px;
}

.tailong-contact-btn {
    display: inline-block;
    padding: 6px 30px;
    font-size: 16px;
    font-weight: 500;
    color: #ffffff;
    background-color: transparent;
    border: 2px solid #ffffff;
    border-radius: 25px;
    text-decoration: none;
    transition: all 0.3s ease;
    letter-spacing: 1px;
}

.tailong-contact-btn:hover {
    background-color: #ffffff;
    color: #000000;
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(255, 255, 255, 0.3);
}

/* 微信图片区域 */
.weixin-section {
    background-color: #000000;
    padding: 0;
    margin: 0;
    line-height: 0;
}

.weixin-container {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
    line-height: 0;
}

.weixin-container img {
    width: 100%;
    height: auto;
    display: block;
    margin: 0;
    padding: 0;
    vertical-align: bottom;
}

/* 联系我们弹窗 */
.contact-modal {
    display: none;
    position: fixed;
    top: 60px;
    left: 0;
    width: 100%;
    height: auto;
    max-height: calc(100vh - 60px);
    z-index: 9999;
}

.contact-modal.active {
    display: block;
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.modal-content {
    position: relative;
    width: 100%;
    height: auto;
    background-color: #ffffff;
    z-index: 2;
    box-shadow: none;
    overflow-y: auto;
    max-height: calc(100vh - 80px);
    margin-top: -2px;
    padding-top: 2px;
}

.modal-body {
    display: flex;
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px;
    min-height: 100%;
    align-items: flex-start;
}

.modal-left {
    flex: 1;
    display: flex;
    gap: 20px;
    align-items: center;
    justify-content: center;
    padding-right: 40px;
}

.modal-image-item {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    flex: 1;
}

.modal-image-item img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.modal-image-label {
    font-size: 20px;
    color: #333333;
    font-weight: 500;
    margin: 0;
}

.modal-right {
    width: 350px;
    display: flex;
    align-items: center;
    gap: 30px;
    padding-left: 40px;
    border-left: 1px solid #e0e0e0;
}

.modal-title {
    font-size: 20px;
    color: #333333;
    margin: 0;
    font-weight: 600;
    white-space: nowrap;
}

.modal-phone {
    font-size: 20px;
    color: #333333;
    margin: 0;
    font-weight: 500;
    letter-spacing: 1px;
}

.modal-info {
    font-size: 18px;
    color: #333333;
    margin: 0 0 20px 0;
    font-weight: 500;
    letter-spacing: 1px;
}

.modal-desc {
    font-size: 16px;
    color: #666666;
    margin: 0;
    font-weight: 400;
    line-height: 1.6;
    text-align: center;
}

.modal-qrcode {
    width: 120px;
    height: 120px;
    background-color: #f5f5f5;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    flex-shrink: 0;
}

.modal-qrcode img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* 弹窗打开时，header背景变白色 */
body.modal-open .header {
    background: #ffffff !important;
    box-shadow: none !important;
    border: none !important;
    z-index: 10000;
}

body.modal-open .header::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 10px;
    background: #ffffff;
    z-index: 10001;
}

body.modal-open .nav-menu li a {
    color: #333333;
}

body.modal-open .lang-toggle-btn {
    background-color: transparent;
    border-color: transparent;
    color: #ffffff;
}

body.modal-open .logo img {
    filter: none;
    display: none;
}

/* 产品分类弹窗 */
.product-category-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 9998;
}

.product-category-modal.active {
    display: block;
}

.product-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.product-modal-content {
    position: relative;
    width: 100%;
    height: 100%;
    background-color: #ffffff;
    z-index: 2;
    overflow: hidden;
}

.product-modal-close {
    position: absolute;
    top: 80px;
    /* 调整关闭按钮位置，避开 header */
    right: 20px;
    width: 40px;
    height: 40px;
    background-color: transparent;
    border: 2px solid #333333;
    border-radius: 50%;
    font-size: 30px;
    line-height: 36px;
    color: #333333;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}

.product-modal-close:hover {
    background-color: #333333;
    color: #ffffff;
    transform: rotate(90deg);
}

.product-modal-body {
    display: flex;
    height: 100%;
    padding-top: 60px;
    /* 为 header 留出空间 */
}

/* 左侧分类菜单 */
.product-sidebar {
    width: 250px;
    background-color: #ffffff;
    /* 改为白色，与 header 融为一体 */
    padding: 20px 20px 40px 20px;
    overflow-y: auto;
    border-right: 1px solid #e0e0e0;
}

.sidebar-title {
    font-size: 20px;
    font-weight: 600;
    color: #333333;
    margin-bottom: 30px;
    padding-left: 10px;
}

.category-list {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.category-item {
    padding: 12px 15px;
    cursor: pointer;
    border-radius: 4px;
    transition: all 0.3s ease;
    color: #666666;
    font-size: 15px;
}

.category-item:hover {
    color: #333333;
}

.category-item.active {
    color: #333333;
    font-weight: 600;
}

.subcategory-list {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-top: 8px;
    margin-left: 15px;
    padding-left: 15px;
}

.subcategory-item {
    padding: 8px 12px;
    cursor: pointer;
    border-radius: 4px;
    transition: all 0.3s ease;
    color: #888888;
    font-size: 14px;
}

.subcategory-item:hover {
    color: #333333;
}

.subcategory-item.active {
    color: #333333;
    font-weight: 600;
}

/* 右侧产品网格 */
.product-grid-container {
    flex: 1;
    padding: 20px 40px 40px 40px;
    overflow-y: auto;
    background-color: #ffffff;
}

/* 隐藏滚动条但保留滚动功能 */
.product-grid-container::-webkit-scrollbar {
    display: none;
}

.product-grid-container {
    -ms-overflow-style: none;
    /* IE and Edge */
    scrollbar-width: none;
    /* Firefox */
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

.product-item {
    background-color: #f5f5f5;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.product-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.product-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.product-item-name {
    padding: 15px;
    text-align: center;
    font-size: 16px;
    color: #333333;
    font-weight: 500;
}

/* 响应式 */
@media (max-width: 768px) {
    .product-sidebar {
        width: 200px;
        padding: 20px 15px;
    }

    .product-grid-container {
        padding: 20px;
    }

    .product-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 20px;
    }

    .product-item img {
        height: 150px;
    }
}

/* 响应式设计 */
@media (max-width: 768px) {
    .contact-modal {
        height: auto;
        max-height: 400px;
    }

    .modal-content {
        height: auto;
    }

    .modal-body {
        flex-direction: column;
        padding: 20px;
        gap: 20px;
    }

    .modal-left {
        padding-right: 0;
        width: 100%;
        flex-wrap: wrap;
        gap: 15px;
    }

    .modal-image-item {
        flex: 0 0 calc(33.33% - 10px);
        min-width: 100px;
    }

    .modal-image-item img {
        height: 80px;
    }

    .modal-image-label {
        font-size: 12px;
    }

    .modal-right {
        width: 100%;
        padding-left: 0;
        border-left: none;
        border-top: 1px solid #e0e0e0;
        padding-top: 20px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .modal-qrcode {
        width: 100px;
        height: 100px;
    }
}

.section {
    padding: 60px 0;
    text-align: center;
}

.section h1 {
    font-size: 48px;
    color: #2d2d2d;
    margin-bottom: 20px;
}

.section p {
    font-size: 20px;
    color: #666;
}

/* 底部样式 */
.footer {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    color: #ffffff;
    padding: 60px 0 20px;
    margin-top: 0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    color: #4caf50;
    font-size: 20px;
    margin-bottom: 20px;
    font-weight: 600;
}

.footer-section p,
.footer-section li {
    color: #cccccc;
    line-height: 1.8;
    font-size: 14px;
}

.company-intro {
    text-align: justify;
    margin-bottom: 20px;
}

/* 合作伙伴图标 */
.partner-icons {
    display: flex;
    flex-wrap: nowrap;
    gap: 12px;
    align-items: center;
    justify-content: flex-start;
    margin-top: 20px;
    padding: 0;
}

.partner-icons img {
    height: 32px;
    width: auto;
    object-fit: contain;
    transition: all 0.3s ease;
    filter: brightness(1.1);
    flex-shrink: 0;
}

.partner-icons img:hover {
    transform: scale(1.15);
    filter: brightness(1.2);
}

.contact-info {
    list-style: none;
}

.contact-info li {
    margin-bottom: 15px;
    display: flex;
    flex-wrap: nowrap;
    white-space: nowrap;
}

.contact-info .label {
    font-weight: 600;
    color: #4caf50;
    margin-right: 5px;
}

.quick-links {
    list-style: none;
}

.quick-links li {
    margin-bottom: 12px;
}

.quick-links a {
    color: #cccccc;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.quick-links a:hover {
    color: #4caf50;
    padding-left: 5px;
}

.category-links {
    list-style: none;
}

.category-links li {
    margin-bottom: 12px;
}

.category-links a {
    color: #cccccc;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.category-links a:hover {
    color: #4caf50;
    padding-left: 5px;
}

.social-media p {
    margin-bottom: 15px;
    font-size: 14px;
}

.qr-code-placeholder {
    width: 120px;
    height: 120px;
    background-color: #ffffff;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 10px;
}

.footer-bottom {
    border-top: 1px solid #444;
    padding-top: 20px;
    text-align: center;
}

.copyright {
    color: #888;
    font-size: 14px;
}

.icp-record {
    color: #888;
    font-size: 14px;
    margin-top: 10px;
}

.icp-record a {
    color: #888;
    text-decoration: none;
    transition: color 0.3s ease;
}

.icp-record a:hover {
    color: #4caf50;
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-title {
        font-size: 42px;
    }

    .hero-subtitle {
        font-size: 20px;
    }

    .hero-content {
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .header .container {
        flex-direction: column;
        gap: 15px;
    }

    .nav-menu {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .section h1 {
        font-size: 32px;
    }

    .section p {
        font-size: 16px;
    }

    .hero-content {
        flex-direction: column;
        text-align: center;
    }

    .hero-title {
        font-size: 36px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-image img {
        max-width: 300px;
    }

    .scenarios-row {
        grid-template-columns: 1fr;
    }

    .scenarios-row:last-child {
        grid-template-columns: 1fr;
    }

    .scenarios-title {
        font-size: 28px;
    }

    .carousel-container {
        padding-bottom: 50%;
    }

    .tailong-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .tailong-brand {
        font-size: 32px;
        letter-spacing: 4px;
    }

    .tailong-slogan {
        font-size: 14px;
    }

    .tailong-slogan2 {
        font-size: 12px;
    }
}

/* 平滑滚动 */
html {
    scroll-behavior: smooth;
}

/* 加载动画 */
.fade-in {
    animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 证书弹窗专用样式 */
.certificate-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px 25px;
    padding-right: 60px;
}

.certificate-grid .modal-image-item {
    flex: none;
    max-width: 240px;
}

.certificate-grid .modal-image-item img {
    width: 100%;
    height: auto;
    max-height: 320px;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.certificate-grid .modal-image-label {
    font-size: 12px;
    color: #333333;
    font-weight: 500;
    margin-top: 8px;
    text-align: center;
}

.certificate-contact {
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    gap: 30px;
    align-self: stretch;
    padding-top: 40px;
    padding-left: 60px;
}

.certificate-contact-info {
    text-align: center;
}

.certificate-contact .modal-title {
    font-size: 18px;
    margin-bottom: 10px;
}

.certificate-contact .modal-phone {
    font-size: 18px;
    color: #333333;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.certificate-contact .modal-qrcode {
    width: 150px;
    height: 150px;
}

/* 响应式 - 证书弹窗 */
@media (max-width: 768px) {
    .certificate-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        padding-right: 0;
    }

    .certificate-grid .modal-image-item img {
        height: 80px;
    }

    .certificate-contact .modal-qrcode {
        width: 120px;
        height: 120px;
    }
}

/* 弹窗关闭按钮 */
.modal-close-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    background-color: transparent;
    border: 2px solid #333333;
    border-radius: 50%;
    font-size: 30px;
    line-height: 36px;
    color: #333333;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.modal-close-btn:hover {
    background-color: #333333;
    color: #ffffff;
    transform: rotate(90deg);
}

/* 联系我们弹窗专用样式 */
.contact-modal-body {
    display: flex;
    align-items: flex-start;
    gap: 30px;
    padding: 40px;
}

.contact-left {
    display: flex;
    flex-direction: column;
    gap: 25px;
    flex-shrink: 0;
    width: 280px;
    justify-content: center;
}

.contact-info-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* 英文模式下联系我们弹窗左移50px */
.lang-en .contact-info-item {
    transform: translateX(-50px);
}

.contact-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.contact-text {
    display: flex;
    flex-direction: row;
    gap: 5px;
    align-items: baseline;
}

.contact-label {
    font-size: 14px;
    color: #333333;
    font-weight: 600;
    white-space: nowrap;
    flex-shrink: 0;
}

.contact-value {
    font-size: 14px;
    color: #666666;
    line-height: 1.6;
    white-space: nowrap;
}

.contact-center {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 0 20px;
    border-right: 1px solid #e0e0e0;
}

.world-map {
    width: 70%;
    max-width: 450px;
    height: auto;
    opacity: 1;
   
}

.contact-right {
    width: 200px;
    flex-shrink: 0;
    display: flex;
    justify-content: center;
    transform: translateX(-50px);
}

.contact-right-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.contact-title {
    font-size: 18px;
    color: #333333;
    font-weight: 600;
    margin: 0;
}

.contact-phone {
    font-size: 16px;
    color: #333333;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin: 0;
}

.contact-qrcode {
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 10px;
}

.contact-qrcode img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* 响应式 - 联系我们弹窗 */
@media (max-width: 1024px) {
    .contact-modal-body {
        flex-direction: column;
        align-items: center;
    }

    .contact-left {
        width: 100%;
    }

    .contact-center {
        width: 100%;
        padding: 20px 0;
    }

    .contact-right {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .contact-modal-body {
        padding: 20px;
    }

    .contact-left {
        gap: 15px;
    }

    .world-map {
        max-width: 300px;
    }

    .contact-qrcode {
        width: 100px;
        height: 100px;
    }
}

/* 关于我们弹窗专用样式 */
.about-modal-body {
    display: flex;
    align-items: flex-start;
    gap: 40px;
    padding: 40px;
}

.about-left {
    flex: 0 0 400px;
    display: flex;
    flex-direction: column;
}

.about-text-content {
    background-color: transparent;
    padding: 0;
}

.about-text-content p {
    font-size: 18px;
    line-height: 1.8;
    color: #333333;
    text-align: justify;
    margin: 0;
}

.about-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding-left: 40px;
    border-left: 1px solid #e0e0e0;
}

.about-video-container {
    width: 100%;
    background-color: #000000;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
}

.about-video {
    width: 100%;
    height: 450px;
    display: block;
    object-fit: fill;
    background-color: #000000;
}

.about-images-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.about-image-item {
    width: 100%;
    overflow: hidden;
    border-radius: 8px;
}

.about-image-item img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.about-image-item:hover img {
    transform: scale(1.05);
}

/* 响应式 - 关于我们弹窗 */
@media (max-width: 1024px) {
    .about-modal-body {
        flex-direction: column;
    }

    .about-left {
        flex: none;
        width: 100%;
    }

    .about-right {
        width: 100%;
        border-left: none;
        padding-left: 0;
    }
}

@media (max-width: 768px) {
    .about-modal-body {
        padding: 20px;
    }

    .about-text-content {
        padding: 0;
    }

    .about-text-content p {
        font-size: 16px;
    }

    .about-images-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .about-image-item img {
        height: 120px;
    }
}