@import url("../styles/components/base.css");


/* Global Styles */
body {
  color: var(--text-primary);
  background: var(--bg-dark);
  margin: 0;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

/* Hero Section */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 120px 20px;
  text-align: center;
  background: linear-gradient(135deg, #0a0a0a 0%, #1a0a2e 50%, #0a0a0a 100%);
  overflow: hidden;
  min-height: 100vh;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 30% 70%, rgba(108, 50, 172, 0.3) 0%, transparent 50%);
  animation: heroGlow 8s ease-in-out infinite alternate;
}

@keyframes heroGlow {
  0%, 100% {
    opacity: 0.5;
  }
  50% {
    opacity: 0.8;
  }
}

.floating-shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.1;
  animation: float 8s ease-in-out infinite alternate;
  pointer-events: none;
}

.shape-1 {
  width: 350px;
  height: 350px;
  top: -100px;
  left: -100px;
  background: linear-gradient(135deg, var(--primary-light), var(--primary-color));
  animation-duration: 10s;
}

.shape-2 {
  width: 450px;
  height: 450px;
  bottom: -150px;
  right: -150px;
  background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
  animation-duration: 12s;
  animation-delay: -2s;
}

@keyframes float {
  0% { transform: translateY(0) translateX(0) rotate(0deg); }
  100% { transform: translateY(-30px) translateX(30px) rotate(10deg); }
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
}

.hero-content h1 {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 800;
  margin-bottom: 1.5rem;
  background: linear-gradient(45deg, var(--primary-color), var(--primary-light), #9d50bb);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  background-size: 200% 200%;
  animation: gradientShift 3s ease infinite, fadeInUp 0.8s ease backwards;
  line-height: 1.2;
}

@keyframes gradientShift {
  0%, 100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

.hero-subtitle {
  font-size: clamp(1.1rem, 2.5vw, 1.3rem);
  color: var(--text-secondary);
  max-width: 700px;
  margin: 0 auto 2.5rem;
  line-height: 1.8;
  animation: fadeInUp 0.8s ease 0.2s backwards;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--primary-color);
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1.05rem;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  color: var(--text-primary);
  box-shadow: 0 10px 30px rgba(108, 50, 172, 0.4);
  position: relative;
  overflow: hidden;
  animation: fadeInUp 0.8s ease 0.4s backwards;
}

.cta-button::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.cta-button:hover::before {
  width: 300px;
  height: 300px;
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(108, 50, 172, 0.5);
}

.cta-button i {
  margin-left: 8px;
  transition: transform 0.3s ease;
}

.cta-button:hover i {
  transform: translateX(4px);
}

/* Sections */
.section-title {
  font-size: clamp(2.2rem, 4vw, 3rem);
  margin-bottom: 1rem;
  text-align: center;
  font-weight: 800;
  background: linear-gradient(45deg, var(--primary-color), var(--primary-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
  padding-bottom: 0.8rem;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 6px;
  background: linear-gradient(90deg, transparent, var(--primary-color), var(--primary-light), transparent);
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(108, 50, 172, 0.4);
}

.section-title::before {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 50%;
  transform: translateX(-50%) scaleX(1.1);
  width: 130px;
  height: 4px;
  background: linear-gradient(90deg, transparent, rgba(157, 80, 187, 0.3), rgba(108, 50, 172, 0.3), transparent);
  border-radius: 10px;
  filter: blur(3px);
}

/* Benefits Section */
.why-join {
  padding: 8rem 2rem;
  background: linear-gradient(180deg, var(--bg-dark) 0%, rgba(26, 26, 26, 0.5) 100%);
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  max-width: 1400px;
  margin: 3rem auto 0;
}

.benefit-card {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(20px);
  padding: 2.5rem;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.benefit-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 50% 0%, rgba(108, 50, 172, 0.1), transparent 70%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.benefit-card:hover {
  transform: translateY(-10px);
  border-color: var(--primary-color);
  box-shadow: 0 25px 50px rgba(108, 50, 172, 0.3);
  background: rgba(255, 255, 255, 0.05);
}

.benefit-card:hover::before {
  opacity: 1;
}

.benefit-icon {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  color: var(--primary-color);
  transition: all 0.4s ease;
  display: inline-block;
  position: relative;
  z-index: 2;
}

.benefit-card:hover .benefit-icon {
  transform: scale(1.1) rotate(5deg);
  color: var(--primary-light);
}

.benefit-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--text-primary);
  font-weight: 700;
  position: relative;
  z-index: 2;
}

.benefit-card p {
  color: var(--text-secondary);
  line-height: 1.8;
  font-size: 1.05rem;
  position: relative;
  z-index: 2;
}

/* Jobs Section */
.jobs-section {
  padding: 8rem 2rem;
  margin-bottom: 0;
  background: linear-gradient(180deg, rgba(26, 26, 26, 0.5) 0%, var(--bg-secondary) 100%);
}

.jobs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  max-width: 1400px;
  margin: 3rem auto 0;
}

.job-card {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(20px);
  padding: 2.5rem;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.job-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 50% 0%, rgba(108, 50, 172, 0.1), transparent 70%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.job-card:hover {
  transform: translateY(-10px);
  border-color: var(--primary-color);
  box-shadow: 0 25px 50px rgba(108, 50, 172, 0.3);
  background: rgba(255, 255, 255, 0.05);
}

.job-card:hover::before {
  opacity: 1;
}

.job-title {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  color: var(--text-primary);
  font-weight: 700;
  position: relative;
  z-index: 2;
}

.job-description {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  line-height: 1.8;
  font-size: 1.05rem;
  position: relative;
  z-index: 2;
}

.requirements {
  list-style: none;
  padding: 0;
  margin-bottom: 2rem;
  flex-grow: 1;
  position: relative;
  z-index: 2;
}

.requirements li {
  margin-bottom: 0.8rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.6;
}

.requirements li i {
  color: var(--primary-color);
  font-size: 0.9rem;
  flex-shrink: 0;
}

.apply-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: var(--primary-color);
  padding: 12px 28px;
  border-radius: 12px;
  font-weight: 600;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  color: var(--text-primary);
  margin-top: auto;
  box-shadow: 0 8px 20px rgba(108, 50, 172, 0.3);
  position: relative;
  overflow: hidden;
  z-index: 10;
}

.apply-btn::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.apply-btn:hover::before {
  width: 300px;
  height: 300px;
}

.apply-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(108, 50, 172, 0.4);
}

.apply-btn i {
  margin-left: 4px;
  transition: transform 0.3s ease;
}

.apply-btn:hover i {
  transform: translateX(4px);
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Reveal Animation */
.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);
}

/* Responsive Design */

/* Large Desktop */
@media (max-width: 1400px) {
  .benefits-grid,
  .jobs-grid {
    max-width: 1200px;
  }
}

/* Tablet Landscape */
@media (max-width: 1024px) {
  .hero {
    padding: 100px 20px;
  }
  
  .why-join,
  .jobs-section {
    padding: 6rem 2rem;
  }
  
  .section-title {
    font-size: 2.5rem;
  }
  
  .benefits-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
  }
  
  .jobs-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
  }
}

/* Tablet Portrait and Mobile Landscape */
@media (max-width: 768px) {
  .hero {
    min-height: 100vh;
    padding: calc(var(--header-height) + 2rem) 1rem 4rem;
  }
  
  .hero-content h1 {
    font-size: 2.5rem;
  }
  
  .hero-subtitle {
    font-size: 1rem;
    padding: 0 1rem;
  }
  
  .why-join,
  .jobs-section {
    padding: 4rem 1rem;
  }
  
  .section-title {
    font-size: 2.2rem;
  }
  
  .benefits-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .benefit-card {
    padding: 2rem;
  }
  
  .benefit-icon {
    font-size: 2.5rem;
  }
  
  .benefit-card h3 {
    font-size: 1.3rem;
  }
  
  .benefit-card p {
    font-size: 1rem;
  }
  
  .jobs-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .job-card {
    padding: 2rem;
  }
  
  .job-title {
    font-size: 1.6rem;
  }
  
  .job-description {
    font-size: 1rem;
  }
  
  .requirements li {
    font-size: 0.95rem;
  }
}

/* Mobile Portrait */
@media (max-width: 480px) {
  .hero {
    padding: calc(var(--header-height) + 1rem) 0.5rem 3rem;
  }
  
  .hero-content h1 {
    font-size: 2rem;
    padding: 0 1rem;
  }
  
  .hero-subtitle {
    font-size: 0.95rem;
  }
  
  .cta-button {
    width: calc(100% - 2rem);
    max-width: 300px;
    justify-content: center;
    padding: 12px 24px;
  }
  
  .why-join,
  .jobs-section {
    padding: 3rem 1rem;
  }
  
  .section-title {
    font-size: 1.8rem;
  }
  
  .benefits-grid,
  .jobs-grid {
    gap: 1.2rem;
  }
  
  .benefit-card {
    padding: 1.5rem;
  }
  
  .benefit-icon {
    font-size: 2.2rem;
    margin-bottom: 1.2rem;
  }
  
  .benefit-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
  }
  
  .benefit-card p {
    font-size: 0.95rem;
    line-height: 1.6;
  }
  
  .job-card {
    padding: 1.5rem;
  }
  
  .job-title {
    font-size: 1.4rem;
    margin-bottom: 0.8rem;
  }
  
  .job-description {
    font-size: 0.95rem;
    margin-bottom: 1.2rem;
  }
  
  .requirements {
    margin-bottom: 1.5rem;
  }
  
  .requirements li {
    font-size: 0.9rem;
    margin-bottom: 0.7rem;
  }
  
  .apply-btn {
    padding: 10px 24px;
    font-size: 0.95rem;
  }
}

/* Extra Small Devices */
@media (max-width: 360px) {
  .hero-content h1 {
    font-size: 1.75rem;
  }
  
  .section-title {
    font-size: 1.6rem;
  }
  
  .benefit-icon {
    font-size: 2rem;
  }
  
  .benefit-card h3 {
    font-size: 1.1rem;
  }
  
  .job-title {
    font-size: 1.3rem;
  }
}

/* Touch Device Optimizations */
@media (hover: none) and (pointer: coarse) {
  .benefit-card:hover,
  .job-card:hover {
    transform: translateY(-8px);
  }
  
  .cta-button:hover,
  .apply-btn:hover {
    transform: translateY(-2px);
  }
}

/* High DPI Displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .hero {
    image-rendering: -webkit-optimize-contrast;
  }
}