/* 通用样式 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "微软雅黑", Arial, sans-serif;
  line-height: 1.6;
  color: #1f2937;
  background: linear-gradient(135deg, #f0f4f8 0%, #ffffff 50%, #f7fafc 100%);
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
  opacity: 1;
  transition: opacity 0.3s ease-in-out;
}

/* 页面加载动画（可选） */
body.loading {
  opacity: 0;
}

body.loaded {
  opacity: 1;
}

/* 全局动画 */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInScale {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

.animate-fadeInUp {
  animation: fadeInUp 0.6s ease-out forwards;
}

.animate-fadeInScale {
  animation: fadeInScale 0.5s ease-out forwards;
}

.animate-slideInLeft {
  animation: slideInLeft 0.6s ease-out forwards;
}

/* 现代化滚动条 */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: #f1f5f9;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(135deg, #3b82f6, #8b5cf6);
  border-radius: 4px;
  transition: all 0.2s ease;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(135deg, #2563eb, #7c3aed);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* 导航栏样式 */
.header {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(229, 234, 242, 0.5);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.header.scrolled {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.12);
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
  height: 72px;
  position: relative;
}

/* 移动端汉堡菜单按钮 */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 8px;
  background: none;
  border: none;
  cursor: pointer;
  border-radius: 6px;
  transition: all 0.2s ease;
}

.mobile-menu-btn:hover {
  background: rgba(59, 130, 246, 0.1);
}

.mobile-menu-btn span {
  width: 20px;
  height: 2px;
  background: #374151;
  border-radius: 1px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-menu-btn.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -6px);
}

.logo {
  font-size: 20px;
  font-weight: 600;
  color: #1f2937;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo i {
  color: #3b82f6;
  font-size: 24px;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 24px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-link {
  text-decoration: none;
  color: #6b7280;
  font-weight: 500;
  font-size: 15px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 10px 16px;
  border-radius: 12px;
  position: relative;
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.nav-link::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #3b82f6, #8b5cf6);
  border-radius: 1px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  transform: translateX(-50%);
}

.nav-link:hover {
  color: #3b82f6;
  background: rgba(59, 130, 246, 0.08);
  transform: translateY(-1px);
}

.nav-link:hover::before {
  width: 80%;
}

.nav-link.active {
  color: #3b82f6;
  background: rgba(59, 130, 246, 0.1);
  font-weight: 600;
}

.nav-link.active::before {
  width: 80%;
}

.user-actions {
  display: flex;
  gap: 1rem;
}

.btn {
  padding: 12px 24px;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  white-space: nowrap;
  outline: none;
  user-select: none;
  position: relative;
  overflow: hidden;
  min-height: 44px; /* 适合触摸的最小高度 */
  -webkit-tap-highlight-color: transparent;
}

.btn::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;
}

.btn:hover::before {
  left: 100%;
}

.btn-primary {
  background: linear-gradient(135deg, #3b82f6 0%, #667eea 100%);
  color: white;
  box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #2563eb 0%, #5b6bcf 100%);
  box-shadow: 0 6px 25px rgba(59, 130, 246, 0.5);
  transform: translateY(-2px);
}

.btn-primary:active {
  transform: translateY(0);
  box-shadow: 0 2px 10px rgba(59, 130, 246, 0.3);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.8);
  color: #6b7280;
  border: 1px solid rgba(209, 213, 219, 0.8);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.95);
  border-color: #3b82f6;
  color: #3b82f6;
  box-shadow: 0 4px 15px rgba(59, 130, 246, 0.2);
  transform: translateY(-1px);
}

/* 主视觉区域 */
.hero {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
  color: white;
  padding: 140px 0 100px;
  text-align: center;
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNDAiIGhlaWdodD0iNDAiIHZpZXdCb3g9IjAgMCA0MCA0MCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPGNpcmNsZSBjeD0iMjAiIGN5PSIyMCIgcj0iMiIgZmlsbD0icmdiYSgyNTUsIDI1NSwgMjU1LCAwLjEpIi8+Cjwvc3ZnPgo=")
    repeat;
  opacity: 0.2;
  animation: float 20s ease-in-out infinite;
}

.hero::after {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(
    circle at 50% 50%,
    rgba(255, 255, 255, 0.1) 0%,
    transparent 50%
  );
  animation: rotate 30s linear infinite;
  pointer-events: none;
}

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

@keyframes rotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 24px;
  font-weight: 700;
  line-height: 1.1;
  position: relative;
  z-index: 3;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
  background: linear-gradient(45deg, #ffffff, #f0f9ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.25rem;
  margin-bottom: 40px;
  opacity: 0.95;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  z-index: 3;
  line-height: 1.6;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.2);
}

.hero-features {
  display: flex;
  justify-content: center;
  gap: 32px;
  margin: 48px 0;
  flex-wrap: wrap;
  position: relative;
  z-index: 3;
}

.hero-feature {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1rem;
  background: rgba(255, 255, 255, 0.15);
  padding: 16px 24px;
  border-radius: 16px;
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  min-height: 44px;
}

.hero-feature:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

.hero-feature .icon {
  font-size: 20px;
}

.btn-large {
  padding: 20px 40px;
  font-size: 1.125rem;
  margin-top: 48px;
  border-radius: 16px;
  font-weight: 700;
  position: relative;
  z-index: 3;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
  min-height: 56px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.btn-large:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

/* 服务优势板块 */
.services {
  padding: 80px 0;
  background: #ffffff;
}

.section-title {
  text-align: center;
  font-size: 36px;
  margin-bottom: 48px;
  color: #1f2937;
  font-weight: 600;
  line-height: 1.3;
}

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

.service-card {
  text-align: center;
  padding: 32px 24px;
  border-radius: 16px;
  transition: all 0.3s ease;
  background: white;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
  border: 1px solid rgba(229, 234, 242, 0.8);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(8px);
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(59, 130, 246, 0.15), 0 4px 6px rgba(0, 0, 0, 0.1);
  border-color: rgba(59, 130, 246, 0.3);
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #3b82f6, #667eea);
  transform: translateX(-100%);
  transition: transform 0.3s ease;
  border-radius: 16px 16px 0 0;
}

.service-card:hover::before {
  transform: translateX(0);
}

.service-icon {
  font-size: 48px;
  margin-bottom: 16px;
  color: #3b82f6;
  background: rgba(59, 130, 246, 0.1);
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.service-card h3 {
  font-size: 20px;
  margin-bottom: 12px;
  color: #1f2937;
  font-weight: 600;
  line-height: 1.4;
}

.service-card p {
  color: #6b7280;
  line-height: 1.6;
  font-size: 14px;
}

/* 支持平台 */
.supported-platforms {
  padding: 80px 0;
  background: #f8fafc;
}

/* 平台logo墙样式 */
.platform-wall {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 20px;
  margin-top: 32px;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.platform-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 24px 16px;
  background: white;
  border-radius: 16px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
  transition: all 0.3s ease;
  cursor: pointer;
  border: 1px solid rgba(229, 234, 242, 0.8);
}

.platform-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(59, 130, 246, 0.15), 0 4px 6px rgba(0, 0, 0, 0.1);
  border-color: rgba(59, 130, 246, 0.3);
}

.platform-item:hover .platform-logo-small {
  transform: scale(1.05);
  box-shadow: 0 8px 25px rgba(59, 130, 246, 0.4);
}

.platform-logo-small {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, #3b82f6, #667eea);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  color: white;
  font-size: 24px;
  box-shadow: 0 4px 14px rgba(59, 130, 246, 0.25);
  transition: all 0.3s ease;
}

.platform-name {
  font-size: 14px;
  font-weight: 500;
  color: #374151;
  text-align: center;
  line-height: 1.4;
}

.course-card {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
  transition: all 0.3s ease;
  border: 1px solid rgba(229, 234, 242, 0.8);
}

.course-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(59, 130, 246, 0.15), 0 4px 6px rgba(0, 0, 0, 0.1);
  border-color: rgba(59, 130, 246, 0.3);
}

.course-card-body {
  padding: 24px;
}

.course-card h3 {
  font-size: 18px;
  margin-bottom: 8px;
  color: #1f2937;
  font-weight: 600;
  line-height: 1.4;
}

.course-meta {
  display: flex;
  justify-content: space-between;
  margin-bottom: 12px;
  color: #6b7280;
  font-size: 14px;
  align-items: center;
}

.course-price {
  font-size: 20px;
  font-weight: 700;
  color: #ef4444;
  margin-bottom: 12px;
}

.course-description {
  color: #6b7280;
  margin-bottom: 20px;
  font-size: 14px;
  line-height: 1.6;
}

/* 用户评价 */
.testimonials {
  padding: 80px 0;
  background: #ffffff;
}

.testimonial-carousel {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  padding: 16px 0;
  scroll-behavior: smooth;
}

.testimonial-card {
  min-width: 360px;
  background: #f8fafc;
  padding: 24px;
  border-radius: 16px;
  border: 1px solid rgba(229, 234, 242, 0.8);
  position: relative;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
}

.testimonial-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, #3b82f6, #667eea);
  border-radius: 0 16px 16px 0;
}

.testimonial-content {
  font-style: italic;
  margin-bottom: 16px;
  color: #4b5563;
  font-size: 15px;
  line-height: 1.6;
}

.testimonial-author {
  font-weight: 600;
  color: #1f2937;
  font-size: 14px;
}

/* 底部信息栏 */
.footer {
  background: #1f2937;
  color: white;
  padding: 48px 0 24px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 32px;
  margin-bottom: 32px;
}

.footer-section h3 {
  margin-bottom: 16px;
  color: #ffffff;
  font-size: 16px;
  font-weight: 600;
}

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

.footer-section ul li {
  margin-bottom: 8px;
  font-size: 14px;
}

.footer-section ul li a {
  color: #9ca3af;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-section ul li a:hover {
  color: #e5e7eb;
}

.footer-bottom {
  text-align: center;
  padding-top: 24px;
  border-top: 1px solid #374151;
  color: #9ca3af;
  font-size: 14px;
}

/* 表格样式 */
.table-container {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
  margin: 32px 0;
  border: 1px solid rgba(229, 234, 242, 0.8);
}

.course-table {
  width: 100%;
  border-collapse: collapse;
}

.course-table th,
.course-table td {
  padding: 16px;
  text-align: left;
  border-bottom: 1px solid #f3f4f6;
  font-size: 14px;
}

.course-table th {
  background: #f8fafc;
  font-weight: 600;
  color: #374151;
  font-size: 14px;
}

.course-table tr:hover {
  background: #f8fafc;
}

/* 筛选搜索区域 */
.filters {
  background: white;
  padding: 24px;
  border-radius: 16px;
  margin-bottom: 32px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
  border: 1px solid rgba(229, 234, 242, 0.8);
}

.filter-row {
  display: flex;
  gap: 16px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.filter-group {
  flex: 1;
  min-width: 180px;
}

.filter-group label,
.form-label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: #374151;
  font-size: 14px;
}

.filter-input,
.filter-select,
.form-input,
.form-select {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font-size: 14px;
  background: white;
  transition: all 0.2s ease;
  outline: none;
}

.filter-input:focus,
.filter-select:focus,
.form-input:focus,
.form-select:focus {
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

/* 分页导航 */
.pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin: 32px 0;
}

.pagination a,
.pagination span {
  padding: 12px 16px;
  border: 1px solid #d1d5db;
  color: #374151;
  text-decoration: none;
  border-radius: 8px;
  transition: all 0.2s ease;
  font-size: 14px;
  background: white;
}

.pagination a:hover {
  background: #3b82f6;
  color: white;
  border-color: #3b82f6;
  transform: translateY(-1px);
}

.pagination .current {
  background: #3b82f6;
  color: white;
  border-color: #3b82f6;
}

/* 课程详情样式 */
.course-detail {
  padding: 100px 0 80px;
}

.course-header {
  background: white;
  padding: 32px;
  border-radius: 16px;
  margin-bottom: 32px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
  border: 1px solid rgba(229, 234, 242, 0.8);
}

.course-title {
  font-size: 32px;
  color: #1f2937;
  margin-bottom: 16px;
  font-weight: 600;
  line-height: 1.3;
}

.course-meta-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  background: #f8fafc;
  border-radius: 8px;
}

.meta-item .icon {
  color: #3b82f6;
  font-size: 18px;
}

.course-content {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 24px;
}

.main-content {
  background: white;
  padding: 32px;
  border-radius: 16px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
  border: 1px solid rgba(229, 234, 242, 0.8);
}

.sidebar {
  background: white;
  padding: 24px;
  border-radius: 16px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
  border: 1px solid rgba(229, 234, 242, 0.8);
  height: fit-content;
  position: sticky;
  top: 90px;
}

.content-section {
  margin-bottom: 32px;
}

.content-section h3 {
  color: #1f2937;
  margin-bottom: 16px;
  font-size: 20px;
  font-weight: 600;
  display: flex;
  align-items: center;
}

.content-section ul {
  padding-left: 1.5rem;
}

.content-section ul li {
  margin-bottom: 0.5rem;
}

.price-section {
  text-align: center;
  margin-bottom: 24px;
  padding: 24px;
  background: #f8fafc;
  border-radius: 12px;
  border: 1px solid rgba(229, 234, 242, 0.8);
}

.price {
  font-size: 28px;
  color: #ef4444;
  font-weight: 700;
  margin-bottom: 12px;
}

.faq {
  background: white;
  padding: 32px;
  border-radius: 16px;
  margin-top: 32px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
  border: 1px solid rgba(229, 234, 242, 0.8);
}

.faq-item {
  margin-bottom: 20px;
  border-bottom: 1px solid #f3f4f6;
  padding-bottom: 16px;
}

.faq-question {
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 8px;
  font-size: 15px;
}

.faq-answer {
  color: #6b7280;
  font-size: 14px;
  line-height: 1.6;
}

/* 响应式设计 */
/* 移动端导航菜单 */
@media (max-width: 768px) {
  .container {
    padding: 0 20px;
  }

  .navbar {
    height: auto;
    min-height: 72px;
  }

  .mobile-menu-btn {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: 72px;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    gap: 0;
    padding: 24px 0;
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid rgba(229, 234, 242, 0.8);
  }

  .nav-menu.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav-menu li {
    width: 100%;
    text-align: center;
  }

  .nav-link {
    display: block;
    width: 100%;
    padding: 16px 24px;
    margin: 0;
    border-radius: 0;
    font-size: 16px;
  }

  .nav-link::before {
    display: none;
  }

  .nav-link:hover {
    background: rgba(59, 130, 246, 0.1);
  }

  .user-actions {
    order: -1;
    gap: 8px;
  }

  .btn {
    padding: 10px 16px;
    font-size: 14px;
    min-height: 40px;
  }

  /* Hero Section */
  .hero {
    padding: 120px 0 80px;
    min-height: 100vh;
  }

  .hero h1 {
    font-size: 2.5rem;
    line-height: 1.2;
    margin-bottom: 20px;
  }

  .hero-subtitle {
    font-size: 1.125rem;
    margin-bottom: 32px;
    padding: 0 16px;
  }

  .hero-features {
    flex-direction: column;
    gap: 16px;
    margin: 32px 0;
  }

  .hero-feature {
    justify-content: center;
    min-width: 280px;
    margin: 0 auto;
  }

  .btn-large {
    padding: 16px 32px;
    font-size: 1rem;
    margin-top: 32px;
  }

  /* Services Grid */
  .services {
    padding: 60px 0;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .service-card {
    padding: 28px 24px;
  }

  .service-card h3 {
    font-size: 18px;
  }

  .service-icon {
    width: 70px;
    height: 70px;
    font-size: 40px;
  }

  /* Courses Grid */
  .courses-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  /* Platform Wall */
  .platform-wall {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 16px;
  }

  /* Course Content */
  .course-content {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .course-header {
    padding: 24px 20px;
  }

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

  .main-content,
  .sidebar {
    padding: 24px;
  }

  /* Filters */
  .filters {
    padding: 20px;
  }

  .filter-row {
    flex-direction: column;
    gap: 16px;
  }

  .filter-group {
    min-width: 100%;
  }

  /* Table */
  .table-container {
    overflow-x: auto;
  }

  .course-table {
    min-width: 600px;
    font-size: 14px;
  }

  .course-table th,
  .course-table td {
    padding: 12px 8px;
  }

  /* Section Title */
  .section-title {
    font-size: 2rem;
    margin-bottom: 32px;
  }

  /* Testimonials */
  .testimonial-card {
    min-width: 300px;
  }

  /* Footer */
  .footer-content {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

/* 小屏手机适配 */
@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  /* Navigation */
  .navbar {
    padding: 12px 0;
    min-height: 64px;
  }

  .nav-menu {
    top: 64px;
  }

  .logo {
    font-size: 18px;
  }

  /* Hero Section */
  .hero {
    padding: 100px 0 60px;
    min-height: 80vh;
  }

  .hero h1 {
    font-size: 2rem;
    line-height: 1.3;
    margin-bottom: 16px;
  }

  .hero-subtitle {
    font-size: 1rem;
    margin-bottom: 24px;
    padding: 0 12px;
  }

  .hero-features {
    gap: 12px;
    margin: 24px 0;
  }

  .hero-feature {
    min-width: 260px;
    padding: 12px 20px;
    font-size: 0.9rem;
  }

  .btn-large {
    padding: 14px 28px;
    font-size: 0.95rem;
    margin-top: 24px;
    min-height: 48px;
  }

  /* Sections */
  .services,
  .supported-platforms,
  .testimonials {
    padding: 50px 0;
  }

  .section-title {
    font-size: 1.75rem;
    margin-bottom: 28px;
  }

  /* Service Cards */
  .services-grid {
    gap: 16px;
  }

  .service-card {
    padding: 24px 20px;
  }

  .service-card h3 {
    font-size: 1.125rem;
  }

  .service-icon {
    width: 60px;
    height: 60px;
    font-size: 28px;
  }

  /* Platform Wall */
  .platform-wall {
    grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
    gap: 12px;
  }

  .platform-item {
    padding: 16px 12px;
  }

  .platform-logo-small {
    width: 44px;
    height: 44px;
    font-size: 18px;
    border-radius: 10px;
  }

  .platform-name {
    font-size: 11px;
  }

  /* Testimonials */
  .testimonial-card {
    min-width: 280px;
    padding: 20px;
  }

  /* Course Detail */
  .course-detail {
    padding: 80px 0 60px;
  }

  .course-header {
    padding: 20px 16px;
  }

  .course-title {
    font-size: 1.5rem;
  }

  .main-content,
  .sidebar {
    padding: 20px 16px;
  }

  .faq {
    padding: 20px 16px;
  }

  /* Forms and Inputs */
  .filters {
    padding: 16px;
  }

  .form-input,
  .form-select,
  .filter-input,
  .filter-select {
    padding: 10px 12px;
    font-size: 16px; /* 防止iOS缩放 */
  }

  /* Buttons */
  .btn {
    min-height: 44px;
    font-size: 14px;
  }

  /* Tables */
  .course-table {
    font-size: 13px;
  }

  .course-table th,
  .course-table td {
    padding: 10px 6px;
  }

  /* Footer */
  .footer {
    padding: 40px 0 20px;
  }

  .footer-section h3 {
    font-size: 15px;
  }

  .footer-section ul li {
    font-size: 13px;
  }
}

/* 现代化加载动画 */
.loading-spinner {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 9999;
  width: 50px;
  height: 50px;
  border: 3px solid rgba(59, 130, 246, 0.2);
  border-top: 3px solid #3b82f6;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

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

/* 现代化悬浮效果 */
.floating-element {
  animation: float 3s ease-in-out infinite;
}

/* 进入动画延迟 */
.animate-delay-1 {
  animation-delay: 0.1s;
}
.animate-delay-2 {
  animation-delay: 0.2s;
}
.animate-delay-3 {
  animation-delay: 0.3s;
}
.animate-delay-4 {
  animation-delay: 0.4s;
}
.animate-delay-5 {
  animation-delay: 0.5s;
}

/* 现代化焦点样式 */
*:focus {
  outline: 2px solid rgba(59, 130, 246, 0.5);
  outline-offset: 2px;
}

/* 提升表单体验 */
input:focus,
select:focus,
textarea:focus {
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(59, 130, 246, 0.2);
}

/* 优化选择效果 */
::selection {
  background: rgba(59, 130, 246, 0.2);
  color: #1f2937;
}

::-moz-selection {
  background: rgba(59, 130, 246, 0.2);
  color: #1f2937;
}

/* 附加工具类 */
.text-center {
  text-align: center;
}

.courses-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  margin-top: 32px;
}

/* 现代化卡片阴影 */
.shadow-sm {
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
}

.shadow-md {
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1), 0 2px 4px rgba(0, 0, 0, 0.06);
}

.shadow-lg {
  box-shadow: 0 10px 25px rgba(59, 130, 246, 0.15), 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* 现代化间距 */
.space-y-2 > * + * {
  margin-top: 8px;
}

.space-y-4 > * + * {
  margin-top: 16px;
}

.space-y-6 > * + * {
  margin-top: 24px;
}

/* 现代化颜色 */
.text-gray-500 {
  color: #6b7280;
}

.text-gray-600 {
  color: #4b5563;
}

.text-gray-700 {
  color: #374151;
}

.text-blue-600 {
  color: #3b82f6;
}

.bg-blue-50 {
  background-color: #eff6ff;
}

.bg-gray-50 {
  background-color: #f9fafb;
}

/* 现代化边框 */
.border {
  border: 1px solid #e5e7eb;
}

.border-gray-200 {
  border-color: #e5e7eb;
}

.rounded-lg {
  border-radius: 8px;
}

.rounded-xl {
  border-radius: 12px;
}

.rounded-2xl {
  border-radius: 16px;
}
