/* 
* 速捷云网站主题 - CSS文件
* 文件: css/style.css
*/

/* 基础重置与变量 */
:root {
    --primary-color: #1e88e5;
    --primary-dark: #1565c0;
    --secondary-color: #30c1d8;
    --text-color: #333333;
    --text-light: #6c757d;
    --background-color: #ffffff;
    --background-light: #f8f9fa;
    --background-dark: #212529;
    --border-color: #e9ecef;
    --success-color: #28a745;
    --warning-color: #ffc107;
    --danger-color: #dc3545;
    --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
    --border-radius: 5px;
    --container-width: 1200px;
}

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

body {
    font-family: 'PingFang SC', 'Microsoft YaHei', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background-color);
}

/* 通用容器 */
.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 15px;
}

/* 区域间距 */
.section {
    padding: 80px 0;
}

/* 背景色区分 */
.bg-light {
    background-color: var(--background-light);
}

/* 区块标题 */
.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: var(--text-color);
    position: relative;
    display: inline-block;
}

.section-header h2:after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: var(--primary-color);
    margin: 15px auto 0;
}

.section-header p {
    color: var(--text-light);
    font-size: 1.2rem;
}

/* 按钮样式 */
.btn {
    display: inline-block;
    padding: 10px 24px;
    font-size: 1rem;
    font-weight: 500;
    text-align: center;
    text-decoration: none;
    border-radius: var(--border-radius);
    transition: var(--transition);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: white;
}

.btn-login {
    background-color: transparent;
    color: var(--text-color);
}

.btn-login:hover {
    color: var(--primary-color);
}

.btn-lg {
    padding: 12px 30px;
    font-size: 1.1rem;
}

.btn-text {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
}

.btn-text i {
    margin-left: 5px;
    transition: var(--transition);
}

.btn-text:hover {
    color: var(--primary-dark);
}

.btn-text:hover i {
    transform: translateX(5px);
}

/* 图片响应式 */
img {
    max-width: 100%;
    height: auto;
}

/* 网格布局 */
.services-grid,
.features-grid,
.news-grid {
    display: grid;
    grid-gap: 30px;
}

.services-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.features-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.news-grid {
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
}

/* 顶部导航栏 */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.97);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    padding: 15px 0;
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo img {
    height: 40px;
    display: block;
}

.logo a {
    display: block;
}

.nav ul {
    display: flex;
    list-style: none;
}

.nav ul li {
    margin: 0 15px;
}

.nav ul li a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: normal;
    position: relative;
    padding: 10px 5px;
    transition: var(--transition);
    display: block;
    border-bottom: none;
    background: none;
}

/* 移除.active状态的所有特殊样式 */
.nav ul li a.active {
    color: var(--text-color);
    border-bottom: none;
    font-weight: normal;
}

/* 只在鼠标悬停时应用样式 */
.nav ul li a:hover {
    color: var(--primary-color);
    font-weight: 500;
    border-bottom: 2px solid var(--primary-color);
}

.header-actions {
    display: flex;
    align-items: center;
}

.header-actions .btn {
    margin-left: 10px;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--text-color);
    margin: 2px 0;
    border-radius: 3px;
    transition: var(--transition);
}

/* 导航栏样式 */
.nav-shadow {
  width: 100%;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  background-color: #fff;
}

.section-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.nav-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 0;
}

.nav-left {
  display: flex;
  align-items: center;
}

.nav-icon img {
  height: 40px;
  display: block;
}

.nav-menu {
  display: flex;
  margin-left: 30px;
}

.nav-item {
  padding: 8px 15px;
  cursor: pointer;
  position: relative;
  color: #333;
  font-size: 16px;
}

.nav-item:hover,
.nav-item.active {
  color: #1e88e5;
}

.nav-right {
  display: flex;
  align-items: center;
}

.control {
  color: #333;
  margin-right: 20px;
  cursor: pointer;
  font-size: 14px;
}

.control:hover {
  color: #1e88e5;
}

.btn {
  display: inline-block;
  padding: 8px 20px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
  transition: all 0.3s ease;
}

.btn-normal-light {
  color: #333;
  background-color: transparent;
}

.btn-normal-light:hover {
  color: #1e88e5;
}

.btn-normal {
  color: #fff;
  background-color: #1e88e5;
}

.btn-normal:hover {
  background-color: #1565c0;
}

.mr-10 {
  margin-right: 10px;
}

/* 登录后的用户信息 */
.login-in {
  position: relative;
  display: flex;
  align-items: center;
  cursor: pointer;
}

.head-img {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background-color: #e0e0e0;
  background-size: cover;
  background-position: center;
}

.name {
  margin-left: 10px;
  font-size: 14px;
}

.login-menu {
  position: absolute;
  top: 100%;
  right: 0;
  background-color: #fff;
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  padding: 10px 0;
  width: 160px;
  display: none;
  z-index: 10;
  margin-top: 10px;
}

.login-in:hover .login-menu {
  display: block;
}

.login-menu-item {
  padding: 10px 20px;
  font-size: 14px;
  color: #333;
  transition: all 0.3s ease;
}

.login-menu-item:hover {
  background-color: #f5f5f5;
  color: #1e88e5;
}

.real-name {
  float: right;
  font-size: 12px;
  color: #999;
}

/* 导航下拉内容 */
.nav-cont {
  position: absolute;
  width: 100%;
  background-color: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  display: none;
  z-index: 9;
}

.nav-menu a:hover + .nav-cont,
.nav-menu .nav-item:hover + .nav-cont,
.nav-cont:hover {
  display: block;
}

.nav-cont-menu {
  display: none;
  padding: 20px 0;
}

.nav-content {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 20px;
}

.nav-item-box {
  display: flex;
  padding: 15px;
  border-radius: 4px;
  transition: all 0.3s ease;
}

.nav-item-box:hover {
  background-color: #f5f5f5;
}

.nav-item-box img {
  width: 40px;
  height: 40px;
  margin-right: 10px;
}

.item-box-title .title {
  font-size: 16px;
  font-weight: 500;
  color: #333;
  margin-bottom: 5px;
}

.item-box-title .desc {
  font-size: 12px;
  color: #666;
  line-height: 1.4;
}

/* 侧边工具栏 */
.aside-tools {
  position: fixed;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 99;
}

.tools-list {
  background-color: #fff;
  border-radius: 4px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.tools-item {
  position: relative;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border-bottom: 1px solid #f0f0f0;
}

.tools-item:last-child {
  border-bottom: none;
}

.tools-item img {
  width: 24px;
  height: 24px;
}

.tools-box {
  position: absolute;
  right: 55px;
  top: 0;
  background-color: #fff;
  border-radius: 4px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  padding: 15px;
  width: 200px;
  display: none;
}

.tools-item:hover .tools-box {
  display: block;
}

.tools-box-s h5 {
  font-size: 16px;
  margin-bottom: 10px;
  color: #333;
}

.tools-box-s p {
  font-size: 12px;
  color: #666;
  margin-bottom: 15px;
}

.button {
  background-color: #1e88e5;
  color: #fff;
  padding: 6px 12px;
  border-radius: 4px;
  font-size: 12px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.button:hover {
  background-color: #1565c0;
}

/* 动画类 */
.animated {
  animation-duration: 0.3s;
  animation-fill-mode: both;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.fadeIn {
  animation-name: fadeIn;
}

@keyframes slideInDown {
  from {
    transform: translate3d(0, -30px, 0);
    visibility: visible;
    opacity: 0;
  }
  to {
    transform: translate3d(0, 0, 0);
    opacity: 1;
  }
}

.slideInDown {
  animation-name: slideInDown;
}

/* 主横幅区域 */
.hero {
    padding: 150px 0 80px;
    background-image: linear-gradient(135deg, #f5f7fa 0%, #e6ecf3 100%);
    overflow: hidden;
}

.hero .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.hero-content {
    flex: 1;
    padding-right: 30px;
}

.hero-image {
    flex: 1;
    text-align: right;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    color: var(--text-color);
    line-height: 1.2;
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 30px;
}

.hero-actions {
    display: flex;
    gap: 15px;
}

/* 服务卡片 */
.service-card {
    background-color: white;
    border-radius: 8px;
    padding: 30px;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    text-align: center;
}

.service-card:hover {
    transform: translateY(-10px);
}

.service-icon {
    width: 70px;
    height: 70px;
    line-height: 70px;
    border-radius: 50%;
    background-color: rgba(30, 136, 229, 0.1);
    color: var(--primary-color);
    font-size: 30px;
    margin: 0 auto 20px;
}

.service-card h3 {
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.service-card p {
    color: var(--text-light);
    margin-bottom: 20px;
}

/* 特性展示 */
.feature {
    text-align: center;
    padding: 20px;
    transition: var(--transition);
}

.feature:hover {
    background-color: white;
    border-radius: 8px;
    box-shadow: var(--box-shadow);
}

.feature-icon {
    width: 60px;
    height: 60px;
    line-height: 60px;
    border-radius: 50%;
    background-color: rgba(30, 136, 229, 0.1);
    color: var(--primary-color);
    font-size: 25px;
    margin: 0 auto 20px;
}

.feature h3 {
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.feature p {
    color: var(--text-light);
}

/* 解决方案卡片 */
.solutions-slider {
    display: flex;
    gap: 30px;
    overflow-x: auto;
    padding-bottom: 20px;
    margin: 0 -15px;
    padding: 0 15px 20px;
    scrollbar-width: thin;
}

.solutions-slider::-webkit-scrollbar {
    height: 5px;
}

.solutions-slider::-webkit-scrollbar-track {
    background: var(--border-color);
    border-radius: 10px;
}

.solutions-slider::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 10px;
}

.solution-card {
    min-width: 350px;
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.solution-content {
    padding: 20px;
}

.solution-content h3 {
    margin-bottom: 10px;
    font-size: 1.4rem;
}

.solution-content p {
    color: var(--text-light);
    margin-bottom: 15px;
}

/* 客户评价 */
.testimonials-slider {
    display: flex;
    gap: 30px;
}

.testimonial {
    flex: 1;
    background-color: white;
    border-radius: 8px;
    padding: 30px;
    box-shadow: var(--box-shadow);
}

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

.testimonial-content p {
    font-style: italic;
    color: var(--text-color);
    position: relative;
    padding: 0 15px;
}

.testimonial-content p:before,
.testimonial-content p:after {
    content: '"';
    font-size: 30px;
    color: var(--primary-color);
    opacity: 0.3;
}

.testimonial-info {
    display: flex;
    align-items: center;
}

.testimonial-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin-right: 15px;
    object-fit: cover;
}

.testimonial-meta h4 {
    margin-bottom: 5px;
}

.testimonial-meta p {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* 新闻卡片 */
.news-card {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.news-content {
    padding: 20px;
}

.news-date {
    display: block;
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.news-content h3 {
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.news-content p {
    color: var(--text-light);
    margin-bottom: 15px;
}

/* 联系我们 */
.contact-wrapper {
    display: flex;
    gap: 50px;
    align-items: flex-start;
}

.contact-info {
    flex: 1;
}

.contact-form {
    flex: 1;
    background-color: white;
    padding: 40px;
    border-radius: 8px;
    box-shadow: var(--box-shadow);
}

.contact-list {
    list-style: none;
}

.contact-list li {
    display: flex;
    margin-bottom: 25px;
}

.contact-list li i {
    font-size: 24px;
    color: var(--primary-color);
    margin-right: 20px;
    margin-top: 5px;
}

.contact-list li h4 {
    margin-bottom: 5px;
}

.contact-form h3 {
    margin-bottom: 20px;
    text-align: center;
    font-size: 1.5rem;
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(30, 136, 229, 0.1);
}

.form-group textarea {
    resize: vertical;
}

/* 页脚样式 */
.footer {
    background-color: var(--background-dark);
    color: white;
    padding: 70px 0 20px;
}

.footer-top {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 50px;
}

.footer-col h4 {
    color: white;
    margin-bottom: 25px;
    font-size: 1.2rem;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h4:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--primary-color);
}

.footer-col p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 20px;
    line-height: 1.7;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition);
}

.footer-col ul li a:hover {
    color: white;
    padding-left: 5px;
}

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

.social-icons a {
    display: inline-block;
    width: 36px;
    height: 36px;
    line-height: 36px;
    text-align: center;
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    border-radius: 50%;
    transition: var(--transition);
}

.social-icons a:hover {
    background-color: var(--primary-color);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.7);
}

.footer-bottom a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
}

.footer-bottom a:hover {
    color: white;
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .footer-top {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .header {
        padding: 10px 0;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .nav {
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background-color: white;
        padding: 0;
        height: 0;
        overflow: hidden;
        transition: var(--transition);
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    }
    
    .nav.active {
        height: auto;
        padding: 15px 0;
    }
    
    .nav ul {
        flex-direction: column;
        width: 100%;
    }
    
    .nav ul li {
        margin: 0;
        width: 100%;
        text-align: center;
    }
    
    .nav ul li a {
        display: block;
        padding: 12px 0;
    }
    
    .header-actions {
        margin-left: auto;
    }
    
    .hero .container {
        flex-direction: column;
    }
    
    .hero-content {
        padding-right: 0;
        text-align: center;
        margin-bottom: 40px;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .testimonials-slider {
        flex-direction: column;
    }
    
    .contact-wrapper {
        flex-direction: column;
    }
    
    .contact-info {
        margin-bottom: 40px;
    }
}

@media (max-width: 768px) {
    .section {
        padding: 60px 0;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .hero {
        padding: 120px 0 60px;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .footer-top {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .hero-actions {
        flex-direction: column;
        gap: 10px;
    }
    
    .hero-actions .btn {
        width: 100%;
    }
    
    .contact-form {
        padding: 30px 20px;
    }
}
/* 导航基础样式 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
  color: #333;
}

a {
  text-decoration: none;
  color: inherit;
}

ul, li {
  list-style: none;
}

.section-content {
  width: 1200px;
  margin: 0 auto;
  position: relative;
}

/* 导航栏样式 */
.nav-shadow {
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 999;
  background-color: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.nav-header {
  height: 60px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-left {
  display: flex;
  align-items: center;
}

.nav-icon img {
  height: 36px;
  margin-right: 20px;
}

.nav-menu {
  display: flex;
  height: 60px;
}

.nav-item {
  padding: 0 16px;
  font-size: 14px;
  color: #333;
  height: 60px;
  line-height: 60px;
  cursor: pointer;
  position: relative;
  transition: all 0.3s;
}

.nav-item:hover {
  color: #0066ff;
}

.nav-right {
  display: flex;
  align-items: center;
}

.control {
  margin-left: 20px;
  font-size: 14px;
  color: #666;
  cursor: pointer;
  transition: all 0.3s;
}

.control:hover {
  color: #0066ff;
}

.btn {
  padding: 8px 16px;
  border-radius: 4px;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s;
}

.btn-normal-light {
  background-color: #f5f8ff;
  color: #0066ff;
}

.btn-normal {
  background-color: #0066ff;
  color: #fff;
}

.btn-normal:hover {
  background-color: #0052cc;
}

.mr-10 {
  margin-right: 10px;
}

.ml-10 {
  margin-left: 10px;
}

/* 用户登录后样式 */
.head-img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: #eee;
  cursor: pointer;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.head-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.login-in {
  display: flex;
  align-items: center;
  position: relative;
  cursor: pointer;
}

.name {
  max-width: 80px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.login-menu {
  position: absolute;
  top: 50px;
  right: 0;
  width: 160px;
  background-color: #fff;
  border-radius: 4px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
  padding: 8px 0;
  display: none;
  z-index: 10;
}

.login-in:hover .login-menu {
  display: block;
}

.login-menu-item {
  padding: 10px 16px;
  font-size: 14px;
  color: #666;
  transition: all 0.3s;
  position: relative;
}

.login-menu-item:hover {
  background-color: #f5f8ff;
  color: #0066ff;
}

.real-name {
  float: right;
  font-size: 12px;
}

.no-real-name {
  color: #ff4d4f;
}

/* 下拉菜单样式 */
.nav-cont {
  width: 100%;
  position: absolute;
  background-color: #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  display: none;
  z-index: 9;
}

.nav-menu .nav-item:hover + .nav-cont,
.nav-cont:hover {
  display: block;
}

.nav-cont-menu {
  display: none;
  width: 100%;
  min-height: 100px;
  padding: 20px 0;
}

.nav-content {
  display: flex;
  flex-wrap: wrap;
}

.nav-item-box {
  width: 260px;
  padding: 16px;
  display: flex;
  align-items: flex-start;
  transition: all 0.3s;
  border-radius: 4px;
}

.nav-item-box:hover {
  background-color: #f5f8ff;
}

.nav-item-box img {
  width: 40px;
  height: 40px;
  margin-right: 12px;
}

.item-box-title {
  flex: 1;
}

.item-box-title .title {
  font-size: 16px;
  font-weight: 500;
  color: #333;
  margin-bottom: 6px;
}

.item-box-title .desc {
  font-size: 12px;
  color: #999;
  line-height: 1.5;
}

/* 显示对应的下拉菜单 */
.nav-menu > .nav-item:nth-child(1):hover ~ .nav-cont .nav-cont-menu:nth-child(2),
.nav-menu > .nav-item:nth-child(2):hover ~ .nav-cont .nav-cont-menu:nth-child(3),
.nav-menu > .nav-item:nth-child(3):hover ~ .nav-cont .nav-cont-menu:nth-child(4),
.nav-menu > .nav-item:nth-child(4):hover ~ .nav-cont .nav-cont-menu:nth-child(5),
.nav-menu > .nav-item:nth-child(5):hover ~ .nav-cont .nav-cont-menu:nth-child(6) {
  display: block;
}

/* 动画效果 */
.animated {
  animation-duration: 0.3s;
  animation-fill-mode: both;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideInDown {
  from {
    transform: translate3d(0, -10px, 0);
    opacity: 0;
  }
  to {
    transform: translate3d(0, 0, 0);
    opacity: 1;
  }
}

.fadeIn {
  animation-name: fadeIn;
}

.slideInDown {
  animation-name: slideInDown;
}

/* 侧边工具栏样式 */
.aside-tools {
  position: fixed;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 99;
}

.tools-list {
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.tools-item {
  width: 60px;
  height: 60px;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  position: relative;
  border-bottom: 1px solid #eee;
}

.tools-item:last-child {
  border-bottom: none;
}

.tools-item img {
  width: 24px;
  height: 24px;
}

.tools-box {
  position: absolute;
  right: 70px;
  width: 240px;
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  padding: 16px;
  display: none;
}

.tools-item:hover .tools-box {
  display: block;
}

.tools-box:before {
  content: '';
  position: absolute;
  top: 20px;
  right: -6px;
  width: 12px;
  height: 12px;
  background-color: #fff;
  transform: rotate(45deg);
  box-shadow: 2px -2px 5px rgba(0, 0, 0, 0.05);
}

.tools-box h5 {
  font-size: 16px;
  margin-bottom: 10px;
  color: #333;
}

.tools-box p {
  font-size: 12px;
  color: #999;
  margin-bottom: 10px;
  line-height: 1.5;
}

.tools-box .button {
  display: inline-block;
  padding: 6px 16px;
  background-color: #0066ff;
  color: #fff;
  border-radius: 4px;
  font-size: 12px;
  transition: all 0.3s;
}

.tools-box .button:hover {
  background-color: #0052cc;
}

/* 响应式调整 */
@media screen and (max-width: 1200px) {
  .section-content {
    width: 100%;
    padding: 0 20px;
  }
  
  .nav-item-box {
    width: 220px;
  }
}

@media screen and (max-width: 768px) {
  .nav-menu {
    display: none;
  }
  
  .control {
    display: none;
  }
}
