/* RehanJobs.com - Main Stylesheet */

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: #FAFAFA;
  color: #111111;
  line-height: 1.6;
  overflow-x: hidden;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: #FAFAFA;
}

::-webkit-scrollbar-thumb {
  background: #ECECEC;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #d1d5db;
}

/* Selection */
::selection {
  background-color: #C8F500;
  color: #111111;
}

/* Glass Card */
.glass-card {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 24px;
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.06);
}

.glass-card-dark {
  background: rgba(17, 17, 17, 0.8);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
}

/* Premium Button Styles */
.btn-primary {
  background-color: #C8F500;
  color: #111111;
  font-weight: 600;
  padding: 12px 28px;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 15px;
  position: relative;
  overflow: hidden;
}

.btn-primary::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;
}

.btn-primary:hover {
  background-color: #B8E800;
  box-shadow: 0 0 20px rgba(200, 245, 0, 0.3);
  transform: translateY(-2px);
}

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

.btn-primary:active {
  transform: translateY(0);
}

.btn-secondary {
  background-color: #FFFFFF;
  color: #111111;
  font-weight: 600;
  padding: 12px 28px;
  border-radius: 12px;
  border: 1px solid #ECECEC;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 15px;
}

.btn-secondary:hover {
  background-color: #f9fafb;
  border-color: #d1d5db;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  transform: translateY(-2px);
}

.btn-ghost {
  background-color: transparent;
  color: #111111;
  font-weight: 600;
  padding: 12px 28px;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 15px;
}

.btn-ghost:hover {
  background-color: #f3f4f6;
}

/* Neon Glow Effect */
.neon-glow {
  box-shadow: 0 0 20px rgba(200, 245, 0, 0.3);
}

.neon-glow-hover:hover {
  box-shadow: 0 0 30px rgba(200, 245, 0, 0.4);
}

/* Background Animations */
.bg-grid {
  background-image: 
    linear-gradient(rgba(200, 245, 0, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(200, 245, 0, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
}

.bg-dots {
  background-image: radial-gradient(circle, #ECECEC 1px, transparent 1px);
  background-size: 24px 24px;
}

.bg-gradient-mesh {
  background:
    radial-gradient(at 40% 20%, rgba(200, 245, 0, 0.08) 0px, transparent 50%),
    radial-gradient(at 80% 0%, rgba(217, 255, 51, 0.06) 0px, transparent 50%),
    radial-gradient(at 0% 50%, rgba(200, 245, 0, 0.04) 0px, transparent 50%),
    radial-gradient(at 80% 50%, rgba(217, 255, 51, 0.04) 0px, transparent 50%),
    radial-gradient(at 0% 100%, rgba(200, 245, 0, 0.06) 0px, transparent 50%);
}

/* Floating Elements */
.floating {
  animation: float 6s ease-in-out infinite;
}

.floating-delayed {
  animation: float 6s ease-in-out infinite;
  animation-delay: 2s;
}

.floating-slow {
  animation: float 8s ease-in-out infinite;
}

/* Reveal Animations */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-left.active {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(30px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-right.active {
  opacity: 1;
  transform: translateX(0);
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.9);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-scale.active {
  opacity: 1;
  transform: scale(1);
}

/* Stagger Animation */
.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }
.stagger-5 { transition-delay: 0.5s; }
.stagger-6 { transition-delay: 0.6s; }

/* Hover Lift Effect */
.hover-lift {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.hover-lift:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 48px -4px rgba(0, 0, 0, 0.1);
}

/* Card Hover Effect */
.card-hover {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.card-hover:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 48px -4px rgba(0, 0, 0, 0.1);
}

/* Button Ripple Effect */
.ripple {
  position: relative;
  overflow: hidden;
}

.ripple::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  pointer-events: none;
  background-image: radial-gradient(circle, rgba(0, 0, 0, 0.1) 10%, transparent 10%);
  background-repeat: no-repeat;
  background-position: 50%;
  transform: scale(10, 10);
  opacity: 0;
  transition: transform 0.5s, opacity 0.5s;
}

.ripple:active::after {
  transform: scale(0, 0);
  opacity: 0.3;
  transition: 0s;
}

/* Loading Skeleton */
.skeleton {
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: skeleton-loading 1.5s ease-in-out infinite;
  border-radius: 8px;
}

@keyframes skeleton-loading {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

/* Progress Bar Animation */
.progress-bar {
  height: 8px;
  background: #ECECEC;
  border-radius: 4px;
  overflow: hidden;
}

.progress-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #C8F500, #D9FF33);
  border-radius: 4px;
  transition: width 1s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Counter Animation */
.counter {
  font-variant-numeric: tabular-nums;
}

/* Gradient Text */
.gradient-text {
  background: linear-gradient(135deg, #111111 0%, #374151 50%, #111111 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.gradient-text-primary {
  background: linear-gradient(135deg, #C8F500 0%, #D9FF33 50%, #C8F500 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Background Gradient Animation */
.bg-animated-gradient {
  background: linear-gradient(-45deg, #C8F500, #D9FF33, #ecf8c3, #def18c);
  background-size: 400% 400%;
  animation: gradientShift 15s ease infinite;
}

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

/* Glassmorphism */
.glass {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.glass-dark {
  background: rgba(17, 17, 17, 0.8);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: all 0.3s ease;
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid #ECECEC;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.navbar-link {
  position: relative;
  color: #6B7280;
  font-weight: 500;
  transition: color 0.3s ease;
}

.navbar-link:hover,
.navbar-link.active {
  color: #111111;
}

.navbar-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: #C8F500;
  transition: width 0.3s ease;
}

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

/* Hero Section */
.hero-gradient {
  background: linear-gradient(135deg, #FAFAFA 0%, #f7fce6 50%, #FAFAFA 100%);
}

.hero-badge {
  background: rgba(200, 245, 0, 0.1);
  border: 1px solid rgba(200, 245, 0, 0.3);
  color: #111111;
  padding: 8px 16px;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

/* AI Search Box */
.ai-search-box {
  background: #FFFFFF;
  border: 2px solid #ECECEC;
  border-radius: 16px;
  padding: 8px;
  transition: all 0.3s ease;
}

.ai-search-box:focus-within {
  border-color: #C8F500;
  box-shadow: 0 0 0 4px rgba(200, 245, 0, 0.1);
}

.ai-search-input {
  flex: 1;
  border: none;
  outline: none;
  padding: 16px 20px;
  font-size: 16px;
  background: transparent;
}

.ai-search-btn {
  background: #C8F500;
  color: #111111;
  border: none;
  padding: 16px 32px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.ai-search-btn:hover {
  background: #B8E800;
  box-shadow: 0 0 20px rgba(200, 245, 0, 0.3);
}

/* Card Styles */
.job-card {
  background: #FFFFFF;
  border: 1px solid #ECECEC;
  border-radius: 24px;
  padding: 24px;
  transition: all 0.3s ease;
}

.job-card:hover {
  border-color: #C8F500;
  box-shadow: 0 12px 48px -4px rgba(0, 0, 0, 0.1);
  transform: translateY(-4px);
}

.feature-card {
  background: #FFFFFF;
  border: 1px solid #ECECEC;
  border-radius: 24px;
  padding: 32px;
  transition: all 0.3s ease;
}

.feature-card:hover {
  border-color: #C8F500;
  box-shadow: 0 12px 48px -4px rgba(0, 0, 0, 0.1);
}

/* Skill Tag */
.skill-tag {
  background: #f3f4f6;
  color: #374151;
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  transition: all 0.2s ease;
}

.skill-tag:hover {
  background: #C8F500;
  color: #111111;
}

/* Category Card */
.category-card {
  background: #FFFFFF;
  border: 1px solid #ECECEC;
  border-radius: 16px;
  padding: 20px;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 16px;
}

.category-card:hover {
  border-color: #C8F500;
  box-shadow: 0 8px 32px -4px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

/* Company Logo */
.company-logo {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  object-fit: contain;
  background: #f3f4f6;
  padding: 8px;
}

/* Verified Badge */
.verified-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(200, 245, 0, 0.1);
  color: #111111;
  padding: 4px 8px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 500;
}

/* AI Match Score */
.ai-match-score {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 16px;
  position: relative;
}

.ai-match-score::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 3px solid #ECECEC;
}

.ai-match-score::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 3px solid #C8F500;
  clip-path: polygon(0 0, 100% 0, 100% var(--score), 0 var(--score));
}

/* Stat Counter */
.stat-number {
  font-size: 48px;
  font-weight: 800;
  line-height: 1;
  background: linear-gradient(135deg, #111111 0%, #374151 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Pricing Card */
.pricing-card {
  background: #FFFFFF;
  border: 1px solid #ECECEC;
  border-radius: 24px;
  padding: 40px;
  transition: all 0.3s ease;
}

.pricing-card.popular {
  border: 2px solid #C8F500;
  box-shadow: 0 0 40px rgba(200, 245, 0, 0.15);
}

.pricing-card:hover {
  box-shadow: 0 16px 48px -4px rgba(0, 0, 0, 0.1);
}

/* Testimonial Card */
.testimonial-card {
  background: #FFFFFF;
  border: 1px solid #ECECEC;
  border-radius: 24px;
  padding: 32px;
  transition: all 0.3s ease;
}

.testimonial-card:hover {
  box-shadow: 0 12px 48px -4px rgba(0, 0, 0, 0.1);
}

/* FAQ Accordion */
.faq-item {
  background: #FFFFFF;
  border: 1px solid #ECECEC;
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item.active {
  border-color: #C8F500;
  box-shadow: 0 8px 32px -4px rgba(0, 0, 0, 0.08);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
  max-height: 500px;
}

.faq-icon {
  transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

/* Footer */
.footer-link {
  color: #6B7280;
  transition: color 0.2s ease;
}

.footer-link:hover {
  color: #111111;
}

/* Animations */
@keyframes countUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

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

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-30px); }
  to { opacity: 1; transform: translateY(0); }
}

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

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

@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.9); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

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

/* Form Styles */
.form-input {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid #ECECEC;
  border-radius: 12px;
  font-size: 15px;
  transition: all 0.3s ease;
  background: #FFFFFF;
}

.form-input:focus {
  outline: none;
  border-color: #C8F500;
  box-shadow: 0 0 0 4px rgba(200, 245, 0, 0.1);
}

.form-input::placeholder {
  color: #9CA3AF;
}

.form-label {
  display: block;
  font-weight: 500;
  color: #111111;
  margin-bottom: 8px;
  font-size: 14px;
}

.form-error {
  color: #EF4444;
  font-size: 13px;
  margin-top: 4px;
}

/* Modal */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  background: #FFFFFF;
  border-radius: 24px;
  padding: 32px;
  max-width: 500px;
  width: 90%;
  transform: scale(0.9);
  transition: transform 0.3s ease;
}

.modal-overlay.active .modal-content {
  transform: scale(1);
}

/* Toast Notifications */
.toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: #111111;
  color: #FFFFFF;
  padding: 16px 24px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.3s ease;
  z-index: 3000;
}

.toast.active {
  transform: translateY(0);
  opacity: 1;
}

.toast.success {
  background: #10B981;
}

.toast.error {
  background: #EF4444;
}

.toast.warning {
  background: #F59E0B;
}

/* Responsive */
@media (max-width: 1024px) {
  .hero-content {
    text-align: center;
  }
  
  .hero-buttons {
    justify-content: center;
  }
  
  .hero-visual {
    display: none;
  }
  
  .stat-number {
    font-size: 36px;
  }
}

@media (max-width: 768px) {
  .navbar-menu {
    display: none;
  }
  
  .navbar-menu.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #FFFFFF;
    border-bottom: 1px solid #ECECEC;
    padding: 16px;
    gap: 8px;
  }
  
  .hero-title {
    font-size: 36px;
  }
  
  .hero-subtitle {
    font-size: 16px;
  }
  
  .section-title {
    font-size: 28px;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
  }
  
  .pricing-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 28px;
  }
  
  .stat-number {
    font-size: 28px;
  }
  
  .btn-primary,
  .btn-secondary {
    width: 100%;
  }
}

/* Print Styles */
@media print {
  .no-print {
    display: none !important;
  }
  
  body {
    background: white;
  }
}