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



/* 基础排版 */
body {
    font-family: 'PingFang SC', 'Microsoft YaHei', sans-serif;
    line-height: 1.6;
    color: #666666;
    background-color: #FFFFFF;
}

.container {
    margin: 0 auto;
    padding: 0 20px;
}

/* 导航栏 */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: transparent;
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: #FFFFFF;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* 导航栏上部分 */
.navbar-top {
    background: rgba(245, 245, 245, 0.1);
    padding: 0.5rem 0;
    padding-bottom: 0rem;
    transition: all 0.3s ease;
}

.navbar.scrolled .navbar-top {
    background: #FFFFFF;
}

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

.nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo {
    height: 65px;
    width: auto;
}

.brand-text {
    font-size: 1.3rem;
    font-weight: bold;
    color: #C91F37;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.navbar.scrolled .brand-text {
    color: #C91F37;
    text-shadow: none;
}

.nav-top-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.contact-phone {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #C91F37;
    font-weight: 600;
    font-size: 1.1rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.navbar.scrolled .contact-phone {
    color: #C91F37;
    text-shadow: none;
}

.contact-phone i {
    color: #d12b26;
    transition: all 0.3s ease;
}

.navbar.scrolled .contact-phone i {
    color: #C91F37;
}

.search-box {
    display: flex;
    align-items: center;
    border-radius: 8px;
}

.search-input {
    border: 1px solid #C91F37;
    border-right: none;
    outline: none;
    padding: 0.5rem 1rem;
    width: 200px;
    font-size: 0.9rem;
    border-radius: 8px;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    background-color: transparent;
}

.search-btn {
    background: #C91F37;
    color: white;
    /* border 设置朝外 */
    border: none;
    outline: 1px solid #C91F37;
    outline-offset: 1px;
    border-radius: 8px;
    border-left: none;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    padding: 0.5rem 1rem;
    cursor: pointer;
    transition: background 0.3s ease;
}

.search-btn i {
    transition: transform 0.3s ease;
}

/* 同时icon 轻微旋转 */
.search-btn:hover i {
    transform: rotate(10deg);
}

.search-btn:hover {
    background: #a91729;
}

/* 导航栏下部分 */
.navbar-bottom {
    background: rgba(255, 255, 255, 0.1);
    padding: 0.8rem 0;
    padding-top: 0rem;
    transition: all 0.3s ease;
}

.navbar.scrolled .navbar-bottom {
    background: #FFFFFF;
    backdrop-filter: none;
}

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

.nav-menu {
    display: flex;
    gap: 3rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-item {
    position: relative;
}

.nav-link {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    font-size: 1rem;
    padding: 0.5rem 1rem;
    transition: color 0.3s ease;
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.navbar.scrolled .nav-link {
    color: #333333;
    text-shadow: none;
    font-weight: 600;
}

.nav-link:hover {
    color: #d12b26;
}

.navbar.scrolled .nav-link:hover {
    color: #C91F37;
}



/* 下拉箭头 */
.nav-link .dropdown-arrow {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.nav-item:hover .dropdown-arrow {
    transform: rotate(180deg);
}

/* 二级菜单 */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: #FFFFFF;
    min-width: 200px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    padding: 1rem 0;
    margin-top: 10px;
}

.nav-item:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown-menu::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 8px solid #FFFFFF;
}

.dropdown-item {
    font-size: 0.9rem;
    display: block;
    padding: 0.7rem 1.2rem;
    color: #666666;
    text-decoration: none;
    transition: all 0.3s ease;
    border-bottom: 1px solid #f5f5f5;
}

.dropdown-item:last-child {
    border-bottom: none;
}

.dropdown-item:hover {
    background: #F5F5F5;
    color: #C91F37;
}

.nav-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #C91F37;
}

/* 主要内容区 */
main {
    margin-top: 0;
}

/* 英雄区域 */
.hero-section {
    height: 100vh;
    position: relative;
    overflow: hidden;
}

.hero-swiper {
    height: 100%;
}

.hero-slide {
    position: relative;
    height: 100%;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}



.hero-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: flex-end;
    padding-left: 100px;
    padding-bottom: 100px;
}



.hero-title {
    font-size: 2.5rem;
    color: #FFFFFF;
    font-weight: bold;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1rem;
    color: #FFFFFF;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
}

.btn {
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-primary {
    background: #C91F37;
    color: #FFFFFF;
}

.btn-primary:hover {
    background: #a91729;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.btn-outline {
    background: transparent;
    color: #C91F37;
    border: 2px solid #C91F37;
    transition: all 0.3s ease;
}

.btn-outline:hover {
    background: #C91F37;
    color: #FFFFFF;
}

.btn-gradient {
    background: linear-gradient(135deg, #C91F37, #1E50B3);
    color: #FFFFFF;
}

.btn-gradient:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}


/* 数字化叠加层和资质认证 */
.digital-overlay {
    position: absolute;
    bottom: 50px;
    right: 50px;
    z-index: 3;
}

.qualification-badges {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.qualification-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 8px 16px;
    border-radius: 25px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #FFFFFF;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.qualification-badge:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.05);
}

.qualification-badge i {
    color: #C91F37;
    font-size: 1.1rem;
}

.ar-interface {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #1E50B3;
    font-weight: 600;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(-50%);
    }

    50% {
        transform: translateY(-60%);
    }
}

/* 轮播图控制按钮 */
.swiper-button-next,
.swiper-button-prev {
    color: #FFFFFF;
}

/* 轮播图指示器 - 长条样式 */
.swiper-pagination {
    bottom: 30px !important;
}

.swiper-pagination-bullet {
    width: 40px;
    height: 4px;
    border-radius: 2px;
    background: rgba(255, 255, 255, 0.5);
    opacity: 1;
    margin: 0 8px;
    transition: all 0.3s ease;
}

.swiper-pagination-bullet-active {
    background: #FFFFFF;
    transform: scaleX(1.5);
    box-shadow: 0 2px 8px rgba(255, 255, 255, 0.3);
}



/* 通用标签样式 */
.ur-label {
    display: inline-block;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: #d12b26;
    font-weight: 700;
    margin-bottom: 1.5rem;
    position: relative;
    padding-left: 3rem;
}

.ur-label::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 2rem;
    height: 2px;
    background: #d12b26;
}

/* 在居中容器中的标签样式 */
.section-header .ur-label,
.cases-top .ur-label {
    display: inline-block;
    text-align: center;
    padding-left: 3rem;
    margin-bottom: 1rem;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}









/* 页脚 - 重构版 */
.footer {
    background: linear-gradient(135deg, #1a1d29 0%, #0f1419 100%);
    color: #e0e3e9;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(209, 43, 38, 0.3), transparent);
}

.footer-main {
    padding: 4rem 0 2rem;
}

.footer-grid {
    padding: 0 3rem;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    justify-content: center;
    gap: 3rem;
}

/* 品牌列 */
.footer-brand-col {
    padding-right: 2rem;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.footer-logo {
    height: 50px;
    width: auto;
}

.footer-brand h3 {
    color: #ffffff;
    font-size: 1.8rem;
    font-weight: 800;
    margin: 0;
    letter-spacing: 0.5px;
}

.footer-desc {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 2rem;
}

/* 社交媒体 */
.footer-social {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: linear-gradient(135deg, #d12b26, #f7532e);
    border-color: #d12b26;
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(209, 43, 38, 0.3);
}

.social-link i {
    font-size: 1.1rem;
}

/* 列标题 */
.footer-title {
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    letter-spacing: 0.5px;
    position: relative;
    padding-bottom: 0.8rem;
}

.footer-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, #d12b26, #f7532e);
    border-radius: 2px;
}

/* 链接列表 */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.footer-links a i {
    font-size: 0.7rem;
    transform: translateX(-5px);
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: #d12b26;
    padding-left: 8px;
}

.footer-links a:hover i {
    opacity: 1;
    transform: translateX(0);
}

/* 联系方式 */
.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact li {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.footer-contact-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: linear-gradient(135deg, rgba(209, 43, 38, 0.1), rgba(247, 83, 46, 0.1));
    border: 1px solid rgba(209, 43, 38, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.footer-contact li:hover .footer-contact-icon {
    background: linear-gradient(135deg, #d12b26, #f7532e);
    border-color: #d12b26;
    transform: scale(1.1);
}

.footer-contact-icon i {
    color: #d12b26;
    font-size: 1rem;
    transition: color 0.3s ease;
}

.footer-contact li:hover .footer-contact-icon i {
    color: #ffffff;
}

.footer-contact-info {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.footer-contact-label {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
}

.footer-contact-value {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
    font-weight: 500;
}

/* 页脚底部 */
.footer-bottom {
    display: flex;
    align-items: center;

    padding: 1.5rem 0;
    background: rgba(0, 0, 0, 0.3);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

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

.footer-copyright {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.footer-copyright p,
.footer-copyright a {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
    margin: 0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-copyright a:hover {
    color: #d12b26;
}

.footer-copyright .divider {
    color: rgba(255, 255, 255, 0.2);
}



.footer-credits i {
    color: #d12b26;
    margin: 0 0.3rem;
    animation: heartbeat 1.5s ease-in-out infinite;
}

@keyframes heartbeat {

    0%,
    100% {
        transform: scale(1);
    }

    25% {
        transform: scale(1.1);
    }

    50% {
        transform: scale(1);
    }
}

/* 咨询按钮 */
.btn-consultation {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, #d12b26 0%, #f7532e 100%);
    color: #ffffff;
    text-decoration: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    box-shadow: 0 15px 40px rgba(209, 43, 38, 0.4);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.btn-consultation::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #f7532e 0%, #d12b26 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.btn-consultation:hover::before {
    opacity: 1;
}

.btn-consultation span,
.btn-consultation i {
    position: relative;
    z-index: 1;
}

.btn-consultation:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 20px 50px rgba(209, 43, 38, 0.5);
}

.btn-consultation i {
    font-size: 1rem;
    transition: transform 0.4s ease;
}

.btn-consultation:hover i {
    transform: translateX(8px);
}




/* 返回顶部按钮 */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    /* background: linear-gradient(135deg, #d12b26 0%, #f7532e 100%); */
    background: url(../images/backtop.png) no-repeat center center;
    background-size: 100% 100%;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    color: white;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:active {
    transform: translateY(-3px);
}

.back-to-top i {
    transition: transform 0.3s ease;
}

.back-to-top:hover i {
    transform: translateY(-3px);
}

/* 右下角机器人助手 */
.bot-assistant {
    position: fixed;
    bottom: 100px;
    right: 20px;
    width: 80px;
    height: 80px;
    cursor: pointer;
    z-index: 9998;
    transition: all 0.3s ease;
    animation: bot-float 3s ease-in-out infinite;
    opacity: 0;
    transform: scale(0.5);
}

.bot-assistant:hover {
    transform: scale(1.1);
}

.bot-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.15));
    transition: filter 0.3s ease;
}

.bot-assistant:hover .bot-image {
    filter: drop-shadow(0 12px 30px rgba(33, 150, 243, 0.4));
}

.bot-tooltip {
    position: absolute;
    right: 90px;
    top: 50%;
    transform: translateY(-50%);
    background: linear-gradient(135deg, #d12b26 0%, #f7532e 100%);
    color: #ffffff;
    padding: 0.6rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    white-space: nowrap;
    box-shadow: 0 4px 15px rgba(33, 150, 243, 0.3);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    pointer-events: none;
}

.bot-tooltip::after {
    content: '';
    position: absolute;
    right: -8px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-left: 8px solid #d12b26;
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
}

.bot-assistant:hover .bot-tooltip {
    opacity: 1;
    visibility: visible;
    right: 95px;
}

/* 机器人浮动动画 */
@keyframes bot-float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

/* AI聊天窗口 */
.chat-window {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 380px;
    height: 550px;
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    display: flex;
    flex-direction: column;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.95);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.chat-window.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

/* 聊天窗口头部 */
.chat-header {
    background: linear-gradient(135deg, #d12b26 0%, #f7532e 100%);
    color: #ffffff;
    padding: 1rem 1.2rem;
    border-radius: 20px 20px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chat-header-left {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.chat-bot-avatar {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: #ffffff;
    padding: 3px;
}

.chat-header-info h3 {
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
}

.chat-status {
    display: inline-flex;
    align-items: center;
    font-size: 0.75rem;
    opacity: 0.9;
}

.chat-status::before {
    content: '';
    width: 6px;
    height: 6px;
    background: #4caf50;
    border-radius: 50%;
    margin-right: 5px;
    animation: pulse 2s infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

.chat-close {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    color: #ffffff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

.chat-close:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* 聊天内容区域 */
.chat-body {
    flex: 1;
    overflow-y: auto;
    padding: 1.5rem;
    background: #f8f9fa;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.chat-body::-webkit-scrollbar {
    width: 6px;
}

.chat-body::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.chat-body::-webkit-scrollbar-thumb {
    background: #d12b26;
    border-radius: 3px;
}

/* 欢迎消息 */
.chat-welcome {
    text-align: center;
    padding: 2rem 1rem;
}

.welcome-bot {
    width: 80px;
    height: 80px;
    margin-bottom: 1rem;
    animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.chat-welcome h3 {
    color: #333;
    font-size: 1.1rem;
    margin: 0.5rem 0;
}

.chat-welcome p {
    color: #666;
    font-size: 0.9rem;
    margin: 0;
}

/* 消息气泡 */
.chat-message {
    display: flex;
    gap: 0.8rem;
    align-items: flex-start;
    animation: message-slide-in 0.3s ease;
}

@keyframes message-slide-in {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.chat-message.user {
    flex-direction: row-reverse;
}

.message-avatar {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    flex-shrink: 0;
}

.message-avatar img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.message-content {
    max-width: 75%;
    padding: 0.8rem 1rem;
    border-radius: 18px;
    font-size: 0.9rem;
    line-height: 1.6;
    white-space: pre-wrap;
    word-wrap: break-word;
}

.message-content strong {
    font-weight: 600;
    color: #d12b26;
}

.chat-message.user .message-content strong {
    color: #ffffff;
    font-weight: 700;
}

.message-content em {
    font-style: italic;
}

.message-content br {
    display: block;
    content: "";
    margin: 0.3rem 0;
}

.chat-message.bot .message-content {
    background: #ffffff;
    color: #333;
    border-bottom-left-radius: 4px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.08);
}

.chat-message.user .message-content {
    background: linear-gradient(135deg, #d12b26 0%, #f7532e 100%);
    color: #ffffff;
    border-bottom-right-radius: 4px;
}

.message-time {
    font-size: 0.7rem;
    color: #999;
    margin-top: 0.3rem;
    text-align: center;
}

/* 输入中动画 */
.typing-indicator {
    display: flex;
    gap: 0.8rem;
    align-items: center;
}

.typing-dots {
    display: flex;
    gap: 4px;
    padding: 1rem;
    background: #ffffff;
    border-radius: 18px;
    border-bottom-left-radius: 4px;
}

.typing-dots span {
    width: 8px;
    height: 8px;
    background: #d12b26;
    border-radius: 50%;
    animation: typing 1.4s infinite;
}

.typing-dots span:nth-child(2) {
    animation-delay: 0.2s;
}

.typing-dots span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes typing {

    0%,
    60%,
    100% {
        transform: translateY(0);
        opacity: 0.7;
    }

    30% {
        transform: translateY(-10px);
        opacity: 1;
    }
}

/* 聊天底部 */
.chat-footer {
    padding: 1rem;
    background: #ffffff;
    border-radius: 0 0 20px 20px;
    border-top: 1px solid #e0e0e0;
}

.chat-input-wrapper {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 0.8rem;
}

.chat-input {
    flex: 1;
    border: 1px solid #e0e0e0;
    border-radius: 25px;
    padding: 0.7rem 1rem;
    font-size: 0.9rem;
    outline: none;
    transition: border-color 0.3s ease;
}

.chat-input:focus {
    border-color: #d12b26;
}

.chat-send-btn {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, #d12b26 0%, #f7532e 100%);
    color: #ffffff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.chat-send-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 5px 15px rgba(209, 43, 38, 0.3);
}

.chat-send-btn:active {
    transform: scale(0.95);
}

/* 快捷建议 */
.chat-suggestions {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.suggestion-btn {
    background: #f8f9fa;
    border: 1px solid #e0e0e0;
    padding: 0.5rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    color: #666;
    transition: all 0.3s ease;
}

.suggestion-btn:hover {
    background: #d12b26;
    color: #ffffff;
    border-color: #d12b26;
}

.suggestion-btn i {
    font-size: 0.75rem;
}

/* 机器人助手响应式 */
@media (max-width: 768px) {
    .bot-assistant {
        bottom: 80px;
        right: 20px;
        width: 65px;
        height: 65px;
    }

    .bot-tooltip {
        font-size: 0.75rem;
        padding: 0.5rem 0.8rem;
        right: 75px;
    }

    .bot-assistant:hover .bot-tooltip {
        right: 80px;
    }

    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }

    /* 聊天窗口移动端适配 */
    .chat-window {
        width: calc(100% - 20px);
        height: calc(100vh - 40px);
        bottom: 10px;
        right: 10px;
        left: 10px;
        border-radius: 15px;
    }

    .chat-header {
        padding: 0.8rem 1rem;
        border-radius: 15px 15px 0 0;
    }

    .chat-bot-avatar {
        width: 40px;
        height: 40px;
    }

    .chat-header-info h3 {
        font-size: 0.95rem;
    }

    .chat-body {
        padding: 1rem;
    }

    .message-content {
        font-size: 0.85rem;
        padding: 0.7rem 0.9rem;
    }

    .chat-input {
        font-size: 0.85rem;
        padding: 0.6rem 0.9rem;
    }

    .chat-send-btn {
        width: 42px;
        height: 42px;
    }

    .suggestion-btn {
        font-size: 0.75rem;
        padding: 0.4rem 0.7rem;
    }
}

/* ========== 导航栏和页面布局响应式 ========== */

/* 手机端导航 (≤ 768px) 包含一下ipad */
@media (max-width: 1024px) {

    /* 导航栏顶部 */
    .navbar-top {
        padding: 0.3rem 0;
    }

    .logo {
        height: 50px;
    }

    .brand-text {
        font-size: 1.1rem;
    }

    .nav-top-right {
        flex-direction: column;
        gap: 0.5rem;
        align-items: flex-end;
    }

    .contact-phone {
        display: none;
    }

    .search-box {
        display: none;
        /* 小屏隐藏搜索框 */
    }

    /* 导航菜单 */
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #FFFFFF;
        flex-direction: column;
        padding: 1rem;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        gap: 0;
        z-index: 999;
    }

    .nav-menu.active {
        display: flex;
    }

    /* 移动端禁用hover效果 */
    .nav-item:hover .dropdown-menu {
        transform: none;
        opacity: 1;
        visibility: visible;
    }

    .nav-item:hover .dropdown-arrow {
        transform: none;
    }

    .nav-item {
        width: 100%;
        border-bottom: 1px solid #F5F5F5;
    }

    .nav-link {
        padding: 1rem;
        justify-content: space-between;
        color: #333333 !important;
        text-shadow: none !important;
        display: flex;
        align-items: center;
    }

    /* 移动端下拉箭头样式和点击区域 */
    .dropdown-arrow {
        transition: transform 0.3s ease;
        padding: 0.5rem;
        margin: -0.5rem;
        cursor: pointer;
        font-size: 1rem;
    }

    /* 移动端下拉箭头旋转 - 当下拉菜单展开时 */
    .nav-item.dropdown-active .dropdown-arrow {
        transform: rotate(180deg);
    }

    .dropdown-menu {
        position: static;
        transform: none;
        opacity: 1;
        visibility: visible;
        box-shadow: none;
        padding: 0;
        margin: 0;
        background: #F5F5F5;
        border-radius: 0;
        display: none;
    }

    .dropdown-menu.active {
        display: block;
    }

    .dropdown-menu::before {
        display: none;
    }

    .dropdown-item {
        padding: 0.8rem 2rem;
    }

    .nav-toggle {
        display: block;
        position: absolute;
        right: 1rem;
        top: 50%;
        transform: translateY(-50%);
    }

    /* 主内容区 */
    main {
        margin-top: 70px;
    }

    /* Hero 区域 */
    .hero-section {
        height: 70vh;
        min-height: 500px;
    }

    .hero-content {
        padding-left: 2rem;
        padding-bottom: 3rem;
        padding-right: 2rem;
    }

    .hero-title {
        font-size: 1.5rem;
    }

    .hero-subtitle {
        font-size: 0.95rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.8rem;
    }

    .btn {
        padding: 0.8rem 1.8rem;
        font-size: 0.9rem;
    }

    .digital-overlay {
        bottom: 20px;
        right: 20px;
    }

    .qualification-badges {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 5px;
    }

    .qualification-badge {
        padding: 6px 12px;
        font-size: 0.8rem;
    }


    /* ========== Footer 移动端优化 ========== */
    .footer {
        padding: 0;
    }

    .footer-main {
        padding: 2.5rem 0 1.5rem;
    }

    .footer-grid {
        display: flex;
        flex-direction: column;
        padding: 0rem;
        gap: 1rem;
    }

    /* 品牌区域 */
    .footer-brand-col {
        text-align: center;
        padding-right: 0;
        padding-bottom: 1rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .footer-brand {
        flex-direction: column;
        align-items: center;
        gap: 0.8rem;
        margin-bottom: 1rem;
    }

    .footer-logo {
        height: 45px;
    }

    .footer-brand h3 {
        font-size: 1.5rem;
    }

    .footer-desc {
        font-size: 0.9rem;
        line-height: 1.6;
        margin-bottom: 1.5rem;
        text-align: center;
    }

    /* 社交媒体 */
    .footer-social {
        justify-content: center;
        gap: 0.8rem;
    }

    .social-link {
        width: 38px;
        height: 38px;
    }

    /* 其他列 */
    .footer-col {
        text-align: center;
    }

    .footer-title {
        display: none;
    }

    /* 链接列表 */
    .footer-links {
        display: none;
    }





    /* 联系方式 */
    .footer-contact {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .footer-contact li {
        margin-bottom: 1.2rem;
        width: 100%;
        max-width: 300px;
        justify-content: start;
    }

    .footer-contact-icon {
        width: 38px;
        height: 38px;
    }

    .footer-contact-info {
        text-align: left;
    }

    .footer-contact-label {
        font-size: 0.8rem;
    }

    .footer-contact-value {
        font-size: 0.9rem;
    }

    /* 页脚底部 */
    .footer-bottom {
        padding: 0.5rem 0;
    }



    .footer-copyright {
        align-items: center;
    }

    .footer-copyright p,
    .footer-copyright a {
        font-size: 0.75rem;
    }



}