/* =========================================
   VARIABLES & BASE
   ========================================= */
:root {
  --bg-dark: #0f172a;
  --bg-card: #1e293b;
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --primary-accent: #a855f7; /* Purple */
  --primary-hover: #9333ea;
  --secondary-accent: #3b82f6; /* Blue */
  --border-color: #334155;
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
}

body {
  margin: 0;
  padding: 0;
  background-color: var(--bg-dark);
  color: var(--text-main);
  font-family: var(--font-body);
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  margin-top: 0;
}

.highlight-color {
  background: linear-gradient(135deg, var(--primary-accent), var(--secondary-accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.eyebrow {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(168, 85, 247, 0.1);
  color: var(--primary-accent);
  border: 1px solid rgba(168, 85, 247, 0.2);
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header h2 {
  font-size: 3rem;
  margin-bottom: 15px;
}

.section-header p {
  color: var(--text-muted);
  font-size: 1.125rem;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

/* =========================================
   BUTTONS
   ========================================= */
.btn-primary, .btn-secondary {
  padding: 14px 28px;
  border-radius: 8px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
}

.btn-primary {
  background: var(--primary-accent);
  color: white;
  box-shadow: 0 4px 15px rgba(168, 85, 247, 0.3);
}

.btn-primary:hover {
  background: var(--primary-hover);
  transform: translateY(-2px);
}

.btn-secondary {
  background: transparent;
  color: var(--text-main);
  border: 1px solid var(--border-color);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--text-muted);
}

/* =========================================
   HERO SECTION
   ========================================= */
.hero-careers {
  position: relative;
  padding: 160px 0 100px;
  min-height: 80vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-glow-1, .hero-glow-2 {
  position: absolute;
  width: 40vw;
  height: 40vw;
  border-radius: 50%;
  filter: blur(100px);
  z-index: -1;
  opacity: 0.4;
}

.hero-glow-1 {
  top: -10%;
  left: -10%;
  background: rgba(168, 85, 247, 0.3);
}

.hero-glow-2 {
  bottom: -10%;
  right: -10%;
  background: rgba(59, 130, 246, 0.2);
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.hero-h1 {
  font-size: 4.5rem;
  line-height: 1.1;
  margin-bottom: 24px;
}

.hero-p {
  font-size: 1.25rem;
  color: var(--text-muted);
  margin-bottom: 40px;
  line-height: 1.6;
  max-width: 90%;
}

.hero-actions {
  display: flex;
  gap: 16px;
}

.hero-right {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* =========================================
   TICKER (MARQUEE)
   ========================================= */
.ticker {
  background: var(--bg-card);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  padding: 20px 0;
  overflow: hidden;
  white-space: nowrap;
}

.ticker-track {
  display: inline-block;
  animation: scrollTicker 30s linear infinite;
}

.ticker-item {
  display: inline-block;
  font-family: var(--font-heading);
  font-weight: 500;
  color: var(--text-muted);
  margin: 0 40px;
  font-size: 1.125rem;
}

@keyframes scrollTicker {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* =========================================
   STATS SECTION
   ========================================= */
.stats-section {
  padding: 80px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 40px 20px;
  text-align: center;
  transition: transform 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-5px);
  border-color: rgba(168, 85, 247, 0.5);
}

.stat-number {
  font-size: 3.5rem;
  color: var(--primary-accent);
  margin-bottom: 10px;
}

.stat-label {
  color: var(--text-muted);
  font-size: 1rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* =========================================
   WHY JOIN & BENEFITS GRIDS
   ========================================= */
.why-section, .benefits-section, .jobs-section {
  padding: 100px 0;
}

.why-layout {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 60px;
  align-items: center;
}

.why-grid, .benefits-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.why-card, .ben-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 30px;
  transition: all 0.3s ease;
}

.why-card:hover, .ben-card:hover {
  background: rgba(30, 41, 59, 0.8);
  transform: translateY(-5px);
}

.why-icon, .ben-icon {
  font-size: 2rem;
  margin-bottom: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
}

.why-card h3, .ben-card h3 {
  font-size: 1.5rem;
  margin-bottom: 12px;
}

.why-card p, .ben-card p {
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 20px;
}

.wc-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 10px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  color: #cbd5e1;
}

/* =========================================
   ANIMATIONS (JS Observer Hooks)
   ========================================= */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }

.reveal-l { opacity: 0; transform: translateX(-30px); transition: all 0.8s ease; }
.reveal-r { opacity: 0; transform: translateX(30px); transition: all 0.8s ease; }
.reveal-l.active, .reveal-r.active { opacity: 1; transform: translateX(0); }

/* =========================================
   RESPONSIVE DESIGN
   ========================================= */
@media (max-width: 992px) {
  .hero-inner, .why-layout {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-h1 { font-size: 3.5rem; }
  .hero-p { margin: 0 auto 30px; }
  .hero-actions { justify-content: center; }
  .section-header { text-align: center !important; }
}

@media (max-width: 768px) {
  .stats-grid, .why-grid, .benefits-grid {
    grid-template-columns: 1fr;
  }
  .hero-h1 { font-size: 2.8rem; }
  .stat-card { padding: 30px 20px; }
}