/* ===================================================================
   SKILLS.CSS — صفحه‌ی مهارت‌ها
=================================================================== */

.skills-grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.skill-card{
  text-align:center;
  padding: 42px 28px;
}
.skill-card .tilt-inner{ transition: transform .45s var(--ease-luxury); }

.progress-ring{
  position:relative;
  width: 150px;
  height: 150px;
  margin: 0 auto 26px;
}
.progress-ring svg{ width:100%; height:100%; transform: rotate(-90deg); }
.progress-ring circle{
  fill:none;
  stroke-width: 9;
}
.progress-ring .bg{ stroke: rgba(255,255,255,.08); }
.progress-ring .bar{
  stroke: url(#ringGradient);
  stroke-linecap: round;
  transition: stroke-dashoffset 1.6s var(--ease-luxury);
}
.progress-ring .value{
  position:absolute;
  inset:0;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:26px;
  font-weight:800;
}
.progress-ring .value small{ font-size:14px; color: var(--text-soft); margin-right:2px; }

.skill-card h3{ font-size:18px; margin-bottom:10px; }
.skill-card p{ font-size:13.5px; }

/* =========================== ابزارها =========================== */
.tools-grid{
  display:grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px;
}
.tool-chip{
  padding: 26px 14px;
  text-align:center;
  transition: transform .4s var(--ease-luxury), border-color .4s;
}
.tool-chip:hover{
  transform: translateY(-8px);
  border-color: rgba(255,255,255,.2);
}
.tool-mono{
  width:52px; height:52px;
  margin:0 auto 14px;
  border-radius: 16px;
  display:flex; align-items:center; justify-content:center;
  font-weight:800;
  font-size:18px;
  color:#fff;
}
.tool-chip span{ font-size:13px; color: var(--text-soft); display:block; }

/* =========================== مهارت‌های نرم =========================== */
.soft-grid{
  display:grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.soft-card{
  display:flex;
  gap:20px;
  align-items:flex-start;
  padding: 32px;
}
.soft-card .ic{
  width:54px; height:54px;
  border-radius:16px;
  background: var(--grad-primary-soft);
  display:flex; align-items:center; justify-content:center;
  flex-shrink:0;
}
.soft-card .ic svg{ width:24px; height:24px; }
.soft-card h4{ font-size:16.5px; margin-bottom:8px; }
.soft-card p{ font-size:14px; }

/* =========================== مقیاس تخصص (نوار) =========================== */
.bars-wrap{ max-width:720px; margin:0 auto; }
.bar-row{ margin-bottom: 28px; }
.bar-row .top{
  display:flex; justify-content:space-between; margin-bottom:10px;
  font-size:14.5px; font-weight:700;
}
.bar-row .top span:last-child{ color: var(--accent-soft); }
.bar-track{
  height:10px;
  border-radius: var(--r-pill);
  background: rgba(255,255,255,.08);
  overflow:hidden;
}
.bar-fill{
  height:100%;
  border-radius: var(--r-pill);
  background: var(--grad-primary);
  width:0;
  transition: width 1.4s var(--ease-luxury);
}

@media (max-width: 1100px){
  .tools-grid{ grid-template-columns: repeat(4,1fr); }
}
@media (max-width: 860px){
  .skills-grid{ grid-template-columns: 1fr 1fr; }
  .soft-grid{ grid-template-columns: 1fr; }
}
@media (max-width: 640px){
  .skills-grid{ grid-template-columns: 1fr; }
  .tools-grid{ grid-template-columns: repeat(3,1fr); }
}
