:root {
  --bg: #0b0f14;
  --card: rgba(255,255,255,0.04);
  --text: #e6e6e6;
  --muted: #9aa4b2;
  --neon: #00ffaa;
  --neon-dark: #009977;
  --border: rgba(255,255,255,0.08);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'JetBrains Mono', monospace;
  background: radial-gradient(circle at top, #111827, #020617);
  color: var(--text);
  min-height: 100vh;
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  max-width: 900px;
  margin: auto;
  padding: 40px 24px;
}

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

.logo {
  font-size: 1.3rem;
  font-weight: 600;
  letter-spacing: 1px;
  color: var(--neon);
  text-shadow: 0 0 10px rgba(0,255,170,0.4);
}

nav a {
  margin-left: 20px;
  color: var(--muted);
  transition: color 0.3s;
}

nav a:hover, nav a.active {
  color: var(--neon);
}

/* Introduction */
.intro h1 {
  font-size: 2rem;
  margin-bottom: 16px;
  color: var(--neon);
  text-shadow: 0 0 12px rgba(0,255,170,0.5);
}

.intro p.english {
  margin-bottom: 16px;
  font-size: 1rem;
  direction: ltr;
}

.intro p.persian {
  font-size: 1rem;
  direction: rtl;
  text-align: right;
  margin-bottom: 32px;
}

/* Skills Section */
.skills h2 {
  font-size: 1.6rem;
  margin-bottom: 20px;
  color: var(--neon);
  text-shadow: 0 0 12px rgba(0,255,170,0.5);
}

/* Skill Cards */
.skill-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 16px;
  transition: transform 0.3s, box-shadow 0.3s;
  cursor: default;
}

.skill-card:hover {
  transform: scale(1.03);
  box-shadow: 0 0 20px rgba(0,255,170,0.3);
}

.skill-card span {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: var(--neon);
  text-shadow: 0 0 6px rgba(0,255,170,0.6);
}

/* Progress Bar */
.progress-bar {
  width: 100%;
  height: 20px;
  background: rgba(0,255,170,0.1);
  border-radius: 12px;
  overflow: hidden;
}

.progress {
  height: 100%;
  width: 0;
  background: var(--neon-dark);
  border-radius: 12px 0 0 12px;
  box-shadow: 0 0 12px rgba(0,255,170,0.3);
  transition: width 1.5s ease-in-out;
}

/* Footer */
footer {
  margin-top: 60px;
  text-align: center;
}

footer .socials {
  margin-bottom: 12px;
}

footer .socials svg {
  width: 28px;
  height: 28px;
  stroke: var(--neon);
  fill: none;
  filter: drop-shadow(0 0 6px var(--neon));
  transition: transform 0.3s, filter 0.3s;
}

footer .socials a:hover svg {
  transform: scale(1.15);
  filter: drop-shadow(0 0 12px var(--neon));
}

footer .copyright {
  font-size: 0.8rem;
  color: var(--muted);
}
