/* Voysera Partners Global Styles */

:root {
  --voysera-primary: #1FD5F9;
  --voysera-primary-rgb: 31, 213, 249;
}

/* Hero Feature List Animation */
.hero-feature span {
  color: rgba(255, 255, 255, 0.35);
  transition: color 1s ease-in-out;
}

.hero-feature svg {
  color: rgba(255, 255, 255, 0.25);
  transition: color 1s ease-in-out;
}

.hero-feature.active span {
  color: rgba(255, 255, 255, 1);
}

.hero-feature.active svg {
  color: #1FD5F9;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  scroll-behavior: smooth;
}

#hero-partners {
  font-family: 'Space Grotesk', sans-serif;
  background-color: #080808;
  position: relative;
  overflow: hidden;
}

#hero-partners::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.08) 1px, transparent 1px);
  background-size: 12px 12px;
  pointer-events: none;
  z-index: 0;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 0%, rgba(0,0,0,1) 60%, rgba(0,0,0,0) 100%);
  -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 0%, rgba(0,0,0,1) 60%, rgba(0,0,0,0) 100%);
}

/* Blue Button */
.btn-blue,
.btn-primary-voysera,
.btn-dashboard {
  background: #1FD5F9;
  color: #080808;
  border: 1px solid #1FD5F9;
  transition: all 0.3s ease;
  box-shadow: 0 0 20px rgba(31, 213, 249, 0.4);
}

.btn-blue svg,
.btn-primary-voysera svg,
.btn-dashboard svg {
  transition: transform 0.4s ease;
}

.btn-blue:hover,
.btn-primary-voysera:hover,
.btn-dashboard:hover {
  background: transparent;
  color: #fff;
  border-color: #fff;
  box-shadow: none;
  transform: scale(1.03);
}

.btn-blue:hover svg,
.btn-primary-voysera:hover svg,
.btn-dashboard:hover svg {
  animation: arrow-rotate 0.5s ease forwards;
}

@keyframes arrow-rotate {
  0% {
    transform: translateX(0) rotate(0deg);
    opacity: 1;
  }
  40% {
    transform: translateX(10px) rotate(90deg);
    opacity: 0;
  }
  41% {
    transform: translateX(-10px) rotate(-90deg);
    opacity: 0;
  }
  100% {
    transform: translateX(0) rotate(0deg);
    opacity: 1;
  }
}

/* Dark Button */
.btn-dark,
.btn-secondary-voysera {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #fff;
  transition: all 0.3s ease;
}

.btn-dark:hover,
.btn-secondary-voysera:hover {
  border-color: rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.05);
  transform: scale(1.03);
}

/* Navigation link hover */
.nav-link-voysera {
  position: relative;
  transition: all 0.2s ease;
}

.nav-link-voysera::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 50%;
  width: 0;
  height: 2px;
  background: #1FD5F9;
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.nav-link-voysera:hover::after {
  width: 100%;
}

.nav-link-voysera:hover {
  color: #1FD5F9;
}

/* Text flip animation for buttons - 3D Cube effect */
.btn-text-flip {
  position: relative;
  perspective: 400px;
}

.btn-text-wrapper {
  display: block;
  position: relative;
  height: 1.2em;
  transform-style: preserve-3d;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  text-align: center;
}

.btn-text {
  display: block;
  backface-visibility: hidden;
}

.btn-text:first-child {
  transform: rotateX(0deg) translateZ(0.6em);
  color: #080808;
}

.btn-text-hover {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  transform: rotateX(-90deg) translateZ(0.6em);
  transform-origin: center center;
  color: #fff;
}

.btn-text-flip:hover .btn-text-wrapper {
  transform: rotateX(90deg);
}

/* Text flip animation for dark buttons - 3D Cube effect */
.btn-text-flip-dark {
  position: relative;
  perspective: 400px;
}

.btn-text-wrapper-dark {
  display: block;
  position: relative;
  height: 1.2em;
  transform-style: preserve-3d;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  text-align: center;
}

.btn-text-dark {
  display: block;
  backface-visibility: hidden;
}

.btn-text-dark:first-child {
  transform: rotateX(0deg) translateZ(0.6em);
  color: #fff;
}

.btn-text-hover-dark {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  transform: rotateX(-90deg) translateZ(0.6em);
  transform-origin: center center;
  color: #1FD5F9;
}

.btn-text-flip-dark:hover .btn-text-wrapper-dark {
  transform: rotateX(90deg);
}

/* How It Works Section */
.step-item {
  opacity: 0.5;
  transition: opacity 0.4s ease;
}

.step-item.active {
  opacity: 1;
}

.step-item.active .step-subtitle {
  max-height: 100px;
  opacity: 1;
}

.step-subtitle {
  opacity: 0;
  transition: max-height 0.5s ease, opacity 0.4s ease;
}

.step-item .flex-shrink-0 {
  transition: border-color 0.3s ease, background-color 0.3s ease;
}

.step-item.active .flex-shrink-0 {
  border-color: #1FD5F9;
  background-color: rgba(31, 213, 249, 0.1);
}

.step-item.active .flex-shrink-0 span {
  color: #1FD5F9;
}

/* Screen reader only */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

