/* 修改根变量的配色方案 */
:root {
    --primary-color: #2C7BE5; /* 更改为商务蓝 */
    --primary-light: #5698EA;
    --primary-dark: #1B5BB5;
    --primary-gradient: linear-gradient(rgba(44, 123, 229, 0.95), rgba(27, 91, 181, 0.95));
    --bg-light: #F8FAFD; /* 添加浅色背景 */
    --bg-white: #FFFFFF;
    --text-primary: #2E3B52; /* 深色文字 */
    --text-secondary: #6B7A99; /* 次要文字颜色 */
}

/* 修改整体背景色 */
body {
    background-color: var(--bg-light);
    color: var(--text-primary);
}

/* 修改导航栏样式 */
nav {
    background-color: var(--bg-white);
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

/* 修改特性卡片样式 */
.feature-card {
    background: var(--bg-white);
    box-shadow: 0 4px 16px rgba(0,0,0,0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(44, 123, 229, 0.12);
}

/* 修改视频区域样式 */
.video-dubbing {
    background: var(--bg-white);
    padding: 60px 0;
}

/* 修改按钮样式 */
.use-now-btn {
    background: var(--primary-color);
    box-shadow: 0 4px 12px rgba(44, 123, 229, 0.2);
}

.use-now-btn:hover {
    background: var(--primary-dark);
    box-shadow: 0 6px 16px rgba(44, 123, 229, 0.3);
}

/* 修改标签样式 */
.feature-tag {
    background: rgba(44, 123, 229, 0.08);
    color: var(--primary-color);
}

/* 修改页脚样式 */
footer {
    background: #1A2234; /* 更深色的页脚背景 */
}

/* 修改波浪效果 */
.wave1 {
    fill: rgba(255, 255, 255, 0.12);
    animation: moveLeftToRight 45s linear infinite;
}

.wave2 {
    fill: rgba(255, 255, 255, 0.08);
    animation: moveRightToLeft 40s linear infinite;
}

.wave3 {
    fill: rgba(255, 255, 255, 0.05);
    animation: moveRightToLeftNew 35s linear infinite;
}

/* 修改视频卡片样式 */
.video-card {
    background: var(--bg-white);
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.video-card:hover {
    box-shadow: 0 8px 24px rgba(44, 123, 229, 0.15);
}

/* 修改分类标题样式 */
.category-title::after {
    background-color: var(--primary-color);
}

/* 修改导航链接悬停效果 */
.nav-links a:hover {
    color: var(--primary-color);
}

.nav-links a::after {
    background: var(--primary-color);
}

nav {
  display: flex;
  align-items: center;
  padding: 12px 24px;
  background-color: #fff;
  position: relative;
}

.logo {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 20px;
  font-weight: bold;
}

.logo-image {
  width: 24px;
  height: 24px;
  object-fit: contain;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
  margin-bottom: 1px;
}

.nav-links {
  display: flex;
  align-items: center;
  margin-left: auto;
  gap: 24px;
} 

.video-dubbing {
  padding: 40px 0;
  background: #f5f5f5;
}

.category-nav {
  display: flex;
  gap: 32px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(0,0,0,0.05);
  margin-bottom: 20px;
}

.category-nav a {
  color: #666;
  text-decoration: none;
  font-size: 15px;
  padding: 6px 12px;
  border-radius: 20px;
  transition: all 0.3s ease;
}

.category-nav a:hover {
  color: #333;
}

.category-nav a.active {
  color: #ff6b6b;
  font-weight: 500;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding: 20px 0;
}

.video-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  transition: transform 0.2s ease;
}

.video-card:hover {
  transform: translateY(-4px);
}

.video-thumbnail {
  position: relative;
  aspect-ratio: 16/9;
}

.video-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.play-icon {
  position: absolute;
  right: 10px;
  bottom: 10px;
  width: 24px;
  height: 24px;
  background: rgba(0,0,0,0.5);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
}

.video-info {
  padding: 12px;
}

.video-info h3 {
  margin: 0;
  font-size: 16px;
  color: #333;
}

.video-info p {
  margin: 4px 0 0;
  font-size: 14px;
  color: #666;
}

.video-author {
  padding: 0 12px 12px;
  font-size: 12px;
  color: #999;
} 

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

@media (max-width: 1200px) {
  .video-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 900px) {
  .video-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .video-grid {
    grid-template-columns: 1fr;
  }
} 

.category-item {
  position: relative;
  display: inline-block;
}

.category-content {
  display: none;
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  background: #fff;
  padding: 20px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  z-index: 10;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.category-item:hover .category-content {
  display: block;
  opacity: 1;
}

.category-item:hover a::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-bottom: 8px solid #fff;
}

.category-item:hover a {
  color: #C850C0;
  background: rgba(200,80,192,0.1);
}

/* 视频详情页样式 */
.video-detail {
    padding: 40px 0;
}

.video-player {
    width: 100%;
    background: #000;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 24px;
}

.video-player video {
    width: 100%;
    aspect-ratio: 16/9;
    display: block;
}

.video-info-detail {
    padding: 16px;
    padding-bottom: 40px;
    background: white;
    border-radius: 12px;
    margin-bottom: 24px;
}

.video-title {
    font-size: 24px;
    margin: 0 0 16px;
    color: #333;
}

.video-meta {
    display: flex;
    gap: 24px;
    color: #666;
    font-size: 14px;
    margin-bottom: 20px;
}

.video-description {
    position: relative;
    padding: 0;
    margin-top: 8px;
    border-bottom: 1px solid #eee;
    padding-bottom: 20px;
}

.param-title {
    font-size: 17px;
    color: #333;
    margin: 0;
    padding: 0;
    position: relative;
    z-index: 2;
    background: #fff;
    display: inline-block;
    font-weight: 500;
}

/* 添加加粗下划线 */
.param-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: #333;
}

/* 修改分割线样式 */
.param-divider {
    height: 1px;
    background: linear-gradient(
        to right,
        #333 0%,      /* 左边开始用深色（粗线） */
        #333 80px,    /* 粗线延伸 80px */
        #eee 80px,    /* 从这里开始变细 */
        #eee 100%     /* 右边用浅色（细线） */
    );
    position: absolute;
    top: 12px;
    left: 0;
    right: 0;
}

/* 移除之前的伪元素 */
.param-divider::after {
    display: none;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .param-divider {
        background: linear-gradient(
            to right,
            #333 0%,
            #333 70px,    /* 移动端稍微短一点 */
            #eee 70px,
            #eee 100%
        );
    }

    .param-title::after {
        height: 2px; /* 保持移动端下划线粗细 */
    }
}

.video-description p {
    color: #666;
    line-height: 1.6;
    margin-top: 20px;
    margin-bottom: 20px;
}

.related-videos {
    margin-top: 40px;
}

.related-videos h2 {
    font-size: 20px;
    margin: 0 0 20px;
    color: #333;
}

.video-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.video-link:hover {
    text-decoration: none;
}

/* 确保卡片悬停效果仍然生效 */
.video-card:hover {
    transform: translateY(-4px);
}

/* 添加弹窗相关样式 */
.video-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85); /* 更深的背景色 */
    z-index: 1000;
    overflow-y: auto;
    padding: 40px 20px;
    backdrop-filter: blur(5px); /* 添加背景模糊效果 */
}

.modal-content {
    position: relative;
    background-color: #fff;
    margin: 20px auto;
    width: 60%;
    max-width: 600px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    transform: translateY(20px);
    opacity: 0;
    animation: modalFadeIn 0.3s ease forwards;
}

@keyframes modalFadeIn {
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.close-modal {
    position: absolute;
    right: 20px;
    top: -45px;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: #fff;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 1001; /* 确保关闭按钮在最上层 */
}

.close-modal::before {
    content: '×';
    line-height: 1;
}

.close-modal:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1) rotate(90deg);
}

.video-player {
    width: 100%;
    background: #000;
    border-radius: 12px 12px 0 0;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.video-player video {
    width: 100%;
    aspect-ratio: 16/9;
    display: block;
    background: #000;
}

.video-info-detail {
    padding: 20px;
    background: #fff;
}

.video-description {
    position: relative;
    padding: 0;
    margin-top: 8px;
    border-bottom: 1px solid #eee;
    padding-bottom: 20px;
}

.param-title {
    font-size: 17px;
    color: #333;
    margin: 0;
    padding: 0;
    position: relative;
    z-index: 2;
    background: #fff;
    display: inline-block;
    font-weight: 500;
}

.param-divider {
    height: 1px;
    background: #eee;
    position: absolute;
    top: 24px;
    left: 0;
    right: 0;
}

.video-description p {
    color: #666;
    line-height: 1.4;
    margin: 24px 0 0;
    font-size: 14px;
    padding: 0;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .close-modal {
        top: -40px;
        right: 10px;
        width: 32px;
        height: 32px;
        font-size: 24px;
    }

    .video-info-detail {
        padding: 16px;
    }

    .video-description p {
        margin: 14px 0;
    }

    .video-description {
        padding-bottom: 16px;
    }
}

/* 当模态框打开时的动画效果 */
body.modal-open .modal-content {
    animation: modalFadeIn 0.3s ease forwards;
}

/* 修改视频链接样式 */
.video-link {
    cursor: pointer;
}

/* 当模态框打开时禁止body滚动 */
body.modal-open {
    overflow: hidden;
}

/* 页脚样式 */
footer {
    background: #1a1a1a;
    color: #999;
    padding: 40px 0 20px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 6fr 4fr 2fr;
    gap: 30px;
}

.footer-links-group {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.footer-section h4 {
    color: #fff;
    font-size: 16px;
    margin: 0 0 24px;
    font-weight: normal;
}

.footer-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-section ul li {
    margin-bottom: 12px;
}

.footer-section ul li a {
    color: #999;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.footer-section ul li a:hover {
    color: #fff;
}

.footer-section.qrcode {
    text-align: right;
    padding: 10px;
    margin-left: auto;
    width: 100%;
}

.qrcode-container {
    display: flex;
    justify-content: flex-end;
    gap: 40px;
    width: 100%;
}

.qrcode-item {
    text-align: center;
}

.qrcode-item img {
    width: 140px;
    height: 140px;
    background: #fff;
    padding: 8px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.qrcode-text {
    margin-top: 8px;
    font-size: 14px;
    color: #fff;
}

.footer-section .address,
.footer-section .phone {
    font-size: 14px;
    line-height: 1.8;
    margin: 0 0 12px;
    max-width: 100%;
    padding-right: 20px;
    color: #999;
    word-wrap: break-word;
}

.footer-bottom {
    max-width: 1200px;
    margin: 30px auto 0;
    padding: 20px 20px 0;
    border-top: 1px solid rgba(255,255,255,0.1);
    text-align: center;
}

.footer-bottom p {
    margin: 0;
    font-size: 12px;
    color: #666;
}

/* 响应式调整 */
@media (max-width: 1200px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
    
    .footer-links-group {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .footer-links-group {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* 添加分类头部样式 */
.category-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 8px;
    border-bottom: 1px solid #e0e0e0;
}

.category-title {
    display: flex;
    align-items: baseline;
    gap: 12px;
    position: relative;
    padding-bottom: 8px;
}

.category-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 120px;
    height: 3px;
    background-color: #4CAF50;
}

.category-title h2 {
    font-size: 24px;
    color: #333;
    margin: 0;
    font-weight: 500;
}

.subtitle {
    color: #666;
    font-size: 14px;
    margin: 0;
    font-weight: normal;
}

.more-link {
    color: #999;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.more-link:hover {
    color: #666;
}

/* 调整第一个 footer-section 的样式 */
.footer-section:first-child {
    padding-right: 40px;
    width: 100%;
    max-width: 100%;
}

/* 可以为地址添加特殊样式 */
.footer-section .address {
    white-space: normal;
    word-break: break-all;
}

.wave-bg {
    width: 100%;
    height: 100%;
    position: absolute;
    bottom: -1px;
    left: 0;
    overflow: hidden;
}

.wave-bg svg {
    width: 200%;
    height: 100%;
    position: absolute;
    bottom: 0;
    left: 0;
}

.wave1 {
    fill: rgba(255, 255, 255, 0.2);
    animation: moveLeftToRight 45s linear infinite;
}

.wave2 {
    fill: rgba(255, 255, 255, 0.1);
    animation: moveRightToLeft 40s linear infinite;
}

.wave3 {
    fill: rgba(255, 255, 255, 0.05);
    animation: moveRightToLeftNew 35s linear infinite;
}

@keyframes moveLeftToRight {
    0% {
        transform: translateX(-50%);
    }
    100% {
        transform: translateX(0%);
    }
}

@keyframes moveRightToLeft {
    0% {
        transform: translateX(0%);
    }
    100% {
        transform: translateX(-50%);
    }
}

@keyframes moveRightToLeftNew {
    0% {
        transform: translateX(0%);
    }
    100% {
        transform: translateX(-50%);
    }
}

.hero {
    position: relative;
    min-height: 500px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: var(--primary-gradient),
                url('https://images.unsplash.com/photo-1557264337-e8a93017fe92?q=80&w=2070') center/cover;
    overflow: hidden;
    padding: 60px 20px;
}

.hero-bg {
    width: 100%;
    height: 150px;
    position: absolute;
    bottom: 0;
    left: 0;
    overflow: hidden;
}

.wave-bg {
    width: 100%;
    height: 100%;
    position: absolute;
    bottom: 0;
    left: 0;
}

.wave-bg svg {
    width: 200%;
    height: 100%;
    position: absolute;
    bottom: 0;
    left: 0;
}

.hero h1 {
    color: #fff;
    font-size: 48px;
    font-weight: 500;
    margin: 0 0 20px;
    text-align: center;
    letter-spacing: 2px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
    animation: fadeInUp 1s ease forwards;
    opacity: 0;
    transform-origin: center;
    cursor: pointer;
}

.hero p {
    color: #fff;
    font-size: 24px;
    margin: 0;
    text-align: center;
    max-width: 800px;
    line-height: 1.5;
    letter-spacing: 1px;
    text-shadow: 0 1px 2px rgba(0,0,0,0.1);
    animation: fadeInUp 1s ease forwards 0.3s;
    opacity: 0;
    transform-origin: center;
    cursor: pointer;
}

.wave1 {
    fill: rgba(255, 255, 255, 0.12);
    animation: moveLeftToRight 45s linear infinite;
}

.wave2 {
    fill: rgba(255, 255, 255, 0.08);
    animation: moveRightToLeft 40s linear infinite;
}

.wave3 {
    fill: rgba(255, 255, 255, 0.05);
    animation: moveRightToLeftNew 35s linear infinite;
}

.menu-toggle {
    display: none; /* 默认隐藏菜单按钮 */
    font-size: 24px;
    cursor: pointer;
}

/* 移动端响应式样式 */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        background: var(--bg-white);
        padding: 20px;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        z-index: 1000;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        width: 100%;
        text-align: center;
        padding: 10px 0;
    }

    .nav-links a {
        display: block;
        padding: 12px 16px;
        width: 100%;
        text-align: center;
        border-radius: 8px;
        transition: all 0.3s ease;
        color: var(--text-primary);
    }

    .nav-links a:hover {
        background: var(--primary-light);
        color: white;
        transform: translateY(-2px);
        box-shadow: 0 4px 8px rgba(44, 123, 229, 0.2);
    }

    .nav-links a:active {
        transform: translateY(0);
        box-shadow: none;
    }

    /* 移除旧的悬停效果 */
    .nav-links a::after {
        display: none;
    }
}

.nav-links a {
    color: #333;
    text-decoration: none;
    font-size: 16px;
    padding: 8px 16px;
    border-radius: 4px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: #FF5733;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-links a:hover {
    color: #FF5733;
}

.nav-links a:hover::after {
    width: 80%;
}

/* 保持移动端样式 */
@media (max-width: 768px) {
    .nav-links a {
        padding: 12px 16px;
        width: 100%;
        text-align: center;
    }

    .nav-links a::after {
        display: none;
    }

    .nav-links a:hover {
        background: rgba(255, 87, 51, 0.1);
    }
}

/* 修改导航栏悬停效果 */
.nav-links a::after {
    background: var(--primary-color);
}

.nav-links a:hover {
    color: var(--primary-color);
}

@media (max-width: 768px) {
    .nav-links a:hover {
        background: rgba(76, 175, 80, 0.1);
    }
}

/* 修改 hero 区域背景 */
.hero {
    background: var(--primary-gradient),
                url('https://images.unsplash.com/photo-1557264337-e8a93017fe92?q=80&w=2070') center/cover;
}

/* 修改分类标题下划线颜色 */
.category-title::after {
    background-color: var(--primary-color);
}

/* 修改视频卡片悬停效果 */
.video-card:hover {
    box-shadow: 0 6px 16px rgba(76, 175, 80, 0.15);
}

/* 修改分类导航激活状态 */
.category-nav a.active {
    color: var(--primary-color);
}

/* 修改按钮颜色 */
.feature-card button {
    background: var(--primary-color);
    border: none;
    color: white;
    transition: background-color 0.3s ease;
}

.feature-card button:hover {
    background: var(--primary-dark);
}

/* 修改波浪颜色，使其更适合绿色主题 */
.wave1 {
    fill: rgba(255, 255, 255, 0.15);
}

.wave2 {
    fill: rgba(255, 255, 255, 0.1);
}

/* 响应式调整 */
@media (max-width: 768px) {
    .qrcode-container {
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }
}

.features {
    padding: 40px 20px;
    display: flex;
    justify-content: center;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    background: white;
    padding: 24px;
    border-radius: 16px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    width: calc(33.33% - 20px);
}

.feature-card-content {
    width: 100%;
}

.feature-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    width: 80%;
    margin-left: auto;
    margin-right: auto;
}

.feature-icon {
    flex-shrink: 0;
    margin-bottom: 0;
    display: flex;
    align-items: center;
}

.feature-icon img {
    width: 56px;
    height: 56px;
    border-radius: 14px;
}

.feature-title {
    flex: 1;
    padding-top: 0;
}

.feature-title h3 {
    font-size: 20px;
    color: #333;
    margin: 0 0 4px;
    font-weight: 500;
    line-height: 1.2;
}

.feature-title p {
    font-size: 14px;
    color: #999;
    margin: 0;
    line-height: 1.4;
}

.feature-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.feature-tag {
    padding: 4px 12px;
    border-radius: 20px;
    background: #F5F5F5;
    color: #666;
    font-size: 12px;
}

.use-now-btn {
    width: 100%;
    padding: 12px 0;
    border-radius: 24px;
    border: none;
    background: #00B2FF;
    color: white;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.3s ease;
}

/* 为每个卡片设置不同的主题色 */
.feature-card:nth-child(1) .use-now-btn {
    background: #00B2FF;
}

.feature-card:nth-child(2) .use-now-btn {
    background: #00D6A3;
}

.feature-card:nth-child(3) .use-now-btn {
    background: #00B2FF;
}

.use-now-btn:hover {
    opacity: 0.9;
}

/* 响应式调整 */
@media (max-width: 1024px) {
    .features {
        flex-wrap: wrap;
    }
    
    .feature-card {
        width: calc(50% - 15px);
    }
}

@media (max-width: 768px) {
    .feature-card {
        width: 100%;
    }
}

/* 二维码弹窗样式优化 */
.qr-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    cursor: pointer; /* 添加指针样式 */
}

.qr-modal.show {
    display: flex !important;
    justify-content: center;
    align-items: center;
}

.qr-modal-content {
    background: white;
    padding: 30px;
    border-radius: 16px;
    position: relative;
    width: 90%;
    max-width: 320px;
    text-align: center;
    cursor: default; /* 内容区域恢复默认指针 */
}

.close-qr-modal {
    position: absolute;
    right: 15px;
    top: 10px;
    font-size: 24px;
    cursor: pointer;
    color: #999;
}

.close-qr-modal:hover {
    color: #666;
}

.qr-modal-body {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.qr-modal-body img {
    width: 200px;
    height: 200px;
    border-radius: 8px;
}

.qr-modal-body p {
    margin: 0;
    color: #666;
    font-size: 16px;
}

/* 当弹窗打开时禁止body滚动 */
body.modal-open {
    overflow: hidden;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .feature-card-content {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .feature-header {
        width: 80%;
        margin-left: auto;
        margin-right: auto;
        justify-content: center;
    }

    .feature-tags {
        justify-content: center;
        width: 100%;
    }

    .feature-title {
        text-align: center;
    }

    .feature-title h3 {
        text-align: center;
    }

    .feature-title p {
        text-align: center;
    }

    .use-now-btn {
        width: 80%;
        margin: 0 auto;
    }
}

/* 更小屏幕的适配 */
@media (max-width: 480px) {
    .feature-header {
        width: 90%;
    }

    .use-now-btn {
        width: 90%;
    }
}

/* 移动端导航栏样式 */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
        padding: 8px;
        transition: all 0.3s ease;
    }

    .menu-toggle:hover {
        color: var(--primary-color);
        transform: scale(1.1);
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        background: var(--bg-white);
        padding: 12px;
        box-shadow: 0 4px 12px rgba(44, 123, 229, 0.15);
        z-index: 1000;
        border-radius: 0 0 12px 12px;
        transform-origin: top;
        transition: all 0.3s ease;
    }

    .nav-links.active {
        display: flex;
        animation: slideDown 0.3s ease forwards;
    }

    @keyframes slideDown {
        from {
            opacity: 0;
            transform: translateY(-10px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .nav-links li {
        width: 100%;
        margin: 4px 0;
    }

    .nav-links a {
        display: block;
        padding: 12px 20px;
        margin: 4px 8px;
        width: calc(100% - 16px);
        text-align: center;
        border-radius: 8px;
        transition: all 0.3s ease;
        color: var(--text-primary);
        background: transparent;
        position: relative;
        overflow: hidden;
    }

    .nav-links a:before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: var(--primary-light);
        opacity: 0;
        transition: opacity 0.3s ease;
        z-index: -1;
    }

    .nav-links a:hover {
        color: white;
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(44, 123, 229, 0.2);
    }

    .nav-links a:hover:before {
        opacity: 1;
    }

    .nav-links a:active {
        transform: translateY(0);
        box-shadow: 0 2px 6px rgba(44, 123, 229, 0.15);
    }

    /* 当前活动项的样式 */
    .nav-links a.active {
        background: var(--primary-color);
        color: white;
    }

    /* 移除旧的悬停效果 */
    .nav-links a::after {
        display: none;
    }
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

/* 添加文字动画 */
.hero h1 {
    color: #fff;
    font-size: 48px;
    font-weight: 500;
    margin: 0 0 20px;
    text-align: center;
    letter-spacing: 2px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
    animation: fadeInUp 1s ease forwards;
    opacity: 0;
    transform-origin: center;
    cursor: pointer;
}

.hero p {
    color: #fff;
    font-size: 24px;
    margin: 0;
    text-align: center;
    max-width: 800px;
    line-height: 1.5;
    letter-spacing: 1px;
    text-shadow: 0 1px 2px rgba(0,0,0,0.1);
    animation: fadeInUp 1s ease forwards 0.3s;
    opacity: 0;
    transform-origin: center;
    cursor: pointer;
}

/* 文字悬停效果 */
.hero h1,
.hero p {
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero h1:hover {
    transform: scale(1.05);
}

.hero p:hover {
    transform: scale(1.02);
}

/* 动画关键帧 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 视频弹窗样式优化 */
.close-modal-btn {
    position: absolute;
    right: 15px;
    top: 15px;
    width: 30px;
    height: 30px;
    background: rgba(0, 0, 0, 0.5);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
}

.close-modal-btn:hover {
    background: rgba(0, 0, 0, 0.7);
    transform: scale(1.1);
}

/* 确保视频弹窗可以点击关闭 */
.video-modal {
    cursor: pointer;
}

.modal-content {
    cursor: default;
}

/* 视频信息区域布局 */
.video-content-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
}

.video-description {
    flex: 1;
    position: relative;
    padding: 0;
    margin-top: 8px;
    border-bottom: 1px solid #eee;
    padding-bottom: 20px;
}

.video-qrcode {
    width: 30%;
    text-align: center;
    padding: 10px;
}

.video-qrcode img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.video-qrcode p {
    margin-top: 8px;
    color: #666;
    font-size: 14px;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .video-content-wrapper {
        flex-direction: column;
    }

    .video-qrcode {
        width: 40%;
        margin: 0 auto;
    }

    .video-description {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .video-qrcode {
        width: 50%;
    }
}
  