:root {
    --primary-color: rgb(50, 100, 150);
    --secondary-color: rgb(10, 20, 60);
    --accent-color: #e74c3c;
    --text-color: white;
    --text-dark: #1a1a1a;
    --text-light: #4a4a4a;
    --bg-color: #f5f6f8;
    --bg-light: #ffffff;
    --bg-card: #ffffff;
    --border-color: #d0d0d0;
    --transition-duration: 0.4s;
    --header-height: 60px;
    --footer-height: 50px;
    --content-padding: 20px;
    --border-radius: 8px;
    --box-shadow: 0 4px 15px rgba(0,0,0,0.12);
    --box-shadow-hover: 0 12px 35px rgba(0,0,0,0.2);
    --mobile-breakpoint: 768px;
    --tablet-breakpoint: 1024px;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

body {
    font-family: Arial, sans-serif;
    background-color: var(--bg-color);
    opacity: 0;
    transition: opacity 0.5s ease;
}

body.loaded {
    opacity: 1;
}
.navbar {
    position: fixed; 
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    height: var(--header-height);
    background-color: var(--primary-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 40px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.navbar:hover {
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}
.navbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    gap: 20px;
}

.logo {
    color: var(--text-color);
    font-size: 25px;
    font-weight: bold;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex-shrink: 0;
    max-width: 25%;
    position: relative;
    display: inline-block;
    text-shadow: 
        1px 1px 0px rgba(0, 0, 0, 0.2),
        2px 2px 0px rgba(0, 0, 0, 0.2),
        3px 3px 0px rgba(0, 0, 0, 0.2),
        4px 4px 0px rgba(0, 0, 0, 0.2),
        5px 5px 0px rgba(0, 0, 0, 0.2),
        6px 6px 0px rgba(0, 0, 0, 0.15),
        7px 7px 0px rgba(0, 0, 0, 0.1),
        8px 8px 10px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.logo:hover {
    transform: translate(-2px, -2px);
    text-shadow: 
        1px 1px 0px rgba(0, 0, 0, 0.2),
        2px 2px 0px rgba(0, 0, 0, 0.2),
        3px 3px 0px rgba(0, 0, 0, 0.2),
        4px 4px 0px rgba(0, 0, 0, 0.2),
        5px 5px 0px rgba(0, 0, 0, 0.2),
        6px 6px 0px rgba(0, 0, 0, 0.15),
        7px 7px 0px rgba(0, 0, 0, 0.1),
        10px 10px 15px rgba(0, 0, 0, 0.4);
}

.menu-toggle {
    display: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    transition: all var(--transition-duration) ease-in-out;
    background-color: var(--text-color);
}

.nav-links {
    display: flex;
    align-items: center;
    flex: 1;
    overflow: visible;
    scrollbar-width: none;
    -ms-overflow-style: none;
    justify-content: flex-end;
}

.nav-links::-webkit-scrollbar {
    display: none;
}

.navbar nav ul {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 5px;
    flex-wrap: nowrap;
    min-width: max-content;
}

.navbar nav ul li {
    margin-left: 0;
    position: relative;
    flex-shrink: 0;
}

.navbar nav ul li a {
    color: var(--text-color);
    text-decoration: none;
    padding: 6px 10px;
    display: block;
    transition: all var(--transition-duration) ease;
    font-size: 14px;
    white-space: nowrap;
}

.navbar nav ul li a:not(.highlight-link):hover {
    color: white;
    background-color: rgba(10, 20, 60, 0.9);
    text-shadow: 0.4px 0 0 currentColor, -0.4px 0 0 currentColor, 0 0.2px 0 currentColor, 0 -0.2px 0 currentColor;
}

.navbar nav ul li a:not(.highlight-link) {
    display: inline-block;
    padding: 6px 10px;
    text-align: center;
    transition: color 0.15s ease, background-color 0.15s ease, text-shadow 0.15s ease;
}

/* 下拉菜单链接也应用同样的处理 */
.navbar nav ul li .dropdown-menu li a:hover {
    text-shadow: 0.4px 0 0 currentColor, -0.4px 0 0 currentColor, 0 0.2px 0 currentColor, 0 -0.2px 0 currentColor;
}

.navbar nav ul li .dropdown-menu li a {
    display: block;
    transition: background-color 0.15s ease, text-shadow 0.15s ease;
}

/* 为导航项设置最小宽度，防止布局晃动 */
.navbar nav ul li {
    flex-shrink: 0;
}

.navbar nav ul li a.highlight-link {
    background-color: #ff6b35;
    border-radius: 20px;
    padding: 6px 16px;
    font-weight: bold;
    box-shadow: 0 2px 8px rgba(255, 107, 53, 0.3);
}

.navbar nav ul li a.highlight-link:hover {
    background-color: #ff8c5a;
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.5);
    transform: translateY(-2px);
    color: white;
}
/* 隐藏下拉菜单默认状态 */
.navbar nav ul li .dropdown-menu {
    display: none;
    position: absolute;
    background-color: rgba(80, 120, 160, 0.9);
    min-width: 160px;
    box-shadow: var(--box-shadow);
    z-index: 1;
    left: 0;
    top: 100%;
}

/* 当父元素hover时显示下拉菜单 */
.navbar nav ul li:hover .dropdown-menu {
    display: block;
}

/* 下拉菜单中的列表项样式 */
.navbar nav ul li .dropdown-menu li {
    margin: 0;
    width: 100%;
}

.navbar nav ul li .dropdown-menu li a {
    display: block;
    padding: 10px;
    text-decoration: none;
    color: var(--text-color);
    text-align: left;
}

/* 下拉菜单中的链接hover样式 */
.navbar nav ul li .dropdown-menu li a:hover {
    background-color: rgba(0, 0, 100, 0.5);
}

/* 响应式设计 */
@media screen and (min-width: 1025px) and (max-width: 1366px) {
    .navbar {
        padding: 0 30px;
    }
    
    .logo {
        font-size: 18px;
        max-width: 22%;
    }
    
    .navbar nav ul li a {
        padding: 6px 8px;
        font-size: 13px;
    }
    
    .navbar nav ul li a.highlight-link {
        background-color: #ff6b35;
        border-radius: 20px;
        padding: 5px 12px;
        font-weight: bold;
    }
    
    .navbar nav ul li a.highlight-link:hover {
        background-color: #ff8c5a;
        box-shadow: 0 4px 12px rgba(255, 107, 53, 0.5);
        transform: translateY(-2px);
        color: white;
    }
    
    /* 调整广告位 */
    .ad-section {
        width: 180px;
        left: 15px;
        top: 220px;
    }
    
    .ad-container {
        height: 220px;
    }
}

/* 响应式设计 */
@media screen and (max-width: 1024px) {
    .navbar {
        padding: 0 20px;
    }
    
    .logo {
        font-size: 18px;
        max-width: 30%;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .menu-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .menu-toggle.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .menu-toggle.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    .nav-links {
        position: absolute;
        right: -100%;
        left: auto;
        top: calc(var(--header-height) + 10px);
        flex-direction: column;
        background-color: var(--primary-color);
        width: 33.33%;
        text-align: center;
        transition: var(--transition-duration);
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        z-index: 99;
        overflow-x: hidden;
        overflow-y: auto;
        max-height: calc(100vh - var(--header-height) - 10px);
    }
    
    .nav-links.active {
        right: 0;
        left: auto;
    }
    
    .navbar nav ul {
        flex-direction: column;
        width: 100%;
        gap: 0;
    }
    
    .navbar nav ul li {
        margin: 0;
        width: 100%;
    }
    
    .navbar nav ul li a {
        padding: 12px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        font-size: 15px;
    }
    
    .navbar nav ul li a.highlight-link {
        background-color: #ff6b35;
        border-radius: 20px;
        padding: 10px 20px;
        font-weight: bold;
        margin: 10px 20px;
        display: inline-block;
        text-align: center;
    }
    
    .navbar nav ul li .dropdown-menu {
        position: static;
        background-color: rgba(0, 0, 100, 0.3);
        box-shadow: none;
        width: 100%;
        display: none;
        padding-left: 20px;
    }
    
    .navbar nav ul li:hover .dropdown-menu {
        display: block;
    }
    
    .navbar nav ul li .dropdown-menu li a {
        padding: 10px 15px;
        text-align: left;
    }
}

.gradienta {
    height: var(--header-height);
    background: linear-gradient(to right, #ff6b35, #ffcc00, #ff9500);
    display: flex;
    justify-content: center;
    text-align: left;
    position: relative;
    z-index: 1;
}
.gradientb {
    height: 1px;
    background: linear-gradient(to right, #ff6b35, #ffcc00, #ff9500);
    display: flex;
    justify-content: center;
    text-align: left;
}
.gradient-bar {
    height: 80px;
    background: linear-gradient(to right, rgb(0, 0, 100), white);
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: left;
    border-top: 1px solid #e0e0e0;
}

.gradient-bar span {
    color: white;
    font-size: clamp(16px, 3.5vw, 60px);
    margin-right: auto;
    font-weight: bold;
    margin-left: clamp(20px, 8vw, 100px);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex-shrink: 1;
    max-width: 90%;
}
/* 主体部分 */
.content-wrapper {
    margin: 10px 6% 20px;
    padding: 15px 3%;
    border-top: 2px solid #e0e0e0;
    border-bottom: 2px solid #e0e0e0;
    display: flex;
    flex-direction: column;
    gap: 10px;
    justify-content: flex-start;
}

/* 广告位样式 */
.ad-section {
    position: fixed;
    left: 20px;
    top: 250px;
    width: 200px;
    min-width: 120px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 90;
    background-color: var(--bg-card);
    border-radius: var(--border-radius);
    padding: 12px;
    box-shadow: var(--box-shadow);
    transition: all 0.3s ease;
}

.ad-section:hover {
    box-shadow: var(--box-shadow-hover);
}

.ad-container {
    position: relative;
    width: 100%;
    height: 250px;
    overflow: hidden;
    border-radius: var(--border-radius);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.ad-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.ad-slide.active {
    opacity: 1;
}

.ad-controls {
    display: flex;
    justify-content: space-between;
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    padding: 0 10px;
    z-index: 5;
}

.ad-prev, .ad-next {
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    transition: all 0.3s ease;
}

.ad-prev:hover, .ad-next:hover {
    background-color: rgba(0, 0, 0, 0.8);
    transform: scale(1.1);
}

.ad-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 5px;
}

.ad-dot {
    width: 8px;
    height: 8px;
    background-color: #ccc;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.ad-dot.active {
    background-color: var(--primary-color);
    transform: scale(1.2);
}

.ad-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--border-radius);
}

.ad-text {
    text-align: center;
    font-size: 14px;
    color: var(--text-dark);
    padding: 10px;
    background-color: var(--bg-light);
    border-radius: var(--border-radius);
    font-weight: 500;
}

.ad-close-btn {
    position: absolute;
    top: 5px;
    right: 5px;
    width: 24px;
    height: 24px;
    background-color: rgba(0, 0, 0, 0.6);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: bold;
    transition: all 0.3s ease;
    z-index: 10;
}

.ad-close-btn:hover {
    background-color: rgba(0, 0, 0, 0.8);
    transform: scale(1.1);
}

.ad-section.hidden {
    display: none;
}

.content {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 1px; /* 可选，为内容区域添加间隔距离 */
}

/* 面包屑导航样式 */
.breadcrumb {
    margin-bottom: 20px;
    font-size: 14px;
    color: var(--text-light);
    padding: 10px 0;
    border-bottom: 1px solid var(--border-color);
}

.breadcrumb a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb a:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

.breadcrumb span {
    color: var(--text-dark);
    font-weight: 500;
}

.content img {
    width: 400px; /* 根据实际情况调整图片宽度 */
    height: auto;
}

.content article {
    flex-grow: 1;
    line-height: 1.6em;
    text-align: justify;
}

/* 卡片网格布局 */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 15px;
    margin: 15px 0;
    align-items: stretch;
}

.card-grid > * {
    display: flex;
}

.card {
    display: flex;
    flex-direction: column;
    width: 100%;
    background-color: var(--bg-card);
    border-radius: var(--border-radius);
    padding: 20px;
    box-shadow: var(--box-shadow);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    border-top: 4px solid #e0e0e0;
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #ff6b35, #ff9500, #ffcc00);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.card:hover {
    box-shadow: var(--box-shadow-hover);
    transform: translateY(-8px) scale(1.01);
    border-top-color: transparent;
}

.card:hover::before {
    transform: scaleX(1);
}

.card h3 {
    background-color: #000080;
    color: white;
    padding: 15px 20px;
    border-radius: 0;
    margin-bottom: 15px;
    font-size: 18px;
    display: block;
    font-weight: bold;
    position: relative;
    overflow: hidden;
}

.card h3::before {
    content: '';
    position: absolute;
    top: 4px;
    left: 4px;
    right: 4px;
    height: 1px;
    background-color: white;
}

.card h3::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 4px;
    right: 4px;
    height: 1px;
    background-color: white;
}

.card p {
    flex: 1;
    color: var(--text-dark);
    margin-bottom: 20px;
    line-height: 1.6;
}

.card-link {
    display: inline-block;
    padding: 10px 20px;
    background-color: rgb(173, 216, 230);
    color: #333333;
    text-decoration: none;
    border-radius: 4px;
    font-size: 14px;
    transition: all 0.3s ease;
}

.card-link:hover {
    background-color: rgb(135, 206, 235);
    transform: translateY(-2px);
}

.card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: var(--border-radius);
    margin-bottom: 15px;
}

/* 文章中的图片 */
/* 文章左侧强调线 */
article {
    flex: 1;
    padding: 20px;
    background-color: var(--bg-card);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: all 0.3s ease;
    margin-bottom: 10px;
    border-left: 4px solid #e0e0e0;
}

article:hover {
    box-shadow: var(--box-shadow-hover);
}

article h1 {
    font-size: 28px;
    margin-bottom: 15px;
    color: black;
}

article h2 {
    font-size: 24px;
    margin: 15px 0 10px;
    color: black;
}

article p {
    margin-bottom: 10px;
    text-align: justify;
    color: black;
}

article img {
    max-width: 100%;
    height: auto;
    margin: 20px auto;
    display: block;
    border-radius: var(--border-radius);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: opacity 0.3s ease-in-out;
}

article img.loaded {
    opacity: 1;
}

img.lazy {
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

img.lazy.loaded {
    opacity: 1;
}

.faq-section {
    margin: 30px 0;
    padding: 20px 0;
    border-top: 1px solid var(--border-color);
}

.faq-item {
    margin-bottom: 15px;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    overflow: hidden;
}

.faq-item h3 {
    background-color: #000080;
    color: white;
    padding: 15px 20px;
    margin: 0;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: bold;
    position: relative;
    overflow: hidden;
    border-radius: 0;
}

.faq-item h3::before {
    content: '';
    position: absolute;
    top: 4px;
    left: 4px;
    right: 4px;
    height: 1px;
    background-color: white;
}

.faq-item h3::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 4px;
    right: 4px;
    height: 1px;
    background-color: white;
}

.faq-item h3 .faq-icon {
    font-size: 24px;
    font-weight: bold;
    transition: transform 0.3s ease;
    z-index: 1;
}

.faq-item h3.active .faq-icon {
    transform: rotate(45deg);
}

.faq-item h3:hover {
    opacity: 0.9;
}

.faq-item p {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s ease;
    color: var(--text-dark);
    line-height: 1.7;
}

.faq-item p.active {
    padding: 20px;
    max-height: 500px;
}

.resources-section {
    margin: 30px 0;
    padding: 20px 0;
    border-top: 1px solid var(--border-color);
}

.resources-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.resource-card {
    background: var(--bg-card);
    border-radius: var(--border-radius);
    padding: 20px;
    box-shadow: var(--box-shadow);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    border-left: 4px solid #e0e0e0;
    position: relative;
    overflow: hidden;
}

.resource-card::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 4px;
    background: linear-gradient(180deg, #00c853, #64dd17, #aeea00);
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.resource-card:hover {
    box-shadow: var(--box-shadow-hover);
    transform: translateY(-5px);
    border-left-color: transparent;
}

.resource-card:hover::before {
    transform: scaleY(1);
}

.resource-card h4 {
    color: var(--text-dark);
    font-size: 16px;
    margin-bottom: 10px;
}

.resource-card p {
    color: var(--text-dark);
    font-size: 14px;
    margin-bottom: 15px;
    line-height: 1.6;
}

.resource-link {
    display: inline-block;
    padding: 8px 16px;
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-size: 14px;
    transition: all 0.3s ease;
}

.resource-link:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
}

article ul, article ol {
    margin: 15px 0;
    padding-left: 20px;
}

article li {
    margin-bottom: 8px;
}
/* 灰色条带分隔图文和底部 */
.gray-separator {
    width: 100%;
    height: 15px;
    background-color: var(--bg-light);
    margin-top: 20px;
    margin-bottom: 0;
}

/* 响应式设计 - 灰色条带 */
@media screen and (max-width: 768px) {
    .gray-separator {
        height: 15px;
        margin-top: 20px;
    }
}

/* 客户见证样式 */
.testimonials {
    margin: 20px 0;
    padding: 20px 0;
    border-top: 1px solid var(--border-color);
}

.testimonials h2 {
    background-color: #000080;
    color: white;
    padding: 15px 20px;
    border-radius: 0;
    margin-bottom: 15px;
    font-size: 22px;
    position: relative;
    display: block;
    font-weight: bold;
    overflow: hidden;
}

.testimonials h2::before {
    content: '';
    position: absolute;
    top: 4px;
    left: 4px;
    right: 4px;
    height: 1px;
    background-color: white;
}

.testimonials h2::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 4px;
    right: 4px;
    height: 1px;
    background-color: white;
}




.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 15px;
    align-items: stretch;
}

.testimonial-grid > * {
    display: flex;
}

.testimonial-card {
    display: flex;
    flex-direction: column;
    width: 100%;
    background-color: var(--bg-card);
    border-radius: var(--border-radius);
    padding: 20px;
    box-shadow: var(--box-shadow);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    border-left: 4px solid #e0e0e0;
    position: relative;
    overflow: hidden;
}

.testimonial-card:hover {
    box-shadow: var(--box-shadow-hover);
    transform: translateY(-8px) scale(1.01);
    border-left-color: transparent;
}

.testimonial-card::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 4px;
    background: linear-gradient(180deg, #ff6b35, #ff9500, #ffcc00);
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.testimonial-card:hover::before {
    transform: scaleY(1);
}

.testimonial-card.special-card::before {
    display: none;
}

.testimonial-card.special-card .border-top,
.testimonial-card.special-card .border-right,
.testimonial-card.special-card .border-bottom,
.testimonial-card.special-card .border-left {
    position: absolute;
    background: linear-gradient(90deg, #ff6b35, #ff9500, #ffcc00);
    transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    display: block;
}

.testimonial-card.special-card .border-top {
    top: 0;
    left: -100%;
    width: 100%;
    height: 4px;
}

.testimonial-card.special-card .border-right {
    right: 0;
    top: -100%;
    height: 100%;
    width: 4px;
}

.testimonial-card.special-card .border-bottom {
    bottom: 0;
    right: -100%;
    width: 100%;
    height: 4px;
}

.testimonial-card.special-card .border-left {
    left: 0;
    bottom: -100%;
    height: 100%;
    width: 4px;
}

.testimonial-card.special-card:hover .border-top {
    left: 0;
    transition-delay: 0s;
}

.testimonial-card.special-card:hover .border-right {
    top: 0;
    transition-delay: 0.3s;
}

.testimonial-card.special-card:hover .border-bottom {
    right: 0;
    transition-delay: 0.6s;
}

.testimonial-card.special-card:hover .border-left {
    bottom: 0;
    transition-delay: 0.9s;
}

.recommendation-stamp {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 70px;
    height: 70px;
    background-color: #dc3545;
    border-radius: 50%;
    color: white;
    font-size: 14px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    line-height: 1.2;
    z-index: 10;
    transform: rotate(15deg);
    box-shadow: 0 3px 10px rgba(220, 53, 69, 0.4);
    border: 3px solid #c82333;
}

.testimonial-content {
    flex: 1;
    margin-bottom: 20px;
}

.testimonial-content p {
    color: var(--text-dark);
    line-height: 1.7;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-info h4 {
    color: var(--text-dark);
    font-size: 16px;
    margin-bottom: 5px;
    font-weight: 600;
}

.author-info p {
    color: var(--text-dark);
    font-size: 14px;
    margin: 0;
}

.testimonial-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: var(--border-radius);
    margin-bottom: 15px;
}

/* 合作伙伴样式 */
.partners {
    margin: 20px 0;
    padding: 20px 0;
    border-top: 1px solid var(--border-color);
}

.partners h2 {
    background-color: #000080;
    color: white;
    padding: 15px 20px;
    border-radius: 0;
    margin-bottom: 15px;
    font-size: 22px;
    position: relative;
    display: block;
    font-weight: bold;
    overflow: hidden;
}

.partners h2::before {
    content: '';
    position: absolute;
    top: 4px;
    left: 4px;
    right: 4px;
    height: 1px;
    background-color: white;
}

.partners h2::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 4px;
    right: 4px;
    height: 1px;
    background-color: white;
}

.partner-logos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
    align-items: center;
}

.partner-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    background-color: var(--bg-card);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: all 0.3s ease;
    height: 120px;
}

.partner-logo:hover {
    box-shadow: var(--box-shadow-hover);
    transform: translateY(-3px);
}

.partner-logo img {
    max-width: 100%;
    max-height: 80px;
    filter: grayscale(100%);
    transition: all 0.3s ease;
}

.partner-logo:hover img {
    filter: grayscale(0);
    transform: scale(1.05);
}

/* 社交媒体分享按钮 */
.share-buttons {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #e0e0e0;
}

.share-buttons h4 {
    margin-bottom: 15px;
    font-size: 16px;
    color: var(--text-dark);
}

.share-icons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.share-icon {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 8px 15px;
    background-color: var(--bg-light);
    border-radius: var(--border-radius);
    text-decoration: none;
    color: var(--text-dark);
    font-size: 14px;
    transition: all 0.3s ease;
}

.share-icon:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

.share-icon img {
    width: 16px;
    height: 16px;
}

/* 响应式设计 - 分享按钮 */
@media screen and (max-width: 768px) {
    .share-icons {
        gap: 10px;
    }
    
    .share-icon {
        padding: 6px 12px;
        font-size: 12px;
    }
    
    .share-icon img {
        width: 14px;
        height: 14px;
    }
}
/* 响应式设计 - 平板设备 */
@media screen and (min-width: 769px) and (max-width: 1023px) {
    .gradient-bar span {
        font-size: clamp(20px, 3vw, 40px);
        margin-left: clamp(20px, 5vw, 50px);
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    /* 平板设备上调整内容区域 */
    .content-wrapper {
        padding: 30px 3%;
    }
    
    article {
        padding: 25px;
    }
    
    /* 平板设备上调整浮动侧边栏 */
    .floating-sidebar {
        right: 15px;
        gap: 6px;
        padding: 6px;
        width: 60px;
        max-height: 70vh;
    }
    
    .sidebar-item {
        width: 48px;
        height: 48px;
    }
    
    .sidebar-item img {
        width: 24px;
        height: 24px;
    }
    
    .sidebar-item.back-to-top img {
        width: 24px;
        height: 24px;
    }
    
    .wechat-qrcode {
        right: 55px;
    }
    
    .wechat-qrcode img {
        width: 130px;
        height: 130px;
    }
    
    .official-account-qrcode {
        right: 55px;
    }
    
    .official-account-qrcode img {
        width: 130px;
        height: 130px;
    }
}

/* 悬浮侧边栏样式 */
.floating-sidebar {
    position: fixed;
    right: 20px;
    top: 61.8%;
    transform: translateY(-38.2%);
    z-index: 99;
    display: flex;
    flex-direction: column;
    gap: 6px;
    background-color: var(--bg-light);
    border-radius: var(--border-radius);
    padding: 6px;
    box-shadow: var(--box-shadow);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    max-height: 80vh;
    width: 60px;
}

.sidebar-item {
    width: 48px;
    height: 48px;
    background-color: #e0e0e0;
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    border: 1px solid var(--border-color);
    transform: translateZ(0); /* 启用硬件加速 */
}

.sidebar-item img {
    width: 24px;
    height: 24px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 2;
}

/* 修复二维码图片滤镜问题 */
.wechat-qrcode img,
.official-account-qrcode img {
    filter: none !important;
    transform: none !important;
}

/* 悬停效果 */
.sidebar-item:hover {
    background-color: #ff6b35;
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(255, 107, 53, 0.3);
    border-color: #ff6b35;
}

/* 图标保持清晰可见 */
.sidebar-item:hover img {
    transform: scale(1.05);
    z-index: 10;
}

/* 微信二维码样式 */
.wechat-qrcode {
    position: absolute;
    right: 60px;
    top: 50%;
    transform: translateY(-50%);
    display: none;
    background-color: white;
    padding: 15px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow-hover);
    border: 1px solid var(--border-color);
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-50%) translateX(10px);
    }
    to {
        opacity: 1;
        transform: translateY(-50%) translateX(0);
    }
}

.wechat:hover .wechat-qrcode {
    display: block;
}

.wechat-qrcode img {
    width: 140px;
    height: 140px;
    border-radius: 8px;
}

/* 公众号二维码样式 */
.official-account {
    position: relative;
}

.official-account-qrcode {
    position: absolute;
    right: 60px;
    top: 50%;
    transform: translateY(-50%);
    display: none;
    background-color: white;
    padding: 15px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow-hover);
    border: 1px solid var(--border-color);
    animation: fadeIn 0.3s ease;
    z-index: 100;
}

.official-account:hover .official-account-qrcode {
    display: block;
}

.official-account-qrcode img {
    width: 140px;
    height: 140px;
    border-radius: 8px;
}

.official-account img {
    width: 24px;
    height: 24px;
}

/* 返回顶部按钮样式 */
.sidebar-item.back-to-top {
    opacity: 1;
    pointer-events: auto;
    transition: all 0.3s ease;
}

.sidebar-item.back-to-top:hover {
    background-color: #ff6b35;
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(255, 107, 53, 0.3);
    border-color: #ff6b35;
}

.sidebar-item.back-to-top img {
    width: 24px;
    height: 24px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 2;
}

.sidebar-item.back-to-top:hover img {
    transform: scale(1.05);
    z-index: 10;
}

/* 底部 */
.footer {
    position: relative;
    bottom: 0;
    left: 0;
    width: 100%;
    min-height: 120px; /* 增加高度以容纳二维码和文字 */
    background-color: var(--primary-color);
    display: flex;
    flex-direction: row;
    justify-content: center; /* 居中放置 */
    align-items: flex-start;
    color: var(--text-color);
    padding: 20px 40px;
    gap: 30px;
    margin-top: 30px;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
    flex-wrap: wrap;
}

.footer.visible {
    opacity: 1;
    transform: translateY(0);
}

.footer-qrcodes {
    display: flex;
    flex-direction: row;
    gap: 20px;
    padding-right: 20px;
    border-right: 1px solid rgba(255, 255, 255, 0.3);
}

.footer-qrcode {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-qrcode img {
    width: 80px;
    height: 80px;
    margin-bottom: 5px;
}

.footer-qrcode span {
    font-size: 10px;
    text-align: center;
}

.footer-content {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-right {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
}

.footer-links {
    display: flex;
    flex-direction: row;
    gap: 15px;
    padding-right: 0;
    align-items: center;
}

.footer-links a {
    color: var(--text-color);
    text-decoration: none;
    font-size: 12px;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #ff6b35;
}

.footer-divider {
    width: 100%;
    height: 1px;
    background-color: rgba(255, 255, 255, 0.3);
    margin: 5px 0;
}

.footer-copyright {
    margin-top: 5px;
}

.footer p {
    margin: 0;
    font-size: 12px; /* 调整字体大小以适应设计 */
    text-align: left; /* 每行内容左对齐显示 */
    line-height: 1.4;
}

.footer p.copyright {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 0;
    text-align: left;
    width: auto;
}

/* 响应式设计 - 底部和悬浮侧边栏 */
@media screen and (max-width: 768px) {
    /* 导航栏优化 */
    .navbar {
        padding: 0 20px;
        height: var(--header-height);
    }
    
    .logo {
        font-size: 18px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 60%;
    }
    
    .menu-toggle {
        z-index: 101;
    }
    
    .nav-links {
        top: var(--header-height);
    }
    
    /* 隐藏广告位 */
    .ad-section {
        display: none;
    }
    
    /* 渐变条优化 */
    .gradient-bar {
        height: 60px;
    }
    
    .gradient-bar span {
        font-size: clamp(14px, 5vw, 30px);
        margin-left: 20px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    /* 内容区域优化 */
    .content-wrapper {
        margin: 10px auto 60px;
        padding: 20px 15px;
        flex-direction: column;
        gap: 20px;
    }
    
    article {
        padding: 20px;
    }
    
    article h1 {
        font-size: 24px;
        margin-bottom: 15px;
    }
    
    article h2 {
        font-size: 20px;
        margin: 15px 0 10px;
    }
    
    article p {
        margin-bottom: 12px;
    }
    
    /* 底部优化 */
    .footer {
        min-height: 100px;
        padding: 15px 30px;
        gap: 15px;
        margin-top: 30px;
        flex-direction: row;
        text-align: left;
        justify-content: center;
    }
    
    .footer-qrcodes {
        display: flex;
        flex-direction: column;
        gap: 15px;
        padding-right: 15px;
        border-right: 1px solid rgba(255, 255, 255, 0.3);
        padding-bottom: 0;
        width: auto;
        justify-content: flex-start;
        border-bottom: none;
    }
    
    .footer-qrcode img {
        width: 60px;
        height: 60px;
    }
    
    .footer-qrcode span {
        font-size: 9px;
    }
    
    .footer-right {
        gap: 8px;
    }
    
    .footer-links {
        flex-direction: row;
        gap: 10px;
        flex-wrap: wrap;
        max-width: 200px;
    }
    
    .footer-content {
        gap: 6px;
        width: auto;
        align-items: flex-start;
        padding: 0;
        flex: 1;
        min-width: 0;
    }
    
    .footer p {
        font-size: 11px;
        text-align: left;
        line-height: 1.5;
        display: block;
    }
    
    .footer-links a {
        font-size: 11px;
    }
    
    .footer-copyright {
        margin-top: 5px;
    }
    
    .footer-copyright p {
        display: block;
        margin-top: 3px;
    }
    
    /* 悬浮侧边栏响应式 */
    .floating-sidebar {
        right: 10px;
        left: 10px;
        top: auto;
        bottom: 20px;
        transform: none;
        gap: 6px;
        padding: 6px;
        flex-direction: row;
        max-width: calc(100vw - 20px);
        max-height: 60px;
        overflow-x: visible;
        justify-content: center;
        flex-wrap: nowrap;
        box-sizing: border-box;
        width: auto;
    }
    
    .sidebar-item {
        width: 44px;
        height: 44px;
    }
    
    .sidebar-item img {
        width: 22px;
        height: 22px;
    }
    
    .sidebar-item.back-to-top img {
        width: 22px;
        height: 22px;
    }
    
    .wechat-qrcode img {
        width: 120px;
        height: 120px;
    }
    
    .wechat-qrcode {
        right: auto;
        left: 50%;
        top: -140px;
        transform: translateX(-50%);
    }
    
    .official-account-qrcode {
        right: auto;
        left: 50%;
        top: -140px;
        transform: translateX(-50%);
    }
    
    .official-account-qrcode img {
        width: 120px;
        height: 120px;
    }
}