/* ═══════════════════════════════════════════
   MUHAMMAD ALI PORTFOLIO — MASTER STYLESHEET
   ═══════════════════════════════════════════ */

/* ─── CSS VARIABLES ─── */
:root {
  --bg-primary: #0a0a0f;
  --bg-secondary: #111118;
  --bg-card: #14141e;
  --bg-card-hover: #1a1a26;
  --accent: #f97316;
  --accent-dark: #ea580c;
  --accent-light: #fb923c;
  --accent-glow: rgba(249,115,22,0.25);
  --blue: #3b82f6;
  --blue-glow: rgba(59,130,246,0.2);
  --text-primary: #f1f5f9;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --border: rgba(255,255,255,0.07);
  --border-hover: rgba(249,115,22,0.4);
  --glass: rgba(255,255,255,0.03);
  --shadow: 0 20px 60px rgba(0,0,0,0.5);
  --shadow-orange: 0 0 40px rgba(249,115,22,0.15);
  --radius: 16px;
  --radius-sm: 8px;
  --radius-lg: 24px;
  --font: 'Inter', sans-serif;
  --font-display: 'Space Grotesk', sans-serif;
  --navbar-h: 80px;
  --transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
  --transition-slow: all 0.6s cubic-bezier(0.4,0,0.2,1);
}

[data-theme="light"] {
  --bg-primary: #f8fafc;
  --bg-secondary: #f1f5f9;
  --bg-card: #ffffff;
  --bg-card-hover: #f8fafc;
  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #94a3b8;
  --border: rgba(0,0,0,0.08);
  --glass: rgba(0,0,0,0.02);
  --shadow: 0 20px 60px rgba(0,0,0,0.1);
}

/* ─── RESET & BASE ─── */
*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--navbar-h);
  font-size: 16px;
}

body {
  font-family: var(--font);
  background: var(--bg-primary);
  color: var(--text-primary);
  overflow-x: hidden;
  line-height: 1.6;
  cursor: none;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }
button { border: none; background: none; cursor: none; font-family: var(--font); }
input, textarea { font-family: var(--font); }

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

/* ─── CUSTOM CURSOR ─── */
.cursor-dot {
  width: 8px; height: 8px;
  background: var(--accent);
  border-radius: 50%;
  position: fixed;
  top: 0; left: 0;
  pointer-events: none;
  z-index: 9999;
  transition: transform 0.1s ease;
  transform: translate(-50%, -50%);
}

.cursor-ring {
  width: 36px; height: 36px;
  border: 2px solid var(--accent);
  border-radius: 50%;
  position: fixed;
  top: 0; left: 0;
  pointer-events: none;
  z-index: 9998;
  transition: transform 0.15s ease, width 0.2s ease, height 0.2s ease, opacity 0.2s ease;
  transform: translate(-50%, -50%);
  opacity: 0.6;
}

.cursor-ring.hovered {
  width: 60px; height: 60px;
  opacity: 0.3;
  border-color: var(--accent-light);
}

/* ─── PRELOADER ─── */
.preloader {
  position: fixed;
  inset: 0;
  background: var(--bg-primary);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 24px;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.preloader.hidden {
  opacity: 0;
  visibility: hidden;
}

.preloader-logo {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 700;
  color: var(--text-primary);
  animation: pulse-glow 1.5s ease infinite;
}

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

.preloader-bar {
  width: 200px;
  height: 3px;
  background: var(--border);
  border-radius: 10px;
  overflow: hidden;
}

.preloader-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent), var(--accent-light));
  border-radius: 10px;
  width: 0%;
  animation: fill-bar 2s ease forwards;
}

.preloader-text {
  color: var(--text-muted);
  font-size: 0.875rem;
  letter-spacing: 2px;
  text-transform: uppercase;
}

@keyframes fill-bar {
  0% { width: 0%; }
  60% { width: 70%; }
  100% { width: 100%; }
}

@keyframes pulse-glow {
  0%,100% { text-shadow: 0 0 20px var(--accent-glow); }
  50% { text-shadow: 0 0 40px var(--accent-glow), 0 0 80px var(--accent-glow); }
}

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

.section-padding { padding: 100px 0; }

.section-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
  padding: 6px 16px;
  border: 1px solid rgba(249,115,22,0.3);
  border-radius: 100px;
  background: rgba(249,115,22,0.08);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 16px;
  color: var(--text-primary);
}

.section-subtitle {
  color: var(--text-secondary);
  max-width: 600px;
  margin-bottom: 48px;
  font-size: 1.05rem;
  line-height: 1.7;
}

.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 48px;
  flex-wrap: wrap;
  gap: 16px;
}

.view-all-link {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--accent);
  font-weight: 500;
  font-size: 0.9rem;
  transition: var(--transition);
  white-space: nowrap;
}
.view-all-link:hover { gap: 12px; }

/* ─── BUTTONS ─── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: white;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  border: none;
}

.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--accent-light), var(--accent));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.btn-primary:hover::before { opacity: 1; }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 25px var(--accent-glow); }
.btn-primary span { position: relative; z-index: 1; }
.btn-primary i { position: relative; z-index: 1; transition: transform 0.3s ease; }
.btn-primary:hover i { transform: translateX(4px); }

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: transparent;
  color: var(--text-primary);
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  transition: var(--transition);
}

.btn-secondary:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(249,115,22,0.1);
}
.btn-secondary:hover i { transform: translateX(4px); }
.btn-secondary i { transition: transform 0.3s ease; }

/* ─── REVEAL ANIMATIONS ─── */
.reveal-up, .reveal-left, .reveal-right {
  opacity: 0;
  transition: opacity 0.8s cubic-bezier(0.4,0,0.2,1),
              transform 0.8s cubic-bezier(0.4,0,0.2,1);
}

.reveal-up { transform: translateY(50px); }
.reveal-left { transform: translateX(-50px); }
.reveal-right { transform: translateX(50px); }

.reveal-up.revealed, .reveal-left.revealed, .reveal-right.revealed {
  opacity: 1;
  transform: translate(0);
}

/* ─── NAVBAR ─── */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--navbar-h);
  z-index: 1000;
  transition: var(--transition-slow);
}

.navbar.scrolled {
  background: rgba(10,10,15,0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 4px 30px rgba(0,0,0,0.3);
}

[data-theme="light"] .navbar.scrolled {
  background: rgba(248,250,252,0.85);
}

.nav-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.nav-logo-img {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(249,115,22,0.4);
  transition: var(--transition);
}

.nav-logo:hover .nav-logo-img {
  border-color: var(--accent);
  box-shadow: 0 0 15px var(--accent-glow);
}

.logo-text {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
}

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

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-link {
  padding: 8px 14px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
  transition: var(--transition);
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
  transition: width 0.3s ease;
}

.nav-link:hover, .nav-link.active {
  color: var(--text-primary);
}

.nav-link:hover::after, .nav-link.active::after { width: 20px; }

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

.btn-resume {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-primary);
  transition: var(--transition);
}

.btn-resume:hover {
  border-color: var(--accent);
  color: var(--accent);
  box-shadow: 0 0 20px var(--accent-glow);
}

.theme-toggle {
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: var(--transition);
  font-size: 0.9rem;
}

.theme-toggle:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: rotate(20deg);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: var(--transition);
}

.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Nav Overlay */
.mobile-nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10,10,15,0.97);
  backdrop-filter: blur(20px);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.4,0,0.2,1);
}

.mobile-nav-overlay.open { transform: translateX(0); }

.mobile-nav-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.mobile-nav-link {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-secondary);
  transition: var(--transition);
  position: relative;
}

.mobile-nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 3px;
  background: var(--accent);
  transition: width 0.3s ease;
}

.mobile-nav-link:hover { color: var(--accent); }
.mobile-nav-link:hover::after { width: 100%; }

/* ─── HERO ─── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--navbar-h);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(249,115,22,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 200px;
  background: linear-gradient(to bottom, transparent, var(--bg-primary));
  pointer-events: none;
  z-index: 2;
}

.hero-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  max-width: 1240px;
  margin: 0 auto;
  padding: 60px 24px 100px;
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(249,115,22,0.1);
  border: 1px solid rgba(249,115,22,0.25);
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--accent);
  margin-bottom: 20px;
  animation: slide-in-badge 0.8s ease 0.5s both;
}

@keyframes slide-in-badge {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}

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

@keyframes blink-dot {
  0%,100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.3; transform: scale(0.7); }
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 20px;
}

.hero-name { display: block; }

.highlight {
  color: var(--accent);
  position: relative;
}

.highlight::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), transparent);
  border-radius: 2px;
  animation: underline-grow 1s ease 1s both;
}

@keyframes underline-grow {
  from { width: 0; }
  to { width: 100%; }
}

.hero-subtitle {
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 32px;
  max-width: 480px;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  gap: 0;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
}

.stat-item p {
  font-size: 0.75rem;
  color: var(--text-muted);
  white-space: nowrap;
}

.stat-number {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1;
}

.stat-plus {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--accent);
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border);
  margin: 0 20px;
}

/* ─── HERO IMAGE ─── */
.hero-right {
  display: flex;
  justify-content: center;
  position: relative;
}

.hero-image-wrapper {
  position: relative;
  width: 460px;
  height: 460px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-glow {
  position: absolute;
  inset: -20px;
  background: radial-gradient(ellipse, rgba(249,115,22,0.15) 0%, transparent 70%);
  border-radius: 50%;
  animation: glow-pulse 3s ease infinite;
}

@keyframes glow-pulse {
  0%,100% { opacity: 0.5; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.05); }
}

.hero-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid;
  animation: ring-rotate linear infinite;
}

.ring-1 {
  width: 420px; height: 420px;
  border-color: rgba(249,115,22,0.15);
  animation-duration: 20s;
}

.ring-2 {
  width: 360px; height: 360px;
  border-color: rgba(249,115,22,0.08);
  animation-duration: 15s;
  animation-direction: reverse;
}

.ring-3 {
  width: 480px; height: 480px;
  border-color: rgba(59,130,246,0.08);
  border-style: dashed;
  animation-duration: 30s;
}

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

.hero-img {
  width: 380px;
  height: 380px;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid rgba(249,115,22,0.3);
  box-shadow: 0 0 60px rgba(249,115,22,0.15), 0 20px 60px rgba(0,0,0,0.5);
  position: relative;
  z-index: 2;
  animation: float-hero 6s ease-in-out infinite;
  background: var(--bg-secondary);
}

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

/* Float Tags */
.float-tag {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 16px;
  background: rgba(20,20,30,0.9);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-primary);
  backdrop-filter: blur(10px);
  z-index: 3;
  white-space: nowrap;
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
  animation: float-bounce linear infinite;
}

[data-theme="light"] .float-tag {
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 8px 32px rgba(0,0,0,0.08);
}

.float-html { top: 30px; left: -20px; animation-duration: 4s; animation-delay: 0s; border-color: rgba(228,77,38,0.4); }
.float-css  { bottom: 60px; left: -30px; animation-duration: 5s; animation-delay: 1s; border-color: rgba(38,77,228,0.4); }
.float-wordpress { top: 80px; right: -20px; animation-duration: 4.5s; animation-delay: 0.5s; border-color: rgba(33,117,155,0.4); }
.float-elementor { bottom: 80px; right: -10px; animation-duration: 5.5s; animation-delay: 1.5s; border-color: rgba(146,6,76,0.4); }

.float-icon { font-size: 1rem; }

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

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  z-index: 3;
  animation: fade-in-scroll 1s ease 2s both;
}

@keyframes fade-in-scroll {
  from { opacity: 0; transform: translateX(-50%) translateY(20px); }
  to { opacity: 1; transform: translateX(-50%) translateY(0); }
}

.scroll-line {
  width: 1px;
  height: 50px;
  background: linear-gradient(to bottom, var(--accent), transparent);
  animation: scroll-line-anim 2s ease infinite;
}

@keyframes scroll-line-anim {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

.scroll-indicator span {
  font-size: 0.7rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--text-muted);
  writing-mode: vertical-rl;
}


/* ─── TECH STACK TICKER ─── */
.tech-stack {
  padding: 50px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-secondary);
  overflow: hidden;
  position: relative;
  z-index: 1;
}

.tech-stack::before,
.tech-stack::after {
  content: '';
  position: absolute;
  top: 0;
  width: 200px;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.tech-stack::before { left: 0; background: linear-gradient(to right, var(--bg-secondary), transparent); }
.tech-stack::after { right: 0; background: linear-gradient(to left, var(--bg-secondary), transparent); }

.ticker-label {
  text-align: center;
  font-size: 0.7rem;
  letter-spacing: 4px;
  color: var(--text-muted);
  margin-bottom: 24px;
  font-weight: 600;
}

.ticker-wrapper { overflow: hidden; }

.ticker-track {
  display: flex;
  gap: 48px;
  width: max-content;
  animation: ticker-scroll 30s linear infinite;
}

.ticker-track:hover { animation-play-state: paused; }

@keyframes ticker-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.ticker-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-secondary);
  transition: var(--transition);
  white-space: nowrap;
}

.ticker-item:hover { color: var(--text-primary); transform: scale(1.1); }

.ticker-item i, .ticker-item img {
  font-size: 1.5rem;
  width: 24px;
  height: 24px;
  object-fit: contain;
}

/* ─── FEATURED PROJECT ─── */
.featured-project { background: var(--bg-secondary); }

.featured-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.featured-info { display: flex; flex-direction: column; gap: 24px; }

.featured-block {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: var(--transition);
}

.featured-block:hover { border-color: var(--accent); transform: translateX(5px); }

.featured-block-icon {
  width: 40px; height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

.challenge .featured-block-icon { background: rgba(239,68,68,0.1); color: #ef4444; }
.solution .featured-block-icon { background: rgba(34,197,94,0.1); color: #22c55e; }

.featured-block h4 { font-weight: 600; margin-bottom: 6px; font-size: 0.95rem; }
.featured-block p { color: var(--text-secondary); font-size: 0.875rem; line-height: 1.5; }

.featured-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.metric {
  text-align: center;
  padding: 20px 12px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: var(--transition);
}

.metric:hover { border-color: var(--accent); }

.metric-value {
  display: block;
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 4px;
}

.metric-label { font-size: 0.75rem; color: var(--text-muted); }

.featured-btns { display: flex; gap: 12px; flex-wrap: wrap; }

/* Mockup Browser */
.featured-mockup {
  perspective: 1000px;
}

.mockup-browser {
  background: var(--bg-card);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition-slow);
  animation: float-mockup 6s ease-in-out infinite;
}

.mockup-browser:hover { transform: rotateY(-5deg) rotateX(3deg) scale(1.02); }

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

.browser-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: rgba(255,255,255,0.03);
  border-bottom: 1px solid var(--border);
}

.browser-dot { width: 10px; height: 10px; border-radius: 50%; }
.browser-dot.red { background: #ff5f57; }
.browser-dot.yellow { background: #ffbc2e; }
.browser-dot.green { background: #28c840; }

.browser-url {
  flex: 1;
  background: rgba(255,255,255,0.05);
  border-radius: 4px;
  padding: 4px 12px;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.browser-content { padding: 24px; min-height: 280px; }

.mock-hero-section {
  display: flex;
  gap: 20px;
  align-items: center;
}

.mock-nav {
  width: 100%;
  height: 12px;
  background: var(--border);
  border-radius: 4px;
  margin-bottom: 20px;
}

.mock-hero-text { flex: 1; }

.mock-line {
  height: 8px;
  background: rgba(255,255,255,0.08);
  border-radius: 4px;
  margin-bottom: 10px;
}

.mock-line.wide { width: 90%; }
.mock-line.medium { width: 70%; }
.mock-line.orange { background: rgba(249,115,22,0.4); }
.mock-line.narrow { width: 50%; }
.mock-btn {
  width: 80px; height: 24px;
  background: var(--accent);
  border-radius: 4px;
  margin-top: 14px;
}

.mock-hero-img { flex: 1; }

.tile-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}

.tile {
  height: 60px;
  border-radius: 6px;
  transition: var(--transition);
}

.t1 { background: linear-gradient(135deg, #8B7355, #6B5535); }
.t2 { background: linear-gradient(135deg, #C4A882, #A08060); }
.t3 { background: linear-gradient(135deg, #5C5C5C, #3C3C3C); }
.t4 { background: linear-gradient(135deg, #D4B896, #B49876); }

.tile:hover { transform: scale(1.05); }

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

.project-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
  cursor: none;
}

.project-card:hover {
  border-color: var(--accent);
  transform: translateY(-8px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.3), 0 0 30px var(--accent-glow);
}

.project-img-wrap { position: relative; overflow: hidden; }

.project-card-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  transition: var(--transition-slow);
  display: block;
}

.project-card:hover .project-card-img {
  transform: scale(1.05);
}

.project-img-interactive {
  height: 180px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-slow);
  background: var(--bg-secondary);
}

.project-card:hover .project-img-interactive {
  transform: scale(1.05);
}

.anim-code-overlay {
  position: absolute;
  bottom: 12px;
  right: 12px;
  font-size: 0.7rem;
  background: rgba(10,10,15,0.75);
  backdrop-filter: blur(4px);
  padding: 4px 10px;
  border-radius: 4px;
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-weight: 500;
  pointer-events: none;
  letter-spacing: 0.5px;
  z-index: 2;
}

/* Animations Demo visual */
.anim-demo {
  background: linear-gradient(135deg, #1e1b4b, #311042);
}
.anim-circle {
  position: absolute;
  border-radius: 50%;
  border: 1.5px solid rgba(249,115,22,0.3);
  transition: var(--transition-slow);
}
.anim-circle.c1 { width: 140px; height: 140px; border-color: rgba(249,115,22,0.25); animation: orbit-slow 20s linear infinite; }
.anim-circle.c2 { width: 90px; height: 90px; border-color: rgba(59,130,246,0.25); animation: orbit-slow 15s linear infinite reverse; }
.anim-circle.c3 { width: 40px; height: 40px; border-color: rgba(249,115,22,0.4); background: rgba(249,115,22,0.05); }

.project-card:hover .anim-circle.c1 { border-color: var(--accent); transform: scale(1.1); box-shadow: 0 0 20px var(--accent-glow); }
.project-card:hover .anim-circle.c2 { border-color: var(--blue); transform: scale(1.1); box-shadow: 0 0 20px var(--blue-glow); }

@keyframes orbit-slow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* Ball Physics Demo visual */
.ball-demo {
  background: linear-gradient(135deg, #1c1917, #2c1a0c);
}
.bouncing-ball {
  position: absolute;
  border-radius: 50%;
  animation: bounce-ball cubic-bezier(0.25, 0.46, 0.45, 0.94) infinite;
}
.bouncing-ball.b1 { width: 22px; height: 22px; background: var(--accent); left: 30%; animation-duration: 2.2s; box-shadow: 0 0 15px var(--accent-glow); }
.bouncing-ball.b2 { width: 16px; height: 16px; background: var(--blue); left: 55%; animation-duration: 1.6s; animation-delay: 0.4s; box-shadow: 0 0 15px var(--blue-glow); }
.bouncing-ball.b3 { width: 14px; height: 14px; background: #a78bfa; left: 75%; animation-duration: 1.9s; animation-delay: 0.2s; box-shadow: 0 0 15px rgba(167,139,250,0.3); }

.ball-floor {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 8px;
  background: var(--border);
  border-top: 1.5px solid var(--accent);
}

@keyframes bounce-ball {
  0%, 100% { transform: translateY(-70px); animation-timing-function: ease-in; }
  50% { transform: translateY(68px) scaleY(0.85); animation-timing-function: ease-out; }
}

/* QR Code Demo visual */
.qr-demo {
  background: linear-gradient(135deg, #0f172a, #061f22);
}
.qr-icon-glowing {
  font-size: 4rem;
  color: #2dd4bf;
  text-shadow: 0 0 25px rgba(45,212,191,0.4);
  animation: qr-pulse 2.5s ease-in-out infinite;
}
.qr-scan-line {
  position: absolute;
  left: 0; right: 0;
  height: 2px;
  background: #2dd4bf;
  box-shadow: 0 0 10px #2dd4bf, 0 0 20px #2dd4bf;
  opacity: 0.8;
  animation: scan-vertical 3s linear infinite;
}

@keyframes qr-pulse {
  0%, 100% { transform: scale(1); opacity: 0.9; }
  50% { transform: scale(1.06); opacity: 1; text-shadow: 0 0 40px rgba(45,212,191,0.6); }
}
@keyframes scan-vertical {
  0%, 100% { top: 20px; }
  50% { top: 150px; }
}

/* Shah Sweet Demo visual */
.sweet-demo {
  background: linear-gradient(135deg, #180c0c, #2b1111);
}
.sweet-icon-glowing {
  font-size: 4rem;
  color: #f87171;
  text-shadow: 0 0 25px rgba(248,113,113,0.4);
  animation: sweet-shake 4s ease infinite;
}
.sweet-deco {
  position: absolute;
  border-radius: 50%;
  background: rgba(248,113,113,0.06);
  border: 1px dashed rgba(248,113,113,0.2);
}
.sweet-deco.s1 { width: 150px; height: 150px; animation: spin-slow 25s linear infinite; }
.sweet-deco.s2 { width: 100px; height: 100px; animation: spin-slow 18s linear infinite reverse; }

@keyframes sweet-shake {
  0%, 100% { transform: rotate(0); }
  25% { transform: rotate(-5deg); }
  75% { transform: rotate(5deg); }
}
@keyframes spin-slow {
  from { transform: rotate(0); }
  to { transform: rotate(360deg); }
}

.project-img-placeholder {
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  transition: var(--transition);
}

.project-card:hover .project-img-placeholder { transform: scale(1.05); }

.vet   { background: linear-gradient(135deg, #1e3a5f, #0f1e33); color: #60a5fa; }
.quiz  { background: linear-gradient(135deg, #2d1b4e, #1a0f2e); color: #a78bfa; }
.calc  { background: linear-gradient(135deg, #1a3a2a, #0f2018); color: #4ade80; }
.anim  { background: linear-gradient(135deg, #3a1a2a, #200f18); color: #f472b6; }
.ball  { background: linear-gradient(135deg, #3a2a1a, #201808); color: var(--accent); }
.qr    { background: linear-gradient(135deg, #0f3a3a, #082020); color: #2dd4bf; }
.sweet { background: linear-gradient(135deg, #3a1a1a, #200f0f); color: #f87171; }

.project-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10,10,15,0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  opacity: 0;
  transition: opacity 0.3s ease;
  backdrop-filter: blur(4px);
}

.project-card:hover .project-overlay { opacity: 1; }

.project-link {
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 2px solid var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-size: 0.9rem;
  transition: var(--transition);
  transform: translateY(20px);
}

.project-card:hover .project-link { transform: translateY(0); }
.project-card:hover .project-link:nth-child(2) { transition-delay: 0.05s; }
.project-link:hover { background: var(--accent); color: white; }

.project-info { padding: 20px; }

.project-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}

.project-info h3 { font-size: 1rem; font-weight: 700; margin-bottom: 4px; }
.project-info p { color: var(--text-muted); font-size: 0.8rem; margin-bottom: 12px; }

.project-metrics {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.project-metrics span {
  font-size: 0.75rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 5px;
}

.project-metrics i { color: var(--accent); font-size: 0.65rem; }

/* ─── SERVICES ─── */
.services { background: var(--bg-secondary); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 24px;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
  cursor: none;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.service-card:hover::before { transform: scaleX(1); }

.service-card:hover {
  border-color: rgba(249,115,22,0.3);
  transform: translateY(-8px);
  box-shadow: var(--shadow-orange);
}

.service-icon-wrap {
  width: 60px; height: 60px;
  border-radius: var(--radius-sm);
  background: rgba(249,115,22,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--accent);
  margin-bottom: 20px;
  position: relative;
  transition: var(--transition);
}

.service-card:hover .service-icon-wrap { background: var(--accent); color: white; }

.service-glow {
  position: absolute;
  inset: -10px;
  background: radial-gradient(circle, var(--accent-glow), transparent);
  border-radius: 50%;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.service-card:hover .service-glow { opacity: 1; }

.service-card h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 10px; }
.service-card p { color: var(--text-secondary); font-size: 0.875rem; line-height: 1.5; }

.service-arrow {
  position: absolute;
  bottom: 20px;
  right: 20px;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  color: var(--text-muted);
  transition: var(--transition);
}

.service-card:hover .service-arrow {
  background: var(--accent);
  color: white;
  transform: rotate(45deg);
}

/* ─── SKILLS & EXPERIENCE ─── */
.skills-exp-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.skills-list { display: flex; flex-direction: column; gap: 20px; margin-bottom: 32px; }

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

.skill-name { font-weight: 500; font-size: 0.9rem; }

.skill-percent {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent);
}

.skill-bar {
  height: 6px;
  background: var(--border);
  border-radius: 100px;
  overflow: hidden;
}

.skill-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent-dark), var(--accent-light));
  border-radius: 100px;
  width: 0%;
  transition: width 1.2s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.skill-fill::after {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 12px; height: 12px;
  background: white;
  border-radius: 50%;
  border: 2px solid var(--accent);
  box-shadow: 0 0 8px var(--accent-glow);
}

.download-cv-btn { width: fit-content; }

/* ─── TIMELINE ─── */
.timeline { position: relative; padding-left: 24px; }

.timeline::before {
  content: '';
  position: absolute;
  left: 10px;
  top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--accent), transparent);
}

.timeline-item {
  position: relative;
  padding-bottom: 36px;
}

.timeline-item:last-child { padding-bottom: 0; }

.timeline-dot {
  position: absolute;
  left: -20px;
  top: 4px;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--bg-secondary);
  border: 2px solid var(--text-muted);
  transition: var(--transition);
  z-index: 1;
}

.timeline-item.revealed .timeline-dot { border-color: var(--accent); }
.timeline-dot.active { background: var(--accent); border-color: var(--accent); box-shadow: 0 0 15px var(--accent-glow); animation: dot-pulse 2s ease infinite; }

@keyframes dot-pulse {
  0%,100% { box-shadow: 0 0 0 0 var(--accent-glow); }
  50% { box-shadow: 0 0 0 8px transparent; }
}

.timeline-content {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  transition: var(--transition);
}

.timeline-content:hover, .timeline-content.active {
  border-color: var(--accent);
  box-shadow: 0 0 20px var(--accent-glow);
}

.timeline-year {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent);
  background: rgba(249,115,22,0.1);
  padding: 2px 10px;
  border-radius: 100px;
  margin-bottom: 8px;
  letter-spacing: 1px;
}

.timeline-content h4 { font-size: 0.95rem; font-weight: 700; margin-bottom: 6px; }
.timeline-content p { color: var(--text-secondary); font-size: 0.85rem; line-height: 1.5; }

/* ─── BLOG ─── */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.blog-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
  cursor: none;
}

.blog-card:hover {
  border-color: var(--accent);
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.3);
}

.blog-img-wrap { position: relative; overflow: hidden; }

.blog-card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.4s ease;
  display: block;
}

.blog-card:hover .blog-card-img { transform: scale(1.05); }

.blog-category {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--accent);
  color: white;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 100px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.blog-content { padding: 20px; }

.blog-meta {
  display: flex;
  gap: 12px;
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.blog-meta span { display: flex; align-items: center; gap: 5px; }
.blog-meta i { color: var(--accent); }

.blog-content h3 { font-size: 0.95rem; font-weight: 700; line-height: 1.4; margin-bottom: 12px; }

.blog-read-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 600;
  transition: var(--transition);
}

.blog-read-more:hover { gap: 10px; }
.blog-read-more i { font-size: 0.75rem; }

/* ─── TESTIMONIALS ─── */
.testimonials { background: var(--bg-secondary); }

.testimonial-controls { display: flex; gap: 10px; }

.testi-btn {
  width: 42px; height: 42px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  font-size: 0.85rem;
  transition: var(--transition);
}

.testi-btn:hover { border-color: var(--accent); color: var(--accent); }

.testimonials-slider {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  overflow: hidden;
}

.testi-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: var(--transition);
  cursor: none;
}

.testi-card:hover {
  border-color: var(--accent);
  transform: translateY(-5px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.3);
}

.testi-stars { color: #fbbf24; font-size: 0.9rem; margin-bottom: 16px; letter-spacing: 2px; }

.testi-text {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 20px;
  font-style: italic;
}

.testi-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testi-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.8rem;
  color: white;
  flex-shrink: 0;
}

.testi-author strong { display: block; font-size: 0.9rem; margin-bottom: 2px; }
.testi-author span { font-size: 0.78rem; color: var(--text-muted); display: flex; align-items: center; gap: 5px; }

.testi-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 28px;
}

.testi-dot {
  width: 8px; height: 8px;
  border-radius: 100px;
  background: var(--border);
  cursor: none;
  transition: var(--transition);
}

.testi-dot.active { background: var(--accent); width: 24px; }

/* ─── CTA SECTION ─── */
.cta-section {
  background: var(--bg-primary);
}

.cta-inner {
  background: linear-gradient(135deg, #f97316 0%, #ea580c 40%, #c2410c 100%);
  border-radius: var(--radius-lg);
  padding: 60px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  position: relative;
  overflow: hidden;
}

.cta-inner::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
  pointer-events: none;
}

.cta-inner::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -5%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(0,0,0,0.1) 0%, transparent 70%);
  pointer-events: none;
}

.cta-tag {
  font-size: 0.7rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  margin-bottom: 12px;
  font-weight: 600;
}

.cta-left h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 800;
  color: white;
  margin-bottom: 12px;
  line-height: 1.2;
}

.cta-left > p {
  color: rgba(255,255,255,0.75);
  margin-bottom: 28px;
  font-size: 1rem;
}

.cta-details { display: flex; flex-direction: column; gap: 16px; }

.cta-detail-item {
  display: flex;
  align-items: center;
  gap: 14px;
  color: white;
}

.cta-detail-item > i {
  width: 38px; height: 38px;
  background: rgba(255,255,255,0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  flex-shrink: 0;
}

.cta-detail-item span {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.6);
  display: block;
}

.cta-detail-item a,
.cta-detail-item p { font-size: 0.9rem; color: white; font-weight: 500; }

.available {
  color: #4ade80 !important;
  display: flex;
  align-items: center;
  gap: 6px;
}

.available::before {
  content: '';
  width: 8px; height: 8px;
  background: #4ade80;
  border-radius: 50%;
  animation: blink-dot 1.5s ease infinite;
}

/* Contact Form */
.contact-form {
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  z-index: 1;
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-size: 0.8rem; font-weight: 600; color: var(--text-secondary); }

.form-group input,
.form-group textarea {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  color: var(--text-primary);
  font-size: 0.9rem;
  transition: var(--transition);
  resize: none;
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(249,115,22,0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-muted); }

.full-width { width: 100%; justify-content: center; }

/* ─── FOOTER ─── */
.footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  padding: 60px 0 24px;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand { max-width: 280px; }
.footer-logo { margin-bottom: 16px; }
.footer-brand p { color: var(--text-secondary); font-size: 0.875rem; line-height: 1.6; margin-bottom: 20px; }

.footer-socials { display: flex; gap: 10px; }

.social-link {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  font-size: 0.85rem;
  transition: var(--transition);
}

.social-link:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px var(--accent-glow);
}

.footer-links-col h4 {
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--text-primary);
}

.footer-links-col ul { display: flex; flex-direction: column; gap: 10px; }

.footer-links-col a {
  font-size: 0.875rem;
  color: var(--text-secondary);
  transition: var(--transition);
}

.footer-links-col a:hover { color: var(--accent); padding-left: 4px; }

.newsletter { margin-top: 24px; }
.newsletter h4 { font-size: 0.85rem; font-weight: 700; margin-bottom: 12px; }

.newsletter-form {
  display: flex;
  gap: 0;
  overflow: hidden;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
}

.newsletter-form input {
  flex: 1;
  background: var(--bg-card);
  border: none;
  padding: 10px 14px;
  color: var(--text-primary);
  font-size: 0.85rem;
  outline: none;
}

.newsletter-form input::placeholder { color: var(--text-muted); }

.newsletter-form button {
  background: var(--accent);
  color: white;
  padding: 10px 14px;
  font-size: 0.85rem;
  transition: var(--transition);
}

.newsletter-form button:hover { background: var(--accent-dark); }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p { font-size: 0.85rem; color: var(--text-muted); }
.footer-credit { color: var(--accent) !important; font-weight: 500; }
.heart { animation: heartbeat 1s ease infinite; display: inline-block; }

@keyframes heartbeat {
  0%,100% { transform: scale(1); }
  50% { transform: scale(1.2); }
}

/* ─── BACK TO TOP ─── */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--accent);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  z-index: 100;
  opacity: 0;
  transform: translateY(20px);
  transition: var(--transition);
  box-shadow: 0 4px 20px var(--accent-glow);
}

.back-to-top.visible { opacity: 1; transform: translateY(0); }
.back-to-top:hover { background: var(--accent-dark); transform: translateY(-3px); }

/* ─── RESPONSIVE ─── */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .projects-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .hero-container { grid-template-columns: 1fr; text-align: center; gap: 40px; }
  .hero-left { order: 2; }
  .hero-right { order: 1; }
  .hero-stats { justify-content: center; }
  .hero-ctas { justify-content: center; }
  .hero-subtitle { margin-left: auto; margin-right: auto; }
  .hero-badge { margin: 0 auto 20px; }
  .hero-image-wrapper { width: 320px; height: 320px; }
  .hero-img { width: 280px; height: 280px; }
  .ring-1 { width: 300px; height: 300px; }
  .ring-2 { width: 260px; height: 260px; }
  .ring-3 { width: 340px; height: 340px; }
  .float-html { left: -10px; }
  .float-css { left: -20px; }
  .float-js { right: -10px; }
  .float-react { right: 0; }

  .nav-links { display: none; }
  .hamburger { display: flex; }
  .btn-resume { display: none; }

  .featured-grid { grid-template-columns: 1fr; }
  .skills-exp-grid { grid-template-columns: 1fr; gap: 60px; }
  .testimonials-slider { grid-template-columns: 1fr; }
  .cta-inner { grid-template-columns: 1fr; padding: 40px 30px; }
  .blog-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .projects-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .featured-metrics { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .hero-image-wrapper { width: 260px; height: 260px; }
  .hero-img { width: 220px; height: 220px; }
  .ring-1 { width: 240px; height: 240px; }
  .ring-2 { width: 200px; height: 200px; }
  .ring-3 { width: 280px; height: 280px; }
  .float-html, .float-css, .float-js, .float-react { display: none; }
  body { cursor: auto; }
  .cursor-dot, .cursor-ring { display: none; }
}
