/*
* FunnelCraftPro - Main Stylesheet
* A comprehensive CSS file for styling the sales funnel landing page service website
*/

/* ---------- Base Styles ---------- */
:root {
  /* Color Variables */
  --primary-color: #4158D0;
  --primary-gradient: linear-gradient(43deg, #4158D0 0%, #C850C0 46%, #FFCC70 100%);
  --secondary-color: #6c757d;
  --dark-color: #343a40;
  --light-color: #f8f9fa;
  --white-color: #ffffff;
  --black-color: #000000;
  --success-color: #28a745;
  --info-color: #17a2b8;
  --warning-color: #ffc107;
  --danger-color: #dc3545;
  
  /* Price Tag Colors */
  --blue-tag: #4361ee;
  --silver-tag: #a1a1a1;
  --gold-tag: #fdc500;
  
  /* Typography */
  --body-font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  --heading-font: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  
  /* Spacing */
  --section-spacing: 100px;
  --element-spacing: 30px;
  
  /* Border Radius */
  --border-radius-sm: 4px;
  --border-radius: 8px;
  --border-radius-lg: 16px;
  
  /* Shadow */
  --box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
  --box-shadow-sm: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
  --box-shadow-lg: 0 1rem 3rem rgba(0, 0, 0, 0.175);
}

/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Poppins:wght@300;400;500;600;700;800&display=swap');

/* Base Styles */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--body-font);
  line-height: 1.6;
  color: var(--dark-color);
  background-color: var(--white-color);
  overflow-x: hidden;
  transition: background-color 0.3s ease;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--heading-font);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

p {
  margin-bottom: 1rem;
}

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: all 0.3s ease;
}

a:hover {
  color: #3240a0;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
}

section {
  padding: var(--section-spacing) 0;
  position: relative;
}

.container {
  padding-left: 15px;
  padding-right: 15px;
}

.highlight {
  color: #4158D0;
  position: relative;
}

button {
  cursor: pointer;
}

/* ---------- Utility Classes ---------- */
.text-center {
  text-align: center;
}

.text-start {
  text-align: left;
}

.text-end {
  text-align: right;
}

.text-primary {
  color: var(--primary-color);
}

.bg-primary {
  background-color: var(--primary-color);
}

.btn {
  display: inline-block;
  font-weight: 500;
  text-align: center;
  white-space: nowrap;
  vertical-align: middle;
  user-select: none;
  border: 1px solid transparent;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  line-height: 1.5;
  border-radius: var(--border-radius);
  transition: all 0.15s ease-in-out;
}

.btn-primary {
  color: var(--white-color);
  background: var(--primary-gradient);
  border-color: var(--primary-color);
}

.btn-primary:hover {
  background: linear-gradient(43deg, #3649b8 0%, #b148ad 46%, #e8b865 100%);
  border-color: #3649b8;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(65, 88, 208, 0.3);
}

.btn-outline-primary {
  color: var(--primary-color);
  background-color: transparent;
  border-color: var(--primary-color);
}

.btn-outline-primary:hover {
  color: var(--white-color);
  background-color: var(--primary-color);
  transform: translateY(-2px);
}

.btn-outline-secondary {
  color: var(--secondary-color);
  background-color: transparent;
  border-color: var(--secondary-color);
}

.btn-outline-secondary:hover {
  color: var(--white-color);
  background-color: var(--secondary-color);
  transform: translateY(-2px);
}

.btn-light {
  color: var(--dark-color);
  background-color: var(--white-color);
  border-color: var(--white-color);
}

.btn-light:hover {
  color: var(--dark-color);
  background-color: var(--light-color);
  border-color: var(--light-color);
  transform: translateY(-2px);
}

.btn-outline-light {
  color: var(--white-color);
  background-color: transparent;
  border-color: var(--white-color);
}

.btn-outline-light:hover {
  color: var(--dark-color);
  background-color: var(--white-color);
  transform: translateY(-2px);
}

.mb-1 {
  margin-bottom: 0.25rem;
}

.mb-2 {
  margin-bottom: 0.5rem;
}

.mb-3 {
  margin-bottom: 1rem;
}

.mb-4 {
  margin-bottom: 1.5rem;
}

.mb-5 {
  margin-bottom: 3rem;
}

.mt-1 {
  margin-top: 0.25rem;
}

.mt-2 {
  margin-top: 0.5rem;
}

.mt-3 {
  margin-top: 1rem;
}

.mt-4 {
  margin-top: 1.5rem;
}

.mt-5 {
  margin-top: 3rem;
}

.ms-1 {
  margin-left: 0.25rem;
}

.ms-2 {
  margin-left: 0.5rem;
}

.ms-3 {
  margin-left: 1rem;
}

.ms-auto {
  margin-left: auto;
}

.me-1 {
  margin-right: 0.25rem;
}

.me-2 {
  margin-right: 0.5rem;
}

.me-3 {
  margin-right: 1rem;
}

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

/* ---------- Preloader ---------- */
.preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--primary-gradient);
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.preloader.hidden {
  opacity: 0;
  visibility: hidden;
}

.loader {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.preloader-svg {
  width: 100px;
  height: 100px;
  animation: preloader-rotate 2s ease-in-out infinite alternate;
}

.preloader-path {
  stroke-dasharray: 300;
  stroke-dashoffset: 300;
  animation: preloader-dash 2s linear forwards infinite;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.5));
}

.preloader-text {
  margin-top: 20px;
  font-family: var(--heading-font);
  font-size: 2rem;
  font-weight: 700;
  color: var(--white-color);
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
  opacity: 0;
  animation: fade-in 1s ease-in-out forwards 0.5s;
}

@keyframes preloader-rotate {
  0% {
    transform: rotateY(0deg);
  }
  100% {
    transform: rotateY(180deg);
  }
}

@keyframes preloader-dash {
  0% {
    stroke-dashoffset: 300;
  }
  50% {
    stroke-dashoffset: 0;
  }
  100% {
    stroke-dashoffset: -300;
  }
}

@keyframes fade-in {
  0% {
    opacity: 0;
    transform: translateY(10px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ---------- Header & Navigation ---------- */
#header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.05);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.navbar {
  padding: 1rem 0;
  transition: all 0.3s ease;
}

.navbar.scrolled {
  padding: 0.5rem 0;
  background-color: var(--white-color);
}

.navbar-brand {
  display: flex;
  align-items: center;
}

.logo-container {
  display: flex;
  align-items: center;
  position: relative;
}

.logo-icon {
  width: 40px;
  height: 40px;
  margin-right: 10px;
  filter: drop-shadow(0 5px 10px rgba(65, 88, 208, 0.3));
  animation: logo-float 3s ease-in-out infinite;
}

.logo-path {
  animation: logo-glow 3s ease-in-out infinite alternate;
}

@keyframes logo-float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-5px);
  }
}

@keyframes logo-glow {
  0% {
    filter: drop-shadow(0 0 2px rgba(65, 88, 208, 0.5));
  }
  100% {
    filter: drop-shadow(0 0 8px rgba(65, 88, 208, 0.8));
  }
}

.logo-text {
  font-family: var(--heading-font);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--dark-color);
  position: relative;
  background: linear-gradient(120deg, var(--dark-color), var(--primary-color));
  background-size: 200% auto;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradient-text 8s linear infinite;
}

@keyframes gradient-text {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.nav-link-animated {
  position: relative;
  padding: 0.5rem 1rem;
  font-weight: 500;
  color: var(--dark-color);
  transition: all 0.3s ease;
  perspective: 1000px;
  transform-style: preserve-3d;
}

.nav-link-animated::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 0;
  background: rgba(65, 88, 208, 0.1);
  border-radius: 4px;
  transition: height 0.3s ease;
  z-index: -1;
  transform-origin: bottom;
}

.nav-link-animated:hover::before {
  height: 100%;
}

.nav-link-animated::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 3px;
  background: var(--primary-gradient);
  transition: width 0.3s ease, left 0.3s ease;
  transform: translateX(-50%);
  box-shadow: 0 0 10px rgba(65, 88, 208, 0.5);
}

.nav-link-animated:hover::after,
.nav-link-animated.active::after {
  width: 100%;
}

.navbar-nav {
  margin-right: 1rem;
}

.nav-utilities {
  display: flex;
  align-items: center;
}

.nav-icon-btn {
  display: flex;
  align-items: center;
  color: var(--dark-color);
  background: transparent;
  border: none;
  padding: 0.25rem 0.5rem;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  border-radius: 50px;
}

.nav-icon-btn:hover {
  background: rgba(65, 88, 208, 0.1);
  color: var(--primary-color);
  transform: translateY(-2px);
}

.nav-icon-btn i {
  margin-right: 0.25rem;
  transition: transform 0.3s ease;
}

.nav-icon-btn:hover i {
  transform: rotate(15deg);
}

.dropdown-menu-animated {
  border: none;
  border-radius: var(--border-radius);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  animation: dropdown-appear 0.3s ease forwards;
  transform-origin: top center;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

@keyframes dropdown-appear {
  0% {
    opacity: 0;
    transform: translateY(-10px) scale(0.95);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.dropdown-item {
  position: relative;
  transition: all 0.2s ease;
  padding: 0.75rem 1.5rem;
  overflow: hidden;
}

.dropdown-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 100%;
  background: var(--primary-gradient);
  transform: scaleY(0);
  transition: transform 0.2s ease;
}

.dropdown-item:hover {
  background: rgba(65, 88, 208, 0.05);
  padding-left: 2rem;
}

.dropdown-item:hover::before {
  transform: scaleY(1);
}

.nav-glowing-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--primary-gradient);
  opacity: 0.7;
  box-shadow: 0 0 10px rgba(65, 88, 208, 0.7);
}

/* ---------- Hero Section ---------- */
.hero-section {
  padding-top: 150px;
  padding-bottom: 100px;
  background: var(--primary-gradient);
  color: var(--white-color);
  overflow: hidden;
  position: relative;
  perspective: 1000px;
}

/* Particle overlay for 3D background effect */
.particle-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  background-image: radial-gradient(circle at center, rgba(255, 255, 255, 0.1) 0%, transparent 8%);
  background-size: 3vmin 3vmin;
  background-position: 0 0;
  animation: particles 20s linear infinite;
  transform-style: preserve-3d;
  pointer-events: none;
}

@keyframes particles {
  0% {
    background-position: 0 0;
  }
  100% {
    background-position: 100% 100%;
  }
}

.hero-content {
  padding-right: 2rem;
  position: relative;
  z-index: 2;
}

.main-heading {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  line-height: 1.2;
  text-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  background: linear-gradient(to right, #ffffff, #e0e0e0);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: textShine 3s ease-in-out infinite alternate;
}

@keyframes textShine {
  0% {
    background-position: left;
  }
  100% {
    background-position: right;
  }
}

.hero-description {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  opacity: 0.9;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.hero-buttons {
  margin-bottom: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

/* Glowing button effect */
.btn-glow {
  position: relative;
  overflow: hidden;
  background: linear-gradient(90deg, #4158D0, #C850C0, #FFCC70);
  background-size: 300% 100%;
  border: none;
  animation: gradientShift 8s ease infinite;
  box-shadow: 0 5px 15px rgba(65, 88, 208, 0.5);
  transition: all 0.3s ease;
  transform-style: preserve-3d;
}

.btn-glow:before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: 0.5s;
}

.btn-glow:hover:before {
  left: 100%;
}

.btn-hover-effect {
  position: relative;
  overflow: hidden;
  z-index: 1;
  transition: all 0.4s ease;
}

.btn-hover-effect:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 0;
  background: linear-gradient(to top, rgba(65, 88, 208, 0.2), transparent);
  z-index: -1;
  transition: all 0.4s ease;
}

.btn-hover-effect:hover:after {
  height: 100%;
}

@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.hero-features {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.feature {
  display: flex;
  align-items: center;
  background-color: rgba(255, 255, 255, 0.1);
  padding: 0.8rem 1.2rem;
  border-radius: var(--border-radius);
  backdrop-filter: blur(10px);
  transform-style: preserve-3d;
  transition: all 0.3s ease;
}

.feature-card {
  position: relative;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  overflow: hidden;
}

.feature-card:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transform: translateX(-100%);
  transition: all 0.6s ease;
  z-index: 0;
}

.feature-card:hover:before {
  transform: translateX(100%);
}

.feature-card:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
  background-color: rgba(255, 255, 255, 0.15);
}

.feature i {
  margin-right: 0.7rem;
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.9);
  position: relative;
  z-index: 1;
}

.feature span {
  position: relative;
  z-index: 1;
}

.hero-image-wrapper {
  position: relative;
  z-index: 1;
  transform-style: preserve-3d;
  perspective: 1000px;
}

.funnel-graphic {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  transform-style: preserve-3d;
  transform: rotateY(10deg);
  transition: transform 0.5s ease;
}

.funnel-graphic:hover {
  transform: rotateY(-10deg);
}

.funnel-svg {
  max-width: 400px;
  filter: drop-shadow(0px 20px 30px rgba(0, 0, 0, 0.3));
  transform-style: preserve-3d;
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0% {
    transform: translateY(0px) rotateY(0deg);
  }
  50% {
    transform: translateY(-20px) rotateY(5deg);
  }
  100% {
    transform: translateY(0px) rotateY(0deg);
  }
}

.funnel-path {
  animation: glow 4s ease-in-out infinite alternate;
  transform-origin: center;
}

.funnel-text {
  font-family: var(--heading-font);
  font-weight: 600;
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

.funnel-icon {
  animation: pulse 2s ease-in-out infinite;
}

.data-particle {
  animation: pulse 1.5s ease-in-out infinite;
}

@keyframes glow {
  0% {
    filter: drop-shadow(0px 0px 10px rgba(255, 255, 255, 0.4));
    transform: scale(1);
  }
  100% {
    filter: drop-shadow(0px 0px 25px rgba(255, 255, 255, 0.8));
    transform: scale(1.02);
  }
}

@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 0.8;
  }
  50% {
    transform: scale(1.1);
    opacity: 1;
  }
  100% {
    transform: scale(1);
    opacity: 0.8;
  }
}

/* Floating elements around the funnel */
.floating-elements {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.floating-icon {
  position: absolute;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  animation-duration: 5s;
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
  animation-fill-mode: both;
}

.floating-icon i {
  font-size: 24px;
  color: white;
}

.icon-chart {
  top: 10%;
  right: 10%;
  animation-name: floatUpDown;
}

.icon-users {
  bottom: 15%;
  left: 5%;
  animation-name: floatLeftRight;
}

.icon-rocket {
  top: 35%;
  left: 10%;
  animation-name: floatDiagonal;
}

.icon-target {
  bottom: 25%;
  right: 15%;
  animation-name: floatCircular;
}

@keyframes floatUpDown {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-20px) rotate(10deg);
  }
}

@keyframes floatLeftRight {
  0%, 100% {
    transform: translateX(0) rotate(0deg);
  }
  50% {
    transform: translateX(20px) rotate(-10deg);
  }
}

@keyframes floatDiagonal {
  0%, 100% {
    transform: translate(0, 0) rotate(0deg);
  }
  50% {
    transform: translate(15px, -15px) rotate(15deg);
  }
}

@keyframes floatCircular {
  0% {
    transform: translate(0, 0) rotate(0deg);
  }
  25% {
    transform: translate(10px, -10px) rotate(5deg);
  }
  50% {
    transform: translate(0, -15px) rotate(10deg);
  }
  75% {
    transform: translate(-10px, -10px) rotate(5deg);
  }
  100% {
    transform: translate(0, 0) rotate(0deg);
  }
}

.hero-wave {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  line-height: 0;
  z-index: 2;
  overflow: hidden;
}

.wave-svg {
  filter: drop-shadow(0 -10px 15px rgba(0, 0, 0, 0.1));
  height: 70px; /* Increased height for better visibility */
  width: 100%;
  position: absolute;
  bottom: 0;
  left: 0;
}

.wave-path {
  animation: waveMotion 3s linear infinite;
  transform-origin: center;
}

@keyframes waveMotion {
  0% {
    transform: translateX(0%);
  }
  50% {
    transform: translateX(-2%);
  }
  100% {
    transform: translateX(0%);
  }
}

/* Add ripple effect to the waves */
.wave-ripple {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 10px;
  background: rgba(255, 255, 255, 0.3);
  filter: blur(3px);
  animation: ripple 2s linear infinite;
  opacity: 0.5;
}

@keyframes ripple {
  0%, 100% {
    transform: translateY(0) scaleY(1);
  }
  50% {
    transform: translateY(-5px) scaleY(1.2);
  }
}

/* Wave indicators */
.wave-indicators {
  position: absolute;
  bottom: 5%;
  width: 100%;
  pointer-events: none;
}

.indicator {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(5px);
  padding: 8px 12px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.2);
  animation: bounce 3s ease-in-out infinite;
}

.indicator i {
  margin-bottom: 5px;
  font-size: 18px;
  color: white;
}

.indicator span {
  font-size: 14px;
  font-weight: 600;
  color: white;
}

.indicator-up {
  right: 25%;
  bottom: 80px;
  animation-delay: 0.5s;
}

.indicator-conversion {
  left: 20%;
  bottom: 60px;
  animation-delay: 1s;
}

.indicator-users {
  right: 65%;
  bottom: 50px;
  animation-delay: 1.5s;
}

@keyframes bounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

/* ---------- Section Headings ---------- */
.section-heading {
  margin-bottom: 3rem;
}

.section-heading h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  position: relative;
  display: inline-block;
}

.section-heading h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: var(--primary-gradient);
  border-radius: 3px;
}

.section-heading p {
  font-size: 1.2rem;
  color: var(--secondary-color);
  max-width: 800px;
  margin: 0 auto;
}

/* ---------- Services Section ---------- */
.services-section {
  background-color: var(--white-color);
}

.services-list {
  margin-bottom: 3rem;
}

.service-card {
  background-color: var(--white-color);
  border-radius: var(--border-radius);
  padding: 2rem;
  box-shadow: var(--box-shadow);
  transition: all 0.3s ease;
  position: relative;
  height: 100%;
  overflow: hidden;
  margin-bottom: 2rem;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--box-shadow-lg);
}

.service-icon {
  font-size: 3rem;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
  background: linear-gradient(43deg, #4158D0 0%, #C850C0 46%, #FFCC70 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.service-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.service-card p {
  color: var(--secondary-color);
  margin-bottom: 1.5rem;
}

.price-tag {
  position: absolute;
  top: 1rem;
  right: 1rem;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-weight: 600;
  color: var(--white-color);
  font-size: 0.9rem;
}

.price-tag small {
  text-decoration: line-through;
  opacity: 0.7;
  margin-left: 0.25rem;
}

.blue-tag {
  background-color: var(--blue-tag);
}

.silver-tag {
  background-color: var(--silver-tag);
}

.gold-tag {
  background-color: var(--gold-tag);
  color: var(--dark-color);
}

.service-features .features-image {
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
}

.service-features h3 {
  font-size: 1.75rem;
  margin-bottom: 1.5rem;
  color: var(--dark-color);
}

.feature-item {
  display: flex;
  margin-bottom: 1.5rem;
}

.feature-item i {
  font-size: 1.25rem;
  color: var(--success-color);
  margin-right: 1rem;
  margin-top: 0.25rem;
}

.feature-item h4 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.feature-item p {
  color: var(--secondary-color);
  margin-bottom: 0;
}

/* ---------- Why Choose Us Section ---------- */
.why-us-section {
  background-color: var(--light-color);
  overflow: hidden;
}

.why-us-steps {
  padding-right: 2rem;
}

.step-item {
  display: flex;
  margin-bottom: 2rem;
  position: relative;
}

.step-number {
  font-size: 3rem;
  font-weight: 800;
  color: var(--primary-color);
  opacity: 0.2;
  line-height: 1;
  margin-right: 1rem;
}

.step-content {
  padding-left: 1rem;
}

.step-content h3 {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

.step-content p {
  color: var(--secondary-color);
  margin-bottom: 0;
}

.why-us-image {
  max-width: 100%;
  height: auto;
}

.comparison-chart {
  width: 100%;
  height: auto;
  margin: 0 auto;
  display: block;
}

.chart-bar {
  transform-origin: bottom;
  transition: all 0.3s ease;
}

/* ---------- Portfolio Section ---------- */
.portfolio-section {
  background-color: var(--white-color);
}

.portfolio-filter {
  margin-bottom: 3rem;
}

.search-box {
  position: relative;
  margin-bottom: 1.5rem;
}

.search-box input {
  width: 100%;
  padding: 1rem 3rem 1rem 1.5rem;
  font-size: 1rem;
  border: 1px solid #e5e5e5;
  border-radius: var(--border-radius);
  transition: all 0.3s ease;
}

.search-box input:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(65, 88, 208, 0.1);
}

.search-box i {
  position: absolute;
  right: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--secondary-color);
}

.filter-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.filter-btn, .price-btn {
  padding: 0.5rem 1.25rem;
  border: 1px solid #e5e5e5;
  border-radius: var(--border-radius);
  background-color: var(--white-color);
  color: var(--dark-color);
  font-weight: 500;
  transition: all 0.3s ease;
  cursor: pointer;
}

.filter-btn:hover, .price-btn:hover,
.filter-btn.active, .price-btn.active {
  background-color: var(--primary-color);
  color: var(--white-color);
  border-color: var(--primary-color);
}

.price-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 1rem;
}

.price-btn[data-price="blue"] {
  border-color: var(--blue-tag);
  color: var(--blue-tag);
}

.price-btn[data-price="blue"]:hover,
.price-btn[data-price="blue"].active {
  background-color: var(--blue-tag);
  color: var(--white-color);
}

.price-btn[data-price="silver"] {
  border-color: var(--silver-tag);
  color: var(--silver-tag);
}

.price-btn[data-price="silver"]:hover,
.price-btn[data-price="silver"].active {
  background-color: var(--silver-tag);
  color: var(--white-color);
}

.price-btn[data-price="gold"] {
  border-color: var(--gold-tag);
  color: var(--dark-color);
}

.price-btn[data-price="gold"]:hover,
.price-btn[data-price="gold"].active {
  background-color: var(--gold-tag);
  color: var(--dark-color);
}

.portfolio-grid {
  margin-bottom: 3rem;
}

.portfolio-items {
  margin-right: -15px;
  margin-left: -15px;
}

.portfolio-item {
  margin-bottom: 2rem;
}

.portfolio-card {
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
  transition: all 0.3s ease;
  background-color: var(--white-color);
  height: 100%;
}

.portfolio-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--box-shadow-lg);
}

.portfolio-thumb {
  position: relative;
  overflow: hidden;
  height: 200px;
}

.portfolio-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.portfolio-card:hover .portfolio-thumb img {
  transform: scale(1.05);
}

.portfolio-tag {
  position: absolute;
  top: 1rem;
  right: 1rem;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-weight: 600;
  color: var(--white-color);
  font-size: 0.9rem;
  z-index: 1;
}

.portfolio-info {
  padding: 1.5rem;
}

.portfolio-info h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.portfolio-info p {
  color: var(--secondary-color);
  margin-bottom: 1rem;
  font-size: 0.9rem;
}

/* ---------- Features Section ---------- */

/* ---------- Features Section ---------- */
.features-section {
  background-color: var(--white-color);
}

.features-list {
  margin-top: 3rem;
}

.feature-box {
  text-align: center;
  padding: 2rem;
  border-radius: var(--border-radius);
  background-color: var(--white-color);
  box-shadow: var(--box-shadow);
  transition: all 0.3s ease;
  height: 100%;
  margin-bottom: 2rem;
}

.feature-box:hover {
  transform: translateY(-10px);
  box-shadow: var(--box-shadow-lg);
}

.feature-icon {
  font-size: 3rem;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.feature-box h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.feature-box p {
  color: var(--secondary-color);
  margin-bottom: 0;
}

/* ---------- FAQ Section ---------- */
.faq-section {
  background-color: var(--light-color);
}

.accordion-item {
  margin-bottom: 1rem;
  border: none;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow-sm);
}

.accordion-button {
  padding: 1.25rem;
  font-weight: 600;
  font-size: 1.1rem;
  background-color: var(--white-color);
  color: var(--dark-color);
  box-shadow: none;
}

.accordion-button:focus {
  box-shadow: none;
  border-color: rgba(65, 88, 208, 0.1);
}

.accordion-button:not(.collapsed) {
  color: var(--primary-color);
  background-color: var(--white-color);
  box-shadow: none;
}

.accordion-button::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23333'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.accordion-button:not(.collapsed)::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%234158D0'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.accordion-body {
  padding: 1.25rem;
  background-color: var(--white-color);
  color: var(--secondary-color);
}

/* ---------- CTA Section ---------- */
.cta-section {
  padding: 80px 0;
  background: var(--primary-gradient);
  position: relative;
  overflow: hidden;
}

.cta-box {
  color: var(--white-color);
  padding: 2rem;
  border-radius: var(--border-radius);
  background-color: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.cta-box h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.cta-box p {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  opacity: 0.9;
}

/* ---------- Footer ---------- */
.footer-section {
  background-color: var(--dark-color);
  color: var(--light-color);
  padding: 80px 0 0;
}

.footer-info {
  margin-bottom: 2rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 1.5rem;
  text-decoration: none;
}

.footer-logo .logo-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  overflow: hidden;
  animation: logo-float 3s ease-in-out infinite;
}

.footer-logo .logo-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  animation: logo-glow 2s ease-in-out infinite alternate;
}

.footer-logo .logo-text {
  color: var(--white-color);
  font-size: 1.5rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradient-text 3s ease-in-out infinite;
}

.footer-info p {
  opacity: 0.8;
  margin-bottom: 1.5rem;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-link {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--white-color);
  text-decoration: none;
  transition: all 0.3s ease;
}

.social-link:hover {
  background-color: var(--primary-color);
  color: var(--white-color);
  text-decoration: none;
  transform: translateY(-5px);
}

.footer-links {
  margin-bottom: 2rem;
}

.footer-links h4 {
  color: var(--white-color);
  margin-bottom: 1.5rem;
  font-size: 1.25rem;
  position: relative;
  padding-bottom: 0.75rem;
}

.footer-links h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background-color: var(--primary-color);
}

.footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links ul li {
  margin-bottom: 0.75rem;
}

.footer-links ul li a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: all 0.3s ease;
}

.footer-links ul li a:hover {
  color: var(--white-color);
  text-decoration: none;
  padding-left: 5px;
}

.footer-contact {
  margin-bottom: 2rem;
}

.footer-contact h4 {
  color: var(--white-color);
  margin-bottom: 1.5rem;
  font-size: 1.25rem;
  position: relative;
  padding-bottom: 0.75rem;
}

.footer-contact h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background-color: var(--primary-color);
}

.contact-info {
  list-style: none;
  padding: 0;
  margin: 0;
}

.contact-info li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.contact-info li i {
  color: var(--primary-color);
  margin-right: 1rem;
  margin-top: 5px;
}

.footer-bottom {
  margin-top: 3rem;
  padding: 2rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.copyright {
  margin-bottom: 0;
  opacity: 0.8;
}

.language-selector-footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.language-selector-footer span {
  margin-right: 0.5rem;
  opacity: 0.8;
}

.form-select-sm {
  padding: 0.25rem 0.5rem;
  font-size: 0.875rem;
  border-radius: var(--border-radius-sm);
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--white-color);
  border-color: rgba(255, 255, 255, 0.2);
}

.form-select-sm:focus {
  border-color: var(--primary-color);
  outline: 0;
  box-shadow: 0 0 0 0.25rem rgba(65, 88, 208, 0.25);
}

/* ---------- Mobile Navigation Bar ---------- */
.mobile-navbar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: var(--white-color);
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  padding: 0.75rem 0;
}

.mobile-navbar {
  display: flex;
  justify-content: space-around;
  align-items: center;
}

.mobile-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: var(--secondary-color);
  font-size: 0.8rem;
  text-decoration: none;
  transition: all 0.3s ease;
}

.mobile-nav-item i {
  font-size: 1.25rem;
  margin-bottom: 0.25rem;
}

.mobile-nav-item.active,
.mobile-nav-item:hover {
  color: var(--primary-color);
}

/* ---------- Modal Styles ---------- */
.modal-content {
  border: none;
  border-radius: var(--border-radius);
  overflow: hidden;
}

.modal-header {
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  background-color: var(--light-color);
}

.modal-footer {
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.portfolio-detail-image {
  position: relative;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
  margin-bottom: 1.5rem;
}

.portfolio-detail-image img {
  width: 100%;
  height: auto;
}

.portfolio-price {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.price-label {
  font-weight: 600;
}

.price-amount {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
}

.price-discount {
  text-decoration: line-through;
  color: var(--secondary-color);
}

.portfolio-features ul {
  list-style: none;
  padding-left: 0;
}

.portfolio-features ul li {
  margin-bottom: 0.5rem;
  padding-left: 1.5rem;
  position: relative;
}

.portfolio-features ul li::before {
  content: '\f00c';
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  position: absolute;
  left: 0;
  top: 0;
  color: var(--success-color);
}

.reviews-container {
  max-height: 200px;
  overflow-y: auto;
  padding-right: 0.5rem;
}

.review-item {
  padding: 1rem;
  border-radius: var(--border-radius-sm);
  background-color: var(--light-color);
  margin-bottom: 0.75rem;
}

.review-item:last-child {
  margin-bottom: 0;
}

.review-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}

.review-name {
  font-weight: 600;
  font-size: 0.9rem;
}

.review-rating {
  color: var(--warning-color);
  font-size: 0.8rem;
}

.review-text {
  font-size: 0.9rem;
  margin-bottom: 0;
}

/* Payment Modal Styles */
/* Main styles for the payment modal */
.modal-content {
    border-radius: 15px;
    border: none;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    background: linear-gradient(135deg, rgba(255,255,255,0.95) 0%, rgba(250,250,252,0.95) 100%);
}

.modal-header {
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding: 20px 25px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
}

.modal-title-container {
    display: flex;
    align-items: center;
}

.modal-title-icon {
    margin-right: 15px;
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

.modal-title {
    margin-bottom: 0;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.modal-body {
    padding: 25px;
}

/* Payment Selection Bar */
.payment-selections {
    background: rgba(240, 242, 245, 0.5);
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
    margin-bottom: 1.5rem;
}

.payment-selections::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

.selected-package-name {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.price-display {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.price-display .currency {
    font-size: 20px;
    font-weight: 600;
    color: #555;
    margin-right: 5px;
}

.price-display .amount {
    font-size: 40px;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
}

.price-display .payment-once {
    font-size: 12px;
    color: #666;
    margin-top: 5px;
    background: rgba(0, 0, 0, 0.05);
    padding: 3px 10px;
    border-radius: 20px;
}

.package-features {
    border-left: 1px solid rgba(0, 0, 0, 0.1);
    padding-left: 20px;
}

.feature-row {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.feature-icon {
    width: 28px;
    height: 28px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    color: white;
    font-size: 12px;
}

.feature-text {
    font-size: 14px;
    color: #444;
}

/* Payment Options Navigation Pills */
.payment-nav-pills {
    border: none !important;
    background: rgba(240, 242, 245, 0.5);
    border-radius: 50px;
    padding: 5px;
    display: flex;
    justify-content: space-between;
}

.payment-nav-pills .nav-item {
    flex: 1;
    text-align: center;
}

.payment-nav-pills .nav-link {
    border-radius: 50px;
    padding: 10px 15px;
    color: #666;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
}

.payment-nav-pills .nav-link.active {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    box-shadow: 0 5px 15px rgba(65, 88, 208, 0.3);
}

.payment-nav-pills .nav-link:hover:not(.active) {
    background-color: rgba(0, 0, 0, 0.05);
}
.crypto-options {
  margin-bottom: 2rem;
}

.crypto-option {
  padding: 1rem;
  border: 1px solid #e5e5e5;
  border-radius: var(--border-radius);
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.crypto-option::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 100%;
  background: transparent;
  transition: all 0.3s ease;
}

.crypto-option:hover {
  border-color: var(--primary-color);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transform: translateY(-2px);
}

.crypto-option:hover::before {
  background: linear-gradient(to bottom, var(--primary-color), var(--secondary-color));
}

.crypto-option.active {
  border-color: var(--primary-color);
  background: linear-gradient(135deg, rgba(65, 88, 208, 0.05) 0%, rgba(200, 80, 192, 0.02) 100%);
  box-shadow: 0 5px 20px rgba(65, 88, 208, 0.1);
}

.crypto-option.active::before {
  background: linear-gradient(to bottom, var(--primary-color), var(--secondary-color));
}

.crypto-header {
  display: flex;
  align-items: center;
}

.crypto-status {
  width: 30px;
}

.status-indicator {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background-color: #e9ecef;
  position: relative;
  display: inline-block;
}

.status-indicator.active {
  background-color: #4cd964;
}

.pulse-circle {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background-color: #4cd964;
  opacity: 0.7;
  transform: scale(1);
  animation: pulse 2s infinite;
  display: none;
}

.status-indicator.active .pulse-circle {
  display: block;
}

@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 0.7;
  }
  50% {
    transform: scale(1.5);
    opacity: 0;
  }
  100% {
    transform: scale(1);
    opacity: 0;
  }
}

.crypto-icon {
  width: 40px;
  height: 40px;
  background-color: var(--primary-color);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--white-color);
  margin-right: 1rem;
}

.crypto-name h5 {
  margin-bottom: 0.25rem;
  font-size: 1rem;
}

.crypto-name p {
  margin-bottom: 0;
  font-size: 0.9rem;
  color: var(--secondary-color);
}

.crypto-detail {
  display: none;
}

.crypto-detail.active {
  display: block;
}

.qr-code {
  display: flex;
  justify-content: center;
  margin-bottom: 1.5rem;
}

/* QR Code Styling */
.qr-placeholder {
  position: relative;
  display: inline-block;
  background-color: white;
  padding: 1.5rem;
  border-radius: var(--border-radius);
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.qr-placeholder::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: var(--border-radius);
  border: 2px solid transparent;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color)) border-box;
  -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: destination-out;
  mask-composite: exclude;
  opacity: 0.3;
}

.qr-placeholder p {
  margin-top: 0.5rem;
  margin-bottom: 0;
  color: var(--secondary-color);
  font-size: 0.9rem;
}

.qr-code {
  text-align: center;
}

.qr-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.qr-scanner {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
  animation: qrScan 2s linear infinite;
  box-shadow: 0 0 10px rgba(65, 88, 208, 0.5);
}

@keyframes qrScan {
  0% {
    top: 20px;
  }
  50% {
    top: calc(100% - 20px);
  }
  100% {
    top: 20px;
  }
}

.wallet-address {
  margin-bottom: 1rem;
  padding: 1rem;
  background-color: rgba(240, 242, 245, 0.5);
  border-radius: var(--border-radius);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.wallet-address label {
  font-size: 14px;
  font-weight: 600;
  color: var(--dark-color);
  margin-bottom: 0.5rem;
  display: block;
}

.address-copy-container {
  position: relative;
}

.copy-message {
  position: absolute;
  bottom: -25px;
  left: 0;
  font-size: 12px;
  color: var(--secondary-color);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.address-copy-container:hover .copy-message {
  opacity: 1;
}

.input-group {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.input-group .form-control {
  border: none;
  font-size: 0.9rem;
  font-family: 'Courier New', monospace;
  padding: 0.75rem 1rem;
}

.input-group .form-control:focus {
  box-shadow: none;
  border-color: transparent;
}

.copy-btn {
  padding: 0 1rem;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  border: none;
  color: white;
  transition: all 0.3s ease;
}

.copy-btn:hover {
  opacity: 0.9;
  transform: translateY(-1px);
  box-shadow: 0 5px 15px rgba(65, 88, 208, 0.3);
}

.copy-btn:active {
  transform: translateY(1px);
}

.payment-steps {
  margin: 1.5rem 0;
}

.step-item {
  display: flex;
  margin-bottom: 1rem;
  position: relative;
}

.step-item:last-child {
  margin-bottom: 0;
}

.step-item:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 25px;
  left: 12px;
  width: 1px;
  height: calc(100% - 10px);
  background: linear-gradient(to bottom, var(--primary-color), transparent);
}

.step-number {
  width: 25px;
  height: 25px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 600;
  margin-right: 15px;
  z-index: 2;
  box-shadow: 0 3px 8px rgba(65, 88, 208, 0.3);
}

.step-text {
  flex: 1;
  padding-top: 0.2rem;
}

.step-text p {
  margin-bottom: 0;
  font-size: 0.9rem;
  color: var(--dark-color);
}

.highlight {
  color: var(--primary-color);
  font-weight: 600;
}

.address-note {
  font-size: 0.9rem;
  color: var(--secondary-color);
  margin-top: 0.5rem;
}

.network-badge {
  font-size: 0.75rem;
  padding: 0.2rem 0.6rem;
  border-radius: 20px;
  margin-left: 10px;
  font-weight: 600;
  display: inline-block;
}

.network-badge.trc20 {
  background-color: rgba(198, 55, 52, 0.1);
  color: #C63734;
}

.network-badge.bep20 {
  background-color: rgba(243, 186, 47, 0.1);
  color: #F3BA2F;
}

/* Animated wallet details */
.wallet-details h5 {
  position: relative;
  display: inline-flex;
  align-items: center;
  margin-bottom: 1.5rem;
  font-size: 1.2rem;
  font-weight: 600;
}

.wallet-details h5::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 40px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  border-radius: 3px;
  transition: width 0.3s ease;
}

.wallet-details h5:hover::after {
  width: 60px;
}

.bank-details,
.payoneer-info {
  padding: 1rem;
}

.bank-detail-item {
  margin-bottom: 1.5rem;
}

.bank-detail-item label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.payoneer-logo {
  color: var(--primary-color);
}

.success-icon {
  color: var(--success-color);
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideInUp {
  from {
    transform: translateY(50px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes slideInLeft {
  from {
    transform: translateX(-50px);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes slideInRight {
  from {
    transform: translateX(50px);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

.animate-fadeIn {
  animation: fadeIn 1s ease-in-out;
}

.animate-slideInUp {
  animation: slideInUp 1s ease-in-out;
}

.animate-slideInLeft {
  animation: slideInLeft 1s ease-in-out;
}

.animate-slideInRight {
  animation: slideInRight 1s ease-in-out;
}

/* ---------- Multilingual Testimonials Section ---------- */
.multilingual-testimonials-section {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  padding: 4rem 0;
  position: relative;
  overflow: hidden;
}

.multilingual-testimonials-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="white" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="white" opacity="0.1"/><circle cx="50" cy="10" r="0.5" fill="white" opacity="0.1"/><circle cx="10" cy="60" r="0.5" fill="white" opacity="0.1"/><circle cx="90" cy="40" r="0.5" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
  pointer-events: none;
}

.testimonials-header {
  margin-bottom: 60px;
  position: relative;
  z-index: 2;
}

.testimonials-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.2);
  color: white;
  padding: 8px 16px;
  border-radius: 25px;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 20px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.testimonials-title {
  color: white;
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 20px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.testimonials-subtitle {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.2rem;
  margin-bottom: 30px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.overall-rating {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  margin-bottom: 40px;
}

.stars {
  display: flex;
  gap: 2px;
}

.stars i {
  color: #ffd700;
  font-size: 18px;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.3));
}

.rating-text {
  color: white;
  font-weight: 600;
  font-size: 16px;
}

/* Scrolling Testimonials Container */
.testimonials-scroll-container {
  position: relative;
  overflow: hidden;
  margin-bottom: 50px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 20px 0;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.testimonials-track {
  display: flex;
  gap: 30px;
  animation: scrollTestimonials 60s linear infinite;
  width: max-content;
  padding: 0 20px;
}

.testimonials-track:hover {
  animation-play-state: paused;
}

@keyframes scrollTestimonials {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.testimonial-card {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 20px;
  padding: 25px;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  min-width: 320px;
  max-width: 320px;
  flex-shrink: 0;
}

.testimonial-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #667eea, #764ba2);
  border-radius: 20px 20px 0 0;
}

.testimonial-card:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.language-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: white;
  padding: 4px 12px;
  border-radius: 15px;
  font-size: 12px;
  font-weight: 600;
  z-index: 2;
}

.testimonial-card[dir="rtl"] .language-badge {
  right: auto;
  left: 15px;
}

.testimonial-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
  margin-top: 10px;
}

.customer-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  border: 3px solid #667eea;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f8f9fa;
}

.customer-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blank-avatar {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: white;
  font-size: 20px;
}

.country-flag {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: white;
  font-size: 24px;
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.customer-info {
  flex: 1;
}

.customer-name {
  font-size: 16px;
  font-weight: 700;
  color: #333;
  margin: 0 0 5px 0;
}

.customer-title {
  font-size: 14px;
  color: #666;
  margin: 0 0 8px 0;
}

.customer-rating {
  display: flex;
  gap: 2px;
}

.customer-rating i {
  color: #ffd700;
  font-size: 14px;
}

.testimonial-content {
  margin-bottom: 20px;
}

.testimonial-text {
  font-size: 14px;
  line-height: 1.6;
  color: #555;
  margin: 0;
  font-style: italic;
}

.testimonial-stats {
  display: flex;
  gap: 15px;
  justify-content: space-between;
}

.stat-item {
  text-align: center;
  flex: 1;
}

.stat-number {
  display: block;
  font-size: 18px;
  font-weight: 700;
  color: #667eea;
  margin-bottom: 5px;
}

.stat-label {
  font-size: 12px;
  color: #666;
  font-weight: 500;
}

/* Enhanced Card Animations with Performance */
.testimonial-card:nth-child(1) { animation-delay: 0.1s; }
.testimonial-card:nth-child(2) { animation-delay: 0.2s; }
.testimonial-card:nth-child(3) { animation-delay: 0.3s; }

/* Scroll Progress Indicator - Enhanced */
.testimonials-container::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: var(--scroll-progress, 0%);
  height: 3px;
  background: linear-gradient(90deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  border-radius: 2px;
  transition: width 0.3s ease;
  will-change: width;
}

/* Performance optimizations */
.testimonial-card * {
  will-change: auto;
}

.testimonial-card:hover * {
  will-change: transform;
}

/* Mobile optimizations with better performance */
@media (max-width: 768px) {
  .testimonials-grid {
    gap: 1.5rem;
    padding: 0.5rem 0;
  }
  
  .testimonial-card {
    min-width: 300px;
  }
  
  .testimonials-navigation {
    gap: 1.5rem;
  }
  
  .nav-btn {
    width: 45px;
    height: 45px;
  }
  
  .dot {
    width: 10px;
    height: 10px;
  }
}

@media (max-width: 576px) {
  .testimonial-card {
    min-width: 280px;
  }
  
  .nav-btn {
    width: 40px;
    height: 40px;
  }
  
  .nav-btn i {
    font-size: 0.9rem;
  }
  
  .dot {
    width: 8px;
    height: 8px;
  }
  
  .testimonials-navigation {
    gap: 1rem;
  }
}
