/* ===================================
   Rhino 3D 中文网主题样式
   =================================== */

/* Open Color 调色板 - 蓝色主题 */
:root {
  /* Open Color Blue Palette */
  --oc-blue-0: #e7f5ff;
  --oc-blue-1: #d0ebff;
  --oc-blue-2: #a5d8ff;
  --oc-blue-3: #74c0fc;
  --oc-blue-4: #4dabf7;
  --oc-blue-5: #339af0;
  --oc-blue-6: #228be6;
  --oc-blue-7: #1c7ed6;
  --oc-blue-8: #1971c2;
  --oc-blue-9: #1864ab;

  /* Open Color Gray Palette (for reference) */
  --oc-gray-0: #f8f9fa;
  --oc-gray-1: #f1f3f5;
  --oc-gray-2: #e9ecef;
  --oc-gray-3: #dee2e6;
  --oc-gray-4: #ced4da;
  --oc-gray-5: #adb5bd;
  --oc-gray-6: #868e96;
  --oc-gray-7: #495057;
  --oc-gray-8: #343a40;
  --oc-gray-9: #212529;

  /* Open Color Orange Palette */
  --oc-orange-0: #fff9db;
  --oc-orange-1: #fff3bf;
  --oc-orange-2: #ffec99;
  --oc-orange-3: #ffe066;
  --oc-orange-4: #fcc419;
  --oc-orange-5: #fab005;
  --oc-orange-6: #f59f00;
  --oc-orange-7: #f08c00;
  --oc-orange-8: #e67700;
  --oc-orange-9: #d9480f;

  /* 主题变量 - 使用 Open Color 蓝色 */
  --primary-color: var(--oc-blue-6);
  --primary-light: var(--oc-blue-4);
  --primary-dark: var(--oc-blue-7);
  --secondary-color: var(--oc-gray-9);
  --accent-color: var(--oc-blue-8);
  --text-color: var(--oc-gray-8);
  --text-light: var(--oc-gray-6);
  --bg-light: var(--oc-gray-0);
  --white: #fff;
  --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
}

/* 基础样式 */
body {
  font-family: 'Noto Sans SC', 'Rubik', sans-serif;
  color: var(--text-color);
  line-height: 1.6;
  overflow-x: hidden;
}

.section {
  padding: 80px 0;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--secondary-color);
}

.bg-light {
  background-color: var(--bg-light) !important;
}

/* 导航栏 - Apple液态玻璃效果 */
.navbar {
  background: rgba(10, 10, 15, 0.65);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  box-shadow:
    0 4px 30px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    inset 0 -1px 0 rgba(255, 255, 255, 0.02);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1rem 0;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar::before {
  content: '';
  position: absolute;
  inset: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.navbar.scrolled {
  background: rgba(10, 10, 15, 0.8);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  padding: 0.75rem 0;
  box-shadow:
    0 8px 40px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    inset 0 -1px 0 rgba(255, 255, 255, 0.02);
}

.navbar-brand {
  display: flex;
  align-items: center;
  padding-left: 15px;
}

.navbar-logo {
  max-height: 24px;
  width: auto;
}

.navbar-brand-text {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
}

.navbar-toggler {
  margin-right: 15px;
}

.nav-link {
  font-weight: 500;
  color: #ffffff !important;
  transition: var(--transition);
}

.nav-link:hover {
  color: #cccccc !important;
}

/* 手机端导航栏折叠菜单样式 */
@media (max-width: 991.98px) {
  .navbar {
    background: rgba(10, 10, 15, 0.75) !important;
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    padding: 0.75rem 0;
  }

  .navbar-collapse {
    position: absolute;
    top: 100%;
    left: 15px;
    right: 15px;
    padding: 1rem;
    margin-top: 8px;
    border-radius: 16px;
    /* 磨砂玻璃效果 - 使用不透明背景 + 内阴影光泽 */
    background: linear-gradient(145deg, rgba(25, 25, 40, 0.92) 0%, rgba(15, 15, 28, 0.95) 100%) !important;
    box-shadow:
      0 16px 48px rgba(0, 0, 0, 0.5),
      inset 0 1px 0 rgba(255, 255, 255, 0.12),
      inset 0 0 20px rgba(255, 255, 255, 0.05),
      inset 0 -2px 10px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.15);
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.25s ease, transform 0.25s ease;
    pointer-events: none;
    visibility: hidden;
    z-index: 9999;
  }

  .navbar-collapse.show {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
    visibility: visible;
  }

  .navbar-collapse.collapsing {
    opacity: 0;
    height: auto !important;
  }

  .navbar-nav {
    position: relative;
    text-align: center;
    margin: 0;
    padding: 0;
  }

  .nav-item {
    margin: 0.5rem 0;
  }

  .nav-link {
    padding: 0.75rem 1rem !important;
    border-radius: 8px;
    transition: var(--transition);
    color: #ffffff !important;
  }

  .nav-link:hover {
    background: rgba(51, 154, 240, 0.15);
    color: var(--oc-blue-4) !important;
  }
}

/* ===================================
   Hero 轮播图区域 - 科技风格
   =================================== */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: #0a0a0f;
  overflow: hidden;
}

/* 科技风 Canvas 背景 */
#heroTechCanvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(10, 10, 15, 0.7) 0%, rgba(10, 10, 20, 0.85) 50%, rgba(5, 5, 15, 0.95) 100%);
  z-index: 1;
}

/* 轮播容器 */
.hero-carousel {
  position: relative;
  width: 100%;
  overflow: hidden;
  z-index: 2;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.6s ease, visibility 0.6s ease;
  display: flex;
  align-items: center;
}

.hero-slide.active {
  opacity: 1;
  visibility: visible;
  position: relative;
}

/* 轮播内容 */
.hero-slide-content {
  position: relative;
  z-index: 2;
  padding: 2rem 0;
}

.hero-subtitle {
  display: inline-block;
  margin-bottom: 1rem;
  padding: 6px 14px;
  background: rgba(51, 154, 240, 0.1);
  border: 1px solid rgba(51, 154, 240, 0.3);
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--oc-blue-4);
  letter-spacing: 2px;
  text-transform: uppercase;
}

.hero-slide-title {
  font-size: 3.5rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 1.2rem;
  line-height: 1.15;
  text-shadow: 0 0 40px rgba(51, 154, 240, 0.3);
}

.hero-slide-description {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 2rem;
  max-width: 520px;
  line-height: 1.7;
}

.hero-slide-description a {
  color: var(--oc-blue-4);
  text-decoration: none;
  transition: all 0.25s ease;
}

.hero-slide-description a:hover {
  color: var(--oc-blue-3);
  text-decoration: underline;
}

/* Rhino Logo */
.hero-logo {
  width: 120px;
  height: 120px;
  margin-bottom: 1.5rem;
  display: block;
}

/* CTA 按钮组 */
.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 2rem;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.25s ease;
  cursor: pointer;
  border: none;
  position: relative;
  overflow: hidden;
}

.hero-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s ease;
}

.hero-cta:hover::before {
  left: 100%;
}

.hero-cta-primary {
  background: linear-gradient(135deg, var(--oc-blue-5) 0%, var(--oc-blue-4) 100%);
  color: #0a0a0f;
}

.hero-cta-primary:hover {
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(51, 154, 240, 0.4);
  text-decoration: none;
}

.hero-cta-secondary {
  background: transparent;
  color: #ffffff;
  border: 2px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px);
}

.hero-cta-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-2px);
  text-decoration: none;
}

.hero-cta-accent {
  background: linear-gradient(135deg, var(--oc-blue-6) 0%, var(--oc-blue-4) 100%);
  color: #ffffff;
}

.hero-cta-accent:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(51, 154, 240, 0.4);
  text-decoration: none;
}

.hero-cta i {
  font-size: 1rem;
  transition: color 0.3s ease;
}

.hero-cta-primary:hover i {
  color: #ffffff;
}

/* 右侧视觉区域 */
.hero-visual-area {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding-right: 15px;
  height: 500px;
}

.hero-visual-area::before {
  content: '';
  position: absolute;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(51, 154, 240, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  animation: pulse-glow 3s ease-in-out infinite;
}

@keyframes pulse-glow {
  0%, 100% { transform: scale(1); opacity: 0.5; }
  50% { transform: scale(1.2); opacity: 0.8; }
}

.hero-visual-image {
  width: 100%;
  max-width: 450px;
  /* max-height: 480px; */
  height: auto;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5),
              0 0 30px rgba(51, 154, 240, 0.1),
              inset 0 0 20px rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: transform 0.5s ease, box-shadow 0.5s ease;
  position: relative;
  z-index: 1;
}

.hero-slide.active .hero-visual-image {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 35px 60px rgba(0, 0, 0, 0.6),
              0 0 40px rgba(51, 154, 240, 0.15),
              inset 0 0 30px rgba(255, 255, 255, 0.08);
}

/* 轮播指示器 */
.hero-indicators {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 10;
}

.hero-indicator {
  width: 40px;
  height: 4px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.2);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.hero-indicator::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--oc-blue-5), var(--oc-blue-4));
  transition: width 0.3s ease;
}

.hero-indicator.active {
  background: rgba(255, 255, 255, 0.4);
  transform: scaleX(1.2);
}

.hero-indicator.active::after {
  width: 100%;
}

.hero-indicator:hover {
  background: rgba(255, 255, 255, 0.4);
}

/* 轮播控制按钮 */
.hero-control {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 10;
}

.hero-control:hover {
  background: rgba(51, 154, 240, 0.2);
  border-color: rgba(51, 154, 240, 0.5);
  box-shadow: 0 0 30px rgba(51, 154, 240, 0.3);
  transform: translateY(-50%) scale(1.1);
}

.hero-control.prev {
  left: 30px;
}

.hero-control.next {
  right: 30px;
}

.hero-control i {
  color: #ffffff;
  font-size: 1.2rem;
  text-shadow: 0 0 10px rgba(51, 154, 240, 0.5);
}

/* 响应式设计 */
@media (max-width: 992px) {
  .hero-slide-title {
    font-size: 2.5rem;
  }

  .hero-slide-description {
    font-size: 1rem;
    max-width: 100%;
  }

  .hero-visual-area {
    justify-content: center;
    margin-top: 2rem;
    padding-right: 0;
    height: 300px;
  }

  .hero-visual-image {
    max-width: 280px;
    max-height: 260px;
  }
}

@media (max-width: 768px) {
  .hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: #0a0a0f !important;
  }

  .hero-slide-content {
    text-align: center;
    padding: 4rem 0;
  }

  .hero-logo {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-slide-title {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 0.7rem;
    padding: 5px 12px;
  }

  .hero-cta-group {
    flex-direction: column;
    align-items: center;
  }

  .hero-cta {
    justify-content: center;
    width: 50%;
    max-width: 200px;
  }

  .hero-control {
    width: 40px;
    height: 40px;
  }

  .hero-control.prev {
    left: 15px;
  }

  .hero-control.next {
    right: 15px;
  }

  .hero-indicators {
    bottom: 10px;
  }

  .hero-indicator {
    width: 30px;
    height: 3px;
  }
}

@media (max-width: 576px) {
  .hero-section {
    min-height: 100vh;
    background: #0a0a0f !important;
  }

  .hero-slide-title {
    font-size: 1.6rem;
  }

  .hero-slide-description {
    font-size: 0.9rem;
    padding: 0 1rem;
  }

  .hero-cta {
    padding: 12px 20px;
    font-size: 0.85rem;
    width: 50%;
    max-width: 180px;
  }

  .hero-logo {
    width: 80px;
    height: 80px;
  }
}

.card-4 {
  top: 50%;
  right: -20px;
  margin-top: -60px;
  animation-delay: 1.5s;
}

.card-5 {
  top: 50%;
  left: -20px;
  margin-top: 60px;
  animation-delay: 2s;
}

.card-6 {
  top: 50%;
  right: -20px;
  margin-top: 60px;
  animation-delay: 2.5s;
}

@keyframes cardFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@media (max-width: 991px) {
  .hero-title {
    font-size: 2.5rem;
  }

  .hero-subtitle {
    font-size: 1.1rem;
  }

  .hero-visual {
    margin-top: 3rem;
  }

  .hero-floating-card {
    display: none;
  }
}

@media (max-width: 575px) {
  .hero-title {
    font-size: 2rem;
  }

  .animated-text {
    font-size: 1.2rem;
  }
}

/* 关于我们 */
.about-image {
  text-align: center;
  margin: 20px 0;
}

.about-image img {
  box-shadow: none;
  border-radius: 0;
  max-width: 100%;
  height: auto;
}

.about-content p {
  color: var(--text-light);
  margin-bottom: 1.5rem;
}

/* 服务卡片 */
.service-card {
  background: var(--white);
  padding: 2rem;
  border-radius: 8px;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.service-icon {
  color: var(--primary-color);
}

.service-card h4 {
  margin-bottom: 0.5rem;
  color: var(--secondary-color);
}

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

/* 行业应用 */
.industry-card {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.industry-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: var(--transition);
}

.industry-card:hover img {
  transform: scale(1.1);
}

.industry-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.5rem;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
  color: var(--white);
}

.industry-overlay h4 {
  margin: 0;
  font-size: 1.25rem;
}

/* ===================================
   在线课程模块 - 横向轮播
   =================================== */
.online-courses-section {
  overflow: visible;
  padding-left: 3rem;
  padding-right: 3rem;
}

.online-courses-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  padding: 0;
  width: 100%;
}

.online-courses-track {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 1rem 0;
  width: 100%;
}

.online-courses-track::-webkit-scrollbar {
  display: none;
}

.online-course-item {
  flex: 0 0 calc((100% - 4.5rem) / 4);
  scroll-snap-align: start;
}

.online-course-card {
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.online-course-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
}

.course-thumbnail {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
}

.course-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.online-course-card:hover .course-thumbnail img {
  transform: scale(1.08);
}

.course-duration-badge {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: rgba(0, 0, 0, 0.75);
  color: var(--white);
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 500;
}

.course-content {
  padding: 1rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.course-content h4 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
  color: var(--secondary-color);
  line-height: 1.4;
}

.course-content p {
  font-size: 0.85rem;
  color: var(--text-light);
  margin-bottom: 0.75rem;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.course-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 0.75rem;
  border-top: 1px solid var(--bg-light);
  gap: 0.5rem;
}

.course-price {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--oc-orange-9);
  white-space: nowrap;
}

.course-price .original {
  font-size: 0.85rem;
  color: var(--text-light);
  text-decoration: line-through;
  margin-right: 8px;
  font-weight: 400;
}

.course-btn {
  padding: 8px 16px;
  font-size: 0.85rem;
  border-radius: 6px;
  white-space: nowrap;
}

/* 导航按钮 - 磨砂玻璃效果 */
.course-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow:
    0 4px 30px rgba(0, 0, 0, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.3),
    inset 0 -1px 0 rgba(255, 255, 255, 0.1);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 10;
  flex-shrink: 0;
}

.course-nav-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  padding: 1px;
  background: linear-gradient(135deg, rgba(255,255,255,0.4) 0%, rgba(255,255,255,0.1) 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.course-nav-btn:hover {
  background: rgba(255, 255, 255, 0.4);
  box-shadow:
    0 8px 40px rgba(51, 154, 240, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.4),
    inset 0 -1px 0 rgba(255, 255, 255, 0.1);
  transform: translateY(-50%) scale(1.1);
  border-color: rgba(255, 255, 255, 0.5);
}

.course-nav-btn:active {
  transform: translateY(-50%) scale(0.95);
  box-shadow:
    0 4px 20px rgba(51, 154, 240, 0.15),
    inset 0 2px 4px rgba(0, 0, 0, 0.1);
}

.course-nav-btn i {
  font-size: 1.1rem;
  color: var(--oc-gray-8);
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.5);
  transition: var(--transition);
}

.course-nav-btn:hover i {
  color: var(--oc-blue-7);
}

.course-nav-prev {
  left: 10px;
}

.course-nav-next {
  right: 10px;
}

/* 响应式 - 大屏幕 */
@media (min-width: 1400px) {
  .online-course-item {
    flex: 0 0 calc((100% - 4.5rem) / 4);
  }
}

/* 中等屏幕 */
@media (max-width: 1399px) and (min-width: 992px) {
  .online-course-item {
    flex: 0 0 calc((100% - 3rem) / 3);
  }
}

/* 平板 */
@media (max-width: 991px) and (min-width: 576px) {
  .online-courses-section {
    padding-left: 2.5rem;
    padding-right: 2.5rem;
  }

  .online-course-item {
    flex: 0 0 calc((100% - 1.5rem) / 2);
  }
}

/* 手机 */
@media (max-width: 575px) {
  .online-courses-section {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .online-courses-wrapper {
    padding: 0 0.5rem;
  }

  .online-course-item {
    flex: 0 0 calc(100% - 4rem);
    margin: 0 auto;
  }
}

/* 线下培训模块 */
.courses-section {
  background: var(--bg-light);
}

/* 课程卡片 */
.course-card {
  background: var(--white);
  border-radius: 8px;
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: var(--transition);
}

.course-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.course-image {
  position: relative;
  aspect-ratio: 2.8 / 1;
  overflow: hidden;
}

.course-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

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

/* Level 标签浮动在图片左下角 */
.course-header {
  position: absolute;
  bottom: 8px;
  left: 8px;
}

.course-level {
  font-size: 0.9rem;
  background: var(--primary-color);
}

.course-body {
  padding: 1.5rem;
}

.course-body h4 {
  margin-bottom: 1rem;
  color: var(--secondary-color);
}

.course-body p {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  line-clamp: 2;
  line-height: 1.5;
  max-height: 3em;
  min-height: 1.5em;
}

.course-duration {
  color: var(--text-light);
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.course-location {
  color: var(--text-light);
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.course-location i {
  color: var(--text-light);
}

/* 通用副标题样式 */
.section-subtitle {
  color: var(--text-light);
  font-size: 1.1rem;
  margin-top: -0.5rem;
  margin-bottom: 0;
}

/* 软件销售卡片 */
.software-section .section-subtitle {
  color: var(--text-light);
  font-size: 1.1rem;
  margin-top: -0.5rem;
}

.software-section .row {
  margin-left: -0.75rem;
  margin-right: -0.75rem;
}

.software-section .row > .col-6,
.software-section .row > [class*="col-"] {
  padding-left: 0.75rem;
  padding-right: 0.75rem;
}

.software-card {
  background: var(--white);
  border-radius: 16px;
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  position: relative;
}

.software-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.18);
}

.software-tag {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--primary-color);
  color: var(--white);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  z-index: 10;
  box-shadow: 0 2px 8px rgba(51, 154, 240, 0.3);
}

/* 限时优惠标签 - 橙色主题 */
.software-tag-special {
  background: var(--oc-orange-9);
  box-shadow: 0 2px 8px rgba(230, 119, 0, 0.4);
}

/* 标签左定位 */
.software-tag-left {
  left: 12px;
  right: auto;
}

/* 平台图标 */
.software-platforms {
  position: absolute;
  top: 12px;
  right: 12px;
  display: flex;
  gap: 6px;
  z-index: 10;
}

.platform-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 4px;
  color: #555;
  font-size: 0.75rem;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.platform-icon:hover {
  transform: scale(1.1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.platform-icon i {
  margin: 0;
}

.software-image {
  height: 160px;
  background: transparent;
  position: relative;
  overflow: hidden;
}

/* 封面图样式（首页软件卡片） */
.software-image .software-cover-img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
  opacity: 0.9;
  filter: blur(2px);
}

.software-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,0.15) 100%);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 1rem;
}

.software-header-info {
  text-align: center;
  color: var(--oc-gray-9);
  margin-bottom: 1rem;
}

.software-header-info h4 {
  margin: 0 0 0.5rem 0;
  font-size: 1.3rem;
  font-weight: 800;
  color: #1f2937;
  -webkit-text-stroke: 0.002px #fff;
  text-shadow: 1px 1px 0 #fff, -1px -1px 0 #fff, 1px -1px 0 #fff, -1px 1px 0 #fff;
}

.software-header-info .software-price {
  font-size: 1.3rem;
  font-weight: 700; 
  color: var(--oc-orange-9);
  text-shadow: 0 2px 2px rgba(0, 0,0,0.3);
}

.software-body {
  padding: 1.25rem;
  flex: 1;
  background: var(--white);
}

.software-desc {
  color: var(--text-light);
  margin-bottom: 1rem;
  text-align: center;
  font-size: 0.9rem;
  line-height: 1.5;
  height: 3em;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  line-clamp: 2;
}

.software-features {
  list-style: none;
  padding: 0;
  margin: 0;
}

.software-features li {
  padding: 0.05rem 0;
  color: var(--text-color);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border-bottom: 1px solid var(--bg-light);
  font-size: 0.85rem;
}

.software-features li:last-child {
  border-bottom: none;
}

.software-features li i {
  color: var(--primary-color);
  font-size: 0.85rem;
  flex-shrink: 0;
}

.software-features .feature-link {
  color: var(--oc-blue-6);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: color 0.2s ease;
}

.software-features .feature-link:hover {
  color: var(--oc-blue-8);
  text-decoration: underline;
}

.software-features .feature-link i {
  color: var(--oc-blue-6);
}

.software-footer {
  padding: 0 1.25rem 1.25rem;
  background: var(--white);
}

.software-footer .btn {
  font-weight: 600;
  border-radius: 8px;
  padding: 0.75rem 1rem;
  background: #343a40;
  border-color: #343a40;
  color: #fff;
}
.software-footer .btn:hover {
  background: #6c757d;
  border-color: #6c757d;
  color: #fff;
}

/* ===================================
   技术论坛模块
   =================================== */
.forum-section {
  background: var(--bg-light);
}

.forum-description {
  font-size: 1.1rem;
  color: var(--text-color);
  margin-bottom: 2rem;
  line-height: 1.7;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.forum-btn {
  padding: 12px 36px;
  font-size: 1.1rem;
  border-radius: 8px;
}

.forum-btn i {
  font-size: 0.9rem;
}

/* 在线课程 URL 显示 */
.course-url-display {
  margin-bottom: 24px;
  font-family: 'Courier New', Consolas, monospace;
  position: relative;
  display: block;
}

.course-url-prefix {
  color: #999;
  font-size: 14px;
  margin-right: 8px;
}

.course-url-text {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 1px;
}

/* class 部分 - 红色 */
.course-url-text .c,
.course-url-text .l,
.course-url-text .a,
.course-url-text .s1,
.course-url-text .s2 {
  color: #e53e3e;
}

/* .rhino3d.com.cn 部分 - 深色 */
.course-url-text .d1,
.course-url-text .r,
.course-url-text .h,
.course-url-text .i,
.course-url-text .n,
.course-url-text .o,
.course-url-text .digit,
.course-url-text .d2,
.course-url-text .d3,
.course-url-text .c2,
.course-url-text .o2,
.course-url-text .m,
.course-url-text .d4,
.course-url-text .c3,
.course-url-text .n2 {
  color: #495057;
}

/* 技术论坛 URL 显示 */
.forum-url-display {
  margin-bottom: 20px;
  font-family: 'Courier New', Consolas, monospace;
}

.forum-url-prefix {
  color: #999;
  font-size: 14px;
  margin-right: 8px;
}

.forum-url-text {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 1px;
}

.forum-url-text .f,
.forum-url-text .o1,
.forum-url-text .r,
.forum-url-text .u,
.forum-url-text .m {
  color: var(--oc-orange-9);
}

/* 域名部分的样式 - 统一使用灰色 */
.forum-url-text .d1,
.forum-url-text .r2,
.forum-url-text .h,
.forum-url-text .i,
.forum-url-text .n,
.forum-url-text .o2,
.forum-url-text .digit,
.forum-url-text .d2,
.forum-url-text .d3,
.forum-url-text .c1,
.forum-url-text .o3,
.forum-url-text .m2,
.forum-url-text .d4,
.forum-url-text .c2,
.forum-url-text .n2 {
  color: #666;
  font-weight: 700;
}

/* 打字机效果光标 */
.typewriter-cursor {
  display: inline-block;
  width: 3px;
  height: 24px;
  background: #333;
  margin-left: 2px;
  vertical-align: middle;
  animation: cursor-blink 0.8s infinite;
}

@keyframes cursor-blink {
  0%, 50% { opacity: 1; }
  51%, 100% { opacity: 0; }
}

/* 客户/合作伙伴 */
.clients-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 3rem;
}

.client-item {
  display: inline-block;
  opacity: 0.7;
  transition: var(--transition);
}

.client-item:hover {
  opacity: 1;
}

.client-item img {
  max-height: 60px;
  max-width: 150px;
}

a.client-item {
  text-decoration: none;
  color: inherit;
}

/* 图标样式客户项 (Tips, Blog 等) */
.client-icon-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  min-width: 100px;
  transition: var(--transition);
}

.client-icon-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.client-icon-wrapper i {
  font-size: 2.5rem;
  color: var(--primary-color);
  transition: var(--transition);
}

.client-icon-item:hover .client-icon-wrapper i {
  color: var(--primary-dark);
  transform: scale(1.1);
}

.client-icon-label {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-color);
  text-align: center;
  white-space: nowrap;
}

/* 联系表单 */
.contact-info {
  background: var(--white);
  padding: 2rem;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.contact-item i {
  color: var(--primary-color);
  font-size: 1.25rem;
  width: 30px;
}

.contact-form {
  background: var(--white);
  padding: 2rem;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

/* 页脚 */
.footer {
  background: linear-gradient(180deg, #1a1a2e 0%, #0f0f1a 100%);
  color: var(--white);
  padding: 4rem 0 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* 品牌区域 */
.footer-brand {
  padding-right: 2rem;
}

.footer-logo-img {
  max-height: 40px;
}

.footer-logo-text {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--white);
}

/* Footer 上下叠加的 logo 样式 */
.footer-logos-stacked {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.footer-logos-stacked .footer-logo-img {
  width: 200px;
  height: auto;
  max-height: 70px;
  object-fit: contain;
}

.footer-logos-stacked .footer-logo-rhino {
  width: 200px;
  max-height: 60px;
}

.footer-logos-stacked .footer-logo-s3 {
  width: 200px;
  max-height: 50px;
}

.footer-tagline {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

/* 社交链接 */
.footer-social {
  display: flex;
  gap: 0.75rem;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  font-size: 1rem;
  transition: all 0.3s ease;
  text-decoration: none;
}

.social-link:hover {
  background: var(--primary-color);
  color: var(--white);
  transform: translateY(-2px);
  text-decoration: none;
}

.social-icon {
  width: 1.4em;
  height: 1.4em;
  vertical-align: middle;
}

/* 链接分组 */
.footer-links h4,
.footer-contact h4 {
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: var(--white);
  margin-bottom: 1.25rem;
}

.footer-links ul {
  margin: 0;
  padding: 0;
}

.footer-links li {
  margin-bottom: 0.65rem;
}

.footer-links a {
  color: var(--white);
  font-size: 0.9rem;
  transition: all 0.2s ease;
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--primary-color);
}

/* 联系信息 */
.footer-contact-list {
  margin: 0;
  padding: 0;
}

.footer-contact-list li {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  margin-bottom: 0.85rem;
  color: var(--white);
  font-size: 0.9rem;
}

.footer-contact-list li i {
  color: var(--primary-color);
  font-size: 0.9rem;
  width: 18px;
  text-align: center;
}

.contact-label {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
  margin-right: 0.25rem;
}

.footer-contact-list a {
  color: var(--white);
  transition: color 0.2s ease;
  text-decoration: none;
}

.footer-contact-list a:hover {
  color: var(--primary-color);
}

/* 版权信息 */
.footer-copyright {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.85rem;
}

.footer-legal {
  font-size: 0.85rem;
}

.footer-legal a {
  color: rgba(255, 255, 255, 0.5);
  transition: color 0.2s ease;
}

.footer-legal a:hover {
  color: var(--primary-color);
}

.footer-legal .divider {
  margin: 0 0.75rem;
  color: rgba(255, 255, 255, 0.2);
}

/* 响应式 */
@media (max-width: 991.98px) {
  .footer {
    padding: 3rem 0 1.5rem;
  }

  .footer-brand {
    padding-right: 0;
    margin-bottom: 2rem;
  }

  .footer-links {
    margin-bottom: 1.5rem;
  }
}

@media (max-width: 767.98px) {
  .footer {
    padding: 2.5rem 0 1.5rem;
  }

  .footer-brand {
    text-align: center;
    padding-right: 0;
    margin-bottom: 2rem;
  }

  .footer-logo {
    justify-content: center;
  }

  .footer-tagline {
    text-align: center;
  }

  .footer-social {
    justify-content: center;
  }

  .footer-links h4,
  .footer-contact h4 {
    text-align: center;
    margin-bottom: 1rem;
    font-size: 1.2rem;
  }

  .footer-links ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem 1rem;
  }

  .footer-links li {
    margin-bottom: 0;
  }

  .footer-contact-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem 1.5rem;
  }

  .footer-contact-list li {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    margin-bottom: 0;
  }

  .footer-contact-list .contact-label {
    white-space: nowrap;
    margin-right: 0.25rem;
  }

  /* 移动端链接分组和联系信息改为单列居中 */
  .footer .row > .col-lg-8 {
    flex: 0 0 100%;
    max-width: 100%;
  }

  .footer .row > .col-lg-8 > .row {
    justify-content: center;
  }

  .footer .row > .col-lg-8 > .row > .col-auto {
    flex: 0 0 100%;
    max-width: 100%;
    text-align: center;
  }

  .footer-links,
  .footer-contact {
    text-align: center;
  }

  .footer-legal {
    text-align: center;
    margin-top: 0.5rem;
  }

  .footer-copyright {
    text-align: center;
    margin-bottom: 0.5rem;
  }
}

/* 按钮样式 */
.btn {
  border-radius: 5px;
  font-weight: 500;
  transition: var(--transition);
}

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

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

.btn-outline-primary {
  color: var(--primary-color);
  border-color: var(--primary-color);
}

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

/* Focus 状态 - 移除默认边框，添加自定义样式 */
.btn:focus,
.btn.focus,
.course-nav-btn:focus,
.course-nav-btn.focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(51, 154, 240, 0.5);
}

/* 导航按钮 focus 特殊样式 */
.course-nav-btn:focus {
  box-shadow:
    0 0 0 3px rgba(51, 154, 240, 0.3),
    0 4px 30px rgba(0, 0, 0, 0.1);
}

/* 回到顶部按钮 */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow:
    0 4px 30px rgba(0, 0, 0, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.3),
    inset 0 -1px 0 rgba(255, 255, 255, 0.1);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  padding: 1px;
  background: linear-gradient(135deg, rgba(255,255,255,0.4) 0%, rgba(255,255,255,0.1) 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.back-to-top:hover {
  background: rgba(255, 255, 255, 0.4);
  box-shadow:
    0 8px 40px rgba(51, 154, 240, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.4),
    inset 0 -1px 0 rgba(255, 255, 255, 0.1);
  transform: translateY(-4px) scale(1.05);
}

.back-to-top:active {
  transform: translateY(-2px) scale(0.98);
}

.back-to-top i {
  color: var(--oc-gray-8);
  font-size: 1.2rem;
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.5);
  transition: var(--transition);
}

.back-to-top:hover i {
  color: var(--oc-blue-7);
}

.back-to-top:focus {
  outline: none;
  box-shadow:
    0 0 0 3px rgba(51, 154, 240, 0.3),
    0 8px 40px rgba(51, 154, 240, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

/* 预加载器 */
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgb(43, 44, 47);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

#preloader img {
  max-width: 100px;
}

/* 响应式设计 */
@media (max-width: 992px) {
  .hero-title {
    font-size: 2.5rem;
  }

  .section {
    padding: 60px 0;
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2rem;
  }

  .hero-content {
    text-align: center;
  }

  .section-title {
    font-size: 2rem;
  }

  .about-content {
    text-align: center;
  }

  .clients-grid {
    gap: 2rem;
  }

  /* 手机端底部logo横向排列 */
  .footer-logos-stacked {
    flex-direction: row;
    justify-content: center;
    gap: 20px;
  }

  .footer-logos-stacked .footer-logo-img,
  .footer-logos-stacked .footer-logo-rhino,
  .footer-logos-stacked .footer-logo-s3 {
    width: 150px;
    max-height: 50px;
  }
}

@media (max-width: 576px) {
  .hero-title {
    font-size: 1.75rem;
  }

  .animated-text {
    font-size: 1.25rem;
  }

  .section {
    padding: 40px 0;
  }

  .section-title {
    font-size: 1.75rem;
  }

  /* 小手机端底部logo横向排列 */
  .footer-logos-stacked {
    flex-direction: row;
    justify-content: center;
    gap: 15px;
  }

  .footer-logos-stacked .footer-logo-img,
  .footer-logos-stacked .footer-logo-rhino,
  .footer-logos-stacked .footer-logo-s3 {
    width: 130px;
    max-height: 45px;
  }
}