/* Quality Shield Visualization - Central concept illustration */
.quality-shield-container {
  position: relative;
  width: 100%;
  max-width: 900px;
  height: 550px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  padding: 20px;
}

/* Central Shield - Software Quality */
.quality-shield {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
}

.shield-core {
  width: 180px;
  height: 180px;
  background: linear-gradient(135deg, #10b981 0%, #34d399 50%, #6ee7b7 100%);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 
    0 8px 32px rgba(16, 185, 129, 0.4),
    0 0 0 4px rgba(255, 255, 255, 0.8),
    0 0 0 8px rgba(16, 185, 129, 0.2);
}

.shield-icon {
  font-size: 4em;
  margin-bottom: 8px;
}

.shield-text {
  font-size: 1em;
  font-weight: 700;
  color: white;
  text-align: center;
  line-height: 1.1;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

/* Quality Pillars - Four Testing Components with Details */
.quality-pillar {
  position: absolute;
  width: 160px;
  min-height: 180px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.85) 100%);
  backdrop-filter: blur(10px);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 16px 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.3);
  transition: all 0.3s ease;
}

.pillar-icon {
  font-size: 2.5em;
  margin-bottom: 10px;
}

.pillar-title {
  font-size: 0.95em;
  font-weight: 700;
  color: #1e293b;
  text-align: center;
  line-height: 1.1;
  margin-bottom: 12px;
}

.pillar-details {
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 100%;
}

.detail-item {
  font-size: 0.75em;
  color: #475569;
  text-align: center;
  line-height: 1.3;
  padding: 4px 8px;
  background: rgba(100, 116, 139, 0.1);
  border-radius: 8px;
  font-weight: 500;
}

/* Pillar Positioning - Adjusted for larger layout */
.unit-pillar {
  top: 60px;
  left: 80px;
  border-left: 3px solid #10b981;
  z-index: 500;
}

.integration-pillar {
  top: 60px;
  right: 80px;
  border-left: 3px solid #3b82f6;
  z-index: 500;
}

.browser-pillar {
  bottom: 90px;
  left: 80px;
  border-left: 3px solid #8b5cf6;
  z-index: 500;
}

.qa-pillar {
  bottom: 90px;
  right: 80px;
  border-left: 3px solid #f59e0b;
  z-index: 500;
}

/* Connection Lines - Updated coordinates for larger layout */
.quality-connections {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.connection-line {
  stroke: rgba(16, 185, 129, 0.4);
  stroke-width: 2;
  stroke-dasharray: 5, 5;
}

/* Quality Status Indicator */
.quality-status {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
}

.status-indicator {
  display: flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.95) 0%, rgba(52, 211, 153, 0.95) 100%);
  color: white;
  padding: 12px 20px;
  border-radius: 20px;
  font-size: 0.95em;
  font-weight: 600;
  box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.status-icon {
  font-size: 1.3em;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .quality-shield-container {
    height: 500px;
    max-width: 750px;
  }
  
  .shield-core {
    width: 160px;
    height: 160px;
  }
  
  .shield-icon {
    font-size: 3.5em;
  }
  
  .shield-text {
    font-size: 0.9em;
  }
  
  .quality-pillar {
    width: 140px;
    min-height: 160px;
    padding: 14px 10px;
  }
  
  .pillar-icon {
    font-size: 2.2em;
  }
  
  .pillar-title {
    font-size: 0.85em;
  }
  
  .detail-item {
    font-size: 0.7em;
  }
  
  .unit-pillar,
  .integration-pillar {
    top: 70px;
  }
  
  .browser-pillar,
  .qa-pillar {
    bottom: 100px;
  }
  
  .unit-pillar,
  .browser-pillar {
    left: 60px;
  }
  
  .integration-pillar,
  .qa-pillar {
    right: 60px;
  }
}

/* Card Header - modern styling */
.test-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(100, 116, 139, 0.15);
  position: relative;
  z-index: 2;
}

.test-compact-card .test-card-header {
  margin-bottom: 12px;
  padding-bottom: 6px;
  gap: 10px;
}

.test-card-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  position: relative;
  overflow: hidden;
}

.test-card-icon::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, transparent 50%);
  z-index: 1;
}

.test-compact-card .test-card-icon {
  width: 40px;
  height: 40px;
}

.test-unit-icon {
  background: linear-gradient(135deg, #10b981, #34d399);
}

.test-integration-icon {
  background: linear-gradient(135deg, #3b82f6, #60a5fa);
}

.test-browser-icon {
  background: linear-gradient(135deg, #8b5cf6, #a78bfa);
}

.test-qa-icon {
  background: linear-gradient(135deg, #f59e0b, #fbbf24);
}

.test-card-info {
  flex: 1;
}

.test-card-title {
  font-weight: 700;
  color: var(--heading-color, #1e293b);
  font-size: 1.1em;
  margin-bottom: 2px;
  line-height: 1.3;
  background: linear-gradient(135deg, #1e293b 0%, #475569 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.test-compact-card .test-card-title {
  font-size: 1em;
}

.test-card-subtitle {
  font-size: 0.85em;
  color: var(--secondary-color, #64748b);
  line-height: 1.2;
  font-weight: 500;
}

.test-compact-card .test-card-subtitle {
  font-size: 0.8em;
}

/* Card badge styling - removed as no longer needed */
.test-card-badge {
  display: none;
}
  font-weight: 500;
  padding: 4px 10px;
  border-radius: 12px;
  flex-shrink: 0;
}

/* Card Content - engaging layout */
.test-card-content {
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
  overflow: hidden;
  position: relative;
  z-index: 2;
}

.test-compact-card .test-card-content {
  gap: 10px;
}

.test-card-details {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.test-compact-card .test-card-details {
  gap: 6px;
}

.test-detail-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8em;
  color: var(--text-color, #334155);
}

.test-compact-card .test-detail-item {
  font-size: 0.75em;
  gap: 4px;
}

.test-detail-icon {
  width: 14px;
  height: 14px;
  color: #10b981;
  flex-shrink: 0;
}

.test-compact-card .test-detail-icon {
  width: 12px;
  height: 12px;
}

/* Card Illustrations */
/* Card illustrations - compact design */
.test-card-illustration {
  flex: 0 0 auto;
  min-height: 45px;
  border-radius: 4px;
  overflow: hidden;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  margin-top: 4px;
}

.test-compact-illustration {
  min-height: 40px;
}

/* Unit Test Screenshot */
.test-unit-screenshot {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #64748b;
  text-align: center;
  gap: 8px;
  padding: 10px;
  border: 2px dashed #cbd5e1;
  background: #f8fafc;
}

.test-screenshot-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.test-screenshot-title {
  font-weight: 600;
  font-size: 0.9em;
  color: #475569;
}

.test-screenshot-dimensions {
  font-size: 0.8em;
  color: #64748b;
  background: #e2e8f0;
  padding: 4px 8px;
  border-radius: 4px;
}

.test-screenshot-note {
  font-size: 0.75em;
  color: #64748b;
  font-style: italic;
}

/* For actual screenshot */
.test-unit-screenshot-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 6px;
}

/* Compact Postman Mockup - reduced size */
.test-postman-compact {
  width: 100%;
  height: 100%;
  padding: 6px;
  display: flex;
  flex-direction: column;
  font-size: 0.6em;
  background: #1e293b;
  color: #e2e8f0;
}

.test-postman-header-compact {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 4px;
  padding-bottom: 3px;
  border-bottom: 1px solid #334155;
}

.test-postman-logo-compact {
  width: 12px;
  height: 12px;
  background: #ff6c37;
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: bold;
  font-size: 0.5em;
}

.test-postman-title-compact {
  font-weight: 600;
  color: #60a5fa;
  font-size: 0.9em;
}

.test-api-results {
  display: flex;
  flex-direction: column;
  gap: 3px;
  flex: 1;
}

.test-api-result {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 3px 6px;
  background: #334155;
  border-radius: 3px;
}

.test-method-compact {
  background: #10b981;
  color: white;
  padding: 1px 4px;
  border-radius: 2px;
  font-size: 0.6em;
  font-weight: 600;
  min-width: 28px;
  text-align: center;
}

.test-endpoint-compact {
  flex: 1;
  font-family: monospace;
  font-size: 0.7em;
  color: #e2e8f0;
}

.test-status-compact {
  font-size: 0.6em;
  font-weight: 600;
}

.test-success {
  color: #10b981;
}

.test-summary-compact {
  margin-top: 6px;
  padding-top: 6px;
  border-top: 1px solid #334155;
  text-align: center;
}

/* Compact Browser Mockup - reduced size */
.test-browser-compact {
  width: 100%;
  height: 100%;
  padding: 4px;
  display: flex;
  flex-direction: column;
  gap: 3px;
  background: #f8fafc;
  font-size: 0.7em;
}

.test-browser-title-compact {
  font-weight: 600;
  color: #475569;
  font-size: 0.7em;
  text-align: center;
  margin-bottom: 2px;
}

.test-browser-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-bottom: 3px;
}

.test-browser-item-compact {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 2px 4px;
  background: white;
  border-radius: 3px;
  border: 1px solid #e2e8f0;
}

.test-browser-logo-compact {
  font-size: 0.8em;
}

.test-browser-name-compact {
  flex: 1;
  font-size: 0.6em;
  font-weight: 500;
  color: #475569;
}

.test-browser-status-compact {
  font-size: 0.6em;
  font-weight: 600;
}

.test-pass {
  color: #10b981;
}

.test-responsive-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-top: 3px;
  border-top: 1px solid #e2e8f0;
}

.test-responsive-item {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 2px 4px;
  background: white;
  border-radius: 3px;
  border: 1px solid #e2e8f0;
}

.test-device-icon {
  font-size: 0.7em;
}

.test-device-text {
  flex: 1;
  font-size: 0.6em;
  color: #475569;
}

.test-device-status {
  font-size: 0.6em;
  font-weight: 600;
}
  font-size: 0.7em;
  font-weight: 600;
}

/* Bottom Summary */
.test-summary {
  position: absolute;
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
    align-items: center;
  gap: 15px;
  background: linear-gradient(135deg, #10b981, #34d399);
  color: white;
  padding: 12px 25px;
  border-radius: 25px;
  box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
  max-width: 90%;
}

.test-summary-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.test-summary-content {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.test-summary-title {
  font-weight: 600;
  font-size: 0.9em;
  opacity: 0.9;
}

.test-summary-text {
  font-size: 0.95em;
  line-height: 1.4;
}

/* Responsive adjustments */
@media (max-width: 1200px) {
  .test-content-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto auto;
    gap: 15px;
    height: auto;
  }

  .test-unit-card,
  .test-integration-card,
  .test-browser-card,
  .test-qa-card {
    grid-column: 1;
    grid-row: auto;
  }

  .test-summary {
    position: relative;
    bottom: auto;
    left: auto;
    transform: none;
    margin-top: 15px;
    align-self: center;
  }
}

@media (max-width: 768px) {
  .test-content-grid {
    gap: 10px;
  }

  .test-card {
    padding: 15px;
  }

  .test-compact-card {
    padding: 12px;
  }

  .test-summary {
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }
}

/* QA-specific styles */
.qa-tool-icon-small {
  width: 16px;
  height: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8em;
  margin-right: 4px;
}

.qa-process-compact {
  width: 100%;
  height: 100%;
  padding: 6px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  background: #f8fafc;
  font-size: 0.7em;
}

.qa-step-compact {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 4px 8px;
  background: white;
  border-radius: 6px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.qa-step-number-small {
  width: 16px;
  height: 16px;
  background: linear-gradient(135deg, #f59e0b, #fbbf24);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.6em;
  font-weight: 600;
}

.qa-step-text {
  font-size: 0.7em;
  font-weight: 500;
  color: #475569;
}

.qa-arrow-compact {
  color: #f59e0b;
  font-size: 0.8em;
  font-weight: 600;
}

/* Modern Visual Metrics for Unit Tests */
.test-visual-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 16px;
}

.test-metric-item {
  background: linear-gradient(135deg, #f8fafc, #e2e8f0);
  border-radius: 8px;
  padding: 12px 8px;
  text-align: center;
  border: 1px solid #e2e8f0;
  position: relative;
  overflow: hidden;
}

.test-metric-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, #10b981, #34d399);
}

.test-metric-value {
  font-size: 1.4em;
  font-weight: 700;
  color: #10b981;
  margin-bottom: 4px;
}

.test-metric-label {
  font-size: 0.7em;
  color: #64748b;
  font-weight: 500;
  margin-bottom: 4px;
}

.test-metric-icon {
  font-size: 1em;
  opacity: 0.8;
}

/* Simple Status Grid for Unit Tests */
.test-status-grid {
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: linear-gradient(135deg, #f0f9ff, #e0f2fe);
  border-radius: 6px;
  padding: 8px;
}

.test-status-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: white;
  padding: 6px 8px;
  border-radius: 4px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.test-status-emoji {
  font-size: 1em;
  width: 20px;
}

.test-status-label {
  flex: 1;
  font-size: 0.7em;
  font-weight: 500;
  color: #475569;
  margin-left: 6px;
}

.test-status-check {
  color: #10b981;
  font-weight: 600;
  font-size: 0.8em;
}

/* Compact Metrics for smaller cards */
.test-compact-metrics {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 12px;
}

.test-compact-metric {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 4px 8px;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 6px;
  border: 1px solid rgba(100, 116, 139, 0.1);
}

.test-metric-icon-small {
  font-size: 1em;
  width: 20px;
  text-align: center;
}

.test-metric-text {
  font-size: 0.8em;
  font-weight: 500;
  color: #475569;
}

/* Simple Grid for Integration Tests */
.test-simple-grid {
  display: flex;
  flex-direction: column;
  gap: 4px;
  background: linear-gradient(135deg, #eff6ff, #dbeafe);
  border-radius: 6px;
  padding: 6px;
}

.test-simple-item {
  display: flex;
  align-items: center;
  gap: 6px;
  background: white;
  padding: 4px 6px;
  border-radius: 4px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.test-simple-icon {
  font-size: 0.9em;
  width: 16px;
}

.test-simple-label {
  flex: 1;
  font-size: 0.7em;
  font-weight: 500;
  color: #475569;
}

.test-simple-status {
  font-size: 0.6em;
  font-weight: 600;
  color: #10b981;
}

/* Browser Grid */
.test-browser-grid {
  background: linear-gradient(135deg, #f8fafc, #e2e8f0);
  border-radius: 6px;
  padding: 8px;
}

.test-browser-row {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 8px;
}

.test-browser-item.modern {
  background: white;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.browser-icon {
  font-size: 1.2em;
}

.browser-status {
  position: absolute;
  bottom: -2px;
  right: -2px;
  background: #10b981;
  color: white;
  border-radius: 50%;
  width: 12px;
  height: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.6em;
  font-weight: 600;
}

.test-device-row {
  display: flex;
  gap: 8px;
  margin-bottom: 8px;
}

.test-device-item {
  flex: 1;
  background: white;
  border-radius: 6px;
  padding: 6px;
  text-align: center;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.device-icon {
  font-size: 1.2em;
  margin-bottom: 2px;
}

.device-label {
  font-size: 0.6em;
  color: #64748b;
  font-weight: 500;
}

.test-compatibility-badge {
  background: linear-gradient(135deg, #10b981, #34d399);
  color: white;
  text-align: center;
  padding: 4px;
  border-radius: 4px;
}

.compat-text {
  font-size: 0.7em;
  font-weight: 600;
}

/* QA Tools Dashboard */
.qa-tools-dashboard {
  background: linear-gradient(135deg, #fef3c7, #fde68a);
  border-radius: 6px;
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.qa-tool-item {
  background: white;
  border-radius: 4px;
  padding: 6px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.qa-tool-header {
  display: flex;
  align-items: center;
  gap: 4px;
}

.qa-tool-emoji {
  font-size: 1em;
}

.qa-tool-name {
  font-size: 0.7em;
  font-weight: 600;
  color: #374151;
}

.qa-tool-status {
  font-size: 0.6em;
  font-weight: 600;
  padding: 2px 6px;
  border-radius: 10px;
}

.qa-tool-status.success {
  background: #d1fae5;
  color: #059669;
}

.qa-tool-separator {
  text-align: center;
  color: #f59e0b;
  font-weight: 600;
  font-size: 1.2em;
}

.qa-result-badge {
  background: linear-gradient(135deg, #f59e0b, #fbbf24);
  color: white;
  padding: 4px 8px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  gap: 4px;
  justify-content: center;
}

.qa-result-icon {
  font-size: 1em;
}

.qa-result-text {
  font-size: 0.7em;
  font-weight: 600;
}

/* Ultra-Compact Styles for Minimal Presentation */
.test-ultra-compact-metrics {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  padding: 10px 0;
}

.test-big-metric {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
}

.test-big-number {
  font-size: 2.2em;
  font-weight: 700;
  color: #1e293b;
  line-height: 1;
}

.test-big-label {
  font-size: 0.9em;
  font-weight: 500;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.test-simple-status {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: rgba(16, 185, 129, 0.1);
  border-radius: 20px;
  border: 1px solid rgba(16, 185, 129, 0.2);
}

.test-status-icon {
  font-size: 1.2em;
}

.test-status-text {
  font-size: 0.85em;
  font-weight: 600;
  color: #059669;
}

/* Responsive adjustments for ultra-compact */
@media (max-width: 1200px) {
  .test-big-number {
    font-size: 1.8em;
  }
  
  .test-big-label {
    font-size: 0.8em;
  }
  
  .test-status-text {
    font-size: 0.75em;
  }
}

@media (max-width: 768px) {
  .test-ultra-compact-metrics {
    gap: 10px;
  }
  
  .test-big-number {
    font-size: 1.5em;
  }
  
  .test-simple-status {
    padding: 6px 10px;
  }
}

/* Browser Icons Layout - modern, engaging design */
.test-browser-icons {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 8px 0;
}

.browser-icon-row,
.device-icon-row {
  display: flex;
  justify-content: space-between;
  gap: 8px;
}

.browser-icon-item,
.device-icon-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 10px 8px;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.08) 0%, rgba(139, 92, 246, 0.03) 100%);
  border-radius: 10px;
  border: 1px solid rgba(139, 92, 246, 0.2);
  flex: 1;
  position: relative;
  overflow: hidden;
  transition: all 0.2s ease;
}

.browser-icon-item::before,
.device-icon-item::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(135deg, #8b5cf6, #a78bfa);
}

.browser-icon-item:hover,
.device-icon-item:hover {
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.12) 0%, rgba(139, 92, 246, 0.06) 100%);
  transform: translateY(-2px);
}

.browser-emoji,
.device-emoji {
  font-size: 1.8em;
  position: relative;
  z-index: 1;
}

.browser-check,
.device-check {
  font-size: 1em;
  position: relative;
  z-index: 1;
}

/* QA Tools Visual Layout - state-of-the-art design */
.qa-tools-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 8px 0;
}

.qa-tool-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 12px 8px;
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.08) 0%, rgba(245, 158, 11, 0.03) 100%);
  border-radius: 12px;
  border: 1px solid rgba(245, 158, 11, 0.2);
  flex: 1;
  position: relative;
  overflow: hidden;
  transition: all 0.2s ease;
}

.qa-tool-visual::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(135deg, #f59e0b, #fbbf24);
}

.qa-tool-visual:hover {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.12) 0%, rgba(245, 158, 11, 0.06) 100%);
  transform: translateY(-2px);
}

.qa-tool-icon {
  font-size: 2em;
  position: relative;
  z-index: 1;
}

.qa-tool-name {
  font-size: 0.8em;
  font-weight: 600;
  color: #1e293b;
  text-align: center;
  position: relative;
  z-index: 1;
}

.qa-tool-status {
  font-size: 1em;
  position: relative;
  z-index: 1;
}

.qa-tool-separator {
  font-size: 1.2em;
  font-weight: 600;
  color: #64748b;
}

.qa-best-practice {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 8px;
  padding: 8px 12px;
  background: linear-gradient(135deg, #f59e0b, #fbbf24);
  color: white;
  border-radius: 12px;
  font-size: 0.8em;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
  position: relative;
  overflow: hidden;
}

.qa-best-practice::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, transparent 50%);
}

.qa-practice-icon {
  font-size: 1em;
  position: relative;
  z-index: 1;
}

.qa-practice-text {
  position: relative;
  z-index: 1;
}

/* Responsive adjustments for modern engaging layouts */
@media (max-width: 1200px) {
  .test-content-grid {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(4, auto);
    gap: 20px;
    max-height: none;
    padding: 20px;
  }
  
  .test-unit-card,
  .test-integration-card,
  .test-browser-card,
  .test-qa-card {
    grid-column: 1;
    grid-row: auto;
    max-width: 500px;
    justify-self: center;
  }
  
  .browser-emoji,
  .device-emoji {
    font-size: 1.6em;
  }
  
  .qa-tool-icon {
    font-size: 1.8em;
  }
}

@media (max-width: 768px) {
  .test-content-grid {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(4, auto);
    gap: 16px;
    padding: 16px;
  }
  
  .test-card {
    padding: 16px;
    min-height: 180px;
  }
  
  .test-unit-card,
  .test-integration-card,
  .test-browser-card,
  .test-qa-card {
    grid-column: 1;
    grid-row: auto;
    max-width: 100%;
  }
  
  .browser-icon-row,
  .device-icon-row {
    gap: 6px;
  }
  
  .qa-tools-visual {
    gap: 10px;
  }
  
  .test-status-grid {
    gap: 5px;
  }
  
  .test-status-item {
    padding: 6px 10px;
  }
  
  .browser-emoji,
  .device-emoji {
    font-size: 1.4em;
  }
  
  .qa-tool-icon {
    font-size: 1.6em;
  }
}

/* Test Status Visual Layout - modern design */
.test-status-visual {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 8px 0;
}

.test-status-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 6px;
}

.test-status-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.08) 0%, rgba(16, 185, 129, 0.03) 100%);
  border-radius: 8px;
  border: 1px solid rgba(16, 185, 129, 0.2);
  position: relative;
  overflow: hidden;
  transition: all 0.2s ease;
}

.test-status-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(135deg, #10b981, #34d399);
}

.test-status-item:hover {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.12) 0%, rgba(16, 185, 129, 0.06) 100%);
  transform: translateX(2px);
}

.test-status-emoji {
  font-size: 1em;
  width: 20px;
  text-align: center;
}

.test-status-label {
  flex: 1;
  font-size: 0.85em;
  font-weight: 600;
  color: #374151;
}

.test-status-check {
  font-size: 1em;
}
  font-size: 0.85em;
  font-weight: 500;
  color: #374151;
}

.test-status-check {
  font-size: 0.9em;
}

.test-coverage-bar {
  position: relative;
  height: 20px;
  background: #e5e7eb;
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.test-coverage-fill {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 87%;
  background: linear-gradient(90deg, #10b981, #34d399);
  border-radius: 10px;
  transition: width 0.5s ease;
}

.test-coverage-text {
  position: relative;
  z-index: 1;
  font-size: 0.75em;
  font-weight: 600;
  color: #1f2937;
}

/* API Status Layout - engaging design */
.test-api-status {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 8px 0;
}

.test-api-endpoints {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.test-endpoint-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.08) 0%, rgba(59, 130, 246, 0.03) 100%);
  border-radius: 8px;
  border: 1px solid rgba(59, 130, 246, 0.2);
  position: relative;
  overflow: hidden;
  transition: all 0.2s ease;
}

.test-endpoint-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(135deg, #3b82f6, #60a5fa);
}

.test-endpoint-item:hover {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.12) 0%, rgba(59, 130, 246, 0.06) 100%);
  transform: translateX(2px);
}

.test-endpoint-method {
  font-size: 0.75em;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 4px;
  color: white;
  min-width: 40px;
  text-align: center;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.test-endpoint-method.get {
  background: #10b981;
}

.test-endpoint-method.post {
  background: #3b82f6;
}

.test-endpoint-method.put {
  background: #f59e0b;
}

.test-endpoint-status {
  font-size: 0.9em;
}

.test-performance-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 12px;
  background: linear-gradient(135deg, #eab308, #fbbf24);
  color: white;
  border-radius: 12px;
  font-size: 0.8em;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(234, 179, 8, 0.3);
  position: relative;
  overflow: hidden;
}

.test-performance-badge::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, transparent 50%);
}

.test-perf-icon {
  font-size: 1em;
  position: relative;
  z-index: 1;
}

.test-perf-text {
  position: relative;
  z-index: 1;
}
