@import url("../71de0c11c987f278_css2.css");

body { font-family: 'Inter', sans-serif; }

/* Variables for flashlight effect */
:root {
  --mouse-x: 0px;
  --mouse-y: 0px;
}

/* Animations */
@keyframes slideDownLetter {
  0%   { transform: translateY(-120%); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}
.clip-text-container {
  display: inline-flex;
  overflow: hidden;
  vertical-align: bottom;
}
.animate-letter {
  display: inline-block;
  transform: translateY(-120%);
  opacity: 0;
  animation: slideDownLetter 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes beam {
  0%   { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}
.btn-beam {
  position: relative;
  z-index: 1;
}
.btn-beam::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.6), transparent);
  background-size: 200% 100%;
  animation: beam 2s linear infinite;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: -1;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  padding: 1px;
}
.dark-btn.btn-beam::before {
  background: linear-gradient(90deg, transparent, rgba(0,0,0,0.3), transparent);
}
.btn-beam:hover::before { opacity: 1; }

@keyframes sonar {
  0%   { transform: scale(1);   opacity: 0.8; }
  100% { transform: scale(2.5); opacity: 0; }
}
.sonar-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid currentColor;
  animation: sonar 2s cubic-bezier(0, 0, 0.2, 1) infinite;
  pointer-events: none;
}

@keyframes marquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.marquee-mask {
  mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
}
.animate-marquee {
  display: flex;
  width: max-content;
  animation: marquee 25s linear infinite;
}

/* Flashlight Card Effect */
.card-flashlight {
  position: relative;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(0, 0, 0, 0.05);
  overflow: hidden;
  transition: transform 0.3s ease;
}
.dark-section .card-flashlight {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

/* Flashlight Background Highlight */
.card-flashlight::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    600px circle at var(--mouse-x) var(--mouse-y),
    rgba(255, 255, 255, 0.8),
    transparent 40%
  );
  z-index: 0;
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}
.dark-section .card-flashlight::before {
  background: radial-gradient(
    600px circle at var(--mouse-x) var(--mouse-y),
    rgba(255, 255, 255, 0.08),
    transparent 40%
  );
}

/* Flashlight Border Highlight */
.card-flashlight::after {
  content: "";
  position: absolute;
  inset: 0;
  padding: 1px;
  border-radius: inherit;
  background: radial-gradient(
    400px circle at var(--mouse-x) var(--mouse-y),
    rgba(0, 0, 0, 0.15),
    transparent 40%
  );
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  z-index: 1;
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}
.dark-section .card-flashlight::after {
  background: radial-gradient(
    400px circle at var(--mouse-x) var(--mouse-y),
    rgba(255, 255, 255, 0.4),
    transparent 40%
  );
}
.card-flashlight:hover::before,
.card-flashlight:hover::after { opacity: 1; }

.card-content {
  position: relative;
  z-index: 2;
}

/* Base setup for section overlays */
.section-container { position: relative; }
.parallax-layer    { will-change: transform; }
