@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700&family=Inter:wght@300;400;500;600&display=swap');

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

/* ==================== 极简风格 - 3D预览页面 ==================== */
.3dspace-module {
  font-family: 'Inter', 'Helvetica Neue', Arial, sans-serif;
  background: #ffffff !important;
  min-height: 100vh;
  color: #1a1a1a;
}

/* 页面标题 */
.portfolio-3dspace-header {
  background: transparent !important;
  padding: 80px 0 40px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.portfolio-header-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
}

.portfolio-header-left {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  flex: 1;
}

.portfolio-header-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #1a1a1a;
  flex-shrink: 0;
}

.portfolio-header-icon svg {
  width: 100%;
  height: 100%;
}

.portfolio-header-text {
  flex: 1;
}

.portfolio-3dspace-title {
  font-family: 'Playfair Display', serif;
  font-size: 48px;
  font-weight: 500;
  color: #1a1a1a;
  margin: 0 0 12px;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.portfolio-3dspace-subtitle {
  font-size: 16px;
  color: #666;
  margin: 0;
  font-weight: 300;
  letter-spacing: 0.01em;
}

.portfolio-header-right {
  flex-shrink: 0;
}

.portfolio-back-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  background: transparent;
  color: #1a1a1a;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 1px solid #1a1a1a;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
}

.portfolio-back-btn:hover {
  background: #1a1a1a;
  color: #ffffff;
  text-decoration: none;
}

.portfolio-back-btn svg {
  width: 18px;
  height: 18px;
  transition: transform 0.3s ease;
}

.portfolio-back-btn:hover svg {
  transform: translateX(-4px);
}

/* 标签导航 */
.portfolio-3dspace-tabs-container {
  background: #ffffff;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  padding: 0;
  position: relative;
}

.portfolio-3dspace-tabs {
  display: flex;
  gap: 0;
  padding: 0;
  position: relative;
}

.portfolio-3dspace-tab {
  padding: 20px 32px;
  background: transparent;
  color: #1a1a1a;
  opacity: 0.4;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: none;
  border-bottom: 2px solid transparent;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  z-index: 1;
}

.portfolio-3dspace-tab:hover {
  opacity: 0.7;
  background: rgba(0, 0, 0, 0.02);
}

.portfolio-3dspace-tab.active {
  opacity: 1;
  font-weight: 600;
  background: rgba(0, 0, 0, 0.02);
}

.portfolio-3dspace-tab.active::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #3B82F6, #10B981);
  border-radius: 0 0 2px 2px;
}

/* 内容区域 */
.portfolio-3dspace-tab-content {
  display: none;
  padding-top: 40px;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.portfolio-3dspace-tab-content.active {
  display: block;
  opacity: 1;
  transform: translateY(0);
  animation: tabContentFadeIn 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes tabContentFadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 3D预览主布局 */
.portfolio-3dspace-main-row {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 32px;
}

.portfolio-3dspace-canvas-col {
  grid-column: 1;
}

.portfolio-3dspace-info-col {
  grid-column: 2;
}

/* 3D画布区域 */
.portfolio-3dspace-canvas-wrapper {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 0;
  overflow: hidden;
  position: relative;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04), 0 8px 24px rgba(0, 0, 0, 0.06);
  transition: box-shadow 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.portfolio-3dspace-canvas-wrapper:hover {
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06), 0 16px 48px rgba(0, 0, 0, 0.1);
}

.portfolio-3dspace-canvas {
  width: 100%;
  height: 600px;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  position: relative;
}

/* 加载覆盖层 */
.portfolio-3dspace-loading {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: #fafafa;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 10;
}

.portfolio-3dspace-spinner {
  width: 40px;
  height: 40px;
  border: 2px solid #e5e5e5;
  border-top-color: #1a1a1a;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

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

.portfolio-3dspace-loading p {
  margin-top: 16px;
  font-size: 14px;
  color: #666;
  font-weight: 300;
  letter-spacing: 0.05em;
}

/* 3D控制面板 */
.portfolio-3dspace-controls {
  position: absolute;
  bottom: 24px;
  right: 24px;
  display: flex;
  gap: 8px;
  z-index: 5;
}

.portfolio-3dspace-control-btn {
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #1a1a1a;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 0;
  border-radius: 10px;
}

.portfolio-3dspace-control-btn:hover {
  background: #1a1a1a;
  color: #ffffff;
  border-color: #1a1a1a;
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.portfolio-3dspace-control-btn:active {
  transform: translateY(0);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
}

.portfolio-3dspace-control-btn.active {
  background: linear-gradient(135deg, #3B82F6 0%, #10B981 100%);
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 4px 16px rgba(59, 130, 246, 0.3);
}

.portfolio-3dspace-control-btn.active:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4);
}

.portfolio-3dspace-control-btn svg {
  width: 22px;
  height: 22px;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.portfolio-3dspace-control-btn:hover svg {
  transform: scale(1.1);
}

/* 视角提示 */
.portfolio-3dspace-hint {
  position: absolute;
  bottom: 24px;
  left: 24px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #666;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.02em;
  z-index: 5;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.portfolio-3dspace-hint:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}

.portfolio-3dspace-hint svg {
  width: 20px;
  height: 20px;
  opacity: 0.6;
  flex-shrink: 0;
}

/* 信息面板 */
.portfolio-3dspace-panel {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 0;
  padding: 32px;
  margin-bottom: 24px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.portfolio-3dspace-panel:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.portfolio-3dspace-panel-title {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  font-weight: 500;
  color: #1a1a1a;
  margin: 0 0 28px;
  letter-spacing: -0.01em;
  position: relative;
  padding-bottom: 16px;
}

.portfolio-3dspace-panel-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 1px;
  background: #1a1a1a;
}

/* 信息网格 */
.portfolio-3dspace-info-grid {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.portfolio-3dspace-info-item {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.portfolio-3dspace-info-label {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  color: #999;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 400;
}

.portfolio-3dspace-info-value {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  color: #1a1a1a;
  font-weight: 400;
  text-align: right;
}

.portfolio-3dspace-price-item {
  padding-top: 8px;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  margin-top: 4px;
}

.portfolio-3dspace-info-price {
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  font-weight: 600;
  color: #1a1a1a;
}

/* 情绪工具列表 */
.portfolio-3dspace-tools-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.portfolio-3dspace-tool-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px;
  background: #fafafa;
  border: 1px solid rgba(0, 0, 0, 0.06);
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.portfolio-3dspace-tool-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, #3B82F6 0%, #10B981 100%);
  opacity: 0;
  transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 0;
}

.portfolio-3dspace-tool-item:hover {
  transform: translateX(4px);
  border-color: transparent;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.portfolio-3dspace-tool-item:hover::before {
  opacity: 1;
}

.portfolio-3dspace-tool-item:hover .portfolio-3dspace-tool-name,
.portfolio-3dspace-tool-item:hover .portfolio-3dspace-tool-price {
  color: #ffffff;
}

.portfolio-3dspace-tool-marker {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Playfair Display', serif;
  font-size: 16px;
  font-weight: 500;
  color: #ffffff;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

.portfolio-3dspace-tool-icon {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

.portfolio-3dspace-tool-icon svg {
  width: 100%;
  height: 100%;
}

.portfolio-3dspace-tool-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
  position: relative;
  z-index: 1;
}

.portfolio-3dspace-tool-name {
  font-size: 14px;
  color: #1a1a1a;
  font-weight: 500;
  transition: color 0.3s ease;
}

.portfolio-3dspace-tool-price {
  font-size: 13px;
  color: #666;
  font-weight: 300;
  transition: color 0.3s ease;
}

/* 快捷操作 */
.portfolio-3dspace-actions {
  display: grid;
  gap: 12px;
}

.portfolio-3dspace-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border: 1px solid #1a1a1a;
  background: transparent;
  color: #1a1a1a;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.portfolio-3dspace-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.portfolio-3dspace-btn:hover::before {
  left: 100%;
}

.portfolio-3dspace-btn:hover {
  background: #1a1a1a;
  color: #ffffff;
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.portfolio-3dspace-btn:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.portfolio-3dspace-btn-primary {
  background: linear-gradient(135deg, #3B82F6 0%, #10B981 100%);
  color: #ffffff;
  border-color: transparent;
}

.portfolio-3dspace-btn-primary:hover {
  background: linear-gradient(135deg, #2563EB 0%, #059669 100%);
  color: #ffffff;
  box-shadow: 0 8px 24px rgba(59, 130, 246, 0.3);
}

.portfolio-3dspace-btn-secondary {
  background: transparent;
  color: #1a1a1a;
}

.portfolio-3dspace-btn-secondary:hover {
  background: #1a1a1a;
  color: #ffffff;
}

/* 空状态 */
.portfolio-3dspace-empty {
  text-align: center;
  padding: 40px 0;
}

.portfolio-3dspace-empty-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 24px;
  color: #1a1a1a;
  opacity: 0.3;
}

.portfolio-3dspace-empty-icon svg {
  width: 100%;
  height: 100%;
}

.portfolio-3dspace-empty p {
  font-size: 16px;
  color: #666;
  margin: 0 0 24px;
  font-weight: 300;
}

/* ==================== 设计方案页面 ==================== */
.portfolio-design-plan-container {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 40px;
}

.portfolio-design-plan-main {
  grid-column: 1;
}

.portfolio-design-drawing {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  padding: 60px;
  margin-bottom: 32px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.portfolio-design-drawing:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

.portfolio-design-placeholder {
  width: 100%;
  padding-bottom: 66.666%;
  background: linear-gradient(135deg, #fafafa 0%, #e8e8e8 100%);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.portfolio-design-grid {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}

.portfolio-design-label {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: #1a1a1a;
  opacity: 0.4;
  text-transform: uppercase;
  letter-spacing: 0.15em;
}

.portfolio-design-notes {
  background: #fafafa;
  border-left: 2px solid #4ecdc4;
  padding: 28px;
}

.portfolio-design-notes-title {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #1a1a1a;
  opacity: 0.6;
  margin-bottom: 16px;
}

.portfolio-design-notes-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.portfolio-design-note-item {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  line-height: 1.6;
  color: #1a1a1a;
  opacity: 0.7;
}

.portfolio-design-specs {
  grid-column: 2;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  padding: 32px;
  height: fit-content;
}

.portfolio-specs-title {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  font-weight: 500;
  color: #1a1a1a;
  margin: 0 0 28px;
  letter-spacing: -0.01em;
  position: relative;
  padding-bottom: 16px;
}

.portfolio-specs-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 1px;
  background: #1a1a1a;
}

.portfolio-specs-grid {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.portfolio-spec-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.portfolio-spec-label {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  color: #999;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 400;
}

.portfolio-spec-value {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  color: #1a1a1a;
  font-weight: 500;
}

.portfolio-spec-value.price {
  font-family: 'Playfair Display', serif;
  font-size: 24px;
  font-weight: 600;
}

/* ==================== 材料建议页面 ==================== */
.portfolio-materials-container {
  max-width: 1200px;
}

.portfolio-materials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 40px;
}

.portfolio-material-card {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  overflow: hidden;
  position: relative;
}

.portfolio-material-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #3B82F6, #10B981);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.portfolio-material-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
}

.portfolio-material-card:hover::before {
  transform: scaleX(1);
}

.portfolio-material-swatch {
  width: 100%;
  height: 120px;
  border-radius: 0;
}

.portfolio-material-info {
  flex: 1;
}

.portfolio-material-name {
  font-family: 'Playfair Display', serif;
  font-size: 18px;
  font-weight: 500;
  color: #1a1a1a;
  margin: 0 0 8px;
}

.portfolio-material-desc {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  line-height: 1.6;
  color: #1a1a1a;
  opacity: 0.6;
  margin: 0;
}

.portfolio-materials-note {
  background: #fafafa;
  border: 1px solid rgba(0, 0, 0, 0.08);
  padding: 32px;
}

.portfolio-materials-note-content h5 {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #1a1a1a;
  opacity: 0.6;
  margin: 0 0 20px;
}

.portfolio-materials-note-content ul {
  margin: 0;
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.portfolio-materials-note-content li {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  line-height: 1.6;
  color: #1a1a1a;
  opacity: 0.7;
}

/* ==================== 情绪工具页面 ==================== */
.portfolio-tools-container {
  max-width: 1200px;
}

.portfolio-tools-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 40px;
}

.portfolio-tool-card {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  padding: 32px;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  overflow: hidden;
}

.portfolio-tool-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #3B82F6, #10B981);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.portfolio-tool-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
}

.portfolio-tool-card:hover::before {
  transform: scaleX(1);
}

.portfolio-tool-icon-wrapper {
  width: 64px;
  height: 64px;
  margin: 0 auto 16px;
}

.portfolio-tool-icon-wrapper svg {
  width: 100%;
  height: 100%;
}

.portfolio-tool-number {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 32px;
  height: 32px;
  background: #1a1a1a;
  color: #ffffff;
  font-family: 'Playfair Display', serif;
  font-size: 16px;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
}

.portfolio-tool-title {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  font-weight: 500;
  color: #1a1a1a;
  margin: 0 0 20px;
}

.portfolio-tool-prices {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 20px;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.portfolio-tool-price-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.portfolio-tool-price-label {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  color: #999;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 400;
}

.portfolio-tool-price-value {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  color: #1a1a1a;
  font-weight: 500;
}

.portfolio-tools-summary {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  padding: 32px;
}

.portfolio-tools-summary-card h5 {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  font-weight: 500;
  color: #1a1a1a;
  margin: 0 0 28px;
  letter-spacing: -0.01em;
  position: relative;
  padding-bottom: 16px;
}

.portfolio-tools-summary-card h5::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 1px;
  background: #1a1a1a;
}

.portfolio-tools-summary-stats {
  display: flex;
  justify-content: space-between;
  gap: 24px;
}

.portfolio-tools-stat {
  flex: 1;
  text-align: center;
}

.portfolio-tools-stat-value {
  font-family: 'Playfair Display', serif;
  font-size: 36px;
  font-weight: 600;
  color: #1a1a1a;
  display: block;
  margin-bottom: 8px;
}

.portfolio-tools-stat-value.price {
  font-size: 42px;
}

.portfolio-tools-stat-label {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  color: #999;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 400;
  display: block;
}

/* ==================== 响应式适配 ==================== */
@media (max-width: 1200px) {
  .portfolio-3dspace-main-row {
    grid-template-columns: 1fr;
  }
  
  .portfolio-3dspace-info-col {
    grid-column: 1;
  }
  
  .portfolio-design-plan-container {
    grid-template-columns: 1fr;
  }
  
  .portfolio-design-specs {
    grid-column: 1;
  }
  
  .portfolio-materials-grid,
  .portfolio-tools-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 992px) {
  .portfolio-header-row {
    flex-direction: column;
    gap: 24px;
  }
  
  .portfolio-header-right {
    width: 100%;
  }
  
  .portfolio-back-btn {
    width: 100%;
    justify-content: center;
  }
  
  .portfolio-3dspace-title {
    font-size: 36px;
  }
  
  .portfolio-3dspace-canvas {
    height: 450px;
  }
}

@media (max-width: 768px) {
  .portfolio-3dspace-header {
    padding: 60px 0 30px;
  }
  
  .portfolio-3dspace-title {
    font-size: 28px;
  }
  
  .portfolio-3dspace-tabs {
    flex-wrap: wrap;
    gap: 0;
  }
  
  .portfolio-3dspace-tab {
    padding: 16px 20px;
    font-size: 11px;
  }
  
  .portfolio-3dspace-canvas {
    height: 350px;
  }
  
  .portfolio-3dspace-controls {
    bottom: 16px;
    right: 16px;
  }
  
  .portfolio-3dspace-hint {
    bottom: 16px;
    left: 16px;
    font-size: 11px;
  }
  
  .portfolio-materials-grid,
  .portfolio-tools-grid {
    grid-template-columns: 1fr;
  }
  
  .portfolio-tools-summary-stats {
    flex-direction: column;
    gap: 24px;
  }
}

/* 强制可见性 */
.portfolio-3dspace-module,
.portfolio-3dspace-module * {
  visibility: visible !important;
  opacity: 1 !important;
}
