:root {
  --primary-color: #4f46e5;
  --secondary-color: #7c3aed;
  --accent-color: #06b6d4;
  --success-color: #10b981;
  --warning-color: #f59e0b;
  --danger-color: #ef4444;
  --light-color: #f8fafc;
  --dark-color: #1e293b;

  --epaidera-primary: #4f46e5;
  --epaidera-secondary: #7c3aed;
  --epaidera-accent: #06d6a0;
  --epaidera-dark: #1e1b4b;
  --epaidera-light: #f8fafc;
}

* {
  scroll-behavior: smooth;
}

body {
  font-family: "Segoe UI", -apple-system, BlinkMacSystemFont, Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--dark-color);
  overflow-x: hidden;
}

.brand-text {
  background: linear-gradient(135deg, var(--epaidera-primary), var(--epaidera-accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 700;
}

.text-gradient {
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-gradient-2 {
  background: linear-gradient(135deg, var(--success-color), var(--accent-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--primary-color);
  color: white;
  padding: 8px 16px;
  z-index: 9999;
  transition: top 0.3s;
}

.skip-link:focus {
  top: 0;
}

/* Navigation */
.navbar {
  transition: all 0.3s ease;
  padding: 12px 0;
  background: rgba(255, 255, 255, 0.98) !important;
}

.navbar.scrolled {
  padding: 8px 0;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(10px);
}

.navbar-brand {
  font-size: 1.5rem;
  font-weight: 700;
}

.navbar .nav-link {
  font-weight: 500;
  color: var(--dark-color);
  transition: color 0.3s ease;
}

.navbar .nav-link:hover {
  color: var(--primary-color);
}

@media (max-width: 991px) {
  .navbar-collapse {
    background: white;
    padding: 20px;
    border-radius: 15px;
    margin-top: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
  }
  
  .navbar .nav-link {
    padding: 12px 15px !important;
    border-radius: 8px;
  }
  
  .navbar .nav-link:hover {
    background: var(--light-color);
  }
  
  .navbar .btn {
    width: 100%;
    margin-top: 10px;
  }
}

/* Hero Section */
.hero-section {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  color: white;
  padding: 120px 0 100px;
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.hero-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 1440 320"><path fill="%23ffffff" fill-opacity="0.05" d="M0,96L48,112C96,128,192,160,288,186.7C384,213,480,235,576,213.3C672,192,768,128,864,128C960,128,1056,192,1152,192C1248,192,1344,128,1392,96L1440,64L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>');
  background-size: cover;
  background-position: bottom;
}

.hero-wave {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  line-height: 0;
}

.hero-wave svg {
  width: 100%;
  height: 80px;
}

@media (max-width: 991px) {
  .hero-section {
    min-height: auto;
    padding: 100px 0 80px;
  }
  
  .hero-section h1 {
    font-size: 2rem !important;
  }
  
  .hero-section .lead {
    font-size: 1rem;
  }
}

@media (max-width: 575px) {
  .hero-section {
    padding: 90px 0 70px;
  }
  
  .hero-section h1 {
    font-size: 1.75rem !important;
  }
  
  .navbar-brand {
    font-size: 1.2rem;
  }
}

.floating-icon {
  position: absolute;
  animation: float 6s ease-in-out infinite;
  opacity: 0.3;
  z-index: 1;
  color: rgba(255, 255, 255, 0.6);
}

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

.trust-badge {
  display: inline-flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 500;
}

.hero-stat {
  text-align: center;
}

.hero-stat-number {
  font-size: 1.75rem;
  font-weight: 700;
}

.hero-stat-label {
  font-size: 0.75rem;
  opacity: 0.8;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

@media (max-width: 575px) {
  .hero-stat-number {
    font-size: 1.25rem;
  }
  
  .hero-stat-label {
    font-size: 0.65rem;
  }
  
  .trust-badge {
    font-size: 0.75rem;
    padding: 6px 12px;
  }
}

/* Hero Illustration */
.hero-illustration {
  position: relative;
  height: 500px;
}

.hero-phone {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 280px;
  height: 560px;
  background: linear-gradient(145deg, #1a1a2e 0%, #16213e 100%);
  border-radius: 40px;
  padding: 10px;
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.4);
}

.phone-screen {
  background: linear-gradient(180deg, #0f0f23 0%, #1a1a2e 100%);
  border-radius: 32px;
  height: 100%;
  padding: 15px;
  overflow: hidden;
}

.phone-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
  font-size: 0.85rem;
}

.phone-time {
  font-weight: 600;
}

.phone-notch {
  width: 100px;
  height: 25px;
  background: #000;
  border-radius: 15px;
}

.phone-icons {
  display: flex;
  gap: 5px;
  font-size: 0.75rem;
}

.phone-content {
  padding: 10px;
}

.wallet-display {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  border-radius: 20px;
  padding: 25px;
  text-align: center;
  margin-bottom: 25px;
}

.wallet-display small {
  font-size: 0.8rem;
  opacity: 0.8;
}

.wallet-amount {
  font-size: 2.5rem;
  font-weight: 700;
  margin: 10px 0;
}

.wallet-growth {
  color: #10b981;
  font-size: 0.9rem;
  font-weight: 600;
}

.phone-stats {
  display: flex;
  gap: 15px;
}

.phone-stat-item {
  flex: 1;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 15px;
  padding: 15px;
  text-align: center;
}

.stat-icon {
  font-size: 1.2rem;
  margin-bottom: 8px;
  display: block;
  color: var(--accent-color);
}

.stat-value {
  font-size: 1.5rem;
  font-weight: 700;
  display: block;
}

.stat-name {
  font-size: 0.75rem;
  opacity: 0.7;
}

.earning-card {
  position: absolute;
  background: white;
  border-radius: 15px;
  padding: 15px 20px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  gap: 12px;
  animation: floatCard 4s ease-in-out infinite;
  color: var(--dark-color);
}

.earning-card i {
  font-size: 1.5rem;
  color: var(--success-color);
}

.earning-card span {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--success-color);
}

.earning-card small {
  display: block;
  font-size: 0.75rem;
  color: #666;
}

.earning-card-1 {
  top: 10%;
  left: 0;
  animation-delay: 0s;
}

.earning-card-2 {
  top: 40%;
  right: 0;
  animation-delay: 1s;
}

.earning-card-3 {
  bottom: 15%;
  left: 5%;
  animation-delay: 2s;
}

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

/* Pulse Button */
.pulse-btn {
  animation: pulse 2s infinite;
  position: relative;
  overflow: hidden;
}

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

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

@keyframes pulse {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.4);
  }
  50% {
    transform: scale(1.02);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(255, 255, 255, 0);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
  }
}

/* Section Styles */
.py-lg-6 {
  padding-top: 5rem !important;
  padding-bottom: 5rem !important;
}

@media (max-width: 991px) {
  .py-lg-6 {
    padding-top: 3rem !important;
    padding-bottom: 3rem !important;
  }
}

.section-title {
  position: relative;
  display: inline-block;
  margin-bottom: 30px;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(to right, var(--primary-color), var(--accent-color));
  border-radius: 2px;
}

/* How It Works */
.step-card {
  background: white;
  border-radius: 20px;
  padding: 40px 30px;
  box-shadow: 0 5px 30px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  position: relative;
}

.step-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.step-number {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 40px;
  background: var(--primary-color);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
  box-shadow: 0 5px 15px rgba(79, 70, 229, 0.3);
}

.step-icon {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  transition: transform 0.3s ease;
}

.step-card:hover .step-icon {
  transform: scale(1.1) rotate(5deg);
}

.step-connector {
  position: absolute;
  top: 70px;
  left: 25%;
  right: 25%;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-color), var(--success-color), var(--warning-color));
  z-index: 0;
}

@media (max-width: 767px) {
  .step-connector {
    display: none;
  }
  
  .step-card {
    padding: 30px 20px;
  }
}

/* Jobs & Tasks Section */
.jobs-section {
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  position: relative;
  overflow: hidden;
}

.jobs-section::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" fill="%234f46e5" fill-opacity="0.03"/></svg>');
  background-size: 50px 50px;
}

.jobs-features {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.jobs-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  padding: 15px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 3px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.jobs-feature-item:hover {
  transform: translateX(10px);
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
}

.feature-icon-sm {
  width: 45px;
  height: 45px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  flex-shrink: 0;
}

.jobs-showcase {
  position: relative;
  min-height: 500px;
}

.task-card {
  position: absolute;
  background: white;
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  display: flex;
  gap: 15px;
  width: 300px;
  transition: all 0.3s ease;
}

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

.task-card-1 {
  top: 0;
  right: 10%;
}

.task-card-2 {
  top: 120px;
  left: 0;
}

.task-card-3 {
  top: 240px;
  right: 5%;
}

.task-card-4 {
  top: 360px;
  left: 5%;
}

.task-category {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  flex-shrink: 0;
  font-size: 1.25rem;
}

.task-content h5 {
  font-size: 1rem;
  margin-bottom: 5px;
  color: var(--dark-color);
}

.task-reward {
  display: flex;
  align-items: center;
  gap: 10px;
}

.unlock-progress {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: white;
  border-radius: 16px;
  padding: 20px 30px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  width: 90%;
  max-width: 350px;
}

.unlock-header {
  font-weight: 600;
  color: var(--dark-color);
}

@media (max-width: 991px) {
  .jobs-showcase {
    min-height: auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 20px 0;
  }
  
  .task-card {
    position: relative;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    width: 100%;
  }
  
  .unlock-progress {
    position: relative;
    bottom: auto;
    left: auto;
    transform: none;
    width: 100%;
    max-width: none;
    margin-top: 20px;
  }
}

/* Bonus Cards */
.bonus-card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.bonus-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.bonus-header {
  padding: 25px;
  text-align: center;
  color: white;
  position: relative;
}

.bonus-header.starter {
  background: linear-gradient(135deg, #64748b, #94a3b8);
}

.bonus-header.bronze {
  background: linear-gradient(135deg, #d97706, #f59e0b);
}

.bonus-header.silver {
  background: linear-gradient(135deg, #6b7280, #9ca3af);
}

.bonus-header.gold {
  background: linear-gradient(135deg, #ca8a04, #eab308);
}

.bonus-header.platinum {
  background: linear-gradient(135deg, #0891b2, #22d3ee);
}

.bonus-header.diamond {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

.bonus-icon {
  width: 60px;
  height: 60px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 15px;
  font-size: 1.5rem;
}

.bonus-range {
  font-size: 0.85rem;
  opacity: 0.9;
}

.bonus-body {
  padding: 25px;
}

.bonus-highlight {
  background: linear-gradient(135deg, #fef3c7, #fde68a);
  padding: 12px 15px;
  border-radius: 10px;
  margin-bottom: 20px;
  font-weight: 600;
  color: #92400e;
  display: flex;
  align-items: center;
}

.bonus-features {
  list-style: none;
  padding: 0;
  margin: 0;
}

.bonus-features li {
  padding: 10px 0;
  border-bottom: 1px solid #f1f5f9;
  font-size: 0.95rem;
}

.bonus-features li:last-child {
  border-bottom: none;
}

/* Stats Section */
.stats-section {
  background: linear-gradient(135deg, var(--light-color) 0%, #e2e8f0 100%);
  position: relative;
  overflow: hidden;
}

.stats-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 1440 320"><path fill="%234f46e5" fill-opacity="0.05" d="M0,96L48,112C96,128,192,160,288,186.7C384,213,480,235,576,213.3C672,192,768,128,864,128C960,128,1056,192,1152,192C1248,192,1344,128,1392,96L1440,64L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>');
  background-size: cover;
  background-position: bottom;
}

.counter-item {
  text-align: center;
  padding: 20px;
  position: relative;
  z-index: 1;
}

.counter-icon {
  width: 70px;
  height: 70px;
  background: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.counter-number {
  font-size: 2.5rem;
  font-weight: 700;
  background: linear-gradient(to right, var(--primary-color), var(--accent-color));
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin: 15px 0 5px;
}

@media (max-width: 575px) {
  .counter-number {
    font-size: 1.75rem;
  }
  
  .counter-icon {
    width: 50px;
    height: 50px;
  }
  
  .counter-icon i {
    font-size: 1.25rem !important;
  }
}

/* Top Earners Section */
#earners {
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  position: relative;
  overflow: hidden;
}

#earners::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 1440 320"><path fill="%234f46e5" fill-opacity="0.03" d="M0,96L48,112C96,128,192,160,288,186.7C384,213,480,235,576,213.3C672,192,768,128,864,128C960,128,1056,192,1152,192C1248,192,1344,128,1392,96L1440,64L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>');
  background-size: cover;
  background-position: bottom;
}

.earners-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.earner-item {
  background: white;
  border-radius: 20px;
  padding: 25px 25px 25px 35px;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: center;
  position: relative;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: 1px solid transparent;
}

.earner-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
  border-color: rgba(79, 70, 229, 0.2);
}

.top-three-card {
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  border-left: 4px solid;
}

.top-three-card:hover {
  transform: translateY(-8px) scale(1.01);
}

.earner-item[data-rank="1"] {
  border-left-color: #ffd700;
}

.earner-item[data-rank="2"] {
  border-left-color: #c0c0c0;
}

.earner-item[data-rank="3"] {
  border-left-color: #cd7f32;
}

.rank-container {
  position: absolute;
  left: -15px;
  top: 50%;
  transform: translateY(-50%);
}

.rank-badge {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: bold;
  font-size: 1rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  position: relative;
  transition: all 0.3s ease;
}

.top-three-badge {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.standard-badge {
  background: linear-gradient(135deg, #6b7280 0%, #4b5563 100%);
}

.rank-badge:hover {
  transform: scale(1.1) rotate(5deg);
}

.crown {
  position: absolute;
  top: -8px;
  color: #ffd700;
  font-size: 0.9rem;
  filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.3));
  animation: crown-float 3s ease-in-out infinite;
}

@keyframes crown-float {
  0%, 100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-3px) rotate(5deg);
  }
}

.avatar-container {
  margin-right: 20px;
  position: relative;
}

.earner-avatar {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: bold;
  font-size: 1.25rem;
  border: 3px solid #e5e7eb;
  position: relative;
  transition: all 0.3s ease;
}

.earner-item:hover .earner-avatar {
  transform: scale(1.1);
  border-color: #4f46e5;
}

.avatar-glow {
  position: absolute;
  top: -5px;
  left: -5px;
  right: -5px;
  bottom: -5px;
  border-radius: 50%;
  background: conic-gradient(from 0deg, #4f46e5, #7c3aed, #06b6d4, #10b981, #4f46e5);
  z-index: -1;
  opacity: 0;
  transition: opacity 0.3s ease;
  animation: rotate 3s linear infinite;
}

.earner-item:hover .avatar-glow {
  opacity: 0.6;
}

@keyframes rotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.earner-info {
  flex: 1;
  margin-right: 20px;
}

.earner-name {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 5px;
  color: #1f2937;
}

.earner-level {
  display: inline-flex;
  align-items: center;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
}

.level-premium {
  background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
  color: #92400e;
}

.level-standard {
  background: #f3f4f6;
  color: #6b7280;
}

.earner-stats {
  display: flex;
  gap: 25px;
  margin-right: 20px;
}

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

.stat-value {
  font-size: 1.25rem;
  font-weight: 700;
  color: #4f46e5;
  margin-bottom: 2px;
}

.stat-label {
  font-size: 0.8rem;
  color: #6b7280;
  font-weight: 500;
}

.progress-container {
  flex: 0 0 150px;
}

.progress-label {
  display: flex;
  justify-content: space-between;
  margin-bottom: 6px;
  font-size: 0.8rem;
  color: #6b7280;
  font-weight: 500;
}

.progress {
  height: 8px;
  background: #f3f4f6;
  border-radius: 10px;
  overflow: hidden;
}

.progress-bar {
  height: 100%;
  border-radius: 10px;
  background: linear-gradient(90deg, #4f46e5 0%, #7c3aed 100%);
  transition: width 1.5s ease-in-out;
  position: relative;
}

.progress-bar::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  animation: shimmer 2s infinite;
}

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

.pulse-join {
  animation: pulse-glow 2s infinite;
  position: relative;
  overflow: hidden;
}

.pulse-join::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transition: left 0.5s;
}

.pulse-join:hover::before {
  left: 100%;
}

@keyframes pulse-glow {
  0% {
    box-shadow: 0 0 0 0 rgba(79, 70, 229, 0.4);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(79, 70, 229, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(79, 70, 229, 0);
  }
}

@media (max-width: 992px) {
  .earner-item {
    flex-wrap: wrap;
    text-align: center;
    padding: 30px 20px;
  }

  .rank-container {
    position: static;
    transform: none;
    margin-bottom: 15px;
    width: 100%;
  }

  .rank-badge {
    margin: 0 auto;
  }

  .avatar-container {
    margin-right: 0;
    margin-bottom: 15px;
    width: 100%;
  }

  .earner-info {
    margin-right: 0;
    margin-bottom: 15px;
    width: 100%;
  }

  .earner-stats {
    margin-right: 0;
    margin-bottom: 15px;
    width: 100%;
    justify-content: center;
  }

  .progress-container {
    flex: 1;
    width: 100%;
  }
}

@media (max-width: 576px) {
  .earner-stats {
    flex-direction: column;
    gap: 10px;
  }

  .earner-avatar {
    width: 60px;
    height: 60px;
  }

  .rank-badge {
    width: 45px;
    height: 45px;
    font-size: 0.9rem;
  }
}

/* Reviews Section */
.review-card {
  background: white;
  border-radius: 20px;
  padding: 25px;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.review-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.review-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 15px;
  position: relative;
}

.review-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 600;
  font-size: 1rem;
}

.review-stars {
  font-size: 0.8rem;
}

.review-badge {
  position: absolute;
  right: 0;
  top: 0;
  background: #dcfce7;
  color: #16a34a;
  font-size: 0.7rem;
  padding: 4px 10px;
  border-radius: 20px;
  font-weight: 600;
}

.review-text {
  color: #4b5563;
  line-height: 1.7;
  font-size: 0.95rem;
}

.review-footer {
  display: flex;
  justify-content: space-between;
  margin-top: 15px;
  padding-top: 15px;
  border-top: 1px solid #f1f5f9;
}

/* Why Choose Section */
.why-feature {
  padding: 20px;
  transition: transform 0.3s ease;
}

.why-feature:hover {
  transform: translateY(-5px);
}

.why-icon {
  width: 70px;
  height: 70px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  transition: all 0.3s ease;
}

.why-feature:hover .why-icon {
  background: rgba(255, 255, 255, 0.25);
  transform: scale(1.1);
}

@media (max-width: 575px) {
  .why-feature h3 {
    font-size: 0.95rem;
  }
  
  .why-icon {
    width: 55px;
    height: 55px;
  }
  
  .why-icon i {
    font-size: 1.25rem !important;
  }
}

/* FAQ Accordion */
.faq-accordion .accordion-item {
  border: none;
  margin-bottom: 15px;
  border-radius: 15px !important;
  overflow: hidden;
  box-shadow: 0 3px 15px rgba(0, 0, 0, 0.05);
}

.faq-accordion .accordion-button {
  background: white;
  font-weight: 600;
  color: var(--dark-color);
  padding: 20px 25px;
  border-radius: 15px !important;
}

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

.faq-accordion .accordion-button:focus {
  box-shadow: none;
}

.faq-accordion .accordion-body {
  padding: 0 25px 25px;
  color: #6b7280;
  line-height: 1.8;
}

/* CTA Section */
.cta-section {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  position: relative;
  overflow: hidden;
}

.cta-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"><circle cx="50" cy="50" r="40" fill="%23ffffff" fill-opacity="0.05"/></svg>');
  background-size: 100px 100px;
}

/* Contact Form */
.contact-form .form-control {
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 10px;
  padding: 15px;
}

.contact-form .form-control:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.2);
}

.contact-form .form-control::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.contact-form .input-group-text {
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 10px 0 0 10px;
}

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

.social-links {
  display: flex;
  gap: 12px;
}

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

.social-link:hover {
  background: var(--primary-color);
  color: white;
  transform: translateY(-3px);
}

.footer-links li {
  margin-bottom: 10px;
}

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

.footer-links a:hover {
  color: white;
}

/* Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: var(--primary-color);
  color: white;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 9999;
  box-shadow: 0 5px 20px rgba(79, 70, 229, 0.4);
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background: var(--secondary-color);
  transform: translateY(-3px);
}

@media (max-width: 575px) {
  .back-to-top {
    width: 45px;
    height: 45px;
    bottom: 20px;
    right: 20px;
  }
}

/* Button Styles */
.btn-primary {
  background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
  border: none;
  border-radius: 50px;
  padding: 12px 30px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(79, 70, 229, 0.3);
  background: linear-gradient(to right, var(--secondary-color), var(--primary-color));
}

.btn-outline-primary {
  border-color: var(--primary-color);
  color: var(--primary-color);
  border-radius: 50px;
  padding: 12px 30px;
  font-weight: 600;
  transition: all 0.3s ease;
}

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

.btn-outline-light {
  border-radius: 50px;
  padding: 12px 30px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-outline-light:hover {
  transform: translateY(-3px);
}

/* Utility Classes */
.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* Animation Classes */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Print Styles */
@media print {
  .navbar,
  .back-to-top,
  .floating-icon {
    display: none !important;
  }
  
  .hero-section {
    min-height: auto;
    padding: 50px 0;
  }
}
