/* Base styles - complements Tailwind CDN utilities */
html, body {
  margin: 0;
  padding: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  scrollbar-width: thin;
  scrollbar-color: #ff5100 #fff3eb;
}

/* Smooth scrolling */
html { scroll-behavior: smooth; }

html::-webkit-scrollbar {
  width: 6px;
}

html::-webkit-scrollbar-track {
  background: #fff3eb;
}

html::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #ff7a1a 0%, #ff5100 100%);
  border-radius: 9999px;
}

html::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #ff8c38 0%, #ff5100 100%);
}



/* Transition helpers */
a, button { transition: all 0.2s ease; }

/* Utility for hidden with transition contexts */
.hidden { display: none; }

/* FAQ open state helpers (JS toggles classes) */
.faq-open .faq-content {
    max-height: 24rem !important;
    padding: 0px 0px 15px 0px !important;
}

/* Layout tuning: narrow the global container a bit to match the design reference */
.container { max-width: 1300px !important; }

.footer-ambient {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 16% 22%, rgba(255, 110, 32, 0.14), transparent 30%),
    radial-gradient(circle at 82% 18%, rgba(255, 155, 64, 0.1), transparent 26%),
    linear-gradient(180deg, #0f1720 0%, #0b1118 100%);
}

.footer-ambient::before,
.footer-ambient::after {
  content: '';
  position: absolute;
  inset: -20%;
  pointer-events: none;
}

.footer-ambient::before {
  background:
    radial-gradient(circle at 20% 30%, rgba(255, 97, 27, 0.14), transparent 18%),
    radial-gradient(circle at 78% 24%, rgba(255, 135, 37, 0.12), transparent 20%),
    radial-gradient(circle at 58% 78%, rgba(255, 255, 255, 0.05), transparent 16%);
  filter: blur(26px);
  opacity: 0.9;
  animation: footer-orb-drift 18s ease-in-out infinite alternate;
}

.footer-ambient::after {
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.5), transparent 88%);
  opacity: 0.32;
  animation: footer-grid-shift 20s linear infinite;
}

.footer-ambient .container {
  position: relative;
  z-index: 1;
}

@keyframes footer-orb-drift {
  0% {
    transform: translate3d(-2%, 0, 0) scale(1);
  }
  50% {
    transform: translate3d(2%, -2%, 0) scale(1.05);
  }
  100% {
    transform: translate3d(0, 2%, 0) scale(0.98);
  }
}

@keyframes footer-grid-shift {
  0% {
    transform: translate3d(0, 0, 0);
  }
  100% {
    transform: translate3d(-24px, 18px, 0);
  }
}

.header-glass {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.74) 0%, rgba(255, 255, 255, 0.58) 100%);
  -webkit-backdrop-filter: blur(22px) saturate(180%);
  backdrop-filter: blur(22px) saturate(180%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.42);
  box-shadow:
    0 14px 40px rgba(17, 24, 39, 0.08),
    0 1px 0 rgba(255, 255, 255, 0.55) inset;
}

.header-glass::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.34) 0%, rgba(255, 255, 255, 0.1) 50%, rgba(255, 255, 255, 0.26) 100%);
  opacity: 0.8;
}

.header-glass > * {
  position: relative;
  z-index: 1;
}

.bg2 {
    background-image: url(img/bg2.png);
    background-size: 100%;
    background-repeat: no-repeat;
    background-repeat: repeat;
    background-position: center center;
    background-size: cover;
}

.brand-wordmark {
  font-family: 'Orbitron', system-ui, sans-serif;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.hero-title {
  font-family: 'Orbitron', system-ui, sans-serif;
  font-weight: 900;
  letter-spacing: 0.04em;
  line-height: 1.05;
  text-wrap: balance;
  text-shadow: 0 10px 30px rgba(17, 24, 39, 0.12);
}

.hero-title span {
  background: linear-gradient(90deg, #ff5100 0%, #ff7a1a 45%, #111827 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: hero-title-shine 6s ease-in-out infinite;
}

@keyframes hero-title-shine {
  0%,
  100% {
    background-position: 0% center;
  }
  50% {
    background-position: 100% center;
  }
}

.hero-cta {
  position: relative;
  overflow: hidden;
  align-items: center;
  justify-content: center;
  padding: 0.95rem 1.5rem;
  border-radius: 80px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: linear-gradient(135deg, #ff5a0f 0%, #ff7a1a 52%, #ff8c3a 100%);
  box-shadow:
    0 18px 34px rgba(255, 81, 0, 0.26),
    0 2px 0 rgba(255, 255, 255, 0.22) inset,
    0 -2px 0 rgba(186, 57, 0, 0.24) inset;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  transform: translateY(0);
  transition:
    transform 0.28s ease,
    box-shadow 0.28s ease,
    filter 0.28s ease,
    border-color 0.28s ease;
}

.hero-cta::before {
  content: '';
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.24), rgba(255, 255, 255, 0));
  pointer-events: none;
}

.hero-cta::after {
  content: '';
  position: absolute;
  top: -140%;
  left: -30%;
  width: 46%;
  height: 320%;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.45), rgba(255, 255, 255, 0));
  transform: rotate(24deg);
  transition: left 0.5s ease;
  pointer-events: none;
}

.hero-cta:hover {
  transform: translateY(-3px) scale(1.01);
  border-color: rgba(255, 255, 255, 0.35);
  box-shadow:
    0 24px 42px rgba(255, 81, 0, 0.34),
    0 2px 0 rgba(255, 255, 255, 0.24) inset,
    0 -2px 0 rgba(186, 57, 0, 0.28) inset;
  filter: saturate(1.06);
}

.hero-cta:hover::after {
  left: 115%;
}

.hero-cta:active {
  transform: translateY(-1px) scale(0.995);
}

.hero-cta svg,
.hero-cta span,
.hero-cta {
  position: relative;
  z-index: 1;
}

.nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.82rem;
  font-weight: 700;
  transition: color 0.2s ease, font-weight 0.2s ease, background-color 0.2s ease;
}

.nav-link::after {
  content: '';
  position: absolute;
  left: 0.75rem;
  right: 0.75rem;
  bottom: -10px;
  height: 3px;
  border-radius: 10px;
  background: #ff5100;
  opacity: 0;
  transform: scaleX(0.5);
  transform-origin: center;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.nav-link.nav-link-active {
  color: #ff5100 !important;
  font-weight: 700 !important;
}

.nav-link.nav-link-active::after {
  opacity: 1;
  transform: scaleX(1);
}

@media (max-width: 767.98px) {
  .nav-link::after {
    left: 0;
    right: auto;
    bottom: -0.35rem;
    width: 100%;
    border-radius: 10px;
  }
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.25rem;
  border: 1px solid rgba(255, 81, 0, 0.14);
  border-radius: 9999px;
  background: rgba(255, 81, 0, 0.08);
}

.lang-switch-mobile {
  width: 100%;
  justify-content: center;
}

.lang-toggle-btn {
  border: 0;
  background: transparent;
  color: #6b7280;
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1;
  padding: 0.55rem 0.9rem;
  border-radius: 9999px;
  cursor: pointer;
}

.lang-toggle-btn:hover {
  color: #111827;
}

.lang-toggle-btn.is-active {
  background: #ff5100;
  color: #ffffff;
  box-shadow: 0 10px 20px rgba(255, 81, 0, 0.22);
}

.system-requirements {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border-radius: 9999px;
  background: rgba(255, 81, 0, 0.08);
  color: #6b7280;
  font-size: 0.9rem;
  font-weight: 600;
}

.system-dot {
  width: 10px;
  height: 10px;
  border-radius: 9999px;
  background: #ff5100;
  box-shadow: 0 0 0 rgba(255, 81, 0, 0.45);
  animation: system-pulse 1.6s ease-in-out infinite;
}

@keyframes system-pulse {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(255, 81, 0, 0.45);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 10px rgba(255, 81, 0, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(255, 81, 0, 0);
  }
}

/* Floating blurry bubbles rising background for purple section */
.bubble-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.bubble {
  position: absolute;
  bottom: -20%;
  width: 120px;
  height: 120px;
  border-radius: 9999px;
  background: radial-gradient(circle at 50% 50%, rgba(255,255,255,0.6), rgba(255,255,255,0) 60%);
  filter: blur(12px);
  opacity: 0;
  animation: bubble-rise 12s linear infinite;
}

.bubble--sm { width: 70px; height: 70px; filter: blur(10px); animation-duration: 8s; }
.bubble--md { width: 100px; height: 100px; filter: blur(12px); animation-duration: 10s; }

/* Purple tint utility for bank logos: default tinted, hover returns original and zooms */
.tint-purple {
  filter: grayscale(1) sepia(1) hue-rotate(260deg) saturate(500%) brightness(0.6);
  transition: transform 200ms ease, filter 200ms ease, opacity 200ms ease;
  transform-origin: center;
  will-change: transform, filter;
}

.tint-purple:hover {
  filter: none;
  transform: scale(1.06);
}
.bubble--lg { width: 150px; height: 150px; filter: blur(16px); animation-duration: 12s; }

@keyframes bubble-rise {
  0%   { transform: translateY(0) translateX(0); opacity: 0; }
  15%  { opacity: 0.9; }
  50%  { transform: translateY(-55vh) translateX(16px); opacity: 0.9; }
  100% { transform: translateY(-110vh) translateX(-16px); opacity: 0; }
}

/* Beautiful entrance animations for hero section */
@keyframes fade-in-up {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes zoom-in {
  0% {
    opacity: 0;
    transform: scale(0.8);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

/* Animation utility classes */
.fade-in {
  opacity: 0;
  animation: fade-in-up 0.8s ease-out forwards;
}

.zoom-in {
  opacity: 0;
  animation: zoom-in 0.8s ease-out forwards;
}

/* Animation delay utilities */
.anim-delay-100 { animation-delay: 0.1s; }
.anim-delay-200 { animation-delay: 0.2s; }
.anim-delay-300 { animation-delay: 0.3s; }
.anim-delay-400 { animation-delay: 0.4s; }
.anim-delay-500 { animation-delay: 0.5s; }

/* Respect user's motion preferences */
@media (prefers-reduced-motion: reduce) {
  .fade-in, .zoom-in {
    animation: none;
    opacity: 1;
    transform: none;
  }
}

/* SVG Hover Rotation Effects */
.group-hover\:rotate-360:hover {
  transform: rotate(360deg);
}

@media (hover: hover) {
  .group:hover .group-hover\:rotate-360 {
    transform: rotate(360deg);
  }
}

/* Scroll Animation Classes */
.scroll-animate {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease-out;
}

.scroll-animate.animate-in {
  opacity: 1;
  transform: translateY(0);
}

.scroll-animate-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: all 0.6s ease-out;
}

.scroll-animate-left.animate-in {
  opacity: 1;
  transform: translateX(0);
}

.scroll-animate-right {
  opacity: 0;
  transform: translateX(30px);
  transition: all 0.6s ease-out;
}

.scroll-animate-right.animate-in {
  opacity: 1;
  transform: translateX(0);
}

.scroll-animate-scale {
  opacity: 0;
  transform: scale(0.8);
  transition: all 0.6s ease-out;
}

.scroll-animate-scale.animate-in {
  opacity: 1;
  transform: scale(1);
}

.scroll-animate-stagger {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease-out;
}

.scroll-animate-stagger.animate-in {
  opacity: 1;
  transform: translateY(0);
}

/* Word-by-word text animation effect */
.word-animate {
  display: inline;
}

.word-animate .word {
  display: inline;
  color: inherit;
  transition: color 0.3s ease;
}

.word-animate:hover .word {
  color: #6b7280; /* Default gray color */
}

.word-animate .word.highlight {
  color: #ff5100 !important; /* Orange highlight color */
  font-weight: 600;
}

@keyframes word-highlight {
  0% {
  color: #6b7280;
}

.install-flow {
  position: relative;
  padding-top: 0.5rem;
}

.install-flow__line {
  position: absolute;
  pointer-events: none;
  z-index: 0;
}

.install-flow__line--mobile {
  left: 50%;
  top: 3.5rem;
  bottom: 3.5rem;
  width: 4px;
  transform: translateX(-50%);
  border-radius: 9999px;
  background: linear-gradient(180deg, rgba(255, 209, 181, 0.9) 0%, rgba(255, 140, 58, 0.95) 48%, rgba(255, 81, 0, 0.95) 100%);
  box-shadow:
    0 0 0 6px rgba(255, 245, 238, 0.92),
    0 14px 24px rgba(255, 81, 0, 0.14);
  opacity: 0.95;
}

.install-step {
  position: relative;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(249, 250, 251, 0.96));
  border: 1px solid rgba(255, 81, 0, 0.08);
  box-shadow:
    0 18px 45px rgba(17, 24, 39, 0.08),
    0 1px 0 rgba(255, 255, 255, 0.95) inset;
  overflow: visible;
  z-index: 1;
}

.install-step__badge {
  position: relative;
  box-shadow:
    0 0 0 10px rgba(255, 255, 255, 0.96),
    0 10px 24px rgba(255, 81, 0, 0.16);
}

.install-step__badge::after {
  content: '';
  position: absolute;
  inset: -6px;
  border: 1px solid rgba(255, 81, 0, 0.16);
  border-radius: 9999px;
}

.install-step--link::after,
.install-step--link::before {
  content: '';
  position: absolute;
  display: none;
  pointer-events: none;
}

@media (min-width: 768px) {
  .install-flow {
    padding-top: 1rem;
  }

  .install-flow__line--mobile {
    display: none;
  }

  .install-step--link::after {
    display: block;
    top: 3.2rem;
    left: calc(100% - 0.25rem);
    width: calc(100% + 1.1rem);
    height: 4.5rem;
    border-top: 4px solid #ffd8c2;
    border-right: 4px solid #ffd8c2;
    border-radius: 0 9999px 9999px 0;
    opacity: 0.95;
    box-shadow: 0 8px 20px rgba(255, 81, 0, 0.08);
  }

  .install-step--link::before {
    display: block;
    top: 4.65rem;
    left: calc(100% + 4.2rem);
    width: 0.9rem;
    height: 0.9rem;
    border-top: 4px solid #ff7a1a;
    border-right: 4px solid #ff7a1a;
    transform: rotate(45deg);
    border-radius: 2px;
  }

  .install-step--link-alt::after {
    top: 1.2rem;
    height: 6.2rem;
    border-top: 0;
    border-bottom: 4px solid #ffbf97;
    border-right: 4px solid #ffbf97;
    border-radius: 0 0 9999px 0;
  }

  .install-step--link-alt::before {
    top: 5.7rem;
  }
}

@media (max-width: 767px) {
  .install-flow {
    padding-top: 0;
    padding-bottom: 0;
  }

  .install-step {
    max-width: 32rem;
    margin-left: auto;
    margin-right: auto;
  }
}
  50% {
    color: #ff5100;
    font-weight: 600;
  }
  100% {
    color: #6b7280;
  }
}

/* Customer review author info spacing */
.ml-3 {
  margin-top: 15px;
}
span.logo-f {
    background: #ff5100;
    display: inline-block;
    padding: 4px;
    box-sizing: content-box;
    border-radius: 7px;
    display: flex;
    align-items: center;
    justify-content: center;
}
span.logo-f svg {
    display: block;
    color: white;
}
span.logo-f-f {
    display: inline-block;
    margin-bottom: 10px;
    border: 2px solid;
    border-radius: 7px;
    padding: 5px;
}
