/* ============================================================
   JAYDATT KHODAVE — GOD-TIER PORTFOLIO
   Dark Futuristic · Cinematic · Premium · Fully Responsive
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400;500;600;700&family=Syne:wght@400;500;600;700;800&family=JetBrains+Mono:wght@400;500;700&display=swap');

/* ── TOKENS ── */
:root {
  --bg:        #0a0a0f;
  --bg2:       #0d0d15;
  --bg3:       #111120;
  --surface:   rgba(255,255,255,0.04);
  --surface2:  rgba(255,255,255,0.07);
  --border:    rgba(255,255,255,0.08);
  --border2:   rgba(255,255,255,0.14);

  --primary:   #7c3aed;
  --primary2:  #9d5cf6;
  --primary3:  #5b21b6;
  --cyan:      #06b6d4;
  --cyan2:     #22d3ee;
  --gold:      #f59e0b;
  --red:       #ef4444;
  --green:     #22c55e;

  --text:      #f1f5f9;
  --text2:     #94a3b8;
  --text3:     #64748b;

  --font-head: 'Syne', sans-serif;
  --font-body: 'Space Grotesk', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  --r:   10px;
  --r2:  16px;
  --r3:  24px;
  --tr:  all 0.3s cubic-bezier(0.4,0,0.2,1);
  --tr-fast: all 0.15s ease;

  --glow-primary: 0 0 40px rgba(124,58,237,0.35);
  --glow-cyan:    0 0 40px rgba(6,182,212,0.3);
  --shadow:       0 8px 32px rgba(0,0,0,0.4);
  --shadow-lg:    0 24px 64px rgba(0,0,0,0.6);
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; overflow-x: hidden; }
section[id] { scroll-margin-top: 80px; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, textarea { font-family: inherit; }

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 clamp(16px, 3vw, 32px);
}

.skip-link {
  position: absolute; left: 16px; top: -50px; z-index: 99999;
  background: var(--primary); color: #fff; padding: 10px 16px;
  border-radius: var(--r); font-size: 0.85rem; font-weight: 600;
  transition: top 0.2s ease;
}
.skip-link:focus { top: 12px; }

/* ── PRELOADER ── */
.preloader {
  position: fixed; inset: 0; z-index: 99999;
  background: var(--bg);
  display: flex; align-items: center; justify-content: center;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}
.preloader.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.preloader-inner { text-align: center; }
.preloader-logo {
  font-family: var(--font-head); font-size: 3rem; font-weight: 800;
  background: linear-gradient(135deg, var(--primary), var(--cyan));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  margin-bottom: 24px; letter-spacing: 4px;
}
.preloader-bar {
  width: 200px; height: 2px; background: var(--border2);
  border-radius: 2px; margin: 0 auto 16px; overflow: hidden;
}
.preloader-fill {
  height: 100%; width: 0;
  background: linear-gradient(90deg, var(--primary), var(--cyan));
  border-radius: 2px; transition: width 0.05s linear;
}
.preloader-text {
  font-family: var(--font-mono); font-size: 0.7rem; color: var(--text3);
  letter-spacing: 3px; text-transform: uppercase;
}
.blink { animation: blink 1s step-end infinite; }
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:0} }

/* ── CUSTOM CURSOR ── */
.cursor {
  position: fixed; width: 10px; height: 10px;
  background: var(--primary2); border-radius: 50%;
  pointer-events: none; z-index: 99998;
  transform: translate(-50%,-50%);
  transition: transform 0.1s ease, width 0.2s ease, height 0.2s ease, background 0.2s ease;
  mix-blend-mode: screen;
}
.cursor-follower {
  position: fixed; width: 36px; height: 36px;
  border: 1px solid rgba(124,58,237,0.5); border-radius: 50%;
  pointer-events: none; z-index: 99997;
  transform: translate(-50%,-50%);
  transition: transform 0.15s ease, width 0.3s ease, height 0.3s ease, border-color 0.3s ease;
}
.cursor.hover { width: 20px; height: 20px; background: var(--cyan); }
.cursor-follower.hover { width: 56px; height: 56px; border-color: rgba(6,182,212,0.4); }
@media (hover: none) { .cursor, .cursor-follower { display: none; } }

/* ── THREE.JS CANVAS ── */
.bg-canvas {
  position: fixed; inset: 0; z-index: 0;
  pointer-events: none; opacity: 0.7;
}

/* ── FLOATING SOCIAL DOCK ── */
.social-dock {
  position: fixed; left: 28px; bottom: 0; z-index: 100;
  display: flex; flex-direction: column; align-items: center; gap: 14px;
  padding-bottom: 0;
}
.social-dock a {
  width: 38px; height: 38px; display: flex; align-items: center; justify-content: center;
  color: var(--text3); font-size: 0.95rem; border-radius: 8px;
  border: 1px solid var(--border); background: var(--surface);
  transition: var(--tr); backdrop-filter: blur(8px);
}
.social-dock a:hover { color: var(--primary2); border-color: var(--primary); background: rgba(124,58,237,0.15); transform: translateY(-3px); }
.dock-line {
  width: 1px; height: 80px;
  background: linear-gradient(to bottom, var(--border2), transparent);
  margin-top: 4px;
}
@media (max-width: 768px) { .social-dock { display: none; } }

/* ── NAVBAR ── */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 9999;
  background: rgba(10,10,15,0.8);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: var(--tr);
}
.navbar.scrolled { background: rgba(10,10,15,0.95); border-bottom-color: var(--border2); }
.nav-container {
  display: flex; align-items: center; justify-content: space-between;
  height: 80px; max-width: 1280px; margin: 0 auto; padding: 0 clamp(16px,3vw,32px);
}
.nav-brand { display: flex; align-items: center; gap: 12px; }
.brand-glyph {
  width: 42px; height: 42px; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--primary), var(--cyan));
  color: #fff; font-family: var(--font-head); font-weight: 800; font-size: 14px;
  border-radius: 10px; letter-spacing: 1px;
  box-shadow: var(--glow-primary);
}
.brand-name {
  font-family: var(--font-head); font-size: 1.4rem; font-weight: 700; color: var(--text);
}
.brand-dot { color: var(--primary2); }
.nav-menu { display: flex; align-items: center; gap: 4px; }
.nav-link {
  padding: 9px 16px; font-size: 0.9rem; font-weight: 500; color: var(--text2);
  border-radius: var(--r); transition: var(--tr); position: relative;
}
.nav-link::after {
  content: ''; position: absolute; bottom: 4px; left: 50%; transform: translateX(-50%);
  width: 0; height: 2px; background: var(--primary2); border-radius: 2px;
  transition: width 0.3s ease;
}
.nav-link:hover, .nav-link.active { color: var(--text); }
.nav-link:hover::after, .nav-link.active::after { width: 60%; }
.nav-cta {
  background: linear-gradient(135deg, var(--primary), var(--primary3));
  color: #fff !important; margin-left: 8px; padding: 9px 20px;
  box-shadow: var(--glow-primary);
}
.nav-cta::after { display: none; }
.nav-cta:hover { transform: translateY(-2px); box-shadow: 0 0 50px rgba(124,58,237,0.5); }
.menu-toggle {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 42px; height: 42px; border: 1px solid var(--border); border-radius: var(--r);
  padding: 10px; background: var(--surface);
}
.menu-toggle span {
  width: 100%; height: 2px; background: var(--text2); border-radius: 2px; transition: var(--tr);
}
.menu-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

/* Mobile Menu */
.mobile-menu {
  position: fixed; top: 80px; left: 0; right: 0; bottom: 0;
  background: rgba(10,10,15,0.98); backdrop-filter: blur(24px);
  z-index: 9998; padding: 32px 24px;
  transform: translateX(100%); transition: transform 0.4s cubic-bezier(0.4,0,0.2,1);
  overflow-y: auto;
}
.mobile-menu.active { transform: translateX(0); }
.mob-overlay {
  position: fixed; inset: 80px 0 0; background: rgba(0,0,0,0.5);
  z-index: 9997; opacity: 0; pointer-events: none; transition: opacity 0.3s ease;
}
.mob-overlay.active { opacity: 1; pointer-events: auto; }
.mobile-menu-inner { display: flex; flex-direction: column; gap: 4px; }
.mob-link {
  display: flex; align-items: center; gap: 16px; padding: 16px 20px;
  font-family: var(--font-head); font-size: 1.2rem; font-weight: 600; color: var(--text2);
  border-radius: var(--r2); border: 1px solid transparent; transition: var(--tr);
}
.mob-link:hover { color: var(--text); background: var(--surface2); border-color: var(--border2); }
.mob-num { font-family: var(--font-mono); font-size: 0.7rem; color: var(--primary2); min-width: 24px; }
.mob-cta { background: linear-gradient(135deg, var(--primary), var(--primary3)); color: #fff !important; margin-top: 12px; }

/* Focus styles */
.nav-link:focus-visible, .btn:focus-visible, .mob-link:focus-visible,
.menu-toggle:focus-visible, .social-dock a:focus-visible,
.cmethod:focus-visible, .pcard-link:focus-visible {
  outline: 2px solid var(--primary2); outline-offset: 3px;
}

/* ── BUTTONS ── */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 28px; font-size: 0.95rem; font-weight: 600;
  border-radius: var(--r2); transition: var(--tr); cursor: pointer;
  position: relative; overflow: hidden; white-space: nowrap;
}
.btn::before {
  content: ''; position: absolute; inset: 0;
  background: rgba(255,255,255,0.08); opacity: 0; transition: opacity 0.2s ease;
}
.btn:hover::before { opacity: 1; }
.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary3));
  color: #fff; box-shadow: var(--glow-primary);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 0 60px rgba(124,58,237,0.5); }
.btn-ghost {
  background: var(--surface); color: var(--text2);
  border: 1px solid var(--border2);
}
.btn-ghost:hover { color: var(--text); border-color: var(--primary); background: rgba(124,58,237,0.1); }
.btn-full { width: 100%; justify-content: center; }
.mt-btn { margin-top: 24px; }

/* ── SECTION COMMONS ── */
.section { padding: clamp(80px,10vw,140px) 0; position: relative; z-index: 1; }
.sec-header { text-align: center; margin-bottom: 64px; }
.sec-badge {
  display: inline-block; padding: 8px 20px;
  background: rgba(124,58,237,0.15); border: 1px solid rgba(124,58,237,0.3);
  color: var(--primary2); font-family: var(--font-mono); font-size: 0.75rem;
  font-weight: 500; border-radius: 100px; text-transform: uppercase; letter-spacing: 2px;
  margin-bottom: 16px;
}
.sec-title {
  font-family: var(--font-head); font-size: clamp(2rem,4.5vw,3rem);
  font-weight: 800; color: var(--text); margin-bottom: 12px; line-height: 1.1;
}
.sec-sub { color: var(--text2); font-size: 1.05rem; max-width: 520px; margin: 0 auto; }
.grad-text {
  background: linear-gradient(135deg, var(--primary2), var(--cyan2));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}

/* ── SECTION DIVIDER ── */
.section-divider {
  position: relative; height: 80px; overflow: hidden; z-index: 1;
  display: flex; align-items: center; justify-content: center;
}
.div-energy {
  position: absolute; left: 0; right: 0; top: 50%;
  height: 1px; background: linear-gradient(90deg, transparent, var(--primary), var(--cyan), transparent);
  transform: translateY(-50%);
}
.div-sparks { display: flex; gap: 40px; position: relative; z-index: 2; }
.div-sparks span {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--primary2); box-shadow: 0 0 12px var(--primary2);
  animation: spark-pulse 2s ease-in-out infinite;
}
.div-sparks span:nth-child(2) { animation-delay: 0.3s; background: var(--cyan); box-shadow: 0 0 12px var(--cyan); }
.div-sparks span:nth-child(3) { animation-delay: 0.6s; }
.div-sparks span:nth-child(4) { animation-delay: 0.9s; background: var(--cyan); box-shadow: 0 0 12px var(--cyan); }
.div-sparks span:nth-child(5) { animation-delay: 1.2s; }
@keyframes spark-pulse { 0%,100%{transform:scale(1);opacity:0.5} 50%{transform:scale(2);opacity:1} }

/* ── HERO ── */
.hero {
  min-height: 100vh; display: flex; align-items: center;
  padding: clamp(100px,12vw,160px) 0 clamp(80px,8vw,120px);
  position: relative; z-index: 1; overflow: hidden;
}
.hero-noise {
  position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
}
.hero-grid-lines {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(124,58,237,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(124,58,237,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
}
.energy-rings {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  pointer-events: none; z-index: 0;
}
.ring {
  position: absolute; border-radius: 50%;
  border: 1px solid rgba(124,58,237,0.1);
  top: 50%; left: 50%; transform: translate(-50%,-50%);
  animation: ring-expand 8s ease-in-out infinite;
}
.r1 { width: 400px; height: 400px; animation-delay: 0s; }
.r2 { width: 700px; height: 700px; animation-delay: 2s; border-color: rgba(6,182,212,0.07); }
.r3 { width: 1000px; height: 1000px; animation-delay: 4s; border-color: rgba(124,58,237,0.05); }
@keyframes ring-expand {
  0%,100%{opacity:0.3;transform:translate(-50%,-50%) scale(1)}
  50%{opacity:0.7;transform:translate(-50%,-50%) scale(1.05)}
}
.hero-container {
  display: grid; grid-template-columns: 1fr minmax(300px, 460px);
  gap: 64px; align-items: center;
  max-width: 1280px; margin: 0 auto; padding: 0 clamp(16px,3vw,32px);
  position: relative; z-index: 2;
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 18px; border-radius: 100px; margin-bottom: 28px;
  background: rgba(124,58,237,0.1); border: 1px solid rgba(124,58,237,0.25);
  font-family: var(--font-mono); font-size: 0.78rem; color: var(--primary2);
  letter-spacing: 1px;
}
.eyebrow-pulse {
  width: 8px; height: 8px; background: var(--green); border-radius: 50%;
  animation: pulse-dot 2s infinite; flex-shrink: 0;
}
@keyframes pulse-dot { 0%,100%{transform:scale(1);opacity:1} 50%{transform:scale(1.6);opacity:0.5} }
.hero-title {
  font-family: var(--font-head); font-size: clamp(2.8rem,6vw,5rem);
  font-weight: 800; line-height: 1.05; color: var(--text); margin-bottom: 24px;
}
.ht-line { display: block; overflow: hidden; }
.ht-accent {
  background: linear-gradient(135deg, var(--primary2), var(--cyan2));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.hero-desc {
  font-size: 1.1rem; color: var(--text2); max-width: 520px;
  margin-bottom: 36px; line-height: 1.75;
}
.hero-desc strong { color: var(--text); font-weight: 600; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 48px; }
.hero-stats { display: flex; align-items: center; gap: 36px; }
.hstat { text-align: center; }
.hstat-num {
  display: block; font-family: var(--font-head); font-size: 2.2rem;
  font-weight: 800; color: var(--text);
  background: linear-gradient(135deg, var(--primary2), var(--cyan2));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.hstat-label { font-size: 0.8rem; color: var(--text3); }
.hstat-sep { width: 1px; height: 44px; background: var(--border2); }

/* ── HERO VISUAL — PREMIUM PROFILE CARD ── */

/*
  Strategy: .hero-visual is the full right column of the hero grid.
  The card itself sits centered inside it. Floating badges use
  negative margins on the CARD (not the wrapper) so they never
  compress the card's own width.
*/
.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  /* No horizontal padding — badges are positioned relative to the card */
  padding: 0;
}

/* Ambient orb rings */
.hv-orb-ring {
  position: absolute; top: 50%; left: 50%;
  border-radius: 50%; pointer-events: none;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(124,58,237,0.12);
  animation: ring-expand 6s ease-in-out infinite;
}
.hv-orb-ring--outer { width: 420px; height: 420px; animation-delay: 0s; }
.hv-orb-ring--inner { width: 300px; height: 300px; border-color: rgba(6,182,212,0.08); animation-delay: -3s; }

/* ── Card shell ── */
.hv-card {
  position: relative; z-index: 2;
  width: 340px;
  background: linear-gradient(160deg, rgba(255,255,255,0.07) 0%, rgba(255,255,255,0.03) 100%);
  backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255,255,255,0.11);
  border-radius: 28px;
  padding: 40px 32px 34px;
  box-shadow:
    0 24px 64px rgba(0,0,0,0.6),
    0 0 0 1px rgba(124,58,237,0.1),
    inset 0 1px 0 rgba(255,255,255,0.1);
  text-align: center;
  will-change: transform;
  overflow: visible;
}

/* Animated glow halo behind card */
.hv-card-glow {
  position: absolute; inset: -1px; border-radius: 28px;
  background: linear-gradient(135deg, var(--primary), var(--cyan), var(--primary3));
  opacity: 0; z-index: -1; filter: blur(28px);
  animation: glow-pulse 5s ease-in-out infinite;
}
@keyframes glow-pulse { 0%,100%{opacity:0.08} 50%{opacity:0.22} }

/* Top shimmer line */
.hv-card-shimmer {
  position: absolute; top: 0; left: 12%; right: 12%; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.28), transparent);
  border-radius: 1px; pointer-events: none;
}

/* ── Avatar wrap ── */
.hv-avatar-wrap {
  position: relative;
  width: 132px; height: 132px;
  margin: 0 auto;
  /* bottom margin = badge protrusion (13px) + gap to name (22px) */
  margin-bottom: 35px;
}

/* Spinning gradient ring track */
.hv-avatar-ring-track {
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  background: conic-gradient(
    from 0deg,
    var(--primary) 0%,
    var(--cyan) 45%,
    transparent 55%,
    var(--primary) 100%
  );
  animation: spin-slow 8s linear infinite;
  z-index: 0;
}
.hv-avatar-ring-track::after {
  content: '';
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: var(--bg2);
}

/* Avatar image container */
.hv-avatar {
  position: absolute; inset: 0;
  border-radius: 50%;
  overflow: hidden;
  z-index: 1;
  background: linear-gradient(135deg, var(--primary3), var(--cyan));
}
.hv-avatar img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center top;
  border-radius: 50%;
  display: block;
}

/* Fallback initials */
.hv-avatar-fallback {
  display: none;
  width: 100%; height: 100%;
  border-radius: 50%;
  align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--primary), var(--cyan));
  font-family: var(--font-head); font-size: 2rem; font-weight: 800; color: #fff;
}

/* Status badge — centered below avatar, clear of the image */
.hv-status {
  position: absolute;
  bottom: -13px;
  left: 50%; transform: translateX(-50%);
  display: inline-flex; align-items: center; gap: 5px;
  background: rgba(8,8,18,0.95);
  border: 1px solid rgba(34,197,94,0.4);
  border-radius: 100px;
  padding: 4px 12px;
  font-size: 0.68rem; font-weight: 700; color: var(--green);
  white-space: nowrap; z-index: 3;
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 14px rgba(0,0,0,0.5), 0 0 10px rgba(34,197,94,0.12);
  letter-spacing: 0.3px;
}
.status-dot {
  width: 6px; height: 6px; flex-shrink: 0;
  background: var(--green); border-radius: 50%;
  animation: pulse-dot 2s infinite;
  box-shadow: 0 0 6px var(--green);
}

/* ── Identity ── */
.hv-identity { margin-bottom: 18px; }
.hv-name {
  font-family: var(--font-head);
  font-size: 1.3rem;
  font-weight: 800; color: var(--text);
  letter-spacing: -0.2px;
  line-height: 1.2;
  margin-bottom: 7px;
  white-space: normal;
  overflow-wrap: break-word;
}
.hv-role {
  color: var(--text2);
  font-size: 0.84rem;
  font-weight: 400;
  line-height: 1.5;
  white-space: normal;
}

/* ── Tags ── */
.hv-tags {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  max-width: 260px;
  margin: 0 auto 22px;
}
.hv-tags span {
  padding: 6px 15px;
  background: rgba(124,58,237,0.1);
  border: 1px solid rgba(124,58,237,0.22);
  border-radius: 100px;
  font-size: 0.72rem; font-weight: 600; color: var(--primary2);
  letter-spacing: 0.2px;
  transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
  cursor: default;
  white-space: nowrap;
}
.hv-tags span:hover {
  background: rgba(124,58,237,0.2);
  border-color: rgba(124,58,237,0.45);
  color: #c4b5fd;
}

/* ── Divider ── */
.hv-divider {
  margin-bottom: 22px;
  display: flex; align-items: center;
}
.hv-divider-line {
  display: block; height: 1px; width: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.12), transparent);
  transform-origin: left;
}

/* ── Metrics ── */
.hv-metrics {
  display: flex; align-items: center; justify-content: space-between;
}
.hvm { flex: 1; text-align: center; padding: 0 6px; }
.hvm-n {
  display: block;
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--primary2), var(--cyan2));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  line-height: 1.1; margin-bottom: 6px;
}
.hvm-l {
  font-size: 0.65rem; color: var(--text3);
  text-transform: uppercase; letter-spacing: 1px; font-weight: 500;
  white-space: nowrap;
}
.hvm-sep {
  width: 1px; height: 34px; flex-shrink: 0;
  background: rgba(255,255,255,0.09);
}

/* ── Floating badges — positioned relative to .hv-card ── */
.hv-float {
  position: absolute;
  display: inline-flex; align-items: center; gap: 7px;
  padding: 8px 14px;
  background: rgba(8,8,18,0.9);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 100px;
  font-size: 0.75rem; font-weight: 600; color: var(--text);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  z-index: 5;
  box-shadow: 0 6px 24px rgba(0,0,0,0.45), 0 0 0 1px rgba(124,58,237,0.12);
  white-space: nowrap;
  will-change: transform;
  pointer-events: none;
}
.hv-float i { font-size: 0.8rem; color: var(--primary2); flex-shrink: 0; }

/*
  Badge positions: anchored to .hv-card edges.
  Left badges: right edge of badge aligns ~20px outside card left edge.
  Right badge: left edge of badge aligns ~20px outside card right edge.
*/
.f1 { top: 20%;  left: -138px; }   /* Clean Code — upper left  */
.f2 { top: 52%;  right: -138px; transform: translateY(-50%); } /* Fast Delivery — right */
.f3 { bottom: 18%; left: -106px; } /* Secure — lower left      */

@keyframes spin-slow { to { transform: rotate(360deg); } }

/* Scroll cue */
.scroll-cue {
  position: absolute; bottom: 36px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px; z-index: 2;
}
.scroll-cue span { font-family: var(--font-mono); font-size: 0.65rem; color: var(--text3); letter-spacing: 3px; text-transform: uppercase; }
.sc-mouse {
  width: 24px; height: 38px; border: 1.5px solid var(--border2);
  border-radius: 12px; position: relative;
}
.sc-wheel {
  width: 3px; height: 7px; background: var(--primary2); border-radius: 2px;
  position: absolute; top: 8px; left: 50%; transform: translateX(-50%);
  animation: scroll-wheel 2s infinite;
}
@keyframes scroll-wheel { 0%{top:8px;opacity:1} 100%{top:22px;opacity:0} }

/* ── ABOUT ── */
.about-layout {
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start;
}
.about-story { position: relative; }
.story-tag {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono); font-size: 0.75rem; color: var(--cyan2);
  margin-bottom: 20px; letter-spacing: 1px;
}
.about-story h3 {
  font-family: var(--font-head); font-size: clamp(1.5rem,3vw,2rem);
  font-weight: 700; color: var(--text); margin-bottom: 20px; line-height: 1.2;
}
.about-story p { color: var(--text2); line-height: 1.8; margin-bottom: 16px; }
.about-story p strong { color: var(--text); font-weight: 600; }
.story-pillars { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 28px; }
.pillar {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 16px; background: var(--surface);
  border: 1px solid var(--border); border-radius: var(--r2);
  font-size: 0.85rem; font-weight: 600; color: var(--text2);
  transition: var(--tr);
}
.pillar:hover { border-color: var(--primary); color: var(--text); background: rgba(124,58,237,0.08); }
.pillar i { color: var(--primary2); width: 16px; }
.about-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.acard {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r2); padding: 24px; transition: var(--tr);
  position: relative; overflow: hidden;
}
.acard::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--cyan));
  transform: scaleX(0); transform-origin: left; transition: transform 0.4s ease;
}
.acard:hover { border-color: var(--border2); transform: translateY(-4px); box-shadow: var(--shadow); }
.acard:hover::before { transform: scaleX(1); }
.acard-icon {
  width: 48px; height: 48px; display: flex; align-items: center; justify-content: center;
  background: rgba(124,58,237,0.15); border: 1px solid rgba(124,58,237,0.2);
  border-radius: var(--r); font-size: 1.2rem; color: var(--primary2); margin-bottom: 16px;
}
.acard-icon.accent2 { background: rgba(6,182,212,0.12); border-color: rgba(6,182,212,0.2); color: var(--cyan2); }
.acard-icon.accent3 { background: rgba(245,158,11,0.12); border-color: rgba(245,158,11,0.2); color: var(--gold); }
.acard-icon.accent4 { background: rgba(34,197,94,0.12); border-color: rgba(34,197,94,0.2); color: var(--green); }
.acard h4 { font-family: var(--font-head); font-size: 1rem; font-weight: 700; margin-bottom: 8px; color: var(--text); }
.acard p { font-size: 0.88rem; color: var(--text2); line-height: 1.65; }

/* ── SKILLS ── */
.skills-universe { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-bottom: 48px; }
.skill-category {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r2); padding: 28px; transition: var(--tr);
}
.skill-category:hover { border-color: var(--border2); }
.skcat-header {
  display: flex; align-items: center; gap: 12px; margin-bottom: 24px;
  padding-bottom: 16px; border-bottom: 1px solid var(--border);
}
.skcat-header i { color: var(--primary2); font-size: 1.1rem; }
.skcat-header h3 { font-family: var(--font-head); font-size: 1rem; font-weight: 700; color: var(--text); }
.skill-nodes { display: flex; flex-direction: column; gap: 16px; }
.snode { display: grid; grid-template-columns: 1fr auto; grid-template-rows: auto auto; gap: 6px 8px; }
.sn-name { font-size: 0.85rem; font-weight: 500; color: var(--text2); grid-column: 1; }
.sn-pct { font-family: var(--font-mono); font-size: 0.75rem; color: var(--primary2); grid-column: 2; grid-row: 1; }
.sn-bar { grid-column: 1/-1; height: 4px; background: rgba(255,255,255,0.06); border-radius: 4px; overflow: hidden; }
.sn-fill {
  height: 100%; width: 0; border-radius: 4px;
  background: linear-gradient(90deg, var(--primary), var(--cyan));
  transition: width 1.4s cubic-bezier(0.4,0,0.2,1);
  box-shadow: 0 0 8px rgba(124,58,237,0.5);
}
.tech-cloud {
  display: flex; flex-wrap: wrap; gap: 10px; justify-content: center;
}
.tech-cloud span {
  padding: 8px 16px; background: var(--surface); border: 1px solid var(--border);
  border-radius: 100px; font-family: var(--font-mono); font-size: 0.78rem;
  color: var(--text2); transition: var(--tr); cursor: default;
}
.tech-cloud span:hover { border-color: var(--primary); color: var(--primary2); background: rgba(124,58,237,0.08); }

/* ── PROJECTS ── */
.projects-filter {
  display: flex; gap: 10px; justify-content: center; margin-bottom: 40px; flex-wrap: wrap;
}
.pf-btn {
  padding: 9px 22px; border-radius: 100px; font-size: 0.85rem; font-weight: 600;
  color: var(--text2); border: 1px solid var(--border); background: var(--surface);
  transition: var(--tr); cursor: pointer;
}
.pf-btn.active, .pf-btn:hover {
  background: rgba(124,58,237,0.15); border-color: var(--primary);
  color: var(--primary2);
}
.projects-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.pcard {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r2); overflow: hidden; transition: var(--tr);
  position: relative;
}
.pcard:hover { border-color: var(--border2); transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.pcard-large { grid-column: span 2; }
.pcard-img { position: relative; aspect-ratio: 16/10; overflow: hidden; }
.pcard-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.pcard:hover .pcard-img img { transform: scale(1.06); }
.pcard-overlay {
  position: absolute; inset: 0;
  background: rgba(10,10,15,0.7); backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity 0.3s ease;
}
.pcard:hover .pcard-overlay { opacity: 1; }
.pcard-link {
  width: 52px; height: 52px; background: var(--primary);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 1.1rem; transform: scale(0.7);
  transition: transform 0.3s cubic-bezier(0.34,1.56,0.64,1);
  box-shadow: var(--glow-primary);
}
.pcard:hover .pcard-link { transform: scale(1); }
.pcard-glow {
  position: absolute; bottom: 0; left: 0; right: 0; height: 60%;
  background: linear-gradient(to top, rgba(124,58,237,0.15), transparent);
  pointer-events: none;
}
.pcard-body { padding: 24px; }
.pcard-cat {
  display: inline-block; padding: 4px 12px;
  background: rgba(124,58,237,0.12); border: 1px solid rgba(124,58,237,0.2);
  color: var(--primary2); border-radius: 100px;
  font-family: var(--font-mono); font-size: 0.7rem; font-weight: 500;
  text-transform: uppercase; letter-spacing: 1px; margin-bottom: 12px;
}
.pcard-body h3 { font-family: var(--font-head); font-size: 1.15rem; font-weight: 700; margin-bottom: 8px; color: var(--text); }
.pcard-body p { font-size: 0.88rem; color: var(--text2); line-height: 1.65; margin-bottom: 16px; }
.pcard-stack { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }
.pcard-stack span {
  padding: 4px 10px; background: rgba(255,255,255,0.05);
  border: 1px solid var(--border); border-radius: 100px;
  font-size: 0.72rem; font-weight: 600; color: var(--text3);
}
.pcard-links { display: flex; gap: 10px; }
.plink-btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 16px; border-radius: var(--r); font-size: 0.82rem; font-weight: 600;
  background: var(--surface2); border: 1px solid var(--border2); color: var(--text2);
  transition: var(--tr);
}
.plink-btn:hover { border-color: var(--primary); color: var(--primary2); background: rgba(124,58,237,0.1); }
.pcard.hidden { display: none; }

/* ── JOURNEY ── */
.journey-section { background: var(--bg2); }
.timeline { position: relative; max-width: 800px; margin: 0 auto; }
.timeline::before {
  content: ''; position: absolute; left: 50%; transform: translateX(-50%);
  width: 1px; height: 100%;
  background: linear-gradient(to bottom, var(--primary), var(--cyan), transparent);
}
.tl-item {
  position: relative; width: 50%; padding: 0 48px 56px;
}
.tl-item:nth-child(odd) { left: 0; text-align: right; }
.tl-item:nth-child(even) { left: 50%; }
.tl-marker {
  position: absolute; top: 0;
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--bg2); border: 2px solid var(--primary);
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--glow-primary);
}
.tl-marker span {
  font-family: var(--font-mono); font-size: 0.65rem; font-weight: 700;
  color: var(--primary2); letter-spacing: 0.5px;
}
.tl-item:nth-child(odd) .tl-marker { right: -24px; }
.tl-item:nth-child(even) .tl-marker { left: -24px; }
.tl-marker.tl-active {
  background: linear-gradient(135deg, var(--primary), var(--cyan));
  border-color: transparent; box-shadow: 0 0 30px rgba(124,58,237,0.6);
}
.tl-marker.tl-active span { color: #fff; }
.tl-content {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r2); padding: 24px; transition: var(--tr);
}
.tl-content:hover { border-color: var(--border2); box-shadow: var(--shadow); }
.tl-content-active { border-color: rgba(124,58,237,0.3); background: rgba(124,58,237,0.06); }
.tl-icon {
  width: 36px; height: 36px; display: flex; align-items: center; justify-content: center;
  background: rgba(124,58,237,0.15); border-radius: var(--r);
  color: var(--primary2); font-size: 0.9rem; margin-bottom: 12px;
}
.tl-item:nth-child(odd) .tl-icon { margin-left: auto; }
.tl-content h3 { font-family: var(--font-head); font-size: 1.05rem; font-weight: 700; margin-bottom: 8px; color: var(--text); }
.tl-content p { font-size: 0.85rem; color: var(--text2); line-height: 1.65; margin-bottom: 12px; }
.tl-tags { display: flex; gap: 6px; flex-wrap: wrap; }
.tl-item:nth-child(odd) .tl-tags { justify-content: flex-end; }
.tl-tags span {
  padding: 3px 10px; background: rgba(124,58,237,0.1);
  border: 1px solid rgba(124,58,237,0.15); border-radius: 100px;
  font-size: 0.7rem; font-weight: 600; color: var(--primary2);
}

/* ── STATS ── */
.stats-section { padding: 80px 0; background: var(--bg3); position: relative; z-index: 1; }
.stats-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; }
.stat-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r2); padding: 36px 24px; text-align: center;
  transition: var(--tr); position: relative; overflow: hidden;
}
.stat-card::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(124,58,237,0.05), rgba(6,182,212,0.05));
  opacity: 0; transition: opacity 0.3s ease;
}
.stat-card:hover { border-color: var(--primary); transform: translateY(-4px); }
.stat-card:hover::before { opacity: 1; }
.stat-icon {
  width: 52px; height: 52px; margin: 0 auto 16px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(124,58,237,0.12); border: 1px solid rgba(124,58,237,0.2);
  border-radius: var(--r); font-size: 1.2rem; color: var(--primary2);
}
.stat-big {
  font-family: var(--font-head); font-size: 3rem; font-weight: 800;
  background: linear-gradient(135deg, var(--primary2), var(--cyan2));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  line-height: 1;
}
.stat-plus { font-family: var(--font-head); font-size: 1.5rem; font-weight: 700; color: var(--primary2); }
.stat-card p { font-size: 0.88rem; color: var(--text2); margin-top: 8px; }

/* ── SERVICES ── */
.services-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.svc-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r2); padding: 32px; transition: var(--tr);
  position: relative; overflow: hidden;
}
.svc-card:hover { border-color: var(--border2); transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.svc-card:hover .svc-glow { opacity: 1; }
.svc-featured {
  border-color: rgba(124,58,237,0.3);
  background: rgba(124,58,237,0.06);
}
.svc-badge {
  position: absolute; top: -1px; left: 50%; transform: translateX(-50%);
  background: linear-gradient(135deg, var(--primary), var(--primary3));
  color: #fff; padding: 5px 16px; border-radius: 0 0 var(--r) var(--r);
  font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px;
  white-space: nowrap;
}
.svc-num {
  font-family: var(--font-mono); font-size: 0.7rem; color: var(--text3);
  margin-bottom: 16px; letter-spacing: 2px;
}
.svc-icon {
  width: 56px; height: 56px; display: flex; align-items: center; justify-content: center;
  background: rgba(124,58,237,0.12); border: 1px solid rgba(124,58,237,0.2);
  border-radius: var(--r2); font-size: 1.4rem; color: var(--primary2); margin-bottom: 20px;
  transition: var(--tr);
}
.svc-card:hover .svc-icon { background: rgba(124,58,237,0.2); box-shadow: var(--glow-primary); }
.svc-card h3 { font-family: var(--font-head); font-size: 1.15rem; font-weight: 700; margin-bottom: 12px; color: var(--text); }
.svc-card > p { font-size: 0.88rem; color: var(--text2); line-height: 1.65; margin-bottom: 20px; }
.svc-list { display: flex; flex-direction: column; gap: 8px; }
.svc-list li {
  font-size: 0.85rem; color: var(--text2); padding-left: 16px; position: relative;
}
.svc-list li::before {
  content: ''; position: absolute; left: 0; top: 50%; transform: translateY(-50%);
  width: 6px; height: 6px; border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--cyan));
}
.svc-glow {
  position: absolute; bottom: -20px; right: -20px;
  width: 120px; height: 120px; border-radius: 50%;
  background: radial-gradient(circle, rgba(124,58,237,0.2), transparent 70%);
  opacity: 0; transition: opacity 0.4s ease; pointer-events: none;
}

/* ── TESTIMONIALS ── */
.testimonials-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; margin-bottom: 48px; }
.tcard {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r2); padding: 28px; transition: var(--tr);
}
.tcard:hover { border-color: var(--border2); transform: translateY(-4px); box-shadow: var(--shadow); }
.tcard-quote { font-size: 1.8rem; color: var(--primary); opacity: 0.4; margin-bottom: 12px; }
.tcard p { font-size: 0.9rem; color: var(--text2); line-height: 1.75; font-style: italic; margin-bottom: 20px; }
.tcard-author { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.tcard-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--cyan));
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 0.85rem; color: #fff; flex-shrink: 0;
}
.tcard-author strong { display: block; font-size: 0.9rem; color: var(--text); }
.tcard-author span { font-size: 0.78rem; color: var(--text3); }
.tcard-stars { color: var(--gold); font-size: 0.75rem; display: flex; gap: 3px; }
.trust-badges { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.tbadge {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 20px; background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r2); font-size: 0.85rem; font-weight: 600; color: var(--text2);
  transition: var(--tr);
}
.tbadge:hover { border-color: var(--primary); color: var(--text); }
.tbadge i { color: var(--primary2); }

/* ── CONTACT ── */
.contact-section { background: var(--bg2); }
.contact-layout { display: grid; grid-template-columns: 1fr 1.2fr; gap: 60px; align-items: start; }
.contact-info h3 { font-family: var(--font-head); font-size: 1.6rem; font-weight: 700; margin-bottom: 12px; color: var(--text); }
.contact-info > p { color: var(--text2); line-height: 1.75; margin-bottom: 32px; }
.contact-methods { display: flex; flex-direction: column; gap: 12px; margin-bottom: 28px; }
.cmethod {
  display: flex; align-items: center; gap: 16px;
  padding: 16px 20px; background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r2); transition: var(--tr);
}
.cmethod:hover { border-color: var(--primary); transform: translateX(6px); }
.cm-icon {
  width: 44px; height: 44px; display: flex; align-items: center; justify-content: center;
  background: rgba(124,58,237,0.15); border-radius: var(--r);
  color: var(--primary2); font-size: 1.1rem; flex-shrink: 0;
}
.cm-label { display: block; font-size: 0.72rem; color: var(--text3); margin-bottom: 2px; }
.cm-val { display: block; font-size: 0.9rem; font-weight: 600; color: var(--text); overflow-wrap: anywhere; }
.contact-socials { display: flex; gap: 10px; }
.contact-socials a {
  width: 42px; height: 42px; display: flex; align-items: center; justify-content: center;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r);
  color: var(--text2); font-size: 1rem; transition: var(--tr);
}
.contact-socials a:hover { background: rgba(124,58,237,0.15); border-color: var(--primary); color: var(--primary2); }
.contact-form {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r3); padding: 40px;
  box-shadow: var(--shadow-lg);
}
.cf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.cf-group { margin-bottom: 16px; }
.cf-group input, .cf-group textarea {
  width: 100%; padding: 14px 18px;
  background: rgba(255,255,255,0.04); border: 1px solid var(--border2);
  border-radius: var(--r); color: var(--text); font-size: 0.95rem;
  transition: var(--tr); outline: none;
}
.cf-group input::placeholder, .cf-group textarea::placeholder { color: var(--text3); }
.cf-group input:focus, .cf-group textarea:focus {
  border-color: var(--primary); background: rgba(124,58,237,0.06);
  box-shadow: 0 0 0 3px rgba(124,58,237,0.1);
}
.cf-group textarea { min-height: 130px; resize: vertical; }

/* ── FOOTER ── */
.footer { position: relative; z-index: 1; }
.footer-top { background: var(--bg3); padding: 80px 0 48px; border-top: 1px solid var(--border); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 60px; }
.footer-logo {
  font-family: var(--font-head); font-size: 2rem; font-weight: 800; color: var(--text);
  margin-bottom: 16px;
}
.fdot { color: var(--primary2); }
.footer-brand p { color: var(--text3); font-size: 0.88rem; line-height: 1.7; margin-bottom: 24px; }
.footer-socials { display: flex; gap: 10px; }
.footer-socials a {
  width: 38px; height: 38px; display: flex; align-items: center; justify-content: center;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r);
  color: var(--text3); font-size: 0.9rem; transition: var(--tr);
}
.footer-socials a:hover { background: rgba(124,58,237,0.15); border-color: var(--primary); color: var(--primary2); }
.footer-links h4 { font-family: var(--font-head); font-size: 0.95rem; font-weight: 700; color: var(--text); margin-bottom: 20px; }
.footer-links ul li { margin-bottom: 10px; }
.footer-links a { font-size: 0.88rem; color: var(--text3); transition: var(--tr); }
.footer-links a:hover { color: var(--primary2); }
.footer-bottom {
  background: var(--bg); padding: 20px 0; border-top: 1px solid var(--border);
}
.footer-bottom .container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; }
.footer-bottom p { font-size: 0.82rem; color: var(--text3); }
.footer-bottom p i { color: var(--primary2); margin: 0 3px; }
.footer-right { font-family: var(--font-mono); font-size: 0.75rem; color: var(--text3); }

/* ── GSAP INITIAL STATES ── */
[data-gsap="hero-content"] > *,
[data-gsap="sec-header"],
[data-gsap="fade-up"],
[data-gsap="stagger-cards"] > *,
[data-gsap="skills-universe"] > *,
[data-gsap="tech-cloud"],
[data-gsap="timeline"] .tl-item,
[data-gsap="tl-item"] {
  opacity: 0; transform: translateY(30px);
}
/* hero-visual animates from x:50 scale:0.96 — match that initial state */
[data-gsap="hero-visual"] {
  opacity: 0; transform: translateX(50px) scale(0.96);
}

/* ── REDUCED MOTION ── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  .bg-canvas { display: none; }
  [data-gsap="hero-content"] > *, [data-gsap="hero-visual"],
  [data-gsap="sec-header"], [data-gsap="fade-up"],
  [data-gsap="stagger-cards"] > *, [data-gsap="skills-universe"] > *,
  [data-gsap="tech-cloud"], [data-gsap="timeline"] .tl-item,
  [data-gsap="tl-item"] { opacity: 1; transform: none; }
}

/* ── RESPONSIVE ── */
@media (max-width: 1200px) {
  .hero-container { grid-template-columns: 1fr 380px; gap: 56px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .projects-grid { grid-template-columns: repeat(2,1fr); }
  .pcard-large { grid-column: span 2; }
}

@media (max-width: 1024px) {
  .nav-menu { display: none; }
  .menu-toggle { display: flex; }
  .hero-container { grid-template-columns: 1fr; text-align: center; gap: 48px; }
  .hero-desc { margin: 0 auto 36px; }
  .hero-actions { justify-content: center; }
  .hero-stats { justify-content: center; }
  /* Card: centered with room for badges on both sides */
  .hero-visual { max-width: 580px; margin: 0 auto; padding: 16px 140px; }
  .hv-card { width: 300px; padding: 36px 28px 30px; }
  .hv-float { display: inline-flex; }
  .f1 { top: 16%; left: -118px; }
  .f2 { top: 50%; right: -122px; transform: translateY(-50%); }
  .f3 { bottom: 16%; left: -90px; }
  .about-layout { grid-template-columns: 1fr; gap: 40px; }
  .skills-universe { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: repeat(2,1fr); }
  .testimonials-grid { grid-template-columns: repeat(2,1fr); }
  .contact-layout { grid-template-columns: 1fr; gap: 32px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .timeline::before { left: 24px; }
  .tl-item { width: 100%; left: 0 !important; padding-left: 72px; padding-right: 0; text-align: left !important; }
  .tl-item:nth-child(odd) .tl-marker,
  .tl-item:nth-child(even) .tl-marker { left: 0; right: auto; }
  .tl-item:nth-child(odd) .tl-icon { margin-left: 0; }
  .tl-item:nth-child(odd) .tl-tags { justify-content: flex-start; }
  .stats-grid { grid-template-columns: repeat(2,1fr); }
}

@media (max-width: 768px) {
  .hero-title { font-size: clamp(2.2rem,8vw,3rem); }
  .projects-grid { grid-template-columns: 1fr; }
  .pcard-large { grid-column: span 1; }
  .services-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .cf-row { grid-template-columns: 1fr; }
  .about-cards { grid-template-columns: 1fr; }
  .story-pillars { grid-template-columns: 1fr; }
  .contact-form { padding: 28px 20px; }
  .contact-layout { gap: 32px; }
  .hero-stats { gap: 20px; }
  .hstat-sep { height: 32px; }
  .stats-grid { grid-template-columns: repeat(2,1fr); }
  /* Hide badges, remove orb rings, full-width card */
  .hv-float { display: none; }
  .hv-orb-ring { display: none; }
  .hero-visual { padding: 0; max-width: 400px; }
  .hv-card { width: 100%; max-width: 340px; padding: 32px 28px 28px; border-radius: 24px; }
  .hv-name { font-size: 1.3rem; }
  .hv-avatar-wrap { width: 120px; height: 120px; margin-bottom: 34px; }
}

/* Large mobile 480–599px */
@media (max-width: 599px) {
  .scroll-cue { bottom: 20px; }
  .hero { padding-bottom: clamp(110px,16vw,140px); }
  .section { padding: clamp(60px,8vw,100px) 0; }
  .sec-header { margin-bottom: 48px; }
  .hero-visual { max-width: 100%; padding: 0 4px; }
  .hv-card { padding: 28px 22px 24px; border-radius: 22px; }
  .hv-avatar-wrap { width: 112px; height: 112px; margin-bottom: 32px; }
  .hv-name { font-size: 1.3rem; }
  .hv-role { font-size: 0.82rem; }
  .hv-identity { margin-bottom: 16px; }
  .hv-tags { gap: 7px; margin-bottom: 18px; }
  .hv-tags span { font-size: 0.71rem; padding: 5px 12px; }
  .hv-divider { margin-bottom: 18px; }
  .hvm-n { font-size: 1.3rem; }
  .hvm-l { font-size: 0.64rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2,1fr); }
  .trust-badges { gap: 10px; }
  .tbadge { padding: 10px 14px; font-size: 0.8rem; }
}

/* Standard mobile up to 479px */
@media (max-width: 479px) {
  .section { padding: clamp(52px,7vw,80px) 0; }
  .sec-header { margin-bottom: 40px; }
  .hero-actions { flex-direction: column; align-items: center; }
  .btn { width: 100%; justify-content: center; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .trust-badges { flex-direction: column; align-items: center; }
  .projects-filter { gap: 6px; }
  .pf-btn { padding: 7px 14px; font-size: 0.8rem; }
  .contact-form { padding: 24px 16px; }
  .footer-top { padding: 56px 0 36px; }
  .hv-card { padding: 24px 18px 22px; border-radius: 20px; }
  .hv-avatar-wrap { width: 104px; height: 104px; margin-bottom: 30px; }
  .hv-avatar-ring-track { inset: -6px; }
  .hv-avatar-ring-track::after { inset: 2px; }
  .hv-status { font-size: 0.65rem; padding: 4px 10px; bottom: -12px; }
  .hv-name { font-size: 1.2rem; letter-spacing: 0; }
  .hv-role { font-size: 0.8rem; }
  .hv-identity { margin-bottom: 14px; }
  .hv-tags { gap: 6px; margin-bottom: 16px; }
  .hv-tags span { font-size: 0.68rem; padding: 4px 11px; }
  .hv-divider { margin-bottom: 16px; }
  .hvm-n { font-size: 1.2rem; }
  .hvm-l { font-size: 0.62rem; letter-spacing: 0.6px; }
  .hvm-sep { height: 30px; }
}

/* Small mobile up to 359px */
@media (max-width: 359px) {
  .hero-title { font-size: clamp(1.9rem,9vw,2.4rem); }
  .hv-card { padding: 20px 14px 18px; }
  .hv-avatar-wrap { width: 92px; height: 92px; margin-bottom: 28px; }
  .hv-name { font-size: 1.1rem; }
  .hv-tags span { font-size: 0.64rem; padding: 4px 9px; }
  .hvm-n { font-size: 1.1rem; }
  .btn { padding: 12px 20px; font-size: 0.88rem; }
}

@media (min-width: 1600px) {
  .container { max-width: 1440px; }
  .hero-title { font-size: 5.5rem; }
  .hero-visual { padding: 16px 112px; }
  .hv-card { max-width: 400px; }
  .f1 { left: -128px; }
  .f2 { right: -132px; }
  .f3 { left: -104px; }
}

/* Thin Scrollbar */
::-webkit-scrollbar { width: 1px; height: 1px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.1); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: rgba(255,255,255,0.2); }
