/* Specifications Section Styles */
.specifications-section {
  background: linear-gradient(145deg, var(--white) 0%, var(--light-gray) 50%, var(--white) 100%);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
}

.specifications-section::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background: url('../img/pattern.svg') repeat;
  opacity: 0.05;
  z-index: 1;
  animation: patternFloat 30s linear infinite;
}

@keyframes patternFloat {
  from { background-position: 0 0; }
  to { background-position: 100% 100%; }
}

/* Category Styles */
.spec-category {
  background: rgba(255, 255, 255, 0.95);
  border-radius: var(--radius-lg);
  padding: calc(var(--spacing-lg) * 1.2);
  margin-bottom: var(--spacing-xl);
  box-shadow: var(--shadow-md);
  position: relative;
  z-index: 2;
  border: 1px solid rgba(0, 102, 204, 0.1);
}

.category-title {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  color: var(--primary-color);
  margin-bottom: var(--spacing-lg);
  font-size: calc(var(--h4-size) * 1.1);
  font-weight: 700;
  letter-spacing: -0.5px;
}

.category-title i {
  font-size: 1.6em;
  color: var(--primary-color);
}

/* Table Styles */
.spec-table-wrapper {
  overflow-x: auto;
  margin-bottom: var(--spacing-lg);
  border: 1px solid var(--primary-color);
  border-radius: var(--radius-md);
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
  background: white;
  min-width: 800px;
}

.spec-table thead {
  background: var(--primary-color);
  color: var(--white);
}

.spec-table th {
  padding: var(--spacing-md);
  text-align: left;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.95rem;
  letter-spacing: 1px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.spec-table td {
  padding: var(--spacing-md);
  font-size: 1rem;
  color: var(--dark-gray);
  border: 1px solid rgba(0, 102, 204, 0.15);
}

.spec-table tbody tr {
  transition: background-color 0.2s ease;
}

.spec-table tbody tr:hover {
  background-color: rgba(0, 102, 204, 0.05);
}

/* Features List */
.spec-features {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-md);
  padding: calc(var(--spacing-md) * 1.2);
  background: var(--light-gray);
  border-radius: var(--radius-md);
}

.feature-item {
  display: flex;
  align-items: center;
  gap: var(--spacing-xs);
  padding: var(--spacing-sm) var(--spacing-md);
  background: white;
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  color: var(--medium-gray);
  border: 1px solid rgba(0, 102, 204, 0.1);
  transition: all 0.2s ease;
}

.feature-item:hover {
  color: var(--primary-color);
  border-color: var(--primary-color);
}

/* Responsive Styles */
@media (max-width: 992px) {
  .spec-category {
    padding: var(--spacing-md);
  }
  
  .category-title {
    font-size: var(--h5-size);
  }
  
  .spec-table th,
  .spec-table td {
    padding: var(--spacing-sm);
    font-size: 0.95rem;
  }
}

@media (max-width: 768px) {
  .spec-features {
    flex-direction: column;
    gap: var(--spacing-sm);
  }
  
  .feature-item {
    width: 100%;
    justify-content: center;
  }
  
  .category-title {
    font-size: var(--h6-size);
  }
}

@media (max-width: 480px) {
  .spec-category {
    padding: var(--spacing-sm);
    margin-bottom: var(--spacing-lg);
  }
  
  .spec-table th,
  .spec-table td {
    padding: var(--spacing-xs);
    font-size: 0.85rem;
  }
  
  .feature-item {
    font-size: 0.85rem;
    padding: var(--spacing-xs) var(--spacing-sm);
  }
}

/* Print Styles */
@media print {
  .spec-category {
    break-inside: avoid;
    box-shadow: none;
    border: 1px solid #ccc;
  }
  
  .spec-table th {
    background: #f5f5f5;
    color: #000;
  }
  
  .spec-features {
    display: none;
  }
}
