/* 统一 CSS 样式文件 - 整合所有页面功能 */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+SC:wght@300;400;500;700&display=swap');

/* 全局变量（包含所有页面用到的变量，新增第七页的灰色系变量） */
:root {
    --primary-color: #0066FF;
    --secondary-color: #00C2FF;
    --accent-color: #0033CC;
    --text-color: #333333;
    --light-bg: #F5F9FF;
    --gray-color: #666666;
    --light-gray: #E5E7EB;
}

/* 基础通用样式（所有页面共享） */
html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Sans SC', sans-serif;
    color: var(--text-color);
    overflow-x: hidden;
}

.gradient-bg {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.card-hover {
    transition: all 0.3s ease;
}

.card-hover:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 30px rgba(0, 102, 255, 0.1);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 102, 255, 0.2);
}

.nav-link {
    position: relative;
    transition: all 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* 页面特有样式 - 第一页（团队、时间线） */
.team-card {
    transition: all 0.3s ease;
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 30px rgba(0, 0, 0, 0.1);
}

.team-card:hover .team-overlay {
    opacity: 1;
}

.team-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 102, 255, 0.1), rgba(0, 102, 255, 0.8));
    opacity: 0;
    transition: all 0.3s ease;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 20px;
}

.timeline-item {
    position: relative;
    padding-left: 30px;
    margin-bottom: 30px;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 2px;
    height: 100%;
    background-color: #E5E7EB;
}

.timeline-item::after {
    content: '';
    position: absolute;
    left: -4px;
    top: 0;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

.timeline-item:last-child::before {
    height: 0;
}

/* 页面特有样式 - 第二页/第五页（新闻、教程卡片 + 分类标签） */
.news-card {
    transition: all 0.3s ease;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 25px rgba(0, 0, 0, 0.1);
}

.news-card:hover img {
    transform: scale(1.05);
}

.news-card img {
    transition: all 0.5s ease;
}

.tutorial-card {
    transition: all 0.3s ease;
}

.tutorial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 25px rgba(0, 0, 0, 0.1);
}

.tutorial-card:hover img {
    transform: scale(1.05);
}

.tutorial-card img {
    transition: all 0.5s ease;
}

.category-tag {
    transition: all 0.3s ease;
}

.category-tag:hover,
.category-tag.active {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
}

/* 页面特有样式 - 第四页/第六页（定价卡片） */
.pricing-card {
    transition: all 0.3s ease;
    border: 1px solid #E0E0E0;
    position: relative;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 30px rgba(0, 102, 255, 0.1);
    border-color: var(--primary-color);
}

.pricing-card.popular {
    border-color: var(--primary-color);
    box-shadow: 0 10px 20px rgba(0, 102, 255, 0.1);
}

/* 第四页的热门卡片额外有缩放效果，第六页没有，保留差异化 */
.pricing-card.popular.page4 {
    transform: scale(1.05);
}

.pricing-card.popular::before {
    content: '推荐';
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 5px 20px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

/* 页面特有样式 - 第四页（价格切换、功能列表） */
.feature-list li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.feature-list li i {
    color: #4CAF50;
    margin-right: 10px;
}

.feature-list li.unavailable i {
    color: #F44336;
}

.feature-list li.unavailable {
    color: #9E9E9E;
    text-decoration: line-through;
}

.billing-toggle {
    position: relative;
    display: inline-block;
    width: 120px;
    height: 34px;
}

.billing-toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
    border-radius: 34px;
}

.toggle-slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

input:checked + .toggle-slider {
    background-color: var(--primary-color);
}

input:checked + .toggle-slider:before {
    transform: translateX(86px);
}

/* 页面特有样式 - 第五页（步骤条） */
.step-item {
    position: relative;
}

.step-item::before {
    content: '';
    position: absolute;
    left: 19px;
    top: 40px;
    height: calc(100% - 20px);
    width: 2px;
    background-color: #E5E7EB;
}

.step-item:last-child::before {
    display: none;
}

.step-number {
    margin-left: auto;
    margin-right: auto;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
    z-index: 1;
    position: relative;
}

/* 页面特有样式 - 第六页（英雄区、场景卡片、功能图标） */
.hero-section {
    min-height: 100vh;
    background: linear-gradient(135deg, #F5F9FF 0%, #E6F0FF 100%);
}

#hero-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.feature-icon {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.scene-card {
    transition: all 0.3s ease;
    overflow: hidden;
}

.scene-card:hover img {
    transform: scale(1.05);
}

.scene-card img {
    transition: all 0.5s ease;
}

/* 页面特有样式 - 第七页（文章详情、面包屑、回到顶部、分享图标） */
.article-content h2 {
    font-size: 1.8rem;
    font-weight: 700;
    margin: 2rem 0 1rem;
    color: var(--primary-color);
}

.article-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 1.5rem 0 0.8rem;
    color: var(--accent-color);
}

.article-content p {
    margin-bottom: 1.2rem;
    line-height: 1.8;
    color: var(--text-color);
}

.article-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: auto;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.article-content ul {
    margin: 1rem 0 1.5rem 1.5rem;
    list-style-type: disc;
}

.article-content li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.article-content code {
    background-color: #F3F4F6;
    padding: 0.2rem 0.4rem;
    border-radius: 4px;
    font-family: 'Consolas', monospace;
    color: #DC2626;
}

.article-content pre {
    background-color: #F3F4F6;
    padding: 1rem;
    border-radius: 8px;
    overflow-x: auto;
    margin: 1.5rem 0;
}

.article-content blockquote {
    border-left: 4px solid var(--primary-color);
    padding: 1rem 1.5rem;
    margin: 1.5rem 0;
    background-color: var(--light-bg);
    border-radius: 0 4px 4px 0;
}

.breadcrumbs {
    font-size: 0.9rem;
    color: var(--gray-color);
}

.breadcrumbs a {
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.breadcrumbs a:hover {
    text-decoration: underline;
}

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

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

.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(0, 102, 255, 0.3);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 100;
}

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

/* 响应式调整（整合所有页面的响应式规则） */
@media (max-width: 768px) {
    /* 第四页响应式 */
    .pricing-card.popular.page4 {
        transform: scale(1);
    }
    
    .billing-toggle {
        width: 100px;
    }
    
    input:checked + .toggle-slider:before {
        transform: translateX(66px);
    }

    /* 第六页响应式 */
    .hero-content {
        text-align: center;
    }
    
    .hero-image {
        margin-top: 2rem;
    }
    
    .mobile-menu {
        display: block;
    }
    
    .desktop-menu {
        display: none;
    }
}

/* 全局动画组件（加载动画 + 滚动指示器，所有页面共享） */
/* 加载动画 */
.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: white;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
    display: none !important;
    visibility: hidden !important;
}

.loader.hidden {
    opacity: 0;
    visibility: hidden;

}

.loader-circle {
    width: 50px;
    height: 50px;
    border: 5px solid #E0E0E0;
    border-top: 5px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

/* 滚动指示器 */
.scroll-indicator {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    z-index: 1000;
    width: 0%;
    transition: width 0.1s ease;
}


/*自己写的*/
 
 .line-large{
    padding: 60px 0 0 2px;
    color: #a19a9a;
    background-color: #ebeef1;
    font-size: 14px;}
 .djy-wz{
    
    height: 30px;
    font-size: 14px;
    color: #8f8b89;
    border-bottom: 1px solid #EDEFF5;

 }
 .djy-db{
         width: 100%;
 }
 
 
 .djy-h4{
         color: #939ba6;
             font-size: 12px;
 }





.fa-windows:before {
    content: "\f17a";
}
.fa-android:before {
    content: "\f17b";
}
.fa-apple:before {
    content: "\f179";
}

/*首页下载*/
.banner-001 {
      padding: 20px;
      font-size: 16px;
      /* 防止按钮换行（可选） */
      white-space: nowrap;
    }

    .banner-001 a {
    display: inline-block;
    margin: 0 10px;
    padding: 8px 15px;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    background: #00c2ff;
    position: relative;
    white-space: nowrap;
    }

    /* 默认隐藏图片 - 统一调整 */
    .androidImg, .iosImg {
      display: none;
      position: absolute;
      /* 核心修改：图片移到按钮正下方 */
      top: 100%; 
      left: 50%;
      /* 图片水平居中对齐按钮 */
      transform: translateX(-50%);
      /* 取消固定高度，让图片100%展示原尺寸 */
      width: auto;
      height: auto;
      /* 图片与按钮的间距（下方） */
      margin-top: 8px;
      z-index: 999;
      /* 可选：防止图片被遮挡，可根据需要调整 */
      max-width: 200px; /* 限制最大宽度，避免图片过大，可删 */
    }

    /* Android按钮hover显示图片（修复选择器） */
    .androidBtn:hover .androidImg {
      display: block;
    }
    /* iOS按钮hover显示图片（确保选择器和按钮class匹配） */
    .androidBtn.iosBtn:hover .iosImg {
      display: block;
    }

    /* 按钮hover美化 */
    .banner-001 a:hover {
      background: #e8e8e8;
      color: #0066cc;}
      
      
      /* 友情链接样式 - 整合到你的style.css中 */
.home_container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    box-sizing: border-box;
}

.link_text {
    background: var(--white);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

/* 友情链接标题 */
.g-tt {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--light-bg);
    position: relative;
}

.g-tt::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 60px;
    height: 2px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

.g-tt span {
    font-size: 14px;
    color: var(--gray-color);
    font-weight: 400;
    margin-left: 10px;
    text-transform: uppercase;
    opacity: 0.7;
}

/* 友情链接列表 */
.g-text {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.g-text a {
    padding: 8px 18px;
    background: var(--light-bg);
    color: var(--gray-color);
    border-radius: 50px;
    font-size: 14px;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.g-text a:hover {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 102, 255, 0.2);
}

/* 响应式适配 */
@media (max-width: 768px) {
    .home_container {
        padding: 20px 15px;
    }
    
    .link_text {
        padding: 20px;
    }
    
    .g-tt {
        font-size: 18px;
    }
    
    .g-text a {
        padding: 6px 14px;
        font-size: 13px;
    }
}

@media (max-width: 576px) {
    .g-text {
        gap: 8px;
    }
    
    .g-text a {
        padding: 5px 12px;
        font-size: 12px;
    }
}


.article-content{
    margin-top: 20px; 
}
.block img{
    width: 45%;
}



/* ========== 响应式适配 ========== */
/* 平板/小屏电脑 (768px以下) */
@media (max-width: 768px) {
  .banner-001 {
    padding: 15px 10px;
    font-size: 14px;
    gap: 8px; /* 缩小间距 */
  }

  .banner-001 a {
    padding: 7px 12px; /* 缩小按钮内边距 */
  }

  /* 平板下二维码适当缩小 */
  .androidImg, .iosImg {
    max-width: 180px;
    margin-top: 6px;
  }
}

/* 手机端 (576px以下) */
@media (max-width: 576px) {
  .banner-001 {
    padding: 12px 8px;
    font-size: 13px;
    gap: 6px;
  }

  .banner-001 a {
    padding: 6px 10px; /* 进一步缩小按钮 */
    border-radius: 6px; /* 移动端圆角更大，更美观 */
  }

  /* 手机端二维码适配 */
  .androidImg, .iosImg {
    max-width: 150px; /* 手机端二维码缩小，避免超出屏幕 */
    margin-top: 5px;
    /* 移动端二维码居中更友好 */
    left: 50%;
    transform: translateX(-50%);
  }

  /* 可选：移动端如果按钮换行，调整每行数量 */
  .banner-001 {
    justify-content: center;
  }
}

/* 超小屏手机 (400px以下) */
@media (max-width: 400px) {
  .banner-001 a {
    padding: 5px 8px;
    font-size: 12px;
  }

  .androidImg, .iosImg {
    max-width: 120px; /* 超小屏二维码进一步缩小 */
  }
}