/**
 * SKILLS.CSS - Skills Page-Specific Styles
 * =========================================
 */

/* ===========================================
   CATEGORIES GRID
   =========================================== */
.categories {
  padding: 100px 80px;
  border-bottom: 1px solid var(--divider);
}

.categories-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--divider);
  border: 1px solid var(--divider);
  margin-top: 56px;
}

.category-card {
  background: var(--bg-dark);
  padding: 44px 40px;
  transition: background 0.3s;
}

.category-card:hover {
  background: rgba(225, 6, 31, 0.04);
}

.category-card.full {
  grid-column: span 2;
}

.icon-box {
  width: 52px;
  height: 52px;
  background: var(--status-bg);
  border: 1px solid rgba(225, 6, 31, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.icon-box i {
  font-size: 20px;
  color: var(--accent);
}

.cat-eyebrow {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.cat-title {
  font-size: 26px;
  font-weight: 800;
  color: var(--text-white);
  margin-bottom: 14px;
  letter-spacing: -0.3px;
}

.cat-desc {
  font-size: 15px;
  font-weight: 400;
  line-height: 1.8;
  color: var(--text-body);
  margin-bottom: 20px;
}

.skill-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.skill-tag {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  border: 1px solid var(--divider);
  padding: 6px 12px;
  transition: all 0.2s;
}

.skill-tag:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* ===========================================
   PROFICIENCY SECTION
   =========================================== */
.proficiency {
  padding: 100px 80px;
  border-bottom: 1px solid var(--divider);
  background: linear-gradient(180deg, #e1061fa3 0%, var(--bg-dark) 30%);
}

.proficiency-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--divider);
  border: 1px solid var(--divider);
  margin-top: 56px;
}

.prof-item {
  background: var(--bg-dark);
  padding: 28px 32px;
  transition: background 0.3s;
}

.prof-item:hover {
  background: rgba(225, 6, 31, 0.04);
}

.prof-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.prof-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-white);
  display: flex;
  align-items: center;
  gap: 10px;
}

.prof-name i {
  color: var(--accent);
  font-size: 16px;
}

.prof-bar-bg {
  height: 6px;
  background: var(--divider);
  position: relative;
  overflow: hidden;
}

.prof-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent) 0%, var(--accent-deep) 100%);
  width: 0;
  transition: width 1.2s ease-out;
}

/* ===========================================
   TOOLS SECTION
   =========================================== */
.tools-section {
  padding: 100px 80px;
  border-bottom: 1px solid var(--divider);
}

.tools-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--divider);
  border: 1px solid var(--divider);
  margin-top: 56px;
}

.tool-card {
  background: var(--bg-dark);
  padding: 32px 24px;
  text-align: center;
  transition: background 0.3s;
}

.tool-card:hover {
  background: rgba(225, 6, 31, 0.04);
}

.icon-circle {
  width: 56px;
  height: 56px;
  background: var(--status-bg);
  border: 1px solid rgba(225, 6, 31, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
}

.icon-circle i {
  font-size: 22px;
  color: var(--accent);
}

.tool-name {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 6px;
}

.tool-cat {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* ===========================================
   DIFFERENTIATOR SECTION
   =========================================== */
.differentiator {
  padding: 100px 80px;
  border-bottom: 1px solid var(--divider);
  background: var(--gradient);
  position: relative;
  overflow: hidden;
}

.differentiator::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 80px 80px;
  pointer-events: none;
}

.diff-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.diff-headline {
  font-size: clamp(28px, 3.5vw, 48px);
  font-weight: 800;
  line-height: 1.1;
  color: var(--text-white);
  margin-bottom: 24px;
  letter-spacing: -0.5px;
}

.diff-body {
  font-size: 14px;
  font-weight: 400;
  line-height: 1.85;
  color: var(--text-body);
}

.diff-points {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.diff-point {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}

.diff-icon {
  width: 48px;
  height: 48px;
  background: rgba(225, 6, 31, 0.15);
  border: 1px solid rgba(225, 6, 31, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.diff-icon i {
  font-size: 18px;
  color: var(--accent);
}

.diff-point-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 6px;
}

.diff-point-desc {
  font-size: 12px;
  font-weight: 400;
  line-height: 1.7;
  color: var(--text-muted);
}

/* ===========================================
   RESPONSIVE
   =========================================== */
@media (max-width: 1100px) {
  .tools-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .diff-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }
}

@media (max-width: 860px) {

  .categories,
  .proficiency,
  .tools-section,
  .differentiator {
    padding-left: 20px;
    padding-right: 20px;
  }

  .categories-grid,
  .proficiency-grid {
    grid-template-columns: 1fr;
  }

  .category-card.full {
    grid-column: auto;
  }

  .tools-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .tools-grid {
    grid-template-columns: 1fr;
  }
}