/* ============================================
   TECH STACK PAGE STYLES
   ============================================ */

.page-header {
  position: relative;
  padding: 140px 24px 60px;
  text-align: center;
  z-index: 2;
}

.page-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  margin-bottom: 16px;
  line-height: 1.1;
}

.page-desc {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}

/* Stack Sections */
.stack-section {
  margin-bottom: 60px;
}

.stack-heading {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 24px;
  padding-left: 16px;
  border-left: 4px solid var(--accent-purple);
}

.stack-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.stack-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: var(--transition);
}

.stack-card:hover {
  border-color: var(--accent-purple);
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(139, 92, 246, 0.15);
}

.stack-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.stack-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.skill-bar {
  height: 6px;
  background: var(--bg-primary);
  border-radius: 100px;
  overflow: hidden;
  margin-bottom: 8px;
}

.skill-fill {
  height: 100%;
  background: var(--accent-gradient);
  border-radius: 100px;
  transition: width 1.2s cubic-bezier(0.22, 1, 0.36, 1);
}

.skill-level {
  font-size: 0.75rem;
  font-family: var(--font-mono);
  color: var(--accent-purple);
  font-weight: 600;
}

.stack-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 12px;
  line-height: 1.5;
}

/* Tools Grid */
.tools-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.tool-tag {
  padding: 10px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: var(--transition);
}

.tool-tag:hover {
  border-color: var(--accent-purple);
  color: var(--accent-purple);
  transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 1024px) {
  .stack-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .stack-cards {
    grid-template-columns: 1fr;
  }
}
