/* CarGPT Website Styles */

/* Font Family - Monospace */
.mono-font {
  font-family: "JetBrains Mono", "Fira Code", "IBM Plex Mono", "Courier New", monospace;
  font-weight: 400;
  letter-spacing: 0.02em;
}

body {
  font-family: "JetBrains Mono", "Fira Code", "IBM Plex Mono", "Courier New", monospace;
  letter-spacing: 0.02em;
}

/* Animations */
@keyframes pulse-green {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.03);
  }
}

@keyframes pulse-green-hover {
  0%, 100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.05);
    opacity: 0.95;
  }
}

@keyframes gradient-shift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

@keyframes gradient-shift-hover {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

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

@keyframes rotate-gradient-hover {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@keyframes glow-pulse {
  0%, 100% {
    box-shadow: 0 0 20px rgba(147, 197, 253, 0.4);
  }
  50% {
    box-shadow: 0 0 40px rgba(147, 197, 253, 0.7), 0 0 60px rgba(96, 165, 250, 0.5);
  }
}

@keyframes glow-pulse-hover {
  0%, 100% {
    box-shadow: 0 0 25px rgba(30, 64, 175, 0.5);
  }
  50% {
    box-shadow: 0 0 50px rgba(30, 64, 175, 0.8), 0 0 70px rgba(30, 58, 138, 0.6);
  }
}

/* Removed gradient animations - using clean black/white theme */

/* Phone Mockup Hover Effects */
.phone-mockup-hover {
  transition: transform 0.3s ease-in-out;
}

.phone-mockup-hover:hover {
  transform: scale(1.05);
}

/* Modal Styles */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(4px);
}

.modal.show {
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-content {
  max-width: 95vw;
  max-height: 95vh;
  position: relative;
  animation: modalFadeIn 0.3s ease-out;
}

@keyframes modalFadeIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.modal-image {
  width: auto;
  height: auto;
  max-width: 95vw;
  max-height: 95vh;
  border-radius: 12px;
  object-fit: contain;
}

.close-modal {
  position: absolute;
  top: -20px;
  right: 0;
  color: white;
  font-size: 30px;
  font-weight: bold;
  cursor: pointer;
  background: none;
  border: none;
  padding: 8px;
  border-radius: 50%;
  transition: background-color 0.2s;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.close-modal:hover {
  color: rgb(157, 156, 156);
}
