/* ============================================
   ALVIN — DEVELOPER PORTFOLIO — style.css
   ============================================ */

/* ─── Variables & Reset ─────────────────────── */
:root {
  --bg: #0D1117;
  --card: #161B22;
  --card-hover: #1C2333;
  --border: rgba(255,255,255,0.07);
  --border-glow: rgba(168, 85, 247, 0.35);
  --purple: #A855F7;
  --purple-dim: rgba(168,85,247,0.15);
  --purple-glow: rgba(168,85,247,0.4);
  --blue: #3B82F6;
  --blue-dim: rgba(59,130,246,0.15);
  --blue-glow: rgba(59,130,246,0.4);
  --text: #E6EDF3;
  --text-muted: #8B949E;
  --text-dim: #6E7681;
  --sidebar-w: 280px;
  --radius: 14px;
  --radius-sm: 8px;
  --trans: 0.3s ease;
  --font: 'Inter', sans-serif;
  --mono: 'JetBrains Mono', monospace;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  display: flex;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }

/* ─── Scrollbar ─────────────────────────────── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--purple); border-radius: 10px; }

/* ─── Sidebar ───────────────────────────────── */
.sidebar {
  width: var(--sidebar-w);
  min-height: 100vh;
  background: var(--card);
  border-right: 1px solid var(--border);
  position: fixed;
  top: 0; left: 0; bottom: 0;
  overflow-y: auto;
  z-index: 900;
  transition: transform var(--trans);
}

.sidebar-inner {
  padding: 2rem 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

/* Avatar */
.avatar-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.avatar-ring {
  width: 110px; height: 110px;
  border-radius: 50%;
  padding: 3px;
  background: linear-gradient(135deg, var(--purple), var(--blue));
  box-shadow: 0 0 25px var(--purple-glow), 0 0 50px rgba(59,130,246,0.2);
  position: relative;
}

.avatar-ring::before {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  background: conic-gradient(from 0deg, var(--purple), var(--blue), var(--purple));
  animation: spin 4s linear infinite;
  z-index: -1;
  opacity: 0.6;
}

@keyframes spin { to { transform: rotate(360deg); } }

.avatar-img {
  width: 100%; height: 100%;
  border-radius: 50%;
  object-fit: cover;
  background: #1a1f2e;
}

.avatar-badge {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.25);
  color: #22c55e;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 20px;
  letter-spacing: 0.5px;
}

.status-dot {
  width: 7px; height: 7px;
  background: #22c55e;
  border-radius: 50%;
  box-shadow: 0 0 8px #22c55e;
  animation: pulse 1.8s ease infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

/* Name Block */
.profile-name {
  font-size: 1.4rem;
  font-weight: 800;
  text-align: center;
  background: linear-gradient(135deg, #fff, var(--purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.profile-username {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.82rem;
  font-family: var(--mono);
}

.profile-name-block { text-align: center; }

/* Bio */
.profile-bio {
  text-align: center;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--purple);
  background: var(--purple-dim);
  border: 1px solid rgba(168,85,247,0.2);
  border-radius: 20px;
  padding: 4px 12px;
}

.profile-desc {
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Stats Row */
.profile-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.8rem;
}
.stat-item { display: flex; flex-direction: column; align-items: center; gap: 2px; }
.stat-num { font-size: 1.2rem; font-weight: 800; color: var(--purple); }
.stat-label { font-size: 0.7rem; color: var(--text-dim); }
.stat-divider { width: 1px; height: 30px; background: var(--border); }

/* Info */
.profile-info { list-style: none; }
.profile-info li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  padding: 3px 0;
}
.profile-info li i { color: var(--purple); width: 14px; }

/* Links */
.profile-links { display: flex; flex-direction: column; gap: 0.5rem; }

.profile-link {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.6rem 0.8rem;
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  font-weight: 500;
  border: 1px solid var(--border);
  transition: all var(--trans);
  background: rgba(255,255,255,0.02);
}
.profile-link .link-arrow { margin-left: auto; font-size: 0.65rem; opacity: 0; transition: opacity var(--trans); }
.profile-link:hover .link-arrow { opacity: 1; }

.profile-link.github:hover { border-color: rgba(255,255,255,0.15); background: rgba(255,255,255,0.05); color: #fff; }
.profile-link.telegram:hover { border-color: rgba(0,136,204,0.4); background: rgba(0,136,204,0.08); color: #00bfff; }
.profile-link.portfolio:hover { border-color: var(--border-glow); background: var(--purple-dim); color: var(--purple); }

/* Edit Profile */
.edit-profile-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.65rem;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-muted);
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  font-family: var(--font);
  cursor: pointer;
  transition: all var(--trans);
  margin-top: 0.5rem;
}
.edit-profile-btn:hover {
  border-color: var(--purple);
  color: var(--purple);
  background: var(--purple-dim);
  box-shadow: 0 0 12px var(--purple-glow);
}

/* ─── Main Content ───────────────────────────── */
.main-content {
  margin-left: var(--sidebar-w);
  flex: 1;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.8rem;
  max-width: calc(100vw - var(--sidebar-w));
}

/* Glass Card */
.glass-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  position: relative;
  overflow: hidden;
  transition: border-color var(--trans), box-shadow var(--trans);
}
.glass-card:hover {
  border-color: rgba(168,85,247,0.2);
  box-shadow: 0 0 30px rgba(168,85,247,0.06);
}

/* Section Shared */
.section { padding: 2rem; }

.section-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.8rem;
}
.section-header h2 {
  font-size: 1.25rem;
  font-weight: 700;
  white-space: nowrap;
}
.section-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, var(--purple), transparent);
  border-radius: 2px;
}

/* Fade-in animation */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ─── HERO ───────────────────────────────────── */
.hero-section { padding: 3rem 2.5rem; }

.hero-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(168,85,247,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(168,85,247,0.04) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}

.hero-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  position: relative;
  z-index: 1;
}

.hero-left { flex: 1; }

.greeting-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(34,197,94,0.1);
  border: 1px solid rgba(34,197,94,0.25);
  color: #22c55e;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 1.2rem;
  letter-spacing: 0.5px;
}

.blink-dot {
  width: 7px; height: 7px;
  background: #22c55e;
  border-radius: 50%;
  box-shadow: 0 0 8px #22c55e;
  animation: pulse 1.8s ease infinite;
}

.hero-title {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1rem;
}

.wave { display: inline-block; animation: wave 2.5s ease-in-out infinite; }
@keyframes wave {
  0%, 100% { transform: rotate(0deg); }
  20% { transform: rotate(-15deg); }
  40% { transform: rotate(10deg); }
  60% { transform: rotate(-10deg); }
  80% { transform: rotate(5deg); }
}

.hero-name-highlight {
  background: linear-gradient(135deg, var(--purple), var(--blue));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: block;
}

.hero-subtitle {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}
.pill {
  background: rgba(168,85,247,0.12);
  border: 1px solid rgba(168,85,247,0.25);
  color: var(--purple);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 20px;
}
.sep { color: var(--text-dim); }

.hero-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 480px;
  margin-bottom: 2rem;
}

.hero-cta { display: flex; gap: 1rem; flex-wrap: wrap; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 1.5rem;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  font-weight: 600;
  transition: all var(--trans);
  cursor: pointer;
}
.btn-primary {
  background: linear-gradient(135deg, var(--purple), var(--blue));
  color: #fff;
  border: none;
  box-shadow: 0 4px 20px rgba(168,85,247,0.3);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(168,85,247,0.5);
}
.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}
.btn-outline:hover {
  border-color: var(--purple);
  color: var(--purple);
  background: var(--purple-dim);
}

/* Python Ring */
.hero-right { flex-shrink: 0; }

.python-logo-wrap {
  position: relative;
  width: 220px; height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.python-ring-outer {
  width: 200px; height: 200px;
  border-radius: 50%;
  border: 2px solid rgba(168,85,247,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: rotateSlow 12s linear infinite;
  position: relative;
}
.python-ring-outer::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: 50%;
  background: conic-gradient(from 0deg, transparent 60%, var(--purple) 100%);
  animation: rotateSlow 4s linear infinite;
  z-index: -1;
}

@keyframes rotateSlow { to { transform: rotate(360deg); } }

.python-ring-inner {
  width: 130px; height: 130px;
  border-radius: 50%;
  background: rgba(59,130,246,0.08);
  border: 1px solid rgba(59,130,246,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 40px rgba(168,85,247,0.2);
}
.python-svg { width: 70px; height: 70px; }

/* Floating Icons */
.floating-icons {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.fi {
  position: absolute;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--card);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  box-shadow: 0 0 12px rgba(168,85,247,0.2);
  animation: floatIcon 3s ease-in-out infinite;
}
.fi-1 { top: 10px; left: 50%; transform: translateX(-50%); color: #f7df1e; animation-delay: 0s; }
.fi-2 { right: 10px; top: 50%; transform: translateY(-50%); color: #61dafb; animation-delay: 0.75s; }
.fi-3 { bottom: 10px; left: 50%; transform: translateX(-50%); color: #689f63; animation-delay: 1.5s; }
.fi-4 { left: 10px; top: 50%; transform: translateY(-50%); color: #0db7ed; animation-delay: 2.25s; }

@keyframes floatIcon {
  0%, 100% { box-shadow: 0 0 12px rgba(168,85,247,0.2); transform: translateX(-50%) translateY(0); }
  50% { box-shadow: 0 0 22px rgba(168,85,247,0.5); transform: translateX(-50%) translateY(-4px); }
}
.fi-2 { animation-name: floatIconY; }
.fi-4 { animation-name: floatIconY; }
@keyframes floatIconY {
  0%, 100% { box-shadow: 0 0 12px rgba(168,85,247,0.2); transform: translateY(-50%); }
  50% { box-shadow: 0 0 22px rgba(168,85,247,0.5); transform: translateY(calc(-50% - 4px)); }
}

/* ─── Vibe ───────────────────────────────────── */
.vibe-text {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}
.accent-text { color: var(--purple); font-weight: 600; }

.vibe-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.vibe-card {
  background: rgba(168,85,247,0.05);
  border: 1px solid rgba(168,85,247,0.12);
  border-radius: var(--radius-sm);
  padding: 1.2rem;
  text-align: center;
  transition: all var(--trans);
  cursor: default;
}
.vibe-card:hover {
  background: rgba(168,85,247,0.1);
  border-color: rgba(168,85,247,0.35);
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(168,85,247,0.15);
}
.vibe-icon {
  font-size: 1.5rem;
  color: var(--purple);
  margin-bottom: 0.7rem;
  text-shadow: 0 0 20px var(--purple-glow);
}
.vibe-card h3 { font-size: 0.95rem; font-weight: 700; margin-bottom: 0.4rem; }
.vibe-card p { font-size: 0.78rem; color: var(--text-muted); line-height: 1.5; }

/* ─── Tech Stack ─────────────────────────────── */
.tech-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.tech-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.82rem;
  font-weight: 600;
  border: 1px solid;
  transition: all var(--trans);
  cursor: default;
}
.tech-badge:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px;
}

/* ─── GitHub Stats ───────────────────────────── */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.stat-card {
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  transition: all var(--trans);
  position: relative;
  overflow: hidden;
}
.stat-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--purple), var(--blue));
  opacity: 0;
  transition: opacity var(--trans);
}
.stat-card:hover::before { opacity: 1; }
.stat-card:hover {
  border-color: rgba(168,85,247,0.2);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}

.stat-card-icon {
  font-size: 1.4rem;
  color: var(--blue);
  margin-bottom: 0.3rem;
}

.stat-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  padding: 0.3rem 0;
  border-bottom: 1px solid var(--border);
}
.stat-row:last-child { border-bottom: none; }
.stat-row span:first-child { color: var(--text-muted); }
.stat-val { font-weight: 700; font-size: 1rem; color: var(--purple); font-family: var(--mono); }

/* Grade Card */
.grade-card { align-items: center; justify-content: center; gap: 0.8rem; }

.grade-ring { position: relative; width: 120px; height: 120px; }
.grade-svg { width: 120px; height: 120px; transform: rotate(-90deg); }
.grade-bg-circle { fill: none; stroke: rgba(255,255,255,0.06); stroke-width: 8; }
.grade-progress-circle {
  fill: none;
  stroke: url(#gradeGrad);
  stroke-width: 8;
  stroke-linecap: round;
  stroke-dasharray: 314;
  stroke-dashoffset: 314;
  transition: stroke-dashoffset 2s ease;
}

.grade-center {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
}
.grade-letter {
  font-size: 1.6rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--purple), var(--blue));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.grade-sub { font-size: 0.65rem; color: var(--text-dim); }
.grade-label { font-size: 0.8rem; color: var(--text-muted); font-weight: 600; text-align: center; }

/* Streak Card */
.streak-card { align-items: center; text-align: center; }
.streak-icon { font-size: 1.8rem; color: #f97316; }
.longest-icon { color: #eab308; }

.streak-val {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1;
  font-family: var(--mono);
  background: linear-gradient(135deg, #f97316, #ef4444);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.longest .streak-val {
  background: linear-gradient(135deg, #eab308, #f97316);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.streak-unit { font-size: 0.75rem; color: var(--text-dim); margin-bottom: 0.3rem; }
.streak-label { font-size: 0.8rem; font-weight: 600; color: var(--text-muted); }

.streak-bar-wrap {
  width: 100%;
  height: 4px;
  background: rgba(255,255,255,0.06);
  border-radius: 2px;
  margin-top: 0.6rem;
  overflow: hidden;
}
.streak-bar {
  height: 100%;
  border-radius: 2px;
  width: 0;
  background: linear-gradient(90deg, #f97316, #ef4444);
  transition: width 2s ease;
}
.longest-bar { background: linear-gradient(90deg, #eab308, #f97316); }

/* ─── Languages ──────────────────────────────── */
.lang-layout {
  display: flex;
  align-items: center;
  gap: 3rem;
}

.lang-bars {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.lang-item { display: flex; flex-direction: column; gap: 6px; }
.lang-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.lang-name { font-size: 0.85rem; font-weight: 600; display: flex; align-items: center; gap: 0.5rem; }
.lang-dot { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }
.lang-pct { font-size: 0.78rem; font-family: var(--mono); color: var(--text-muted); }

.lang-bar-wrap {
  width: 100%;
  height: 8px;
  background: rgba(255,255,255,0.05);
  border-radius: 4px;
  overflow: hidden;
}
.lang-bar-fill {
  height: 100%;
  border-radius: 4px;
  width: 0;
  transition: width 1.8s cubic-bezier(0.4,0,0.2,1);
}

/* Donut */
.lang-donut-wrap {
  position: relative;
  width: 220px;
  height: 220px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.donut-center-text {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  pointer-events: none;
}
.donut-main { font-size: 0.8rem; font-weight: 600; color: var(--text-muted); }

/* ─── Projects ───────────────────────────────── */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.2rem;
}

.project-card {
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 1.5rem;
  position: relative;
  overflow: hidden;
  transition: all var(--trans);
  cursor: default;
}
.project-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(168,85,247,0.04), transparent);
  opacity: 0;
  transition: opacity var(--trans);
}
.project-card:hover {
  border-color: rgba(168,85,247,0.3);
  transform: translateY(-5px);
  box-shadow: 0 12px 40px rgba(168,85,247,0.1);
}
.project-card:hover::after { opacity: 1; }

.project-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}
.project-icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(168,85,247,0.2), rgba(59,130,246,0.2));
  border: 1px solid rgba(168,85,247,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--purple);
}
.project-links { display: flex; gap: 0.5rem; }
.project-links a {
  width: 28px; height: 28px;
  border-radius: 6px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  color: var(--text-muted);
  transition: all var(--trans);
}
.project-links a:hover { border-color: var(--purple); color: var(--purple); }

.project-title { font-size: 1rem; font-weight: 700; margin-bottom: 0.5rem; }
.project-desc { font-size: 0.8rem; color: var(--text-muted); line-height: 1.6; margin-bottom: 1rem; }

.project-tags { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.tag {
  font-size: 0.7rem;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 4px;
  background: rgba(59,130,246,0.1);
  border: 1px solid rgba(59,130,246,0.2);
  color: var(--blue);
  font-family: var(--mono);
}

.project-number {
  position: absolute;
  bottom: 1rem;
  right: 1.2rem;
  font-size: 3rem;
  font-weight: 900;
  font-family: var(--mono);
  color: rgba(168,85,247,0.06);
  line-height: 1;
  user-select: none;
  pointer-events: none;
}

/* ─── Mission ────────────────────────────────── */
.mission-section { text-align: center; }
.mission-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(168,85,247,0.06) 0%, transparent 70%);
  pointer-events: none;
}
.mission-content { position: relative; z-index: 1; }

.mission-quote {
  font-size: 1.2rem;
  font-style: italic;
  color: var(--text);
  line-height: 1.8;
  max-width: 700px;
  margin: 0 auto 2rem;
  position: relative;
}
.quote-icon { color: var(--purple); font-size: 0.9rem; margin: 0 0.4rem; }

.mission-pillars {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}
.pillar {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 1.5rem;
  background: rgba(168,85,247,0.05);
  border: 1px solid rgba(168,85,247,0.15);
  border-radius: var(--radius-sm);
  transition: all var(--trans);
}
.pillar:hover {
  background: rgba(168,85,247,0.1);
  transform: translateY(-3px);
}
.pillar i { font-size: 1.5rem; color: var(--purple); }
.pillar span { font-size: 0.85rem; font-weight: 600; }

/* ─── Collaborate ────────────────────────────── */
.collab-section { text-align: center; }
.collab-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(59,130,246,0.06) 0%, transparent 70%);
  pointer-events: none;
}
.collab-text {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  position: relative;
  z-index: 1;
}

.collab-btns {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

.collab-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 1.6rem;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  font-weight: 600;
  border: 1px solid;
  transition: all var(--trans);
}
.collab-btn:hover { transform: translateY(-3px); }

.collab-btn.linkedin { background: rgba(10,102,194,0.1); border-color: rgba(10,102,194,0.3); color: #0a66c2; }
.collab-btn.linkedin:hover { background: rgba(10,102,194,0.2); box-shadow: 0 6px 20px rgba(10,102,194,0.3); }

.collab-btn.twitter { background: rgba(255,255,255,0.04); border-color: rgba(255,255,255,0.15); color: #fff; }
.collab-btn.twitter:hover { background: rgba(255,255,255,0.08); box-shadow: 0 6px 20px rgba(255,255,255,0.1); }

.collab-btn.telegram-btn { background: rgba(0,136,204,0.1); border-color: rgba(0,136,204,0.3); color: #00bfff; }
.collab-btn.telegram-btn:hover { background: rgba(0,136,204,0.2); box-shadow: 0 6px 20px rgba(0,136,204,0.3); }

.collab-btn.email { background: rgba(168,85,247,0.1); border-color: rgba(168,85,247,0.3); color: var(--purple); }
.collab-btn.email:hover { background: var(--purple-dim); box-shadow: 0 6px 20px rgba(168,85,247,0.3); }

/* ─── Footer ─────────────────────────────────── */
.footer {
  text-align: center;
  padding: 2rem;
  margin-top: 1rem;
}
.footer-line {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
  margin-bottom: 1.5rem;
}
.footer-text {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 0.4rem;
}
.footer-heart { color: #ef4444; animation: heartbeat 1.5s ease infinite; }
@keyframes heartbeat {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.2); }
}
.footer-name { color: var(--purple); font-weight: 700; }
.footer-sub { font-size: 0.75rem; color: var(--text-dim); font-family: var(--mono); }

/* ─── Hamburger & Overlay ────────────────────── */
.hamburger {
  display: none;
  position: fixed;
  top: 1rem; left: 1rem;
  z-index: 1000;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  width: 42px; height: 42px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  padding: 0;
}
.hamburger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all var(--trans);
}
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.sidebar-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  z-index: 800;
  backdrop-filter: blur(2px);
}

/* ─── SVG Defs ───────────────────────────────── */
svg defs { position: absolute; }

/* ─── Responsive ─────────────────────────────── */
@media (max-width: 1200px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .vibe-cards { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .hero-content { flex-direction: column; }
  .hero-right { display: none; }
  .hero-title { font-size: 2.2rem; }
  .projects-grid { grid-template-columns: 1fr; }
  .lang-layout { flex-direction: column; gap: 2rem; align-items: flex-start; }
  .lang-donut-wrap { width: 180px; height: 180px; align-self: center; }
}

@media (max-width: 768px) {
  :root { --sidebar-w: 280px; }
  .sidebar {
    transform: translateX(-100%);
    box-shadow: 4px 0 30px rgba(0,0,0,0.5);
  }
  .sidebar.open { transform: translateX(0); }
  .sidebar-overlay.open { display: block; }
  .hamburger { display: flex; }
  .main-content {
    margin-left: 0;
    max-width: 100vw;
    padding: 1rem;
    padding-top: 4rem;
  }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .vibe-cards { grid-template-columns: 1fr; }
  .projects-grid { grid-template-columns: 1fr; }
  .collab-btns { flex-direction: column; align-items: center; }
  .hero-title { font-size: 1.9rem; }
}

@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr; }
  .hero-cta { flex-direction: column; }
  .hero-title { font-size: 1.6rem; }
}
