/* ==============================
   Typography & Utilities 
   ============================== */
body {
  font-family: 'Inter', sans-serif;
}

html {
  scroll-behavior: smooth;
}

.hover-glow:hover {
  box-shadow: 0 10px 30px rgba(99, 102, 241, 0.2);
  transform: translateY(-3px);
}

.gradient-text {
  background: linear-gradient(to right, #6366f1, #3b82f6);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ==============================
   Navigation & Mobile Menu
   ============================== */
#navBg {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  opacity: 0;
  transition: all 0.3s ease;
}

.nav-container {
  max-width: 1300px;
  margin: auto;
  padding: 18px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  z-index: 10;
}

.logo {
  font-weight: 600;
  font-size: 18px;
}

.nav-menu {
  display: flex;
  gap: 32px;
  align-items: center;
}

.nav-link {
  color: #333;
  text-decoration: none;
  padding: 6px 10px;
  border-radius: 8px;
  transition: all 0.25s ease;
}

.nav-link:hover {
  background: #f3f4f6;
  color: #4f46e5;
}

.nav-item {
  position: relative;
}

.mega-menu {
  position: absolute;
  top: 140%;
  left: 0;
  width: 420px;
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 16px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
  padding: 12px;
  display: grid;
  gap: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.25s ease;
}

.nav-item:hover .mega-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.mega-card {
  display: block;
  padding: 12px;
  border-radius: 10px;
  text-decoration: none;
  color: #111;
  transition: all 0.2s ease;
}

.mega-card span {
  display: block;
  font-size: 13px;
  color: #555;
}

.mega-card:hover {
  background: rgba(255, 255, 255, 0.8);
  color: #111;
  transform: translateX(4px);
}

.nav-btn {
  background: #4f46e5;
  color: white;
  padding: 10px 18px;
  border-radius: 10px;
  text-decoration: none;
  transition: all 0.25s ease;
}

.nav-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(79, 70, 229, 0.25);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.hamburger span {
  width: 22px;
  height: 2px;
  background: black;
  transition: 0.3s;
}

.mobile-menu {
  position: fixed;
  inset: 0;
  background: white;
  z-index: 50;
  display: flex;
  flex-direction: column;
  transform: translateY(-100%);
  transition: transform 0.4s ease;
  backdrop-filter: blur(10px);
}

.mobile-menu.active {
  transform: translateY(0);
}

.mobile-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid #eee;
}

.close-btn {
  font-size: 22px;
  cursor: pointer;
}

.mobile-content {
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  font-size: 18px;
}

.mobile-content>a {
  padding: 14px 0;
  font-size: 17px;
  color: #111;
  border-bottom: 1px solid #f1f5f9;
}

.mobile-trigger {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  font-size: 17px;
  color: #111;
  padding: 14px 0;
  margin-bottom: 0px;
}

.mobile-sub {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, opacity 0.25s ease, padding 0.3s ease, margin-top 0.3s ease;
  opacity: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 15px;
  color: #6b7280;
  padding: 0px 12px;
  border-radius: 8px;
  margin-top: 0px;
}

.mobile-sub.active {
  max-height: 240px;
  opacity: 1;
  padding: 10px 12px;
  margin-top: 10px;
}

.mobile-sub a:active {
  background: #f3f4f6;
  color: #4f46e5;
  transform: translateX(4px);
}

.mobile-footer {
  margin-top: auto;
  padding: 20px 24px;
  border-top: 1px solid #eee;
}

.mobile-cta {
  display: block;
  width: 100%;
  text-align: center;
  background: #4f46e5;
  color: white;
  padding: 14px;
  border-radius: 12px;
  font-weight: 500;
  transition: all 0.25s ease;
}

.mobile-cta:active {
  transform: scale(0.96);
  box-shadow: 0 5px 15px rgba(79, 70, 229, 0.3);
}

.arrow {
  font-size: 18px;
  transition: transform 0.3s ease;
}

.mobile-sub.active+.arrow,
.mobile-trigger.active #arrow {
  transform: rotate(45deg);
}

.mobile-item {
  margin-bottom: 0px;
  border-bottom: 1px solid #f1f5f9;
}

@media (max-width: 768px) {

  .nav-menu,
  .nav-btn {
    display: none;
  }

  .hamburger {
    display: flex;
  }
}

.mobile-content a,
.mobile-trigger {
  position: relative;
  padding: 10px 0;
  transition: all 0.2s ease;
}

.mobile-content a:active,
.mobile-trigger:active {
  transform: scale(0.97);
  opacity: 0.7;
}

.mobile-content a::after,
.mobile-trigger::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.04);
  opacity: 0;
  border-radius: 8px;
  transition: opacity 0.2s ease;
}

.mobile-content a:active::after,
.mobile-trigger:active::after {
  opacity: 1;
}

/* ==============================
   Components & Animations
   ============================== */
body {
  background: #f5f7ff;
}

@keyframes scrollX {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

.bg-track {
  display: flex;
  width: max-content;
  animation: scrollX 40s linear infinite;
}

.mask-fade {
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
}

@keyframes glowWave {
  0% {
    transform: scale(1);
    opacity: 0.6;
  }

  70% {
    transform: scale(2.2);
    opacity: 0;
  }

  100% {
    opacity: 0;
  }
}

.glow-wave {
  animation: glowWave 2s ease-out infinite;
}

/* Before/After Slider */
.slider-container {
  position: relative;
  width: 100%;
  max-width: 1000px;
  aspect-ratio: 1000 / 625;
  margin: 0rem auto 0;
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08), 0 8px 20px rgba(0, 0, 0, 0.05);
  transition: all 0.4s ease;
  user-select: none;
  -webkit-user-select: none;
}

.slider-container:hover {
  transform: scale(1.01);
}

.before-image img,
.after-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  user-select: none;
  -webkit-user-select: none;
}

@media (max-width: 768px) {
  .slider-container {
    border-radius: 12px;
  }
}

.before-image,
.after-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.before-text,
.after-text {
  position: absolute;
  font-family: system-ui;
  font-size: 12px;
  font-weight: 600;
  color: #3a3a3a;
  padding: 10px 20px;
  background-color: #ffffff9e;
  border-radius: 0.3rem;
  letter-spacing: 1px;
  transition: opacity 0.3s ease-in-out;
  backdrop-filter: blur(6px);
}

.before-text {
  left: 20px;
  top: 20px;
  z-index: 5;
}

.after-text {
  right: 20px;
  top: 20px;
  z-index: 3;
}

.after-image .after-text {
  visibility: visible;
  z-index: 3;
}

.after-image {
  clip-path: inset(0 50% 0 0);
}

.slider-handle {
  position: absolute;
  top: 0;
  left: 50%;
  width: 0px;
  height: 100%;
  background-color: #fff;
  cursor: pointer;
  z-index: 2;
  user-select: none;
}

.slider-line {
  position: absolute;
  top: 0;
  left: 50%;
  width: 0px;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: transparent;
  z-index: 1;
  user-select: none;
}

.pulse-container {
  position: relative;
  display: inline-block;
}

.pulse-container::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background-color: #ffffff;
  transform: translate(-50%, -50%) scale(1);
  opacity: 0;
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.6;
  }

  100% {
    transform: translate(-50%, -50%) scale(1.8);
    opacity: 0;
  }
}

.slider-line svg {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 3;
  cursor: pointer;
}

/* Reveal Animation */
@keyframes float {

  0%,
  100% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-12px);
  }
}

.animate-float {
  animation: float 7s ease-in-out infinite;
}

.reveal {
  opacity: 0;
  transform: translateY(60px);
  transition: all 1s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Steps */
.step.active {
  transform: translateX(6px);
  transition: all 0.3s ease;
}

/* Glass Input */
.glass-input {
  width: 100%;
  padding: 16px 20px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 1);
  color: white;
  outline: none;
  transition: all 0.25s ease;
}

.glass-input:focus {
  outline: none;
  border-color: rgba(255, 255, 255, 0.9);
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.12);
}

.glass-input::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.glass-dropdown {
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  overflow: hidden;
}

.dropdown-item {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 14px 20px;
  text-align: left;
  color: white;
  cursor: pointer;
  transition: all 0.2s ease;
}

.dropdown-item:hover {
  background: rgba(255, 255, 255, 0.15);
  padding-left: 24px;
  color: white;
}

.dropdown-open {
  opacity: 1 !important;
  scale: 1 !important;
  pointer-events: auto !important;
}

select.glass-input {
  color: white;
}

select.glass-input option {
  color: black;
  background: white;
}

/* Footer Links */
footer a {
  position: relative;
}

footer a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0%;
  height: 1px;
  background: black;
  transition: width 0.3s ease;
}

footer a:hover::after {
  width: 100%;
}

.group {
  transition: all 0.3s ease;
}

.group:hover {
  transform: translateY(-6px);
}

.group img {
  transition: transform 0.6s ease;
}

.group:hover img {
  transform: scale(1.05);
}

a {
  outline: none !important;
}

a:focus {
  outline: none !important;
  box-shadow: none !important;
}


#leadFormSection {
  scroll-margin-top: 100px;
}