/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #6366f1; /* 定义变量 */
    --secondary-color: #b1c4b9;
}

a{
    color: inherit;
    text-decoration: none;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 导航栏样式 */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: all 0.3s ease;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.nav-logo {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: bold;
    color: #6366f1;
}

.nav-logo i {
    margin-right: 0.5rem;
    font-size: 2rem;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-item {
    position: relative;
}

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.nav-link:hover {
    background: #6366f1;
    color: white;
}

/* 下拉菜单 */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    padding: 1rem 0;
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

.nav-item:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu a {
    display: block;
    padding: 0.75rem 1.5rem;
    color: #333;
    text-decoration: none;
    transition: all 0.3s ease;
}

.dropdown-menu a:hover {
    background: #f3f4f6;
    color: #6366f1;
}

/* 汉堡菜单 */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 3px 0;
    transition: 0.3s;
}

/* 主页横幅 */
.hero {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    /*padding: 120px 2rem 2rem;*/
    /*background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);*/
    background-image: url("./imgs/bg.jpg");
    background-repeat: no-repeat; /* 禁止重复 */
    background-size: cover; /* 铺满容器，不拉伸，保持比例 */
    background-position: center; /* 居中显示 */
    color: white;
    position: relative;
    overflow: hidden;
}

.hero-content {
    flex: 1;
    max-width: 1400px;
    z-index: 2;
    padding: 0 20px;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: #10b981;
    color: white;
}

.btn-primary:hover {
    background: #059669;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(16, 185, 129, 0.3);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: #6366f1;
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: #6366f1;
    border: 2px solid #6366f1;
}

.btn-outline:hover {
    background: #6366f1;
    color: white;
    transform: translateY(-2px);
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.floating-elements {
    display: none;
    position: relative;
    width: 300px;
    height: 300px;
}

.element {
    position: absolute;
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    animation: float 6s ease-in-out infinite;
}

.element-1 {
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    animation-delay: 0s;
}

.element-2 {
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    animation-delay: 2s;
}

.element-3 {
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) translateX(-50%);
    }
    50% {
        transform: translateY(-20px) translateX(-50%);
    }
}

.element-2 {
    animation: float2 6s ease-in-out infinite;
}

@keyframes float2 {
    0%, 100% {
        transform: translateY(-50%) translateX(0px);
    }
    50% {
        transform: translateY(-50%) translateX(-20px);
    }
}

.element-3 {
    animation: float3 6s ease-in-out infinite;
}

@keyframes float3 {
    0%, 100% {
        transform: translateY(0px) translateX(-50%);
    }
    50% {
        transform: translateY(20px) translateX(-50%);
    }
}

/* 通用区块样式 */
.section {
    padding: 5rem 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #1f2937;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #6366f1, #10b981);
    border-radius: 2px;
}

/* 关于我们样式 */
.about-item {
    display: flex;
    align-items: center;
    gap: 3rem;
    margin-bottom: 4rem;
    padding: 2rem;
    background: #f9fafb;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.about-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.about-item.reverse {
    flex-direction: row-reverse;
}

.about-content {
    flex: 1;
}

.about-content h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: #1f2937;
}

.about-content p {
    margin-bottom: 1rem;
    font-size: 1.1rem;
    line-height: 1.8;
    text-align: left;
    /*text-indent: 2em;*/
}

.about-image {
    width: 200px;
    /*flex: 0 0 200px;*/
    height: 200px;
    background: linear-gradient(135deg, #6366f1, #10b981);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: white;
}

.news-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.news-item {
    padding: 1rem;
    background: white;
    border-radius: 10px;
    border-left: 4px solid #6366f1;
}

.news-date {
    color: #6366f1;
    font-weight: 600;
    font-size: 0.9rem;
}

.honors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.honor-item {
    text-align: center;
    padding: 1.5rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.honor-item img {
    max-width: 200px;
    width: 100%;
}

.honor-item i {
    font-size: 3rem;
    color: #f59e0b;
    margin-bottom: 1rem;
}

.honor-item h4 {
    margin-bottom: 0.5rem;
    color: #1f2937;
}

/* 预览弹窗（知识产权图片 Lightbox） */
.lightbox-overlay {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
}

.lightbox-overlay.active {
    display: flex;
}

.lightbox-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .75);
    backdrop-filter: blur(2px);
}

.lightbox-img {
    position: relative;
    max-width: min(92vw, 1000px);
    max-height: 82vh;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, .4);
    z-index: 1;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, .2);
    color: #fff;
    cursor: pointer;
    z-index: 2;
}

.lightbox-caption {
    position: absolute;
    bottom: 24px;
    left: 0;
    right: 0;
    text-align: center;
    color: #fff;
    font-size: 14px;
    z-index: 1;
    padding: 0 16px;
}

/* 产品展示样式 */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

/* 产品切换按钮样式 */
.product-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
}

.tab-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: #f3f4f6;
    border: 2px solid transparent;
    border-radius: 50px;
    color: #6b7280;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;

}

.tab-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #6366f1, #10b981);
    transition: left 0.3s ease;
    z-index: -1;
}

.tab-btn:hover::before {
    left: 0;
}

.tab-btn:hover {
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(99, 102, 241, 0.3);
}

.tab-btn.active {
    background: linear-gradient(135deg, #6366f1, #10b981);
    color: white;
    border-color: #6366f1;
    box-shadow: 0 10px 25px rgba(99, 102, 241, 0.3);
}

.tab-btn.active::before {
    left: 0;
}

.tab-btn i {
    font-size: 1.2rem;
}

/* 产品内容切换效果 */
.product-content {
    display: none;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease;
}

.product-content.active {
    display: grid;
    opacity: 1;
    transform: translateY(0);
}

/* 硬件产品网格样式 */
#hardware-products {
    grid-template-columns: repeat(4, 1fr); /* 强制设置为3列，与软件产品一致 */
    gap: 2rem;
}

/* 软件产品网格样式 - 与硬件产品完全一致，确保卡片位置和大小一模一样 */
#software-products {
    grid-template-columns: repeat(4, 1fr); /* 强制设置为3列，与硬件产品一致 */
    gap: 2rem;
    justify-items: start; /* 确保卡片从左侧开始排列 */
    align-items: start; /* 确保卡片从顶部开始排列 */
}

/* 软件产品卡片样式 - 确保与硬件产品卡片完全一致 */
#software-products .product-card {
    width: 100%;
    max-width: 400px;
    min-height: 500px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    grid-column: 1; /* 确保卡片占据第一列 */
    grid-row: 1; /* 确保卡片占据第一行 */
    margin: 0; /* 移除任何可能的边距 */
    padding: 2rem; /* 确保内边距与硬件产品卡片一致 */
}

/* 产品卡片通用样式 */
.product-card {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    text-align: center;
    display: flex;
    flex-direction: column;
    max-width: 400px; /* 应用最大宽度到所有卡片 */
    min-height: 500px; /* 应用最小高度到所有卡片 */
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.product-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #6366f1, #10b981);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: white;
}

.product-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #1f2937;
}

.product-card p {
    margin-bottom: 1.5rem;
    color: #6b7280;
    line-height: 1.6;
    text-align: left;
    min-height: 180px;
}

.product-features {
    list-style: none;
    margin-bottom: 2rem;
    text-align: left;

    flex: 1;
}

.product-features li {
    padding: 0.5rem 0;
    color: #4b5563;
    position: relative;
    padding-left: 1.5rem;
}

.product-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #10b981;
    font-weight: bold;
}

/* 服务样式 */
.service-item {
    display: flex;
    align-items: center;
    gap: 3rem;
    background: #f9fafb;
    padding: 3rem;
    border-radius: 20px;
    margin-bottom: 20px;
}

.service-content {
    flex: 1;
}

.service-content h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: #1f2937;
}

.service-content p {
    margin-bottom: 2rem;
    font-size: 1.1rem;
    line-height: 1.8;
    color: #4b5563;
}

.service-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.feature i {
    color: #6366f1;
    font-size: 1.2rem;
}

.service-image {
    flex: 0 0 300px;
    height: 300px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.service-image i {
    font-size: 6rem;
}

.light-therapy-visual {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    border-radius: 50%;
    position: relative;
    overflow: hidden;
}

.light-beam {
    position: absolute;
    width: 4px;
    background: linear-gradient(to bottom, transparent, #ffffff, transparent);
    animation: lightMove 3s ease-in-out infinite;
}

.light-1 {
    height: 100px;
    left: 20%;
    top: 0;
    animation-delay: 0s;
}

.light-2 {
    height: 120px;
    left: 50%;
    top: 10%;
    animation-delay: 1s;
}

.light-3 {
    height: 80px;
    left: 80%;
    top: 20%;
    animation-delay: 2s;
}

@keyframes lightMove {
    0%, 100% {
        opacity: 0.3;
        transform: scaleY(1);
    }
    50% {
        opacity: 1;
        transform: scaleY(1.5);
    }
}

.cases-category{
    font-size: 2rem;
    padding: 6px 0 10px 16px;
    margin: 16px 0;
    line-height: 1;
    position: relative;
    box-sizing: inherit;
    /*border-left: 8px solid ;*/
}

.cases-category:before{
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 8px;
    background: linear-gradient(90deg, #6366f1, #10b981);
}

/* 项目案例样式 */
.cases-container {
    margin-bottom: 3rem;
}

.cases-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
}

.case-card {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    text-align: center;
    cursor: pointer;
}

.case-card-hidden {
    display: none;
}

.case-card-hidden.show {
    display: block;
}

.case-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.case-image {
    width: 100%;
    aspect-ratio: 4/3;
    /*height: 80px;*/
    background: linear-gradient(135deg, #6366f1, #10b981);
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: white;
}

.case-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.case-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #1f2937;
}

.case-card p {
    margin-bottom: 1.5rem;
    color: #6b7280;
    line-height: 1.6;
}

.case-stats {
    display: flex;
    justify-content: space-around;
    gap: 1rem;
}

.case-stats span {
    background: #f3f4f6;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    color: #6366f1;
    font-weight: 600;
}

/* 更多按钮样式 */
.cases-more {
    text-align: center;
    margin-top: 2rem;
}

.counselors-more {
    text-align: center;
    margin-top: 2rem;
}

.more-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border: 2px solid #6366f1;
    color: #6366f1;
    background: transparent;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.more-btn:hover {
    background: #6366f1;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(99, 102, 241, 0.3);
}

.more-btn i {
    transition: transform 0.3s ease;
}

.more-btn:hover i {
    transform: translateX(3px);
}

/* 项目案例 - 详情弹窗样式 */
.case-detail {
    display: none;
}

.case-modal {
    position: fixed;
    inset: 0;
    z-index: 2100;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 16px; /* 防止贴边，避免窄屏时被裁切 */
    box-sizing: border-box;
}

.case-modal.active {
    display: flex;
}

.case-modal .modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .65);
    backdrop-filter: blur(2px);
}

.case-modal .modal-panel {
    position: relative;
    z-index: 1;
    width: min(94vw, 1000px);
    max-height: 88vh;
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(0, 0, 0, .3);
    margin: 0 auto;
}

.case-modal .modal-body {
    padding: 24px 26px;
    overflow: auto;
    max-height: 88vh;

    scrollbar-width: none;
    -ms-overflow-style: none;
}

.case-modal .modal-body::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Edge */
}

.case-modal .modal-close {
    position: absolute;
    top: 24px;
    right: 26px;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: none;
    background: rgba(0, 0, 0, .5);
    color: #fff;
    cursor: pointer;
    z-index: 2;
}

.case-modal .modal-close:hover {
    background: rgba(0, 0, 0, .65);
}

.case-modal .modal-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 18px;
    color: #111827;
}

.case-modal .modal-body h4 {
    margin: 18px 0 10px;
    color: #1f2937;
    font-size: 18px;
}

.case-modal .modal-body p {
    color: #4b5563;
    line-height: 1.9;
}

.case-modal .modal-body ul {
    padding-left: 20px;
    color: #4b5563;
    line-height: 1.8;
}

.case-modal .modal-body .detail-sections {
    display: grid;
    gap: 6px;
}

.case-modal .modal-body .callout {
    background: #f9fafb;
    border-left: 4px solid #6366f1;
    padding: 12px 14px;
    border-radius: 8px;
    color: #374151;
    margin-top: 10px;
}

/* 弹窗正文顶部两图网格（由脚本注入） */
.modal-content .gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 16px;
}

.modal-content .gallery-grid .grid-img {
    width: 100%;
    height: 38vh;
    object-fit: cover;
    border-radius: 12px;
}

@media (max-width: 1200px) {
    /* 硬件产品网格样式 */
    #hardware-products {
        grid-template-columns: repeat(3, 1fr); /* 强制设置为3列，与软件产品一致 */
    }

    /* 软件产品网格样式 - 与硬件产品完全一致，确保卡片位置和大小一模一样 */
    #software-products {
        grid-template-columns: repeat(3, 1fr); /* 强制设置为3列，与硬件产品一致 */
    }
}

@media (max-width: 900px) {
    .case-modal .modal-panel {
        width: min(94vw, 760px);
    }

    .modal-content .gallery-grid {
        grid-template-columns: 1fr;
    }

    .modal-content .gallery-grid .grid-img {
        height: 32vh;
    }
}

/* 咨询师团队样式 */
.counselors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.counselor-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
}

.counselor-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.counselor-photo {
    position: relative;
    height: 300px;
    overflow: hidden;
}

.counselor-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 20%;
    transition: transform 0.3s ease;
}

.counselor-card:hover .counselor-img {
    transform: scale(1.05);
}

.counselor-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.8), rgba(16, 185, 129, 0.8));
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.counselor-card:hover .counselor-overlay {
    opacity: 1;
}

.counselor-social {
    display: flex;
    gap: 20px;
}

.social-link {
    width: 50px;
    height: 50px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 20px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-link:hover {
    background: var(--primary-color);
    color: white;
    transform: scale(1.1);
}

.counselor-info {
    padding: 25px;
}

.counselor-name {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 8px;
}

.counselor-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 15px;
}

.counselor-description {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
    min-height: 140px;
}

.counselor-specialties {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.specialty-tag {
    background: linear-gradient(135deg, #6366f1, #10b981);
    /*background: linear-gradient(135deg, #667eea, #764ba2);*/
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
}

.counselor-credentials {
    border-top: 1px solid #eee;
    padding-top: 20px;
}

.counselor-credentials p {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #666;
    font-size: 14px;
    margin-bottom: 8px;
}

.counselor-credentials i {
    color: var(--accent-color);
    width: 16px;
}

.counselors-cta {
    text-align: center;
    margin-top: 50px;
    padding: 40px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 20px;
    color: white;
}

.counselors-cta p {
    font-size: 18px;
    margin-bottom: 20px;
}

.counselors-cta .btn {
    background: white;
    color: var(--primary-color);
    border: none;
    padding: 15px 30px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.counselors-cta .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* 合作伙伴 - 胶片式无缝轮播 */
.partner-carousel {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    padding: 8px 0;
    background: #fff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .05);
}

.partner-track {
    display: flex;
    width: max-content;
    animation: partnerScroll 30s linear infinite;
}

.partner-seq {
    display: flex;
}

.partner-logo {
    width: 180px;
    height: 90px;
    margin: 0 16px;
    border-radius: 12px;
    overflow: hidden;
    background: #f3f4f6;
    display: flex;
    align-items: center;
    justify-content: center;
}

.partner-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@keyframes partnerScroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* 两侧虚化遮罩（更柔和的边缘效果） */
.partner-carousel::before,
.partner-carousel::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    width: 5px;
    pointer-events: none;
    z-index: 1;
}

.partner-carousel::before {
    left: 0;
    background: linear-gradient(to right, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
    -webkit-backdrop-filter: blur(1px);
    backdrop-filter: blur(1px);
}

.partner-carousel::after {
    right: 0;
    background: linear-gradient(to left, rgba(255, 255, 255, 0.6) 0%, rgba(255, 255, 255, 0) 100%);
    -webkit-backdrop-filter: blur(2px);
    backdrop-filter: blur(2px);
}

/* 联系我们样式 */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-info h3,
.contact-form h3 {
    font-size: 1.8rem;
    margin-bottom: 2rem;
    color: #1f2937;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: #f9fafb;
    border-radius: 15px;
}

.contact-item i {
    font-size: 1.5rem;
    color: #6366f1;
    margin-top: 0.25rem;
}

.contact-item h4 {
    margin-bottom: 0.5rem;
    color: #1f2937;
}

.contact-item p {
    color: #6b7280;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #6366f1;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* 页脚样式 */
.footer {
    background: #1f2937;
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    margin-bottom: 1rem;
    color: #f9fafb;
}

.footer-section p {
    color: #d1d5db;
    margin-bottom: 0.5rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #d1d5db;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #6366f1;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    display: inline-block;
    width: 40px;
    height: 40px;
    background: #374151;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: #6366f1;
    transform: translateY(-2px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #374151;
    color: #9ca3af;
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .cases-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 926px) {
    .counselors-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .counselor-photo {
        height: 250px;
    }

    .counselor-info {
        padding: 20px;
    }

    .counselor-name {
        font-size: 20px;
    }

    .counselors-cta {
        padding: 30px 20px;
    }

    .counselors-cta p {
        font-size: 16px;
    }

    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .hero {
        flex-direction: column;
        text-align: center;
        padding: 100px 1rem 2rem;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero-buttons {
        justify-content: center;
    }

    .about-item,
    .about-item.reverse,
    .service-item {
        flex-direction: column;
        text-align: center;
    }

    .contact-content {
        grid-template-columns: 1fr;
    }

    .products-grid,
    .partners-grid {
        grid-template-columns: 1fr;
    }
    
    .cases-grid {
        grid-template-columns: 1fr;
    }

    .section {
        padding: 3rem 0;
    }

    .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }

    .about-item,
    .service-item {
        padding: 1.5rem;
    }

    .product-card,
    .case-card,
    .partner-item {
        padding: 1.5rem;
    }
}

/* 滚动条样式 */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #6366f1;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #4f46e5;
}

/* 平滑滚动 */
html {
    scroll-behavior: smooth;
}

/* 加载动画 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* 新页面样式 */
.page-header {
    padding: 120px 0 60px;
    background: linear-gradient(135deg, #6366f1, #10b981);
    color: white;
    text-align: center;
}

.header-content {
    max-width: 800px;
    margin: 0 auto;
}

.back-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: white;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    background: rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    margin-bottom: 2rem;
}

.back-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateX(-5px);
}

/* 头部导航容器 */
.header-navigation {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    margin-top: 2rem;
    flex-wrap: wrap;
}

/* 导航按钮样式 */
.nav-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: white;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    background: rgba(255, 255, 255, 0.15);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.nav-btn:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-header h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.page-header p {
    font-size: 1.2rem;
    opacity: 0.9;
    line-height: 1.6;
}

.cases-section {
    padding: 4rem 0;
    background: #f9fafb;
}

.cases-grid-full {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
}

.cases-grid-full .case-card {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    text-align: center;
    cursor: pointer;
}

.cases-grid-full .case-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.cases-grid-full .case-card p {
    color: #6b7280;
    line-height: 1.6;
    margin-bottom: 1rem;
}

/* 咨询师详情页面样式 */
.counselors-section {
    padding: 4rem 0;
    background: #f9fafb;
}

.counselors-grid-full {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
}

.counselors-grid-full .counselor-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
}

.counselors-grid-full .counselor-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

/* 固定悬浮返回按钮 */
.floating-back-btn {
    position: fixed;
    left: 30px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1000;
}

.floating-back-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem;
    background: rgba(99, 102, 241, 0.9);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.3);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.floating-back-link:hover {
    background: rgba(99, 102, 241, 1);
    transform: translateX(-5px);
    box-shadow: 0 12px 35px rgba(99, 102, 241, 0.4);
}

.floating-back-link i {
    font-size: 1.2rem;
}

.floating-back-link span {
    font-size: 0.9rem;
    font-weight: 600;
    writing-mode: vertical-rl;
    text-orientation: mixed;
}

/* 固定悬浮切换按钮 */
.floating-switch-btn {
    position: fixed;
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1000;
}

.floating-switch-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem;
    background: rgba(16, 185, 129, 0.9);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.3);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.floating-switch-link:hover {
    background: rgba(16, 185, 129, 1);
    transform: translateX(5px);
    box-shadow: 0 12px 35px rgba(16, 185, 129, 0.4);
}

.floating-switch-link i {
    font-size: 1.2rem;
}

.floating-switch-link span {
    font-size: 0.9rem;
    font-weight: 600;
    writing-mode: vertical-rl;
    text-orientation: mixed;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .page-header {
        padding: 100px 0 40px;
    }
    
    .page-header h1 {
        font-size: 2rem;
    }
    
    .page-header p {
        font-size: 1rem;
    }
    
    .cases-grid-full {
        grid-template-columns: 1fr;
    }
    
    .back-btn {
        font-size: 0.9rem;
        padding: 0.4rem 0.8rem;
    }
    
    .header-navigation {
        justify-content: center;
        margin-top: 1.5rem;
    }
    
    .nav-btn {
        font-size: 0.9rem;
        padding: 0.4rem 0.8rem;
    }
    
    /* 移动端悬浮返回按钮 */
    .floating-back-btn {
        left: 20px;
        top: 200px;
        bottom: auto;
        transform: none;
    }
    
    /* 移动端悬浮切换按钮 */
    .floating-switch-btn {
        right: 20px;
        top: 200px;
        bottom: auto;
        transform: none;
    }
    
    .floating-back-link {
        padding: 0.8rem;
        border-radius: 40px;
    }
    
    .floating-back-link span {
        writing-mode: horizontal-tb;
        font-size: 0.8rem;
    }
    
    .floating-switch-link {
        padding: 0.8rem;
        border-radius: 40px;
    }
    
    .floating-switch-link span {
        writing-mode: horizontal-tb;
        font-size: 0.8rem;
    }

    /* 产品切换按钮响应式 */
    .product-tabs {
        align-items: center;
        gap: 0.8rem;
        margin-bottom: 2rem;
    }
    
    .tab-btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
        width: 200px;
    }
    
    .hardware-grid,
    .software-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    /* 移动端产品卡片样式统一 */
    #hardware-products,
    #software-products {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    #software-products .product-card {
        max-width: none;
        min-height: auto;
    }
    
    .product-card {
        padding: 1.5rem;
    }
    
    .product-features li {
        padding-left: 1.5rem;
    }
}

/* 公司动态页面样式 */
.news-section {
    padding: 4rem 0;
    background: #f8f9fa;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.news-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border-left: 4px solid #6366f1;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.news-date {
    background: #6366f1;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 1rem;
}

.news-content h3 {
    color: #333;
    font-size: 1.3rem;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.news-content p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.news-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.tag {
    background: #e9ecef;
    color: #495057;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
}

.read-more {
    color: #6366f1;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.read-more:hover {
    color: #4f46e5;
    transform: translateX(5px);
}

.read-more i {
    font-size: 0.9rem;
}

/* 分页导航 */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin-top: 3rem;
}

.page-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: white;
    color: #6366f1;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid #e9ecef;
}

.page-link:hover,
.page-link.active {
    background: #6366f1;
    color: white;
    border-color: #6366f1;
}

.page-link.next {
    width: auto;
    padding: 0 1.5rem;
    border-radius: 25px;
    gap: 0.5rem;
}

.page-link.next i {
    font-size: 0.8rem;
}

/* 首页公司动态更多按钮样式 */
.news-more {
    margin-top: 2rem;
    text-align: center;
}

.news-more .btn {
    background: #6366f1;
    color: white;
    border: 2px solid #6366f1;
    padding: 0.8rem 2rem;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
}

.news-more .btn:hover {
    background: white;
    color: #6366f1;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(99, 102, 241, 0.3);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .news-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .news-card {
        padding: 1.5rem;
    }
    
    .news-content h3 {
        font-size: 1.2rem;
    }
    
    .pagination {
        gap: 0.3rem;
    }
    
    .page-link {
        width: 40px;
        height: 40px;
        font-size: 0.9rem;
    }
    
    .page-link.next {
        padding: 0 1rem;
        font-size: 0.9rem;
    }
}

/* 返回顶部按钮样式 */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: #6366f1;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 1000;
    box-shadow: 0 5px 20px rgba(99, 102, 241, 0.3);
}

.scroll-to-top:hover {
    background: #4f46e5;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.4);
}

.scroll-to-top i {
    font-size: 1.2rem;
}

/* 移动端返回顶部按钮 */
@media (max-width: 768px) {
    .scroll-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }
    
    .scroll-to-top i {
        font-size: 1rem;
    }
}


