/* 全局样式 - 儿童网站风格 */
:root {
    --primary-color: #FF6B9D; /* 粉色 - 主色调 */
    --secondary-color: #4ECDC4; /* 青绿色 - 辅助色 */
    --accent-color: #FFD93D; /* 亮黄 - 强调色 */
    --purple-color: #A78BFA; /* 紫色 - 可选色 */
    --orange-light: #FFE7C6; /* 浅橘色渐变起点 */
    --blue-light: #B7E5FF; /* 浅蓝色渐变终点 */
    --light-bg: #3f2d75; /* 浅紫背景 */
    --dark-text: #1A1A2E; /* 深文字色 */
    --white: #FFFFFF;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* 品牌Logo样式 */
.brand-logo {
    height: 40px;
    width: auto;
    max-width: 120px;
    object-fit: contain;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.brand-logo:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 8px rgba(0, 102, 204, 0.3);
}

.brand-text {
    color: #049DC4; /* 湖蓝色标题 */
    font-weight: 700;
    font-size: 1.2rem;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
}

.navbar-brand:hover .brand-text {
    color: #4ECDC4; /* 青绿色悬停效果 */
    transform: translateX(2px);
}

body {
    font-family: 'Comic Neue', 'Comic Sans MS', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
    line-height: 1.6;
    color: var(--dark-text);
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: linear-gradient(135deg, var(--orange-light), var(--blue-light));
}

/* 主内容区域，确保页脚在底部 */
main {
    flex: 1 0 auto;
}

/* 确保内容在视频背景上清晰可见 */
section {
    position: relative;
    z-index: 1;
}

/* 调整文字颜色以适应视频背景 */
.hero-section .lead {
    color: rgba(255, 255, 255, 0.9) !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-section h1, .hero-section h2, .hero-section h3, .hero-section h4, .hero-section h5, .hero-section h6 {
    color: white !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

/* 导航栏样式 - 儿童风格 */
#mainNav {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(15px);
    transition: all 0.3s ease;
    border-radius: 0 0 20px 20px;
}

#mainNav.navbar-scrolled {
    background: var(--white);
    border-radius: 0;
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color) !important;
}

.navbar-nav .nav-link {
    font-weight: 600;
    margin: 0 0.3rem;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    color: black !important;
    background-color: transparent !important;
}

.navbar-nav .nav-link:hover {
    color: black !important;
    background-color: rgba(0, 0, 0, 0.05) !important;
    transform: none;
    text-shadow: none;
    box-shadow: none;
}

/* 激活状态保持黑色文字 */
.navbar-nav .nav-link.active {
    color: black !important;
    font-weight: 700;
}

/* 视频背景容器 */
.video-background-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.background-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
    z-index: -1;
    transition: opacity 0.3s ease;
}

/* 视频加载和循环时的过渡效果 */
.background-video.loading {
    opacity: 0.7;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3); /* 半透明遮罩，确保文字可读性 */
    z-index: 0;
}

/* 英雄区域 */
.hero-section {
    background: url('/static/images/产品.jpg') center/cover no-repeat;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

/* 首页英雄区域 */
#home.hero-section {
    background: url('/static/images/首页背景.jpg') center/cover no-repeat;
}

/* 产品页英雄区域 */
#products.hero-section {
    background: linear-gradient(to bottom, rgb(255, 252, 233), rgb(255, 255, 255));
    /* 新背景色渐变 */
}

/* 关于我们页英雄区域 */
#about.hero-section {
    background: url('/static/images/关于我们背景图.jpg') center/cover no-repeat;
    background-color: transparent;
    min-height: 80vh;
    height: 80vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 关于我们页面文字样式 */
#about.hero-section h1,
#about.hero-section .display-3 {
    color: white !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.7);
    font-weight: 700;
}

#about.hero-section .lead {
    color: rgba(255, 255, 255, 0.95) !important;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.7);
    font-weight: 500;
}

/* 支持中心页英雄区域 */
#support.hero-section {
    background: url('/static/images/支持中心背景图.jpg') center/cover no-repeat;
    background-color: transparent;
    min-height: 80vh;
    height: 80vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 确保支持中心页面的内容垂直居中 */
#support .row {
    min-height: 60vh;
}

.hero-content {
    text-align: center;
}

.hero-image-text {
    max-width: 80%;
    height: auto;
    max-height: 120px;
    object-fit: contain;
    animation: fadeInUp 1s ease-out;
    margin-top: -20px;
}

@media (max-width: 768px) {
    .hero-image-text {
        max-width: 90%;
        max-height: 80px;
    }
}

@media (max-width: 576px) {
    .hero-image-text {
        max-width: 95%;
        max-height: 60px;
    }
}

/* 视频容器样式 */
.hero-video-container {
    position: relative;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
}

.hero-video {
    width: 100%;
    height: auto;
    max-height: 120px;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 1s ease-out;
    cursor: pointer;
    transition: all 0.3s ease;
}

.hero-video:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4);
}

.hero-video-fallback {
    display: none;
}

/* 视频加载失败时的回退显示 */
.hero-video-container.video-error .hero-video {
    display: none;
}

.hero-video-container.video-error .hero-video-fallback {
    display: block;
}

@media (max-width: 768px) {
    .hero-video {
        max-height: 80px;
    }
}

@media (max-width: 576px) {
    .hero-video {
        max-height: 60px;
    }
}



.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: none;
    opacity: 0;
}

.hero-image {
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

/* 产品卡片 */
.product-card {
    border: none;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    background: var(--white);
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.product-card .card-body {
    padding: 2rem;
}

/* 解决方案卡片 */
.solution-card {
    border: none;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    background: var(--white);
}

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

/* 解决方案图标样式 */
.solution-icon {
    margin-bottom: 1rem;
}

.solution-icon i {
    transition: all 0.3s ease;
}

.solution-card:hover .solution-icon i {
    transform: scale(1.1);
    animation: gentle-bounce 1s infinite;
}

/* 计数器动画 */
.counter {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
}

/* 按钮样式 - 儿童风格 */
.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border: none;
    border-radius: 100px;
    padding: 0.75rem 2rem;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 107, 157, 0.3);
    animation: gentle-bounce 2s infinite;
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 15px 25px rgba(255, 107, 157, 0.4);
    animation-play-state: paused;
}

.btn-outline-light {
    border: 2px solid var(--white);
    border-radius: 50px;
    padding: 0.75rem 2rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-outline-light:hover {
    background: var(--white);
    color: var(--primary-color);
    transform: translateY(-2px);
}

/* 表单样式 */
.form-control {
    border: 2px solid #e9ecef;
    border-radius: 10px;
    padding: 0.75rem 1rem;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: transparent;
    box-shadow: none;
    outline: none;
}

/* 问题反馈页面样式 */
body.feedback-page {
    background: white !important;
}

.feedback-page main {
    background: white !important;
}

.feedback-page section {
    background: white !important;
}

/* 问题反馈页面按钮样式 */
.feedback-page .btn-primary {
    background: rgb(4, 157, 196) !important;
    border-color: rgb(4, 157, 196) !important;
    box-shadow: none !important;
    animation: none !important;
}

.feedback-page .btn-primary:hover {
    background: rgb(3, 140, 175) !important;
    border-color: rgb(3, 140, 175) !important;
    transform: none !important;
    box-shadow: none !important;
}

/* 问题反馈页面文字样式 */
.feedback-page .lead {
    color: black !important;
}

/* 问题反馈页面输入框特殊样式 */
.feedback-page #feedbackForm .form-control {
    height: 58px !important; /* 固定高度，确保三个输入框默认大小一致 */
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important; /* 更平滑的过渡动画 */
    resize: none !important;
    border-radius: 12px !important; /* 更圆润的边角 */
    font-size: 16px !important; /* 统一字体大小 */
    line-height: 1.5 !important;
    padding: 12px 16px 12px 16px !important; /* 增加left padding为浮动标签留出空间 */
    white-space: nowrap !important;
    text-overflow: ellipsis !important;
    overflow: hidden !important;
}

/* 输入框有内容时显示完整文字 */
.feedback-page #feedbackForm .form-control:not(:placeholder-shown) {
    overflow: visible !important;
    text-overflow: unset !important;
    white-space: normal !important;
}

/* 确保textarea在默认状态下与其他输入框完全一致 */
.feedback-page #feedbackForm #userFeedback {
    height: 58px !important;
    min-height: 58px !important;
    max-height: 120px !important;
    overflow-y: hidden !important;
}

/* 第三个输入框（问题和建议）点击时适度放大 */
.feedback-page #feedbackForm #userFeedback:focus {
    height: 120px !important;
    min-height: 120px !important;
    max-height: 120px !important;
    border-color: rgb(4, 157, 196) !important;
    box-shadow: 0 0 0 3px rgba(4, 157, 196, 0.1) !important; /* 添加柔和的阴影效果 */
    outline: none !important;
    overflow-y: auto !important; /* 允许滚动 */
}

/* 前两个输入框聚焦时的样式（保持大小不变，只改变边框） */
.feedback-page #feedbackForm #userName:focus,
.feedback-page #feedbackForm #userPhone:focus {
    border-color: rgb(4, 157, 196) !important;
    box-shadow: 0 0 0 3px rgba(4, 157, 196, 0.1) !important;
    outline: none !important;
    height: 58px !important; /* 确保高度不变 */
    transform: none !important; /* 不放大 */
}

/* 输入框hover效果（所有输入框统一） */
.feedback-page #feedbackForm .form-control:hover {
    border-color: rgb(4, 157, 196) !important;
    box-shadow: 0 2px 8px rgba(4, 157, 196, 0.1) !important;
}

/* 浮动标签适配 - 增加left padding为标签留出空间 */
.feedback-page #feedbackForm .form-floating label {
    padding: 12px 16px !important;
    font-size: 16px !important;
    left: 16px !important; /* 确保标签有足够的左边距 */
}

/* 输入框有内容或聚焦时，隐藏浮动标签 */
.feedback-page #feedbackForm .form-floating > .form-control:focus ~ label,
.feedback-page #feedbackForm .form-floating > .form-control:not(:placeholder-shown) ~ label {
    opacity: 0 !important; /* 完全隐藏标签 */
    visibility: hidden !important;
    transform: scale(0.85) translateY(-0.5rem) translateX(0) !important;
    color: rgb(4, 157, 196) !important;
    padding-left: 12px !important; /* 浮动时减少左侧padding */
}

/* 社交链接 */
.social-links a {
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: var(--primary-color) !important;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .hero-section {
        text-align: center;
        padding: 2rem 0;
    }
    
    .display-4 {
        font-size: 2rem;
    }
    
    .counter {
        font-size: 2rem;
    }
    
    .navbar-nav {
        text-align: center;
    }
    
    .navbar-nav .nav-link {
        margin: 0.5rem 0;
    }
}

/* 滚动条样式 */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-color);
}

/* 加载动画 */
.loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--white);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* 返回顶部按钮 */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--secondary-color);
    transform: translateY(-3px);
}

/* 平滑滚动 */
html {
    scroll-behavior: smooth;
}

/* 自定义动画 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes gentle-bounce {
    0%, 20%, 53%, 80%, 100% {
        transform: translate3d(0,0,0);
    }
    40%, 43% {
        transform: translate3d(0, -30px, 0);
    }
    70% {
        transform: translate3d(0, -15px, 0);
    }
    90% {
        transform: translate3d(0, -4px, 0);
    }
}

@keyframes rotate-gentle {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes wiggle {
    0%, 7% { transform: rotateZ(0); }
    15% { transform: rotateZ(-15deg); }
    20% { transform: rotateZ(10deg); }
    25% { transform: rotateZ(-10deg); }
    30% { transform: rotateZ(6deg); }
    35% { transform: rotateZ(-4deg); }
    40%, 100% { transform: rotateZ(0); }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

.bounce-gentle {
    animation: gentle-bounce 1s infinite;
}

.rotate-gentle {
    animation: rotate-gentle 4s linear infinite;
}

.wiggle:hover {
    animation: wiggle 1s ease-in-out;
}

/* 高亮当前导航项 */
.navbar-nav .nav-link.active {
    color: var(--primary-color) !important;
    font-weight: 600;
}

/* 响应式字体大小 */
@media (max-width: 576px) {
    .display-5 {
        font-size: 1.8rem;
    }
    
    .lead {
        font-size: 1rem;
    }
}



/* 二维码模态框样式 */
.qr-placeholder {
    padding: 1rem;
    border: 2px dashed #dee2e6;
    border-radius: 10px;
    transition: all 0.3s ease;
    cursor: pointer;
    background: #f8f9fa;
    min-height: 150px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.qr-placeholder:hover {
    border-color: var(--primary-color);
    background: #e3f2fd;
}

.qr-placeholder img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    max-height: 120px;
}

.qr-placeholder .display-1 {
    opacity: 0.5;
}

/* 导航栏菜单项样式调整 */
.navbar-nav .nav-link {
    margin: 0 0.2rem;
    padding: 0.5rem 0.8rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-weight: 500;
}

.navbar-nav .nav-link:hover {
    background: rgba(0, 102, 204, 0.1);
}

/* 响应式Logo样式 */
@media (max-width: 576px) {
    .brand-logo {
        height: 64px;
        max-width: 192px;
    }
    
    .brand-text {
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
    .brand-logo {
        height: 72px;
        max-width: 216px;
    }
    
    .brand-text {
        font-size: 1.1rem;
    }
}

/* 在线商店按钮特殊样式 - 固定橘色背景白色文字 */
#onlineStore {
    background: rgb(250, 77, 0) !important;
    color: white !important;
    font-weight: 600;
    border: none !important;
    border-radius: 50px !important;
}

#onlineStore:hover {
    background: rgb(250, 77, 0) !important;
    color: white !important;
    transform: none !important;
    box-shadow: none !important;
}

/* 激活状态的导航链接样式 - 湖蓝色 */
.navbar-nav .nav-link.active {
    color: #049DC4 !important;
}

.navbar-nav .nav-link.active:hover {
    color: rgba(4, 157, 196, 0.8) !important;
}

.nav-link[href="#home"].active {
    color: #049DC4 !important;
}

.nav-link[href="#products"].active,
.nav-link[href="#miniProgramButton"].active,
.nav-link[href="#about"].active,
.nav-link[href="#support"].active {
    color: #049DC4 !important;
}

/* 语言切换按钮样式 - 保持橘色不变 */
#langToggle {
    border-radius: 20px;
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    color: #FF6600 !important;
    background-color: transparent;
    border: 2px solid #FF6600 !important;
}

#langToggle:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(255, 102, 0, 0.3);
    background-color: #FF6600 !important;
    color: white !important;
}

#buyBtn {
    background: white !important;
    color: rgb(4, 157, 196) !important;
}

/* 模态框样式优化 */
.modal-content {
    border-radius: 15px;
    border: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.modal-header {
    border-bottom: 1px solid #e9ecef;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border-radius: 15px 15px 0 0;
}

/* 语言切换动画 */
.language-switching {
    animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* 页脚样式优化 - 儿童风格 */
footer {
    background: linear-gradient(135deg, var(--secondary-color), var(--purple-color)) !important;
}

footer h6 {
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 1rem !important;
    color: white;
}

footer ul li {
    margin-bottom: 0.5rem;
}

footer ul li a {
    color: white !important;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.95rem;
}

footer ul li a:hover {
    color: rgba(255, 255, 255, 0.8) !important;
    padding-left: 5px;
}

/* 页脚二维码样式 */
footer .qr-placeholder {
    min-height: 100px;
    padding: 0.5rem;
    margin-bottom: 0.5rem;
}

footer .qr-placeholder img {
    max-height: 80px;
}



/* 页脚按钮通用样式 */
footer .btn-outline-light {
    border-color: white;
    color: white !important;
    font-size: 0.9rem;
    padding: 0.4rem 0.8rem;
    transition: all 0.3s ease;
}

footer .btn-outline-light:hover {
    background: white !important;
    border-color: white !important;
    color: rgb(250, 77, 0) !important;
}

footer .btn-outline-light:hover i.fas.fa-qrcode {
    color: rgb(250, 77, 0) !important;
}

/* 页脚社交媒体链接 */
footer .social-links a {
    font-size: 1.3rem;
    margin: 0 0.5rem;
    transition: all 0.3s ease;
    color: white !important;
}

footer .social-links a:hover {
    color: rgba(255, 255, 255, 0.8) !important;
    transform: translateY(-2px);
}

/* 确保页脚中所有文字都是白色的 */
footer .text-light {
    color: white !important;
}

footer .small {
    color: white !important;
}

footer .mb-0 {
    color: white !important;
}

footer .text-primary {
    color: white !important;
}

/* 页脚版权信息 */
footer hr {
    border-color: #444;
    margin: 2rem 0;
}

/* 响应式页脚 */
@media (max-width: 768px) {
    footer .col-lg-2 {
        margin-bottom: 2rem !important;
    }
    
    footer h6 {
        margin-top: 1rem;
    }
}

/* 统一的关闭按钮样式 - 简洁设计 */
.btn-close {
    background: transparent !important;
    border: none !important;
    width: 30px !important;
    height: 30px !important;
    opacity: 0.6 !important;
    transition: all 0.2s ease !important;
    font-size: 28px !important;
    font-weight: 300 !important;
    line-height: 1 !important;
    color: #666 !important;
    cursor: pointer !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    z-index: 1050 !important;
}

/* 确保模态框中的关闭按钮正确定位在右上角 */
.modal .btn-close {
    position: absolute !important;
    top: 0 !important;
    right: 0 !important;
    margin: 1rem !important;
}

.btn-close::before {
    content: '×' !important;
    font-size: inherit !important;
    font-weight: inherit !important;
    line-height: inherit !important;
    color: inherit !important;
}

.btn-close:hover {
    opacity: 1 !important;
    color: #333 !important;
    transform: none !important;
}

.btn-close:focus {
    outline: none !important;
    box-shadow: none !important;
}

/* 模态框中的关闭按钮 */
.modal .btn-close {
    color: #999 !important;
}

.modal .btn-close:hover {
    color: #333 !important;
}

/* 视频播放模态框样式 - 改进版 */
#videoModal .modal-dialog {
    max-width: min-content;
    width: max-content;
    min-width: 600px;
    max-width: 1400px;
    margin: auto;
}

#videoModal .modal-content {
    background: black;
    border: none;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.8);
}

.video-player-container {
    position: relative;
    width: 100%;
    background: #000;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
}

.modal-video {
    width: 100%;
    max-width: 100%;
    height: auto;
    max-height: 85vh;
    object-fit: contain;
    background: #000;
    display: block;
}

/* 在较小屏幕上全屏显示 */
@media (max-width: 577px) {
    #videoModal .modal-dialog {
        margin: 0;
        max-width: 100vw;
        height: 100vh;
    }

    #videoModal .modal-content {
        height: 100vh;
        border-radius: 0;
    }

    .modal-video {
        max-height: 100vh;
    }

    #videoModal .btn-close {
        margin: 1rem !important;
    }
}

/* 圆形视频播放按钮样式 */
.video-play-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    padding: 0;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.8);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.video-play-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 1);
    transform: scale(1.1);
}

.video-play-btn i {
    margin: 0;
    color: white;
}

/* 企业介绍板块样式 */
.enterprise-intro {
    background: linear-gradient(135deg, #FA4D00 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

.enterprise-intro::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: none;
    opacity: 0;
}

.enterprise-card {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.enterprise-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.enterprise-card .card-icon {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.enterprise-card h5 {
    color: var(--dark-text);
    font-weight: 600;
    margin-bottom: 1rem;
}

.enterprise-card p {
    color: #666;
    font-size: 1.1rem;
    line-height: 1.6;
}

/* 企业文化板块样式 - 参考现代化设计 */
.culture-section {
   position: relative;
   margin: 3rem 0;
   padding: 4rem 0;
   overflow: hidden;
   border-radius: 20px;
   background: white; /* 初始背景色为白色 */
   transition: background 0.5s ease;
}

.culture-background {
   position: absolute;
   top: 0;
   left: 0;
   width: 100%;
   height: 100%;
   z-index: 1;
   overflow: hidden;
}

.culture-bg-image {
   width: 100%;
   height: 100%;
   object-fit: cover;
   opacity: 0.15;
   filter: blur(2px);
}

.culture-content {
   position: relative;
   z-index: 2;
}

.culture-grid {
   display: flex;
   justify-content: space-between;
   align-items: center;
   gap: 0;
   width: 100%;
}

.culture-item {
   flex: 1;
   text-align: center;
   padding: 2.5rem 1rem;
   background: transparent;
   border-radius: 0;
   backdrop-filter: none;
   transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
   position: relative;
   overflow: hidden;
   box-shadow: none;
   cursor: pointer;
}

.culture-item::before {
   content: '';
   position: absolute;
   top: 0;
   left: 0;
   right: 0;
   bottom: 0;
   opacity: 0;
   transition: opacity 0.4s ease;
   z-index: -1;
   border-radius: 0;
}

.culture-item:hover::before {
   opacity: 0;
}

.culture-item:hover {
   transform: translateY(-10px) scale(1.02);
   box-shadow: none;
   border-color: transparent;
}

.culture-item.active {
   flex: 1.5; /* 悬停时横向面积变大 */
   transform: translateY(-10px) scale(1.02);
   box-shadow: none;
}

.culture-item.active .culture-title,
.culture-item.active .culture-desc {
   transform: scale(1.1); /* 文字放大 */
}

.culture-number {
   display: none; /* 隐藏数字 */
}

.culture-title {
   font-size: 1.8rem;
   font-weight: 700;
   margin-bottom: 1.5rem;
   color: rgb(4, 157, 196);
   position: relative;
   display: inline-block;
   transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.culture-title::after {
    content: '';
    position: absolute;
    bottom: -0.5rem;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: rgb(250, 77, 0);
    border-radius: 2px;
}

.culture-desc {
   font-size: 1.2rem;
   line-height: 1.8;
   color: rgb(4, 157, 196);
   font-weight: 500;
   margin-top: 1.5rem;
   transition: all 0.4s ease;
}

/* 企业使命悬停效果 - 橙色渐变 */
.culture-section.mission-hover {
   background: white;
}

.culture-section.mission-hover .culture-item {
   background: transparent;
}

/* 企业愿景悬停效果 - 黄色渐变 */
.culture-section.vision-hover {
   background: white;
}

.culture-section.vision-hover .culture-item {
   background: transparent;
}

/* 企业价值观悬停效果 - 蓝色渐变 */
.culture-section.values-hover {
   background: white;
}

.culture-section.values-hover .culture-item {
   background: transparent;
}

/* 响应式设计 */
@media (max-width: 992px) {
   .culture-grid {
       grid-template-columns: 1fr;
       gap: 2rem;
   }
   
   .culture-section {
       padding: 3rem 1.5rem;
   }
}

@media (max-width: 768px) {
   .culture-section {
       margin: 2rem 1rem;
       padding: 2rem 1rem;
   }
   
   .culture-item {
       padding: 2rem 1.5rem;
   }
   
   .culture-number {
       font-size: 2.5rem;
   }
   
   .culture-title {
       font-size: 1.5rem;
   }
   
   .culture-desc {
       font-size: 1.1rem;
   }
}

@media (max-width: 576px) {
   .culture-item {
       padding: 1.5rem 1rem;
   }
   
   .culture-number {
       font-size: 2rem;
   }
   
   .culture-title {
       font-size: 1.3rem;
   }
   
   .culture-desc {
       font-size: 1rem;
   }
}

/* 小程序二维码模态框样式 */
#miniProgramModal .modal-header {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border-radius: 8px 8px 0 0;
}



#miniProgramModal .btn-primary {
    background: var(--primary-color);
    border: none;
}

#miniProgramModal .btn-primary:hover {
    background: var(--secondary-color);
}

#miniProgramModal .qr-placeholder {
    max-width: 250px;
    margin: 0 auto;
    padding: 1.5rem;
    border: 2px dashed #dee2e6;
    border-radius: 10px;
    transition: all 0.3s ease;
    cursor: pointer;
    background: #f8f9fa;
    min-height: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

#miniProgramModal .qr-placeholder:hover {
    border-color: var(--primary-color);
    background: #e3f2fd;
}

#miniProgramModal .qr-placeholder img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    max-height: 180px;
}

/* 联系我们板块背景颜色 */
#contact {
    background: white;
    color: rgb(250, 77, 0);
}

/* 企业介绍板块背景色为白色，文字颜色同联系我们 */
.enterprise-intro {
    background: white !important;
    color: rgb(4, 157, 196) !important;
}

.enterprise-intro .lead,
.enterprise-intro p {
    color: black !important;
}

/* 确保企业介绍标题颜色一致 */
.enterprise-intro h2 {
    color: #049DC4 !important; /* 改为湖蓝色 */
}

.culture-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #049DC4 !important; /* 企业文化标题改为湖蓝色 */
    position: relative;
    display: inline-block;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
#contact {
    background: white;
    color: rgb(4, 157, 196);
}

/* 优化文化板块悬停交互与比例变化 */
.culture-grid {
   display: flex;
   justify-content: space-between;
   align-items: stretch;
   gap: 2rem;
   transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.culture-item {
    flex: 1;
    transition: flex 0.4s cubic-bezier(0.16, 1, 0.3, 1), transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    transform-origin: center center;
}

.culture-item.active {
    flex: 1.4;
    transform: translateY(-8px) scale(1.03);
    box-shadow: none;
}

.culture-item:not(.active) {
    flex: 0.8;
    transform: translateY(0px) scale(0.97) translateX(-5px);
}



/* 联系我们板块样式 */
.contact-item {
    transition: all 0.3s ease;
}

.contact-item:hover {
    transform: translateY(-5px);
}

.contact-item .btn {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    transition: all 0.3s ease;
    border: 2px solid rgb(250, 77, 0);
    background: white;
    backdrop-filter: blur(10px);
}

.contact-item .btn:hover {
    background: rgba(250, 77, 0, 0.1);
    border-color: rgb(250, 77, 0);
    transform: scale(1.1);
}

.contact-item .btn i {
    font-size: 2rem;
    color: rgb(250, 77, 0);
    margin: 0;
}

.contact-item p {
    margin-top: 1rem;
    font-weight: 500;
    color: rgb(250, 77, 0);
}

/* 前两个联系按钮特殊样式 - 橙色背景白色图标 */
.contact-item:nth-child(1) .btn,
.contact-item:nth-child(2) .btn {
    background: rgb(250, 77, 0);
    border-color: rgb(250, 77, 0);
}

.contact-item:nth-child(1) .btn i,
.contact-item:nth-child(2) .btn i {
    color: white;
}

.contact-item:nth-child(1) .btn:hover,
.contact-item:nth-child(2) .btn:hover {
    background: rgb(230, 67, 0);
    border-color: rgb(230, 67, 0);
}

/* 智能客服对话窗口样式 */
.chat-container {
    background: #f8f9fa;
    border-radius: 8px;
}

.message {
    display: flex;
    flex-direction: column;
    max-width: 80%;
}

.user-message {
    align-self: flex-end;
    align-items: flex-end;
}

.bot-message {
    align-self: flex-start;
    align-items: flex-start;
}

.message-content {
    max-width: 100%;
    word-wrap: break-word;
    border-radius: 18px;
    padding: 12px 16px;
    margin-bottom: 4px;
}

.chat-input {
    background: white;
}

.chat-input .form-control {
    border-radius: 20px;
    border: 1px solid #dee2e6;
}

.chat-input .btn {
    border-radius: 50%;
    width: 40px;
    height: 40px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 电商图标样式 */
.fab.fa-jd, .fab.fa-tmall, .fab.fa-xiaohongshu {
    font-size: 2rem;
}

/* 商城图标样式 - 圆形适配 */
.store-icon {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.contact-item .btn:hover .store-icon {
    transform: scale(1.1);
}

/* 确保商城图标按钮的圆形效果 */
.contact-item .btn.rounded-circle {
    position: relative;
    overflow: hidden;
}

.contact-item .btn.rounded-circle img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .contact-item .btn {
        width: 60px;
        height: 60px;
    }
    
    .contact-item .btn i {
        font-size: 1.5rem;
    }
    
    .contact-item p {
        font-size: 0.85rem;
    }
}

/* 打印样式 */
@media print {
    .navbar, .back-to-top, .social-links, #langToggle, #onlineStore {
        display: none !important;
    }
}



/* 视频加载指示器 */
.video-loading-indicator {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 14px;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 9998;
    pointer-events: none;
}

.video-loading-indicator.show {
    opacity: 0.7;
}

/* 解决方案图片布局优化 - 一行7张图片，左右无留白 */
#solutions .container {
    padding-left: 0;
    padding-right: 0;
    max-width: 100%;
}

#solutions .row {
    margin-left: 0;
    margin-right: 0;
}

#solutions .col {
    padding-left: 0;
    padding-right: 0;
    flex: 1;
    min-width: 0;
}

#solutions .col img {
    width: 100%;
    height: auto;
    object-fit: cover;
    aspect-ratio: 1;
    display: block;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#solutions .col img:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

/* 确保图片之间没有间隙 */
#solutions {
    padding-left: 0;
    padding-right: 0;
}

/* 视频循环时的平滑过渡 */
.video-loop-transition {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    opacity: 0;
    transition: opacity 0.2s ease;
    z-index: -2;
    pointer-events: none;
}

.video-loop-transition.active {
    opacity: 0.3;
}

/* 在线商店二维码模态框样式 */
.qr-store-item {
    padding: 1rem;
    border: 1px solid #eee;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.qr-store-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.qr-code-image {
    max-width: 120px;
    height: auto;
    margin: 0 auto;
    border-radius: 8px;
}

/* 关于我们页面样式 */

/* 企业文化板块样式优化 */
.about-culture-section {
    padding: 4rem 0;
}

.culture-grid {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    gap: 2rem;
    margin-top: 3rem;
}

.culture-item {
    flex: 1;
    text-align: center;
    padding: 2.5rem 1.5rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

.culture-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.culture-icon {
    margin-bottom: 1.5rem;
}

.culture-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: rgb(4, 157, 196);
}

.culture-desc {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #666;
    font-weight: 500;
}

/* 时间线样式 */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: rgb(4, 157, 196);
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin-bottom: 3rem;
    display: flex;
    align-items: center;
}

.timeline-item:nth-child(odd) {
    flex-direction: row-reverse;
}

.timeline-dot {
    width: 20px;
    height: 20px;
    background: rgb(250, 77, 0);
    border: 4px solid white;
    border-radius: 50%;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.timeline-content {
    width: 45%;
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.timeline-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.timeline-date {
    font-size: 0.9rem;
    font-weight: 600;
    color: rgb(250, 77, 0);
    margin-bottom: 0.5rem;
}

.timeline-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: rgb(4, 157, 196);
    margin-bottom: 1rem;
}

.timeline-text {
    color: #666;
    line-height: 1.6;
}

/* 企业荣誉卡片样式 */
.honor-card {
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
}

.honor-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    border-color: rgb(4, 157, 196);
}

.honor-icon {
    transition: all 0.3s ease;
}

.honor-card:hover .honor-icon i {
    transform: scale(1.1);
}

.honor-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #333;
}

.honor-desc {
    font-size: 0.95rem;
    line-height: 1.5;
}

/* 支持中心页面样式 */

/* FAQ手风琴样式 */
.accordion-item {
    border: 1px solid #e9ecef;
    border-radius: 12px !important;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.accordion-item:hover {
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.accordion-button {
    background: white;
    color: #333;
    font-weight: 600;
    font-size: 1.1rem;
    padding: 1.25rem 1.5rem;
    border: none;
    transition: all 0.3s ease;
}

.accordion-button:not(.collapsed) {
    background: linear-gradient(135deg, rgba(4, 157, 196, 0.1), rgba(250, 77, 0, 0.1));
    color: rgb(4, 157, 196);
    font-weight: 700;
}

.accordion-button:focus {
    box-shadow: none;
    border-color: transparent;
}

.accordion-button::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23333'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
    transition: transform 0.3s ease;
}

.accordion-button:not(.collapsed)::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23049DC4'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.accordion-body {
    padding: 1.5rem;
    background: #fafbfc;
    color: #666;
    line-height: 1.6;
    font-size: 1rem;
}

/* FAQ分类图标样式 */
.accordion-button i {
    font-size: 1.2rem;
    width: 24px;
    text-align: center;
}

/* 联系我们板块样式 - 与首页保持一致 */
#contact {
    background: white;
    color: rgb(4, 157, 196);
}

.contact-item {
    transition: all 0.3s ease;
}

.contact-item:hover {
    transform: translateY(-5px);
}

.contact-item .btn {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    transition: all 0.3s ease;
    border: 2px solid rgb(250, 77, 0);
    background: white;
    backdrop-filter: blur(10px);
}

.contact-item .btn:hover {
    background: rgba(250, 77, 0, 0.1);
    border-color: rgb(250, 77, 0);
    transform: scale(1.1);
}

.contact-item .btn i {
    font-size: 2rem;
    color: rgb(250, 77, 0);
    margin: 0;
}

.contact-item p {
    margin-top: 1rem;
    font-weight: 500;
    color: rgb(4, 157, 196);
}

/* 前两个联系按钮特殊样式 - 橙色背景白色图标 */
.contact-item:nth-child(1) .btn,
.contact-item:nth-child(2) .btn {
    background: rgb(250, 77, 0);
    border-color: rgb(250, 77, 0);
}

.contact-item:nth-child(1) .btn i,
.contact-item:nth-child(2) .btn i {
    color: white;
}

.contact-item:nth-child(1) .btn:hover,
.contact-item:nth-child(2) .btn:hover {
    background: rgb(230, 67, 0);
    border-color: rgb(230, 67, 0);
}

/* 电商图标样式 - 圆形适配 */
.store-icon {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.contact-item .btn:hover .store-icon {
    transform: scale(1.1);
}

/* 确保商城图标按钮的圆形效果 */
.contact-item .btn.rounded-circle {
    position: relative;
    overflow: hidden;
}

.contact-item .btn.rounded-circle img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 智能客服对话窗口样式 */
.chat-container {
    background: #f8f9fa;
    border-radius: 8px;
}

.message {
    display: flex;
    flex-direction: column;
    max-width: 80%;
}

.user-message {
    align-self: flex-end;
    align-items: flex-end;
}

.bot-message {
    align-self: flex-start;
    align-items: flex-start;
}

.message-content {
    max-width: 100%;
    word-wrap: break-word;
    border-radius: 18px;
    padding: 12px 16px;
    margin-bottom: 4px;
}

.chat-input {
    background: white;
}

.chat-input .form-control {
    border-radius: 20px;
    border: 1px solid #dee2e6;
}

.chat-input .btn {
    border-radius: 50%;
    width: 40px;
    height: 40px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 品牌资讯页面样式 */

/* 资讯项目样式 */
.news-item {
    padding: 2rem 0;
    border-bottom: 1px solid #f0f0f0;
    transition: all 0.3s ease;
}

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

.news-item:hover {
    background: rgba(4, 157, 196, 0.02);
    border-radius: 12px;
    padding: 2rem;
    margin: 0 -2rem;
}

.news-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: all 0.3s ease;
}

.news-item:hover .news-image {
    transform: scale(1.02);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.news-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1rem;
    color: rgb(4, 157, 196);
    transition: color 0.3s ease;
}

.news-item:hover .news-content h3 {
    color: rgb(3, 140, 175);
}

.news-content p {
    font-size: 1rem;
    line-height: 1.7;
    color: #666;
    margin-bottom: 1rem;
}

.btn-details {
    background: rgb(4, 157, 196);
    border: none;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    transition: none;
    white-space: nowrap;
    align-self: flex-start;
    box-shadow: none;
}

.btn-details:hover {
    background: rgb(3, 140, 175);
    transform: none;
    box-shadow: none;
    color: white;
}

.btn-details:focus {
    box-shadow: none;
}

/* 资讯详情模态框样式 */
#newsDetailModal .modal-content {
    border-radius: 15px;
    border: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

#newsDetailModal .modal-body {
    padding: 2rem;
}

#newsDetailModal h3 {
    color: rgb(4, 157, 196);
    font-weight: 700;
    margin-bottom: 1.5rem;
}

#newsDetailModal img {
    max-height: 400px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 1.5rem;
}

#newsDetailModal p {
    text-align: left;
    line-height: 1.7;
    color: #666;
    margin-bottom: 1rem;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .timeline::before {
        left: 30px;
    }
    
    .timeline-item {
        flex-direction: row !important;
        margin-left: 60px;
    }
    
    .timeline-dot {
        left: 30px;
    }
    
    .timeline-content {
        width: 100%;
    }
    
    .culture-grid {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .culture-item {
        padding: 2rem 1rem;
    }
    
    /* FAQ响应式设计 */
    .accordion-button {
        font-size: 1rem;
        padding: 1rem;
    }
    
    .accordion-body {
        padding: 1rem;
        font-size: 0.95rem;
    }
    
    /* 联系我们响应式设计 */
    .contact-item .btn {
        width: 60px;
        height: 60px;
    }
    
    .contact-item .btn i {
        font-size: 1.5rem;
    }
    
    .contact-item p {
        font-size: 0.85rem;
    }
    
    /* 品牌资讯响应式设计 */
    .news-item {
        padding: 1.5rem 0;
    }
    
    .news-item:hover {
        padding: 1.5rem;
        margin: 0 -1rem;
    }
    
    .news-image {
        height: 200px;
    }
    
    .news-content h3 {
        font-size: 1.3rem;
    }
    
    .btn-details {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
        margin-top: 1rem;
    }
    
    .news-content {
        margin-top: 1rem;
    }
    
    #newsDetailModal .modal-body {
        padding: 1.5rem;
    }
    
    #newsDetailModal h3 {
        font-size: 1.3rem;
    }
}

/* 在线商店模态框统一样式 - 简洁版，去除颜色框和文字 */
#qrModal .modal-content {
    border: none;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    background: white;
}

#qrModal .modal-body {
    padding: 2rem;
    background: white;
    border-radius: 15px;
}

#qrModal .qr-placeholder {
    border: none;
    background: transparent;
    padding: 0.5rem;
    min-height: auto;
}

#qrModal .qr-placeholder:hover {
    background: transparent;
    border: none;
}

#qrModal .qr-placeholder img {
    max-height: 120px;
    transition: transform 0.3s ease;
    border-radius: 8px;
}

#qrModal .qr-placeholder:hover img {
    transform: scale(1.05);
}

#qrModal .qr-placeholder a {
    text-decoration: none;
    display: block;
}

#qrModal .qr-placeholder p {
    color: #666;
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

/* 成长，从此看得见 - 环绕布局样式 */
.growth-container {
    position: relative;
    width: 100%;
    height: 900px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 中央图片样式优化 */
.central-image {
    z-index: 10;
}

.phone-vector-img {
    transition: transform 0.3s ease;
    filter: drop-shadow(0 4px 20px rgba(4, 157, 196, 0.3));
    mix-blend-mode: multiply;
    opacity: 0.95;
}

.central-image:hover .phone-vector-img {
    transform: scale(1.05);
    filter: drop-shadow(0 8px 30px rgba(4, 157, 196, 0.4));
}

/* 环绕卡片基础样式 */
.orbit-card {
    transition: all 0.3s ease;
    z-index: 5;
}

.orbit-card .hover-lift {
    transition: all 0.3s ease;
    cursor: pointer;
}

.orbit-card:hover .hover-lift {
    transform: none;
    box-shadow: none;
}

/* 环绕卡片1 - 顶部 (12点钟方向) */
.orbit-card-1 {
    top: 8%;
    left: 50% !important;
    transform: translateX(-50%) !important;
    width: 300px;
    text-align: center;
    right: auto !important;
}

/* 环绕卡片2 - 右上 (2点钟方向) */
.orbit-card-2 {
    top: 20%;
    right: 5%;
    width: 280px;
}

/* 环绕卡片3 - 右下 (4点钟方向) */
.orbit-card-3 {
    bottom: 20%;
    right: 5%;
    width: 280px;
}

/* 环绕卡片4 - 底部 (6点钟方向) */
.orbit-card-4 {
    bottom: 8%;
    left: 50% !important;
    transform: translateX(-50%) !important;
    width: 300px;
    text-align: center;
    right: auto !important;
}

/* 环绕卡片5 - 左下 (8点钟方向) */
.orbit-card-5 {
    bottom: 20%;
    left: 5%;
    width: 280px;
}

/* 环绕卡片6 - 左上 (10点钟方向) */
.orbit-card-6 {
    top: 20%;
    left: 5%;
    width: 280px;
}

/* 响应式布局 - 平板设备 */
@media (max-width: 992px) {
    .growth-container {
        height: 1000px;
    }
    
    .central-image img {
        width: 240px !important;
        height: 240px !important;
    }
    
    .orbit-card-1, .orbit-card-4 {
        width: 260px;
    }
    
    .orbit-card-2, .orbit-card-3, .orbit-card-5, .orbit-card-6 {
        width: 240px;
    }
    
    .orbit-card-2 {
        right: 2%;
    }
    
    .orbit-card-3 {
        right: 2%;
    }
    
    .orbit-card-5 {
        left: 2%;
    }
    
    .orbit-card-6 {
        left: 2%;
    }
}

/* 响应式布局 - 手机设备 */
@media (max-width: 768px) {
    .growth-container {
        height: auto;
        min-height: 1200px;
        display: block;
        padding: 20px;
    }
    
    .central-image {
        position: relative !important;
        top: auto !important;
        left: auto !important;
        transform: none !important;
        text-align: center;
        margin-bottom: 40px;
    }
    
    .central-image img {
        width: 200px !important;
        height: 200px !important;
    }
    
    .orbit-card {
        position: relative !important;
        top: auto !important;
        left: auto !important;
        right: auto !important;
        bottom: auto !important;
        transform: none !important;
        width: 100% !important;
        max-width: 320px;
        margin: 20px auto;
    }
    
    .orbit-card .hover-lift:hover {
        transform: none;
    }
}

/* 响应式布局 - 小屏手机 */
@media (max-width: 576px) {
    .growth-container {
        padding: 15px;
        min-height: 1000px;
    }
    
    .central-image img {
        width: 180px !important;
        height: 180px !important;
    }
    
    .orbit-card {
        margin: 15px auto;
    }
    
    .orbit-card .bg-white {
        padding: 20px !important;
    }
}

/* 角色图标矢量图效果 */
.character-icon {
    transition: transform 0.3s ease;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.15));
    mix-blend-mode: multiply;
    opacity: 0.95;
}

.character-icon:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 6px 16px rgba(0, 0, 0, 0.2));
}

/* 温柔的妈妈图标特殊效果 */
.testimonial-card:nth-child(1) .character-icon {
    filter: drop-shadow(0 4px 12px rgba(4, 157, 196, 0.3));
}

.testimonial-card:nth-child(1) .character-icon:hover {
    filter: drop-shadow(0 6px 16px rgba(4, 157, 196, 0.4));
}

/* 可爱的小明图标特殊效果 - 使用最高优先级选择器 */
#testimonials .testimonial-card:nth-child(2) .character-icon,
#testimonials .testimonial-card:nth-child(2) .character-icon[src*="可爱的小明"],
.character-icon[src*="可爱的小明"] {
    filter: drop-shadow(0 4px 12px rgba(255, 200, 150, 0.5)) !important;
    transition: all 0.3s ease !important;
}

#testimonials .testimonial-card:nth-child(2) .character-icon:hover,
#testimonials .testimonial-card:nth-child(2) .character-icon[src*="可爱的小明"]:hover,
.character-icon[src*="可爱的小明"]:hover {
    filter: drop-shadow(0 6px 16px rgba(255, 200, 150, 0.7)) !important;
    transform: scale(1.05) !important;
}

/* 单独为可爱的小明图标创建更具体的样式规则 */
img.character-icon[alt="可爱的小明"],
img.character-icon[src*="可爱的小明"] {
    filter: drop-shadow(0 4px 12px rgba(255, 200, 150, 0.5)) !important;
    transition: all 0.3s ease !important;
}

img.character-icon[alt="可爱的小明"]:hover,
img.character-icon[src*="可爱的小明"]:hover {
    filter: drop-shadow(0 6px 16px rgba(255, 200, 150, 0.7)) !important;
    transform: scale(1.05) !important;
}

/* 额外的动画效果和交互体验优化 */
@keyframes pulse-gentle {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.02);
    }
}

@keyframes float-orbit {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* 中央图片呼吸效果 */
.central-image img {
    animation: pulse-gentle 4s ease-in-out infinite;
}

/* 环绕卡片浮动效果 */
.orbit-card-1 {
    animation: float-orbit 3s ease-in-out infinite;
}

.orbit-card-2 {
    animation: float-orbit 3.5s ease-in-out infinite 0.5s;
}

.orbit-card-3 {
    animation: float-orbit 4s ease-in-out infinite 1s;
}

.orbit-card-4 {
    animation: float-orbit 3.5s ease-in-out infinite 1.5s;
}

.orbit-card-5 {
    animation: float-orbit 3s ease-in-out infinite 2s;
}

.orbit-card-6 {
    animation: float-orbit 4s ease-in-out infinite 2.5s;
}

/* 悬停时暂停动画 */
.orbit-card:hover,
.central-image:hover {
    animation-play-state: paused;
}

/* 卡片内容悬停效果 */
.orbit-card .hover-lift:hover i {
    transform: scale(1.1);
    transition: transform 0.3s ease;
}

.orbit-card .hover-lift:hover h6 {
    color: rgb(3, 140, 175);
    transition: color 0.3s ease;
}

.orbit-card .hover-lift:hover p {
    color: #555;
    transition: color 0.3s ease;
}

/* 进度条动画效果 */
.progress-bar {
    transition: width 1.5s ease-in-out;
}

.orbit-card-6:hover .progress-bar {
    animation: progress-pulse 2s ease-in-out infinite;
}

@keyframes progress-pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

/* 连接线效果 - 可选的视觉增强 */
.growth-container::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 600px;
    height: 600px;
    border: 2px dashed rgba(4, 157, 196, 0.1);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
    pointer-events: none;
}

.growth-container::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 400px;
    height: 400px;
    border: 2px dashed rgba(4, 157, 196, 0.05);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
    pointer-events: none;
}

/* 移动端禁用复杂动画 */
@media (max-width: 768px) {
    .central-image img,
    .orbit-card-1,
    .orbit-card-2,
    .orbit-card-3,
    .orbit-card-4,
    .orbit-card-5,
    .orbit-card-6 {
        animation: none;
    }
    
    .growth-container::before,
    .growth-container::after {
        display: none;
    }
}

/* Font Awesome 图标修复 - 确保字体正确显示 */
.fas, .far, .fab, .fa {
    font-family: "Font Awesome 6 Free", "Font Awesome 6 Brands", sans-serif !important;
    font-weight: 900;
    font-style: normal;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    display: inline-block;
    line-height: 1;
}

/* 新闻详情按钮专属样式 - 去除所有动效 */
.btn-news-details {
    background: rgb(4, 157, 196) !important;
    border: none !important;
    color: white !important;
    padding: 0.75rem 1.5rem !important;
    border-radius: 50px !important;
    font-weight: 600 !important;
    white-space: nowrap !important;
    align-self: flex-start !important;
    cursor: pointer !important;
    transition: none !important;
    box-shadow: none !important;
    animation: none !important;
    transform: none !important;
    -webkit-transform: none !important;
    -moz-transform: none !important;
    -ms-transform: none !important;
    -o-transform: none !important;
}

.btn-news-details:hover {
    background: rgb(3, 140, 175) !important;
    color: white !important;
    transform: none !important;
    -webkit-transform: none !important;
    -moz-transform: none !important;
    -ms-transform: none !important;
    -o-transform: none !important;
    box-shadow: none !important;
    animation-play-state: paused !important;
    transition: none !important;
}

.btn-news-details:active {
    background: rgb(2, 120, 155) !important;
    color: white !important;
    transform: none !important;
    -webkit-transform: none !important;
    -moz-transform: none !important;
    -ms-transform: none !important;
    -o-transform: none !important;
    box-shadow: none !important;
}

.btn-news-details:focus {
    outline: none !important;
    box-shadow: none !important;
    transform: none !important;
    -webkit-transform: none !important;
    -moz-transform: none !important;
    -ms-transform: none !important;
    -o-transform: none !important;
}

.fas:before, .far:before, .fab:before, .fa:before {
    display: inline-block;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* 确保图标容器有足够空间 */
i.fas, i.far, i.fab, i.fa {
    min-width: 1em;
    min-height: 1em;
    text-align: center;
}

/* 修复按钮内的图标 */
.btn i.fas, .btn i.far, .btn i.fab, .btn i.fa {
    font-family: "Font Awesome 6 Free", "Font Awesome 6 Brands", sans-serif !important;
    font-weight: 900;
}

/* 修复不同大小的图标 */
.display-1.fas, .display-1.far, .display-1.fab, .display-1.fa,
.display-2.fas, .display-2.far, .display-2.fab, .display-2.fa,
.display-3.fas, .display-3.far, .display-3.fab, .display-3.fa,
.display-4.fas, .display-4.far, .display-4.fab, .display-4.fa {
    font-family: "Font Awesome 6 Free", "Font Awesome 6 Brands", sans-serif !important;
    font-weight: 900;
}
