/* ==================== CSS Variables ==================== */
:root {
  /* Colors - Inspired by modern 3D portfolios */
  --color-bg-primary: #0a0a0f;
  --color-bg-secondary: #14141f;
  --color-bg-tertiary: #1c1c2e;

  --color-text-primary: #ffffff;
  --color-text-secondary: #a0a0b8;
  --color-text-muted: #6b6b8a;

  --color-accent-purple: #8b5cf6;
  --color-accent-blue: #3b82f6;
  --color-accent-pink: #ec4899;
  --color-accent-cyan: #06b6d4;

  --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  --gradient-vibrant: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
  --gradient-purple: linear-gradient(135deg, #a855f7 0%, #6366f1 100%);
  --gradient-blue: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
  --gradient-cyber: linear-gradient(135deg, #06b6d4 0%, #3b82f6 50%, #8b5cf6 100%);

  /* Spacing */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 1.5rem;
  --spacing-lg: 2rem;
  --spacing-xl: 3rem;
  --spacing-2xl: 4rem;
  --spacing-3xl: 6rem;

  /* Typography */
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-size-xs: 0.75rem;
  --font-size-sm: 0.875rem;
  --font-size-base: 1rem;
  --font-size-lg: 1.125rem;
  --font-size-xl: 1.25rem;
  --font-size-2xl: 1.5rem;
  --font-size-3xl: 2rem;
  --font-size-4xl: 2.5rem;
  --font-size-5xl: 3rem;
  --font-size-6xl: 4rem;

  /* Effects */
  --border-radius-sm: 0.5rem;
  --border-radius-md: 1rem;
  --border-radius-lg: 1.5rem;
  --border-radius-xl: 2rem;

  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1);
  --shadow-glow: 0 0 40px rgba(139, 92, 246, 0.3);

  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 300ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 500ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* ==================== Reset & Base ==================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-family);
  background-color: var(--color-bg-primary);
  color: var(--color-text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

::selection {
  background-color: var(--color-accent-purple);
  color: white;
}

/* ==================== Utility Classes ==================== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-lg);
}

.text-gradient {
  background: var(--gradient-cyber);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ==================== Navigation ==================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(10, 10, 15, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(139, 92, 246, 0.1);
  transition: all var(--transition-base);
}

.navbar.scrolled {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--spacing-md) var(--spacing-lg);
}

.logo {
  display: flex;
  align-items: center;
  gap: var(--spacing-xs);
  text-decoration: none;
  font-size: var(--font-size-xl);
  font-weight: 800;
  color: var(--color-text-primary);
  transition: transform var(--transition-base);
}

.logo:hover {
  transform: scale(1.05);
}

/* Stylized Text Logo - EPILEF */
.logo-wrapper {
  display: flex;
  align-items: center;
  font-family: 'JetBrains Mono', monospace;
  font-weight: 800;
  letter-spacing: -1px;
  background: rgba(139, 92, 246, 0.05);
  padding: 8px 16px;
  border-radius: 12px;
  border: 1px solid rgba(139, 92, 246, 0.1);
  transition: all var(--transition-base);
}

.logo:hover .logo-wrapper {
  background: rgba(139, 92, 246, 0.1);
  border-color: rgba(139, 92, 246, 0.3);
  box-shadow: 0 0 20px rgba(139, 92, 246, 0.2);
  transform: translateY(-2px);
}

.logo-bracket {
  color: var(--color-accent-purple);
  font-size: 1.4rem;
  opacity: 0.8;
}

.logo-text-main {
  color: white;
  font-size: 1.25rem;
  margin: 0 4px;
  background: var(--gradient-cyber);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 0 15px rgba(6, 182, 212, 0.3);
}

.logo-slash {
  color: var(--color-accent-cyan);
  font-size: 1.25rem;
  margin-right: 2px;
  opacity: 0.8;
}

.logo-bracket:last-child {
  margin-left: 2px;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: var(--spacing-lg);
}

.nav-link {
  color: var(--color-text-secondary);
  text-decoration: none;
  font-weight: 500;
  font-size: var(--font-size-sm);
  padding: var(--spacing-xs) var(--spacing-sm);
  border-radius: var(--border-radius-sm);
  transition: all var(--transition-base);
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--gradient-cyber);
  transform: translateX(-50%);
  transition: width var(--transition-base);
}

.nav-link:hover {
  color: var(--color-text-primary);
}

.nav-link:hover::after {
  width: 80%;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--spacing-xs);
}

.menu-toggle span {
  width: 25px;
  height: 2px;
  background: var(--color-text-primary);
  transition: all var(--transition-base);
}

/* ==================== Hero Section ==================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 80px;
  overflow: hidden;
}

.hero-background {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.gradient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.5;
  animation: float 20s infinite ease-in-out;
}

.orb-1 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.4) 0%, transparent 70%);
  top: -100px;
  right: -100px;
  animation-delay: 0s;
}

.orb-2 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.4) 0%, transparent 70%);
  bottom: -150px;
  left: -150px;
  animation-delay: 7s;
}

.orb-3 {
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(236, 72, 153, 0.3) 0%, transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation-delay: 14s;
}

@keyframes float {

  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }

  33% {
    transform: translate(50px, -50px) scale(1.1);
  }

  66% {
    transform: translate(-50px, 50px) scale(0.9);
  }
}

.hero-container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-3xl);
  align-items: center;
}

.hero-content {
  animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  padding: var(--spacing-xs) var(--spacing-md);
  background: rgba(139, 92, 246, 0.1);
  border: 1px solid rgba(139, 92, 246, 0.3);
  border-radius: 100px;
  font-size: var(--font-size-sm);
  color: var(--color-accent-purple);
  margin-bottom: var(--spacing-lg);
  animation: pulse 2s infinite;
}

@keyframes pulse {

  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(139, 92, 246, 0.4);
  }

  50% {
    box-shadow: 0 0 0 10px rgba(139, 92, 246, 0);
  }
}

.hero-title {
  font-size: var(--font-size-5xl);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: var(--spacing-md);
}

.hero-name {
  display: block;
  font-size: var(--font-size-6xl);
  background: var(--gradient-cyber);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-description {
  font-size: var(--font-size-lg);
  color: var(--color-text-secondary);
  margin-bottom: var(--spacing-xl);
  max-width: 540px;
}

.hero-buttons {
  display: flex;
  gap: var(--spacing-md);
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-xs);
  padding: var(--spacing-md) var(--spacing-xl);
  font-size: var(--font-size-base);
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--border-radius-md);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--gradient-purple);
  color: white;
  box-shadow: 0 4px 15px rgba(139, 92, 246, 0.4);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(139, 92, 246, 0.6);
}

.btn-primary .btn-icon {
  transition: transform var(--transition-base);
}

.btn-primary:hover .btn-icon {
  transform: translateX(5px);
}

.btn-secondary {
  background: rgba(139, 92, 246, 0.1);
  color: var(--color-text-primary);
  border: 1px solid rgba(139, 92, 246, 0.3);
}

.btn-secondary:hover {
  background: rgba(139, 92, 246, 0.2);
  border-color: rgba(139, 92, 246, 0.5);
}

/* Hero Visual with 3D Elements */
.hero-visual {
  position: relative;
  height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.floating-card {
  position: absolute;
  padding: var(--spacing-md) var(--spacing-lg);
  background: rgba(139, 92, 246, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(139, 92, 246, 0.2);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-glow);
  animation: floatCard 6s infinite ease-in-out;
}

.card-1 {
  top: 10%;
  left: 10%;
  animation-delay: 0s;
}

.card-2 {
  top: 20%;
  right: 15%;
  animation-delay: 2s;
}

.card-3 {
  bottom: 15%;
  left: 15%;
  animation-delay: 4s;
}

@keyframes floatCard {

  0%,
  100% {
    transform: translateY(0px) rotate(0deg);
  }

  50% {
    transform: translateY(-20px) rotate(3deg);
  }
}

.card-content {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  font-weight: 600;
}

.card-icon {
  font-size: var(--font-size-2xl);
}

/* 3D Cube */
.hero-3d-object {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  perspective: 1000px;
}

.cube {
  width: 150px;
  height: 150px;
  position: relative;
  transform-style: preserve-3d;
  animation: rotateCube 20s infinite linear;
}

@keyframes rotateCube {
  from {
    transform: rotateX(0deg) rotateY(0deg);
  }

  to {
    transform: rotateX(360deg) rotateY(360deg);
  }
}

.cube-face {
  position: absolute;
  width: 150px;
  height: 150px;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.3) 0%, rgba(59, 130, 246, 0.3) 100%);
  border: 1px solid rgba(139, 92, 246, 0.5);
  backdrop-filter: blur(5px);
  box-shadow: 0 0 30px rgba(139, 92, 246, 0.3);
}

.cube-face.front {
  transform: rotateY(0deg) translateZ(75px);
}

.cube-face.back {
  transform: rotateY(180deg) translateZ(75px);
}

.cube-face.right {
  transform: rotateY(90deg) translateZ(75px);
}

.cube-face.left {
  transform: rotateY(-90deg) translateZ(75px);
}

.cube-face.top {
  transform: rotateX(90deg) translateZ(75px);
}

.cube-face.bottom {
  transform: rotateX(-90deg) translateZ(75px);
}

/* ==================== Floating Programming Symbols ==================== */
.floating-symbols {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

.code-symbol {
  position: absolute;
  font-size: 2rem;
  font-weight: 700;
  font-family: 'Courier New', monospace;
  color: rgba(139, 92, 246, 0.3);
  text-shadow: 0 0 20px rgba(139, 92, 246, 0.5);
  animation: floatSymbol 15s infinite ease-in-out;
}

.symbol-1 {
  top: 10%;
  left: 5%;
  animation-delay: 0s;
  animation-duration: 12s;
}

.symbol-2 {
  top: 20%;
  right: 10%;
  animation-delay: 2s;
  animation-duration: 14s;
}

.symbol-3 {
  top: 60%;
  left: 15%;
  animation-delay: 4s;
  animation-duration: 13s;
}

.symbol-4 {
  top: 70%;
  right: 20%;
  animation-delay: 6s;
  animation-duration: 15s;
}

.symbol-5 {
  top: 40%;
  left: 25%;
  animation-delay: 1s;
  animation-duration: 11s;
  font-size: 3rem;
}

.symbol-6 {
  top: 55%;
  right: 8%;
  animation-delay: 3s;
  animation-duration: 16s;
}

.symbol-7 {
  top: 25%;
  left: 35%;
  animation-delay: 5s;
  animation-duration: 13s;
  font-size: 1.5rem;
}

.symbol-8 {
  top: 80%;
  left: 40%;
  animation-delay: 7s;
  animation-duration: 14s;
  font-size: 2.5rem;
}

@keyframes floatSymbol {

  0%,
  100% {
    transform: translateY(0) translateX(0) rotate(0deg);
    opacity: 0.2;
  }

  25% {
    transform: translateY(-40px) translateX(30px) rotate(90deg);
    opacity: 0.4;
  }

  50% {
    transform: translateY(-20px) translateX(-30px) rotate(180deg);
    opacity: 0.3;
  }

  75% {
    transform: translateY(-50px) translateX(20px) rotate(270deg);
    opacity: 0.4;
  }
}

/* ==================== Geometric Shapes ==================== */
.geometric-shapes {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

.shape {
  position: absolute;
  opacity: 0.15;
  filter: blur(1px);
}

.triangle-1 {
  width: 0;
  height: 0;
  border-left: 50px solid transparent;
  border-right: 50px solid transparent;
  border-bottom: 86px solid rgba(59, 130, 246, 0.4);
  top: 15%;
  right: 25%;
  animation: rotateShape 20s infinite linear;
}

.triangle-2 {
  width: 0;
  height: 0;
  border-left: 40px solid transparent;
  border-right: 40px solid transparent;
  border-bottom: 70px solid rgba(236, 72, 153, 0.4);
  bottom: 20%;
  left: 10%;
  animation: rotateShape 18s infinite linear reverse;
}

.circle-1 {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.4) 0%, transparent 70%);
  border: 2px solid rgba(139, 92, 246, 0.3);
  top: 45%;
  right: 15%;
  animation: pulseShape 8s infinite ease-in-out;
}

.circle-2 {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.4) 0%, transparent 70%);
  border: 2px solid rgba(6, 182, 212, 0.3);
  top: 75%;
  right: 35%;
  animation: pulseShape 6s infinite ease-in-out;
  animation-delay: 2s;
}

.square-1 {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.3) 0%, rgba(59, 130, 246, 0.3) 100%);
  border: 2px solid rgba(139, 92, 246, 0.3);
  bottom: 30%;
  right: 45%;
  animation: rotateShape 15s infinite linear;
}

.hexagon-1 {
  width: 60px;
  height: 34.64px;
  background: rgba(236, 72, 153, 0.3);
  border: 2px solid rgba(236, 72, 153, 0.3);
  position: relative;
  top: 35%;
  left: 5%;
  animation: floatHexagon 12s infinite ease-in-out;
}

.hexagon-1::before,
.hexagon-1::after {
  content: "";
  position: absolute;
  width: 0;
  border-left: 30px solid transparent;
  border-right: 30px solid transparent;
}

.hexagon-1::before {
  bottom: 100%;
  border-bottom: 17.32px solid rgba(236, 72, 153, 0.3);
}

.hexagon-1::after {
  top: 100%;
  width: 0;
  border-top: 17.32px solid rgba(236, 72, 153, 0.3);
}

@keyframes rotateShape {
  from {
    transform: rotate(0deg) scale(1);
  }

  50% {
    transform: rotate(180deg) scale(1.2);
  }

  to {
    transform: rotate(360deg) scale(1);
  }
}

@keyframes pulseShape {

  0%,
  100% {
    transform: scale(1);
    opacity: 0.15;
  }

  50% {
    transform: scale(1.3);
    opacity: 0.3;
  }
}

@keyframes floatHexagon {

  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }

  33% {
    transform: translateY(-30px) rotate(120deg);
  }

  66% {
    transform: translateY(-15px) rotate(240deg);
  }
}

/* ==================== Tech Icons ==================== */
.tech-icon {
  position: absolute;
  font-size: 2.5rem;
  filter: drop-shadow(0 0 10px rgba(139, 92, 246, 0.5));
  animation: floatIcon 8s infinite ease-in-out;
}

.icon-1 {
  top: 5%;
  right: 5%;
  animation-delay: 0s;
}

.icon-2 {
  bottom: 10%;
  right: 25%;
  animation-delay: 2s;
}

.icon-3 {
  top: 30%;
  left: 5%;
  animation-delay: 4s;
}

.icon-4 {
  bottom: 20%;
  left: 20%;
  animation-delay: 6s;
}

@keyframes floatIcon {

  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }

  25% {
    transform: translateY(-20px) rotate(10deg);
  }

  50% {
    transform: translateY(-10px) rotate(-10deg);
  }

  75% {
    transform: translateY(-25px) rotate(5deg);
  }
}

/* ==================== Pyramid 3D Object ==================== */
.pyramid-container {
  position: absolute;
  bottom: 10%;
  right: 30%;
  perspective: 1000px;
}

.pyramid {
  width: 100px;
  height: 100px;
  position: relative;
  transform-style: preserve-3d;
  animation: rotatePyramid 15s infinite linear;
}

@keyframes rotatePyramid {
  from {
    transform: rotateX(0deg) rotateY(0deg) rotateZ(0deg);
  }

  to {
    transform: rotateX(360deg) rotateY(360deg) rotateZ(360deg);
  }
}

.pyramid-face {
  position: absolute;
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.3) 0%, rgba(59, 130, 246, 0.3) 100%);
  border: 1px solid rgba(6, 182, 212, 0.5);
  backdrop-filter: blur(5px);
  box-shadow: 0 0 20px rgba(6, 182, 212, 0.3);
}

.pyramid-face.base {
  width: 100px;
  height: 100px;
  transform: rotateX(-90deg) translateZ(0px);
}

.pyramid-face.side1 {
  width: 0;
  height: 0;
  border-left: 50px solid transparent;
  border-right: 50px solid transparent;
  border-bottom: 86px solid rgba(6, 182, 212, 0.3);
  transform: rotateY(0deg) rotateX(30deg) translateZ(50px) translateY(-43px);
}

.pyramid-face.side2 {
  width: 0;
  height: 0;
  border-left: 50px solid transparent;
  border-right: 50px solid transparent;
  border-bottom: 86px solid rgba(6, 182, 212, 0.3);
  transform: rotateY(90deg) rotateX(30deg) translateZ(50px) translateY(-43px);
}

.pyramid-face.side3 {
  width: 0;
  height: 0;
  border-left: 50px solid transparent;
  border-right: 50px solid transparent;
  border-bottom: 86px solid rgba(6, 182, 212, 0.3);
  transform: rotateY(180deg) rotateX(30deg) translateZ(50px) translateY(-43px);
}

.pyramid-face.side4 {
  width: 0;
  height: 0;
  border-left: 50px solid transparent;
  border-right: 50px solid transparent;
  border-bottom: 86px solid rgba(6, 182, 212, 0.3);
  transform: rotateY(270deg) rotateX(30deg) translateZ(50px) translateY(-43px);
}

/* ==================== Sphere 3D Object ==================== */
.sphere-container {
  position: absolute;
  top: 40%;
  left: 10%;
  perspective: 1000px;
}

.sphere {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(236, 72, 153, 0.5), rgba(139, 92, 246, 0.3));
  border: 1px solid rgba(236, 72, 153, 0.5);
  box-shadow:
    0 0 30px rgba(236, 72, 153, 0.4),
    inset -10px -10px 30px rgba(0, 0, 0, 0.5),
    inset 10px 10px 30px rgba(255, 255, 255, 0.1);
  animation: pulseSphere 6s infinite ease-in-out;
}

@keyframes pulseSphere {

  0%,
  100% {
    transform: scale(1) translateY(0);
    box-shadow:
      0 0 30px rgba(236, 72, 153, 0.4),
      inset -10px -10px 30px rgba(0, 0, 0, 0.5),
      inset 10px 10px 30px rgba(255, 255, 255, 0.1);
  }

  50% {
    transform: scale(1.2) translateY(-20px);
    box-shadow:
      0 0 50px rgba(236, 72, 153, 0.6),
      inset -10px -10px 30px rgba(0, 0, 0, 0.5),
      inset 10px 10px 30px rgba(255, 255, 255, 0.2);
  }
}

.scroll-indicator {
  position: absolute;
  bottom: var(--spacing-xl);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--spacing-xs);
  color: var(--color-text-secondary);
  font-size: var(--font-size-sm);
  animation: bounce 2s infinite;
}

@keyframes bounce {

  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }

  50% {
    transform: translateX(-50%) translateY(-10px);
  }
}

/* ==================== About Section ==================== */
.about {
  padding: var(--spacing-3xl) 0;
  background: linear-gradient(180deg, var(--color-bg-primary) 0%, var(--color-bg-secondary) 100%);
}

.section-header {
  text-align: center;
  margin-bottom: var(--spacing-3xl);
}

.section-badge {
  display: inline-block;
  padding: var(--spacing-xs) var(--spacing-md);
  background: rgba(139, 92, 246, 0.1);
  border: 1px solid rgba(139, 92, 246, 0.3);
  border-radius: 100px;
  font-size: var(--font-size-sm);
  color: var(--color-accent-purple);
  margin-bottom: var(--spacing-md);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
}

.section-title {
  font-size: var(--font-size-4xl);
  font-weight: 800;
  margin-bottom: var(--spacing-md);
  line-height: 1.2;
}

.section-description {
  font-size: var(--font-size-lg);
  color: var(--color-text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--spacing-xl);
}

.about-card {
  padding: var(--spacing-xl);
  background: rgba(139, 92, 246, 0.05);
  border: 1px solid rgba(139, 92, 246, 0.1);
  border-radius: var(--border-radius-lg);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.about-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-cyber);
  transform: scaleX(0);
  transition: transform var(--transition-base);
}

.about-card:hover {
  transform: translateY(-5px);
  background: rgba(139, 92, 246, 0.1);
  border-color: rgba(139, 92, 246, 0.3);
}

.about-card:hover::before {
  transform: scaleX(1);
}

.about-card-icon {
  font-size: var(--font-size-4xl);
  margin-bottom: var(--spacing-md);
  filter: drop-shadow(0 0 10px rgba(139, 92, 246, 0.5));
}

.about-card h3 {
  font-size: var(--font-size-xl);
  margin-bottom: var(--spacing-sm);
  color: var(--color-text-primary);
}

.about-card p {
  color: var(--color-text-secondary);
  line-height: 1.7;
}

/* ==================== Projects Section ==================== */
.projects {
  padding: var(--spacing-3xl) 0;
  background: var(--color-bg-secondary);
}

.projects-loading {
  text-align: center;
  padding: var(--spacing-3xl);
}

.spinner {
  width: 50px;
  height: 50px;
  margin: 0 auto var(--spacing-md);
  border: 3px solid rgba(139, 92, 246, 0.1);
  border-top-color: var(--color-accent-purple);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: var(--spacing-xl);
}

.project-card {
  background: rgba(139, 92, 246, 0.05);
  border: 1px solid rgba(139, 92, 246, 0.1);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  transition: all var(--transition-base);
  position: relative;
  cursor: pointer;
}

.project-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-cyber);
  opacity: 0;
  transition: opacity var(--transition-base);
  pointer-events: none;
  z-index: 0;
}

.project-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(139, 92, 246, 0.3);
  border-color: rgba(139, 92, 246, 0.5);
}

.project-card:hover::after {
  opacity: 0.03;
}

.project-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.project-card:hover .project-image {
  transform: scale(1.05);
}

.project-content {
  padding: var(--spacing-lg);
  position: relative;
  z-index: 1;
}

.project-title {
  font-size: var(--font-size-xl);
  font-weight: 700;
  margin-bottom: var(--spacing-sm);
  color: var(--color-text-primary);
}

.project-description {
  color: var(--color-text-secondary);
  margin-bottom: var(--spacing-md);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.project-tech {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-xs);
  margin-bottom: var(--spacing-md);
}

.tech-tag {
  padding: 4px 12px;
  background: rgba(139, 92, 246, 0.2);
  border: 1px solid rgba(139, 92, 246, 0.3);
  border-radius: 100px;
  font-size: var(--font-size-xs);
  color: var(--color-accent-purple);
  font-weight: 500;
}

.project-link {
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-xs);
  color: var(--color-accent-purple);
  text-decoration: none;
  font-weight: 600;
  font-size: var(--font-size-sm);
  transition: gap var(--transition-base);
}

.project-link:hover {
  gap: var(--spacing-sm);
}

.projects-empty {
  text-align: center;
  padding: var(--spacing-3xl);
}

.empty-icon {
  font-size: 80px;
  margin-bottom: var(--spacing-md);
  opacity: 0.5;
}

.projects-empty h3 {
  font-size: var(--font-size-2xl);
  margin-bottom: var(--spacing-sm);
}

.projects-empty p {
  color: var(--color-text-secondary);
}

/* ==================== Contact Section ==================== */
.contact {
  padding: var(--spacing-3xl) 0;
  background: linear-gradient(180deg, var(--color-bg-secondary) 0%, var(--color-bg-primary) 100%);
}

.contact-form-container {
  max-width: 800px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--spacing-xl);
}

.contact-form {
  background: rgba(139, 92, 246, 0.05);
  border: 1px solid rgba(139, 92, 246, 0.2);
  border-radius: var(--border-radius-xl);
  padding: var(--spacing-xl);
}

.form-row-contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-md);
  margin-bottom: var(--spacing-md);
}

.form-group-contact {
  margin-bottom: var(--spacing-md);
}

.form-group-contact label {
  display: block;
  font-size: var(--font-size-sm);
  font-weight: 600;
  color: var(--color-text-secondary);
  margin-bottom: var(--spacing-xs);
}

.form-input-contact,
.form-textarea-contact {
  width: 100%;
  padding: var(--spacing-md);
  background: rgba(139, 92, 246, 0.05);
  border: 1px solid rgba(139, 92, 246, 0.2);
  border-radius: var(--border-radius-md);
  color: var(--color-text-primary);
  font-size: var(--font-size-base);
  font-family: inherit;
  transition: all var(--transition-base);
}

.form-input-contact:focus,
.form-textarea-contact:focus {
  outline: none;
  background: rgba(139, 92, 246, 0.1);
  border-color: var(--color-accent-purple);
  box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.1);
}

.form-input-contact::placeholder,
.form-textarea-contact::placeholder {
  color: var(--color-text-muted);
}

.form-textarea-contact {
  resize: vertical;
  min-height: 120px;
}

.checkbox-label-contact {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  cursor: pointer;
  font-size: var(--font-size-base);
  color: var(--color-text-secondary);
  user-select: none;
}

.checkbox-label-contact input[type="checkbox"] {
  width: 1.25rem;
  height: 1.25rem;
  cursor: pointer;
  accent-color: var(--color-accent-purple);
}

.btn-submit {
  width: 100%;
  margin-top: var(--spacing-md);
  position: relative;
  overflow: hidden;
}

.btn-submit::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.btn-submit:hover::before {
  width: 300px;
  height: 300px;
}

.form-success,
.form-error {
  padding: var(--spacing-md);
  border-radius: var(--border-radius-md);
  text-align: center;
  font-weight: 500;
  margin-bottom: var(--spacing-md);
}

.form-success {
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: #10b981;
}

.form-error {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #ef4444;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
}

.info-card {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
  padding: var(--spacing-lg);
  background: rgba(139, 92, 246, 0.05);
  border: 1px solid rgba(139, 92, 246, 0.2);
  border-radius: var(--border-radius-lg);
  transition: all var(--transition-base);
}

.info-card:hover {
  background: rgba(139, 92, 246, 0.1);
  border-color: rgba(139, 92, 246, 0.4);
  transform: translateY(-2px);
}

.info-icon {
  font-size: var(--font-size-3xl);
  flex-shrink: 0;
}

.info-content {
  flex: 1;
}

.info-content h4 {
  font-size: var(--font-size-base);
  color: var(--color-text-secondary);
  margin-bottom: 4px;
}

.info-content a {
  color: var(--color-text-primary);
  text-decoration: none;
  font-weight: 600;
  transition: color var(--transition-base);
}

.info-content a:hover {
  color: var(--color-accent-purple);
}

/* WhatsApp Specific Styling */
.whatsapp-card {
  background: rgba(37, 211, 102, 0.05);
  border: 1px solid rgba(37, 211, 102, 0.2);
}

.whatsapp-card:hover {
  background: rgba(37, 211, 102, 0.1);
  border-color: rgba(37, 211, 102, 0.5);
  box-shadow: 0 0 30px rgba(37, 211, 102, 0.2);
  transform: translateY(-5px);
}

.whatsapp-card .info-icon {
  filter: drop-shadow(0 0 10px rgba(37, 211, 102, 0.5));
}

.whatsapp-card .info-content a:hover {
  color: #25D366;
}

/* Responsive Contact Form */
@media (max-width: 768px) {
  .form-row-contact {
    grid-template-columns: 1fr;
  }
}

/* ==================== Footer ==================== */
.footer {
  padding: var(--spacing-xl) 0;
  background: var(--color-bg-primary);
  border-top: 1px solid rgba(139, 92, 246, 0.1);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--spacing-md);
}

.footer-content p {
  color: var(--color-text-muted);
  font-size: var(--font-size-sm);
}

.footer-links {
  display: flex;
  gap: var(--spacing-md);
}

.footer-link {
  color: var(--color-text-secondary);
  text-decoration: none;
  font-size: var(--font-size-sm);
  transition: color var(--transition-base);
}

.footer-link:hover {
  color: var(--color-accent-purple);
}

.admin-link {
  opacity: 0.3;
}

/* ==================== Responsive Design ==================== */
@media (max-width: 968px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-visual {
    display: none;
  }

  .hero-content {
    max-width: 100%;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero-description {
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    top: 70px;
    left: -100%;
    flex-direction: column;
    background: rgba(10, 10, 15, 0.98);
    backdrop-filter: blur(20px);
    width: 100%;
    padding: var(--spacing-lg);
    transition: left var(--transition-base);
    border-bottom: 1px solid rgba(139, 92, 246, 0.2);
  }

  .nav-menu.active {
    left: 0;
  }

  .menu-toggle {
    display: flex;
  }

  .hero-title {
    font-size: var(--font-size-3xl);
  }

  .hero-name {
    font-size: var(--font-size-4xl);
  }

  .section-title {
    font-size: var(--font-size-3xl);
  }

  .projects-grid {
    grid-template-columns: 1fr;
  }

  .contact-card {
    padding: var(--spacing-xl);
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: var(--font-size-2xl);
  }

  .hero-name {
    font-size: var(--font-size-3xl);
  }

  .btn {
    width: 100%;
    justify-content: center;
  }
}