/* ==========================================================
   Ali Hassan — Portfolio · Animated Dark Pro Theme
   ========================================================== */

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

:root {
  --bg:       #05050d;
  --bg2:      #0b0b1c;
  --card:     #101026;
  --card-h:   #15153a;
  --purple:   #7c3aed;
  --purple-l: #a78bfa;
  --cyan:     #22d3ee;
  --cyan-l:   #67e8f9;
  --green:    #34d399;
  --pink:     #f472b6;
  --text:     #f1f5f9;
  --muted:    #94a3b8;
  --dim:      #64748b;
  --border:   rgba(124,58,237,.15);
  --glow-p:   rgba(124,58,237,.35);
  --glow-c:   rgba(34,211,238,.3);
  --r:        14px;
  --r-sm:     8px;
  --font:     'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--purple); border-radius: 99px; }

/* ══════════════════════════════════════════
   KEYFRAME ANIMATIONS
══════════════════════════════════════════ */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(40px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInLeft {
  from { opacity: 0; transform: translateX(-40px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(40px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.88); }
  to   { opacity: 1; transform: scale(1); }
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-14px); }
}
@keyframes spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}
@keyframes blink {
  0%,100% { opacity: 1; transform: scale(1); }
  50%     { opacity: .4; transform: scale(.7); }
}
@keyframes shimmer {
  0%   { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}
@keyframes orb1 {
  0%,100% { transform: translate(0,0) scale(1); }
  33%     { transform: translate(60px,-40px) scale(1.1); }
  66%     { transform: translate(-40px,30px) scale(0.9); }
}
@keyframes orb2 {
  0%,100% { transform: translate(0,0) scale(1); }
  33%     { transform: translate(-70px,50px) scale(1.15); }
  66%     { transform: translate(50px,-30px) scale(0.9); }
}
@keyframes orb3 {
  0%,100% { transform: translate(0,0) scale(1); }
  50%     { transform: translate(40px,60px) scale(1.1); }
}
@keyframes gradientMove {
  0%,100% { background-position: 0% 50%; }
  50%     { background-position: 100% 50%; }
}
@keyframes navSlideDown {
  from { transform: translateY(-100%); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}
@keyframes pulseDot {
  0%,100% { box-shadow: 0 0 0 0 rgba(34,211,238,.5); }
  50%     { box-shadow: 0 0 0 8px rgba(34,211,238,0); }
}
@keyframes glowPulse {
  0%,100% { opacity: .5; }
  50%     { opacity: 1; }
}
@keyframes particle {
  0%   { transform: translateY(0) translateX(0) rotate(0deg); opacity:0; }
  10%  { opacity: 1; }
  90%  { opacity: .6; }
  100% { transform: translateY(-120px) translateX(30px) rotate(360deg); opacity:0; }
}

/* ══════════════════════════════════════════
   SCROLL REVEAL
══════════════════════════════════════════ */
[data-reveal] {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity .75s cubic-bezier(.25,.46,.45,.94),
              transform .75s cubic-bezier(.25,.46,.45,.94);
}
[data-reveal="left"]  { transform: translateX(-50px); }
[data-reveal="right"] { transform: translateX(50px); }
[data-reveal="scale"] { transform: scale(0.85); opacity: 0; }
[data-reveal].visible {
  opacity: 1;
  transform: translate(0) scale(1) !important;
}

.sd-1  { transition-delay: .1s !important; }
.sd-2  { transition-delay: .2s !important; }
.sd-3  { transition-delay: .3s !important; }
.sd-4  { transition-delay: .4s !important; }
.sd-5  { transition-delay: .5s !important; }
.sd-6  { transition-delay: .6s !important; }
.sd-7  { transition-delay: .7s !important; }
.sd-8  { transition-delay: .8s !important; }
.sd-9  { transition-delay: .9s !important; }

/* ══════════════════════════════════════════
   NAVBAR
══════════════════════════════════════════ */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 2.5rem; height: 64px;
  background: rgba(5,5,13,.7);
  backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border);
  animation: navSlideDown .6s ease both;
}

.nav-logo {
  font-size: 1.15rem; font-weight: 800; text-decoration: none;
  background: linear-gradient(135deg, var(--purple-l), var(--cyan));
  background-size: 200% 200%;
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  animation: gradientMove 4s ease infinite;
}

.nav-links { display: flex; list-style: none; gap: 2rem; }
.nav-links a {
  color: var(--muted); text-decoration: none;
  font-size: .875rem; font-weight: 500;
  transition: color .2s; position: relative;
}
.nav-links a::after {
  content:''; position:absolute; bottom:-4px; left:0;
  width:0; height:2px;
  background: linear-gradient(90deg, var(--purple), var(--cyan));
  transition: width .3s ease;
}
.nav-links a:hover { color: var(--text); }
.nav-links a:hover::after { width: 100%; }

.nav-hire {
  background: linear-gradient(135deg, var(--purple), #4c1d95);
  color: #fff !important; padding: .45rem 1.25rem;
  border-radius: 99px; font-size: .8rem; font-weight: 700;
  text-decoration: none; transition: all .3s;
  box-shadow: 0 4px 14px rgba(124,58,237,.4);
  letter-spacing: .02em;
}
.nav-hire:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(124,58,237,.55); }
.nav-hire::after { display:none !important; }

/* ══════════════════════════════════════════
   HERO
══════════════════════════════════════════ */
.hero {
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  text-align: center;
  padding: 9rem 2rem 5rem;
  position: relative; overflow: hidden;
}

/* Moving orb background */
.hero-orbs { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.orb {
  position: absolute; border-radius: 50%;
  filter: blur(80px); opacity: .25;
}
.orb-1 {
  width: 500px; height: 500px; top: -100px; left: -100px;
  background: radial-gradient(circle, var(--purple) 0%, transparent 70%);
  animation: orb1 18s ease-in-out infinite;
}
.orb-2 {
  width: 400px; height: 400px; bottom: -80px; right: -80px;
  background: radial-gradient(circle, var(--cyan) 0%, transparent 70%);
  animation: orb2 22s ease-in-out infinite;
}
.orb-3 {
  width: 300px; height: 300px; top: 40%; left: 60%;
  background: radial-gradient(circle, var(--pink) 0%, transparent 70%);
  animation: orb3 15s ease-in-out infinite;
  opacity: .15;
}

.hero-grid-lines {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(124,58,237,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(124,58,237,.05) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, black 40%, transparent 100%);
}

/* Hero globe — centred background canvas */
#hero-globe-canvas {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 680px;
  height: 680px;
  opacity: 0.28;
  pointer-events: none;
  z-index: 0;
  display: block;
}

/* Hero inner */
.hero-inner { position: relative; z-index: 1; max-width: 820px; }

/* Avatar */
.avatar-wrap {
  margin: 0 auto 2rem;
  width: 160px; height: 160px;
  position: relative;
  animation: float 6s ease-in-out infinite;
}
.avatar-ring {
  position: absolute; inset: 0; border-radius: 50%;
  background: conic-gradient(from 0deg, var(--purple), var(--cyan), var(--purple-l), var(--cyan), var(--purple));
  animation: spin 4s linear infinite;
}
.avatar-photo {
  position: absolute; inset: 4px; border-radius: 50%;
  overflow: hidden; z-index: 2;
  border: 2px solid var(--bg);
}
.avatar-photo img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
}
.avatar-glow {
  position: absolute; inset: -20px; border-radius: 50%;
  background: radial-gradient(circle, rgba(124,58,237,.3) 0%, transparent 70%);
  z-index: -1;
  animation: glowPulse 3s ease-in-out infinite;
}

/* Entry animations */
.hero-badge {
  display: inline-flex; align-items: center; gap: .5rem;
  background: rgba(124,58,237,.1); border: 1px solid rgba(124,58,237,.3);
  border-radius: 99px; padding: .35rem 1rem;
  font-size: .78rem; color: var(--purple-l); font-weight: 600;
  margin-bottom: 1.5rem; letter-spacing: .04em; text-transform: uppercase;
  animation: fadeInDown .7s .2s both;
}
.hero-badge .pulse {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--cyan);
  animation: blink 2.2s ease-in-out infinite, pulseDot 2.5s ease-in-out infinite;
}
.hero-name {
  font-size: clamp(3rem, 7vw, 5.5rem); font-weight: 900;
  line-height: 1.05; letter-spacing: -.03em; margin-bottom: .5rem;
  background: linear-gradient(135deg, #fff 0%, var(--purple-l) 45%, var(--cyan) 100%);
  background-size: 200% 200%;
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  animation: fadeInUp .8s .4s both, gradientMove 6s 1s ease infinite;
}
.hero-title {
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  color: var(--muted); font-weight: 400; margin-bottom: 1.5rem;
  animation: fadeInUp .8s .55s both;
}
.hero-title strong { color: var(--cyan); font-weight: 700; }
.hero-bio {
  font-size: 1.05rem; color: var(--muted); line-height: 1.8;
  max-width: 620px; margin: 0 auto 2.25rem;
  animation: fadeInUp .8s .7s both;
}
.hero-bio span { color: var(--text); font-weight: 500; }
.hero-actions {
  display: flex; gap: 1rem; justify-content: center;
  flex-wrap: wrap; margin-bottom: 3.5rem;
  animation: fadeInUp .8s .85s both;
}
.hero-stats {
  display: flex; align-items: center; justify-content: center;
  flex-wrap: wrap;
  animation: fadeInUp .8s 1s both;
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .75rem 1.75rem; border-radius: 99px;
  font-size: .925rem; font-weight: 600; text-decoration: none;
  transition: all .35s ease; cursor: pointer;
  position: relative; overflow: hidden;
}
.btn::before {
  content: '';
  position: absolute; inset: 0;
  background: rgba(255,255,255,.1);
  transform: translateX(-100%) skewX(-12deg);
  transition: transform .5s ease;
}
.btn:hover::before { transform: translateX(100%) skewX(-12deg); }

.btn-primary {
  background: linear-gradient(135deg, var(--purple), #4c1d95);
  color: #fff; box-shadow: 0 4px 20px rgba(124,58,237,.45);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 12px 36px rgba(124,58,237,.55); }

.btn-outline {
  background: transparent; color: var(--text);
  border: 1px solid var(--border);
}
.btn-outline:hover { border-color: rgba(34,211,238,.45); color: var(--cyan); transform: translateY(-3px); }

.btn-cyan {
  background: rgba(34,211,238,.09); color: var(--cyan);
  border: 1px solid rgba(34,211,238,.22);
}
.btn-cyan:hover { background: rgba(34,211,238,.18); transform: translateY(-3px); }

/* Stats */
.h-stat { display: flex; flex-direction: column; align-items: center; padding: 0 2rem; }
.h-stat-val {
  font-size: 2rem; font-weight: 800;
  background: linear-gradient(135deg, var(--purple-l), var(--cyan));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.h-stat-lbl { font-size: .75rem; color: var(--dim); text-transform: uppercase; letter-spacing: .06em; }
.h-divider {
  width: 1px; height: 40px;
  background: linear-gradient(180deg, transparent, var(--border), transparent);
}

/* ══════════════════════════════════════════
   SHARED SECTION WRAPPERS
══════════════════════════════════════════ */
.sec-wrap { max-width: 1200px; margin: 0 auto; padding: 6rem 2rem; }
.sec-tag {
  display: inline-block; font-size: .72rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--cyan); background: rgba(34,211,238,.07);
  border: 1px solid rgba(34,211,238,.15); padding: .25rem .8rem;
  border-radius: 99px; margin-bottom: 1rem;
}
.sec-title {
  font-size: clamp(1.75rem, 4vw, 2.75rem); font-weight: 800;
  letter-spacing: -.025em; color: var(--text); margin-bottom: 1rem;
}
.sec-sub {
  font-size: 1rem; color: var(--muted); max-width: 580px;
  margin: 0 auto; line-height: 1.75;
}
.sec-header { text-align: center; margin-bottom: 4rem; }

/* Shimmer text */
.shimmer-text {
  background: linear-gradient(120deg, var(--purple-l) 0%, var(--cyan) 40%, var(--purple-l) 80%);
  background-size: 200% auto;
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  animation: shimmer 3s linear infinite;
}

/* ══════════════════════════════════════════
   ABOUT
══════════════════════════════════════════ */
.about-bg {
  position: relative;
  background: linear-gradient(180deg, transparent, rgba(124,58,237,.04) 50%, transparent);
}

/* Globe canvas background */
.globe-wrap {
  position: absolute;
  top: 50%;
  right: -40px;
  transform: translateY(-50%);
  pointer-events: none;
  z-index: 0;
}
#about-globe-canvas {
  display: block;
  width: 520px;
  height: 520px;
  opacity: 0.6;
}
.about-bg .sec-wrap { position: relative; z-index: 1; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; }
.about-text { font-size: .975rem; color: var(--muted); line-height: 1.85; }
.about-text p { margin-bottom: 1rem; }
.about-text .hi { color: var(--text); font-weight: 600; }
.about-text .accent { color: var(--purple-l); font-weight: 600; }
.about-text .blue { color: var(--cyan); font-weight: 600; }

.info-cards { display: flex; flex-direction: column; gap: .875rem; }
.info-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--r); padding: 1.125rem 1.375rem;
  display: flex; align-items: center; gap: 1rem;
  transition: border-color .3s, transform .3s, box-shadow .3s;
}
.info-card:hover {
  border-color: rgba(124,58,237,.4); transform: translateX(8px);
  box-shadow: 4px 0 20px rgba(124,58,237,.15);
}
.ic-icon {
  font-size: 1.4rem; width: 46px; height: 46px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(124,58,237,.1); border-radius: var(--r-sm); flex-shrink: 0;
  transition: background .3s, transform .3s;
}
.info-card:hover .ic-icon { background: rgba(124,58,237,.2); transform: rotate(10deg); }
.ic-title { font-size: .9rem; font-weight: 700; color: var(--text); margin-bottom: .15rem; }
.ic-val { font-size: .82rem; color: var(--muted); }

/* ══════════════════════════════════════════
   SKILLS
══════════════════════════════════════════ */
.skills-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 1.25rem; }
.skill-cat {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--r); padding: 1.5rem;
  transition: border-color .35s, transform .35s, box-shadow .35s;
  position: relative; overflow: hidden;
}
.skill-cat::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--purple), var(--cyan));
  transform: scaleX(0); transform-origin: left;
  transition: transform .35s ease;
}
.skill-cat:hover { border-color: rgba(124,58,237,.35); transform: translateY(-6px); box-shadow: 0 20px 40px rgba(0,0,0,.3); }
.skill-cat:hover::before { transform: scaleX(1); }
.sk-head {
  display: flex; align-items: center; gap: .75rem;
  font-size: .9rem; font-weight: 700; color: var(--text); margin-bottom: 1rem;
}
.sk-chips { display: flex; flex-wrap: wrap; gap: .4rem; }
.chip {
  padding: .28rem .7rem; border-radius: 99px;
  font-size: .775rem; font-weight: 500;
  transition: all .25s ease; cursor: default;
}
.chip-p {
  background: rgba(124,58,237,.09); border: 1px solid rgba(124,58,237,.18); color: var(--purple-l);
}
.chip-p:hover { background: rgba(124,58,237,.22); box-shadow: 0 0 12px rgba(124,58,237,.3); transform: scale(1.05); }
.chip-c {
  background: rgba(34,211,238,.08); border: 1px solid rgba(34,211,238,.15); color: var(--cyan-l);
}
.chip-c:hover { background: rgba(34,211,238,.18); box-shadow: 0 0 12px rgba(34,211,238,.25); transform: scale(1.05); }
.chip-g {
  background: rgba(52,211,153,.08); border: 1px solid rgba(52,211,153,.15); color: var(--green);
}
.chip-g:hover { background: rgba(52,211,153,.18); transform: scale(1.05); }

/* ══════════════════════════════════════════
   PROJECTS
══════════════════════════════════════════ */
.projects-bg {
  background: linear-gradient(180deg, transparent, rgba(34,211,238,.025) 50%, transparent);
}
.projects-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 1.5rem; }
.pcard {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--r); padding: 1.75rem;
  display: flex; flex-direction: column; gap: 1rem;
  transition: all .4s cubic-bezier(.25,.46,.45,.94);
  position: relative; overflow: hidden; cursor: pointer;
}
.pcard::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--purple), var(--cyan));
  opacity: 0; transition: opacity .4s;
}
.pcard::after {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at var(--mx,50%) var(--my,50%), rgba(124,58,237,.06) 0%, transparent 60%);
  opacity: 0; transition: opacity .3s;
  pointer-events: none;
}
.pcard:hover {
  border-color: rgba(124,58,237,.4); transform: translateY(-8px);
  background: var(--card-h);
  box-shadow: 0 28px 60px rgba(0,0,0,.5), 0 0 0 1px rgba(124,58,237,.15), 0 0 40px rgba(124,58,237,.1);
}
.pcard:hover::before { opacity: 1; }
.pcard:hover::after  { opacity: 1; }

.pc-top { display: flex; align-items: flex-start; justify-content: space-between; }
.pc-icon {
  font-size: 1.75rem; width: 52px; height: 52px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(124,58,237,.1); border-radius: var(--r-sm);
  transition: transform .3s, background .3s;
}
.pcard:hover .pc-icon { transform: scale(1.1) rotate(-5deg); background: rgba(124,58,237,.18); }
.pc-badge {
  font-size: .68rem; font-weight: 700; letter-spacing: .07em;
  text-transform: uppercase; color: var(--cyan);
  background: rgba(34,211,238,.08); border: 1px solid rgba(34,211,238,.2);
  padding: .2rem .6rem; border-radius: 99px;
}
.pc-name {
  font-size: 1.08rem; font-weight: 700; color: var(--text);
  text-decoration: none; display: block; margin-bottom: .35rem;
  transition: color .2s;
}
.pc-name:hover { color: var(--purple-l); }
.pc-desc { font-size: .875rem; color: var(--muted); line-height: 1.65; flex: 1; }

.pc-foot {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: .5rem;
  padding-top: .875rem; border-top: 1px solid var(--border);
}
.pc-meta { display: flex; align-items: center; gap: 1rem; }
.pc-stat { display: flex; align-items: center; gap: .3rem; font-size: .8rem; color: var(--muted); }
.pc-lang { display: flex; align-items: center; gap: .4rem; font-size: .8rem; color: var(--muted); }
.ldot { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.l-dart   { background: #00b4ab; }
.l-cpp    { background: #f34b7d; }
.l-kotlin { background: #A97BFF; }

.pc-link {
  font-size: .8rem; color: var(--purple-l); text-decoration: none;
  display: flex; align-items: center; gap: .3rem;
  font-weight: 600; transition: color .2s, gap .2s;
}
.pc-link:hover { color: var(--cyan); gap: .55rem; }

/* view all */
.view-all-wrap { text-align: center; margin-top: 3rem; }

/* ══════════════════════════════════════════
   CONTACT
══════════════════════════════════════════ */
.contact-box {
  background: var(--card); border: 1px solid var(--border);
  border-radius: 22px; padding: 5rem 3rem; text-align: center;
  position: relative; overflow: hidden;
}
.contact-box::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(124,58,237,.12) 0%, transparent 65%);
  animation: glowPulse 4s ease-in-out infinite;
}
.contact-box::after {
  content: ''; position: absolute;
  top: -50%; left: -50%; width: 200%; height: 200%;
  background: conic-gradient(from 0deg at 50% 50%,
    transparent 0deg, rgba(124,58,237,.04) 60deg,
    transparent 120deg, rgba(34,211,238,.04) 180deg,
    transparent 240deg, rgba(124,58,237,.04) 300deg, transparent 360deg);
  animation: spin 30s linear infinite;
  pointer-events: none;
}
.contact-box > * { position: relative; z-index: 1; }
.contact-box h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem); font-weight: 800;
  letter-spacing: -.025em; margin-bottom: 1rem;
}
.contact-box p { color: var(--muted); max-width: 480px; margin: 0 auto 2.5rem; line-height: 1.75; }

.gradient-text {
  background: linear-gradient(135deg, var(--purple-l), var(--cyan));
  background-size: 200% 200%;
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  animation: gradientMove 4s ease infinite;
}

.email-btn {
  display: inline-flex; align-items: center; gap: .6rem;
  font-size: .975rem; font-weight: 700; color: var(--text);
  text-decoration: none;
  background: rgba(124,58,237,.08); border: 1px solid rgba(124,58,237,.22);
  padding: .875rem 1.75rem; border-radius: 99px;
  margin-bottom: 2rem; transition: all .35s;
}
.email-btn:hover {
  background: rgba(124,58,237,.18); border-color: rgba(124,58,237,.5);
  transform: translateY(-3px); box-shadow: 0 10px 30px rgba(124,58,237,.25);
}

.cta-row { display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap; margin-bottom: 2.5rem; }

.socials { display: flex; justify-content: center; gap: 1rem; }
.soc-link {
  display: flex; align-items: center; justify-content: center;
  width: 50px; height: 50px; border-radius: 50%;
  background: rgba(255,255,255,.04); border: 1px solid var(--border);
  color: var(--muted); text-decoration: none; font-size: 1.2rem;
  transition: all .35s;
}
.soc-link:hover {
  background: rgba(124,58,237,.18); border-color: rgba(124,58,237,.4);
  color: var(--text); transform: translateY(-5px) rotate(8deg);
  box-shadow: 0 10px 24px rgba(124,58,237,.3);
}

/* ══════════════════════════════════════════
   FOOTER
══════════════════════════════════════════ */
.footer {
  border-top: 1px solid var(--border); padding: 2rem;
  text-align: center; color: var(--dim); font-size: .85rem;
}
.footer a { color: var(--purple-l); text-decoration: none; }
.footer a:hover { color: var(--cyan); }

/* ══════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════ */
@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .projects-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .nav-links { display: none; }
  .navbar { padding: 0 1.5rem; }
  .contact-box { padding: 3.5rem 1.5rem; }
  .sec-wrap { padding: 4rem 1.5rem; }
  .h-stat { padding: 0 1.25rem; }
  .h-stat-val { font-size: 1.5rem; }
}
@media (max-width: 480px) {
  .hero-actions { flex-direction: column; align-items: center; }
  .btn { width: 100%; max-width: 280px; justify-content: center; }
  .hero-stats { flex-direction: column; gap: 1.5rem; }
  .h-divider { display: none; }
  .avatar-wrap { width: 130px; height: 130px; }
}
