@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: #f8fafc;
  color: #1f2937;
  line-height: 1.6;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

header {
  background-color: white;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

.logo-icon {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-icon svg {
  width: 20px;
  height: 20px;
  color: white;
}

.logo-text {
  font-size: 20px;
  font-weight: 700;
  color: #1f2937;
}

nav {
  display: flex;
  gap: 24px;
}

.nav-link {
  text-decoration: none;
  color: #4b5563;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 6px;
  transition: all 0.2s;
}

.nav-link:hover {
  color: #6366f1;
  background-color: #eef2ff;
}

.nav-link.active {
  color: #6366f1;
  background-color: #eef2ff;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.search-wrapper {
  position: relative;
  display: none;
}

.search-input {
  width: 300px;
  padding: 10px 16px 10px 44px;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  font-size: 14px;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.search-input:focus {
  outline: none;
  border-color: #6366f1;
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: #9ca3af;
}

.cart-btn {
  position: relative;
  padding: 10px;
  background-color: #f3f4f6;
  border-radius: 10px;
  cursor: pointer;
  transition: background-color 0.2s;
}

.cart-btn:hover {
  background-color: #e5e7eb;
}

.cart-btn svg {
  width: 20px;
  height: 20px;
  color: #4b5563;
}

.cart-badge {
  position: absolute;
  top: -6px;
  right: -6px;
  background-color: #ef4444;
  color: white;
  font-size: 11px;
  font-weight: 600;
  padding: 2px 6px;
  border-radius: 10px;
  display: none;
  min-width: 20px;
  text-align: center;
}

.auth-buttons {
  display: flex;
  gap: 12px;
}

.btn {
  padding: 10px 20px;
  border-radius: 10px;
  font-weight: 500;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s;
  border: none;
}

.btn-primary {
  background-color: #6366f1;
  color: white;
}

.btn-primary:hover {
  background-color: #4f46e5;
  transform: translateY(-1px);
}

.btn-secondary {
  background-color: white;
  color: #4b5563;
  border: 1px solid #d1d5db;
}

.btn-secondary:hover {
  background-color: #f9fafb;
  border-color: #9ca3af;
}

.hero-section {
  background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
  color: white;
  padding: 80px 0;
  text-align: center;
}

.hero-title {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 16px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.hero-subtitle {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 32px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-search {
  display: flex;
  max-width: 600px;
  margin: 0 auto;
  gap: 12px;
}

.hero-search-select {
  padding: 16px 20px;
  border: none;
  font-size: 16px;
  background-color: rgba(255, 255, 255, 0.9);
  color: #1f2937;
  cursor: pointer;
  min-width: 100px;
  
  border-top-left-radius: 12px;      /* 宸︿笂鐩磋 */
  border-bottom-left-radius: 12px;   /* 宸︿笅鐩磋 */
  border-top-right-radius: 0;   /* 鍙充笂鍦嗚 */
  border-bottom-right-radius: 0; /* 鍙充笅鍦嗚 */
}

.hero-search-select:focus {
  outline: none;
  /* box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.2); */
}

.hero-search-input {
  flex: 1;
  padding: 16px 20px;
  margin-left: -12px;
  border: none;
  font-size: 16px;
  border-top-left-radius: 0;      /* 宸︿笂鐩磋 */
  border-bottom-left-radius: 0;   /* 宸︿笅鐩磋 */
  border-top-right-radius: 12px;   /* 鍙充笂鍦嗚 */
  border-bottom-right-radius: 12px; /* 鍙充笅鍦嗚 */
}

.hero-search-input:focus {
  outline: none;
  /* box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.2); */
}

.hero-search-btn {
  padding: 16px 32px;
  background-color: #1f2937;
  color: white;
  border: none;
  border-radius: 12px;
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.2s;
}

.hero-search-btn:hover {
  background-color: #374151;
}

.stats-section {
  background-color: white;
  padding: 48px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 32px;
}

.stat-item {
  text-align: center;
}

.stat-value {
  font-size: 40px;
  font-weight: 700;
  color: #6366f1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 14px;
  color: #6b7280;
}

.categories-section {
  padding: 64px 0;
}

.section-title {
  font-size: 32px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 48px;
}

.section-title .more-link {
  font-size: 16px;
  font-weight: 400;
  color: #667eea;
  text-decoration: none;
  margin-left: 12px;
  vertical-align: middle;
}

.section-title .more-link:hover {
  color: #5a67d8;
  text-decoration: underline;
}

.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 16px;
}

.category-card {
  background-color: white;
  padding: 24px 16px;
  border-radius: 12px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s;
  border: 2px solid transparent;
}

.category-card:hover {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  border-color: #6366f1;
  transform: translateY(-2px);
}

.category-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, #eef2ff, #e0e7ff);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
}

.category-icon svg {
  width: 24px;
  height: 24px;
  color: #6366f1;
}

.category-name {
  font-weight: 600;
  color: #1f2937;
}

.industry-nav-section {
  padding: 24px 0;
  border-bottom: 1px solid #e5e7eb;
}

.industry-nav-header {
  cursor: pointer;
  user-select: none;
}

.industry-nav-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.industry-nav-title {
  font-size: 18px;
  font-weight: 600;
  color: #1f2937;
  margin: 0;
}

.industry-nav-toggle {
  font-size: 12px;
  color: #9ca3af;
  transition: transform 0.2s;
}

.industry-nav-summary {
  font-size: 13px;
  color: #9ca3af;
  margin-top: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.industry-nav-body {
  margin-top: 16px;
}

.industry-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.industry-tag {
  display: inline-block;
  padding: 6px 16px;
  font-size: 14px;
  color: #374151;
  background-color: #f3f4f6;
  border: 1px solid #e5e7eb;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.2s;
}

.industry-tag:hover {
  background-color: #eef2ff;
  border-color: #6366f1;
  color: #6366f1;
}

.industry-tag.active {
  background-color: #6366f1;
  border-color: #6366f1;
  color: #fff;
}

.industry-tree {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.industry-tree-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.industry-tree-left {
  flex-shrink: 0;
  min-width: 100px;
  text-align: right;
  padding-top: 4px;
}

.industry-tree-right {
  flex: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.industry-tree-empty {
  color: #d1d5db;
  font-size: 14px;
}

.industry-tag-parent {
  font-weight: 600;
}

.industry-tag-child {
  font-size: 13px;
  padding: 4px 12px;
}

.industry-nav-actions {
  margin-top: 12px;
}

.industry-more-link {
  font-size: 13px;
  color: #667eea;
  text-decoration: none;
}

.industry-more-link:hover {
  text-decoration: underline;
}

.hot-models-section {
  padding: 64px 0;
  background-color: #f8fafc;
}

.models-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.model-card {
  background-color: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  transition: all 0.3s;
  cursor: pointer;
}

.model-card:hover {
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
  transform: translateY(-4px);
}

.model-image {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.model-badges {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
}

.badge {
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 500;
}

.badge-hot {
  background-color: #fef2f2;
  color: #dc2626;
}

.badge-new {
  background-color: #eff6ff;
  color: #2563eb;
}

.model-info {
  padding: 20px;
}

.model-category {
  font-size: 12px;
  color: #6366f1;
  font-weight: 500;
  margin-bottom: 8px;
}

.model-name {
  font-size: 18px;
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 8px;
  display: block;
  text-decoration: none;
}

.model-description {
  font-size: 14px;
  color: #6b7280;
  margin-bottom: 16px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.model-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

.author-info {
  display: flex;
  align-items: center;
  gap: 8px;
}

.author-avatar {
  width: 28px;
  height: 28px;
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 12px;
  font-weight: 600;
}

.author-name {
  font-size: 13px;
  color: #4b5563;
}

.rating-info {
  display: flex;
  align-items: center;
  gap: 4px;
}

.rating-star {
  color: #fbbf24;
}

.rating-value {
  font-size: 13px;
  font-weight: 600;
  color: #1f2937;
}

.rating-count {
  font-size: 12px;
  color: #9ca3af;
}

.model-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.model-price {
  font-size: 20px;
  font-weight: 700;
  color: #6366f1;
}

.model-downloads {
  font-size: 13px;
  color: #6b7280;
}

.cta-section {
  background: linear-gradient(135deg, #1f2937 0%, #374151 100%);
  color: white;
  padding: 64px 0;
  text-align: center;
}

.cta-title {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 16px;
}

.cta-subtitle {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 32px;
}

.footer {
  background-color: #1f2937;
  color: #9ca3af;
  padding: 48px 0;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 32px;
}

.footer-section h4 {
  color: white;
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 16px;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 8px;
}

.footer-links a {
  color: #9ca3af;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: white;
}

.footer-bottom {
  border-top: 1px solid #374151;
  padding-top: 24px;
  margin-top: 32px;
  text-align: center;
  font-size: 14px;
}

.page-header {
  background-color: white;
  padding: 40px 0;
  border-bottom: 1px solid #e5e7eb;
}

.page-title {
  font-size: 32px;
  font-weight: 700;
}

.page-subtitle {
  font-size: 16px;
  color: #6b7280;
  margin-top: 8px;
}

.filter-sidebar {
  background-color: white;
  border-radius: 12px;
  padding: 24px;
  position: sticky;
  top: 100px;
}

.filter-title {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 20px;
}

.filter-section {
  margin-bottom: 24px;
}

.filter-section h4 {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 12px;
  color: #374151;
}

.filter-options {
  list-style: none;
}

.filter-options li {
  margin-bottom: 8px;
}

.filter-options label {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  padding: 8px;
  border-radius: 8px;
  transition: background-color 0.2s;
}

.filter-options label:hover {
  background-color: #f3f4f6;
}

.filter-options input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: #6366f1;
}

.filter-options span {
  font-size: 14px;
  color: #4b5563;
}

.price-filter {
  display: flex;
  gap: 8px;
}

.price-input {
  flex: 1;
  padding: 8px 12px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font-size: 14px;
}

.price-input:focus {
  outline: none;
  border-color: #6366f1;
}

.sort-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: white;
  padding: 16px 24px;
  border-radius: 12px;
  margin-bottom: 24px;
}

.sort-label {
  font-size: 14px;
  color: #6b7280;
}

.sort-select {
  padding: 8px 16px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font-size: 14px;
  cursor: pointer;
  background-color: white;
}

.sort-select:focus {
  outline: none;
  border-color: #6366f1;
}

.results-count {
  font-size: 14px;
  color: #6b7280;
}

.model-detail-container {
  padding: 48px 0;
}

.model-detail-main {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 32px;
}

.model-detail-image {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 16px;
}

.model-detail-info {
  background-color: white;
  border-radius: 16px;
  padding: 24px;
  position: sticky;
  top: 100px;
}

.detail-price {
  font-size: 32px;
  font-weight: 700;
  color: #6366f1;
  margin-bottom: 24px;
}

.detail-actions {
  display: flex;
  gap: 12px;
  margin-bottom: 24px;
}

.btn-block {
  width: 100%;
  padding: 14px;
  font-size: 16px;
}

.btn-outline {
  background-color: white;
  color: #6366f1;
  border: 2px solid #6366f1;
}

.btn-outline:hover {
  background-color: #eef2ff;
}

.detail-specs {
  margin-top: 24px;
}

.detail-specs h4 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 16px;
}

.specs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.spec-item {
  background-color: #f9fafb;
  padding: 12px;
  border-radius: 8px;
}

.spec-label {
  font-size: 12px;
  color: #6b7280;
  margin-bottom: 4px;
}

.spec-value {
  font-size: 14px;
  font-weight: 600;
  color: #1f2937;
}

.detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.tag {
  padding: 6px 12px;
  background-color: #eef2ff;
  color: #6366f1;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 500;
}

.detail-description {
  background-color: white;
  border-radius: 16px;
  padding: 32px;
  margin-top: 32px;
}

.detail-description h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 16px;
}

.detail-description p {
  font-size: 16px;
  color: #4b5563;
  line-height: 1.8;
}

.related-models {
  margin-top: 48px;
}

.auth-container {
  max-width: 400px;
  margin: 64px auto;
}

.auth-card {
  background-color: white;
  border-radius: 16px;
  padding: 40px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.auth-title {
  font-size: 28px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 8px;
}

.auth-subtitle {
  font-size: 14px;
  color: #6b7280;
  text-align: center;
  margin-bottom: 32px;
}

.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 8px;
  color: #374151;
}

.form-input {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #d1d5db;
  border-radius: 10px;
  font-size: 14px;
  transition: border-color 0.2s;
}

.form-input:focus {
  outline: none;
  border-color: #6366f1;
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.form-input::placeholder {
  color: #9ca3af;
}

.form-options {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.form-check label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #4b5563;
  cursor: pointer;
}

.form-check input {
  accent-color: #6366f1;
}

.forgot-link {
  font-size: 14px;
  color: #6366f1;
  text-decoration: none;
}

.forgot-link:hover {
  text-decoration: underline;
}

.auth-divider {
  text-align: center;
  margin: 24px 0;
  position: relative;
}

.auth-divider::before,
.auth-divider::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 40%;
  height: 1px;
  background-color: #e5e7eb;
}

.auth-divider::before {
  left: 0;
}

.auth-divider::after {
  right: 0;
}

.auth-divider span {
  background-color: white;
  padding: 0 16px;
  color: #9ca3af;
  font-size: 14px;
}

.auth-alternative {
  text-align: center;
  margin-top: 24px;
}

.auth-alternative a {
  color: #6366f1;
  text-decoration: none;
  font-weight: 500;
}

.auth-alternative a:hover {
  text-decoration: underline;
}

.cart-container {
  padding: 48px 0;
}

.cart-content {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 32px;
}

.cart-items {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.order-container {
  padding: 48px 0;
}

.order-tabs {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
}

.order-tab {
  padding: 12px 24px;
  background-color: white;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  color: #6b7280;
}

.order-tab.active {
  background-color: #6366f1;
  color: white;
}

.order-tab:hover:not(.active) {
  background-color: #f3f4f6;
}

.order-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.order-card {
  background-color: white;
  border-radius: 16px;
  padding: 24px;
}

.order-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.order-id {
  font-size: 14px;
  color: #6b7280;
}

.order-date {
  font-size: 14px;
  color: #9ca3af;
}

.order-status {
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 500;
}

.status-completed {
  background-color: #dcfce7;
  color: #16a34a;
}

.status-pending {
  background-color: #fef3c7;
  color: #d97706;
}

.order-items {
  display: flex;
  gap: 16px;
}

.order-item-image {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 8px;
}

.order-item-info {
  flex: 1;
}

.order-item-name {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
}

.order-item-price {
  font-size: 14px;
  color: #6b7280;
}

.order-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid #f3f4f6;
}

.order-total {
  font-size: 18px;
  font-weight: 600;
}

.order-actions {
  display: flex;
  gap: 12px;
}

.order-btn {
  padding: 10px 20px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  border: none;
  transition: all 0.2s;
}

.order-btn-primary {
  background-color: #6366f1;
  color: white;
}

.order-btn-primary:hover {
  background-color: #4f46e5;
}

.order-btn-secondary {
  background-color: #f3f4f6;
  color: #4b5563;
}

.order-btn-secondary:hover {
  background-color: #e5e7eb;
}

.profile-container {
  padding: 48px 0;
}

.profile-content {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 32px;
}

.profile-sidebar {
  background-color: white;
  border-radius: 16px;
  padding: 24px;
}

.profile-avatar {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 24px;
  font-weight: 700;
  margin: 0 auto 16px;
}

.profile-name {
  text-align: center;
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 4px;
}

.profile-email {
  text-align: center;
  font-size: 14px;
  color: #6b7280;
  margin-bottom: 24px;
}

.profile-nav {
  list-style: none;
}

.profile-nav li {
  margin-bottom: 4px;
}

.profile-nav a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border-radius: 8px;
  text-decoration: none;
  color: #4b5563;
  font-size: 14px;
  font-weight: 500;
  transition: background-color 0.2s;
}

.profile-nav a:hover {
  background-color: #f3f4f6;
}

.profile-nav a.active {
  background-color: #eef2ff;
  color: #6366f1;
}

.profile-main {
  background-color: white;
  border-radius: 16px;
  padding: 32px;
}

.profile-section-title {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 24px;
}

.profile-form {
  max-width: 500px;
}

.animate-slide-in {
  animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateX(20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@media (max-width: 768px) {
  .header-content {
    flex-wrap: wrap;
    gap: 12px;
  }
  
  nav {
    order: 3;
    width: 100%;
    overflow-x: auto;
    padding-bottom: 8px;
  }
  
  .search-wrapper {
    display: none;
  }
  
  .hero-title {
    font-size: 32px;
  }
  
  .hero-search {
    flex-direction: column;
  }
  
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .models-grid {
    grid-template-columns: 1fr;
  }
  
  .model-detail-main {
    grid-template-columns: 1fr;
  }
  
  .cart-content {
    grid-template-columns: 1fr;
  }
  
  .profile-content {
    grid-template-columns: 1fr;
  }
  
  .order-items {
    flex-direction: column;
  }
}

/* ============ 棣栭〉瀹氬埗鏍峰紡 (鍘焢ortal.css) ============ */

/* Hero鍖哄煙 */
.hero {
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	padding: 80px 0;
	color: white;
	overflow: hidden;
}

.hero-content {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 40px;
}

.hero-text {
	flex: 1;
}

.hero-text h1 {
	font-size: 3rem;
	font-weight: 700;
	margin-bottom: 20px;
	line-height: 1.2;
}

.hero-subtitle {
	font-size: 1.25rem;
	color: rgba(255, 255, 255, 0.85);
	margin-bottom: 30px;
	line-height: 1.6;
}

.hero-buttons {
	display: flex;
	gap: 16px;
	margin-bottom: 40px;
}

.hero .btn {
	display: inline-block;
	padding: 12px 24px;
	border-radius: 8px;
	font-weight: 600;
	text-decoration: none;
	transition: all 0.3s ease;
	border: none;
	cursor: pointer;
	font-size: 1rem;
}

.hero .btn-primary {
	background-color: #ffffff;
	color: #667eea;
}

.hero .btn-primary:hover {
	background-color: #f0f0f0;
	transform: translateY(-2px);
}

.hero .btn-secondary {
	background-color: rgba(255, 255, 255, 0.2);
	color: white;
	border: 1px solid rgba(255, 255, 255, 0.3);
}

.hero .btn-secondary:hover {
	background-color: rgba(255, 255, 255, 0.3);
	transform: translateY(-2px);
}

.btn-large {
	padding: 16px 32px;
	font-size: 1.1rem;
}

.hero-stats {
	display: flex;
	gap: 40px;
}

.stat-item {
	text-align: center;
}

.stat-number {
	display: block;
	font-size: 2rem;
	font-weight: 700;
}

.stat-label {
	display: block;
	font-size: 0.9rem;
	color: rgba(255, 255, 255, 0.7);
	margin-top: 4px;
}

.hero-visual {
	flex: 1;
	text-align: center;
}

.hero-visual img {
	max-width: 100%;
	height: auto;
}

/* 鏍稿績鐗规€?*/
.features {
	padding: 80px 0;
	background-color: white;
}

.features .section-title {
	text-align: center;
	font-size: 2.25rem;
	font-weight: 700;
	color: #1a1a2e;
	margin-bottom: 16px;
}

.features .section-description {
	text-align: center;
	font-size: 1.1rem;
	color: #666;
	margin-bottom: 48px;
}

.features-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 32px;
}

.feature-card {
	background: white;
	border-radius: 16px;
	padding: 32px;
	text-align: center;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
	transition: all 0.3s ease;
	border: 1px solid #f0f0f0;
}

.feature-card:hover {
	box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
	transform: translateY(-4px);
}

.feature-icon {
	width: 64px;
	height: 64px;
	margin: 0 auto 20px;
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	border-radius: 16px;
	display: flex;
	align-items: center;
	justify-content: center;
	color: white;
	font-size: 1.5rem;
}

.feature-card h3 {
	font-size: 1.25rem;
	font-weight: 600;
	color: #1a1a2e;
	margin-bottom: 12px;
}

.feature-card p {
	color: #666;
	line-height: 1.6;
	font-size: 0.95rem;
}

/* 妯℃澘甯傚満鍖哄煙 */
.template-market {
	padding: 80px 0;
	background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
}

.templates-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 24px;
	margin-bottom: 40px;
}

.template-card {
	background: white;
	border-radius: 16px;
	padding: 28px;
	display: flex;
	gap: 20px;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
	transition: all 0.3s ease;
	border: 1px solid #f0f0f0;
}

.template-card:hover {
	box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
	transform: translateY(-2px);
}

.template-icon {
	width: 56px;
	height: 56px;
	flex-shrink: 0;
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	border-radius: 14px;
	display: flex;
	align-items: center;
	justify-content: center;
	color: white;
	font-size: 1.4rem;
}

.template-info h3 {
	font-size: 1.15rem;
	font-weight: 600;
	color: #1a1a2e;
	margin-bottom: 8px;
}

.template-info p {
	color: #666;
	font-size: 0.9rem;
	line-height: 1.5;
	margin-bottom: 12px;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	text-overflow: ellipsis;
}

.template-tags {
	display: flex;
	gap: 8px;
	flex-wrap: wrap;
}

.template-tags .tag {
	padding: 4px 12px;
	background: #ecfdf5;
	color: #059669;
	font-size: 0.8rem;
	border-radius: 20px;
	font-weight: 500;
}

.view-more {
	text-align: center;
}

/* 鎼滅储鍖哄煙 */
.search-section {
	padding: 60px 0;
	background-color: #ffffff;
}

/* 浣跨敤娴佺▼ */
.workflow {
	padding: 80px 0;
	background-color: white;
}

.workflow-steps {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 32px;
	flex-wrap: wrap;
}

.workflow-step {
	text-align: center;
	flex: 1;
	min-width: 200px;
	max-width: 300px;
}

.step-number {
	width: 60px;
	height: 60px;
	margin: 0 auto 20px;
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	color: white;
	font-size: 1.5rem;
	font-weight: 700;
}

.workflow-step h3 {
	font-size: 1.25rem;
	font-weight: 600;
	color: #1a1a2e;
	margin-bottom: 12px;
}

.workflow-step p {
	color: #666;
	line-height: 1.6;
	font-size: 0.95rem;
}

.workflow-arrow {
	color: #ddd;
	font-size: 2rem;
	display: none;
}

@media (min-width: 768px) {
	.workflow-arrow {
		display: block;
	}
}

/* 鐢ㄦ埛璇勪环 */
.testimonials {
	padding: 80px 0;
	background: linear-gradient(135deg, #f5f7fa 0%, #e4e8ec 100%);
}

.testimonials-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 24px;
}

.testimonial-card {
	background: white;
	border-radius: 16px;
	padding: 28px;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.testimonial-content {
	font-size: 1rem;
	line-height: 1.7;
	color: #444;
	margin-bottom: 20px;
	font-style: italic;
}

.testimonial-author {
	display: flex;
	align-items: center;
	gap: 12px;
	padding-top: 16px;
	border-top: 1px dashed #eee;
}

.author-avatar {
	width: 44px;
	height: 44px;
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	color: white;
}

.author-name {
	display: block;
	font-weight: 600;
	color: #1a1a2e;
}

.author-title {
	display: block;
	font-size: 0.85rem;
	color: #888;
	margin-top: 2px;
}

/* CTA鍖哄煙 */
.cta {
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	padding: 80px 0;
	text-align: center;
	color: white;
}

.cta-content h2 {
	font-size: 2.25rem;
	font-weight: 700;
	margin-bottom: 16px;
}

.cta-content p {
	font-size: 1.1rem;
	color: rgba(255, 255, 255, 0.85);
	margin-bottom: 32px;
}

.cta-buttons {
	display: flex;
	gap: 16px;
	justify-content: center;
}

/* 浜у搧鍒楄〃瀹瑰櫒 - 鏀逛负缃戞牸甯冨眬 */
.product-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 28px;
    width: 100%;
    margin: 0 auto;
}

/* 鍗曚釜鍒楄〃椤瑰崱鐗?- 浼樺寲鍗＄墖璁捐 */
.product-item {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid #f1f5f9;
    height: 100%;
    display: flex;
    flex-direction: column;
}
.product-item:hover {
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
    transform: translateY(-4px);
}

/* 鍙充晶璇︽儏鍖哄煙 */
.product-details {
    flex: 1;
    padding: 20px;
    display: flex;
    flex-direction: column;
    background: white;
}

/* 鍙充晶涓婂崐閮ㄥ垎 */
.details-top {
    display: flex;
    flex-direction: column;
    margin-bottom: 12px;
}
.product-name {
    font-size: 1.2rem;
    font-weight: 600;
    color: #1e293b;
    letter-spacing: -0.01em;
    line-height: 1.4;
    margin: 0 0 8px 0;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}
.product-stats {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
}
.product-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: #FF5722;
}
.product-price::before {
    content: '楼';
    font-size: 1.1rem;
    font-weight: 500;
    margin-right: 2px;
    color: #FF5722;
}
.product-sold {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #64748b;
    font-size: 0.9rem;
    background: #f1f5f9;
    padding: 4px 10px;
    border-radius: 30px;
}
.product-sold::before {
    content: "馃摝";
}

/* 鏀惰棌鎸夐挳鏍峰紡 */
.product-collect-btn {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    cursor: pointer;
    color: #94a3b8;
    font-size: 1.1rem;
    padding: 6px 12px;
    border-radius: 8px;
    transition: all 0.25s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.product-collect-btn:hover {
    color: #fbbf24;
    background-color: #fef3c7;
    border-color: #fde68a;
    transform: translateY(-1px);
    box-shadow: 0 2px 6px rgba(251, 191, 36, 0.15);
}

.product-collect-btn-active {
    color: #fbbf24;
    background-color: #fef3c7;
    border-color: #fde68a;
}

.product-collect-btn-active:hover {
    color: #fbbf24;
    background-color: #fde68a;
    border-color: #fcd34d;
}

/* 鐑棬妯″瀷鍜屼粨搴撴牱寮?*/
.hot-models-section,
.hot-repositories-section {
    padding: 40px 0;
    background-color: #f8fafc;
}

.models-grid,
.repositories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
    margin-top: 24px;
}

.model-card,
.repository-card {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.model-card:hover,
.repository-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.model-image {
    height: 180px;
    overflow: hidden;
    position: relative;
}

/* 鏍囬琛屾牱寮?*/
.model-title-row, .product-title-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
    flex-wrap: wrap;
    gap: 8px;
}

/* 鍏嬮殕鎸夐挳鏍峰紡 */
.clone-button {
    padding: 6px;
    width: 28px;
    height: 28px;
    background-color: transparent;
    border: 1px solid #e8e8e8;
    border-radius: 50%;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: #8c8c8c;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.clone-button:hover {
    background-color: #1890ff;
    color: #ffffff;
    border-color: #1890ff;
    box-shadow: 0 2px 8px rgba(24, 144, 255, 0.25);
}

/* Repository椤甸潰缇庡寲鏍峰紡 */
.repository-page {
    background-color: #f8fafc;
    min-height: calc(100vh - 110px);
    margin-top: 20px;
}

.repository-page .layui-card {
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
    border: none;
    overflow: hidden;
}

/* 鍏嬮殕鎿嶄綔鍖哄煙鏍峰紡 */
.repository-clone-section {
    background-color: #ffffff;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 20px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
}

.repository-clone-section .layui-form {
    margin: 0;
}

.repository-clone-section select {
    border-radius: 6px;
    border-color: #e2e8f0;
}

/* 妯″瀷璇︽儏鍗＄墖鏍峰紡 */
#entity-detail {
    margin-bottom: 20px;
}

#entity-detail .layui-card-header {
    background-color: #f1f5f9;
    padding: 16px;
    border-bottom: 1px solid #e2e8f0;
}

#entity-detail .layui-card-body {
    padding: 16px;
}

/* 浠锋牸灞曠ず鏍峰紡 */
#entity-detail .layui-card-header span {
    font-size: 1.8rem;
    font-weight: 700;
    color: #FF5722;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

/* 妯″瀷鎻忚堪鏍峰紡 */
#entity-detail .layui-elem-quote {
    border-left-color: #3b82f6;
    background-color: #eff6ff;
    border-radius: 6px;
    padding: 12px;
    margin-bottom: 16px;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* 妯″瀷鎴浘鏍峰紡 */
#entity-screenshot {
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

#entity-screenshot:hover {
    transform: scale(1.02);
}

/* 浠撳簱鏍戞牱寮忔敼杩?*/
#entity-repository-tree {
    padding: 8px;
}

#entity-repository-tree .layui-tree-branch, 
#entity-repository-tree .layui-tree-leaf {
    margin-right: 8px;
}

#entity-repository-tree .layui-tree-txt {
    padding: 4px 8px;
    border-radius: 4px;
    transition: all 0.2s ease;
}

#entity-repository-tree .layui-tree-txt:hover {
    background-color: #f1f5f9;
    color: #3b82f6;
}

#entity-repository-tree .layui-font-red {
    color: #ef4444 !important;
    font-weight: 500;
}

/* 缁熻闈㈡澘鏍峰紡 */
.repository-stats {
    background-color: #ffffff;
    border-radius: 8px;
    padding: 16px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
}

.repository-stats .layui-btn-container {
    margin-bottom: 24px;
}

.repository-stats .layui-btn {
    border-radius: 6px;
    transition: all 0.2s ease;
}

.repository-stats .layui-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.repository-stats .layui-btn-fluid {
    margin-bottom: 12px;
}

/* 缁熻鏁版嵁椤规牱寮?*/
.repository-stats .layui-row {
    margin-bottom: 16px;
}

.repository-stats .layui-col-md3 {
    text-align: center;
    padding: 8px;
}

.repository-stats .layui-col-md3 i {
    font-size: 16px;
    margin-right: 4px;
    color: #64748b;
}

.repository-stats .layui-col-md3 span {
    font-size: 0.9rem;
    color: #374151;
}

/* 浠撳簱淇℃伅鏍峰紡 */
.repository-info-item {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
}

.repository-info-item i {
    width: 20px;
    font-size: 16px;
    color: #64748b;
    margin-right: 8px;
}

.repository-info-item .layui-col-md8 {
    color: #374151;
    font-size: 0.9rem;
}

/* 鏀硅繘鎸夐挳鏍峰紡 */
.layui-btn-disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* 浠锋牸鍜屾暟閲忕粺璁℃牱寮?*/
.price-amount-section {
    background-color: #fef2f2;
    border-radius: 8px;
    padding: 12px;
    margin-bottom: 16px;
    border-left: 4px solid #ef4444;
}

.price-amount-section .layui-font-red {
    font-weight: 700;
    font-size: 1.1rem;
}

/* 鍒嗗壊绾挎牱寮?*/
.repository-stats hr {
    border-color: #f1f5f9;
    margin: 16px 0;
}

.clone-button i {
    margin-right: 0;
    font-size: 14px;
}

/* 浜у搧鎿嶄綔鍖哄煙鏍峰紡 */
.product-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* 妯″瀷鍗＄墖閲嶆柊璁捐 */
.model-content {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.model-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

/* 鍥剧墖涓婂彸涓婅浠锋牸 */
.model-price-top {
    position: absolute;
    top: 12px;
    right: 12px;
    background-color: rgba(255, 255, 255, 0.9);
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 700;
    color: #FF5722;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* 鍥剧墖宸︿笅瑙掑厠闅嗘寜閽?*/
.clone-button-bottom {
    position: absolute;
    bottom: 12px;
    left: 12px;
    padding: 6px 12px;
    background-color: rgba(255, 255, 255, 0.9);
    border: 1px solid #e8e8e8;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    color: #666;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.2s ease;
}

.clone-button-bottom:hover {
    background-color: #ffffff;
    color: #1890ff;
    border-color: #1890ff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.model-info {
    padding: 16px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* 妯″瀷浠嬬粛 */
.model-intro {
    font-size: 0.85rem;
    color: #64748b;
    line-height: 1.5;
    margin-bottom: 12px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

/* 妯″瀷鏍囬琛岋紙棣栭〉锛?*/
.model-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
    flex-wrap: wrap;
    gap: 8px;
}

/* 妯″瀷浠锋牸鏍峰紡 */
.model-price {
    font-size: 1rem;
    font-weight: 700;
    color: #FF5722;
    white-space: nowrap;
}

/* 妯″瀷鍏冩暟鎹?*/
.model-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: 12px;
    border-top: 1px solid #f1f5f9;
    font-size: 0.8rem;
    color: #94a3b8;
}

/* 浜у搧鏍囬琛岋紙鎼滅储椤甸潰锛?*/
.product-title-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    flex-wrap: wrap;
    gap: 8px;
}

/* 鎼滅储椤甸潰浜у搧鍏冩暟鎹?*/
.product-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 12px;
    border-top: 1px solid #f1f5f9;
    font-size: 0.8rem;
    color: #94a3b8;
}

/* 鎼滅储椤甸潰浜у搧鍥剧墖瀹瑰櫒 */
.product-image-wrapper {
    position: relative;
    margin-bottom: 12px;
}

/* 鎼滅储椤甸潰鍥剧墖涓婂彸涓婅浠锋牸 */
.product-price-top {
    position: absolute;
    top: 12px;
    right: 12px;
    background-color: rgba(255, 255, 255, 0.9);
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 700;
    color: #FF5722;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* 浜у搧鍥剧墖瀹瑰櫒鏍峰紡锛堟悳绱㈤〉闈級 */
.product-image-container {
    position: relative;
    display: inline-block;
    width: 100%;
}

.model-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    cursor: pointer;
}

.model-card:hover .model-image img {
    transform: scale(1.1);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    z-index: 10;
    position: relative;
}

.model-info,
.repository-info {
    padding: 16px;
}

.model-title,
.repository-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0 0 8px 0;
    color: #1e293b;
}

.model-title a,
.repository-title a {
    color: #1e293b;
    text-decoration: none;
}

.model-title a:hover,
.repository-title a:hover {
    color: #3b82f6;
}

.model-price {
    font-size: 1.2rem;
    font-weight: 700;
    color: #ef4444;
}

.repository-desc {
    font-size: 0.9rem;
    color: #64748b;
    line-height: 1.5;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

.btn-primary {
    display: inline-block;
    padding: 10px 24px;
    background-color: #3b82f6;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 500;
    transition: background-color 0.3s ease;
}

.btn-primary:hover {
    background-color: #2563eb;
}

.mt-4 {
    margin-top: 16px;
}

/* 浜у搧鍥剧墖鏍峰紡浼樺寲 */
.product-description img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 12px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    cursor: pointer;
}

.product-item:hover .product-description img {
    transform: scale(1.1);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    z-index: 10;
    position: relative;
}

/* 鍥剧墖棰勮妯℃€佹 */
.image-preview-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.image-preview-modal.active {
    display: flex;
}

.image-preview-content {
    max-width: 90%;
    max-height: 90%;
    position: relative;
}

.image-preview-content img {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 80vh;
    border-radius: 8px;
}

.close-preview {
    position: absolute;
    top: -30px;
    right: 0;
    color: white;
    font-size: 24px;
    cursor: pointer;
    background: none;
    border: none;
}

.close-preview:hover {
    color: #ff4757;
}

/* 鍝嶅簲寮忚皟鏁?*/
@media (max-width: 768px) {
    .product-list {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .product-description img {
        height: 160px;
    }
}

/* 瑕嗙洊榛樿鐨勪骇鍝佹弿杩版牱寮忥紝閫傜敤浜庣綉鏍煎竷灞€ */
.models-section .product-description {
    border-top: none !important;
    padding-top: 8px !important;
    margin-top: auto !important;
    color: #64748b !important;
    font-size: 0.85rem !important;
    line-height: 1.5 !important;
    -webkit-line-clamp: 4 !important;
}

/* 妯″瀷鎻忚堪鏂囧瓧鏍峰紡 */
.model-introduction {
    margin-top: 8px;
    color: #64748b;
    font-size: 0.85rem;
    line-height: 1.5;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    margin-bottom: 12px;
}

/* 浜у搧鍏冧俊鎭牱寮忥紙浠锋牸鍜屽厠闅嗘鏁帮級 */
.product-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0 0 0;
    margin-top: auto;
    flex-wrap: wrap;
    gap: 8px;
}

.product-price {
    font-size: 1.3rem !important;
    font-weight: 700;
    color: #FF5722 !important;
    margin: 0 !important;
    letter-spacing: -0.02em;
}

.product-price::before {
    content: '楼';
    font-size: 0.9rem;
    margin-right: 2px;
}

.product-clones {
    font-size: 0.9rem;
    color: #94a3b8;
    display: inline-block;
    margin: 0;
}

.product-clones::before {
    content: none;
}

/* 鍙充晶涓嬪崐閮ㄥ垎 */
.product-description {
    border-top: 1px dashed #e2e8f0;
    padding-top: 16px;
    margin-top: auto;
    color: #334155;
    font-size: 0.98rem;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* 棣栭〉鍝嶅簲寮忚璁?*/
@media (max-width: 768px) {
	.hero-content {
		flex-direction: column;
		text-align: center;
	}
	
	.hero-text h1 {
		font-size: 2rem;
	}
	
	.hero-stats {
		justify-content: center;
	}
	
	.hero-buttons, .cta-buttons {
		flex-direction: column;
		align-items: center;
	}
	
	.btn-large {
		width: 100%;
		max-width: 280px;
		text-align: center;
	}
	
	.features-grid, .testimonials-grid {
		grid-template-columns: 1fr;
	}
	
	.workflow-steps {
		flex-direction: column;
	}
	
	.features .section-title {
		font-size: 1.75rem;
	}
}

/* 注册页面科技感UI - 简洁大方版 */

/* 页面背景 */
body.register-page {
    background: #f8fafc;
    font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #1e293b;
    min-height: 100vh;
    overflow-x: hidden;
}

/* 登录容器 */
.tech-login-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 20px;
}

/* 登录主面板 */
.tech-login-main {
    width: 100%;
    max-width: 420px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: box-shadow 0.2s ease;
}

.tech-login-main:hover {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

/* 头部区域 */
.tech-login-header {
    text-align: center;
    padding: 36px 30px 24px;
    border-bottom: 1px solid #f1f5f9;
}

/* 标志 */
.tech-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 16px;
}

.tech-logo i {
    font-size: 32px;
    color: #3b82f6;
}

.tech-logo h1 {
    font-size: 26px;
    font-weight: 700;
    color: #1e293b;
    margin: 0;
}

.tech-login-header h2 {
    font-size: 22px;
    font-weight: 600;
    color: #1e293b;
    margin: 0 0 6px;
}

.tech-login-subtitle {
    font-size: 14px;
    color: #64748b;
    margin: 0;
    font-weight: 400;
}

/* 表单区域 */
.tech-login-form {
    padding: 28px 30px;
}

/* 表单项目 */
.tech-form-group {
    margin-bottom: 20px;
}

/* 输入框容器 */
.tech-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

/* 输入框图标 */
.tech-input-icon {
    position: absolute;
    left: 14px;
    color: #94a3b8;
    font-size: 16px;
    z-index: 10;
    transition: color 0.2s ease;
}

/* 输入框样式 */
.tech-input {
    width: 100%;
    padding: 14px 14px 14px 46px;
    height: 48px;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    font-size: 15px;
    font-family: inherit;
    background: #ffffff;
    color: #1e293b;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.tech-input::placeholder {
    color: #94a3b8;
}

.tech-input:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.tech-input:focus + .tech-input-icon {
    color: #3b82f6;
}

/* 按钮样式 */
.tech-btn {
    width: 100%;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    font-weight: 600;
    border-radius: 8px;
    border: none;
    font-family: inherit;
    cursor: pointer;
    transition: background-color 0.2s ease;
    text-decoration: none;
    letter-spacing: 0.2px;
}

/* 主按钮 */
.tech-btn-primary {
    background: #3b82f6;
    color: #ffffff;
}

.tech-btn-primary:hover {
    background: #2563eb;
}

.tech-btn-primary:active {
    background: #1d4ed8;
}

/* 轮廓按钮 */
.tech-btn-outline {
    background: transparent;
    color: #3b82f6;
    border: 1px solid #e2e8f0;
}

.tech-btn-outline:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
}

/* 分隔线 */
.tech-login-divider {
    position: relative;
    text-align: center;
    margin: 24px 0;
}

.tech-login-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: #f1f5f9;
    z-index: 1;
}

.tech-login-divider span {
    position: relative;
    display: inline-block;
    padding: 0 14px;
    background: #ffffff;
    color: #94a3b8;
    font-size: 12px;
    z-index: 2;
}

/* 底部区域 */
.tech-login-footer {
    text-align: center;
    padding: 24px 20px;
    color: #64748b;
    font-size: 12px;
}

.tech-login-footer a {
    color: #3b82f6;
    text-decoration: none;
    transition: color 0.2s ease;
}

.tech-login-footer a:hover {
    color: #2563eb;
    text-decoration: underline;
}

.tech-login-links {
    margin-top: 10px;
    display: flex;
    gap: 20px;
    justify-content: center;
}

/* 密码强度指示器 */
#password-strength {
    margin-top: 4px;
    font-size: 11px;
    font-weight: 500;
    padding: 3px 6px;
    border-radius: 4px;
    text-align: center;
}

/* 表单验证提示 */
.layui-form-item .layui-form-error {
    margin-top: 4px;
    color: #ef4444;
    font-size: 11px;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .tech-login-main {
        margin: 0 16px;
    }
    
    .tech-login-header {
        padding: 30px 20px 20px;
    }
    
    .tech-login-form {
        padding: 24px 20px;
    }
    
    .tech-form-group {
        margin-bottom: 18px;
    }
    
    .tech-input {
        height: 46px;
        font-size: 14px;
    }

    .tech-btn {
        height: 46px;
        font-size: 14px;
    }

    .tech-logo i {
        font-size: 28px;
    }

    .tech-logo h1 {
        font-size: 24px;
    }

    .tech-login-header h2 {
        font-size: 20px;
    }
}
