/* ==========================================================
============ Omnicom QA Tools  - INDEX PAGE CSS =============
========================================================== */

/* =================== TOOL CARDS GRID =================== */

.tools-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  margin-top: 1.5rem;
}

.tools-grid .tool-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  color: var(--text-primary);
  cursor: pointer;
  padding: 1.5rem;
  position: relative;
  transition: all 0.3s ease;
    min-height: 350px;
}

.tools-grid .tool-card:hover {
  border-color: var(--primary-color);
  box-shadow: 0 8px 24px rgba(0, 247, 255, 0.2);
  transform: translateY(-4px);
}

.tools-grid .tool-card .icon {
  display: block;
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.tools-grid .tool-card h3 {
  color: var(--primary-color);
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

[data-theme="light"] .tools-grid .tool-card h3 {
  color: var(--text-primary);
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.tools-grid .tool-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.5;
}

.tools-grid .tool-card ul {
  color: var(--text-primary);
  font-size: 1rem;
  line-height: 1.25rem;
  margin-left: 1rem;
  margin-bottom: 2rem;
}

.tool-title {
  color: var(--primary-color);
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

[data-theme="light"] .tool-title {
  color: var(--text-primary);
}

.tool-description {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.5;
  margin-bottom: 1rem;
}

.tool-features {
  color: var(--text-primary);
  font-size: 0.9rem;
  line-height: 1.5;
  margin-left: 1.25rem;
  margin-bottom: 2.5rem;
}

.tool-features li {
  margin-bottom: 0.5rem;
}

.open-tool {
  color: var(--secondary-color);
  line-height: 3rem;
  position: absolute;
  bottom: .5rem;
  font-weight: 600;
  position: absolute;
  left: 1.5rem;
  transition: color 0.2s ease;
}

.open-tool:hover {
  color: var(--primary-color);
}

/* =================== RESPONSIVE =================== */

@media (max-width: 768px) {
  .main-content {
    padding: 1rem;
    margin-top: 110px;
  }
  
  .tools-grid {
    grid-template-columns: 1fr;
  }
  
  .hero-title {
    font-size: 1.75rem;
  }
  
  .hero-subtitle {
    font-size: 1rem;
  }
}