/* Custom Bootstrap overrides and styles */
:root {
  --bs-primary: #6f42c1;
  --bs-primary-rgb: 111, 66, 193;
  --primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  --purple-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  --success-gradient: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
  --warning-gradient: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

/* Bootstrap component customizations */
.btn-primary {
  background: var(--primary-gradient);
  border: none;
}

.btn-primary:hover {
  background: linear-gradient(135deg, #5a67d8 0%, #6b46c1 100%);
  transform: translateY(-2px);
}

.btn-outline-primary {
  color: var(--bs-primary);
  border-color: var(--bs-primary);
}

.btn-outline-primary:hover {
  background: var(--primary-gradient);
  border-color: var(--bs-primary);
}

.form-range::-webkit-slider-thumb {
  background-color: #E4405F;
}

.form-range::-moz-range-thumb {
  background-color: #E4405F;
}

/* Custom utility classes */
.bg-gradient-primary {
  background: var(--primary-gradient);
}

.bg-purple-gradient {
  background: var(--purple-gradient);
}

.bg-success-gradient {
  background: var(--success-gradient);
}

.bg-warning-gradient {
  background: var(--warning-gradient);
}

/* Platform selector styles */
.platform-btn {
  padding: 1rem;
  border: 2px solid #e9ecef;
  background: white;
  transition: all 0.3s ease;
}

.platform-btn:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.platform-btn.active {
  border-color: var(--bs-primary) !important;
  background: rgba(111, 66, 193, 0.1);
}

/* Service cards */
.service-card {
  transition: all 0.3s ease;
  border: none;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.service-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  font-size: 1.5rem;
}

/* Tool cards */
.tool-card {
  transition: all 0.3s ease;
  border: none;
}

.tool-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

/* Success cards */
.success-card {
  transition: all 0.3s ease;
  border-left: 4px solid var(--bs-primary);
}

.success-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.rank-badge {
  width: 40px;
  height: 40px;
  background: var(--primary-gradient);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
}

.platform-badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background: rgba(111, 66, 193, 0.1);
  color: var(--bs-primary);
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 500;
}

/* Daily reward and social score cards */
.daily-reward-card, .social-score-card {
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  border: none;
}

/* Affiliate icons */
.affiliate-icon {
  width: 80px;
  height: 80px;
  background: rgba(111, 66, 193, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
}

/* Feature items */
.feature-item {
  text-align: center;
}

.feature-item i {
  display: block;
  color: rgba(255,255,255,0.8);
}

/* Upload area */
.upload-area {
  border-color: #dee2e6 !important;
  transition: all 0.3s ease;
}

.upload-area:hover {
  border-color: var(--bs-primary) !important;
  background-color: rgba(111, 66, 193, 0.05);
}

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* Header styles */
.navbar-brand {
  font-size: 1.8rem;
  font-weight: 700;
}

.navbar-nav .nav-link {
  font-weight: 500;
  margin: 0 0.5rem;
  transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
  color: #ffc107 !important;
}

/* Hero section */
.hero-section {
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  padding-top: 100px;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.platform-icons i {
  transition: transform 0.3s ease;
}

.platform-icons i:hover {
  transform: scale(1.2);
}

.stats-row {
  background: rgba(255,255,255,0.1);
  border-radius: 1rem;
  padding: 1.5rem;
  backdrop-filter: blur(10px);
}

.hero-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
  animation: float 20s infinite;
  pointer-events: none;
}

@keyframes float {
  0%, 100% { transform: translate(-50%, -50%) rotate(0deg); }
  50% { transform: translate(-50%, -50%) rotate(180deg); }
}

/* Pricing styles */
.pricing .currency {
  font-size: 1.2rem;
}

/* Card hover effects */
.card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: none;
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.15) !important;
}

/* Button animations */
.btn {
  transition: all 0.3s ease;
}

/* Pricing card special styling */
.pricing-card.popular {
  border: 3px solid var(--bs-primary) !important;
  position: relative;
}

.popular-badge {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary-gradient);
  color: white;
  padding: 0.5rem 1.5rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
}

/* Feature icons */
.feature-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  font-size: 2rem;
  color: white;
}

.feature-icon.gradient-1 { background: var(--primary-gradient); }
.feature-icon.gradient-2 { background: var(--purple-gradient); }
.feature-icon.gradient-3 { background: linear-gradient(45deg, #11998e, #38ef7d); }
.feature-icon.gradient-4 { background: linear-gradient(45deg, #f093fb, #f5576c); }
.feature-icon.gradient-5 { background: linear-gradient(45deg, #ffecd2, #fcb69f); }
.feature-icon.gradient-6 { background: linear-gradient(45deg, #a8edea, #fed6e3); }

/* Stats section */
.stats-number {
  font-size: 3rem;
  font-weight: 700;
  color: var(--bs-primary);
  line-height: 1;
}

/* Testimonial cards */
.testimonial-card {
  background: white;
  border-radius: 1rem;
  padding: 1.5rem;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  margin-bottom: 1.5rem;
}

.testimonial-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 600;
  margin-right: 1rem;
}

/* Footer */
.footer {
  background-color: #2c3e50;
  color: white;
}

.footer a {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer a:hover {
  color: #ffc107;
}

.social-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  margin-right: 0.5rem;
  transition: all 0.3s ease;
}

.social-icons a:hover {
  background: var(--primary-gradient);
  transform: translateY(-2px);
}

/* Responsive improvements */
@media (max-width: 768px) {
  .hero-section {
    padding-top: 80px;
  }
  
  .display-3 {
    font-size: 2.5rem;
  }
  
  .stats-number {
    font-size: 2.5rem;
  }
}

/* Loading animation for follower counter */
#follower-counter {
  transition: all 0.3s ease;
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
  background: var(--primary-gradient);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(45deg, #d73754, #e09d39);
}

.btn:hover {
  transform: translateY(-2px);
}

/* Offer countdown styling */
.countdown-badge {
  background: linear-gradient(45deg, #ffc107, #ff8c00);
  color: #000;
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  font-size: 1.1rem;
}

/* Instagram profile mockup */
.instagram-mockup {
  background: white;
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
  max-width: 400px;
  margin: 0 auto;
}

.profile-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--primary-gradient);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
  margin-right: 1rem;
}

/* Range slider custom styling */
.form-range {
  height: 8px;
}

.form-range::-webkit-slider-track {
  background: #e9ecef;
  border-radius: 4px;
}

.form-range::-webkit-slider-thumb {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--primary-gradient);
  border: none;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

/* Payment icons */
.payment-icons img {
  height: 30px;
  margin: 0 0.25rem;
  border-radius: 4px;
}