/* Dotting Static Site - Custom Styles */

/* Geist Font from Google Fonts is loaded via HTML <link> */

body {
  font-family: 'Geist', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

code, pre, .font-mono {
  font-family: 'Geist Mono', 'Courier New', monospace;
}

/* Scrollbar styling */
.custom-scrollbar {
  scrollbar-width: thin;
  scrollbar-color: #64748b #0f172a;
}
.custom-scrollbar-blue {
  scrollbar-width: thin;
  scrollbar-color: #3b82f6 #0f172a;
}
.custom-scrollbar-purple {
  scrollbar-width: thin;
  scrollbar-color: #a855f7 #0f172a;
}

/* Animations */
@keyframes fade-in {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fade-in-delay {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes pulse-slow {
  0%, 100% { opacity: 0.8; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.02); }
}
@keyframes slide-down {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes scale-in {
  from { opacity: 0; transform: scale(0.9); }
  to { opacity: 1; transform: scale(1); }
}
@keyframes scan {
  0%, 100% { transform: translateY(-100%); }
  50% { transform: translateY(100%); }
}
@keyframes terminal-blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

.animate-fade-in { animation: fade-in 0.8s ease-out forwards; }
.animate-fade-in-delay { animation: fade-in-delay 0.8s ease-out 0.3s forwards; opacity: 0; }
.animate-pulse-slow { animation: pulse-slow 3s ease-in-out infinite; }
.animate-slide-down { animation: slide-down 0.2s ease-out; }
.animate-scale-in { animation: scale-in 0.3s ease-out; }
.animate-scan { animation: scan 3s ease-in-out infinite; }
.animate-terminal-blink { animation: terminal-blink 1s step-end infinite; }

/* Carousel */
.carousel-container {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}
.carousel-slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.6s ease-in-out;
  pointer-events: none;
}
.carousel-slide.active {
  opacity: 1;
  pointer-events: auto;
}
.carousel-dots {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 1rem;
  z-index: 10;
}
.carousel-dot {
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  background: rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.6);
  border: 1px solid rgba(255,255,255,0.1);
}
.carousel-dot.active {
  background: white;
  color: black;
}

/* Chat message animation */
.chat-message {
  opacity: 0;
  transform: translateY(10px);
  animation: fade-in 0.4s ease-out forwards;
}

/* Snap scroll container */
.snap-container {
  scroll-snap-type: y mandatory;
  overflow-y: scroll;
  height: 100vh;
}
.snap-section {
  scroll-snap-align: start;
  scroll-snap-stop: always;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

/* Toggle switch (for cookie consent) */
.peer:checked + .toggle-track {
  background-color: #2563eb;
}
.peer:checked + .toggle-track::after {
  transform: translateX(100%);
}
