/* =====================================================
   PORTFOLIO — Ahmed Shawki
   hero.css  |  Hero Section
   ===================================================== */

#hero {
  position: relative; z-index: 1;
  min-height: 100vh; display: flex; align-items: center; gap: 4rem;
  padding: 8rem 2rem 4rem;
  max-width: 1200px; margin: 0 auto;
}

.hero-content { flex: 1; }

.hero-badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.4rem 1rem; border-radius: 100px;
  border: 1px solid rgba(108, 99, 255, 0.4);
  background: rgba(108, 99, 255, 0.08);
  font-size: 0.78rem; color: var(--accent2);
  letter-spacing: 1px; text-transform: uppercase; font-weight: 600;
  margin-bottom: 1.5rem;
  animation: fadeInDown 0.8s var(--tr) both;
  font-family: var(--font-body);
}
.hero-badge::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent2); animation: pulse 2s infinite;
}

.hero-name {
  font-size: clamp(3rem, 8vw, 6rem); font-weight: 900;
  line-height: 1.05; letter-spacing: -2px;
  animation: fadeInDown 0.8s var(--tr) 0.1s both;
}
.hero-name .line1 { display: block; color: var(--text); }
.hero-name .line2 {
  display: block;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent2) 50%, var(--accent3) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  background-size: 200% 200%;
  animation: gradientShift 4s ease infinite, fadeInDown 0.8s var(--tr) 0.1s both;
}

.hero-role {
  font-size: 1.2rem; color: var(--accent2); font-weight: 500;
  margin: 0.8rem 0; letter-spacing: 0.3px;
  animation: fadeInDown 0.8s var(--tr) 0.2s both;
  font-family: var(--font-body);
}
.hero-desc {
  max-width: 540px; color: var(--text-muted); font-size: 1.05rem;
  line-height: 1.85; margin: 1.2rem 0 1.4rem;
  animation: fadeInDown 0.8s var(--tr) 0.3s both;
}
.hero-desc span { color: var(--text); font-weight: 500; }

/* USP Callout */
.hero-usp {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.6rem 1.2rem; border-radius: 10px;
  background: rgba(255, 101, 132, 0.08);
  border: 1px solid rgba(255, 101, 132, 0.25);
  color: var(--accent3); font-size: 0.9rem; font-weight: 500;
  margin-bottom: 2rem;
  animation: fadeInDown 0.8s var(--tr) 0.35s both;
}
.hero-usp em { font-style: normal; font-weight: 700; }

.hero-btns { display: flex; flex-wrap: wrap; gap: 1rem; animation: fadeInDown 0.8s var(--tr) 0.4s both; }

.hero-stats { display: flex; gap: 2.5rem; margin-top: 3rem; animation: fadeInDown 0.8s var(--tr) 0.5s both; }
.stat { text-align: center; }
.stat-num {
  font-size: 2.2rem; font-weight: 800; line-height: 1;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  font-family: var(--font-display);
}
.stat-label { font-size: 0.7rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px; margin-top: 0.3rem; }

/* Visual / Avatar */
.hero-visual {
  flex: 0 0 300px; display: flex; justify-content: center; align-items: center;
  animation: fadeInRight 1s var(--tr) 0.3s both;
}
.avatar-wrap  { position: relative; width: 280px; height: 280px; }

.avatar-ring {
  position: absolute; inset: -14px; border-radius: 50%;
  background: conic-gradient(from 0deg, var(--accent), var(--accent2), var(--accent3), var(--accent));
  animation: spin 8s linear infinite; padding: 3px;
}
.avatar-ring::before { content: ''; position: absolute; inset: 4px; background: var(--bg); border-radius: 50%; }

.avatar {
  position: relative; width: 100%; height: 100%; border-radius: 50%;
  background: linear-gradient(135deg, #1a1f3a, #0d1224);
  display: flex; align-items: center; justify-content: center;
  font-size: 5.5rem; z-index: 1;
  box-shadow: 0 0 60px rgba(108, 99, 255, 0.4), 0 0 120px rgba(0, 212, 255, 0.15);
  border: 3px solid rgba(108, 99, 255, 0.5);
  object-fit: cover;
  object-position: center top;
  overflow: hidden;
}

.float-badge {
  position: absolute; background: var(--card); border: 1px solid var(--glass-border);
  border-radius: 12px; padding: 0.7rem 1rem; backdrop-filter: blur(10px);
  font-size: 0.82rem; font-weight: 600; white-space: nowrap;
  animation: float 3s ease-in-out infinite;
}
.float-badge-1 { top: 10px; right: -50px; animation-delay: 0s; }
.float-badge-2 { bottom: 30px; left: -60px; animation-delay: -1.5s; }
