html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Microsoft YaHei', 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  color: #1f2937; /* Tailwind Gray-800 */
  background-color: #f8fafc; /* Tailwind Slate-50 */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Subtle fade animations for scroll */
.fade-up {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.stagger-delay:nth-child(1) { transition-delay: 0.05s; }
.stagger-delay:nth-child(2) { transition-delay: 0.1s; }
.stagger-delay:nth-child(3) { transition-delay: 0.15s; }
.stagger-delay:nth-child(4) { transition-delay: 0.2s; }
.stagger-delay:nth-child(5) { transition-delay: 0.25s; }

/* Refined Corporate Card Hover */
.premium-card {
  background: #ffffff;
  border: 1px solid #e2e8f0; /* slate-200 */
  transition: all 0.3s ease;
}

.premium-card:hover {
  border-color: #cbd5e1; /* slate-300 */
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.01);
  transform: translateY(-2px);
}

/* Custom minimal scrollbar */
::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: transparent;
}
::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

/* Grid background for subtle texture on hero */
.corporate-pattern {
  background-image: radial-gradient(#e5e7eb 1px, transparent 1px);
  background-size: 24px 24px;
}
@keyframes marquee {
  0% { transform: translateX(0%); }
  100% { transform: translateX(-100%); }
}

/* =============================================
   文创典藏 Page Styles
   ============================================= */
.culture-page {
  background-color: #faf9f7;
}

.culture-card {
  background: #ffffff;
  border: 1px solid #ece8e3;
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
}

.culture-card:hover {
  border-color: #c9a96e;
  box-shadow: 0 12px 32px -4px rgba(139, 90, 43, 0.12), 0 4px 12px -2px rgba(139, 90, 43, 0.06);
  transform: translateY(-4px);
}

.culture-card:hover .culture-card-img {
  transform: scale(1.04);
}

.culture-card-img-wrap {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: linear-gradient(135deg, #f5f0ea 0%, #ede8e0 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.culture-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.culture-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(15, 10, 5, 0.92);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.culture-lightbox.active {
  opacity: 1;
  pointer-events: all;
}

.culture-lightbox img {
  max-width: 92vw;
  max-height: 88vh;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.5);
  transform: scale(0.95);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.culture-lightbox.active img {
  transform: scale(1);
}

.culture-lightbox-close {
  position: absolute;
  top: 20px;
  right: 24px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.culture-lightbox-close:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
}

/* =============================================
   Pagination Component (可复用)
   ============================================= */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px;
  padding: 28px 0 4px;
  color: #606266;
  font-size: 14px;
  user-select: none;
}

.pagination-arrow,
.pagination-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 32px;
  height: 32px;
  padding: 0 6px;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 4px;
  color: #606266;
  font-size: 14px;
  line-height: 1;
  cursor: pointer;
  transition: color 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

.pagination-arrow svg {
  display: block;
}

.pagination-arrow:hover:not(:disabled),
.pagination-btn:hover:not(.is-active):not(:disabled) {
  color: #2563eb;
}

.pagination-arrow:disabled,
.pagination-btn:disabled {
  color: #c0c4cc;
  cursor: not-allowed;
}

.pagination-btn.is-active {
  color: #2563eb;
  border-color: #2563eb;
  font-weight: 500;
  cursor: default;
}

.pagination-ellipsis {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 32px;
  height: 32px;
  color: #606266;
  letter-spacing: 1px;
}

.pagination-total {
  display: inline-flex;
  align-items: center;
  height: 32px;
  line-height: 32px;
  margin-right: 4px;
  color: #606266;
  font-size: 14px;
  white-space: nowrap;
}

.pagination-sizes,
.pagination-jump {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-left: 12px;
  color: #606266;
}

.pagination-sizes-select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  height: 32px;
  padding: 0 28px 0 12px;
  background-color: #ffffff;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%23606066' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 10px;
  border: 1px solid #dcdfe6;
  border-radius: 4px;
  color: #606266;
  font-size: 14px;
  cursor: pointer;
  transition: border-color 0.2s ease;
}

.pagination-sizes-select:hover,
.pagination-sizes-select:focus {
  border-color: #2563eb;
  outline: none;
}

.pagination-jump-input {
  width: 56px;
  height: 32px;
  padding: 0 6px;
  text-align: center;
  background: #ffffff;
  border: 1px solid #dcdfe6;
  border-radius: 4px;
  color: #606266;
  font-size: 14px;
  -moz-appearance: textfield;
  transition: border-color 0.2s ease;
}

.pagination-jump-input::-webkit-outer-spin-button,
.pagination-jump-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.pagination-jump-input:hover,
.pagination-jump-input:focus {
  border-color: #2563eb;
  outline: none;
}

/* =============================================
   Auth Quote Table Component (授权自报价 - 表格, 前台展示)
   ============================================= */
.auth-quote-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 14px;
  color: #1f2937;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  overflow: hidden;
}

.auth-quote-table thead tr {
  background: #f8fafc;
}

.auth-quote-table th {
  padding: 10px 24px;
  font-weight: 500;
  color: #909399;
  font-size: 13px;
  border-bottom: 1px solid #e5e7eb;
  text-align: left;
}

.auth-quote-table th:last-child {
  text-align: right;
}

.auth-quote-table tbody tr {
  border-bottom: 1px solid #f1f5f9;
  transition: background-color 0.15s ease;
}

.auth-quote-table tbody tr:hover {
  background-color: #fafbfc;
}

.auth-quote-table tbody tr:last-child {
  border-bottom: none;
}

.auth-quote-table td {
  padding: 12px 24px;
  vertical-align: middle;
  font-size: 18px;
}

.auth-quote-table td:last-child {
  font-family: 'SF Mono', 'Menlo', 'Consolas', monospace;
  color: #1f2937;
}

.auth-quote-table tr.is-disabled td {
  color: #c0c4cc;
}