/* ============================================================
   PORTFOLIO v3 — GLASSMORPHISM THEME
   ============================================================ */

:root {
  --primary: #7c5cff;
  --secondary: #00d4aa;
  --accent: #ff6b9d;
  --cyan: #22d3ee;
  --gold: #ffc857;
  --bg: #040408;
  --surface: rgba(255, 255, 255, 0.03);
  --surface2: rgba(255, 255, 255, 0.06);
  --glass: rgba(255, 255, 255, 0.08);
  --glass-border: rgba(255, 255, 255, 0.12);
  --glass-hover: rgba(255, 255, 255, 0.14);
  --text: #f0ecff;
  --text2: #a89cc8;
  --text3: #6b5e8a;
  --glow: rgba(124, 92, 255, 0.3);
  --radius: 16px;
  --radius-lg: 24px;
  --blur: 20px;
}

[data-theme="light"] {
  --bg: #f8f9fa;
  --surface: rgba(255, 255, 255, 0.6);
  --surface2: rgba(255, 255, 255, 0.8);
  --glass: rgba(255, 255, 255, 0.7);
  --glass-border: rgba(255, 255, 255, 0.4);
  --glass-hover: rgba(255, 255, 255, 0.9);
  --text: #1a0a2e;
  --text2: #5a4a7a;
  --text3: #8a7aa8;
  --glow: rgba(124, 92, 255, 0.15);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Space Grotesk', 'Vazirmatn', sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  line-height: 1.7;
  transition: background 0.4s, color 0.4s;
}

body[dir="rtl"] {
  font-family: 'Vazirmatn', sans-serif;
}

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

/* ─── GLASS MORPHISM BASE ─── */
.glass {
  background: var(--glass);
  backdrop-filter: blur(var(--blur));
  -webkit-backdrop-filter: blur(var(--blur));
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
}

.glass-strong {
  background: var(--glass-hover);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
}

/* ─── CANVAS BACKGROUND ─── */
#bg-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  opacity: 0.4;
}

[data-theme="light"] #bg-canvas {
  opacity: 0.15;
}

/* ─── CONTAINER ─── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

/* ─── NAVIGATION ─── */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: all 0.4s;
}

nav.scrolled {
  background: var(--glass);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--glass-border);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

nav .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-weight: 700;
  font-size: 1.3rem;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nav-links {
  display: flex;
  gap: 4px;
  list-style: none;
  flex-wrap: wrap;
}

.nav-links a {
  color: var(--text2);
  font-size: 0.85rem;
  padding: 10px 18px;
  border-radius: 12px;
  transition: all 0.3s;
}

.nav-links a:hover {
  color: var(--text);
  background: var(--glass);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.theme-btn,
.lang-btn {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  color: var(--text);
  padding: 10px 16px;
  border-radius: 12px;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.85rem;
  transition: all 0.3s;
  backdrop-filter: blur(10px);
}

.theme-btn:hover,
.lang-btn:hover {
  background: var(--glass-hover);
  border-color: var(--primary);
  transform: translateY(-2px);
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
}

/* ─── SCROLL PROGRESS ─── */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--primary), var(--secondary), var(--cyan));
  z-index: 9999;
  transition: width 0.1s linear;
  box-shadow: 0 0 12px var(--primary), 0 0 24px var(--secondary);
}

/* ─── HERO ─── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 24px 80px;
  position: relative;
}

.hero-inner {
  max-width: 900px;
  animation: heroFade 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes heroFade {
  from {
    opacity: 0;
    transform: translateY(50px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: 50px;
  padding: 10px 24px;
  font-size: 0.85rem;
  color: var(--text2);
  margin-bottom: 32px;
  backdrop-filter: blur(10px);
  animation: badgeGlow 3s ease-in-out infinite;
}

@keyframes badgeGlow {
  0%,
  100% {
    box-shadow: 0 0 0 0 var(--glow);
  }
  50% {
    box-shadow: 0 0 0 12px transparent, 0 4px 20px var(--glow);
  }
}

.hero-badge .dot {
  width: 8px;
  height: 8px;
  background: var(--secondary);
  border-radius: 50%;
  animation: blink 2s infinite;
}

@keyframes blink {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.3;
  }
}

.hero h1 {
  font-size: clamp(2.8rem, 7vw, 5.2rem);
  font-weight: 700;
  line-height: 1.08;
  margin-bottom: 24px;
  letter-spacing: -0.025em;
}

.gradient-text {
  background: linear-gradient(135deg, var(--primary), var(--secondary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.gradient-text-animated {
  background: linear-gradient(135deg, var(--primary), var(--secondary), var(--accent), var(--primary));
  background-size: 300% 300%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradientShift 4s ease infinite;
}

@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.hero-desc {
  font-size: 1.15rem;
  color: var(--text2);
  margin-bottom: 40px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.9;
}

.hero-cta {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

/* ─── BUTTONS ─── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 12px;
  font-size: 0.9rem;
  font-weight: 600;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: none;
  cursor: pointer;
  font-family: inherit;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), #5a4bd1);
  color: #fff;
  box-shadow: 0 4px 24px var(--glow);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 40px var(--glow);
}

.btn-ghost {
  background: var(--glass);
  color: var(--text);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(10px);
}

.btn-ghost:hover {
  background: var(--glass-hover);
  border-color: var(--primary);
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--glass-border);
}

.btn-outline:hover {
  border-color: var(--secondary);
  color: var(--secondary);
}

/* ─── STATS ROW ─── */
.stats-row {
  display: flex;
  gap: 40px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 40px;
}

.stat {
  text-align: center;
}

.stat-num {
  font-size: 2rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat-label {
  font-size: 0.75rem;
  color: var(--text2);
  margin-top: 4px;
}

/* ─── SECTIONS ─── */
section {
  padding: 100px 0;
  position: relative;
}

.section-title {
  text-align: center;
  margin-bottom: 60px;
}

.section-title h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  margin-bottom: 12px;
  font-weight: 700;
}

.section-title p {
  color: var(--text2);
  font-size: 1rem;
  max-width: 600px;
  margin: 0 auto;
}

/* ─── FILTER ROW ─── */
.filter-row {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.filter-btn {
  padding: 10px 20px;
  border-radius: 20px;
  font-size: 0.82rem;
  border: 1px solid var(--glass-border);
  background: var(--glass);
  color: var(--text2);
  cursor: pointer;
  font-family: inherit;
  transition: all 0.3s;
  backdrop-filter: blur(10px);
}

.filter-btn:hover,
.filter-btn.active {
  border-color: var(--primary);
  color: var(--text);
  background: var(--glass-hover);
}

.filter-btn.active {
  background: linear-gradient(135deg, rgba(124, 92, 255, 0.2), rgba(0, 212, 170, 0.15));
  border-color: var(--primary);
}

/* ─── ABOUT ─── */
.about-content {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 60px;
  align-items: center;
}

.about-image {
  position: relative;
  display: flex;
  justify-content: center;
}

.about-avatar {
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--secondary), var(--accent));
  padding: 4px;
  position: relative;
  animation: float 3s ease-in-out infinite;
}

.about-avatar-inner {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

.about-info h3 {
  font-size: 1.8rem;
  margin-bottom: 16px;
  font-weight: 700;
}

.about-info p {
  color: var(--text2);
  line-height: 1.9;
  margin-bottom: 20px;
  font-size: 0.95rem;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin: 30px 0;
}

.about-stat {
  text-align: center;
  padding: 16px;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  transition: all 0.3s;
  backdrop-filter: blur(10px);
}

.about-stat:hover {
  background: var(--glass-hover);
  transform: translateY(-4px);
}

.about-stat .num {
  font-size: 1.5rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.about-stat .label {
  font-size: 0.65rem;
  color: var(--text2);
  margin-top: 4px;
}

.about-details {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.about-detail {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--text2);
  padding: 10px 16px;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  backdrop-filter: blur(10px);
}

.about-detail i {
  color: var(--secondary);
  width: 16px;
}

@media (max-width: 768px) {
  .about-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .about-stats {
    grid-template-columns: repeat(2, 1fr);
  }
  .about-details {
    justify-content: center;
  }
}

/* ─── PROJECTS GRID ─── */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 24px;
}

.card {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(var(--blur));
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  opacity: 0;
  transition: opacity 0.3s;
}

.card:hover::before {
  opacity: 1;
}

.card:hover {
  transform: translateY(-8px) scale(1.02);
  background: var(--glass-hover);
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.25), 0 0 0 1px rgba(124, 92, 255, 0.15), 0 0 40px rgba(124, 92, 255, 0.08);
}

.card-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}

.card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  transition: transform 0.3s;
}

.card:hover .card-icon {
  transform: scale(1.1) rotate(5deg);
}

.card-title {
  font-weight: 700;
  font-size: 1.1rem;
}

.card-tag {
  font-size: 0.7rem;
  color: var(--text2);
  background: var(--surface2);
  padding: 3px 8px;
  border-radius: 4px;
  margin-top: 4px;
  display: inline-block;
}

.card-desc {
  color: var(--text2);
  font-size: 0.85rem;
  line-height: 1.7;
  margin-bottom: 16px;
}

.card-tech {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.tech {
  font-size: 0.65rem;
  padding: 3px 8px;
  background: rgba(124, 92, 255, 0.08);
  color: var(--primary);
  border-radius: 4px;
  border: 1px solid rgba(124, 92, 255, 0.15);
}

.card-links {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.card-links a {
  font-size: 0.78rem;
  color: var(--text2);
  padding: 6px 14px;
  border: 1px solid var(--glass-border);
  border-radius: 8px;
  transition: all 0.3s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.card-links a:hover {
  color: var(--secondary);
  border-color: var(--secondary);
  background: rgba(0, 212, 170, 0.05);
}

.card-links a.more {
  background: linear-gradient(135deg, var(--primary), #5a4bd1);
  color: #fff;
  border: none;
}

.card-links a.more:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 20px var(--glow);
}

.card-category {
  position: absolute;
  top: 16px;
  right: 16px;
  font-size: 0.6rem;
  padding: 3px 8px;
  border-radius: 10px;
  background: rgba(124, 92, 255, 0.1);
  color: var(--primary);
  border: 1px solid rgba(124, 92, 255, 0.2);
}

.card-preview {
  height: 140px;
  border-radius: var(--radius);
  margin-bottom: 18px;
  background: linear-gradient(135deg, var(--surface2), var(--surface));
  border: 1px solid var(--glass-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--text3);
  position: relative;
  overflow: hidden;
}

.card-preview::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.04) 50%, transparent 70%);
  transform: translateX(-100%);
  transition: transform 0.6s;
}

.card:hover .card-preview::after {
  transform: translateX(100%);
}

.card.preview-owlbot .card-preview {
  background: linear-gradient(135deg, #0a0a12, #1a1a2e);
  color: #ffc857;
}

.card.preview-vyn .card-preview {
  background: linear-gradient(135deg, #1a0a2e, #2d1b4e);
  color: #a855f7;
}

.card.preview-cachelab .card-preview {
  background: linear-gradient(135deg, #0a1a1a, #1a2e2e);
  color: #00cec9;
}

.card.preview-razban .card-preview {
  background: linear-gradient(135deg, #0a1a2e, #1a2e3e);
  color: #0984e3;
}

.card.preview-raznegar .card-preview {
  background: linear-gradient(135deg, #1a0a1a, #2e1a2e);
  color: #e84393;
}

.card.preview-recall .card-preview {
  background: linear-gradient(135deg, #0a0a1a, #1a1a2e);
  color: #7c5cff;
}

/* ─── LANGUAGES ─── */
.languages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
  margin: 30px 0;
}

.lang-card {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: 14px;
  padding: 20px;
  transition: all 0.3s;
  backdrop-filter: blur(10px);
}

.lang-card:hover {
  background: var(--glass-hover);
  border-color: rgba(124, 92, 255, 0.3);
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

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

.lang-name {
  font-weight: 700;
  font-size: 1rem;
}

.stars {
  display: flex;
  gap: 2px;
  color: var(--gold);
  font-size: 0.8rem;
}

.lang-use {
  font-size: 0.78rem;
  color: var(--text2);
  line-height: 1.6;
}

/* ─── OFFER ─── */
.offer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 14px;
  margin: 30px 0;
}

.offer {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: 14px;
  padding: 20px;
  text-align: center;
  transition: all 0.3s;
  backdrop-filter: blur(10px);
}

.offer:hover {
  background: var(--glass-hover);
  border-color: rgba(124, 92, 255, 0.3);
  transform: translateY(-4px);
}

.offer-icon {
  font-size: 1.8rem;
  margin-bottom: 10px;
  transition: transform 0.3s;
}

.offer:hover .offer-icon {
  transform: scale(1.2) rotate(10deg);
}

.offer h4 {
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 4px;
}

/* ─── STATS BIG ─── */
.stats-big {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 20px;
  margin: 40px 0;
}

.stat-big {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 24px;
  text-align: center;
  transition: all 0.3s;
  backdrop-filter: blur(10px);
}

.stat-big:hover {
  background: var(--glass-hover);
  border-color: rgba(124, 92, 255, 0.3);
  transform: translateY(-4px);
}

.stat-big .num {
  font-size: 2.2rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat-big .label {
  font-size: 0.75rem;
  color: var(--text2);
  margin-top: 6px;
}

/* ─── CONTACT ─── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 60px;
  align-items: start;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  transition: all 0.3s;
  backdrop-filter: blur(10px);
}

.contact-item:hover {
  background: var(--glass-hover);
  border-color: var(--primary);
  transform: translateX(5px);
}

.contact-item i {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(124, 92, 255, 0.1);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

.contact-item .label {
  font-size: 0.75rem;
  color: var(--text2);
  margin-bottom: 2px;
}

.contact-item .value {
  font-size: 0.9rem;
  font-weight: 600;
}

.contact-form {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 40px;
  backdrop-filter: blur(var(--blur));
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.8rem;
  color: var(--text2);
  margin-bottom: 8px;
  font-weight: 500;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  background: var(--surface);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  color: var(--text);
  font-family: inherit;
  font-size: 0.9rem;
  transition: all 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(124, 92, 255, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-submit {
  display: flex;
  gap: 12px;
  align-items: center;
}

@media (max-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .contact-form {
    padding: 24px;
  }
}

/* ─── CV SECTION ─── */
.cv-section {
  text-align: center;
  margin-top: 60px;
}

.cv-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 40px;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  transition: all 0.3s;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  backdrop-filter: blur(var(--blur));
}

.cv-card:hover {
  background: var(--glass-hover);
  border-color: var(--primary);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
  transform: translateY(-4px);
}

.cv-header {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 24px;
  text-align: left;
}

.cv-icon {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: #fff;
}

.cv-text h4 {
  font-size: 1.1rem;
  margin-bottom: 4px;
}

.cv-text p {
  font-size: 0.8rem;
  color: var(--text2);
}

.cv-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 24px;
  width: 100%;
}

.cv-feature {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  color: var(--text2);
}

.cv-feature i {
  color: var(--secondary);
  font-size: 0.7rem;
}

/* ─── FOOTER ─── */
footer {
  padding: 50px 0;
  border-top: 1px solid var(--glass-border);
  text-align: center;
  color: var(--text2);
  font-size: 0.82rem;
}

footer strong {
  color: var(--text);
}

footer a {
  color: var(--primary);
}

.socials {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-top: 20px;
}

.social-link {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text2);
  transition: all 0.3s;
  font-size: 1.1rem;
  backdrop-filter: blur(10px);
}

.social-link:hover {
  background: var(--glass-hover);
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-3px) scale(1.1);
}

/* ─── SCROLLBAR ─── */
::-webkit-scrollbar {
  width: 5px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: var(--primary);
  border-radius: 3px;
  opacity: 0.3;
}

/* ─── SELECTION ─── */
::selection {
  background: rgba(124, 92, 255, 0.3);
  color: #fff;
}

/* ─── RESPONSIVE ─── */
@media (max-width: 768px) {
  .stats-row {
    gap: 20px;
  }
  .projects-grid {
    grid-template-columns: 1fr;
  }
  .languages-grid {
    grid-template-columns: 1fr;
  }
  .stats-big {
    grid-template-columns: repeat(2, 1fr);
  }
  section {
    padding: 60px 0;
  }
  .hero h1 {
    font-size: 2rem;
  }
  .offer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
