:root {
  --bg-primary: #08090e;
  --bg-secondary: #0d111a;
  --card-bg: rgba(18, 24, 38, 0.65);
  --card-border: rgba(255, 255, 255, 0.08);
  --card-hover-border: rgba(99, 102, 241, 0.4);
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --accent-cyan: #06b6d4;
  --accent-indigo: #6366f1;
  --accent-purple: #a855f7;
  --accent-emerald: #10b981;
  --glow-gradient: linear-gradient(135deg, #06b6d4 0%, #6366f1 50%, #a855f7 100%);
  --font-main: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-code: 'Fira Code', monospace;
  --transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-main);
  background-color: #06070c;
  background-image: 
    radial-gradient(ellipse 80% 60% at 20% 15%, rgba(99, 102, 241, 0.15) 0%, transparent 60%),
    radial-gradient(ellipse 70% 50% at 85% 80%, rgba(6, 182, 212, 0.13) 0%, transparent 60%),
    radial-gradient(ellipse 60% 40% at 50% 50%, rgba(168, 85, 247, 0.09) 0%, transparent 70%),
    radial-gradient(circle at 80% 20%, rgba(236, 72, 153, 0.08) 0%, transparent 50%);
  background-attachment: fixed;
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}

/* Background Canvas */
#bg-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
}

/* Cursor Glow */
.cursor-glow {
  position: fixed;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.15), transparent 70%);
  pointer-events: none;
  transform: translate(-50%, -50%);
  z-index: 0;
  transition: opacity 0.3s ease;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Glass Card Utility */
.glass-card {
  background: var(--card-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--card-border);
  border-radius: 18px;
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.glass-card:hover {
  border-color: var(--card-hover-border);
  box-shadow: 0 20px 40px -15px rgba(99, 102, 241, 0.25);
  transform: translateY(-4px);
}

/* Tilt Card */
.tilt-card {
  transform-style: preserve-3d;
  will-change: transform;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 1.6rem;
  border-radius: 12px;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: var(--transition);
}

.btn-primary {
  background: var(--glow-gradient);
  color: #ffffff;
  box-shadow: 0 4px 20px rgba(99, 102, 241, 0.35);
}

.btn-primary:hover {
  box-shadow: 0 6px 28px rgba(99, 102, 241, 0.55);
  transform: translateY(-2px);
}

.btn-glass {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-primary);
  border: 1px solid var(--card-border);
  backdrop-filter: blur(8px);
}

.btn-glass:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 0.55rem 1.1rem;
  font-size: 0.85rem;
  border-radius: 9px;
}

/* Typography Gradient */
.gradient-text {
  background: var(--glow-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 1.1rem 0;
  transition: var(--transition);
  background: rgba(8, 9, 14, 0.75);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--card-border);
}

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

.nav-logo {
  font-size: 1.35rem;
  font-weight: 800;
  text-decoration: none;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 0.2rem;
  letter-spacing: -0.5px;
}

.logo-bracket {
  color: var(--accent-cyan);
  font-family: var(--font-code);
}

.logo-accent {
  color: var(--accent-indigo);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.nav-link:hover {
  color: #ffffff;
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.mobile-toggle {
  display: none;
  background: transparent;
  border: none;
  color: var(--text-primary);
  font-size: 1.4rem;
  cursor: pointer;
}

/* Hero Section */
.hero-section {
  padding: 8.5rem 0 5rem 0;
  position: relative;
  z-index: 1;
}

.hero-container {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 3.5rem;
  text-align: left;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.5rem 1.1rem;
  border-radius: 9999px;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: #34d399;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #10b981;
  box-shadow: 0 0 10px #10b981;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.hero-title {
  font-size: clamp(2.3rem, 4.5vw, 3.8rem);
  font-weight: 800;
  letter-spacing: -1.5px;
  line-height: 1.15;
  margin-bottom: 1rem;
}

/* Shimmer gradient animation on name */
.shimmer-text {
  background: linear-gradient(90deg, #06b6d4 0%, #a855f7 35%, #6366f1 70%, #06b6d4 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: textShimmer 4s linear infinite;
}

@keyframes textShimmer {
  to {
    background-position: 200% center;
  }
}

.typing-container {
  font-size: clamp(0.95rem, 1.6vw, 1.25rem);
  font-weight: 600;
  color: var(--text-secondary);
  font-family: var(--font-code);
  margin-bottom: 1.2rem;
  min-height: 1.9rem;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
}

.typing-prefix {
  margin-right: 0.45em;
  white-space: nowrap;
}

.typed-text {
  color: var(--accent-cyan);
}

.cursor-pipe {
  animation: blink 0.9s infinite;
  color: var(--accent-purple);
  margin-left: 2px;
}

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

.hero-description {
  max-width: 620px;
  font-size: 1.05rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  line-height: 1.65;
}

.hero-description strong {
  color: #ffffff;
  font-weight: 600;
}

.hero-buttons {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.9rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.pulse-btn {
  animation: btnGlow 3s infinite ease-in-out;
}

@keyframes btnGlow {
  0%, 100% { box-shadow: 0 4px 20px rgba(99, 102, 241, 0.4); }
  50% { box-shadow: 0 8px 32px rgba(6, 182, 212, 0.65); transform: translateY(-2px); }
}

.btn-whatsapp-hero {
  background: rgba(37, 211, 102, 0.15);
  color: #25d366;
  border: 1px solid rgba(37, 211, 102, 0.4);
}

.btn-whatsapp-hero:hover {
  background: #25d366;
  color: #ffffff;
  box-shadow: 0 4px 22px rgba(37, 211, 102, 0.45);
  transform: translateY(-2px);
}

/* Stats Bar */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  width: 100%;
}

/* Hero Visual / Avatar Stage */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.avatar-stage {
  position: relative;
  width: 360px;
  height: 360px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Glowing Pulsing Backdrop */
.avatar-glow-backdrop {
  position: absolute;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.4) 0%, rgba(6, 182, 212, 0.2) 40%, transparent 70%);
  filter: blur(24px);
  animation: auraPulse 4s ease-in-out infinite alternate;
  z-index: 1;
}

@keyframes auraPulse {
  0% { transform: scale(0.9); opacity: 0.7; }
  100% { transform: scale(1.15); opacity: 1; filter: blur(30px); }
}

/* Rotating Gradient Ring */
.avatar-rotating-ring {
  position: absolute;
  width: 310px;
  height: 310px;
  border-radius: 50%;
  background: conic-gradient(from 0deg, #06b6d4, #6366f1, #a855f7, #10b981, #06b6d4);
  animation: rotateRing 8s linear infinite;
  z-index: 2;
  padding: 4px;
  box-shadow: 0 0 30px rgba(99, 102, 241, 0.4);
}

@keyframes rotateRing {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* Inner Frame containing the picture */
.avatar-inner-frame {
  position: relative;
  width: 298px;
  height: 298px;
  border-radius: 50%;
  overflow: hidden;
  background: #08090e;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 3px solid #08090e;
  box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.8);
}

.hero-avatar-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  transform: scale(1.05);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.avatar-stage:hover .hero-avatar-image {
  transform: scale(1.12);
}

/* Floating Orbiting Badges */
.floating-badge {
  position: absolute;
  background: rgba(18, 24, 38, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 0.65rem 1rem;
  border-radius: 14px;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.6);
  z-index: 10;
  transition: var(--transition);
  white-space: nowrap;
}

.floating-badge:hover {
  transform: scale(1.08) translateY(-4px) !important;
  border-color: rgba(99, 102, 241, 0.5);
  box-shadow: 0 15px 35px -5px rgba(99, 102, 241, 0.4);
}

.floating-badge .fb-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  flex-shrink: 0;
}

.fb-dotnet { background: rgba(81, 43, 212, 0.2); color: #818cf8; border: 1px solid rgba(81, 43, 212, 0.4); }
.fb-star { background: rgba(250, 204, 21, 0.2); color: #facc15; border: 1px solid rgba(250, 204, 21, 0.4); }
.fb-wp { background: rgba(33, 117, 155, 0.2); color: #38bdf8; border: 1px solid rgba(33, 117, 155, 0.4); }
.fb-react { background: rgba(97, 218, 251, 0.2); color: #61dafb; border: 1px solid rgba(97, 218, 251, 0.4); }

.fb-text {
  display: flex;
  flex-direction: column;
}

.fb-text strong {
  font-size: 0.85rem;
  color: #ffffff;
}

.fb-text span {
  font-size: 0.72rem;
  color: var(--text-muted);
}

/* Badge Positions */
.badge-top-left {
  top: -10px;
  left: -40px;
}

.badge-top-right {
  top: 15px;
  right: -55px;
}

.badge-bottom-left {
  bottom: 25px;
  left: -50px;
}

.badge-bottom-right {
  bottom: -15px;
  right: -35px;
}

/* Floating Keyframes */
.float-slow { animation: floatSlow 5s ease-in-out infinite; }
.float-reverse { animation: floatReverse 4.5s ease-in-out infinite; }
.float-normal { animation: floatNormal 4s ease-in-out infinite; }
.float-fast { animation: floatFast 3.5s ease-in-out infinite; }

@keyframes floatSlow {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-12px) rotate(1deg); }
}

@keyframes floatReverse {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(10px) rotate(-1deg); }
}

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

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

/* Click Sparkle Particles */
.click-sparkle {
  position: fixed;
  pointer-events: none;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  z-index: 9999;
  animation: sparkleFade 0.7s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes sparkleFade {
  0% { transform: translate(0, 0) scale(1); opacity: 1; }
  100% { transform: translate(var(--dx), var(--dy)) scale(0); opacity: 0; }
}

.stat-card {
  background: rgba(18, 24, 38, 0.5);
  border: 1px solid var(--card-border);
  backdrop-filter: blur(10px);
  border-radius: 16px;
  padding: 1.4rem 1rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: var(--transition);
}

.stat-card:hover {
  border-color: rgba(99, 102, 241, 0.4);
  transform: translateY(-4px);
}

.stat-icon {
  font-size: 1.5rem;
  color: var(--accent-cyan);
  margin-bottom: 0.5rem;
}

.stat-num {
  font-size: 2.2rem;
  font-weight: 800;
  color: #ffffff;
  display: inline-block;
  line-height: 1;
}

.stat-suffix {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--accent-indigo);
  display: inline-block;
  margin-left: 2px;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
  margin-top: 0.4rem;
}

/* Section Common */
.section {
  padding: 6rem 0;
  position: relative;
  z-index: 1;
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 3.5rem auto;
}

.section-tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--accent-cyan);
  margin-bottom: 0.6rem;
  text-transform: uppercase;
}

.section-title {
  font-size: clamp(2rem, 3.8vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 0.8rem;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-secondary);
}

/* Stack Cards Grid */
.stack-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.8rem;
}

.stack-card {
  padding: 2.2rem;
  display: flex;
  flex-direction: column;
}

.wide-card {
  grid-column: span 3;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 2rem;
}

.stack-icon-box {
  width: 58px;
  height: 58px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 1.4rem;
  flex-shrink: 0;
}

.bg-dotnet { background: rgba(81, 43, 212, 0.2); color: #818cf8; border: 1px solid rgba(81, 43, 212, 0.4); }
.bg-aspnet { background: rgba(6, 182, 212, 0.2); color: #06b6d4; border: 1px solid rgba(6, 182, 212, 0.4); }
.bg-react { background: rgba(97, 218, 251, 0.2); color: #61dafb; border: 1px solid rgba(97, 218, 251, 0.4); }
.bg-node { background: rgba(51, 153, 51, 0.2); color: #4ade80; border: 1px solid rgba(51, 153, 51, 0.4); }
.bg-php { background: rgba(119, 123, 180, 0.2); color: #a5b4fc; border: 1px solid rgba(119, 123, 180, 0.4); }
.bg-db { background: rgba(245, 158, 11, 0.2); color: #fbbf24; border: 1px solid rgba(245, 158, 11, 0.4); }
.bg-wp { background: rgba(33, 117, 155, 0.2); color: #38bdf8; border: 1px solid rgba(33, 117, 155, 0.4); }
.bg-ai { background: rgba(168, 85, 247, 0.2); color: #c084fc; border: 1px solid rgba(168, 85, 247, 0.4); }

.ai-glow-card {
  border: 1px solid rgba(168, 85, 247, 0.45);
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.1) 0%, rgba(6, 182, 212, 0.05) 100%), var(--card-bg);
  box-shadow: 0 8px 32px rgba(168, 85, 247, 0.15);
  position: relative;
  overflow: hidden;
}

.ai-glow-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, #a855f7, #06b6d4, #10b981);
}

.ai-sparkle {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: #d8b4fe;
  background: rgba(168, 85, 247, 0.2);
  border: 1px solid rgba(168, 85, 247, 0.45);
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  margin-bottom: 0.8rem;
}

.stack-card h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 0.8rem;
}

.stack-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.stack-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.stack-badges span {
  font-size: 0.78rem;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--card-border);
  padding: 0.3rem 0.7rem;
  border-radius: 6px;
  color: var(--text-secondary);
}

/* Skills Filter & Grid */
.skills-filter {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  flex-wrap: wrap;
  margin-bottom: 2.8rem;
}

.filter-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--card-border);
  color: var(--text-secondary);
  padding: 0.55rem 1.2rem;
  border-radius: 9999px;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--accent-indigo);
  color: #ffffff;
  border-color: var(--accent-indigo);
  box-shadow: 0 4px 15px rgba(99, 102, 241, 0.35);
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.2rem;
}

.skill-item {
  padding: 1.2rem 1.4rem;
  display: flex;
  align-items: center;
  gap: 1.1rem;
}

.skill-icon {
  font-size: 1.8rem;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.text-dotnet { color: #818cf8; }
.text-react { color: #61dafb; }
.text-js { color: #facc15; }
.text-node { color: #4ade80; }
.text-php { color: #c084fc; }
.text-mysql { color: #38bdf8; }
.text-sql { color: #f87171; }
.text-sqlite { color: #38bdf8; }
.text-wp { color: #0284c7; }
.text-canvas { color: #fb923c; }
.text-tailwind { color: #2dd4bf; }
.text-ai { color: #c084fc; }
.text-whatsapp { color: #25d366; }
.text-telegram { color: #229ed9; }
.text-n8n { color: #fb923c; }
.text-db { color: #fbbf24; }

.skill-info h4 {
  font-size: 0.98rem;
  font-weight: 700;
  margin-bottom: 0.2rem;
}

.skill-level {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Projects Grid */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.8rem;
}

.project-card {
  display: flex;
  flex-direction: column;
  padding: 2rem;
  position: relative;
}

.project-content {
  display: flex;
  flex-direction: column;
  height: 100%;
  width: 100%;
}

.project-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1.1rem;
  flex-wrap: wrap;
}

.project-category {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent-cyan);
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  letter-spacing: 0.3px;
}

.project-badges-wrap {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  flex-shrink: 0;
}

.project-badge {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  padding: 0.28rem 0.68rem;
  border-radius: 9999px;
  background: rgba(16, 185, 129, 0.16);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.35);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  white-space: nowrap;
}

.project-badge.accent {
  background: rgba(99, 102, 241, 0.16);
  color: #a5b4fc;
  border-color: rgba(99, 102, 241, 0.35);
}

.project-badge.ai-badge {
  background: rgba(168, 85, 247, 0.22);
  color: #d8b4fe;
  border: 1px solid rgba(168, 85, 247, 0.45);
}

.project-title {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 0.8rem;
}

.project-desc {
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.6rem;
}

.project-tags .tag {
  font-size: 0.76rem;
  font-weight: 600;
  font-family: var(--font-code);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 0.28rem 0.65rem;
  border-radius: 6px;
  color: #cbd5e1;
  display: inline-flex;
  align-items: center;
  transition: var(--transition);
}

.project-tags .tag:hover {
  background: rgba(6, 182, 212, 0.12);
  border-color: rgba(6, 182, 212, 0.4);
  color: #67e8f9;
}

.project-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
}

.icon-link {
  color: var(--text-muted);
  font-size: 0.95rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: var(--transition);
}

.icon-link:hover {
  color: #ffffff;
  background: rgba(6, 182, 212, 0.2);
  border-color: rgba(6, 182, 212, 0.4);
  transform: translateY(-2px);
}

/* Featured Project Spotlight */
.featured-project-card {
  grid-column: span 3;
  display: grid;
  grid-template-columns: 1.3fr 0.9fr;
  gap: 2.2rem;
  padding: 2.4rem;
  border: 1px solid rgba(168, 85, 247, 0.45);
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.12) 0%, rgba(6, 182, 212, 0.06) 50%, rgba(13, 17, 26, 0.95) 100%);
  position: relative;
  overflow: hidden;
}

.featured-project-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, #a855f7, #06b6d4, #25d366);
}

.project-badge.ai-badge {
  background: rgba(168, 85, 247, 0.22);
  color: #d8b4fe;
  border: 1px solid rgba(168, 85, 247, 0.45);
}

.fp-flow-box {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.9rem;
  background: rgba(8, 9, 14, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 1.6rem;
  backdrop-filter: blur(10px);
}

.fp-flow-title {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--accent-cyan);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.3rem;
}

.fp-flow-step {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  font-size: 0.86rem;
  color: var(--text-primary);
}

.fp-flow-step .step-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  flex-shrink: 0;
}

.step-whatsapp { background: rgba(37, 211, 102, 0.15); color: #25d366; border: 1px solid rgba(37, 211, 102, 0.35); }
.step-telegram { background: rgba(34, 158, 217, 0.15); color: #229ed9; border: 1px solid rgba(34, 158, 217, 0.35); }
.step-n8n { background: rgba(234, 88, 12, 0.18); color: #fb923c; border: 1px solid rgba(234, 88, 12, 0.4); }
.step-brain { background: rgba(168, 85, 247, 0.18); color: #c084fc; border: 1px solid rgba(168, 85, 247, 0.4); }
.step-server { background: rgba(6, 182, 212, 0.15); color: #06b6d4; border: 1px solid rgba(6, 182, 212, 0.35); }

.fp-flow-arrow {
  display: flex;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.75rem;
  margin: -0.4rem 0;
}

/* Services */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.service-card {
  padding: 2rem 1.6rem;
  display: flex;
  flex-direction: column;
}

.service-icon {
  font-size: 2rem;
  color: var(--accent-cyan);
  margin-bottom: 1.2rem;
}

.service-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.7rem;
}

.service-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Contact Section */
.contact-box {
  padding: 4rem 2.5rem;
  text-align: center;
  max-width: 860px;
  margin: 0 auto;
}

.contact-title {
  font-size: clamp(1.8rem, 3.2vw, 2.5rem);
  font-weight: 800;
  margin: 0.8rem 0 1.2rem 0;
}

.contact-desc {
  max-width: 650px;
  margin: 0 auto 2.5rem auto;
  color: var(--text-secondary);
  font-size: 1.05rem;
}

.contact-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.8rem;
}

.contact-badges-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.2rem;
  flex-wrap: wrap;
}

.email-copy-badge,
.contact-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--card-border);
  padding: 0.85rem 1.6rem;
  border-radius: 12px;
  font-family: var(--font-code);
  font-size: 0.95rem;
  color: var(--text-primary);
  cursor: pointer;
  text-decoration: none;
  transition: var(--transition);
}

.email-copy-badge:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--accent-indigo);
  transform: translateY(-2px);
}

.whatsapp-badge {
  border-color: rgba(37, 211, 102, 0.35);
  background: rgba(37, 211, 102, 0.1);
  color: #25d366;
}

.whatsapp-badge:hover {
  background: rgba(37, 211, 102, 0.22);
  border-color: #25d366;
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.3);
}

.social-pill.whatsapp {
  background: rgba(37, 211, 102, 0.15);
  color: #25d366;
  border-color: rgba(37, 211, 102, 0.35);
}

.social-pill.whatsapp:hover {
  background: #25d366;
  color: #ffffff;
}

.social-pill.email-pill {
  background: rgba(99, 102, 241, 0.15);
  color: #a5b4fc;
  border-color: rgba(99, 102, 241, 0.35);
}

.social-pill.email-pill:hover {
  background: #6366f1;
  color: #ffffff;
}

.copy-status {
  color: var(--accent-cyan);
}

.social-pills {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

.social-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.3rem;
  border-radius: 9999px;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  border: 1px solid var(--card-border);
  transition: var(--transition);
}

.social-pill.linkedin {
  background: rgba(10, 102, 194, 0.15);
  color: #60a5fa;
  border-color: rgba(10, 102, 194, 0.3);
}

.social-pill.linkedin:hover {
  background: #0a66c2;
  color: #ffffff;
}

.social-pill.github {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

.social-pill.github:hover {
  background: #24292e;
}

.social-pill.twitter {
  background: rgba(29, 161, 242, 0.15);
  color: #38bdf8;
  border-color: rgba(29, 161, 242, 0.3);
}

.social-pill.twitter:hover {
  background: #1da1f2;
  color: #ffffff;
}

/* ==========================================================================
   Comprehensive Professional Footer
   ========================================================================== */
.footer {
  background: rgba(8, 9, 14, 0.96);
  border-top: 1px solid var(--card-border);
  padding: 4.8rem 0 0 0;
  position: relative;
  z-index: 2;
  backdrop-filter: blur(20px);
}

.footer-main {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
  gap: 3rem;
  padding-bottom: 3.5rem;
}

.footer-brand-col {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.footer-logo {
  font-size: 1.45rem;
  font-weight: 800;
  text-decoration: none;
  color: var(--text-primary);
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  letter-spacing: -0.5px;
}

.footer-bio {
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.65;
}

.footer-bio strong {
  color: #ffffff;
}

.footer-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.45rem 1rem;
  border-radius: 9999px;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: #34d399;
  font-size: 0.8rem;
  font-weight: 600;
  width: fit-content;
}

.footer-heading {
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 1.4rem;
  letter-spacing: 0.5px;
  position: relative;
}

.footer-heading.sub-heading {
  margin-top: 1.8rem;
  margin-bottom: 0.9rem;
}

.footer-links-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links-list a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: var(--transition);
}

.footer-links-list a i {
  font-size: 0.7rem;
  color: var(--accent-cyan);
  transition: transform 0.2s ease;
}

.footer-links-list a:hover {
  color: #ffffff;
  transform: translateX(4px);
}

.footer-links-list a:hover i {
  transform: translateX(2px);
  color: var(--accent-purple);
}

.footer-contact-items {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.footer-contact-link {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.9rem;
  font-family: var(--font-code);
  transition: var(--transition);
}

.footer-contact-link:hover {
  color: #ffffff;
  transform: translateX(3px);
}

.text-green { color: #25d366; }
.text-cyan { color: var(--accent-cyan); }

/* Footer Platform Icon Circles */
.footer-platform-icons {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-wrap: wrap;
}

.fp-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--card-border);
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 1rem;
  transition: var(--transition);
}

.fp-icon:hover {
  transform: translateY(-3px) scale(1.08);
  color: #ffffff;
}

.upwork-ficon:hover { background: #14a800; border-color: #14a800; box-shadow: 0 4px 14px rgba(20, 168, 0, 0.4); }
.fiverr-ficon:hover { background: #1dbf73; border-color: #1dbf73; box-shadow: 0 4px 14px rgba(29, 191, 115, 0.4); }
.kwork-ficon:hover { background: #ff6700; border-color: #ff6700; box-shadow: 0 4px 14px rgba(255, 103, 0, 0.4); }
.linkedin-ficon:hover { background: #0a66c2; border-color: #0a66c2; box-shadow: 0 4px 14px rgba(10, 102, 194, 0.4); }
.github-ficon:hover { background: #24292e; border-color: #ffffff; }
.twitter-ficon:hover { background: #1da1f2; border-color: #1da1f2; box-shadow: 0 4px 14px rgba(29, 161, 242, 0.4); }

/* Sub-Footer Bottom Bar */
.footer-bottom {
  border-top: 1px solid var(--card-border);
  padding: 1.6rem 0;
  background: rgba(5, 6, 10, 0.85);
}

.footer-bottom-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.copyright-text {
  font-size: 0.88rem;
  color: var(--text-muted);
}

.copyright-text strong {
  color: var(--text-secondary);
}

.footer-bottom-actions {
  display: flex;
  align-items: center;
  gap: 1.4rem;
}

.deployed-tag {
  font-size: 0.82rem;
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.deployed-tag i {
  color: var(--accent-cyan);
}

.back-to-top-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.4rem 0.9rem;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--card-border);
  transition: var(--transition);
}

.back-to-top-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  border-color: var(--accent-indigo);
  transform: translateY(-2px);
}

/* ==========================================================================
   Platforms Section (Upwork, Fiverr, Kwork)
   ========================================================================== */
.platforms-section {
  position: relative;
  z-index: 1;
}

.platforms-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.8rem;
}

.platform-card {
  padding: 2.2rem;
  display: flex;
  flex-direction: column;
  position: relative;
  border-radius: 18px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
  transition: var(--transition);
}

.platform-card.upwork-border:hover {
  border-color: rgba(20, 168, 0, 0.5);
  box-shadow: 0 20px 40px -15px rgba(20, 168, 0, 0.3);
  transform: translateY(-4px);
}

.platform-card.fiverr-border:hover {
  border-color: rgba(29, 191, 115, 0.5);
  box-shadow: 0 20px 40px -15px rgba(29, 191, 115, 0.3);
  transform: translateY(-4px);
}

.platform-card.kwork-border:hover {
  border-color: rgba(255, 103, 0, 0.5);
  box-shadow: 0 20px 40px -15px rgba(255, 103, 0, 0.3);
  transform: translateY(-4px);
}

.platform-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.3rem;
}

.platform-logo-box {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.upwork-bg {
  background: rgba(20, 168, 0, 0.12);
  border: 1px solid rgba(20, 168, 0, 0.35);
}

.fiverr-bg {
  background: rgba(29, 191, 115, 0.12);
  border: 1px solid rgba(29, 191, 115, 0.35);
}

.kwork-bg {
  background: rgba(255, 103, 0, 0.12);
  border: 1px solid rgba(255, 103, 0, 0.35);
}

.kwork-logo-text {
  font-size: 1.9rem;
  font-weight: 900;
  color: #ff6700;
  font-family: var(--font-main);
  line-height: 1;
}

.platform-status-badge {
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.35rem 0.8rem;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.upwork-status {
  background: rgba(20, 168, 0, 0.15);
  color: #5cd838;
  border: 1px solid rgba(20, 168, 0, 0.35);
}

.fiverr-status {
  background: rgba(29, 191, 115, 0.15);
  color: #1dbf73;
  border: 1px solid rgba(29, 191, 115, 0.35);
}

.kwork-status {
  background: rgba(255, 103, 0, 0.15);
  color: #ff8533;
  border: 1px solid rgba(255, 103, 0, 0.35);
}

.platform-name {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 0.35rem;
  color: #ffffff;
}

.platform-rating {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1.1rem;
}

.platform-rating .stars {
  color: #facc15;
  font-size: 0.85rem;
  display: flex;
  gap: 2px;
}

.rating-text {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 600;
}

.platform-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.platform-desc strong {
  color: #ffffff;
}

.platform-services-list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-bottom: 1.8rem;
}

.ps-item {
  font-size: 0.88rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.ps-item i {
  color: var(--accent-cyan);
  font-size: 0.8rem;
}

.platform-footer {
  margin-top: auto;
}

.btn-upwork {
  background: #14a800;
  color: #ffffff;
  border: none;
  font-weight: 600;
  width: 100%;
  justify-content: center;
}
.btn-upwork:hover {
  background: #108a00;
  box-shadow: 0 4px 18px rgba(20, 168, 0, 0.45);
  transform: translateY(-2px);
}

.btn-fiverr {
  background: #1dbf73;
  color: #ffffff;
  border: none;
  font-weight: 600;
  width: 100%;
  justify-content: center;
}
.btn-fiverr:hover {
  background: #19a463;
  box-shadow: 0 4px 18px rgba(29, 191, 115, 0.45);
  transform: translateY(-2px);
}

.btn-kwork {
  background: #ff6700;
  color: #ffffff;
  border: none;
  font-weight: 600;
  width: 100%;
  justify-content: center;
}
.btn-kwork:hover {
  background: #e65c00;
  box-shadow: 0 4px 18px rgba(255, 103, 0, 0.45);
  transform: translateY(-2px);
}

/* Contact platform pills */
.pill-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
}
.upwork-dot { background-color: #14a800; box-shadow: 0 0 6px #14a800; }
.fiverr-dot { background-color: #1dbf73; box-shadow: 0 0 6px #1dbf73; }
.kwork-dot { background-color: #ff6700; box-shadow: 0 0 6px #ff6700; }

.social-pill.upwork-pill {
  background: rgba(20, 168, 0, 0.12);
  color: #5cd838;
  border-color: rgba(20, 168, 0, 0.35);
}
.social-pill.upwork-pill:hover {
  background: #14a800;
  color: #ffffff;
}

.social-pill.fiverr-pill {
  background: rgba(29, 191, 115, 0.12);
  color: #1dbf73;
  border-color: rgba(29, 191, 115, 0.35);
}
.social-pill.fiverr-pill:hover {
  background: #1dbf73;
  color: #ffffff;
}

.social-pill.kwork-pill {
  background: rgba(255, 103, 0, 0.12);
  color: #ff8533;
  border-color: rgba(255, 103, 0, 0.35);
}
.social-pill.kwork-pill:hover {
  background: #ff6700;
  color: #ffffff;
}

/* ==========================================================================
   Comprehensive Mobile Responsiveness & Spacing Fixes
   ========================================================================== */

/* Prevent any horizontal spill */
html, body {
  overflow-x: hidden;
  max-width: 100vw;
}

@media (max-width: 1024px) {
  .hero-container {
    display: flex;
    flex-direction: column;
    text-align: center;
    gap: 2.8rem;
  }
  .hero-visual {
    order: -1;
    margin: 0 auto;
  }
  .hero-content {
    order: 1;
    align-items: center;
    width: 100%;
  }
  .typing-container,
  .hero-buttons {
    justify-content: center;
  }
  .hero-description {
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
  }
  .stack-cards-grid,
  .projects-grid,
  .platforms-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .wide-card,
  .featured-project-card {
    grid-column: span 2;
    grid-template-columns: 1fr;
  }
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  /* Spacing Reductions */
  .section {
    padding: 3.8rem 0;
  }
  .section-header {
    margin-bottom: 2.2rem;
  }
  .hero-section {
    padding: 6.2rem 0 3rem 0;
  }

  /* Navbar Mobile */
  .navbar {
    padding: 0.85rem 0;
  }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: rgba(13, 17, 26, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 1.5rem;
    gap: 1.2rem;
    border-bottom: 1px solid var(--card-border);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.7);
  }
  .nav-links.active {
    display: flex;
    animation: fadeInDown 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  }
  @keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
  }
  .mobile-toggle {
    display: block;
  }
  .nav-cta .btn {
    display: none;
  }

  /* Hero Avatar Scaling & Floating Badges on Mobile */
  .hero-container {
    gap: 2rem;
  }
  .hero-visual {
    order: -1;
    width: 100%;
    margin: 0 auto 0.5rem auto;
    overflow: visible;
  }
  .avatar-stage {
    width: 270px;
    height: 270px;
  }
  .avatar-glow-backdrop {
    width: 250px;
    height: 250px;
  }
  .avatar-rotating-ring {
    width: 250px;
    height: 250px;
  }
  .avatar-inner-frame {
    width: 238px;
    height: 238px;
  }

  /* Adjust badge positions on mobile so they NEVER overflow */
  .floating-badge {
    padding: 0.45rem 0.75rem;
    gap: 0.55rem;
    border-radius: 10px;
    font-size: 0.8rem;
  }
  .floating-badge .fb-icon {
    width: 28px;
    height: 28px;
    font-size: 0.95rem;
    border-radius: 7px;
  }
  .floating-badge .fb-text strong {
    font-size: 0.76rem;
  }
  .floating-badge .fb-text span {
    display: none; /* Hide subtitle on mobile for ultra clean compact badges */
  }

  .badge-top-left {
    top: -5px;
    left: -12px;
  }
  .badge-top-right {
    top: 5px;
    right: -12px;
  }
  .badge-bottom-left {
    bottom: 10px;
    left: -12px;
  }
  .badge-bottom-right {
    bottom: -10px;
    right: -10px;
  }

  /* Stats Bar on Mobile */
  .stats-bar {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.8rem;
    margin-top: 1.5rem;
  }
  .stat-card {
    padding: 1rem 0.6rem;
  }
  .stat-num {
    font-size: 1.7rem;
  }
  .stat-suffix {
    font-size: 1.3rem;
  }
  .stat-label {
    font-size: 0.76rem;
  }

  /* Grids to Single Column */
  .stack-cards-grid,
  .projects-grid,
  .platforms-grid,
  .services-grid {
    grid-template-columns: 1fr;
    gap: 1.3rem;
  }

  .stack-card,
  .project-card,
  .platform-card,
  .service-card {
    padding: 1.4rem;
  }

  .wide-card,
  .featured-project-card {
    grid-column: span 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.2rem;
    padding: 1.4rem;
  }

  /* Skills Filter on Mobile */
  .skills-filter {
    gap: 0.5rem;
    margin-bottom: 1.8rem;
  }
  .filter-btn {
    padding: 0.45rem 0.9rem;
    font-size: 0.8rem;
  }

  /* Contact Box on Mobile */
  .contact-box {
    padding: 2.4rem 1.2rem;
  }
  .contact-badges-row {
    flex-direction: column;
    width: 100%;
  }
  .email-copy-badge,
  .contact-badge {
    width: 100%;
    justify-content: center;
    padding: 0.8rem 1rem;
    font-size: 0.86rem;
  }

  /* Footer Mobile */
  .footer {
    padding: 3.2rem 0 0 0;
  }
  .footer-main {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    padding-bottom: 2.5rem;
  }
  .footer-bottom-content {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
    justify-content: center;
  }
  .footer-bottom-actions {
    flex-direction: column;
    gap: 0.8rem;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 1rem;
  }
  .hero-section {
    padding: 5.5rem 0 2.5rem 0;
  }
  .hero-container {
    gap: 1.5rem;
  }
  .hero-visual {
    margin: 0 auto;
  }
  .hero-title {
    font-size: 2rem;
    letter-spacing: -0.8px;
  }
  .hero-description {
    font-size: 0.92rem;
    line-height: 1.6;
  }
  .hero-buttons {
    flex-direction: column;
    width: 100%;
    gap: 0.75rem;
  }
  .hero-buttons .btn {
    width: 100%;
    justify-content: center;
  }
  .avatar-stage {
    width: 240px;
    height: 240px;
  }
  .avatar-glow-backdrop,
  .avatar-rotating-ring {
    width: 220px;
    height: 220px;
  }
  .avatar-inner-frame {
    width: 210px;
    height: 210px;
  }
  .badge-top-left {
    top: -8px;
    left: -8px;
  }
  .badge-top-right {
    top: 4px;
    right: -8px;
  }
  .badge-bottom-left {
    bottom: 8px;
    left: -8px;
  }
  .badge-bottom-right {
    bottom: -8px;
    right: -8px;
  }
  .floating-badge {
    padding: 0.38rem 0.65rem;
    gap: 0.45rem;
  }
  .floating-badge .fb-icon {
    width: 26px;
    height: 26px;
    font-size: 0.85rem;
  }
  .floating-badge .fb-text strong {
    font-size: 0.72rem;
  }
}