/* ============================================
   ANSHID KT — Premium Futuristic Portfolio
   60+ Animations | Dark Mode | Glassmorphism
   ============================================ */

/* ── Design Tokens ── */
:root {
  --bg: #060611;
  --bg2: #0c0c1d;
  --bg3: #111128;
  --surface: rgba(12, 12, 29, 0.6);
  --glass: rgba(16, 16, 40, 0.55);
  --glass-strong: rgba(16, 16, 40, 0.85);
  --text: #eef0ff;
  --text2: #8b8fa8;
  --text3: #545776;
  --border: rgba(120, 130, 200, 0.1);
  --border-hover: rgba(120, 130, 200, 0.25);
  --cyan: #00e5ff;
  --cyan-dim: rgba(0, 229, 255, 0.12);
  --purple: #9c5cff;
  --purple-dim: rgba(156, 92, 255, 0.12);
  --pink: #ff3ea5;
  --green: #00e676;
  --orange: #ff9100;
  --gradient: linear-gradient(135deg, var(--cyan), var(--purple), var(--pink));
  --gradient-subtle: linear-gradient(135deg, var(--cyan-dim), var(--purple-dim));
  --shadow-glow: 0 0 60px -20px rgba(0, 229, 255, 0.25);
  --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.4);
  --radius: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;
  --font-display: 'Orbitron', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --transition: 0.35s var(--ease-out);
}

/* ── Reset ── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  line-height: 1.6;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { background: none; border: none; cursor: pointer; font-family: inherit; color: inherit; }
img { max-width: 100%; display: block; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 clamp(20px, 4vw, 40px); }
.section { padding: clamp(80px, 12vw, 140px) 0; position: relative; }

/* ============================================
   1. PRELOADER — 3D Cube + Progress
   ============================================ */
.preloader {
  position: fixed; inset: 0; z-index: 9999;
  background: var(--bg);
  display: flex; align-items: center; justify-content: center;
  transition: opacity 0.6s var(--ease-out), visibility 0.6s;
}
.preloader.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.loader-wrapper { text-align: center; }
.loader-cube {
  width: 50px; height: 50px;
  position: relative; transform-style: preserve-3d;
  animation: cubeRotate 2.4s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite;
  margin: 0 auto 32px;
}
.cube-face {
  position: absolute; width: 100%; height: 100%;
  border: 1.5px solid var(--cyan);
  background: rgba(0, 229, 255, 0.06);
  backdrop-filter: blur(4px);
}
.cube-face.front  { transform: translateZ(25px); }
.cube-face.back   { transform: rotateY(180deg) translateZ(25px); }
.cube-face.right  { transform: rotateY(90deg)  translateZ(25px); }
.cube-face.left   { transform: rotateY(-90deg) translateZ(25px); }
.cube-face.top    { transform: rotateX(90deg)  translateZ(25px); }
.cube-face.bottom { transform: rotateX(-90deg) translateZ(25px); }
@keyframes cubeRotate {
  0%   { transform: rotateX(-25deg) rotateY(0deg); }
  50%  { transform: rotateX(-25deg) rotateY(180deg); }
  100% { transform: rotateX(-25deg) rotateY(360deg); }
}
.loader-text {
  font-family: var(--font-display);
  font-size: 1.75rem; font-weight: 700;
  margin-bottom: 24px; letter-spacing: 4px;
}
.loader-text .letter {
  display: inline-block;
  animation: letterWave 1.8s ease-in-out infinite;
  animation-delay: calc(var(--i) * 0.08s);
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
@keyframes letterWave {
  0%, 100% { transform: translateY(0) scale(1); }
  30%      { transform: translateY(-12px) scale(1.05); }
}
.loader-progress {
  width: 180px; height: 3px;
  background: var(--bg3); border-radius: 2px;
  margin: 0 auto; overflow: hidden;
}
.progress-bar {
  height: 100%; width: 0;
  background: var(--gradient); border-radius: 2px;
  animation: progressFill 2s var(--ease-out) forwards;
}
@keyframes progressFill { to { width: 100%; } }

/* ============================================
   2. BACKGROUND SYSTEM
   ============================================ */
.bg-container {
  position: fixed; inset: 0; z-index: -1;
  overflow: hidden; pointer-events: none;
}
.gradient-sphere {
  position: absolute; border-radius: 50%;
  filter: blur(100px); opacity: 0.35;
  animation: sphereDrift 25s ease-in-out infinite;
  will-change: transform;
}
.sphere-1 {
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(0, 229, 255, 0.3), transparent 70%);
  top: -250px; right: -200px;
}
.sphere-2 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(156, 92, 255, 0.25), transparent 70%);
  bottom: -200px; left: -200px;
  animation-delay: -8s;
}
.sphere-3 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(255, 62, 165, 0.2), transparent 70%);
  top: 40%; left: 40%;
  animation-delay: -16s;
}
@keyframes sphereDrift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33%      { transform: translate(40px, -60px) scale(1.05); }
  66%      { transform: translate(-30px, 40px) scale(0.95); }
}
.noise-overlay {
  position: absolute; inset: 0;
  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.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
  opacity: 0.4;
}
.grid-overlay {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(0, 229, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 229, 255, 0.02) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
}

/* ============================================
   3. CUSTOM CURSOR
   ============================================ */
.cursor-dot, .cursor-ring {
  position: fixed; pointer-events: none;
  z-index: 10000; border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.2s, height 0.2s, opacity 0.2s;
}
.cursor-dot {
  width: 6px; height: 6px;
  background: var(--cyan);
  box-shadow: 0 0 12px var(--cyan), 0 0 24px rgba(0, 229, 255, 0.3);
}
.cursor-ring {
  width: 36px; height: 36px;
  border: 1.5px solid rgba(0, 229, 255, 0.4);
  opacity: 0.6;
}
.cursor-ring.hover {
  width: 56px; height: 56px;
  border-color: var(--purple);
  opacity: 1;
  background: rgba(156, 92, 255, 0.06);
}

/* ============================================
   4. NAVIGATION — Frosted Glass
   ============================================ */
.navbar {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 1000; padding: 20px 0;
  transition: var(--transition);
}
.navbar.scrolled {
  padding: 12px 0;
  background: var(--glass-strong);
  backdrop-filter: blur(24px) saturate(180%);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}
.nav-container {
  max-width: 1200px; margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 40px);
  display: flex; align-items: center; justify-content: space-between;
}
.nav-logo {
  font-family: var(--font-display);
  font-size: 1.15rem; font-weight: 700;
  display: flex; gap: 3px;
  letter-spacing: 1px;
}
.logo-bracket { color: var(--cyan); transition: var(--transition); }
.nav-logo:hover .logo-bracket:first-child { transform: translateX(-4px); }
.nav-logo:hover .logo-bracket:last-child  { transform: translateX(4px); }
.glitch-text { position: relative; }
.glitch-text:hover { animation: glitchText 0.4s steps(2); }
@keyframes glitchText {
  0%, 100% { text-shadow: none; }
  25%  { text-shadow: 2px -1px var(--cyan), -2px 1px var(--pink); }
  50%  { text-shadow: -1px 2px var(--purple), 1px -2px var(--cyan); }
  75%  { text-shadow: 1px 1px var(--pink), -1px -1px var(--purple); }
}
.nav-menu { display: flex; gap: 4px; }
.nav-link {
  padding: 10px 18px; font-size: 0.85rem;
  color: var(--text2); font-weight: 500;
  border-radius: var(--radius); transition: var(--transition);
  position: relative; overflow: hidden;
}
.nav-link span { display: block; transition: var(--transition); }
.nav-link:hover span, .nav-link.active span {
  transform: translateY(-100%); opacity: 0;
}
.nav-link::before {
  content: attr(data-text);
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, 100%);
  color: var(--cyan); font-weight: 600; opacity: 0;
  transition: var(--transition);
}
.nav-link:hover::before, .nav-link.active::before {
  transform: translate(-50%, -50%); opacity: 1;
}
.nav-link.active { background: var(--cyan-dim); }
.nav-actions { display: flex; gap: 12px; align-items: center; }
.theme-toggle {
  width: 42px; height: 42px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  background: var(--glass); border: 1px solid var(--border);
  color: var(--text2); transition: var(--transition);
}
.theme-toggle:hover { border-color: var(--cyan); color: var(--cyan); }
.toggle-icon { position: relative; width: 18px; height: 18px; }
.toggle-icon svg {
  position: absolute; inset: 0; width: 100%; height: 100%;
  transition: var(--transition);
}
.sun-icon  { opacity: 1; }
.moon-icon { opacity: 0; transform: rotate(-90deg); }
.nav-cta {
  padding: 10px 24px;
  background: var(--gradient); color: var(--bg);
  border-radius: var(--radius); font-size: 0.85rem;
  font-weight: 700; letter-spacing: 0.5px;
  transition: var(--transition);
  position: relative; overflow: hidden;
}
.nav-cta::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transform: translateX(-100%);
  transition: 0.6s;
}
.nav-cta:hover::before { transform: translateX(100%); }
.nav-cta:hover { box-shadow: 0 0 24px rgba(0, 229, 255, 0.4); transform: translateY(-2px); }
.btn-glow { display: none; }
.nav-toggle {
  display: none; flex-direction: column; gap: 5px;
  padding: 10px; z-index: 1001;
}
.nav-toggle .bar {
  width: 24px; height: 2px;
  background: var(--text); border-radius: 2px;
  transition: var(--transition);
}
.nav-toggle.active .bar-1 { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.active .bar-2 { opacity: 0; transform: scaleX(0); }
.nav-toggle.active .bar-3 { transform: rotate(-45deg) translate(5px, -5px); }

/* ============================================
   5. HERO SECTION — Premium Landing
   ============================================ */
.hero {
  min-height: 100vh; display: flex;
  align-items: center; justify-content: space-between;
  gap: 80px; padding: 140px clamp(20px, 4vw, 40px) 80px;
  max-width: 1200px; margin: 0 auto;
  position: relative;
}
.hero-content { flex: 1; max-width: 620px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 20px; background: var(--glass);
  border: 1px solid var(--border); border-radius: var(--radius-full);
  font-size: 0.825rem; color: var(--text2); margin-bottom: 28px;
}
.badge-pulse {
  width: 8px; height: 8px;
  background: var(--green); border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(0, 230, 118, 0.5); }
  50%      { box-shadow: 0 0 0 8px transparent; }
}
.animate-pop {
  animation: popIn 0.7s var(--ease-spring) forwards;
  opacity: 0;
}
@keyframes popIn {
  from { opacity: 0; transform: scale(0.6) translateY(10px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}
.animate-slide-up {
  animation: slideUp 0.9s var(--ease-out) forwards;
  animation-delay: var(--delay, 0s);
  opacity: 0;
}
@keyframes slideUp {
  from { opacity: 0; transform: translateY(40px); }
  to   { opacity: 1; transform: translateY(0); }
}
.title-line {
  display: block; font-size: 1.15rem;
  color: var(--text2); margin-bottom: 8px;
  font-weight: 400; letter-spacing: 1px;
}
.title-name {
  display: block; font-family: var(--font-display);
  font-size: clamp(2.5rem, 5.5vw, 4.2rem);
  font-weight: 800; line-height: 1.1;
  position: relative;
}
.gradient-text-animate {
  background: var(--gradient);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientFlow 4s ease infinite;
}
@keyframes gradientFlow {
  0%, 100% { background-position: 0% 50%; }
  50%      { background-position: 100% 50%; }
}
.name-underline {
  position: absolute; bottom: -6px; left: 0;
  width: 100%; height: 3px;
  background: var(--gradient); border-radius: 2px;
  transform: scaleX(0); transform-origin: left;
  animation: drawLine 1s var(--ease-out) forwards 0.8s;
}
@keyframes drawLine { to { transform: scaleX(1); } }
.hero-roles {
  display: flex; align-items: center; gap: 10px;
  font-size: 1.2rem; margin-bottom: 24px;
}
.role-prefix { color: var(--text2); }
.role-wrapper { display: flex; align-items: center; }
.typed-role {
  font-weight: 600;
  background: linear-gradient(90deg, var(--cyan), var(--purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.cursor-blink { color: var(--cyan); animation: blink 1s step-end infinite; }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }
.hero-description {
  font-size: 1.05rem; color: var(--text2);
  line-height: 1.85; margin-bottom: 36px;
  max-width: 540px;
}
.highlight-text { color: var(--cyan); font-weight: 600; }

/* Hero Buttons */
.hero-cta { display: flex; gap: 16px; margin-bottom: 52px; flex-wrap: wrap; }
.btn {
  position: relative; display: inline-flex;
  align-items: center; justify-content: center;
  padding: 15px 32px; font-family: var(--font-display);
  font-size: 0.8rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 1.5px;
  border-radius: var(--radius); overflow: hidden;
  transition: var(--transition);
}
.btn-primary {
  background: var(--gradient); color: var(--bg);
}
.btn-primary .btn-shine {
  position: absolute; top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.25), transparent);
  animation: shine 4s infinite;
}
@keyframes shine { 0% { left: -100%; } 40%, 100% { left: 100%; } }
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(0, 229, 255, 0.4);
}
.btn-content {
  position: relative; display: flex;
  align-items: center; gap: 10px; z-index: 1;
}
.btn-icon { width: 16px; height: 16px; transition: var(--transition); }
.btn:hover .btn-icon { transform: translateX(4px); }
.btn-outline {
  background: transparent; color: var(--text);
  border: 1px solid var(--border);
}
.btn-outline:hover {
  border-color: var(--cyan); color: var(--cyan);
  background: var(--cyan-dim);
}
.btn-bg, .btn-border { display: none; }

/* Hero Stats */
.hero-stats { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.stat-item {
  position: relative; text-align: center;
  padding: 20px 24px; background: var(--glass);
  border: 1px solid var(--border);
  border-radius: var(--radius); transition: var(--transition);
  backdrop-filter: blur(12px);
}
.stat-item:hover {
  transform: translateY(-6px) scale(1.02);
  border-color: var(--cyan);
  box-shadow: var(--shadow-glow);
}
.stat-glow {
  position: absolute; inset: -1px;
  border-radius: var(--radius);
  background: var(--gradient);
  opacity: 0; z-index: -1;
  filter: blur(12px);
  transition: opacity 0.4s;
}
.stat-item:hover .stat-glow { opacity: 0.3; }
.stat-number {
  display: block; font-family: var(--font-display);
  font-size: 2rem; font-weight: 700; color: var(--cyan);
  line-height: 1;
}
.stat-suffix {
  font-family: var(--font-display);
  font-size: 1.25rem; color: var(--purple);
}
.stat-label {
  display: block; font-size: 0.7rem;
  color: var(--text2); margin-top: 6px;
  text-transform: uppercase; letter-spacing: 1px;
}
.stat-divider {
  width: 1px; height: 40px;
  background: var(--border); position: relative;
}
.stat-divider::after {
  content: ''; position: absolute;
  top: 0; left: 0; width: 100%; height: 30%;
  background: var(--cyan); border-radius: 2px;
  animation: dividerPulse 2.5s ease-in-out infinite;
}
@keyframes dividerPulse {
  0%, 100% { top: 0; opacity: 0.8; }
  50%      { top: 70%; opacity: 0.3; }
}
.pulse-line { /* alias */ }

/* Hero Visual — 3D Card */
.hero-visual {
  flex: 1; display: flex;
  align-items: center; justify-content: center;
  perspective: 1000px;
}
.hero-card-3d {
  position: relative; width: 420px; height: 360px;
  transform-style: preserve-3d;
  transition: transform 0.1s ease-out;
}
.card-layers { position: absolute; inset: 0; }
.card-layer {
  position: absolute; inset: 0;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--glass);
  backdrop-filter: blur(8px);
}
.card-layer.layer-1 { transform: translateZ(-24px) scale(0.94); opacity: 0.2; }
.card-layer.layer-2 { transform: translateZ(-12px) scale(0.97); opacity: 0.4; }
.card-layer.layer-3 { transform: translateZ(0); opacity: 0; }
.card-content {
  position: relative; z-index: 1;
  height: 100%; padding: 20px;
}
.code-window {
  background: var(--bg2); border-radius: var(--radius);
  overflow: hidden; height: 100%;
  display: flex; flex-direction: column;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
}
.window-header {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 16px; background: var(--bg);
  border-bottom: 1px solid var(--border);
}
.window-controls { display: flex; gap: 7px; }
.control { width: 11px; height: 11px; border-radius: 50%; }
.control.close    { background: #ff5f57; }
.control.minimize { background: #febc2e; }
.control.maximize { background: #28c840; }
.window-title {
  font-family: var(--font-mono); font-size: 0.7rem;
  color: var(--text3);
}
.code-body {
  flex: 1; padding: 20px;
  font-family: var(--font-mono);
  font-size: 0.78rem; line-height: 1.9;
  color: var(--text2);
}

/* Floating Icons */
.floating-icons { position: absolute; inset: -50px; pointer-events: none; }
.float-icon {
  position: absolute; width: 48px; height: 48px;
  display: flex; align-items: center; justify-content: center;
  background: var(--glass-strong); border: 1px solid var(--border);
  border-radius: 14px; font-size: 1.3rem;
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(12px);
}
.icon-1 { top: -10px; left: 15%; }
.icon-2 { top: 15%; right: -10px; }
.icon-3 { bottom: 15%; right: 5%; }
.icon-4 { bottom: -10px; left: 25%; }
.icon-5 { top: 45%; left: -25px; }
.icon-6 { top: 25%; right: -25px; }
.float-animation {
  animation: floatSmooth 7s ease-in-out infinite;
}
.float-animation-delayed {
  animation: floatSmooth 7s ease-in-out infinite;
  animation-delay: -3.5s;
}
@keyframes floatSmooth {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50%      { transform: translateY(-16px) rotate(3deg); }
}
.orbit-animation {
  animation: orbit 18s linear infinite;
}
.orbit-animation-reverse {
  animation: orbit 22s linear infinite reverse;
}
@keyframes orbit {
  from { transform: rotate(0deg) translateX(28px) rotate(0deg); }
  to   { transform: rotate(360deg) translateX(28px) rotate(-360deg); }
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute; bottom: 40px; left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column;
  align-items: center; gap: 8px;
  color: var(--text3); font-size: 0.7rem;
  letter-spacing: 2px; text-transform: uppercase;
}
.bounce-animation { animation: gentleBounce 2.5s ease-in-out infinite; }
@keyframes gentleBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%      { transform: translateX(-50%) translateY(-8px); }
}
.scroll-arrow { display: flex; flex-direction: column; gap: 3px; }
.arrow-line {
  width: 8px; height: 8px;
  border-right: 1.5px solid var(--cyan);
  border-bottom: 1.5px solid var(--cyan);
  transform: rotate(45deg);
  animation: arrowFade 1.8s ease-in-out infinite;
}
.arrow-line:nth-child(2) { animation-delay: 0.15s; }
@keyframes arrowFade {
  0%, 100% { opacity: 0.2; }
  50%      { opacity: 0.8; }
}
.fade-in-out { animation: fadeInOut 2s ease-in-out infinite; }
@keyframes fadeInOut {
  0%, 100% { opacity: 0.4; }
  50%      { opacity: 1; }
}

/* ============================================
   6. SECTION HEADERS
   ============================================ */
.section-header { margin-bottom: 64px; }
.section-header.center { text-align: center; }
.section-tag {
  display: inline-block; padding: 6px 18px;
  background: var(--cyan-dim); border: 1px solid rgba(0, 229, 255, 0.15);
  border-radius: var(--radius-full);
  font-family: var(--font-mono); font-size: 0.7rem;
  color: var(--cyan); text-transform: uppercase;
  letter-spacing: 3px; margin-bottom: 16px;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4.5vw, 3rem);
  font-weight: 700; line-height: 1.15;
  margin-bottom: 16px;
}
.section-description {
  font-size: 1.05rem; color: var(--text2);
  max-width: 560px; margin: 0 auto; line-height: 1.7;
}

/* Reveal Animations */
.reveal-fade, .reveal-slide, .reveal-scale, .reveal-flip, .reveal-pop {
  opacity: 0; transition: 0.8s var(--ease-out);
  transition-delay: var(--delay, 0s);
}
.reveal-slide { transform: translateY(40px); }
.reveal-scale { transform: scale(0.85); }
.reveal-flip  { transform: perspective(800px) rotateX(-15deg); }
.reveal-pop   { transform: scale(0.5) translateY(24px); }
.revealed {
  opacity: 1 !important;
  transform: none !important;
}

/* ============================================
   7. ABOUT SECTION
   ============================================ */
.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 80px; align-items: center;
}
.image-frame { position: relative; padding: 16px; }
.animated-border {
  position: absolute; inset: 0;
  border-radius: var(--radius-lg); padding: 2px;
  background: var(--gradient); background-size: 300% 300%;
  animation: borderShift 5s linear infinite;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
}
@keyframes borderShift {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
.image-placeholder {
  aspect-ratio: 1;
  background: var(--glass); border-radius: 20px;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.morph-shape {
  animation: morphShape 10s ease-in-out infinite;
}
@keyframes morphShape {
  0%, 100% { border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; }
  25%      { border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%; }
  50%      { border-radius: 50% 60% 30% 60% / 30% 60% 70% 40%; }
  75%      { border-radius: 40% 30% 60% 50% / 60% 40% 30% 70%; }
}
.placeholder-icon { font-size: 5rem; }
.image-overlay { display: none; }
.pulse-glow {
  position: absolute; inset: -30px; border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 229, 255, 0.15), transparent 70%);
  filter: blur(40px); z-index: -1;
  animation: glowPulse 4s ease-in-out infinite;
}
@keyframes glowPulse {
  0%, 100% { opacity: 0.3; transform: scale(1); }
  50%      { opacity: 0.5; transform: scale(1.08); }
}
.experience-badge {
  position: absolute; bottom: -16px; right: -16px;
  background: var(--glass-strong);
  border: 1px solid var(--border);
  border-radius: var(--radius); padding: 20px;
  text-align: center;
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(16px);
}
.exp-number {
  font-family: var(--font-display);
  font-size: 2.5rem; font-weight: 700;
  color: var(--cyan); line-height: 1;
}
.exp-plus { font-size: 1.5rem; color: var(--purple); }
.exp-text {
  display: block; font-size: 0.7rem;
  color: var(--text2); margin-top: 4px;
  line-height: 1.4; text-transform: uppercase;
  letter-spacing: 1px;
}
.slide-in-right {
  animation: slideInRight 0.8s var(--ease-out) forwards;
  animation-delay: 0.6s; opacity: 0;
}
@keyframes slideInRight {
  from { opacity: 0; transform: translateX(30px); }
  to   { opacity: 1; transform: translateX(0); }
}
.spin-slow { /* keeping badge static for cleaner look */ }
.about-content { display: flex; flex-direction: column; gap: 32px; }
.about-text p {
  color: var(--text2); line-height: 1.85;
  margin-bottom: 16px;
}
.about-text .lead { font-size: 1.1rem; }
.highlight-word { color: var(--cyan); font-weight: 600; }
.text-reveal {
  animation: textReveal 0.8s var(--ease-out) forwards;
  animation-delay: var(--delay, 0s); opacity: 0;
}
@keyframes textReveal {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
.about-highlights { display: flex; flex-direction: column; gap: 14px; }
.highlight-item {
  display: flex; align-items: center; gap: 20px;
  padding: 20px 24px;
  background: var(--glass); border: 1px solid var(--border);
  border-radius: var(--radius); transition: var(--transition);
  overflow: hidden; position: relative;
}
.hover-3d:hover {
  transform: translateY(-4px);
  border-color: var(--border-hover);
  box-shadow: var(--shadow-card);
}
.highlight-icon { font-size: 1.75rem; flex-shrink: 0; }
.wobble-hover:hover { animation: wobble 0.5s; }
@keyframes wobble {
  0%, 100% { transform: rotate(0deg); }
  25%      { transform: rotate(-8deg); }
  75%      { transform: rotate(8deg); }
}
.highlight-content h4 {
  font-family: var(--font-display);
  font-size: 0.9rem; font-weight: 600;
  margin-bottom: 4px;
}
.highlight-content p { font-size: 0.85rem; color: var(--text2); }
.highlight-shine {
  position: absolute; top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.04), transparent);
  transition: 0.7s;
}
.highlight-item:hover .highlight-shine { left: 100%; }
.about-cta { padding-top: 8px; }
.btn-icon-left { width: 16px; height: 16px; }

/* ============================================
   8. SERVICES
   ============================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.service-card {
  position: relative; padding: 36px 28px;
  background: var(--glass); border: 1px solid var(--border);
  border-radius: var(--radius-lg); overflow: hidden;
  transition: var(--transition);
  backdrop-filter: blur(8px);
}
.service-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-6px);
  box-shadow: var(--shadow-card);
}
.gradient-shift {
  position: absolute; inset: 0;
  background: var(--gradient); background-size: 300% 300%;
  opacity: 0; transition: opacity 0.4s;
  animation: gradientFlow 6s infinite;
}
.service-card:hover .gradient-shift { opacity: 0.04; }
.service-icon {
  position: relative; width: 64px; height: 64px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem; margin-bottom: 20px;
}
.icon-float { animation: iconFloat 4s ease-in-out infinite; }
@keyframes iconFloat {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-6px); }
}
.pulse-ring {
  position: absolute; inset: -8px;
  border: 1.5px solid var(--cyan); border-radius: 50%;
  opacity: 0; animation: ringPulse 2.5s ease-out infinite;
}
@keyframes ringPulse {
  0%   { transform: scale(0.8); opacity: 0.6; }
  100% { transform: scale(1.6); opacity: 0; }
}
.service-title {
  font-family: var(--font-display);
  font-size: 1.1rem; font-weight: 600;
  margin-bottom: 12px;
}
.service-description {
  font-size: 0.88rem; color: var(--text2);
  line-height: 1.75; margin-bottom: 20px;
}
.service-features { display: flex; flex-direction: column; gap: 10px; }
.service-features li {
  display: flex; align-items: center; gap: 10px;
  font-size: 0.85rem; color: var(--text2);
}
.feature-dot {
  width: 5px; height: 5px;
  background: var(--cyan); border-radius: 50%;
  flex-shrink: 0;
}
.stagger-list { /* handled by JS */ }
.slide-arrow, .card-arrow {
  position: absolute; bottom: 28px; right: 28px;
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  background: var(--bg2); border-radius: 50%;
  color: var(--text3); transform: translateX(-8px);
  opacity: 0; transition: var(--transition);
}
.slide-arrow svg, .card-arrow svg { width: 16px; height: 16px; }
.service-card:hover .slide-arrow,
.service-card:hover .card-arrow {
  transform: translateX(0); opacity: 1; color: var(--cyan);
}
.card-shine {
  position: absolute; top: 0; left: -100%;
  width: 50%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.03), transparent);
  transition: 0.7s;
}
.service-card:hover .card-shine { left: 150%; }

/* ============================================
   9. SKILLS
   ============================================ */
.skills-wrapper {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 60px; align-items: start;
}
.skills-orbit {
  position: relative; width: 100%;
  aspect-ratio: 1; max-width: 380px; margin: 0 auto;
}
.orbit-center {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 72px; height: 72px;
  display: flex; align-items: center; justify-content: center;
}
.center-icon { font-size: 1.75rem; z-index: 1; }
.pulse-scale { animation: pulseScale 2.5s ease-in-out infinite; }
@keyframes pulseScale {
  0%, 100% { transform: scale(1); }
  50%      { transform: scale(1.15); }
}
.center-ring {
  position: absolute;
  border: 1px solid var(--border); border-radius: 50%;
}
.ring-1 { width: 140px; height: 140px; }
.ring-2 { width: 240px; height: 240px; }
.ring-3 { width: 340px; height: 340px; }
.rotate-slow {
  animation: rotateOrbit 35s linear infinite;
}
.rotate-slow-reverse {
  animation: rotateOrbit 45s linear infinite reverse;
}
.rotate-medium {
  animation: rotateOrbit 25s linear infinite;
}
@keyframes rotateOrbit {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to   { transform: translate(-50%, -50%) rotate(360deg); }
}
.skill-planet { position: absolute; }
.planet-content {
  display: flex; flex-direction: column;
  align-items: center; gap: 6px; padding: 14px;
  background: var(--glass); border: 1px solid var(--border);
  border-radius: var(--radius); transition: var(--transition);
  backdrop-filter: blur(8px);
}
.hover-glow:hover {
  border-color: var(--cyan);
  box-shadow: 0 0 24px rgba(0, 229, 255, 0.2);
}
.planet-icon { font-size: 1.3rem; }
.planet-label { font-size: 0.7rem; font-weight: 500; }
.planet-1 { top: 0; left: 50%; transform: translateX(-50%); }
.planet-2 { top: 50%; right: 0; transform: translateY(-50%); }
.planet-3 { bottom: 0; left: 50%; transform: translateX(-50%); }
.planet-4 { top: 50%; left: 0; transform: translateY(-50%); }
.skills-list { display: flex; flex-direction: column; gap: 28px; }
.skill-category {
  padding: 24px; background: var(--glass);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(8px);
}
.category-title {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--font-display);
  font-size: 0.95rem; font-weight: 600;
  margin-bottom: 20px;
}
.category-icon { font-size: 1.15rem; }
.bounce-hover:hover {
  animation: bounceSmall 0.5s var(--ease-spring);
}
@keyframes bounceSmall {
  0%, 100% { transform: translateY(0); }
  40%      { transform: translateY(-6px); }
}
.skill-bars { display: flex; flex-direction: column; gap: 16px; }
.skill-bar { position: relative; }
.bar-info {
  display: flex; justify-content: space-between;
  margin-bottom: 8px; font-size: 0.85rem;
}
.bar-name { color: var(--text2); }
.bar-percent { color: var(--cyan); font-weight: 600; font-family: var(--font-mono); }
.bar-track {
  height: 6px; background: var(--bg);
  border-radius: 3px; overflow: hidden;
  position: relative;
}
.bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--cyan), var(--purple));
  border-radius: 3px; width: 0;
  transition: width 1.5s var(--ease-out);
}
.bar-glow {
  position: absolute; top: -4px; right: 0;
  width: 12px; height: 14px;
  background: var(--cyan); border-radius: 50%;
  filter: blur(6px); opacity: 0;
  transition: opacity 0.5s;
}
.skill-bar.revealed .bar-fill { width: var(--level, 80%); }
.skill-bar.revealed .bar-glow { opacity: 0.4; }
.skill-tags { display: flex; flex-wrap: wrap; gap: 10px; }
.skill-tag {
  padding: 8px 16px;
  background: var(--bg); border: 1px solid var(--border);
  border-radius: var(--radius-full);
  font-size: 0.78rem; color: var(--text2);
  transition: var(--transition);
}
.tag-pop {
  opacity: 0; transform: scale(0) translateY(10px);
  transition: 0.5s var(--ease-spring);
  transition-delay: calc(var(--i, 0) * 0.04s);
}
.skill-category.revealed .tag-pop {
  opacity: 1; transform: scale(1) translateY(0);
}
.skill-tag:hover {
  background: var(--cyan); color: var(--bg);
  border-color: var(--cyan);
  transform: translateY(-3px);
  box-shadow: 0 4px 16px rgba(0, 229, 255, 0.3);
}

/* ============================================
   10. PROJECTS
   ============================================ */
.projects-filter {
  display: flex; justify-content: center;
  gap: 10px; margin-bottom: 48px; flex-wrap: wrap;
}
.filter-btn {
  padding: 10px 24px; font-size: 0.83rem;
  font-weight: 500; color: var(--text2);
  background: var(--glass); border: 1px solid var(--border);
  border-radius: var(--radius-full); transition: var(--transition);
}
.filter-btn:hover { border-color: var(--cyan); color: var(--cyan); }
.filter-btn.active {
  color: var(--bg); background: var(--cyan);
  border-color: var(--cyan);
  box-shadow: 0 4px 20px rgba(0, 229, 255, 0.3);
}
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}
.project-card {
  position: relative; background: var(--glass);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg); overflow: hidden;
  transition: var(--transition);
  backdrop-filter: blur(8px);
}
.project-card:hover {
  transform: translateY(-6px);
  border-color: transparent;
  box-shadow: var(--shadow-card);
}
.project-card:hover .card-border { opacity: 1; }
.project-image {
  position: relative; aspect-ratio: 16/10; overflow: hidden;
}
.gradient-mesh {
  width: 100%; height: 100%;
  background: linear-gradient(135deg, var(--gradient-start, var(--cyan)), var(--gradient-end, var(--purple)));
  display: flex; align-items: center; justify-content: center;
  transition: transform 0.5s var(--ease-out);
}
.project-card:hover .gradient-mesh { transform: scale(1.05); }
.gradient-mesh .placeholder-icon { font-size: 3.5rem; opacity: 0.6; }
.project-overlay {
  position: absolute; inset: 0;
  background: rgba(6, 6, 17, 0.85);
  backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: 0.3s;
}
.project-card:hover .project-overlay { opacity: 1; }
.slide-up-content {
  display: flex; gap: 14px;
  transform: translateY(16px); transition: 0.4s var(--ease-out);
}
.project-card:hover .slide-up-content { transform: translateY(0); }
.project-link {
  width: 48px; height: 48px;
  display: flex; align-items: center; justify-content: center;
  background: var(--glass); border: 1px solid var(--border);
  border-radius: 50%; color: var(--text); transition: var(--transition);
}
.project-link:hover {
  background: var(--cyan); border-color: var(--cyan);
  color: var(--bg); transform: scale(1.1);
}
.project-link svg { width: 18px; height: 18px; }
.image-glitch {
  position: absolute; inset: 0; opacity: 0;
  background: var(--gradient); mix-blend-mode: overlay;
}
.project-card:hover .image-glitch {
  animation: imageGlitch 0.4s steps(3);
}
@keyframes imageGlitch {
  0%, 100% { opacity: 0; }
  25% { opacity: 0.3; clip-path: inset(20% 0 60% 0); }
  50% { opacity: 0.3; clip-path: inset(60% 0 20% 0); }
}
.project-info { padding: 24px; }
.project-category {
  display: inline-block; font-size: 0.7rem;
  font-weight: 600; text-transform: uppercase;
  letter-spacing: 1.5px; margin-bottom: 8px;
}
.text-shimmer {
  background: var(--gradient); background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 3s linear infinite;
}
@keyframes shimmer {
  0%   { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}
.project-title {
  font-family: var(--font-display);
  font-size: 1.05rem; font-weight: 600;
  margin-bottom: 8px;
}
.project-description {
  font-size: 0.85rem; color: var(--text2);
  line-height: 1.65; margin-bottom: 16px;
}
.project-tech { display: flex; flex-wrap: wrap; gap: 8px; }
.tech-tag {
  padding: 4px 12px; font-size: 0.72rem;
  color: var(--cyan); background: var(--cyan-dim);
  border-radius: var(--radius-full);
  font-family: var(--font-mono);
}
.card-border {
  position: absolute; inset: 0;
  border-radius: var(--radius-lg); padding: 1.5px;
  background: var(--gradient); background-size: 300% 300%;
  animation: borderShift 5s linear infinite;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  opacity: 0; transition: opacity 0.4s;
  pointer-events: none;
}

/* ============================================
   11. CONTACT
   ============================================ */
.contact-grid {
  display: grid; grid-template-columns: 1fr 1.5fr;
  gap: 60px;
}
.contact-info { display: flex; flex-direction: column; gap: 18px; }
.info-card {
  padding: 22px; background: var(--glass);
  border: 1px solid var(--border);
  border-radius: var(--radius); transition: var(--transition);
  backdrop-filter: blur(8px);
}
.info-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-3px);
}
.info-icon { font-size: 1.4rem; margin-bottom: 10px; }
.info-card h4 {
  font-size: 0.8rem; color: var(--text3);
  margin-bottom: 4px; text-transform: uppercase;
  letter-spacing: 1px;
}
.info-link, .info-text { font-size: 0.95rem; font-weight: 500; }
.info-link { color: var(--text); transition: var(--transition); }
.info-link:hover { color: var(--cyan); }
.status-available {
  display: flex; align-items: center; gap: 8px;
  color: var(--green);
}
.status-dot, .pulse-dot {
  width: 8px; height: 8px;
  background: var(--green); border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}
.social-links { display: flex; gap: 10px; margin-top: 16px; }
.social-link {
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  background: var(--glass); border: 1px solid var(--border);
  border-radius: 12px; color: var(--text2);
  transition: var(--transition);
}
.social-link:hover {
  color: var(--cyan); border-color: var(--cyan);
  transform: translateY(-3px);
  box-shadow: 0 4px 16px rgba(0, 229, 255, 0.2);
}
.social-link svg { width: 18px; height: 18px; }

/* Contact Form */
.contact-form { display: flex; flex-direction: column; gap: 28px; }
.form-group { position: relative; }
.form-input {
  width: 100%; padding: 16px 0;
  background: transparent; border: none;
  border-bottom: 1px solid var(--border);
  color: var(--text); font-size: 0.95rem;
  font-family: var(--font-body);
  transition: var(--transition);
}
.form-input:focus { outline: none; border-color: var(--cyan); }
.form-label {
  position: absolute; left: 0; top: 16px;
  color: var(--text3); font-size: 0.95rem;
  pointer-events: none; transition: var(--transition);
}
.form-input:focus ~ .form-label,
.form-input:not(:placeholder-shown) ~ .form-label {
  top: -10px; font-size: 0.72rem;
  color: var(--cyan); letter-spacing: 1px;
}
.form-input::placeholder { color: transparent; }
.input-line {
  position: absolute; bottom: 0; left: 0;
  width: 0; height: 2px;
  background: var(--gradient); transition: width 0.4s var(--ease-out);
}
.form-input:focus ~ .input-line { width: 100%; }
.input-highlight { display: none; }
.form-textarea { resize: none; min-height: 120px; }
.btn-full { width: 100%; }
.btn-loader { display: none; gap: 4px; }
.loader-dot {
  width: 7px; height: 7px;
  background: currentColor; border-radius: 50%;
  animation: dotBounce 1s ease-in-out infinite;
}
.loader-dot:nth-child(2) { animation-delay: 0.15s; }
.loader-dot:nth-child(3) { animation-delay: 0.3s; }
@keyframes dotBounce {
  0%, 100% { transform: scale(0.6); opacity: 0.4; }
  50%      { transform: scale(1); opacity: 1; }
}

/* ============================================
   12. FOOTER
   ============================================ */
.footer {
  position: relative; padding: 56px 0 28px;
  background: var(--bg2);
  border-top: 1px solid var(--border);
}
.footer-glow {
  position: absolute; top: -1px; left: 50%;
  transform: translateX(-50%);
  width: 40%; height: 2px;
  background: var(--gradient);
  filter: blur(16px);
}
.footer-content {
  display: flex; flex-direction: column;
  align-items: center; gap: 28px; text-align: center;
}
.footer-logo {
  font-family: var(--font-display);
  font-size: 1.3rem; font-weight: 700;
}
.footer-tagline {
  font-size: 0.85rem; color: var(--text2); margin-top: 6px;
}
.footer-nav {
  display: flex; gap: 24px; flex-wrap: wrap;
  justify-content: center;
}
.footer-link {
  font-size: 0.85rem; color: var(--text2);
  transition: var(--transition); position: relative;
}
.footer-link:hover { color: var(--cyan); }
.hover-underline::after {
  content: ''; position: absolute;
  bottom: -3px; left: 0; width: 0; height: 1px;
  background: var(--cyan); transition: width 0.3s var(--ease-out);
}
.hover-underline:hover::after { width: 100%; }
.footer-bottom {
  display: flex; align-items: center;
  justify-content: space-between;
  width: 100%; padding-top: 28px;
  border-top: 1px solid var(--border);
}
.copyright { font-size: 0.8rem; color: var(--text3); }
.back-to-top {
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  background: var(--glass); border: 1px solid var(--border);
  border-radius: 10px; color: var(--text2);
  transition: var(--transition);
}
.back-to-top:hover {
  color: var(--cyan); border-color: var(--cyan);
  transform: translateY(-3px);
}
.back-to-top svg { width: 18px; height: 18px; }

/* ============================================
   13. UTILITY ANIMATIONS
   ============================================ */
.hover-lift { transition: var(--transition); }
.hover-lift:hover { transform: translateY(-4px); }
.magnetic-hover { transition: var(--transition); }
.ripple-btn { position: relative; overflow: hidden; }
.parallax-tilt { transition: transform 0.1s ease-out; }

/* ============================================
   14. LIGHT THEME (disabled - dark only)
   ============================================ */
.light-theme {
  --bg: #f0f2f8;
  --bg2: #ffffff;
  --bg3: #e8eaf0;
  --surface: rgba(255, 255, 255, 0.7);
  --glass: rgba(255, 255, 255, 0.6);
  --glass-strong: rgba(255, 255, 255, 0.9);
  --text: #0f1129;
  --text2: #4a4e6a;
  --text3: #8b8fa8;
  --border: rgba(0, 0, 0, 0.08);
  --border-hover: rgba(0, 0, 0, 0.15);
  --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.08);
}
.light-theme .sun-icon  { opacity: 0; transform: rotate(90deg); }
.light-theme .moon-icon { opacity: 1; transform: rotate(0); }

/* ============================================
   15. RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .hero {
    flex-direction: column; text-align: center;
    padding-top: 140px; gap: 48px;
  }
  .hero-content { max-width: 100%; }
  .hero-cta, .hero-stats, .hero-roles { justify-content: center; }
  .hero-description { margin-left: auto; margin-right: auto; }
  .hero-visual { display: none; }
  .about-grid, .skills-wrapper, .contact-grid {
    grid-template-columns: 1fr;
  }
  .about-image { max-width: 360px; margin: 0 auto; }
  .skills-orbit { max-width: 280px; }
}

@media (max-width: 768px) {
  .section { padding: 72px 0; }
  .nav-menu {
    position: fixed; top: 0; right: -100%;
    width: 80%; max-width: 380px; height: 100vh;
    background: var(--glass-strong);
    backdrop-filter: blur(32px);
    flex-direction: column; justify-content: center;
    padding: 40px; gap: 8px;
    transition: right 0.4s var(--ease-out);
    border-left: 1px solid var(--border);
    box-shadow: -20px 0 60px rgba(0, 0, 0, 0.4);
  }
  .nav-menu.active { right: 0; }
  .nav-toggle { display: flex; }
  .nav-cta { display: none; }
  .hero-stats { flex-direction: column; gap: 12px; }
  .stat-divider { width: 40px; height: 1px; }
  .contact-grid { gap: 40px; }
  .footer-bottom { flex-direction: column; gap: 16px; }
  .cursor-dot, .cursor-ring { display: none; }
}

@media (max-width: 480px) {
  .section-title { font-size: 1.6rem; }
  .hero .title-name { font-size: 2rem; }
  .btn { padding: 13px 24px; font-size: 0.75rem; }
  .projects-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
}

/* ============================================
   16. CANVAS (Particle system via JS)
   ============================================ */
#particleCanvas {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  pointer-events: none; opacity: 0.4;
}

/* ============================================
   17. ACCESSIBILITY
   ============================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 2px;
  border-radius: 4px;
}
