/* ======================================================
   Jobulance.com - Light Tech Effects
   File: /assets/css/tech-effects.css
====================================================== */

/* Soft glass style */
.glass-card,
.card {
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border: 1px solid rgba(37, 99, 235, 0.12);
  box-shadow:
    0 18px 45px rgba(15, 23, 42, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

/* Light futuristic glow on hover */
.card,
.glass-card,
.btn,
.badge {
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.card:hover,
.glass-card:hover {
  transform: translateY(-6px);
  border-color: rgba(37, 99, 235, 0.25);
  box-shadow:
    0 24px 60px rgba(37, 99, 235, 0.12),
    0 8px 25px rgba(15, 23, 42, 0.08);
}

/* Premium button feel */
.btn-primary {
  box-shadow: 0 12px 28px rgba(37, 99, 235, 0.22);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 36px rgba(37, 99, 235, 0.28);
}

.btn-outline:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.08);
}

/* Scroll reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(34px);
  transition:
    opacity 0.75s ease,
    transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Optional delay classes */
.reveal-delay-1 {
  transition-delay: 0.08s;
}

.reveal-delay-2 {
  transition-delay: 0.16s;
}

.reveal-delay-3 {
  transition-delay: 0.24s;
}

/* Floating elements */
.float-soft {
  animation: floatSoft 6s ease-in-out infinite;
}

.float-soft-delay {
  animation: floatSoft 7s ease-in-out infinite;
  animation-delay: 1.2s;
}

@keyframes floatSoft {
  0%, 100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

/* Light tech decorative blur */
.tech-glow {
  position: relative;
  overflow: hidden;
}

.tech-glow::before {
  content: "";
  position: absolute;
  width: 220px;
  height: 220px;
  right: -90px;
  top: -90px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.14), transparent 65%);
  pointer-events: none;
}

.tech-glow::after {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  left: -80px;
  bottom: -80px;
  background: radial-gradient(circle, rgba(34, 197, 94, 0.13), transparent 65%);
  pointer-events: none;
}

/* Subtle AI grid overlay without changing light background */
.light-tech-section {
  position: relative;
  overflow: hidden;
}

.light-tech-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(37, 99, 235, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(37, 99, 235, 0.035) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(circle at center, black 0%, transparent 75%);
  -webkit-mask-image: radial-gradient(circle at center, black 0%, transparent 75%);
  pointer-events: none;
}

.light-tech-section > * {
  position: relative;
  z-index: 1;
}

/* Respect people who prefer less motion */
@media (prefers-reduced-motion: reduce) {
  .reveal,
  .float-soft,
  .float-soft-delay,
  .card,
  .glass-card,
  .btn {
    animation: none;
    transition: none;
    transform: none;
  }

  .reveal {
    opacity: 1;
  }
}