/* ==================== 主题通用效果 (保持与 style.css 一致) ==================== */
:root {
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.3);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.08);
  --shadow-card: 0 2px 12px rgba(79, 110, 247, 0.1);
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
  --gradient-primary: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  --gradient-dark: linear-gradient(135deg, #0A1628, #1A2842);
}

/* ==================== Home Page - Hero Carousel ==================== */
.hero-carousel {
  position: relative;
  height: 600px;
  overflow: hidden;
  margin-top: 80px;
}
.carousel-slide {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  opacity: 0;
  transition: opacity 0.5s;
}
.carousel-slide.active { opacity: 1; z-index: 1; }
.carousel-slide img,
.carousel-slide video {
  width: 100%; height: 100%;
  object-fit: cover;
}
.carousel-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(180deg, rgba(10, 22, 40, 0.3) 0%, rgba(10, 22, 40, 0.6) 100%);
  z-index: 2;
}
.carousel-content {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  z-index: 3;
  text-align: center;
  max-width: 800px;
  padding: 0 24px;
}
.carousel-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  background: rgba(79, 110, 247, 0.12);
  border: 1px solid rgba(79, 110, 247, 0.2);
  border-radius: 20px;
  margin-bottom: 24px;
  color: var(--primary-color);
  font-size: 0.9rem;
  font-weight: 500;
}
.carousel-badge span.pulse {
  width: 8px; height: 8px;
  background: var(--accent-color);
  border-radius: 50%;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.2); }
}
.carousel-title {
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 24px;
}
.text-gradient {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.carousel-desc {
  font-size: 1.25rem;
  color: #fff;
  margin-bottom: 40px;
  line-height: 1.8;
}
.carousel-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-bottom: 40px;
}
.carousel-nav {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 4;
}
.carousel-dot {
  width: 12px; height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.3s;
}
.carousel-dot.active {
  background: var(--primary-color);
  border-color: rgba(79, 110, 247, 0.4);
}
.carousel-dot:hover { background: rgba(79, 110, 247, 0.5); }
.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px; height: 50px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 50%;
  color: var(--text-primary);
  font-size: 1.2rem;
  cursor: pointer;
  z-index: 4;
  transition: all 0.3s;
  box-shadow: var(--shadow-sm);
}
.carousel-arrow:hover { background: var(--bg-primary); box-shadow: var(--shadow-md); }
.carousel-arrow.prev { left: 30px; }
.carousel-arrow.next { right: 30px; }

/* Video Mute Button */
.video-mute-btn {
  position: absolute;
  bottom: 80px;
  right: 24px;
  z-index: 10;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.4);
  border: 2px solid rgba(255, 255, 255, 0.3);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.video-mute-btn:hover {
  background: rgba(0, 0, 0, 0.6);
  border-color: rgba(255, 255, 255, 0.6);
  transform: scale(1.1);
}
.video-mute-btn svg { width: 20px; height: 20px; }

/* Global Mute Button (new version with muted state) */
.global-mute-btn {
  position: absolute;
  bottom: 80px;
  right: 24px;
  z-index: 10;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.4);
  border: 2px solid rgba(255, 255, 255, 0.3);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.global-mute-btn:hover {
  background: rgba(0, 0, 0, 0.6);
  border-color: rgba(255, 255, 255, 0.6);
  transform: scale(1.1);
}
.global-mute-btn.muted {
  opacity: 0.7;
}
.global-mute-btn svg { width: 16px; height: 16px; }
.mute-indicator {
  position: absolute;
  top: -4px; right: -4px;
  font-size: 14px;
  animation: bounce 1s infinite;
}
@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-3px); }
}

/* Stats Section */
.stats-section {
  padding: 60px 0;
  background: var(--bg-primary);
}
.stats-section .stats-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
}
.stats-section .stat-card {
  flex: 1 1 200px;
  max-width: 300px;
  text-align: center;
  padding: 32px;
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  transition: all 0.3s;
  box-shadow: var(--shadow-sm);
}
.stats-section .stat-card:hover {
  transform: translateY(-4px);
  border-color: rgba(79, 110, 247, 0.3);
  box-shadow: var(--shadow-card);
}
.stats-section .stat-value {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 8px;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.stats-section .stat-label {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

/* Skills / Vendor Carousels */
.skills-section { padding: 80px 0; }
.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
}
.section-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.section-subtitle {
  color: var(--text-secondary);
  font-size: 1rem;
}
.section-nav { display: flex; gap: 12px; }
.nav-arrow {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  cursor: pointer;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.nav-arrow:hover {
  background: var(--primary-color);
  border-color: var(--primary-color);
}
.nav-arrow:disabled { opacity: 0.5; cursor: not-allowed; }

.skills-carousel-wrapper {
  position: relative;
  overflow: hidden;
  margin: 0 -24px;
  padding: 0 24px;
}
.skills-carousel {
  display: flex;
  gap: 24px;
  transition: transform 0.5s ease;
}
.skills-carousel .skill-card {
  flex: 0 0 350px;
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.3s;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
}
.skills-carousel .skill-card:hover {
  transform: translateY(-8px);
  border-color: rgba(79, 110, 247, 0.3);
  box-shadow: var(--shadow-card);
}
.skill-image {
  width: 100%; height: 140px;
  object-fit: cover;
  background: var(--gradient-dark);
}
.skill-content { padding: 20px; }
.skill-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}
.skill-category {
  padding: 4px 12px;
  background: rgba(0, 102, 255, 0.1);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  font-size: 0.75rem;
  color: var(--primary-light);
}
.skill-type {
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 600;
}
.skill-type.free {
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: #10B981;
}
.skill-type.commercial {
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid rgba(245, 158, 11, 0.3);
  color: #F59E0B;
}
.skill-rating {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.85rem;
  color: #FFB800;
  margin-left: auto;
}
.skill-title {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 12px;
  line-height: 1.4;
}
.skill-description {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 16px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.skill-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 16px;
  border-top: 1px solid var(--border-color);
}
.skill-author {
  display: flex;
  align-items: center;
  gap: 8px;
}
.skill-avatar {
  width: 28px; height: 28px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--border-color);
}
.skill-author-name {
  font-size: 0.85rem;
  color: var(--text-secondary);
}
.skill-stats {
  display: flex;
  gap: 16px;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

/* Vendor Section */
.vendor-section {
  padding: 80px 0;
  background: var(--bg-primary);
}
.vendor-carousel-wrapper {
  position: relative;
  overflow: hidden;
  margin: 0 -24px;
  padding: 0 24px;
}
.vendor-carousel {
  display: flex;
  gap: 24px;
  transition: transform 0.5s ease;
}
.vendor-carousel .vendor-card {
  flex: 0 0 300px;
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 32px;
  text-align: center;
  transition: all 0.3s;
  box-shadow: var(--shadow-sm);
}
.vendor-carousel .vendor-card:hover {
  transform: translateY(-8px);
  border-color: rgba(79, 110, 247, 0.3);
  box-shadow: var(--shadow-card);
}
.vendor-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: rgba(0, 255, 136, 0.1);
  border: 1px solid rgba(0, 255, 136, 0.3);
  border-radius: 16px;
  margin-bottom: 20px;
  font-size: 0.8rem;
  color: var(--accent-color);
}
.vendor-avatar {
  width: 100px; height: 100px;
  border-radius: 50%;
  margin: 0 auto 20px;
  object-fit: cover;
  border: 3px solid var(--border-color);
}
.vendor-name {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 8px;
}
.vendor-title {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 16px;
}
.vendor-bio {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 20px;
}
.vendor-stats {
  display: flex;
  justify-content: center;
  gap: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--border-color);
}
.vendor-stat { text-align: center; }
.vendor-stat-value {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--primary-light);
}
.vendor-stat-label {
  font-size: 0.75rem;
  color: var(--text-secondary);
}

/* Team Section */
.team-section {
  padding: 80px 0;
  background: var(--bg-secondary, #1e293b);
}
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.team-feature {
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: all 0.3s;
  box-shadow: var(--shadow-sm);
}
.team-feature:hover {
  transform: translateY(-4px);
  border-color: rgba(79, 110, 247, 0.3);
  box-shadow: var(--shadow-card);
}
.team-icon {
  width: 60px; height: 60px;
  background: var(--gradient-primary);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 20px;
}
.team-feature-title {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 12px;
}
.team-feature-desc {
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 20px;
}
.team-feature-list { list-style: none; }
.team-feature-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  color: var(--text-secondary);
  font-size: 0.9rem;
}
.team-feature-list li i { color: var(--accent-color); }
.team-demo {
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 40px;
  margin-top: 48px;
}
.team-demo-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}
.team-demo-icon {
  width: 50px; height: 50px;
  background: var(--gradient-primary);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}
.team-demo-title {
  font-size: 1.5rem;
  font-weight: 600;
}
.team-demo-desc {
  color: var(--text-secondary);
  margin-bottom: 32px;
  line-height: 1.7;
}
.team-url-box {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 20px;
  font-family: var(--font-mono);
  color: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.team-url-example { flex: 1; }
.team-url-label {
  color: var(--text-secondary);
  font-size: 0.85rem;
  margin-bottom: 4px;
}

@media (max-width: 1024px) {
  .stats-section .stat-card { flex: 1 1 180px; }
  .carousel-title { font-size: 2.5rem; }
  .skills-carousel .skill-card { flex: 0 0 300px; }
  .vendor-carousel .vendor-card { flex: 0 0 260px; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .hero-carousel { height: 500px; }
  .carousel-title { font-size: 2rem; }
  .carousel-desc { font-size: 1rem; }
  .carousel-actions { flex-direction: column; }
  .stats-section .stat-card { flex: 1 1 100%; max-width: none; }
  .section-header { flex-direction: column; gap: 16px; align-items: flex-start; }
  .skills-carousel .skill-card { flex: 0 0 280px; }
  .vendor-carousel .vendor-card { flex: 0 0 240px; }
  .carousel-arrow { width: 40px; height: 40px; }
  .carousel-arrow.prev { left: 16px; }
  .carousel-arrow.next { right: 16px; }
  .team-grid { grid-template-columns: 1fr; }
  .team-demo { padding: 24px; }
  .team-url-box { flex-direction: column; gap: 16px; }
}
@media (max-width: 480px) {
  .hero-carousel { height: 450px; }
}

/* ===== Skills List Page ===== */
.skills-list-page {
  padding-top: 72px;
}

/* Search Header */
.search-header {
  padding: 60px 0;
  background: linear-gradient(180deg, #0A1628 0%, #111D2E 100%);
}

.search-box {
  position: relative;
  max-width: 700px;
  margin: 0 auto;
}
.search-box .search-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-secondary);
  z-index: 2;
}
.search-input {
  width: 100%;
  padding: 16px 20px 16px 48px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  color: var(--text-primary);
  font-size: 1rem;
  transition: all 0.3s;
}
.search-input:focus {
  outline: none;
  border-color: var(--primary-color);
  background: rgba(255, 255, 255, 0.08);
}
.search-input::placeholder {
  color: var(--text-secondary);
}

.tags-row {
  text-align: center;
  margin-top: 24px;
}
.tag {
  display: inline-block;
  padding: 4px 14px;
  background: rgba(0, 102, 255, 0.1);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  font-size: 0.85rem;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.3s;
  margin: 4px;
}
.tag:hover {
  background: rgba(0, 102, 255, 0.2);
  border-color: var(--primary-light);
  color: var(--text-primary);
}

/* Layout */
.content-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 32px;
  padding: 40px 0;
}

/* Sidebar Filters */
.filter-sidebar {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 24px;
  height: fit-content;
  position: sticky;
  top: 90px;
}
.filter-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}
.filter-title {
  font-size: 1.1rem;
  font-weight: 600;
}
.filter-reset {
  font-size: 0.85rem;
  color: var(--primary-light);
  cursor: pointer;
}
.filter-reset:hover {
  color: var(--primary-color);
}
.filter-group {
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-color);
}
.filter-group:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}
.filter-group-title {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.filter-option {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 0;
  cursor: pointer;
  color: var(--text-secondary);
  font-size: 0.9rem;
  transition: color 0.2s;
}
.filter-option:hover {
  color: var(--text-primary);
}
.filter-option input[type="checkbox"] {
  accent-color: var(--primary-color);
}

/* Sort Toolbar */
.sort-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  padding: 16px 20px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
}
.sort-info {
  color: var(--text-secondary);
  font-size: 0.9rem;
}
.sort-controls {
  display: flex;
  align-items: center;
  gap: 12px;
}
.sort-label {
  color: var(--text-secondary);
  font-size: 0.9rem;
}
.sort-select {
  padding: 8px 12px;
  background: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-size: 0.9rem;
  cursor: pointer;
}
.sort-select:focus {
  outline: none;
  border-color: var(--primary-color);
}

/* Skills Grid */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
  margin-bottom: 32px;
}

.skill-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.3s;
  cursor: pointer;
}
.skill-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary-light);
  box-shadow: var(--shadow-lg);
}
.skill-card-image {
  width: 100%;
  height: 120px;
  object-fit: cover;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
}
.skill-card-content {
  padding: 20px;
}
.skill-card-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}
.skill-card-category {
  padding: 4px 10px;
  background: rgba(0, 102, 255, 0.1);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  font-size: 0.75rem;
  color: var(--primary-light);
}
.skill-card-badge {
  padding: 4px 10px;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 600;
}
.skill-card-badge.free {
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: #10B981;
}
.skill-card-badge.paid {
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid rgba(245, 158, 11, 0.3);
  color: #F59E0B;
}
.skill-card-rating {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.85rem;
  color: #FFB800;
  margin-left: auto;
}
.skill-card-title {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 10px;
  line-height: 1.4;
}
.skill-card-desc {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 16px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.skill-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 14px;
  border-top: 1px solid var(--border-color);
}
.skill-card-author {
  display: flex;
  align-items: center;
  gap: 8px;
}
.skill-card-avatar {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  object-fit: cover;
}
.skill-card-author-name {
  font-size: 0.85rem;
  color: var(--text-secondary);
}
.skill-card-stats {
  display: flex;
  gap: 12px;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

@media (max-width: 1024px) {
  .content-layout {
    grid-template-columns: 1fr;
  }
  .filter-sidebar {
    display: none;
  }
  .skills-grid {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  }
}

@media (max-width: 768px) {
  .search-header {
    padding: 40px 0;
  }
  .sort-toolbar {
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
  }
  .skills-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== Skills List Page ===== */
.skill-detail-header {
  background: linear-gradient(180deg, #0A1628 0%, #111D2E 100%);
  padding: 100px 0 60px;
}
.skill-detail-content {
  padding: 40px 0;
}
.skill-sidebar {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 24px;
  position: sticky;
  top: 90px;
}
.price-tag {
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent-color);
}
.feature-list {
  list-style: none;
  padding: 0;
}
.feature-list li {
  padding: 8px 0;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  gap: 8px;
}
.feature-list li:last-child {
  border-bottom: none;
}
.feature-list i {
  color: var(--accent-color);
}
.tab-nav {
  display: flex;
  gap: 24px;
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 24px;
}
.tab-nav a {
  padding: 12px 0;
  color: var(--text-secondary);
  border-bottom: 2px solid transparent;
  transition: all 0.2s;
  text-decoration: none;
}
.tab-nav a:hover,
.tab-nav a.active {
  color: var(--text-primary);
  border-bottom-color: var(--primary-color);
}
.review-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 20px;
  margin-bottom: 16px;
}
.code-block {
  background: #1a1a2e;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 16px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.9rem;
  overflow-x: auto;
}
.code-block pre {
  margin: 0;
}
.code-block code {
  color: var(--text-primary);
}
.detail-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 40px;
}

@media (max-width: 1024px) {
  .detail-layout {
    grid-template-columns: 1fr;
  }
  .skill-sidebar {
    position: static;
    order: -1;
  }
}

@media (max-width: 768px) {
  .skill-detail-header {
    padding: 80px 0 40px;
  }
  .tab-nav {
    gap: 16px;
    overflow-x: auto;
    white-space: nowrap;
  }
}

/* ===== Skills Detail Page ===== */
/* Hero Section */
.tutorials-hero {
  background: linear-gradient(135deg, #0A1628 0%, #1A2842 50%, #0A1628 100%);
  padding: 120px 0 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.tutorials-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><path d="M0,600 L1200,600 L1200,400 Q600,600 0,400 Z" fill="rgba(0,102,255,0.05)"/></svg>') no-repeat center;
  background-size: cover;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  background: rgba(0, 102, 255, 0.2);
  border: 1px solid rgba(0, 102, 255, 0.4);
  border-radius: 20px;
  margin-bottom: 24px;
  font-size: 0.9rem;
}
.tutorials-hero h1 {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 24px;
  background: linear-gradient(135deg, #0066FF 0%, #00D4FF 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.tutorials-hero p {
  font-size: 1.25rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 40px;
}

/* Categories Section */
.categories-section {
  padding: 60px 0;
  background: var(--bg-secondary);
}
.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
}
.category-card {
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 32px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s;
}
.category-card:hover, .category-card.active {
  border-color: var(--primary-color);
  background: rgba(0, 102, 255, 0.05);
  transform: translateY(-4px);
}
.category-icon {
  font-size: 3rem;
  margin-bottom: 16px;
}
.category-name {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 8px;
}
.category-count {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

/* Tutorials Section */
.tutorials-section {
  padding: 80px 0;
}
.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 24px;
}
.section-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.section-subtitle {
  color: var(--text-secondary);
  font-size: 1rem;
}
.filter-tabs {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.filter-tab {
  padding: 8px 20px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.3s;
}
.filter-tab:hover, .filter-tab.active {
  background: var(--primary-color);
  border-color: var(--primary-color);
  color: white;
}

.tutorials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 32px;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Tutorial Card */
.tutorial-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  transition: all 0.3s;
}
.tutorial-card:hover {
  transform: translateY(-8px);
  border-color: var(--primary-light);
  box-shadow: 0 8px 32px rgba(0, 102, 255, 0.3);
}
.tutorial-thumbnail {
  position: relative;
  height: 200px;
  background: var(--gradient-dark);
  overflow: hidden;
}
.tutorial-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.tutorial-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 6px 14px;
  background: rgba(0, 0, 0, 0.8);
  border-radius: 20px;
  font-size: 0.8rem;
  backdrop-filter: blur(10px);
}
.tutorial-badge.beginner { background: rgba(16, 185, 129, 0.9); }
.tutorial-badge.intermediate { background: rgba(245, 158, 11, 0.9); }
.tutorial-badge.advanced { background: rgba(239, 68, 68, 0.9); }
.tutorial-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  background: rgba(0, 0, 0, 0.7);
  border: 2px solid white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  transition: all 0.3s;
}
.tutorial-card:hover .tutorial-play {
  transform: translate(-50%, -50%) scale(1.1);
  background: var(--primary-color);
}
.tutorial-duration {
  position: absolute;
  bottom: 16px;
  right: 16px;
  padding: 4px 10px;
  background: rgba(0, 0, 0, 0.8);
  border-radius: 4px;
  font-size: 0.8rem;
}
.tutorial-content {
  padding: 24px;
}
.tutorial-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}
.tutorial-category {
  padding: 4px 12px;
  background: rgba(0, 102, 255, 0.1);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  font-size: 0.75rem;
  color: var(--primary-light);
}
.tutorial-title {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 12px;
  line-height: 1.4;
}
.tutorial-description {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 16px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.tutorial-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 16px;
  border-top: 1px solid var(--border-color);
}
.tutorial-stats {
  display: flex;
  gap: 16px;
  font-size: 0.85rem;
  color: var(--text-secondary);
}
.tutorial-author {
  display: flex;
  align-items: center;
  gap: 8px;
}
.tutorial-avatar {
  width: 24px;
  height: 24px;
  border-radius: 50%;
}

/* Featured Tutorial */
.featured-tutorial {
  max-width: 1400px;
  margin: 0 auto 60px;
  padding: 0 24px;
}
.featured-card {
  background: var(--bg-secondary);
  border: 2px solid var(--primary-color);
  border-radius: var(--radius-xl);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}
.featured-video {
  position: relative;
  height: 100%;
  min-height: 400px;
  background: #000;
}
.featured-video video, .featured-video img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.featured-content {
  padding: 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.featured-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  background: rgba(0, 102, 255, 0.2);
  border: 1px solid var(--primary-color);
  border-radius: 20px;
  margin-bottom: 24px;
  width: fit-content;
}
.featured-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 16px;
}
.featured-description {
  color: var(--text-secondary);
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 32px;
}

/* Load More */
.load-more {
  text-align: center;
  margin-top: 60px;
}
.btn-load-more {
  padding: 14px 40px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  color: var(--text-primary);
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s;
}
.btn-load-more:hover {
  background: var(--primary-color);
  border-color: var(--primary-color);
}

@media (max-width: 1024px) {
  .tutorials-hero h1 { font-size: 2.5rem; }
  .featured-card { grid-template-columns: 1fr; }
  .featured-video { min-height: 300px; }
  .tutorials-grid { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
}

@media (max-width: 768px) {
  .tutorials-hero h1 { font-size: 2rem; }
  .category-grid { grid-template-columns: repeat(2, 1fr); }
  .tutorials-grid { grid-template-columns: 1fr; }
  .featured-content { padding: 32px; }
  .section-header { flex-direction: column; gap: 16px; align-items: flex-start; }
}

/* ===== Tutorials List Page ===== */
/* Hero Section */
.downloads-hero {
  background: linear-gradient(135deg, #0A1628 0%, #1A2842 50%, #0A1628 100%);
  padding: 120px 0 80px;
  text-align: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  background: rgba(0, 102, 255, 0.2);
  border: 1px solid rgba(0, 102, 255, 0.4);
  border-radius: 20px;
  margin-bottom: 24px;
  font-size: 0.9rem;
}
.downloads-hero h1 {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 24px;
  background: linear-gradient(135deg, #0066FF 0%, #00D4FF 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.downloads-hero p {
  font-size: 1.25rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

/* Stats Bar */
.stats-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
  max-width: 1400px;
  margin: -40px auto 60px;
  padding: 0 24px;
}
.stat-card {
  flex: 1 1 200px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 24px;
  text-align: center;
  box-shadow: 0 8px 32px rgba(0, 102, 255, 0.2);
}
.stat-value {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 8px;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.stat-label {
  color: var(--text-secondary);
  font-size: 0.9rem;
}
.stat-icon {
  font-size: 1.5rem;
  margin-bottom: 8px;
  color: var(--primary);
  opacity: 0.8;
}
.stat-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary-light);
  box-shadow: 0 12px 40px rgba(0, 102, 255, 0.3);
}

/* Categories Section */
.categories-section {
  padding: 40px 0;
  background: var(--bg-secondary);
}
.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
}
.category-card {
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 24px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s;
  text-decoration: none;
  color: inherit;
}
.category-card:hover, .category-card.active {
  border-color: var(--primary-color);
  background: rgba(0, 102, 255, 0.05);
  transform: translateY(-4px);
}
.category-icon {
  font-size: 2.5rem;
  margin-bottom: 12px;
}
.category-name {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 4px;
}
.category-count {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

/* Platform Tabs */
.platform-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 24px;
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 24px;
}
.platform-tab {
  padding: 8px 20px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}
.platform-tab:hover, .platform-tab.active {
  background: var(--primary-color);
  border-color: var(--primary-color);
  color: white;
}

/* Downloads Section */
.downloads-section {
  padding: 80px 0;
}
.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 24px;
}
.section-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.section-subtitle {
  color: var(--text-secondary);
  font-size: 1rem;
}
.search-box {
  position: relative;
  width: 300px;
}
.search-box input {
  width: 100%;
  padding: 10px 40px 10px 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-size: 0.9rem;
}
.search-box input:focus {
  outline: none;
  border-color: var(--primary-color);
}
.search-box i {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-secondary);
}

.downloads-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 24px;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Download Card */
.download-card {
  display: flex;
  flex-direction: column;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.download-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary-light);
  box-shadow: 0 12px 40px rgba(0, 102, 255, 0.25);
}
.download-header {
  display: flex;
  align-items: center;
  padding: 20px 24px;
  gap: 16px;
  border-bottom: 1px solid var(--border-color);
}
.download-icon {
  width: 64px;
  height: 64px;
  background: var(--gradient-primary);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
}
.download-icon::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    135deg,
    transparent 40%,
    rgba(255, 255, 255, 0.15) 50%,
    transparent 60%
  );
  pointer-events: none;
}
.download-info {
  flex: 1;
  min-width: 0;
}
.download-title {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  letter-spacing: -0.01em;
}
.download-version {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 4px;
}
.download-meta {
  display: flex;
  gap: 12px;
  font-size: 0.8rem;
  color: var(--text-secondary);
}
.official-badge {
  padding: 2px 8px;
  background: rgba(0, 255, 136, 0.1);
  border: 1px solid rgba(0, 255, 136, 0.3);
  border-radius: 4px;
  color: #10B981;
  font-size: 0.75rem;
}

.download-body {
  padding: 24px;
}
.download-description {
  color: var(--text-secondary);
  font-size: 0.875rem;
  line-height: 1.6;
  margin-bottom: 20px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.download-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.download-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: rgba(0, 102, 255, 0.08);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  transition: all 0.3s;
  text-decoration: none;
  color: inherit;
}
.download-link:hover {
  background: rgba(0, 102, 255, 0.15);
  border-color: var(--primary-color);
  box-shadow: 0 2px 12px rgba(0, 102, 255, 0.15);
}
.download-link-primary {
  background: var(--primary-color);
  border-color: var(--primary-color);
  color: #fff;
}
.download-link-primary:hover {
  background: var(--primary-dark);
  box-shadow: 0 4px 20px rgba(0, 102, 255, 0.4);
}
.link-info {
  display: flex;
  align-items: center;
  gap: 12px;
}
.link-icon {
  font-size: 1.2rem;
}
.link-name {
  font-weight: 500;
}
.link-size {
  font-size: 0.85rem;
  color: var(--text-secondary);
}
.link-action {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
}
.mirror-badge {
  padding: 2px 8px;
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.3);
  border-radius: 4px;
  font-size: 0.75rem;
  color: #F59E0B;
}

.download-footer {
  padding: 14px 24px;
  background: rgba(0, 0, 0, 0.2);
  border-top: 1px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
}
.download-stats {
  display: flex;
  gap: 20px;
  font-size: 0.85rem;
  color: var(--text-secondary);
}
.download-stats span {
  transition: color 0.2s;
}
.download-stats span:hover {
  color: var(--primary-color);
}

@keyframes download-bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-3px); }
}

.link-action .fa-download {
  transition: transform 0.3s;
}
.download-link-primary:hover .fa-download {
  animation: download-bounce 0.6s ease;
}

@media (max-width: 1200px) {
  .downloads-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 1024px) {
  .downloads-hero h1 { font-size: 2.5rem; }
  .stats-bar .stat-card { flex: 1 1 180px; }
  .downloads-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .downloads-hero h1 { font-size: 2rem; }
  .stats-bar .stat-card { flex: 1 1 100%; }
  .category-grid { grid-template-columns: repeat(3, 1fr); }
  .section-header { flex-direction: column; gap: 16px; align-items: flex-start; }
  .search-box { width: 100%; }
  .platform-tabs { flex-wrap: wrap; }
  .download-header { padding: 16px 20px; gap: 12px; }
  .download-icon { width: 56px; height: 56px; }
  .download-body { padding: 20px; }
  .download-footer { padding: 12px 20px; }
  .downloads-grid { gap: 16px; padding: 0 16px; }
  .download-stats { gap: 14px; }
}

@media (max-width: 480px) {
  .download-header { flex-direction: column; align-items: center; text-align: center; }
  .download-info { text-align: center; }
  .download-meta { justify-content: center; }
}

/* ===== Downloads List Page ===== */
.marketplace-page {
  padding-top: 72px;
}

/* Hero */
.marketplace-hero {
  padding: 80px 0;
  background: linear-gradient(180deg, #0A1628 0%, #111D2E 100%);
  text-align: center;
}

/* Vendor Tiers */
.tier-section {
  padding: 60px 0;
}
.tier-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.tier-card {
  text-align: center;
  padding: 40px 32px;
  border-radius: var(--radius-lg);
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-top: 4px solid var(--border-color);
  transition: all 0.3s;
}
.tier-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.tier-card.featured {
  border-top-color: var(--primary-color);
}
.tier-card.premium {
  border-top-color: #FFD700;
}
.tier-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  font-size: 2rem;
}
.tier-name {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 12px;
}
.tier-desc {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 20px;
}
.tier-revenue {
  font-size: 1.5rem;
  font-weight: 700;
}
.tier-features {
  text-align: left;
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-top: 20px;
  line-height: 2;
  list-style: none;
  padding: 0;
}
.tier-features li i {
  color: var(--accent-color);
  margin-right: 8px;
}

/* Vendors Section */
.vendors-section {
  padding: 60px 0;
  background: var(--bg-secondary);
}
.vendor-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
}

.vendor-card {
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  transition: all 0.3s;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  display: block;
}
.vendor-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary-light);
  box-shadow: var(--shadow-lg);
}
.vendor-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  margin: 0 auto 16px;
  object-fit: cover;
}
.vendor-name {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 4px;
}
.vendor-username {
  color: var(--text-secondary);
  font-size: 0.85rem;
  margin-bottom: 12px;
}
.vendor-tier-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 12px;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 12px;
  font-size: 0.8rem;
  margin-bottom: 16px;
}
.vendor-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  font-size: 0.85rem;
}
.vendor-stat-value {
  font-weight: 600;
}
.vendor-stat-label {
  color: var(--text-secondary);
  font-size: 0.75rem;
}

/* Stats Section */
.stats-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
  margin-bottom: 40px;
}
.stat-box {
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 24px;
  text-align: center;
}
.stat-number {
  font-size: 2rem;
  font-weight: 700;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 4px;
}
.stat-desc {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

/* Search & Filter */
.search-filter-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}
.search-field {
  position: relative;
  flex: 1;
  max-width: 400px;
}
.search-field input {
  width: 100%;
  padding: 12px 40px 12px 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-size: 0.9rem;
}
.search-field input:focus {
  outline: none;
  border-color: var(--primary-color);
}
.search-field i {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-secondary);
}
.sort-select {
  padding: 10px 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-size: 0.9rem;
  cursor: pointer;
}
.sort-select:focus {
  outline: none;
  border-color: var(--primary-color);
}

/* CTA Section */
.cta-section {
  padding: 80px 0;
  text-align: center;
}
.cta-section h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 16px;
}
.cta-section p {
  color: var(--text-secondary);
  margin-bottom: 32px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}
.cta-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

@media (max-width: 1024px) {
  .tier-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .vendor-grid {
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  }
}

@media (max-width: 768px) {
  .search-filter-bar {
    flex-direction: column;
    align-items: stretch;
  }
  .search-field {
    max-width: 100%;
  }
}

/* ===== Marketplace List Page ===== */
:root {
        --store-primary: #FF6B35;
        --store-primary-dark: #E55A2B;
        --store-primary-light: #FF8A5C;
        --store-secondary: #FFD93D;
        --store-accent: #6BCB77;
    }

    .store-hero {
        background: linear-gradient(180deg, #1A1A2E 0%, #16213E 100%);
        padding: 6rem 2rem 3rem;
        margin-top: 60px;
        text-align: center;
        color: white;
    }

    .store-hero h1 {
        font-size: 2.5rem;
        font-weight: 700;
        margin-bottom: 0.5rem;
    }

    .store-hero p {
        font-size: 1.1rem;
        color: rgba(255, 255, 255, 0.7);
        max-width: 600px;
        margin: 0 auto;
    }

    .products-section {
        padding: 3rem 2rem;
        max-width: 1200px;
        margin: 0 auto;
    }

    .products-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 2rem;
    }

    .products-header h2 {
        font-size: 1.75rem;
        color: var(--text-primary);
    }

    .collection-switcher {
        display: flex;
        gap: 0.5rem;
        flex-wrap: wrap;
    }

    .collection-btn {
        padding: 6px 12px;
        border: 1px solid var(--border-color);
        border-radius: 20px;
        background: white;
        color: var(--text-secondary);
        font-size: 0.85rem;
        cursor: pointer;
        transition: all 0.3s;
        text-decoration: none;
    }

    .collection-btn:hover {
        border-color: var(--store-primary);
        color: var(--store-primary);
    }

    .collection-btn.active {
        background: var(--store-primary);
        color: white;
        border-color: var(--store-primary);
    }

    .products-grid {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 1.5rem;
    }

    .product-card {
        background: var(--bg-card);
        border-radius: var(--radius-lg);
        overflow: hidden;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
        transition: transform 0.3s, box-shadow 0.3s;
        border: 1px solid transparent;
    }

    .product-card:hover {
        transform: translateY(-4px);
        box-shadow: var(--shadow-lg);
        border-color: var(--store-primary-light);
    }

    .product-image {
        height: 200px;
        background: linear-gradient(135deg, #1A1A2E 0%, #16213E 100%);
        display: flex;
        align-items: center;
        justify-content: center;
        position: relative;
    }

    .product-image i {
        font-size: 4rem;
        color: var(--store-primary);
        opacity: 0.8;
    }

    .product-badge {
        position: absolute;
        top: 1rem;
        right: 1rem;
        background: var(--store-secondary);
        color: #1A1A2E;
        padding: 4px 12px;
        border-radius: 20px;
        font-size: 0.75rem;
        font-weight: 600;
    }

    .product-info {
        padding: 1.25rem;
    }

    .product-name {
        font-size: 1.1rem;
        font-weight: 600;
        color: var(--text-primary);
        margin-bottom: 0.5rem;
    }

    .product-price {
        display: flex;
        align-items: baseline;
        gap: 8px;
        margin-bottom: 1rem;
    }

    .price-current {
        font-size: 1.5rem;
        font-weight: 700;
        color: var(--store-primary);
    }

    .price-original {
        font-size: 0.9rem;
        color: var(--text-secondary);
        text-decoration: line-through;
    }

    .product-actions {
        display: flex;
        gap: 0.75rem;
    }

    .product-actions .btn {
        flex: 1;
        justify-content: center;
    }

    /* Cart Slide-out Panel */
    .cart-overlay {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.5);
        z-index: 2000;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s;
    }

    .cart-overlay.active {
        opacity: 1;
        visibility: visible;
    }

    .cart-panel {
        position: fixed;
        top: 0;
        right: -400px;
        width: 400px;
        max-width: 90vw;
        height: 100vh;
        background: var(--bg-card);
        z-index: 2001;
        transition: right 0.3s ease;
        display: flex;
        flex-direction: column;
    }

    .cart-panel.active {
        right: 0;
    }

    .cart-header {
        padding: 1.5rem;
        border-bottom: 1px solid var(--border-color);
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .cart-header h3 {
        font-size: 1.25rem;
        color: var(--text-primary);
    }

    .cart-close {
        background: none;
        border: none;
        font-size: 1.5rem;
        color: var(--text-secondary);
        cursor: pointer;
    }

    .cart-items {
        flex: 1;
        overflow-y: auto;
        padding: 1rem;
    }

    .cart-item {
        display: flex;
        gap: 1rem;
        padding: 1rem 0;
        border-bottom: 1px solid var(--border-color);
    }

    .cart-item-image {
        width: 80px;
        height: 80px;
        background: var(--bg-secondary);
        border-radius: var(--radius-md);
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .cart-item-image i {
        font-size: 2rem;
        color: var(--store-primary);
    }

    .cart-item-info {
        flex: 1;
    }

    .cart-item-name {
        font-weight: 600;
        color: var(--text-primary);
        margin-bottom: 0.25rem;
    }

    .cart-item-price {
        color: var(--store-primary);
        font-weight: 600;
    }

    .cart-item-controls {
        display: flex;
        align-items: center;
        gap: 0.75rem;
        margin-top: 0.5rem;
    }

    .qty-btn {
        width: 28px;
        height: 28px;
        border: 1px solid var(--border-color);
        border-radius: 50%;
        background: white;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .qty-btn:hover {
        background: var(--store-primary);
        color: white;
        border-color: var(--store-primary);
    }

    .cart-item-qty {
        font-weight: 600;
        min-width: 20px;
        text-align: center;
    }

    .cart-empty {
        text-align: center;
        padding: 3rem 1rem;
        color: var(--text-secondary);
    }

    .cart-empty i {
        font-size: 3rem;
        margin-bottom: 1rem;
        color: var(--border-color);
    }

    .cart-footer {
        padding: 1.5rem;
        border-top: 1px solid var(--border-color);
        background: var(--bg-secondary);
    }

    .cart-total {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 1rem;
    }

    .cart-total-label {
        font-size: 1rem;
        color: var(--text-secondary);
    }

    .cart-total-value {
        font-size: 1.5rem;
        font-weight: 700;
        color: var(--store-primary);
    }

    @media (max-width: 768px) {
        .store-hero h1 {
            font-size: 2rem;
        }

        .products-grid {
            grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
        }

        .cart-panel {
            width: 100%;
            max-width: 100vw;
            right: -100%;
        }
    }

/* ===== Store Index Page ===== */
.product-hero {
        background: linear-gradient(180deg, #1A1A2E 0%, #16213E 100%);
        padding: 8rem 2rem 4rem;
        text-align: center;
        color: white;
        position: relative;
        overflow: hidden;
    }

    .product-hero::before {
        content: '';
        position: absolute;
        top: -50%;
        left: -50%;
        width: 200%;
        height: 200%;
        background: radial-gradient(circle, rgba(255, 107, 53, 0.1) 0%, transparent 70%);
        animation: pulse 4s ease-in-out infinite;
    }

    @keyframes pulse {
        0%, 100% { transform: scale(1); opacity: 0.5; }
        50% { transform: scale(1.1); opacity: 0.8; }
    }

    .hero-content {
        position: relative;
        z-index: 1;
        max-width: 900px;
        margin: 0 auto;
    }

    .hero-badge {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        background: rgba(255, 255, 255, 0.1);
        padding: 8px 16px;
        border-radius: 50px;
        font-size: 0.9rem;
        margin-bottom: 1.5rem;
    }

    .hero-content h1 {
        font-size: 3.5rem;
        font-weight: 700;
        margin-bottom: 1rem;
        background: linear-gradient(135deg, #FF6B35 0%, #FFD93D 100%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }

    .hero-content p {
        font-size: 1.25rem;
        color: rgba(255, 255, 255, 0.8);
        margin-bottom: 2rem;
        max-width: 600px;
        margin-left: auto;
        margin-right: auto;
    }

    .hero-buttons {
        display: flex;
        gap: 1rem;
        justify-content: center;
        flex-wrap: wrap;
    }

    .hero-stats {
        display: flex;
        gap: 3rem;
        justify-content: center;
        margin-top: 3rem;
        flex-wrap: wrap;
    }

    .stat-item {
        text-align: center;
    }

    .stat-value {
        font-size: 2.5rem;
        font-weight: 700;
        color: #FFD93D;
    }

    .stat-label {
        font-size: 0.9rem;
        color: rgba(255, 255, 255, 0.6);
    }

    /* Verify Section */
    .verify-section {
        padding: 2rem;
        background: #FFF8F0;
    }

    .verify-box {
        max-width: 600px;
        margin: 0 auto;
        background: white;
        border-radius: var(--radius-lg);
        padding: 2rem;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    }

    .verify-box h3 {
        display: flex;
        align-items: center;
        gap: 8px;
        margin-bottom: 1rem;
        color: var(--text-primary);
    }

    .verify-box h3 i {
        color: #FF6B35;
    }

    .verify-form {
        display: flex;
        gap: 1rem;
    }

    .verify-input {
        flex: 1;
        padding: 12px 16px;
        border: 2px solid var(--border-color);
        border-radius: var(--radius-md);
        font-size: 1rem;
        outline: none;
        transition: border-color 0.3s;
    }

    .verify-input:focus {
        border-color: #FF6B35;
    }

    .verify-result {
        margin-top: 1rem;
        font-size: 0.9rem;
    }

    /* Features Section */
    .features {
        padding: 5rem 2rem;
        background: var(--bg-card);
    }

    .section-header {
        text-align: center;
        margin-bottom: 3rem;
    }

    .section-header h2 {
        font-size: 2.5rem;
        color: var(--text-primary);
        margin-bottom: 1rem;
    }

    .section-header p {
        color: var(--text-secondary);
        font-size: 1.1rem;
        max-width: 600px;
        margin: 0 auto;
    }

    .features-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 2rem;
        max-width: 1200px;
        margin: 0 auto;
    }

    .feature-card {
        background: #FFF8F0;
        padding: 2rem;
        border-radius: var(--radius-lg);
        transition: transform 0.3s, box-shadow 0.3s;
        border: 1px solid rgba(255, 107, 53, 0.2);
    }

    .feature-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 32px rgba(255, 107, 53, 0.3);
    }

    .feature-icon {
        width: 60px;
        height: 60px;
        background: linear-gradient(135deg, #FF6B35 0%, #FFD93D 100%);
        border-radius: var(--radius-md);
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.5rem;
        color: white;
        margin-bottom: 1.5rem;
    }

    .feature-card h3 {
        font-size: 1.25rem;
        color: var(--text-primary);
        margin-bottom: 0.75rem;
    }

    .feature-card p {
        color: var(--text-secondary);
        font-size: 0.95rem;
    }

    /* Product Variants Section */
    .variants {
        padding: 5rem 2rem;
        background: #FFF8F0;
    }

    .variants-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 2rem;
        max-width: 1200px;
        margin: 0 auto;
    }

    .variant-card {
        background: var(--bg-card);
        border-radius: var(--radius-xl);
        overflow: hidden;
        box-shadow: 0 4px 16px rgba(255, 107, 53, 0.2);
        transition: transform 0.3s, box-shadow 0.3s;
        border: 1px solid rgba(255, 107, 53, 0.2);
    }

    .variant-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 8px 32px rgba(255, 107, 53, 0.3);
    }

    .variant-image {
        height: 200px;
        background: linear-gradient(135deg, #1A1A2E 0%, #16213E 100%);
        display: flex;
        align-items: center;
        justify-content: center;
        position: relative;
        overflow: hidden;
    }

    .variant-image i {
        font-size: 5rem;
        color: #FF6B35;
        opacity: 0.8;
    }

    .variant-badge {
        position: absolute;
        top: 1rem;
        right: 1rem;
        background: #FFD93D;
        color: #1A1A2E;
        padding: 4px 12px;
        border-radius: 20px;
        font-size: 0.8rem;
        font-weight: 600;
    }

    .variant-info {
        padding: 1.5rem;
    }

    .variant-capacity {
        font-size: 1.75rem;
        font-weight: 700;
        color: var(--text-primary);
        margin-bottom: 0.5rem;
    }

    .variant-color {
        color: var(--text-secondary);
        font-size: 0.95rem;
        margin-bottom: 1rem;
    }

    .variant-tags {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
        margin-bottom: 1.5rem;
    }

    .variant-tag {
        background: #FFF8F0;
        padding: 4px 10px;
        border-radius: 20px;
        font-size: 0.8rem;
        color: var(--text-secondary);
    }

    .variant-price {
        display: flex;
        align-items: baseline;
        gap: 8px;
        margin-bottom: 1rem;
    }

    .variant-price-value {
        font-size: 2rem;
        font-weight: 700;
        color: #FF6B35;
    }

    .variant-price-unit {
        color: var(--text-secondary);
        font-size: 0.9rem;
    }

    .variant-actions {
        display: flex;
        gap: 1rem;
    }

    .variant-actions .btn {
        flex: 1;
        justify-content: center;
    }

    /* Specs Table */
    .specs {
        padding: 5rem 2rem;
        background: var(--bg-card);
    }

    .specs-table {
        max-width: 800px;
        margin: 0 auto;
        background: #FFF8F0;
        border-radius: var(--radius-lg);
        overflow: hidden;
    }

    .spec-row {
        display: flex;
        padding: 1rem 1.5rem;
        border-bottom: 1px solid rgba(255, 107, 53, 0.2);
    }

    .spec-row:last-child {
        border-bottom: none;
    }

    .spec-label {
        width: 200px;
        font-weight: 600;
        color: var(--text-primary);
    }

    .spec-value {
        flex: 1;
        color: var(--text-secondary);
    }

    /* Purchase Section */
    .purchase {
        padding: 5rem 2rem;
        background: linear-gradient(180deg, #1A1A2E 0%, #16213E 100%);
        color: white;
    }

    .purchase-content {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
        align-items: center;
        max-width: 1200px;
        margin: 0 auto;
    }

    .purchase-info h2 {
        font-size: 2.5rem;
        margin-bottom: 1rem;
    }

    .purchase-info p {
        font-size: 1.1rem;
        color: rgba(255, 255, 255, 0.8);
        margin-bottom: 2rem;
    }

    .purchase-links {
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }

    .purchase-link {
        display: flex;
        align-items: center;
        gap: 1rem;
        background: rgba(255, 255, 255, 0.1);
        padding: 1rem 1.5rem;
        border-radius: var(--radius-md);
        text-decoration: none;
        color: white;
        transition: background 0.3s;
    }

    .purchase-link:hover {
        background: rgba(255, 255, 255, 0.2);
    }

    .purchase-link i:first-child {
        font-size: 1.5rem;
        color: #FFD93D;
    }

    .purchase-link-text {
        flex: 1;
    }

    .purchase-link-title {
        font-weight: 600;
    }

    .purchase-link-desc {
        font-size: 0.85rem;
        color: rgba(255, 255, 255, 0.6);
    }

    .purchase-qr {
        background: var(--bg-card);
        padding: 2rem;
        border-radius: var(--radius-xl);
        text-align: center;
    }

    .qr-codes {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
        margin-bottom: 1rem;
    }

    .qr-item {
        text-align: center;
    }

    .qr-placeholder {
        width: 100px;
        height: 100px;
        background: #FFF8F0;
        margin: 0 auto 0.5rem;
        border-radius: var(--radius-md);
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        border: 2px dashed rgba(255, 107, 53, 0.4);
    }

    .qr-placeholder i {
        font-size: 2rem;
        color: var(--text-secondary);
    }

    .qr-placeholder .qr-label {
        font-size: 0.7rem;
        color: var(--text-secondary);
        margin-top: 0.25rem;
    }

    .purchase-note {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        margin-top: 1.5rem;
        padding: 1rem;
        background: rgba(255, 255, 255, 0.05);
        border-radius: var(--radius-md);
        font-size: 0.9rem;
        color: rgba(255, 255, 255, 0.7);
    }

    .purchase-note i {
        color: #6BCB77;
    }

    @media (max-width: 768px) {
        .hero-content h1 {
            font-size: 2.5rem;
        }

        .hero-stats {
            gap: 2rem;
        }

        .stat-value {
            font-size: 2rem;
        }

        .purchase-content {
            grid-template-columns: 1fr;
        }

        .spec-label {
            width: 120px;
        }

        .qr-codes {
            grid-template-columns: repeat(3, 1fr);
        }
    }

/* ===== SillyClaw Product Page ===== */
:root {
        --oc-primary: #6366F1;
        --oc-primary-dark: #4F46E5;
        --oc-primary-light: #818CF8;
        --oc-secondary: #10B981;
        --oc-accent: #F59E0B;
    }

    .oc-hero {
        background: linear-gradient(180deg, #0F172A 0%, #1E293B 100%);
        padding: 8rem 2rem 4rem;
        text-align: center;
        color: white;
        position: relative;
        overflow: hidden;
    }

    .oc-hero::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%236366f1' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
        opacity: 0.5;
    }

    .oc-hero-content {
        position: relative;
        z-index: 1;
        max-width: 900px;
        margin: 0 auto;
    }

    .oc-hero-badge {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        background: rgba(99, 102, 241, 0.2);
        border: 1px solid rgba(99, 102, 241, 0.3);
        padding: 8px 16px;
        border-radius: 50px;
        font-size: 0.9rem;
        margin-bottom: 1.5rem;
    }

    .oc-hero-badge i {
        color: var(--oc-accent);
    }

    .oc-hero h1 {
        font-size: 3.5rem;
        font-weight: 700;
        margin-bottom: 1rem;
    }

    .oc-hero h1 span {
        background: linear-gradient(135deg, #6366F1 0%, #818CF8 100%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }

    .oc-hero p {
        font-size: 1.25rem;
        color: rgba(255, 255, 255, 0.7);
        margin-bottom: 2rem;
        max-width: 600px;
        margin-left: auto;
        margin-right: auto;
    }

    .oc-hero-buttons {
        display: flex;
        gap: 1rem;
        justify-content: center;
        flex-wrap: wrap;
        margin-bottom: 3rem;
    }

    .oc-hero-code {
        background: #1E293B;
        padding: 1.5rem 2rem;
        border-radius: var(--radius-lg);
        display: inline-block;
        font-family: 'JetBrains Mono', 'Fira Code', monospace;
        font-size: 1.1rem;
        border: 1px solid rgba(99, 102, 241, 0.2);
    }

    .oc-hero-code .prompt {
        color: #94A3B8;
    }

    .oc-hero-code .command {
        color: #10B981;
    }

    .oc-stats {
        display: flex;
        gap: 3rem;
        justify-content: center;
        margin-top: 3rem;
        flex-wrap: wrap;
    }

    .oc-stats .stat-item {
        text-align: center;
    }

    .oc-stats .stat-value {
        font-size: 2.5rem;
        font-weight: 700;
        color: var(--oc-secondary);
    }

    .oc-stats .stat-label {
        font-size: 0.9rem;
        color: rgba(255, 255, 255, 0.6);
    }

    /* Features Section */
    .oc-features {
        padding: 5rem 2rem;
        background: var(--bg-card);
    }

    .oc-section-header {
        text-align: center;
        margin-bottom: 3rem;
    }

    .oc-section-header h2 {
        font-size: 2.5rem;
        color: var(--text-primary);
        margin-bottom: 1rem;
    }

    .oc-section-header p {
        color: var(--text-secondary);
        font-size: 1.1rem;
        max-width: 600px;
        margin: 0 auto;
    }

    .oc-features-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 2rem;
        max-width: 1200px;
        margin: 0 auto;
    }

    .oc-feature-card {
        background: #F8FAFC;
        padding: 2rem;
        border-radius: var(--radius-lg);
        transition: transform 0.3s, box-shadow 0.3s;
        border: 1px solid rgba(99, 102, 241, 0.2);
    }

    .oc-feature-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 32px rgba(99, 102, 241, 0.3);
    }

    .oc-feature-icon {
        width: 60px;
        height: 60px;
        background: linear-gradient(135deg, #6366F1 0%, #818CF8 100%);
        border-radius: var(--radius-md);
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.5rem;
        color: white;
        margin-bottom: 1.5rem;
    }

    .oc-feature-card h3 {
        font-size: 1.25rem;
        color: var(--text-primary);
        margin-bottom: 0.75rem;
    }

    .oc-feature-card p {
        color: var(--text-secondary);
        font-size: 0.95rem;
    }

    /* Club Section */
    .oc-club {
        padding: 5rem 2rem;
        background: linear-gradient(135deg, #064E3B 0%, #047857 100%);
        color: white;
        position: relative;
        overflow: hidden;
    }

    .oc-club::before {
        content: '';
        position: absolute;
        top: -50%;
        right: -20%;
        width: 60%;
        height: 200%;
        background: radial-gradient(circle, rgba(16, 185, 129, 0.2) 0%, transparent 70%);
    }

    .oc-club-content {
        position: relative;
        z-index: 1;
        max-width: 1200px;
        margin: 0 auto;
    }

    .oc-club-header {
        text-align: center;
        margin-bottom: 3rem;
    }

    .oc-club-header h2 {
        font-size: 2.5rem;
        margin-bottom: 1rem;
    }

    .oc-club-header p {
        color: rgba(255, 255, 255, 0.8);
        font-size: 1.1rem;
        max-width: 600px;
        margin: 0 auto;
    }

    .oc-club-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 2rem;
        margin-bottom: 3rem;
    }

    .oc-club-card {
        background: rgba(255, 255, 255, 0.1);
        backdrop-filter: blur(10px);
        border: 1px solid rgba(255, 255, 255, 0.1);
        padding: 2rem;
        border-radius: var(--radius-lg);
        text-align: center;
        transition: transform 0.3s, background 0.3s;
    }

    .oc-club-card:hover {
        transform: translateY(-5px);
        background: rgba(255, 255, 255, 0.15);
    }

    .oc-club-card-icon {
        width: 80px;
        height: 80px;
        background: rgba(255, 255, 255, 0.1);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0 auto 1.5rem;
        font-size: 2rem;
    }

    .oc-club-card h3 {
        font-size: 1.25rem;
        margin-bottom: 0.75rem;
    }

    .oc-club-card p {
        color: rgba(255, 255, 255, 0.7);
        font-size: 0.95rem;
    }

    .oc-club-cta {
        text-align: center;
    }

    .oc-club-cta .btn {
        background: white;
        color: #10B981;
        font-size: 1.1rem;
        padding: 16px 32px;
    }

    .oc-club-cta .btn:hover {
        background: #F59E0B;
        color: white;
    }

    /* Architecture Section */
    .oc-architecture {
        padding: 5rem 2rem;
        background: #F8FAFC;
    }

    .oc-arch-diagram {
        max-width: 800px;
        margin: 0 auto;
    }

    .oc-arch-layers {
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }

    .oc-arch-layer {
        background: var(--bg-card);
        border: 1px solid rgba(99, 102, 241, 0.2);
        border-radius: var(--radius-lg);
        padding: 1.5rem;
    }

    .oc-arch-layer-label {
        font-weight: 600;
        color: #6366F1;
        margin-bottom: 1rem;
        font-size: 1.1rem;
    }

    .oc-arch-layer-content {
        display: flex;
        gap: 1rem;
        flex-wrap: wrap;
    }

    .oc-arch-component {
        background: #F8FAFC;
        padding: 0.75rem 1rem;
        border-radius: var(--radius-md);
        display: flex;
        align-items: center;
        gap: 8px;
        font-size: 0.95rem;
        color: var(--text-primary);
        border: 1px solid rgba(99, 102, 241, 0.1);
    }

    .oc-arch-component i {
        color: #6366F1;
        width: 20px;
    }

    .oc-arch-connector {
        width: 2px;
        height: 24px;
        background: linear-gradient(180deg, #6366F1, #818CF8);
        margin: 0 auto;
    }

    /* CTA Section */
    .oc-cta {
        padding: 5rem 2rem;
        background: linear-gradient(135deg, #0F172A 0%, #1E293B 100%);
        text-align: center;
        color: white;
    }

    .oc-cta h2 {
        font-size: 2.5rem;
        margin-bottom: 1rem;
    }

    .oc-cta p {
        color: rgba(255, 255, 255, 0.7);
        font-size: 1.2rem;
        margin-bottom: 2rem;
    }

    .oc-cta-buttons {
        display: flex;
        gap: 1rem;
        justify-content: center;
        flex-wrap: wrap;
    }

    @media (max-width: 768px) {
        .oc-hero h1 {
            font-size: 2.5rem;
        }

        .oc-hero p {
            font-size: 1rem;
        }

        .oc-stats {
            gap: 2rem;
        }

        .oc-stats .stat-value {
            font-size: 2rem;
        }

        .oc-section-header h2 {
            font-size: 2rem;
        }
    }

/* ===== OpenClaw Page ===== */
.features-hero {
        padding: 120px 0 80px;
        text-align: center;
        background: linear-gradient(180deg, rgba(14, 165, 233, 0.1) 0%, transparent 100%);
    }

    .features-hero h1 {
        font-size: 48px;
        font-weight: 800;
        margin-bottom: 20px;
        color: var(--text-primary);
    }

    .features-hero p {
        color: var(--text-muted, #64748B);
        font-size: 20px;
        max-width: 600px;
        margin: 0 auto;
    }

    .features-section {
        padding: 60px 0;
    }

    .features-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
        gap: 30px;
    }

    .feature-card {
        background: var(--bg-card, var(--bg-card));
        border: 1px solid var(--border-color, var(--border-color));
        border-radius: var(--radius-lg);
        padding: 40px;
        transition: all 0.3s ease;
        cursor: default;
    }

    .feature-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
        border-color: var(--primary-color, var(--primary-color));
    }

    .feature-icon {
        width: 64px;
        height: 64px;
        background: linear-gradient(135deg, var(--primary-color, var(--primary-color)), var(--secondary-color, var(--secondary-color)));
        border-radius: var(--radius-md);
        display: flex;
        align-items: center;
        justify-content: center;
        color: white;
        font-size: 28px;
        margin-bottom: 24px;
    }

    .feature-card h3 {
        font-size: 22px;
        font-weight: 600;
        margin-bottom: 12px;
        color: var(--text-primary);
    }

    .feature-card p {
        color: var(--text-muted, var(--text-secondary));
        line-height: 1.6;
        font-size: 1rem;
    }

    /* Pricing Comparison Section */
    .pricing-section {
        padding: 80px 0;
        background: var(--bg-secondary);
    }

    .pricing-header {
        text-align: center;
        margin-bottom: 60px;
    }

    .pricing-header h2 {
        font-size: 36px;
        font-weight: 700;
        margin-bottom: 16px;
        color: var(--text-primary);
    }

    .pricing-header p {
        color: var(--text-muted, var(--text-secondary));
        font-size: 18px;
        max-width: 500px;
        margin: 0 auto;
    }

    .pricing-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 30px;
        max-width: 1000px;
        margin: 0 auto;
    }

    .pricing-card {
        background: var(--bg-card);
        border: 1px solid var(--border-color, var(--border-color));
        border-radius: var(--radius-lg);
        padding: 40px 32px;
        text-align: center;
        transition: all 0.3s ease;
        position: relative;
    }

    .pricing-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
    }

    .pricing-card.featured {
        border-color: var(--primary-color, var(--primary-color));
        box-shadow: 0 8px 32px rgba(14, 165, 233, 0.2);
        transform: scale(1.05);
    }

    .pricing-card.featured:hover {
        transform: scale(1.05) translateY(-4px);
    }

    .pricing-badge {
        position: absolute;
        top: -12px;
        left: 50%;
        transform: translateX(-50%);
        background: linear-gradient(135deg, var(--primary-color, var(--primary-color)), var(--secondary-color, var(--secondary-color)));
        color: white;
        padding: 6px 20px;
        border-radius: 20px;
        font-size: 0.85rem;
        font-weight: 600;
    }

    .pricing-name {
        font-size: 20px;
        font-weight: 600;
        color: var(--text-primary);
        margin-bottom: 16px;
    }

    .pricing-amount {
        font-size: 48px;
        font-weight: 800;
        color: var(--primary-color, var(--primary-color));
        margin-bottom: 8px;
    }

    .pricing-amount .currency {
        font-size: 24px;
        vertical-align: super;
    }

    .pricing-amount .period {
        font-size: 16px;
        color: var(--text-muted, var(--text-secondary));
        font-weight: 400;
    }

    .pricing-description {
        color: var(--text-muted, var(--text-secondary));
        font-size: 0.95rem;
        margin-bottom: 24px;
    }

    .pricing-features {
        list-style: none;
        padding: 0;
        margin: 0 0 32px;
        text-align: left;
    }

    .pricing-features li {
        padding: 10px 0;
        border-bottom: 1px solid var(--border-color, var(--border-color));
        display: flex;
        align-items: center;
        gap: 10px;
        color: var(--text-secondary);
        font-size: 0.95rem;
    }

    .pricing-features li:last-child {
        border-bottom: none;
    }

    .pricing-features li i {
        width: 20px;
        text-align: center;
    }

    .pricing-features li .fa-check {
        color: #10B981;
    }

    .pricing-features li .fa-times {
        color: #EF4444;
    }

    @media (max-width: 768px) {
        .features-hero h1 {
            font-size: 36px;
        }

        .features-hero p {
            font-size: 18px;
        }

        .features-grid {
            grid-template-columns: 1fr;
        }

        .pricing-grid {
            grid-template-columns: 1fr;
        }

        .pricing-card.featured {
            transform: none;
        }

        .pricing-card.featured:hover {
            transform: translateY(-4px);
        }
    }

/* ===== Features Page ===== */
.auth-global-message {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 15px 25px;
    border-radius: 8px;
    background: white;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    z-index: 10000;
    display: flex;
    align-items: center;
    gap: 10px;
    animation: slideIn 0.3s ease;
}

.auth-global-message.success {
    border-left: 4px solid #10b981;
}

.auth-global-message.success i {
    color: #10b981;
}

.auth-global-message.error {
    border-left: 4px solid #ef4444;
}

.auth-global-message.error i {
    color: #ef4444;
}

.auth-global-message.fade-out {
    animation: slideOut 0.3s ease forwards;
}

@keyframes slideIn {
    from {
        transform: translateX(400px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOut {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(400px);
        opacity: 0;
    }
}

/* ===== Auth Reset Password Page ===== */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-top: 20px;
  }

  .benefit-card {
    background: var(--bg-secondary, #1a1d29);
    border: 1px solid var(--border-color, #2a2d3a);
    border-radius: var(--radius-md, 12px);
    padding: 24px;
    text-align: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
  }

  .benefit-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 102, 255, 0.15);
  }

  .benefit-card .icon {
    font-size: 2.2rem;
    margin-bottom: 12px;
    color: var(--primary-light, #4d8bff);
  }

  .benefit-card h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-primary, #e8edf5);
  }

  .benefit-card p {
    font-size: 0.85rem;
    color: var(--text-secondary, #8b8fa3);
    line-height: 1.5;
  }

  .form-section-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border-color, #2a2d3a);
    color: var(--text-primary, #e8edf5);
  }

  .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  @media (max-width: 640px) {
    .form-row {
      grid-template-columns: 1fr;
    }
  }

  .form-group {
    margin-bottom: 20px;
  }

  .form-group label {
    display: block;
    font-weight: 500;
    margin-bottom: 6px;
    color: var(--text-primary, #e8edf5);
    font-size: 0.9rem;
  }

  .form-group label .required {
    color: var(--accent-color, #ff6b6b);
    margin-left: 2px;
  }

  .form-group .help-text {
    font-size: 0.8rem;
    color: var(--text-secondary, #8b8fa3);
    margin-top: 4px;
  }

  .alert {
    padding: 14px 18px;
    border-radius: var(--radius-md, 12px);
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
  }

  .alert-error {
    background: rgba(239, 68, 68, 0.12);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #fca5a5;
  }

  .alert-success {
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: #6ee7b7;
  }

  .status-card {
    text-align: center;
    padding: 40px 20px;
  }

  .status-card .status-icon {
    font-size: 4rem;
    margin-bottom: 16px;
  }

  .status-card h2 {
    font-size: 1.5rem;
    margin-bottom: 12px;
  }

  .status-card p {
    color: var(--text-secondary, #8b8fa3);
    margin-bottom: 24px;
  }

  .status-details {
    background: rgba(0, 102, 255, 0.08);
    padding: 16px;
    border-radius: 8px;
    text-align: left;
    margin-bottom: 24px;
  }

  .status-details div {
    margin-bottom: 6px;
    font-size: 0.9rem;
  }

  .status-details div:last-child {
    margin-bottom: 0;
  }

  .vendor-hero {
    text-align: center;
    margin-bottom: 40px;
  }

  .vendor-hero h1 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 8px;
  }

  .vendor-hero .subtitle {
    color: var(--text-secondary, #8b8fa3);
    font-size: 1.05rem;
    max-width: 560px;
    margin: 0 auto;
  }

  .application-flow {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 28px;
    flex-wrap: wrap;
  }

  .flow-step {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    color: var(--text-secondary, #8b8fa3);
  }

  .flow-step .step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--primary-light, #4d8bff);
    color: #fff;
    font-weight: 600;
    font-size: 0.75rem;
  }

  .flow-step .step-arrow {
    color: var(--border-color, #2a2d3a);
    margin-left: 8px;
  }
}

/* ==================== 主题效果 (theme.js 切换时保留) ==================== */

/* 按钮扫描效果 */
.btn-primary {
    position: relative;
    overflow: hidden;
}

.btn-primary::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;
}

.btn-primary:hover::before {
    left: 100%;
}

/* 卡片顶部科技线 */
.feature-card {
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    opacity: 0;
    transition: opacity 0.3s;
}

.feature-card:hover::before {
    opacity: 1;
}

/* 输入框聚焦效果 */
.input-group input:focus {
    box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.15),
                0 0 20px rgba(14, 165, 233, 0.1);
}

/* 文字渐变 */
.gradient-text {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* 科技边框 */
.tech-border {
    position: relative;
    border: 1px solid rgba(14, 165, 233, 0.3);
}

.tech-border::before,
.tech-border::after {
    content: '';
    position: absolute;
    width: 10px;
    height: 10px;
    border: 2px solid var(--primary-color);
    transition: all 0.3s;
}

.tech-border::before {
    top: -1px;
    left: -1px;
    border-right: none;
    border-bottom: none;
}

.tech-border::after {
    bottom: -1px;
    right: -1px;
    border-left: none;
    border-top: none;
}

/* 扫描线效果 */
.scan-line {
    position: relative;
    overflow: hidden;
}

.scan-line::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    animation: scan 3s linear infinite;
}

@keyframes scan {
    0% { transform: translateY(0); opacity: 0; }
    50% { opacity: 1; }
    100% { transform: translateY(100vh); opacity: 0; }
}

/* 数字雨背景 */
.digital-rain {
    position: fixed;
    inset: 0;
    pointer-events: none;
    opacity: 0.03;
    background-image:
        linear-gradient(0deg, transparent 24%, rgba(14, 165, 233, .3) 25%, rgba(14, 165, 233, .3) 26%, transparent 27%, transparent 74%, rgba(14, 165, 233, .3) 75%, rgba(14, 165, 233, .3) 76%, transparent 77%, transparent),
        linear-gradient(90deg, transparent 24%, rgba(14, 165, 233, .3) 25%, rgba(14, 165, 233, .3) 26%, transparent 27%, transparent 74%, rgba(14, 165, 233, .3) 75%, rgba(14, 165, 233, .3) 76%, transparent 77%, transparent);
    background-size: 50px 50px;
}

/* 脉冲动画 */
.pulse {
    animation: tech-pulse 2s ease-in-out infinite;
}

@keyframes tech-pulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(14, 165, 233, 0.4);
    }
    50% {
        box-shadow: 0 0 0 15px rgba(14, 165, 233, 0);
    }
}

/* 霓虹发光 */
.neon-glow {
    text-shadow:
        0 0 5px var(--primary-color),
        0 0 10px var(--primary-color),
        0 0 20px var(--primary-color),
        0 0 40px var(--primary-dark);
}

/* 玻璃态效果 */
.glass-effect {
    background: rgba(30, 41, 59, 0.7);
    backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(14, 165, 233, 0.2);
}

/* 科技按钮变体 */
.btn-tech {
    background: transparent;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    position: relative;
    overflow: hidden;
}

.btn-tech::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(14, 165, 233, 0.2), transparent);
    transition: left 0.5s;
}

.btn-tech:hover {
    background: rgba(14, 165, 233, 0.1);
    color: var(--primary-light);
    box-shadow: 0 0 20px rgba(14, 165, 233, 0.3);
}

.btn-tech:hover::before {
    left: 100%;
}

/* 加载动画 */
.tech-loader {
    width: 48px;
    height: 48px;
    border: 3px solid rgba(14, 165, 233, 0.2);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* 状态指示器 */
.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
    margin-right: 8px;
}

.status-dot.online {
    background: var(--success-color);
    box-shadow: 0 0 8px var(--success-color);
}

.status-dot.offline {
    background: var(--error-color);
}

.status-dot.busy {
    background: var(--warning-color);
}

/* 科技分割线 */
.tech-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    margin: 30px 0;
}

/* 标签 */
.tech-tag {
    display: inline-flex;
    align-items: center;
    padding: 4px 12px;
    background: rgba(14, 165, 233, 0.1);
    border: 1px solid rgba(14, 165, 233, 0.3);
    border-radius: 20px;
    font-size: 12px;
    color: var(--primary-light);
}

.tech-tag:hover {
    background: rgba(14, 165, 233, 0.2);
    border-color: var(--primary-color);
}

/* 工具提示 */
.tech-tooltip {
    position: relative;
}

.tech-tooltip::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(-8px);
    padding: 8px 12px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-size: 12px;
    color: var(--text-primary);
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
}

.tech-tooltip:hover::after {
    opacity: 1;
    visibility: visible;
}
