/* CYBERCODER V11 - ULTRA SMOOTH COLOR TRANSITIONS */

:root {
  --hue: 142;
  --primary: hsl(var(--hue),100%, 50%);
  --primary-dark: hsl(var(--hue),100%, 40%);
  --primary-light: hsl(var(--hue),100%, 60%);
  --secondary: hsl(calc(var(--hue) +60), 100%, 50%);
  --accent: hsl(calc(var(--hue) +120), 100%, 50%);
  --dark: #0a0a0a;
  --darker: #050505;
  --bg-dark: #0f0f0f;
  --surface: #1a1a1a;
  --text-primary: #ffffff;
  --text-secondary: #b0b0b0;
  --border: #333;
  --glow-primary: hsla(var(--hue),100%, 50%, 0.5);
  --transition: cubic-bezier(0.4, 0, 0.2, 1);

  /* Smooth color transition timing */
  transition:
  --hue 4s ease-in-out,
  --primary 4s ease-in-out,
  --primary-dark 4s ease-in-out,
  --primary-light 4s ease-in-out,
  --secondary 4s ease-in-out,
  --accent 4s ease-in-out,
  --glow-primary 4s ease-in-out;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}
body {
  font-family: 'Inter', sans-serif;
  background: var(--bg-dark);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  transition: background 4s ease-in-out;
}

/* SMOOTH WAVE COLOR TRANSITION */
.color-wave-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 9998;
  overflow: hidden;
}

#colorWaveCanvas {
  width: 100%;
  height: 100%;
}

/* ROCKET LAUNCH LOADING */
.loading-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--darker) 0%, var(--dark) 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  transition: opacity 0.8s, visibility 0.8s;
}

.loading-screen.hidden {
  opacity: 0;
  visibility: hidden;
}

.launch-scene {
  width: 400px;
  height: 400px;
  position: relative;
  margin-bottom: 40px;
}

/* ROCKET SVG */
.rocket {
  position: absolute;
  bottom: 60px;
  left: 50%;
  transform: translateX(-50%);
  animation: rocketLaunch 4s ease-in-out forwards;
  animation-delay: 1.5s;
  filter: drop-shadow(0 10px 30px rgba(200, 200, 255, 0.4));
}

.rocket-svg {
  width: 90px;
  height: 200px;
  display: block;
}

/* REALISTIC EXHAUST */
.rocket-exhaust {
  position: absolute;
  bottom: -65px;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 70px;
}

.exhaust-outer {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 48px;
  height: 70px;
  background: linear-gradient(180deg, rgba(255, 80, 0, 0.85) 0%, rgba(255, 180, 0, 0.5) 45%, transparent 100%);
  border-radius: 40% 40% 55% 55%;
  animation: exhaustFlicker 0.12s infinite alternate;
  filter: blur(3px);
}

.exhaust-mid {
  position: absolute;
  bottom: 5px;
  left: 50%;
  transform: translateX(-50%);
  width: 30px;
  height: 58px;
  background: linear-gradient(180deg, rgba(255, 160, 0, 1) 0%, rgba(255, 230, 0, 0.7) 50%, transparent 100%);
  border-radius: 40% 40% 55% 55%;
  animation: exhaustFlicker 0.18s infinite alternate-reverse;
  filter: blur(1.5px);
}

.exhaust-inner {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 16px;
  height: 45px;
  background: linear-gradient(180deg, rgba(255, 255, 180, 1) 0%, rgba(255, 220, 80, 0.8) 50%, transparent 100%);
  border-radius: 40% 40% 55% 55%;
  animation: exhaustFlicker 0.1s infinite alternate;
  filter: blur(0.5px);
}

.exhaust-core {
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: 7px;
  height: 28px;
  background: linear-gradient(180deg, white 0%, rgba(255, 255, 240, 0.95) 100%);
  border-radius: 50%;
  animation: exhaustFlicker 0.08s infinite alternate;
}

@keyframes exhaustFlicker {
  0% { transform: translateX(-50%) scaleX(1) scaleY(1); opacity: 1; }
  100% { transform: translateX(-50%) scaleX(1.06) scaleY(1.1); opacity: 0.9; }
}

@keyframes rocketLaunch {
  0% { bottom: 60px; opacity: 1; transform: translateX(-50%); }
  10% { bottom: 72px; }
  20% { bottom: 60px; }
  30% { bottom: 68px; }
  40% { bottom: 60px; }
  50% { bottom: 110px; opacity: 1; }
  100% { bottom: 550px; opacity: 0; transform: translateX(-50%) scale(0.2); }
}

.launch-platform {
  position: absolute;
  bottom: 50px;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 10px;
  background: var(--border);
  border-radius: 5px;
}

.smoke-cloud {
  position: absolute;
  width: 60px;
  height: 60px;
  background: radial-gradient(circle, rgba(255,255,255,0.3), transparent);
  border-radius: 50%;
  opacity: 0;
  animation: smokeRise3s ease-out forwards;
}

.smoke-1 {
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  animation-delay: 2.5s;
}

.smoke-2 {
  bottom: 40px;
  left: 40%;
  animation-delay: 2.7s;
}

.smoke-3 {
  bottom: 40px;
  right: 40%;
  animation-delay: 2.9s;
}

@keyframes smokeRise {
  0% {
    opacity: 0;
    bottom: 40px;
    transform: scale(0.5);
  }
  50% {
    opacity: 0.6;
  }
  100% {
    opacity: 0;
    bottom: 150px;
    transform: scale(2);
  }
}

.loading-progress {
  width: 400px;
  height: 6px;
  background: var(--surface);
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: 20px;
}

.loading-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--primary), var(--secondary), var(--accent));
  width: 0%;
  box-shadow: 0 0 20px var(--glow-primary);
  transition: width 0.3s ease-out;
}

.loading-text, .loading-percentage {
  font-family: 'JetBrains Mono', monospace;
  color: var(--primary);
  font-size: 14px;
  margin-bottom: 10px;
  transition: color 4s ease-in-out;
}

/* RIPPLE EFFECT */
.ripple-btn {
  position: relative;
  overflow: hidden;
}

.ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.6);
  transform: scale(0);
  animation: ripple-animation0.6s ease-out;
  pointer-events: none;
}

@keyframes ripple-animation {
  to {
    transform: scale(4);
    opacity: 0;
  }
}

/* SCROLLBAR */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--dark);
}
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--primary), var(--accent));
  border-radius: 10px;
  transition: background 4s ease-in-out;
}

/* CURSOR TRAIL */
.cursor-trail {
  position: fixed;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--primary);
  pointer-events: none;
  z-index: 9999;
  opacity: 0;
  box-shadow: 0 0 20px var(--glow-primary);
  mix-blend-mode: screen;
  transition: background 4s ease-in-out, box-shadow 4s ease-in-out;
}

/* PARTICLE CANVAS */
#particleCanvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
  opacity: 0.25;
}

.grid-background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  opacity: 0.05;
  background-image:
  linear-gradient(var(--primary) 1px, transparent 1px),
  linear-gradient(90deg, var(--primary) 1px, transparent 1px);
  background-size: 50px 50px;
  animation: gridMove30s linear infinite;
  transition: background-image 4s ease-in-out;
}

@keyframes gridMove {
  0% {
    transform: translate(0, 0);
  }
  100% {
    transform: translate(50px, 50px);
  }
}

/* HEADER - IMPROVED SPACING */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 70px;
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  z-index: 1000;
  transition: all 0.3s, border-bottom-color 4s ease-in-out;
}

header.scrolled {
  box-shadow: 0 5px 30px rgba(0, 0, 0, 0.3);
  border-bottom-color: var(--primary);
}

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

.logo-section {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* LOGO */
.logo {
  width: 50px;
  height: 50px;
  position: relative;
}

.logo-network {
  width: 100%;
  height: 100%;
  position: relative;
}

.network-node {
  position: absolute;
  width: 8px;
  height: 8px;
  background: var(--primary);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--glow-primary);
  animation: nodeFloat3s ease-in-out infinite;
  transition: background 4s ease-in-out, box-shadow 4s ease-in-out;
}

.network-node:nth-child(1) {
  top: 0;
  left: 50%;
  transform: translateX(-50%);
}
.network-node:nth-child(2) {
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  animation-delay: 0.5s;
}
.network-node:nth-child(3) {
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  animation-delay: 1s;
}
.network-node:nth-child(4) {
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  animation-delay: 1.5s;
}
.network-node:nth-child(5) {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 12px;
  height: 12px;
}

@keyframes nodeFloat {
  0%, 100% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(2px, -2px) scale(1.2);
  }
}

.network-lines {
  position: absolute;
  top: 0;
  left: 0;
}

.network-line {
  stroke: var(--primary);
  stroke-width: 1;
  opacity: 0.3;
  transition: stroke4s ease-in-out;
}

.brand-name {
  font-family: 'Sora', sans-serif;
  font-size: 24px;
  font-weight: 800;
  color: var(--primary);
  text-shadow: 0 0 10px var(--glow-primary);
  transition: color 4s ease-in-out, text-shadow 4s ease-in-out;
}

/* HEADER ACTIONS - IMPROVED SPACING */
.header-actions {
  display: flex;
  gap: 16px;
  /* Increased from 10px */
  align-items: center;
}

.icon-btn {
  width: 44px;
  /* Increased from 40px */
  height: 44px;
  /* Increased from 40px */
  border: 1px solid var(--border);
  background: transparent;
  border-radius: 12px;
  /* Increased from 10px */
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--primary);
  transition: all 0.3s, border-color 4s ease-in-out, color 4s ease-in-out;
  font-size: 18px;
  /* Increased for better visibility */
}

.icon-btn:hover {
  border-color: var(--primary);
  background: var(--primary);
  color: var(--dark);
  box-shadow: 0 0 20px var(--glow-primary);
  transform: translateY(-2px);
}

.icon-btn i {
  position: relative;
  z-index: 1;
  transition: transform 0.3s;
}

.icon-btn:hover i {
  transform: scale(1.1);
}

/* NAVIGATION */
nav {
  position: fixed;
  top: 70px;
  left: 0;
  width: 100%;
  background: rgba(15, 15, 15, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  z-index: 999;
  transform: translateY(-100%);
  transition: transform 0.4s, border-bottom-color 4s ease-in-out;
}

nav.visible {
  transform: translateY(0);
}

.nav-container {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  padding: 12px 24px;
  flex-wrap: wrap;
  gap: 8px;
}

.nav-link {
  padding: 10px 18px;
  color: var(--text-secondary);
  text-decoration: none;
  border-radius: 10px;
  transition: all 0.3s, color 4s ease-in-out;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
}

.nav-link:hover {
  color: var(--primary);
  background: rgba(0, 255, 0, 0.1);
}

/* HERO */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 24px 60px;
  position: relative;
}

.hero-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, var(--glow-primary), transparent 70%);
  transform: translate(-50%, -50%);
  animation: heroGlow6s ease-in-out infinite;
  pointer-events: none;
  transition: background 4s ease-in-out;
}

@keyframes heroGlow {
  0%, 100% {
    opacity: 0.3;
    transform: translate(-50%, -50%) scale(1);
  }
  50% {
    opacity: 0.6;
    transform: translate(-50%, -50%) scale(1.1);
  }
}

.hero-content {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
}

/* MOON AVATAR */
.hero-avatar {
  width: 200px;
  height: 200px;
  margin: 0 auto 32px;
  position: relative;
}

.avatar-rings {
  position: absolute;
  width: 100%;
  height: 100%;
}

.avatar-ring {
  position: absolute;
  border: 2px solid var(--primary);
  border-radius: 50%;
  animation: rotateRing8s linear infinite;
  transition: border-color 4s ease-in-out;
}

.avatar-ring:nth-child(1) {
  top: -12px;
  left: -12px;
  right: -12px;
  bottom: -12px;
  border-style: dashed;
}

.avatar-ring:nth-child(2) {
  top: -24px;
  left: -24px;
  right: -24px;
  bottom: -24px;
  border-style: dotted;
  animation-duration: 12s;
  animation-direction: reverse;
}

.avatar-ring:nth-child(3) {
  top: -36px;
  left: -36px;
  right: -36px;
  bottom: -36px;
  border-width: 1px;
  animation-duration: 15s;
}

@keyframes rotateRing {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.moon-avatar {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  position: relative;
  animation: avatarFloat4s ease-in-out infinite;
}

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

.moon-surface-big {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 50%, var(--accent) 100%);
  box-shadow:
  0 10px 40px var(--glow-primary),
  inset -10px -10px 30px rgba(0, 0, 0, 0.4),
  inset 5px 5px 20px rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  animation: moonRotate30s linear infinite;
  transition: background 4s ease-in-out, box-shadow 4s ease-in-out;
}

@keyframes moonRotate {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.moon-text {
  font-size: 80px;
  font-weight: 900;
  color: var(--dark);
  font-family: 'Sora', sans-serif;
  position: relative;
  z-index: 2;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.moon-crater-big {
  position: absolute;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.25);
  box-shadow: inset 2px 2px 5px rgba(0, 0, 0, 0.5);
}

.crater-big-1 {
  width: 25px;
  height: 25px;
  top: 15%;
  left: 20%;
}
.crater-big-2 {
  width: 18px;
  height: 18px;
  top: 50%;
  right: 15%;
}
.crater-big-3 {
  width: 20px;
  height: 20px;
  bottom: 20%;
  left: 25%;
}
.crater-big-4 {
  width: 15px;
  height: 15px;
  top: 30%;
  left: 60%;
}

.floating-astronaut {
  position: absolute;
  font-size: 20px;
  color: var(--primary);
  filter: drop-shadow(0 0 10px var(--glow-primary));
  animation: floatAstro5s ease-in-out infinite;
  z-index: 3;
  transition: color 4s ease-in-out, filter 4s ease-in-out;
}

.astro-1 {
  top: -30px;
  right: 20px;
  animation-delay: 0s;
}
.astro-2 {
  bottom: -25px;
  left: 15px;
  animation-delay: 1.7s;
}
.astro-3 {
  top: 20px;
  left: -40px;
  font-size: 18px;
  animation-delay: 3.4s;
}

@keyframes floatAstro {
  0%, 100% {
    transform: translate(0, 0) rotate(0deg);
  }
  25% {
    transform: translate(5px, -10px) rotate(5deg);
  }
  50% {
    transform: translate(-5px, -15px) rotate(-5deg);
  }
  75% {
    transform: translate(8px, -8px) rotate(3deg);
  }
}

.orbit-path {
  position: absolute;
  border: 1px dashed var(--primary);
  border-radius: 50%;
  opacity: 0.2;
  animation: rotateRing20s linear infinite;
  transition: border-color 4s ease-in-out;
}

.orbit-1 {
  top: -15px;
  left: -15px;
  right: -15px;
  bottom: -15px;
}
.orbit-2 {
  top: -25px;
  left: -25px;
  right: -25px;
  bottom: -25px;
  animation-duration: 25s;
  animation-direction: reverse;
}

.avatar-pulse {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 2px solid var(--primary);
  transform: translate(-50%, -50%);
  animation: avatarPulse2s ease-out infinite;
  transition: border-color 4s ease-in-out;
}

@keyframes avatarPulse {
  0% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
  }
  100% {
    transform: translate(-50%, -50%) scale(1.5);
    opacity: 0;
  }
}

.hero-title {
  font-family: 'Sora', sans-serif;
  font-size: clamp(40px, 8vw, 72px);
  font-weight: 800;
  margin-bottom: 16px;
  background: linear-gradient(135deg, var(--primary), var(--secondary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  transition: background 4s ease-in-out;
}

.hero-typing {
  font-size: clamp(18px, 4vw, 28px);
  font-family: 'JetBrains Mono', monospace;
  color: var(--text-secondary);
  margin-bottom: 24px;
  min-height: 40px;
}

.typing-text {
  border-right: 3px solid var(--primary);
  animation: blink1s infinite;
  transition: border-right-color 4s ease-in-out;
}

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

.hero-description {
  max-width: 700px;
  margin: 0 auto 32px;
  font-size: 17px;
  color: var(--text-secondary);
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.btn {
  padding: 14px 32px;
  border-radius: 12px;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all 0.3s, background 4s ease-in-out, color 4s ease-in-out, border-color 4s ease-in-out, box-shadow 4s ease-in-out;
  border: 2px solid transparent;
  cursor: pointer;
  font-size: 16px;
}

.btn-primary {
  background: var(--primary);
  color: var(--dark);
  box-shadow: 0 5px 20px var(--glow-primary);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px var(--glow-primary);
}

.btn-secondary {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}

.btn-secondary:hover {
  background: var(--primary);
  color: var(--dark);
}

/* SKILLS */
.skills-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.skill-tag {
  padding: 10px 20px;
  background: rgba(0, 255, 0, 0.05);
  border: 1px solid var(--primary);
  border-radius: 25px;
  color: var(--primary);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s, background 4s ease-in-out, border-color 4s ease-in-out, color 4s ease-in-out;
  cursor: pointer;
  font-size: 14px;
}

.skill-tag:hover {
  background: var(--primary);
  color: var(--dark);
  transform: translateY(-5px);
}

/* STATS */
.stats-section {
  padding: 80px 24px;
  background: var(--surface);
}

.stats-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
}

.stat-card {
  background: var(--dark);
  padding: 40px 24px;
  border-radius: 20px;
  text-align: center;
  border: 1px solid var(--border);
  transition: all 0.3s, border-color 4s ease-in-out, box-shadow 4s ease-in-out;
  position: relative;
  overflow: hidden;
}

.stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--secondary), var(--accent), var(--primary));
  background-size: 200% 100%;
  animation: gradientMove3s linear infinite;
  transition: background 4s ease-in-out;
}

@keyframes gradientMove {
  0% {
    background-position: 0% 0;
  }
  100% {
    background-position: 200% 0;
  }
}

.stat-card:hover {
  transform: translateY(-10px);
  border-color: var(--primary);
  box-shadow: 0 10px 40px var(--glow-primary);
}

.stat-icon {
  font-size: 48px;
  color: var(--primary);
  margin-bottom: 16px;
  filter: drop-shadow(0 0 10px var(--glow-primary));
  transition: color 4s ease-in-out, filter 4s ease-in-out;
}

.stat-value {
  font-size: 48px;
  font-weight: 900;
  font-family: 'Sora', sans-serif;
  color: var(--primary);
  margin-bottom: 8px;
  transition: color 4s ease-in-out;
}

.stat-label {
  font-size: 15px;
  color: var(--text-secondary);
  text-transform: uppercase;
}

/* SECTIONS */
section {
  padding: 100px 24px;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-tag {
  display: inline-block;
  padding: 8px 20px;
  background: rgba(0, 255, 0, 0.05);
  border: 1px solid var(--primary);
  border-radius: 20px;
  color: var(--primary);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 16px;
  transition: all 4s ease-in-out;
}

.section-title {
  font-family: 'Sora', sans-serif;
  font-size: clamp(32px, 6vw, 52px);
  font-weight: 800;
  margin-bottom: 16px;
}

.section-description {
  max-width: 700px;
  margin: 0 auto;
  color: var(--text-secondary);
  font-size: 17px;
}

/* PROJECTS */
.projects-grid {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 24px;
}

.project-card {
  background: var(--surface);
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--border);
  transition: all 0.4s, border-color 4s ease-in-out;
  cursor: pointer;
}

.project-card:hover {
  transform: translateY(-10px);
  border-color: var(--primary);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.project-image {
  height: 240px;
  background-size: cover;
  background-position: center;
  position: relative;
}

.project-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s;
}

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

.project-icon {
  font-size: 60px;
  color: var(--primary);
  filter: drop-shadow(0 5px 15px var(--glow-primary));
  transition: color 4s ease-in-out, filter 4s ease-in-out;
}

.project-content {
  padding: 24px;
}

.project-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 12px;
  font-family: 'Sora', sans-serif;
  transition: color 4s ease-in-out;
}

.project-description {
  color: var(--text-secondary);
  font-size: 14px;
  margin-bottom: 16px;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.project-tag {
  padding: 5px 12px;
  background: rgba(0, 255, 0, 0.05);
  border: 1px solid var(--primary);
  border-radius: 15px;
  font-size: 12px;
  color: var(--primary);
  transition: all 4s ease-in-out;
}

.project-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  transition: gap0.3s, color 4s ease-in-out;
}

.project-link:hover {
  gap: 12px;
}

/* SERVICES */
.services-grid {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.service-card {
  background: var(--surface);
  padding: 32px 24px;
  border-radius: 20px;
  border: 1px solid var(--border);
  transition: all 0.3s, border-color 4s ease-in-out, box-shadow 4s ease-in-out;
  text-align: center;
  position: relative;
  overflow: hidden;
}

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

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

.service-card:hover {
  transform: translateY(-10px);
  border-color: var(--primary);
  box-shadow: 0 20px 50px var(--glow-primary);
}

.service-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  color: var(--primary);
  background: rgba(0, 255, 0, 0.05);
  border-radius: 50%;
  transition: all 0.4s, color 4s ease-in-out;
}

.service-card:hover .service-icon {
  transform: rotateY(360deg);
}

.service-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
  font-family: 'Sora', sans-serif;
}

.service-description {
  color: var(--text-secondary);
  font-size: 14px;
}

/* CONTACT */
.contact-container {
  max-width: 1000px;
  margin: 0 auto;
}

.contact-methods {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
}

.contact-method {
  background: var(--surface);
  padding: 28px;
  border-radius: 20px;
  border: 1px solid var(--border);
  text-align: center;
  transition: all 0.3s, border-color 4s ease-in-out, box-shadow 4s ease-in-out;
}

.contact-method:hover {
  border-color: var(--primary);
  transform: translateY(-10px);
  box-shadow: 0 10px 30px var(--glow-primary);
}

.contact-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 16px;
  background: rgba(0, 255, 0, 0.05);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  color: var(--primary);
  transition: color 4s ease-in-out;
}

.contact-title {
  font-weight: 700;
  margin-bottom: 8px;
  font-size: 16px;
}

.contact-value {
  color: var(--text-secondary);
  font-size: 14px;
}

.contact-value a {
  color: var(--primary);
  text-decoration: none;
  transition: color 4s ease-in-out;
}

/* FOOTER */
footer {
  background: var(--darker);
  padding: 60px 24px 24px;
  border-top: 2px solid var(--primary);
  transition: border-top-color 4s ease-in-out;
}

.footer-content {
  max-width: 1400px;
  margin: 0 auto;
}

.footer-top {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 32px;
  margin-bottom: 32px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.footer-title {
  font-family: 'Sora', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--primary);
  transition: color 4s ease-in-out;
}

.footer-description {
  color: var(--text-secondary);
  font-size: 14px;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: all 0.3s, color 4s ease-in-out;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
}

.footer-links a:hover {
  color: var(--primary);
}

.social-links {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}

.social-link {
  width: 40px;
  height: 40px;
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  transition: all 0.3s, color 4s ease-in-out, border-color 4s ease-in-out;
}

.social-link:hover {
  background: var(--primary);
  color: var(--dark);
  transform: translateY(-5px);
}

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid var(--border);
  text-align: center;
  color: var(--text-secondary);
  font-size: 14px;
}

.footer-marquee {
  margin-top: 16px;
  overflow: hidden;
}

.marquee-content {
  display: inline-block;
  white-space: nowrap;
  animation: marquee30s linear infinite;
  color: var(--primary);
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  transition: color 4s ease-in-out;
}

@keyframes marquee {
  0% {
    transform: translateX(100%);
  }
  100% {
    transform: translateX(-100%);
  }
}

/* FLOATING */
.floating-actions {
  position: fixed;
  bottom: 24px;
  right: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 100;
}

.floating-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--dark);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 18px;
  box-shadow: 0 5px 20px var(--glow-primary);
  transition: all 0.3s, background 4s ease-in-out, box-shadow 4s ease-in-out;
  opacity: 0;
}

.floating-btn.visible {
  opacity: 1;
}
.floating-btn:hover {
  transform: scale(1.1);
}

/* NOTIFICATION */
.notification {
  position: fixed;
  top: 90px;
  right: -400px;
  max-width: 350px;
  background: var(--surface);
  border: 1px solid var(--primary);
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
  z-index: 9999;
  transition: right 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55), border-color 4s ease-in-out;
}

.notification.show {
  right: 24px;
}

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

.notification-title {
  font-weight: 700;
  color: var(--primary);
  font-size: 15px;
  transition: color 4s ease-in-out;
}

.notification-close {
  background: none;
  border: none;
  color: var(--text-secondary);
  cursor: pointer;
  font-size: 16px;
}

.notification-message {
  color: var(--text-secondary);
  font-size: 14px;
}

/* REVEAL */
.reveal {
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.6s ease-out;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .brand-name {
    font-size: 20px;
  }
  .hero {
    padding-top: 100px;
  }
  .hero-buttons {
    flex-direction: column;
    width: 100%;
  }
  .btn {
    width: 100%;
    justify-content: center;
  }
  .projects-grid, .services-grid {
    grid-template-columns: 1fr;
  }
  section {
    padding: 60px 16px;
  }
  .hero-avatar {
    width: 160px;
    height: 160px;
  }
  .moon-text {
    font-size: 60px;
  }

  /* Mobile header spacing */
  .header-actions {
    gap: 12px;
  }

  .icon-btn {
    width: 40px;
    height: 40px;
    font-size: 16px;
  }
}

@media (max-width: 480px) {
  .header-actions {
    gap: 8px;
  }

  .icon-btn {
    width: 38px;
    height: 38px;
    font-size: 15px;
  }

  .brand-name {
    font-size: 18px;
  }
}