/* ========================================
   技術中心專用樣式 - tech.css
   為技術資源中心功能提供專門的樣式
======================================== */

/* 技術中心專用變數 */
:root {
    /* 技術色彩主題 */
    --tech-primary: #1e40af;
    --tech-secondary: #1e3a8a;
    --tech-accent: #f59e0b;
    --tech-success: #10b981;
    --tech-warning: #f59e0b;
    --tech-info: #06b6d4;
    --tech-danger: #ef4444;
    
    /* 技術漸變 */
    --tech-gradient-primary: linear-gradient(135deg, #1e40af 0%, #1e3a8a 50%, #1d4ed8 100%);
    --tech-gradient-accent: linear-gradient(45deg, #f59e0b, #d97706);
    --tech-gradient-success: linear-gradient(45deg, #10b981, #059669);
    
    /* 技術陰影 */
    --tech-shadow-light: 0 2px 8px rgba(30, 64, 175, 0.1);
    --tech-shadow-medium: 0 4px 15px rgba(30, 64, 175, 0.15);
    --tech-shadow-heavy: 0 8px 25px rgba(30, 64, 175, 0.2);
    
    /* 技術邊框 */
    --tech-border-light: 1px solid rgba(30, 64, 175, 0.1);
    --tech-border-medium: 2px solid rgba(30, 64, 175, 0.2);
  }
  
  /* ========================================
     技術 Hero 區域
  ======================================== */
  .tech-hero {
    background: var(--tech-gradient-primary);
    position: relative;
    overflow: hidden;
    min-height: 50vh;
  }
  
  .tech-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="tech-grid" width="20" height="20" patternUnits="userSpaceOnUse"><path d="M 20 0 L 0 0 0 20" fill="none" stroke="white" stroke-width="0.5" opacity="0.1"/><circle cx="10" cy="10" r="1" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23tech-grid)"/></svg>');
    animation: techPatternFloat 30s ease-in-out infinite;
  }

  .hero-title{
    font-size:2rem;
  }
  
  @keyframes techPatternFloat {
    0%, 100% { transform: translateX(0px) translateY(0px) rotate(0deg); }
    25% { transform: translateX(-10px) translateY(-5px) rotate(0.5deg); }
    50% { transform: translateX(10px) translateY(-10px) rotate(-0.5deg); }
    75% { transform: translateX(-5px) translateY(5px) rotate(0.3deg); }
  }
  
  .tech-hero .hero-content {
    position: relative;
    z-index: 2;
  }
  
  .tech-hero .floating-element {
    position: absolute;
    color: rgba(255, 255, 255, 0.1);
    font-size: 8rem;
    z-index: 1;
    animation: techFloatElements 25s ease-in-out infinite;
  }
  
  @keyframes techFloatElements {
    0%, 100% { transform: translateY(0px) rotate(0deg) scale(1); }
    25% { transform: translateY(-20px) rotate(5deg) scale(1.1); }
    50% { transform: translateY(-10px) rotate(-3deg) scale(0.9); }
    75% { transform: translateY(-30px) rotate(2deg) scale(1.05); }
  }
  
  /* ========================================
     技術資源卡片
  ======================================== */
  .card-resource {
    border: none;
    border-radius: 1rem;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: white;
    box-shadow: var(--tech-shadow-light);
    position: relative;
  }
  
  .card-resource::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--tech-gradient-primary);
    transform: scaleX(0);
    transition: transform 0.3s ease;
    transform-origin: left;
  }
  
  .card-resource:hover::before {
    transform: scaleX(1);
  }
  
  .card-resource:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--tech-shadow-heavy);
  }
  
  .card-resource .card-img-wrapper {
    position: relative;
    overflow: hidden;
    height: 220px;
    background: linear-gradient(45deg, #f8fafc, #e2e8f0);
  }
  
  .card-resource .card-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.4s ease;
    filter: saturate(0.9);
  }
  
  .card-resource:hover .card-img-wrapper img {
    transform: scale(1.1);
    filter: saturate(1.1) brightness(1.05);
  }
  
  .card-resource .card-img-overlay {
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 10;
  }
  
  /* ========================================
     資源元數據和標籤
  ======================================== */
  .resource-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
  }
  
  .resource-meta .badge {
    font-size: 0.7rem;
    font-weight: 600;
    padding: 0.4rem 0.8rem;
    border-radius: 2rem;
    letter-spacing: 0.025em;
    text-transform: uppercase;
    border: 1px solid transparent;
    transition: all 0.3s ease;
  }
  
  .resource-meta .badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  }
  
  .badge-featured {
    background: var(--tech-gradient-accent);
    color: white;
    animation: featuredPulse 2s ease-in-out infinite;
  }
  
  @keyframes featuredPulse {
    0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.4); }
    50% { transform: scale(1.05); box-shadow: 0 0 0 8px rgba(245, 158, 11, 0); }
  }
  
  .badge-new {
    background: var(--tech-gradient-success);
    color: white;
    position: relative;
    overflow: hidden;
  }
  
  .badge-new::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    animation: badgeShine 2s infinite;
  }
  
  @keyframes badgeShine {
    0% { left: -100%; }
    100% { left: 100%; }
  }
  
  .resource-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem;
  }
  
  .resource-tags .badge {
    font-size: 0.65rem;
    padding: 0.25rem 0.6rem;
    background: rgba(30, 64, 175, 0.1);
    color: var(--tech-primary);
    border: 1px solid rgba(30, 64, 175, 0.2);
    transition: all 0.3s ease;
  }
  
  .resource-tags .badge:hover {
    background: var(--tech-primary);
    color: white;
    transform: translateY(-1px);
  }
  
  /* ========================================
     資源統計
  ======================================== */
  .resource-stats {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    margin-top: auto;
  }
  
  .resource-stats span {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.8rem;
    color: var(--secondary-600);
    transition: color 0.3s ease;
  }
  
  .resource-stats span:hover {
    color: var(--tech-primary);
  }
  
  .resource-stats i {
    font-size: 0.9rem;
  }
  
  /* ========================================
     分類卡片
  ======================================== */
  .card-category {
    border: none;
    border-radius: 1.5rem;
    background: white;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--tech-shadow-light);
    position: relative;
    overflow: hidden;
  }
  
  .card-category::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, transparent 0%, rgba(30, 64, 175, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
  }
  
  .card-category:hover::before {
    opacity: 1;
  }
  
  .card-category:hover {
    transform: translateY(-10px) rotate(1deg);
    box-shadow: var(--tech-shadow-heavy);
  }
  
  .category-icon {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: var(--tech-gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2.5rem;
    color: white;
    transition: all 0.4s ease;
    box-shadow: 0 8px 20px rgba(30, 64, 175, 0.3);
  }
  
  .card-category:hover .category-icon {
    background: var(--tech-gradient-accent);
    transform: rotate(15deg) scale(1.1);
    box-shadow: 0 12px 30px rgba(245, 158, 11, 0.4);
  }
  
  /* ========================================
     搜索和篩選
  ======================================== */
  .search-filters-form {
    background: white;
    border-radius: 1.5rem;
    padding: 2rem;
    box-shadow: var(--tech-shadow-medium);
    margin-top: -3rem;
    position: relative;
    z-index: 10;
    border: var(--tech-border-light);
  }
  
  .search-filters-form .form-control,
  .search-filters-form .form-select {
    border: 2px solid rgba(30, 64, 175, 0.1);
    border-radius: 0.75rem;
    padding: 0.75rem 1rem;
    transition: all 0.3s ease;
    background: white;
  }
  
  .search-filters-form .form-control:focus,
  .search-filters-form .form-select:focus {
    border-color: var(--tech-primary);
    box-shadow: 0 0 0 4px rgba(30, 64, 175, 0.1);
    transform: translateY(-2px);
  }
  
  .active-filters {
    background: linear-gradient(135deg, rgba(30, 64, 175, 0.05), rgba(30, 64, 175, 0.1));
    border: var(--tech-border-light);
    border-radius: 1rem;
    padding: 1.5rem;
    margin-top: 1.5rem;
  }
  
  .active-filters .badge {
    font-size: 0.8rem;
    padding: 0.5rem 1rem;
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
    position: relative;
  }
  
  .active-filters .badge a {
    color: inherit;
    text-decoration: none;
    margin-left: 0.5rem;
    font-weight: bold;
    opacity: 0.8;
    transition: opacity 0.3s ease;
  }
  
  .active-filters .badge a:hover {
    opacity: 1;
  }
  
  /* ========================================
     視圖切換
  ======================================== */
  .view-options .btn-group {
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow: var(--tech-shadow-light);
  }
  
  .view-options .btn {
    border: none;
    padding: 0.75rem 1rem;
    background: white;
    color: var(--secondary-600);
    transition: all 0.3s ease;
  }
  
  .view-options .btn.active,
  .view-options .btn:hover {
    background: var(--tech-primary);
    color: white;
    transform: scale(1.05);
  }
  
  /* ========================================
     檔案預覽和下載
  ======================================== */
  .file-item {
    background: white;
    border: 2px solid rgba(0, 0, 0, 0.05);
    border-radius: 0.75rem;
    padding: 1rem;
    transition: all 0.3s ease;
    margin-bottom: 1rem;
  }
  
  .file-item:hover {
    border-color: var(--tech-primary);
    transform: translateY(-2px);
    box-shadow: var(--tech-shadow-medium);
  }
  
  .file-item.primary {
    background: linear-gradient(135deg, rgba(30, 64, 175, 0.05), rgba(30, 64, 175, 0.1));
    border-color: var(--tech-primary);
  }
  
  .file-name {
    font-weight: 600;
    color: var(--secondary-900);
    margin-bottom: 0.25rem;
  }
  
  .file-meta {
    font-size: 0.8rem;
    color: var(--secondary-600);
    display: flex;
    align-items: center;
    gap: 0.5rem;
  }
  
  .file-actions .btn {
    border-radius: 0.5rem;
    padding: 0.5rem;
    min-width: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
  }
  
  .file-actions .btn:hover {
    transform: scale(1.1);
  }
  
  /* ========================================
     分頁導航
  ======================================== */
  .pagination {
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: var(--tech-shadow-light);
  }
  
  .pagination .page-link {
    border: none;
    padding: 0.75rem 1rem;
    color: var(--secondary-600);
    background: white;
    transition: all 0.3s ease;
  }
  
  .pagination .page-link:hover {
    background: var(--tech-primary);
    color: white;
    transform: translateY(-2px);
  }
  
  .pagination .page-item.active .page-link {
    background: var(--tech-primary);
    color: white;
    box-shadow: 0 4px 8px rgba(30, 64, 175, 0.3);
  }
  
  /* ========================================
     載入動畫
  ======================================== */
  .loading-resource {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(30, 64, 175, 0.3);
    border-radius: 50%;
    border-top-color: var(--tech-primary);
    animation: resourceSpin 1s ease-in-out infinite;
  }
  
  @keyframes resourceSpin {
    to { transform: rotate(360deg); }
  }
  
  .skeleton-loader {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: skeletonLoading 1.5s infinite;
    border-radius: 0.5rem;
  }
  
  @keyframes skeletonLoading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
  }
  
  /* ========================================
     響應式技術中心設計
  ======================================== */
  @media (max-width: 1200px) {
    .tech-hero {
      min-height: 70vh;
    }
    
    .category-icon {
      width: 80px;
      height: 80px;
      font-size: 2rem;
    }
    
    .search-filters-form {
      margin-top: -2rem;
      padding: 1.5rem;
    }
  }
  
  @media (max-width: 992px) {
    .tech-hero {
      min-height: 60vh;
      text-align: center;
    }
    
    .tech-hero .floating-element {
      display: none;
    }
    
    .resource-stats {
      flex-direction: column;
      gap: 0.5rem;
      align-items: flex-start;
    }
    
    .file-actions {
      flex-direction: column;
      gap: 0.5rem;
    }
    
    .file-actions .btn-group-vertical {
      flex-direction: row;
      width: 100%;
    }
  }
  
  @media (max-width: 768px) {
    .search-filters-form {
      margin: -1rem 0.5rem 0;
      padding: 1rem;
    }
    
    .active-filters {
      padding: 1rem;
    }
    
    .resource-meta {
      justify-content: center;
    }
    
    .resource-stats {
      justify-content: center;
      flex-wrap: wrap;
      gap: 1rem;
    }
    
    .category-icon {
      width: 70px;
      height: 70px;
      font-size: 1.8rem;
    }
    
    .file-item {
      text-align: center;
    }
    
    .file-actions .btn-group-vertical {
      justify-content: center;
    }
  }
  
  @media (max-width: 576px) {
    .tech-hero {
      min-height: 50vh;
      padding: 2rem 0;
    }
    
    .search-filters-form {
      margin: -0.5rem 0.25rem 0;
      padding: 0.75rem;
    }
    
    .card-resource .card-img-wrapper {
      height: 180px;
    }
    
    .resource-meta .badge {
      font-size: 0.65rem;
      padding: 0.3rem 0.6rem;
    }
    
    .category-icon {
      width: 60px;
      height: 60px;
      font-size: 1.5rem;
    }
    
    .file-actions .btn {
      font-size: 0.8rem;
      padding: 0.4rem 0.6rem;
    }
  }
  
  /* ========================================
     技術中心特殊組件
  ======================================== */
  
  /* 資源詳情頁面的特殊樣式 */
  .resource-detail-header {
    background: linear-gradient(135deg, var(--tech-primary) 0%, var(--tech-secondary) 100%);
    color: white;
    padding: 3rem 0;
    position: relative;
    overflow: hidden;
  }
  
  .resource-detail-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="detail-pattern" width="40" height="40" patternUnits="userSpaceOnUse"><circle cx="20" cy="20" r="2" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23detail-pattern)"/></svg>');
    animation: detailPatternMove 20s linear infinite;
  }
  
  @keyframes detailPatternMove {
    0% { transform: translateX(0) translateY(0); }
    100% { transform: translateX(40px) translateY(40px); }
  }
  
  /* 下載按鈕特殊效果 */
  .btn-download {
    background: var(--tech-gradient-accent);
    border: none;
    color: white;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border-radius: 0.75rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
  }
  
  .btn-download::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s ease;
  }
  
  .btn-download:hover::before {
    left: 100%;
  }
  
  .btn-download:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(245, 158, 11, 0.4);
  }
  
  /* 分享功能樣式 */
  .share-buttons {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
  }
  
  .share-buttons .btn {
    border-radius: 0.5rem;
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
    transition: all 0.3s ease;
  }
  
  .share-buttons .btn:hover {
    transform: translateY(-2px);
  }
  
  .btn-facebook { background: #1877f2; border-color: #1877f2; }
  .btn-twitter { background: #1da1f2; border-color: #1da1f2; }
  .btn-linkedin { background: #0a66c2; border-color: #0a66c2; }
  .btn-whatsapp { background: #25d366; border-color: #25d366; }
  
  /* 統計數字動畫 */
  .stat-number {
    font-family: 'Inter', sans-serif;
    font-weight: 800;
    background: var(--tech-gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
    transition: all 0.3s ease;
  }
  
  .stat-number:hover {
    transform: scale(1.1);
  }
  
  /* 標籤雲效果 */
  .tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    padding: 2rem;
  }
  
  .tag-cloud .tag {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: rgba(30, 64, 175, 0.1);
    color: var(--tech-primary);
    border-radius: 2rem;
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 1px solid rgba(30, 64, 175, 0.2);
  }
  
  .tag-cloud .tag:hover {
    background: var(--tech-primary);
    color: white;
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 4px 8px rgba(30, 64, 175, 0.3);
  }
  
  /* 無結果狀態 */
  .no-results {
    text-align: center;
    padding: 4rem 2rem;
    max-width: 500px;
    margin: 0 auto;
  }
  
  .no-results-icon {
    font-size: 4rem;
    color: var(--secondary-400);
    margin-bottom: 1.5rem;
    opacity: 0.6;
  }
  
  .no-results h3 {
    color: var(--secondary-700);
    margin-bottom: 1rem;
  }
  
  .no-results p {
    color: var(--secondary-600);
    margin-bottom: 2rem;
  }
  
  /* 進度條 */
  .progress-tech {
    height: 8px;
    border-radius: 4px;
    background: rgba(30, 64, 175, 0.1);
    overflow: hidden;
  }
  
  .progress-tech .progress-bar {
    background: var(--tech-gradient-primary);
    transition: width 0.3s ease;
  }
  
  /* 工具提示 */
  .tooltip-tech {
    background: var(--tech-primary);
    color: white;
    padding: 0.5rem 0.75rem;
    border-radius: 0.5rem;
    font-size: 0.8rem;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  }
  
  /* 拖放區域 */
  .dropzone {
    border: 2px dashed rgba(30, 64, 175, 0.3);
    border-radius: 1rem;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    background: rgba(30, 64, 175, 0.05);
  }
  
  .dropzone:hover,
  .dropzone.dragover {
    border-color: var(--tech-primary);
    background: rgba(30, 64, 175, 0.1);
    transform: scale(1.02);
  }
  
  /* 通知樣式 */
  .notification-tech {
    background: white;
    border-left: 4px solid var(--tech-primary);
    padding: 1rem 1.5rem;
    border-radius: 0.5rem;
    box-shadow: var(--tech-shadow-medium);
    margin-bottom: 1rem;
    transition: all 0.3s ease;
  }
  
  .notification-tech:hover {
    transform: translateX(5px);
  }
  
  .notification-tech.success {
    border-left-color: var(--tech-success);
  }
  
  .notification-tech.warning {
    border-left-color: var(--tech-warning);
  }
  
  .notification-tech.error {
    border-left-color: var(--tech-danger);
  }
  
  /* ========================================
     深色模式支援
  ======================================== */
  @media (prefers-color-scheme: dark) {
    :root {
      --tech-primary: #3b82f6;
      --tech-secondary: #1e3a8a;
    }
    
    .card-resource,
    .card-category,
    .search-filters-form {
      background: #1e293b;
      color: #e2e8f0;
    }
    
    .file-item {
      background: #1e293b;
      border-color: rgba(255, 255, 255, 0.1);
    }
    
    .resource-meta .badge {
      background: rgba(59, 130, 246, 0.2);
      color: #93c5fd;
      border-color: rgba(59, 130, 246, 0.3);
    }
  }
  
  /* ========================================
     列印樣式
  ======================================== */
  @media print {
    .tech-hero,
    .search-filters-form,
    .view-options,
    .file-actions,
    .share-buttons,
    .btn-download {
      display: none !important;
    }
    
    .card-resource {
      break-inside: avoid;
      box-shadow: none !important;
      border: 1px solid #ddd !important;
    }
    
    .resource-stats {
      border-top: 1px solid #ddd;
    }
  }
  
  /* ========================================
     無障礙改進
  ======================================== */
  @media (prefers-reduced-motion: reduce) {
    * {
      animation-duration: 0.01ms !important;
      animation-iteration-count: 1 !important;
      transition-duration: 0.01ms !important;
    }
    
    .tech-hero::before,
    .floating-element,
    .badge-featured,
    .badge-new::after {
      animation: none !important;
    }
  }
  
  /* 高對比度模式 */
  @media (prefers-contrast: high) {
    .card-resource,
    .card-category {
      border: 2px solid #000 !important;
    }
    
    .btn-primary {
      background: #000 !important;
      border-color: #000 !important;
    }
    
    .resource-meta .badge {
      border: 1px solid #000 !important;
    }
  }
  
  /* 焦點可見性改進 */
  .card-resource:focus-within,
  .file-item:focus-within {
    outline: 2px solid var(--tech-primary);
    outline-offset: 2px;
  }
  
  .btn:focus,
  .form-control:focus,
  .form-select:focus {
    outline: 2px solid var(--tech-primary);
    outline-offset: 2px;
  }
  
  /* ========================================
     技術中心特定動畫
  ======================================== */
  @keyframes techReveal {
    from {
      opacity: 0;
      transform: translateY(30px) scale(0.95);
    }
    to {
      opacity: 1;
      transform: translateY(0) scale(1);
    }
  }
  
  .tech-reveal {
    animation: techReveal 0.6s ease-out forwards;
  }
  
  @keyframes techSlideIn {
    from {
      transform: translateX(-100%);
      opacity: 0;
    }
    to {
      transform: translateX(0);
      opacity: 1;
    }
  }
  
  .tech-slide-in {
    animation: techSlideIn 0.5s ease-out forwards;
  }
  
  /* 搜索高亮效果 */
  mark,
  .search-highlight {
    background: rgba(245, 158, 11, 0.3);
    color: #92400e;
    padding: 0.125rem 0.25rem;
    border-radius: 0.25rem;
    font-weight: 600;
  }
  
  /* 技術中心專用圖標 */
  .tech-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border-radius: 0.5rem;
    background: rgba(30, 64, 175, 0.1);
    color: var(--tech-primary);
    font-size: 1rem;
    transition: all 0.3s ease;
  }
  
  .tech-icon:hover {
    background: var(--tech-primary);
    color: white;
    transform: scale(1.1);
  }
  
  /* 最終收尾樣式 */
  .tech-content-wrapper {
    position: relative;
    z-index: 1;
  }
  
  .tech-background-pattern {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.02;
    pointer-events: none;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="1" fill="currentColor"/><circle cx="80" cy="20" r="1" fill="currentColor"/><circle cx="20" cy="80" r="1" fill="currentColor"/><circle cx="80" cy="80" r="1" fill="currentColor"/><circle cx="50" cy="50" r="1" fill="currentColor"/></svg>');
    background-size: 50px 50px;
    z-index: -1;
  }