/* Navigation */
header {
    position: sticky;
    width: 100%;
    height: 64px;
    line-height: 64px;
    background: var(--bg-color); /* 浅色半透明背景 */
    z-index: 10000;
    top: 0;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
}

.header-container-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0 auto;
    padding: 0 48px;
    height: 100%;
    background: var(--bg-color); /* 浅色半透明背景 */
}

@media (max-width: 768px) {
    .header-container-inner {
        padding: 0 16px;
    }
}

.header-left, .header-right {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.header-container-inner .logo {
    color: #007BFF; /* 改为蓝色标志 */
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 2px;
    width: 120px;
    height: 40px;
    margin-right: 100px;
}

.header-container-inner .logo a {
    display: flex;
}

.header-container-inner .logo img {
    height: 40px;
}

.header-container-inner .logo-light {
    display: inline-block;
}

.header-container-inner .logo-dark {
    display: none;
}

.header-nav {
    height: auto;
}

.header-nav a {
    font-size: 1rem;
    color: var(--text-color); /* 深灰色文字 */
    text-decoration: none;
    margin-left: 2rem;
    font-weight: 500;
}

.header-nav a:hover {
    color: var(--primary-color);
}

/* Hero Section */
.hero {
    display: flex;
    flex-direction: column; /* 改为垂直布局 */
    align-items: center;
    justify-content: center;
    position: relative;
    width: 100%;
    height: 100%;
    box-sizing: border-box;
}

/* 修复幻灯片高度 */
#hero-carousel .slide {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* 暗色主题 - 背景渐变 */
[data-theme="dark"] .hero-container .slide {
    background: linear-gradient(135deg,
    #1a1a1a 0%,
    #0d1117 50%,
    #161b22 100%
    ) !important;
}

.hero-wrapper {
    display: flex;
    align-items: center;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    height: 100%;
    gap: 4rem;
}

.hero-left {
    flex: 1;
    width: 50vw;
}

.hero-right {
    width: 50vw;
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-right img {
    width: 100%;
    aspect-ratio: 16/9;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.hero-content {
    text-align: center;
    color: var(--text-color); /* 深灰色文字 */
    z-index: 1;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #007bff, #00b3b3);
    color: white;
    padding: 0.4rem 1rem;
    border-radius: 30px;
    font-weight: 600;
    position: relative;
    z-index: 1;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1),
    0 4px 12px rgba(0, 127, 128, 0.3),
    inset 0 2px 4px rgba(255, 255, 255, 0.3);
}

.hero-tag.ribbon {
    box-shadow: 0 3px 6px rgba(255, 69, 104, 0.2),
    0 6px 15px rgba(255, 75, 110, 0.3);
}

/* 悬停增强效果 */
.hero-tag:hover {
    transform: translateY(-2px);
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.15),
    0 8px 20px rgba(0, 127, 128, 0.35);
}

.hero-tag::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: repeating-linear-gradient(
            45deg,
            rgba(255, 255, 255, 0.1),
            rgba(255, 255, 255, 0.1) 5px,
            transparent 5px,
            transparent 10px
    );
    z-index: -1;
    border-radius: 30px;
}

.hero-tag::after {
    content: '✨';
    position: absolute;
    right: -8px;
    top: -8px;
    font-size: 1.2rem;
    transform: rotate(15deg);
}

.hero-tag.ribbon {
    padding: 0.5rem 1.5rem 0.5rem 1rem;
    background: linear-gradient(120deg, #ff416c, #ff4b2b);
}

.hero-tag.ribbon::after {
    content: 'NEW';
    position: absolute;
    right: -10px;
    top: -5px;
    background: #fff;
    color: #ff4b2b;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: bold;
    transform: rotate(30deg);
}

.hero .hero-title {
    font-size: 3rem;
    font-weight: 800;
    letter-spacing: 3px;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background: linear-gradient(90deg, #106af1 0%, #00a6ff 100%); /* 蓝色渐变标题 */
    margin-top: 1rem;
}

.hero .hero-subTitle {
    font-size: 1.5rem;
    margin: 1.2rem 0;
    color: var(--text-color);
}

.hero .hero-desc {
    font-size: 1rem;
    margin: 1rem 0;
    color: var(--text-color-secondary);
}


@media (max-width: 768px) {
    .hero-wrapper {
        max-width: 680px;
    }
}

@media (min-width: 769px) and (max-width: 960px) {
    .hero-wrapper {
        max-width: 720px;
    }
}

@media (min-width: 960px) {
    .hero-wrapper {
        max-width: 920px;
    }
}

@media (min-width: 1200px) {
    .hero-wrapper {
        max-width: 1180px;
    }
}

@media (min-width: 1440px) {
    .hero-wrapper {
        max-width: 1280px;
    }
}

@media (min-width: 1600px) {
    .hero-wrapper {
        max-width: 1400px;
    }
}

@media (min-width: 1920px) {
    .hero-wrapper {
        max-width: 1680px;
    }
}

/* 移动端适配 */
@media (max-width: 768px) {
    .hero-left {
        max-width: 100%;
        margin-bottom: 2rem;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .hero .hero-title {
        font-size: 2.5rem;
    }

    .hero .hero-subTitle {
        font-size: 1.2rem;
    }

    .hero .hero-desc {
        font-size: 0.9rem;
        text-align: center;
    }

    .hero-right {
        display: none;
    }

    /* 移动端特殊样式 */
    .hero-section {
        padding: 3rem 1rem;
    }
}

/* 平板适配 */
@media (min-width: 769px) and (max-width: 992px) {
    .hero-left .hero-title {
        font-size: 2.8rem;
    }

    .hero-left p {
        font-size: 1.1rem;
    }
}

.btn-group {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-top: 24px;
}

.hero-container {
    position: relative;
    width: 100%;
    height: 600px;
    aspect-ratio: 16 / 9;
    border-bottom: 1px solid var(--border-color);
}

.hero-container .carousel-pagination {
    bottom: 70px;
}

.hero-footer {
    position: relative;
    top: -42px;
    width: 100%;
    height: auto;
    z-index: 99;
}

.hero-footer .footer-wrapper {
    height: 100%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
}

.hero-footer .footer-item {
    color: var(--text-color);
    width: 100%;
    height: 100%;
    text-decoration: none;
    display: flex;
    justify-content: center;
    flex-direction: column;
    gap: 8px;
}

@media (max-width: 768px) {
    .hero-footer {
        top: -32px
    }

    .hero-footer .grid-container {
        gap: 8px;
        padding: 0 16px;
    }

    .hero-footer .footer-item {
        padding: 8px;
        gap: 4px;
    }
}

.footer-item .footer-item-title {
    font-size: 16px;
}

.footer-item .footer-item-desc {
    font-size: 14px;
    color: var(--text-color-secondary);
}

/* Features */
.section {
    padding: 6rem 0;
    overflow: hidden;
}

.section-inner {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    padding: 0 24px;
}

/* Features Grid */
.section-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    grid-column: 1 / -1;
    text-align: center;
    padding-bottom: 32px;
}

.section-header h2 {
    color: #007BFF;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-subtitle {
    color: var(--text-color);
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
    opacity: 0.8;
}

.section-header.left {
    text-align: left;
}

.section-header.left h2 {
    color: var(--text-color);
    font-size: 2.5rem;
}

.section-header.left .section-subtitle {
    max-width: initial;
    text-align: left;
    font-size: 16px;
}

@media (max-width: 768px) {
    .section-header.left h2 {
        font-size: 24px;
    }

    .section-header.left .section-subtitle {
        font-size: 14px;
    }
}

@media (max-width: 1024px) {
    .hero .hero-title {
        font-size: 2.5rem;
    }

    .section-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .header-nav {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
        flex-direction: column;
        align-items: stretch;
        z-index: 999;
    }

    .hero .hero-title {
        font-size: 2rem;
    }

    .section {
        padding: 4rem 0;
    }

    .section-grid {
        grid-template-columns: 1fr;
    }
}

.feature {
    padding: 2rem;
    border-radius: 10px;
    border: 1px solid var(--border-color);
    position: relative;
    cursor: pointer; /* 鼠标变为小手 */
    background: var(--card-bg);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    transform: translateY(0);
}

.feature:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 30px rgba(0, 0, 0, 0.1);
}

/* 浮动装饰点 */
.feature::before,
.feature::after {
    content: '';
    position: absolute;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #007BFF;
    opacity: 0.2; /* 降低基础透明度 */
    z-index: -1; /* 移到内容下方 */
}

.feature::after {
    bottom: 20%;
    right: 20%;
    width: 10px;
    height: 10px;
    background: #ff00ff;
    opacity: 0.15; /* 更低的透明度 */
    animation: float 8s infinite ease-in-out 1s;
}

@keyframes float {
    0% {
        transform: translateY(0px);
        opacity: 0.3;
    }
    50% {
        transform: translateY(-15px) scale(1.2);
        opacity: 0.8;
    }
    100% {
        transform: translateY(0px);
        opacity: 0.3;
    }
}

/* 新增特性列表样式 */
.feature-list {
    margin-top: 1rem;
    padding-left: 1.2rem;
    font-size: 0.95rem;
    color: var(--text-color-secondary);
}

.feature-list li {
    margin-bottom: 0.4rem;
}

/* 悬停时不改变粒子颜色 */
.feature:hover::before,
.feature:hover::after {
    animation-play-state: paused;
}

/* 确保文字层级 */
.feature h3, .feature p {
    position: relative;
    z-index: 2;
}

.feature h3 {
    color: #007BFF; /* 蓝色标题 */
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 21px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.hamburger span {
    width: 100%;
    height: 3px;
    background: #007BFF;
    border-radius: 2px;
}

.hamburger.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

@media (max-width: 768px) {
    .header-container {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        height: 60px;
    }

    .hamburger {
        display: inline-flex;
    }

    .header-nav {
        position: fixed;
        top: -20px;
        left: 0;
        width: 100%;
        /*backdrop-filter: blur(10px);*/
        transform: translateY(-100%);
        /*box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);*/
        z-index: 1000;
    }

    .header-nav.active {
        transform: translateY(0);
        top: 60px;
        background: var(--bg-color);
        padding: 0 16px;
    }

    .header-nav a {
        display: block;
        padding: 0 1rem;
        border-bottom: 1px solid var(--border-color);
        text-align: left;
        margin: 0;
        font-size: 1rem;
    }

    .header-nav a:last-child {
        border-bottom: none;
    }

    .feature {
        padding: 1.5rem;
    }

    .section-header {
        padding: 1.5rem 0;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .section-subtitle {
        font-size: 1rem;
    }
}

/* 升级版回到顶部按钮样式 */
#back-to-top {
    position: fixed;
    bottom: 50px;
    right: 30px;
    display: none;
    width: 48px;
    height: 48px;
    background: var(--bg-color);
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    border-radius: 50%;
    cursor: pointer;
    z-index: 100;
    animation: float 2s ease-in-out infinite;
    justify-content: center;
    align-items: center;
}

#back-to-top:hover {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

#back-to-top:active {
    transform: scale(0.95) rotate(-2deg);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);
}

/* 添加浮动动画 */
@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-5px);
    }
}

/* SVG图标样式 */
#back-to-top svg {
    color: var(--text-color);
    width: 30px;
    height: 30px;
    fill: currentColor;
}

/* 文字流动效果 */
.hero .hero-title {
    background: linear-gradient(90deg, #007BFF, #66b2ff, #007BFF);
    background-size: 200% auto;
    -webkit-background-clip: text;
    animation: textShine 3s linear infinite;
}

@keyframes textShine {
    0% {
        background-position: 0 center;
    }
    100% {
        background-position: 200% center;
    }
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
    100% {
        transform: translateY(0px);
    }
}

/* 点击涟漪效果 */
.ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(0, 123, 255, 0.3);
    transform: scale(0);
    animation: ripple 0.6s ease-out;
    pointer-events: none;
}

@keyframes ripple {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* 鼠标粒子跟随 */
.cursor-particle {
    position: absolute;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #007BFF;
    pointer-events: none;
    opacity: 0.3;
    animation: cursorTrail 1s forwards;
}

@keyframes cursorTrail {
    0% {
        transform: translate(0, 0) scale(1);
        opacity: 0.3;
    }
    100% {
        transform: translate(20px, -20px) scale(0);
        opacity: 0;
    }
}

/* 客户案例样式 */

.case-card {
    background: var(--card-bg);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    width: 500px;
    cursor: pointer; /* 添加悬浮小手 */
}

.case-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 30px rgba(0, 0, 0, 0.1);
}

.case-image {
    height: 200px;
    overflow: hidden;
}

.case-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.case-card:hover .case-image img {
    transform: scale(1.1);
}

.case-content {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.case-content h4 {
    color: #007BFF;
    margin-bottom: 0.5rem;
}

.case-client {
    color: var(--text-color);
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.case-result {
    color: var(--text-color);
    margin-bottom: 1rem;
    flex-grow: 1;
}

.case-link {
    color: #007BFF;
    text-decoration: none;
    font-weight: 500;
    align-self: flex-start;
}

.case-link:hover {
    color: #0056b3;
}

@media (max-width: 768px) {
    .case-content {
        padding: 1rem;
    }

    .case-result {
        margin-bottom: 0.8rem;
    }
}

/* 案例区域最大宽度限制 */
.cases-carousel-container {
    width: 1200px;
    position: relative;
    margin: 2rem auto 0;
}

/* 重构轮播样式 */
.cases-carousel {
    display: flex;
    gap: 2rem;
    min-width: 100%;
    /* 使用三倍克隆确保完全覆盖 */
    animation: scroll 25s linear infinite;
    animation-play-state: running; /* 默认运行 */
}

/* 精确控制动画关键帧 */
@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-100%);
    }
}

/* 移动端触摸交互优化 */
@media (hover: none) {
    .cases-carousel {
        animation: scroll 25s linear infinite;
    }
}

.cases-carousel-container:hover .cases-carousel {
    animation-play-state: paused; /* 悬停时暂停 */
}

/* 在线客服悬浮卡片样式 */
#online-service {
    position: fixed;
    right: 30px;
    bottom: 25vh;
    z-index: 999;
    width: 220px;
    background: var(--card-bg);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border-radius: 12px;
    overflow: hidden;
}

#online-service.folded {
    width: 48px;
    height: 48px;
    border-radius: 50%;
}

/* 保留基本悬停效果 */
.service-trigger:hover::after {
    opacity: 1;
}

.service-content {
    padding: 16px;
    position: relative;
}

.service-content h4 {
    margin: 0 0 8px;
    color: #1a73e8;
}

.service-content p {
    margin: 0 0 16px;
    font-size: 14px;
    color: var(--text-color-secondary);
}

.service-content .close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    color: var(--text-color);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

[data-theme="light"] .service-content .close-btn {
    background: rgba(0, 0, 0, 0.1);
}

[data-theme="dark"] .service-content .close-btn {
    background: rgba(255, 255, 255, 0.1)
}

/* 优化图标与光效的尺寸匹配 */
.service-trigger {
    position: absolute;
    left: -44px;
    top: 0;
    width: 44px;
    height: 44px;
    background: #1a73e8;
    color: #fff;
    display: none;
    align-items: center;
    justify-content: center;
    border-radius: 8px 0 0 8px;
    font-size: 20px;
    cursor: pointer;
    box-shadow: -4px 0 6px rgba(0, 0, 0, 0.1);
    overflow: visible; /* 确保光效可见 */
}

/* 优化对话气泡图标光效 */
.service-trigger::after {
    inset: -5px;
    border-radius: 50%;
    box-shadow: 0 0 12px rgba(26, 115, 232, 0.8);
    animation: pulse 2s infinite;
}

/* 微交互增强 */
.service-trigger:hover svg circle[opacity] {
    opacity: 0.9;
    transform: scale(1.2);
    animation: bounce 0.6s ease-out;
}

@keyframes bounce {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.3);
    }
    100% {
        transform: scale(1);
    }
}

/* 悬停放大效果 */
.service-trigger:hover svg {
    transform: scale(1.2);
    filter: brightness(1.2);
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 10px rgba(26, 115, 232, 0.7);
    }
    50% {
        box-shadow: 0 0 14px rgba(26, 115, 232, 0.9);
    }
    100% {
        box-shadow: 0 0 10px rgba(26, 115, 232, 0.7);
    }
}

/* 折叠状态样式 */
#online-service.folded {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    overflow: visible;
}

#online-service.folded .service-content {
    display: none;
}

#online-service.folded > .service-trigger {
    display: flex;
    left: 0;
    top: 0;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    font-size: 24px;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.2);
}

/* 对header进行响应式 限制最大宽度 */
@media (min-width: 1440px) {
    .header-container-inner {
        max-width: 1440px;
    }
}

/* 横幅广告样式 */
.banner-ad {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(90deg, #007bff, #00b3b3);
    color: white;
    padding: 1rem 2rem;
    font-size: 0.95rem;
    z-index: 999;
    position: relative;
    height: 45px;
}

.ad-content {
    display: flex;
    align-items: center;
    gap: 12px;
    width: auto;
    margin: 0 auto;
    color: #fff;
}

.ad-text {
    font-weight: 600;
}

.ad-link {
    background: white;
    color: #007bff;
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.8rem;
}

.ad-link:hover {
    background: #f1f3f5;
    color: #0056b3;
}

.ad-close {
    background: rgba(255, 255, 255, 0.15);
    border: none;
    color: white;
    cursor: pointer;
    opacity: 0.8;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
}

.ad-close svg {
    width: 16px;
    height: 16px;
}

.ad-close:hover {
    opacity: 1;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .banner-ad {
        padding: 0.8rem 1rem;
    }
}

@keyframes slideIn {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes slideOut {
    from {
        transform: translateY(0);
        opacity: 1;
        display: flex;
    }
    to {
        transform: translateY(-100%);
        opacity: 0;
        display: none;
    }
}

.join-banner {
    background-image: url(./assets/images/footer-banner.png);
    background-size: 100% 100%;
    background-blend-mode: overlay;
    color: #fff;
    padding: 24px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.join-banner h2 {
    margin-bottom: 1rem;
    font-size: 2.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.join-banner p {
    font-size: 1.5rem;
    max-width: 600px;
    margin: 0 auto 1.5rem;
    line-height: 1.6;
}

@media (max-width: 992px) {
    .join-banner h2 {
        font-size: 1.8rem;
    }

    .join-banner p {
        font-size: 1.2rem;
        margin: 0 auto 1.8rem;
    }

    .join-banner button {
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
    .join-banner h2 {
        font-size: 1.5rem;
    }

    .join-banner p {
        font-size: 1.1rem;
        margin: 0 auto 1.5rem;
    }

    .join-banner button {
        font-size: 0.9rem;
        padding: 0.6rem 1.5rem;
    }
}

@media (max-width: 400px) {
    .join-banner h2 {
        font-size: 1.2rem;
    }

    .join-banner p {
        font-size: 1rem;
        margin: 0 auto 1.5rem;
    }

    .join-banner button {
        font-size: 0.8rem;
        padding: 0.6rem 1rem;
    }
}

/* 现代风格底部栏样式 */
.modern-footer {
    background: var(--footer-bg);
    color: #ffffff;
    padding: 36px 24px 24px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.brand-section {
    grid-column: span 1;
}

.footer-logo {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.footer-logo img {
    height: 40px;
    margin-right: 1rem;
}

.footer-description {
    color: #cccccc;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

@media (max-width: 768px) {
    .brand-section {
        text-align: center;
    }

    .footer-logo img {
        margin: 0 auto;
    }
}

.links-section,
.support-section {
    grid-column: span 1;
}

.footer-title {
    color: #fff;
    font-size: 1.2rem;
    margin-bottom: 1.2rem;
    position: relative;
    padding-left: 1.2rem;
}

.footer-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 20px;
    background: #fff;
    border-radius: 2px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin: 0.6rem 0;
}

.footer-links a {
    color: #fff;
    font-weight: 500;
    opacity: 0.7;
}

.footer-links a:hover {
    opacity: 1;
}

.contact-info {
    margin-top: 1rem;
}

.contact-item {
    display: flex;
    align-items: center;
    margin: 1.2rem 0;
    transition: transform 0.2s ease;
}

.contact-item:hover {
    transform: translateX(5px);
}

.contact-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    flex-shrink: 0;
}

.contact-icon svg {
    width: 20px;
    height: 20px;
    fill: #fff;
}

.contact-item span {
    color: #cccccc;
    line-height: 1.4;
}

.footer-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 16px;
    border-top: 1px solid var(--footer-border-color);
}

.footer-bottom .copyright {
    text-align: center;
}

.footer-bottom .copyright .company {
    display: inline-block;
}

.footer-bottom .copyright .desc {
    display: inline-block;
}

@media (max-width: 768px) {
    .footer-bottom .copyright .desc {
        display: block;
        text-align: center;
    }
}

.footer-legal {
    display: flex;
    gap: 1.5rem;
    margin-top: 0.5rem;
}

.footer-legal a {
    color: #888888;
    text-decoration: none;
}

.footer-legal a:hover {
    color: #fff;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .brand-section {
        grid-column: span 4; /* 联系信息保持满屏宽度 */
    }

    .links-section,
    .support-section {
        /*    一行两列*/
        grid-column: span 2;
    }

    .contact-section {
        grid-column: span 4; /* 联系信息保持满屏宽度 */
    }

    .social-icons {
        justify-content: center;
    }

    .footer-legal {
        flex-direction: column;
        gap: 0.8rem;
    }
}

@media (max-width: 480px) {
    .footer-logo h3 {
        font-size: 1.2rem;
    }

    .footer-description {
        font-size: 0.95rem;
    }
}


/* 解决方案容器 */
.solution-container {
    display: flex;
    gap: 12px;
    position: relative;
    z-index: 1;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    overflow: hidden;
    background-color: var(--card-bg);
    color: var(--text-color);
}


/* 左侧导航 */
.solution-nav {
    width: 20%;
    padding: 1rem;
}

.solution-nav ul {
    list-style: none;
    padding: 0;
}

.solution-nav li {
    margin-bottom: 12px;
}

.solution-nav li:last-child {
    margin-bottom: 0;
}

.solution-nav a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: bold;
    padding: 0.5rem;
    display: flex;
    align-items: center;
    gap: 6px;
    border-radius: 4px;
}

.solution-nav a:hover {
    background-color: var(--primary-color);
    color: #fff;
}

/* 导航图标样式 */
.nav-icon {
    width: 24px;
    height: 24px;
    fill: currentColor; /* 使用当前颜色 */
}

@media (max-width: 768px) {
    .nav-icon {
        width: 18px;
        height: 18px;
        margin-right: 6px;
    }
}

@media (max-width: 768px) {
    .solution-nav {
        width: 100%;
        display: flex;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch; /* iOS 动态滚动 */
        scroll-behavior: smooth;
        white-space: nowrap;
    }

    .solution-nav::-webkit-scrollbar {
        display: none; /* 隐藏滚动条 */
    }

    .solution-nav ul {
        display: inline-block;
        list-style: none;
        padding: 0;
    }

    .solution-nav li {
        display: inline-block;
        margin-right: 0.5rem;
        margin-bottom: 0;
    }
}

/* 右侧内容 */
.solution-content {
    width: 100%;
    padding: 24px;
}

.solution-content h2 {
    margin-bottom: 16px;
}

.solution-content p {
    margin-bottom: 24px;
}

.solution-items {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-top: 1rem;
}

.solution-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem;
    border: 1px solid var(--border-color);
    border-radius: 4px;
}

.icon {
    font-size: 1.2rem;
    color: #007bff;
}

.solution-buttons {
    margin-top: 32px;
    display: flex;
    align-items: center;
    gap: 16px;
}

.btn-primary,
.btn-secondary {
    padding: 6px 12px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
}

.btn-primary {
    background-color: #007bff;
    color: white;
}

.btn-secondary {
    background-color: #e0e0e0;
    color: #333;
}

.btn-primary:hover {
    background-color: #0056b3;
}

.btn-secondary:hover {
    background-color: #d0d0d0;
}

/* 行业案例 */
.solution-case {
    width: 20%;
    padding: 1rem;
}

.solution-case h3 {
    margin-bottom: 12px;
}

.case-logos img {
    max-width: 100%;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .solution-container {
        flex-direction: column;
        gap: 0;
    }

    .solution-nav,
    .solution-case {
        width: 100%;
    }

    .solution-content {
        width: 100%;
    }

    .solution-items {
        grid-template-columns: repeat(2, 1fr);
    }

    .solution-content p {
        font-size: 14px;
    }
}

#solutions {
    background-image: url("./assets/images/section-bg.svg");
    background-repeat: no-repeat;
    padding: 6rem 0 8rem;
    position: relative;
    overflow: hidden;
}

@media (max-width: 768px) {
    #solutions {
        padding: 1rem 0 4rem;
    }
}