/* ============================================
   视觉软件平台详情页专用样式
   ============================================ */

/* 四大核心功能卡片展示 */
.core-functions {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin: 56px 0;
}

.core-function-card {
  position: relative;
  background: white;
  border-radius: 16px;
  padding: 32px 24px;
  text-align: center;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(0, 0, 0, 0.04);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
}

.core-function-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #2196F3, #1976D2);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.core-function-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(33, 150, 243, 0.15);
  border-color: rgba(33, 150, 243, 0.2);
}

.core-function-card:hover::before {
  opacity: 1;
}

/* 图标 */
.function-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 20px;
  background: linear-gradient(135deg, #f0f7ff 0%, #e3f0fc 100%);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.4s ease;
}

.function-icon svg {
  width: 36px;
  height: 36px;
  stroke: #1976D2;
  transition: all 0.3s ease;
}

.core-function-card:hover .function-icon {
  background: linear-gradient(135deg, #2196F3 0%, #1565C0 100%);
  transform: scale(1.05);
  box-shadow: 0 8px 24px rgba(33, 150, 243, 0.3);
}

.core-function-card:hover .function-icon svg {
  stroke: white;
  stroke-width: 2;
  filter: drop-shadow(0 0 2px rgba(255, 255, 255, 0.5));
}

/* 内容区 */
.function-content {
  position: relative;
}

.function-number {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  color: #94a3b8;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.function-title {
  font-size: 20px;
  font-weight: 600;
  color: #1e293b;
  margin: 0 0 8px;
  letter-spacing: 2px;
}

.function-desc {
  font-size: 13px;
  color: #64748b;
  margin: 0;
  font-weight: 400;
}

/* 装饰线 */
.function-line {
  position: absolute;
  bottom: 0;
  left: 24px;
  right: 24px;
  height: 2px;
  background: linear-gradient(90deg, transparent, #e2e8f0, transparent);
}

/* 序号不同颜色 */
.core-function-card:nth-child(1) .function-icon {
  background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
}
.core-function-card:nth-child(1) .function-icon svg {
  stroke: #1976D2;
}
.core-function-card:nth-child(1):hover .function-icon {
  background: linear-gradient(135deg, #2196F3 0%, #1565C0 100%);
}

.core-function-card:nth-child(2) .function-icon {
  background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
}
.core-function-card:nth-child(2) .function-icon svg {
  stroke: #388E3C;
}
.core-function-card:nth-child(2):hover .function-icon {
  background: linear-gradient(135deg, #4CAF50 0%, #2E7D32 100%);
}

.core-function-card:nth-child(3) .function-icon {
  background: linear-gradient(135deg, #fff3e0 0%, #ffe0b2 100%);
}
.core-function-card:nth-child(3) .function-icon svg {
  stroke: #F57C00;
}
.core-function-card:nth-child(3):hover .function-icon {
  background: linear-gradient(135deg, #FF9800 0%, #EF6C00 100%);
}

.core-function-card:nth-child(4) .function-icon {
  background: linear-gradient(135deg, #fce4ec 0%, #f8bbd9 100%);
}
.core-function-card:nth-child(4) .function-icon svg {
  stroke: #C2185B;
}
.core-function-card:nth-child(4):hover .function-icon {
  background: linear-gradient(135deg, #E91E63 0%, #AD1457 100%);
}

/* 软件界面预览 */
.software-preview {
  margin-top: 48px;
  display: flex;
  justify-content: center;
  perspective: 1000px;
}

.software-window {
  width: 100%;
  max-width: 900px;
  background: #1a1d23;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 
    0 32px 100px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(255, 255, 255, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
  transform: rotateX(2deg);
  transition: transform 0.5s ease;
}

.software-window:hover {
  transform: rotateX(0deg);
}

/* 窗口标题栏 */
.window-header {
  background: linear-gradient(180deg, #2a2d35 0%, #232730 100%);
  padding: 8px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(0, 0, 0, 0.3);
}

.window-header-left {
  display: flex;
  align-items: center;
  gap: 8px;
}

.window-logo {
  width: 18px;
  height: 18px;
  stroke: #3b82f6;
}

.window-title {
  color: #e5e7eb;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.window-header-menu {
  display: flex;
  gap: 20px;
}

.window-header-menu span {
  color: #9ca3af;
  font-size: 12px;
  cursor: pointer;
  transition: color 0.2s ease;
}

.window-header-menu span:hover {
  color: #e5e7eb;
}

.window-controls {
  display: flex;
  gap: 4px;
}

.control-btn {
  width: 28px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #9ca3af;
  font-size: 12px;
  cursor: pointer;
  transition: all 0.15s ease;
  border-radius: 3px;
}

.control-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #e5e7eb;
}

.control-btn.close:hover {
  background: #e81123;
  color: white;
}

/* 工具栏 */
.window-toolbar {
  background: #1e2128;
  padding: 6px 12px;
  display: flex;
  align-items: center;
  gap: 4px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.toolbar-btn {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.toolbar-btn:hover {
  background: rgba(59, 130, 246, 0.2);
}

.toolbar-btn svg {
  width: 16px;
  height: 16px;
  stroke: #9ca3af;
  fill: none;
  stroke-width: 2;
}

.toolbar-btn:hover svg {
  stroke: #60a5fa;
}

.toolbar-divider {
  width: 1px;
  height: 20px;
  background: rgba(255, 255, 255, 0.1);
  margin: 0 8px;
}

.toolbar-status {
  margin-left: auto;
  padding: 4px 12px;
  background: rgba(239, 68, 68, 0.2);
  color: #f87171;
  font-size: 11px;
  font-weight: 500;
  border-radius: 4px;
}

/* 主内容区 */
.window-content {
  display: flex;
  min-height: 320px;
}

/* 侧边栏 */
.sidebar {
  width: 180px;
  background: linear-gradient(180deg, #13161b 0%, #0f1216 100%);
  border-right: 1px solid rgba(255, 255, 255, 0.05);
}

.sidebar-section {
  padding: 0;
}

.sidebar-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 14px;
  color: #6b7280;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.sidebar-header svg {
  width: 14px;
  height: 14px;
  stroke: #6b7280;
  fill: none;
  stroke-width: 2;
}

.tool-list {
  list-style: none;
  padding: 8px 0;
  margin: 0;
}

.tool-category {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 14px;
  color: #9ca3af;
  font-size: 12px;
  cursor: pointer;
  transition: all 0.15s ease;
  border-left: 2px solid transparent;
}

.tool-category:hover {
  background: rgba(59, 130, 246, 0.08);
  color: #60a5fa;
  border-left-color: #3b82f6;
}

.tool-category svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  flex-shrink: 0;
}

/* 主区域 */
.main-area {
  flex: 1;
  padding: 12px;
  background: linear-gradient(135deg, #0a0c10 0%, #0d1015 100%);
}

.grid-layout {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(3, 1fr);
  gap: 6px;
  height: 100%;
}

.grid-cell {
  background: linear-gradient(145deg, #161a20 0%, #12151b 100%);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 4px;
  min-height: 85px;
  transition: all 0.25s ease;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.grid-cell::before {
  content: '';
  position: absolute;
  top: 8px;
  right: 8px;
  width: 8px;
  height: 8px;
  background: #22c55e;
  border-radius: 50%;
  opacity: 0.6;
  box-shadow: 0 0 8px rgba(34, 197, 94, 0.5);
}

.grid-cell:hover {
  border-color: rgba(59, 130, 246, 0.4);
  background: linear-gradient(145deg, #1a1f26 0%, #151920 100%);
  box-shadow: 0 0 20px rgba(59, 130, 246, 0.1);
}

.cell-label {
  color: rgba(156, 163, 175, 0.4);
  font-size: 11px;
  font-weight: 500;
}

/* 底部状态栏 */
.window-footer {
  background: linear-gradient(180deg, #16191f 0%, #12151a 100%);
  padding: 6px 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-left {
  display: flex;
  gap: 16px;
}

.status-item {
  color: #6b7280;
  font-size: 11px;
  font-weight: 500;
  cursor: pointer;
  transition: color 0.15s ease;
}

.status-item:hover {
  color: #9ca3af;
}

.status-item.error {
  color: #10b981;
}

.status-item.info {
  color: #3b82f6;
}

.status-item.warning {
  color: #f59e0b;
}

.footer-right {
  display: flex;
  align-items: center;
}

.status-ready {
  padding: 3px 10px;
  background: rgba(34, 197, 94, 0.15);
  color: #22c55e;
  font-size: 10px;
  font-weight: 600;
  border-radius: 3px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* 平台优势区块 */
.platform-advantages {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.advantage-card {
  background: white;
  border-radius: 16px;
  padding: 32px 24px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  border: 1px solid #e2e8f0;
  transition: all 0.3s ease;
}

.advantage-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.1);
}

.advantage-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  background: linear-gradient(135deg, var(--accent-color), var(--primary-color));
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.advantage-icon svg {
  width: 32px;
  height: 32px;
  stroke: white;
}

.advantage-title {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 12px;
}

.advantage-desc {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.7;
}

/* 响应式设计 */
@media (max-width: 992px) {
  .core-functions {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  
  .core-function-card {
    padding: 28px 20px;
  }
  
  .function-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
  }
  
  .function-icon svg {
    width: 32px;
    height: 32px;
  }
  
  .function-title {
    font-size: 18px;
  }
  
  .platform-advantages {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .core-functions {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  
  .core-function-card {
    padding: 24px 16px;
    border-radius: 12px;
  }
  
  .function-icon {
    width: 56px;
    height: 56px;
    margin-bottom: 16px;
    border-radius: 14px;
  }
  
  .function-icon svg {
    width: 28px;
    height: 28px;
  }
  
  .function-title {
    font-size: 16px;
    letter-spacing: 1px;
  }
  
  .function-desc {
    font-size: 12px;
  }
  
  .function-line {
    display: none;
  }
  
  .software-window {
    border-radius: 8px;
    transform: none;
  }
  
  .software-window:hover {
    transform: none;
  }
  
  .window-header-menu {
    display: none;
  }
  
  .window-toolbar {
    overflow-x: auto;
  }
  
  .window-content {
    flex-direction: column;
    min-height: auto;
  }
  
  .sidebar {
    width: 100%;
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  }
  
  .sidebar-header {
    display: none;
  }
  
  .tool-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 4px;
    padding: 8px 12px;
  }
  
  .tool-category {
    padding: 8px 10px;
    font-size: 10px;
    justify-content: center;
    border-left: none;
  }
  
  .tool-category svg {
    display: none;
  }
  
  .tool-category:hover {
    border-left: none;
  }
  
  .main-area {
    padding: 10px;
  }
  
  .grid-layout {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
  }
  
  .grid-cell {
    min-height: 60px;
  }
  
  .grid-cell::before {
    width: 6px;
    height: 6px;
    top: 6px;
    right: 6px;
  }
  
  .cell-label {
    font-size: 10px;
  }
  
  .platform-advantages {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  .advantage-card {
    padding: 24px 20px;
  }
}

/* ============================================
   应用场景部分样式
   ============================================ */

.application-scenarios-section {
  padding: 80px 0;
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
}

.application-scenarios-section .section-title {
  text-align: center;
  font-size: 36px;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 56px;
}

/* 场景展示区块 */
.scenario-showcase {
  background: white;
  border-radius: 24px;
  padding: 48px;
  box-shadow: 0 4px 40px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(0, 0, 0, 0.04);
  margin-bottom: 40px;
}

.scenario-showcase:last-child {
  margin-bottom: 0;
}

/* 测量场景特定样式 */
.demo-badge-blue {
  background: rgba(59, 130, 246, 0.9) !important;
}

/* 引导定位4列卡片 */
.guide-demos {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.guide-demo-card {
  background: #f8fafc;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
}

.guide-demo-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
  border-color: #f97316;
}

.guide-image-wrapper {
  position: relative;
  aspect-ratio: 1/1;
  overflow: hidden;
  background: #ffffff;
}

.guide-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 12px;
  transition: transform 0.4s ease;
}

.guide-demo-card:hover .guide-image-wrapper img {
  transform: scale(1.05);
}

.guide-zoom-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 48px;
  height: 48px;
  background: rgba(0, 0, 0, 0.6);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.guide-zoom-icon svg {
  width: 24px;
  height: 24px;
  stroke: white;
}

.guide-demo-card:hover .guide-zoom-icon {
  opacity: 1;
}

.guide-label {
  background: linear-gradient(135deg, #c2410c 0%, #ea580c 100%);
  color: white;
  padding: 12px 16px;
  font-size: 16px;
  font-weight: 600;
  text-align: center;
  letter-spacing: 1px;
}

.guide-desc {
  padding: 16px;
  font-size: 13px;
  color: #64748b;
  line-height: 1.6;
  text-align: center;
  margin: 0;
  min-height: 60px;
}

/* 可点击图片样式 */
.clickable-image {
  cursor: pointer;
  position: relative;
}

.image-zoom-hint {
  position: absolute;
  bottom: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  background: rgba(0, 0, 0, 0.5);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: all 0.3s ease;
  backdrop-filter: blur(4px);
}

.image-zoom-hint svg {
  width: 18px;
  height: 18px;
  stroke: white;
}

.clickable-image:hover .image-zoom-hint {
  opacity: 1;
}

.clickable-image:hover img {
  transform: scale(1.03);
}

/* Lightbox 模态框样式 */
.lightbox-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.lightbox-overlay.active {
  opacity: 1;
  visibility: visible;
}

.lightbox-content {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lightbox-content img {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
  position: absolute;
  top: -40px;
  right: 0;
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  border-radius: 50%;
  color: white;
  font-size: 24px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: rotate(90deg);
}

.lightbox-caption {
  margin-top: 16px;
  color: white;
  font-size: 16px;
  font-weight: 500;
  text-align: center;
  opacity: 0.9;
}

.scenario-header {
  text-align: center;
  margin-bottom: 48px;
}

.scenario-badge {
  display: inline-block;
  padding: 8px 20px;
  background: linear-gradient(135deg, #e0f2fe 0%, #bae6fd 100%);
  color: #0284c7;
  font-size: 14px;
  font-weight: 600;
  border-radius: 20px;
  margin-bottom: 16px;
}

/* 识别场景绿色主题 */
.scenario-badge.scenario-badge-green {
  background: linear-gradient(135deg, #dcfce7 0%, #bbf7d0 100%);
  color: #15803d;
}

/* 测量场景蓝色主题 */
.scenario-badge.scenario-badge-blue {
  background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
  color: #1d4ed8;
}

/* 引导定位场景橙色主题 */
.scenario-badge.scenario-badge-orange {
  background: linear-gradient(135deg, #ffedd5 0%, #fed7aa 100%);
  color: #c2410c;
}

.scenario-main-title {
  font-size: 42px;
  font-weight: 700;
  color: #1e293b;
  margin: 0 0 12px;
  letter-spacing: 4px;
}

.scenario-subtitle {
  font-size: 16px;
  color: #64748b;
  margin: 0;
}

/* 识别演示卡片 */
.recognition-demos {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.recognition-demo-card {
  background: #f8fafc;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.recognition-demo-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
  border-color: #3b82f6;
}

/* 图片区域 */
.demo-image-wrapper {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: #0f172a;
}

.demo-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.recognition-demo-card:hover .demo-image-wrapper img {
  transform: scale(1.05);
}

.demo-overlay {
  position: absolute;
  top: 16px;
  right: 16px;
}

.demo-badge {
  padding: 6px 14px;
  background: rgba(34, 197, 94, 0.9);
  color: white;
  font-size: 12px;
  font-weight: 700;
  border-radius: 6px;
  letter-spacing: 1px;
  backdrop-filter: blur(8px);
}

/* 信息区域 */
.demo-info {
  padding: 28px;
}

.demo-info h4 {
  font-size: 22px;
  font-weight: 600;
  color: #1e293b;
  margin: 0 0 12px;
}

.demo-info > p {
  font-size: 14px;
  color: #64748b;
  line-height: 1.8;
  margin: 0 0 20px;
}

.demo-features {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.demo-features li {
  position: relative;
  padding-left: 24px;
  font-size: 14px;
  color: #475569;
  line-height: 1.6;
}

.demo-features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 8px;
  height: 8px;
  background: linear-gradient(135deg, #22c55e, #16a34a);
  border-radius: 50%;
}

/* 响应式 */
@media (max-width: 992px) {
  .application-scenarios-section {
    padding: 60px 0;
  }

  .scenario-showcase {
    padding: 32px;
  }

  .scenario-main-title {
    font-size: 32px;
  }

  .recognition-demos {
    gap: 24px;
  }

  .guide-demos {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .recognition-demos {
    grid-template-columns: 1fr;
  }

  .scenario-showcase {
    padding: 24px;
    border-radius: 16px;
  }

  .scenario-main-title {
    font-size: 28px;
    letter-spacing: 2px;
  }

  .demo-info {
    padding: 20px;
  }

  .demo-info h4 {
    font-size: 18px;
  }

  .guide-demos {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .guide-label {
    font-size: 14px;
    padding: 10px 12px;
  }

  .guide-desc {
    font-size: 12px;
    padding: 12px;
    min-height: 50px;
  }

  .lightbox-content img {
    max-height: 70vh;
  }

  .lightbox-close {
    top: -36px;
    right: 0;
  }
}

@media (max-width: 576px) {
  .application-scenarios-section .section-title {
    font-size: 28px;
    margin-bottom: 40px;
  }

  .scenario-showcase {
    padding: 16px;
  }

  .scenario-badge {
    font-size: 12px;
    padding: 6px 14px;
  }

  .scenario-main-title {
    font-size: 24px;
  }

  .scenario-subtitle {
    font-size: 14px;
  }

  .demo-info {
    padding: 16px;
  }

  .demo-info h4 {
    font-size: 16px;
  }

  .demo-info > p {
    font-size: 13px;
  }

  .demo-features li {
    font-size: 13px;
  }

  .guide-demos {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .guide-image-wrapper {
    aspect-ratio: 1/1;
  }

  .guide-image-wrapper img {
    padding: 8px;
  }

  .guide-label {
    font-size: 12px;
    padding: 8px 10px;
  }

  .guide-desc {
    font-size: 11px;
    padding: 10px;
    min-height: 45px;
  }

  .guide-zoom-icon {
    width: 36px;
    height: 36px;
  }

  .guide-zoom-icon svg {
    width: 18px;
    height: 18px;
  }

  .image-zoom-hint {
    width: 28px;
    height: 28px;
    bottom: 8px;
    right: 8px;
  }

  .image-zoom-hint svg {
    width: 14px;
    height: 14px;
  }
}

@media (max-width: 576px) {
  .core-functions {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin: 40px 0;
  }
  
  .core-function-card {
    padding: 20px 12px;
    border-radius: 10px;
  }
  
  .core-function-card:hover {
    transform: translateY(-4px);
  }
  
  .function-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 12px;
    border-radius: 12px;
  }
  
  .function-icon svg {
    width: 24px;
    height: 24px;
  }
  
  .function-number {
    font-size: 10px;
    margin-bottom: 4px;
  }
  
  .function-title {
    font-size: 14px;
    letter-spacing: 0.5px;
  }
  
  .function-desc {
    font-size: 11px;
  }
  
  .software-preview {
    margin-top: 32px;
  }
  
  .window-header {
    padding: 6px 10px;
  }
  
  .window-title {
    font-size: 11px;
  }
  
  .window-controls {
    gap: 2px;
  }
  
  .control-btn {
    width: 24px;
    height: 18px;
    font-size: 10px;
  }
  
  .window-toolbar {
    padding: 4px 8px;
    gap: 2px;
  }
  
  .toolbar-btn {
    width: 24px;
    height: 24px;
  }
  
  .toolbar-btn svg {
    width: 14px;
    height: 14px;
  }
  
  .toolbar-status {
    font-size: 10px;
    padding: 3px 8px;
  }
  
  .tool-list {
    grid-template-columns: repeat(3, 1fr);
    gap: 3px;
    padding: 6px 8px;
  }
  
  .tool-category {
    padding: 6px 6px;
    font-size: 9px;
  }
  
  .grid-layout {
    grid-template-columns: 1fr;
    gap: 4px;
  }
  
  .grid-cell {
    min-height: 50px;
  }
  
  .window-footer {
    padding: 5px 10px;
  }
  
  .footer-left {
    gap: 10px;
  }
  
  .status-item {
    font-size: 10px;
  }
  
  .status-ready {
    font-size: 9px;
    padding: 2px 8px;
  }
}

