/* ============================================
   DARK MOTION — CSS
   ============================================ */

/* Reset & Base */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  width: 100%;
  overflow-x: hidden;
}

/* ============================================
   LOADER
   ============================================ */
.loader {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

.loader.done {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

/* Hide ALL page content until loader finishes */
body:not(.loaded) .nav,
body:not(.loaded) .hero,
body:not(.loaded) .section,
body:not(.loaded) .footer,
body:not(.loaded) .cursor,
body:not(.loaded) .cursor-follower {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

.loader-inner {
  text-align: center;
  width: 200px;
}

.loader-logo {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 3px;
  margin-bottom: 24px;
}

.loader-logo span {
  background: linear-gradient(90deg, #ffffff, var(--accent), var(--accent-mid), #ffffff);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.loader-bar-track {
  width: 100%;
  height: 2px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
  overflow: hidden;
}

.loader-bar {
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, #ffffff, var(--accent), var(--accent-mid), #ffffff);
  border-radius: 2px;
  transition: width 0.3s ease;
}

.loader-text {
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.3);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-top: 12px;
}

:root {
  --bg: #000000;
  --bg-secondary: #050505;
  --text: #ffffff;
  --text-secondary: rgba(255, 255, 255, 0.6);
  --text-tertiary: rgba(255, 255, 255, 0.3);
  --accent: #DFA6DD;
  --accent-glow: rgba(223, 166, 221, 0.3);
  --accent-mid: #BCD1F1;
  --accent-red: #FD3D3D;
  --glass-bg: rgba(255, 255, 255, 0.03);
  --glass-border: rgba(255, 255, 255, 0.08);
  --glass-hover: rgba(255, 255, 255, 0.06);
  --radius: 16px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
  font-size: 16px;
  scroll-behavior: auto; /* Lenis handles smooth scroll */
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  cursor: none;
}

/* Pure black during video playback — only video visible */
body.video-playing {
  background: #000;
}

body.video-playing .nav,
body.video-playing .hero-content,
body.video-playing .scroll-indicator {
  opacity: 0;
  pointer-events: none;
}

body.video-playing .blur-blob,
body.video-playing .work-section::before,
body.video-playing .about-section::before,
body.video-playing .contact-section::before {
  opacity: 0;
}

/* ============================================
   CUSTOM CURSOR
   ============================================ */
.cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 8px;
  height: 8px;
  background: var(--text);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: width 0.3s, height 0.3s, background 0.3s;
}

.cursor-follower {
  position: fixed;
  top: 0;
  left: 0;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition: width 0.3s, height 0.3s, border-color 0.3s;
}

.cursor.hover {
  width: 60px;
  height: 60px;
  background: rgba(255, 255, 255, 0.1);
  mix-blend-mode: difference;
}

.cursor-follower.hover {
  width: 80px;
  height: 80px;
  border-color: var(--accent);
}

/* ============================================
   NAVIGATION
   ============================================ */
.nav {
  position: fixed;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  padding: 14px 32px;
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(40px) saturate(1.8);
  -webkit-backdrop-filter: blur(40px) saturate(1.8);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  width: fit-content;
  max-width: calc(100vw - 32px);
  overflow-x: auto;
}

.nav-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 48px;
}

.nav-logo {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
  letter-spacing: 2px;
}

.nav-logo span {
  color: var(--accent);
}

.nav-links {
  display: flex;
  gap: 32px;
}

.nav-link {
  font-size: 0.8rem;
  font-weight: 400;
  color: var(--text-secondary);
  text-decoration: none;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  transition: color var(--transition);
}

.nav-link:hover {
  color: var(--text);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: visible;
  padding-bottom: 80px;
  background: #000;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 24px;
}

.hero-subtitle {
  font-size: 0.8rem;
  font-weight: 400;
  color: var(--text-tertiary);
  letter-spacing: 6px;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.hero-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(3rem, 10vw, 7rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -3px;
  margin-bottom: 40px;
}

.hero-title .line-reveal {
  overflow: hidden;
}

.hero-title .line-reveal span {
  display: inline-block;
}

.title-line {
  overflow: hidden;
  display: block;
}

.title-line [data-char] {
  display: inline-block;
  opacity: 0;
  transform: translateY(80px) rotateX(-40deg) scale(0.8);
  filter: blur(8px);
  transform-origin: bottom center;
  will-change: transform, opacity, filter;
}

/* Gradient shimmer — applied to each char after animation */
.hero-title .title-line:first-child [data-char] {
  background: linear-gradient(90deg, #ffffff 0%, #ffffff 40%, var(--accent) 60%, #ffffff 80%, #ffffff 100%);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: titleShimmer 4s ease-in-out infinite;
  animation-delay: 2s;
}

.hero-title .title-line:last-child [data-char] {
  background: linear-gradient(90deg, #ffffff 0%, #ffffff 30%, var(--accent) 42%, var(--accent) 58%, var(--accent-mid) 68%, #ffffff 80%, #ffffff 100%);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: titleShimmer 4s ease-in-out infinite;
  animation-delay: 2.5s;
}

@keyframes titleShimmer {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.hero-cta {
  margin-top: 48px;
}

.btn-primary {
  display: inline-block;
  padding: 16px 48px;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 100px;
  text-decoration: none;
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 100px;
  background: linear-gradient(90deg, #ffffff, var(--accent), var(--accent-mid), #ffffff);
  background-size: 200% 200%;
  opacity: 0;
  transition: opacity 0.3s;
  z-index: -1;
  animation: gradientShift 3s ease infinite;
}

.btn-primary:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: transparent;
  box-shadow:
    0 0 40px var(--accent-glow),
    0 0 80px rgba(99, 102, 241, 0.1);
  transform: translateY(-2px);
}

.btn-primary:hover::before {
  opacity: 0.15;
}

@keyframes gradientShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

/* Guide Lines SVG */
.guide-lines {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

.guide-line {
  stroke-dasharray: 1000;
  stroke-dashoffset: 1000;
}

.guide-dot {
  opacity: 0;
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  z-index: 2;
  margin-top: 40px;
}

.scroll-text {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-tertiary);
  letter-spacing: 3px;
  text-transform: uppercase;
}

.scroll-line {
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, var(--text-tertiary), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(0.5); }
  50% { opacity: 1; transform: scaleY(1); }
}

/* ============================================
   SECTIONS
   ============================================ */
.section {
  position: relative;
  padding: 120px 0;
  border-top: 1px solid rgba(255,255,255,0.03);
  overflow: hidden;
}

.container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
  box-sizing: border-box;
}

.section-header {
  margin-bottom: 80px;
}

.section-label {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: 5px;
  text-transform: uppercase;
  margin-bottom: 20px;
  opacity: 0.8;
}

.section-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -1px;
}

.section-title .line-reveal {
  overflow: hidden;
}

.section-title .line-reveal span {
  display: inline-block;
}

/* ============================================
   PROJECT CARDS — GLASSMORPHISM
   ============================================ */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  width: 100%;
}

.project-card {
  cursor: none;
  text-decoration: none;
  color: inherit;
  display: block;
  min-width: 0;
  perspective: 1000px;
}

.card-glass {
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  overflow: hidden;
  backdrop-filter: blur(40px) saturate(1.5);
  -webkit-backdrop-filter: blur(40px) saturate(1.5);
  transition: background 0.4s, border-color 0.4s, box-shadow 0.4s;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.15);
  height: 100%;
  transform-style: preserve-3d;
  will-change: transform;
}

.card-glass > a {
  display: block;
  text-decoration: none;
  color: inherit;
}

.card-actions {
  padding: 0 32px 24px;
}

.card-glass:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.35),
    0 0 40px rgba(99, 102, 241, 0.08);
}

.card-image {
  position: relative;
  height: 180px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.02);
}

.card-image-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.15), rgba(236, 72, 153, 0.1));
}

.card-image-placeholder span {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-tertiary);
  letter-spacing: 2px;
}

.card-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.6) 100%);
  z-index: 1;
  transition: opacity 0.4s ease;
}

.card-glass:hover .card-image::after {
  opacity: 0.5;
}

.card-image img {
  width: 110%;
  height: 110%;
  object-fit: cover;
  margin: -5%;
  will-change: transform;
}

.card-content {
  padding: 28px 32px;
}

.card-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 8px;
  letter-spacing: -0.5px;
  will-change: transform;
}

.card-content {
  will-change: transform;
}

.card-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.card-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.card-tags span {
  padding: 4px 12px;
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--text-tertiary);
  background: rgba(255, 255, 255, 0.03);
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.04);
}

.btn-card-action {
  display: inline-block;
  padding: 8px 20px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text);
  background: var(--accent);
  border: none;
  border-radius: 8px;
  text-decoration: none;
  transition: all var(--transition);
  cursor: pointer;
}

.btn-card-action:hover {
  background: #818cf8;
  box-shadow: 0 0 20px var(--accent-glow);
  transform: translateY(-1px);
}

/* ============================================
   ABOUT SECTION
   ============================================ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.about-text {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text-secondary);
  margin-bottom: 20px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 48px;
  padding-top: 48px;
  border-top: 1px solid var(--glass-border);
}

.stat-number {
  display: block;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2.5rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
  letter-spacing: -1px;
}

.stat-label {
  font-size: 0.75rem;
  color: var(--text-tertiary);
  text-transform: uppercase;
  letter-spacing: 3px;
}

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact-section {
  min-height: 80vh;
  display: flex;
  align-items: center;
}

.contact-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.contact-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2.5rem, 7vw, 5rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -2px;
  margin: 24px 0 40px;
}

.contact-title .line-reveal {
  overflow: hidden;
}

.contact-title .line-reveal span {
  display: inline-block;
}

.contact-links {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 16px;
  text-decoration: none;
  color: var(--text-secondary);
  transition: all var(--transition);
}

.contact-item:hover {
  color: var(--text);
}

.contact-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all var(--transition);
}

.contact-icon svg {
  width: 20px;
  height: 20px;
}

.contact-item:hover .contact-icon {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.2);
}

.contact-text {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(0.9rem, 2vw, 1.2rem);
  font-weight: 400;
  letter-spacing: 0.5px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  padding-bottom: 4px;
}

.contact-item:hover .contact-text {
  border-color: var(--accent);
}

/* ============================================
   CREDITS
   ============================================ */
.credits-section {
  min-height: auto;
  padding: 80px 0;
}

.credits-content {
  text-align: center;
}

.credits-card {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.credits-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  transition: transform var(--transition);
}

.credits-link:hover {
  transform: translateY(-4px);
}

.credits-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255, 255, 255, 0.1);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.credits-link:hover .credits-avatar {
  border-color: var(--accent);
  box-shadow: 0 0 24px var(--accent-glow);
}

.credits-name {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-secondary);
  letter-spacing: 1px;
  transition: color var(--transition);
}

.credits-link:hover .credits-name {
  color: var(--text);
}

.credits-desc {
  font-size: 0.8rem;
  color: var(--text-tertiary);
  letter-spacing: 0.5px;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  padding: 32px 0;
  border-top: 1px solid var(--glass-border);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 48px;
}

.footer-copy {
  font-size: 0.8rem;
  color: var(--text-tertiary);
  letter-spacing: 1px;
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-links a {
  font-size: 0.875rem;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color var(--transition);
}

.footer-links a:hover {
  color: var(--text);
}

/* ============================================
   LOGO VIDEO
   ============================================ */
.logo-video-wrapper {
  margin-bottom: 48px;
  margin-top: 20px;
  display: flex;
  justify-content: center;
  position: relative;
  z-index: 2;
  perspective: 1000px;
}

.logo-video-glass {
  position: relative;
  width: calc(100vw * 2 / 3);
  height: auto;
  aspect-ratio: 16/9;
  border-radius: 0;
  overflow: hidden;
  background: transparent;
  border: 1px solid transparent;
  backdrop-filter: none;
  box-shadow: none;
  will-change: transform, border-radius;
  transition: box-shadow 1s ease, border-color 1s ease, background 1s ease, backdrop-filter 1s ease;
}

.logo-video-glass.video-ended {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  animation: borderFlash 2s ease-out forwards;
}

@keyframes borderFlash {
  0% {
    border-color: transparent;
    box-shadow:
      0 0 0px rgba(223, 166, 221, 0),
      0 0 0px rgba(223, 166, 221, 0),
      inset 0 0 0px rgba(223, 166, 221, 0);
  }
  50% {
    border-color: rgba(223, 166, 221, 0.8);
    box-shadow:
      0 0 80px rgba(223, 166, 221, 0.6),
      0 0 160px rgba(223, 166, 221, 0.3),
      inset 0 0 40px rgba(223, 166, 221, 0.15);
  }
  100% {
    border-color: var(--glass-border);
    box-shadow:
      0 0 60px rgba(223, 166, 221, 0.15),
      0 0 120px rgba(223, 166, 221, 0.05),
      inset 0 0 30px rgba(255, 255, 255, 0.02);
  }
}

.logo-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.video-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, transparent 50%, rgba(10, 10, 10, 0.4));
  pointer-events: none;
}


/* ============================================
   AMBIENT BLUR BLOBS
   ============================================ */
.blur-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(150px);
  opacity: 0;
  pointer-events: none;
  z-index: 0;
  transition: opacity 1.5s ease;
}

.blur-blob.visible {
  opacity: 0.2;
}

.blob-1 {
  top: 10%;
  left: 15%;
  width: 500px;
  height: 500px;
  background: var(--accent);
  animation: blobFloat 12s ease-in-out infinite;
}

.blob-2 {
  bottom: 15%;
  right: 10%;
  width: 400px;
  height: 400px;
  background: var(--accent-mid);
  animation: blobFloat 15s ease-in-out infinite reverse;
}

.blob-3 {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: var(--accent-mid);
  opacity: 0.08;
  animation: blobPulse 10s ease-in-out infinite;
}

/* Section blur blobs — hidden initially */
.work-section::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: var(--accent);
  filter: blur(200px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 1.5s ease;
}

.about-section::before {
  content: '';
  position: absolute;
  bottom: -200px;
  left: -200px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: var(--accent-mid);
  filter: blur(200px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 1.5s ease;
}

.contact-section::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: var(--accent);
  filter: blur(250px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 1.5s ease;
}

/* Show section blobs after intro */
body.intro-done .work-section::before { opacity: 0.08; }
body.intro-done .about-section::before { opacity: 0.06; }
body.intro-done .contact-section::before { opacity: 0.1; }

/* ============================================
   ANIMATIONS
   ============================================ */
.line-reveal {
  overflow: hidden;
}

.fade-up {
  opacity: 0;
  transform: translateY(40px);
}

@keyframes blobFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -30px) scale(1.05); }
  66% { transform: translate(-20px, 20px) scale(0.95); }
}

@keyframes blobPulse {
  0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.08; }
  50% { transform: translate(-50%, -50%) scale(1.2); opacity: 0.12; }
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
}

@media (max-width: 768px) {
  body {
    cursor: auto;
  }

  .cursor,
  .cursor-follower {
    display: none;
  }

  .project-card,
  .nav-link,
  .btn-primary {
    cursor: pointer;
  }

  .nav {
    padding: 12px 24px;
  }

  .nav-inner {
    gap: 24px;
  }

  .nav-links {
    gap: 16px;
  }

  .nav-logo {
    font-size: 1rem;
  }

  .nav-link {
    font-size: 0.75rem;
    letter-spacing: 1px;
  }

  .container {
    padding: 0 24px;
  }

  .section {
    padding: 100px 0;
  }

  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .stats-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }

  .stat-number {
    font-size: 2rem;
  }

  .footer-inner {
    flex-direction: column;
    gap: 16px;
    padding: 0 24px;
  }
}

@media (max-width: 480px) {
  .nav {
    padding: 12px 20px;
    top: 10px;
    max-width: calc(100vw - 20px);
    border-radius: 14px;
  }

  .nav-inner {
    gap: 16px;
  }

  .nav-links {
    gap: 14px;
  }

  .nav-logo {
    font-size: 0.9rem;
    letter-spacing: 1px;
  }

  .nav-link {
    font-size: 0.72rem;
    letter-spacing: 0.5px;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .contact-title {
    font-size: 2rem;
  }

  .projects-grid {
    grid-template-columns: 1fr;
  }
}
