/* General Styles */
body {
  min-height: 100vh;
  font-family: 'Inter', sans-serif;
  color: white;
  background-color: #0f172a;
  overflow-x: hidden;
  width: 100%;
  max-width: 100vw;
}

/* Custom Cursor */
.cursor-dot {
  position: fixed;
  width: 8px;
  height: 8px;
  background-color: #6d28d9;
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
}

.cursor-outline {
  position: fixed;
  width: 40px;
  height: 40px;
  border: 2px solid rgba(109, 40, 217, 0.5);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition: width 0.2s, height 0.2s;
}

/* Canvas */
#hero-canvas {
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
  width: 100%;
  height: 100vh;
}

/* Glassmorphism Effect */
.glass {
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.15),
    inset 0 -1px 0 rgba(0, 0, 0, 0.1);
}

/* Text Gradient */
.text-gradient {
  background: linear-gradient(90deg, #6d28d9, #4f46e5);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Progress Bars */
.progress-bar {
  height: 6px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #6d28d9, #4f46e5);
  border-radius: 999px;
  transition: width 1.5s ease-in-out;
}

/* Card Hover Effects */
.card-hover {
  transition: transform 0.3s, box-shadow 0.3s;
}

.card-hover:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(109, 40, 217, 0.2);
}

/* Timeline */
.timeline-line {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, rgba(109, 40, 217, 0.7), rgba(79, 70, 229, 0.1));
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -14px;
  top: 20px;
  width: 26px;
  height: 26px;
  background-color: rgba(109, 40, 217, 0.2);
  border: 2px solid #6d28d9;
  border-radius: 50%;
}

/* Animations */
.floating {
  animation: float 3s ease-in-out infinite;
}

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

.rotate-slow {
  animation: rotate 20s linear infinite;
}

@keyframes rotate {
  from {
    transform: rotateY(0deg) rotateX(0deg);
  }
  to {
    transform: rotateY(360deg) rotateX(360deg);
  }
}

/* Custom Backgrounds */
.bg-gradient {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
}

/* Custom Form Elements */
input, textarea {
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: white;
}

input:focus, textarea:focus {
  border-color: #6d28d9;
  box-shadow: 0 0 0 2px rgba(109, 40, 217, 0.2);
}

.custom-checkbox {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  outline: none;
  cursor: pointer;
  background-color: rgba(255, 255, 255, 0.05);
}

.custom-checkbox:checked {
  background-color: #6d28d9;
  border-color: #6d28d9;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white' width='24px' height='24px'%3E%3Cpath d='M0 0h24v24H0z' fill='none'/%3E%3Cpath d='M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/%3E%3C/svg%3E");
  background-size: 80%;
  background-repeat: no-repeat;
  background-position: center;
}

/* 3D transforms */
.perspective-\[1000px\] {
  perspective: 1000px;
}

.rotate-y-90 {
  transform: rotateY(90deg);
}

.rotate-y-180 {
  transform: rotateY(180deg);
}

.rotate-y-270 {
  transform: rotateY(270deg);
}

.rotate-x-90 {
  transform: rotateX(90deg);
}

.rotate-x-270 {
  transform: rotateX(270deg);
}

.backface-hidden {
  backface-visibility: hidden;
}
