/* Job Board Landing Page Styles */

@import url('https://fonts.googleapis.com/css2?family=Syne:wght@400;500;600;700;800&family=DM+Sans:wght@300;400;500&display=swap');

:root {
  --bg: #0e0e10;
  --surface: #161618;
  --surface-2: #1e1e21;
  --accent: #c8f564;
  --accent-dim: rgba(200, 245, 100, 0.12);
  --accent-hover: #d9f980;
  --text: #f0f0ee;
  --text-muted: #7a7a7d;
  --border: rgba(255,255,255,0.07);
  --radius: 10px;
  --radius-lg: 16px;
}

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

body {
  font-family: 'DM Sans', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  line-height: 1.5;
}

/* NAV */
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 48px;
  border-bottom: 1px solid var(--border);
  background: var(--bg);
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(12px);
}

.navbar-brand {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--text);
  text-decoration: none;
  letter-spacing: -0.5px;
}
.navbar-brand span { color: var(--accent); }

.nav-links {
  display: flex;
  gap: 8px;
}
.nav-links a {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-muted);
  text-decoration: none;
  padding: 8px 14px;
  border-radius: 8px;
  transition: color 0.2s, background 0.2s;
}
.nav-links a:hover { color: var(--text); background: var(--surface); }
.nav-links a.active { color: var(--text); background: var(--surface); }

/* CONTAINER */
.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

/* HERO */
.hero {
  padding: 80px 0 60px;
  text-align: center;
  position: relative;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0; left: 50%; transform: translateX(-50%);
  width: 600px; height: 400px;
  background: radial-gradient(ellipse at center, rgba(200,245,100,0.06) 0%, transparent 70%);
  pointer-events: none;
}

.hero-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-dim);
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 24px;
  border: 1px solid rgba(200,245,100,0.2);
}

.hero h1 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -1.5px;
  margin-bottom: 16px;
  color: var(--text);
}

.hero h1 em {
  font-style: normal;
  color: var(--accent);
}

.hero p {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 480px;
  margin: 0 auto;
  font-weight: 300;
}

/* JOBS LIST */
.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

.section-title {
  font-family: 'Syne', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.job-count {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.job-count span {
  color: var(--accent);
  font-weight: 600;
}

/* JOB CARDS */
.jobs-grid {
  display: grid;
  gap: 16px;
  margin-bottom: 80px;
}

.job-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px;
  align-items: center;
  padding: 28px 32px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  text-decoration: none;
  color: var(--text);
  transition: border-color 0.2s, background 0.2s, transform 0.15s;
  position: relative;
  overflow: hidden;
}

.job-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 3px; height: 100%;
  background: var(--accent);
  opacity: 0;
  transition: opacity 0.2s;
}

.job-card:hover {
  border-color: rgba(200,245,100,0.25);
  background: var(--surface-2);
  transform: translateY(-1px);
}

.job-card:hover::before { opacity: 1; }

.job-meta {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.job-title {
  font-family: 'Syne', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.3px;
  color: var(--text);
  transition: color 0.2s;
}

.job-card:hover .job-title { color: var(--accent); }

.job-info {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.job-info-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 400;
}

.job-info-item svg {
  opacity: 0.5;
  flex-shrink: 0;
}

.job-company {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
}

.job-type-badge {
  display: inline-flex;
  align-items: center;
  padding: 5px 12px;
  background: var(--accent-dim);
  color: var(--accent);
  border: 1px solid rgba(200,245,100,0.15);
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
  flex-shrink: 0;
}

.job-apply-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 20px;
  background: var(--accent);
  color: #0e0e10;
  border-radius: var(--radius);
  font-family: 'Syne', sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.2s, transform 0.15s;
  flex-shrink: 0;
}

.job-apply-btn:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
}

/* EMPTY STATE */
.empty-state {
  text-align: center;
  padding: 80px 40px;
  color: var(--text-muted);
}

.empty-state-icon {
  font-size: 3rem;
  margin-bottom: 16px;
  opacity: 0.3;
}

.empty-state h3 {
  font-family: 'Syne', sans-serif;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
}

.empty-state p { font-size: 0.9rem; }

/* FORM PAGE */
.apply-page {
  max-width: 680px;
  margin: 0 auto;
  padding: 60px 24px 80px;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  color: var(--text-muted);
  text-decoration: none;
  margin-bottom: 32px;
  transition: color 0.2s;
}
.back-link:hover { color: var(--text); }

.apply-header {
  margin-bottom: 40px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--border);
}

.apply-header .job-title {
  font-family: 'Syne', sans-serif;
  font-size: 1.8rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--text);
  margin-bottom: 12px;
}

.apply-header .job-meta-line {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.apply-header .job-meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.apply-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-dim);
  padding: 4px 12px;
  border-radius: 100px;
  margin-bottom: 14px;
  border: 1px solid rgba(200,245,100,0.2);
}

/* FORM */
.form-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-family: 'Syne', sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.form-group input {
  width: 100%;
  padding: 12px 16px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}

.form-group input:focus {
  border-color: rgba(200,245,100,0.4);
  box-shadow: 0 0 0 3px rgba(200,245,100,0.08);
}

.form-group input::placeholder { color: var(--text-muted); }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.btn-apply {
  width: 100%;
  padding: 14px;
  background: var(--accent);
  color: #0e0e10;
  border: none;
  border-radius: var(--radius);
  font-family: 'Syne', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  margin-top: 8px;
}

.btn-apply:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
}

/* FLASH MESSAGES */
.flash {
  padding: 14px 18px;
  border-radius: var(--radius);
  font-size: 0.88rem;
  margin-bottom: 24px;
}

.flash-success {
  background: rgba(200,245,100,0.1);
  border: 1px solid rgba(200,245,100,0.2);
  color: var(--accent);
}

.flash-error {
  background: rgba(255,100,100,0.1);
  border: 1px solid rgba(255,100,100,0.2);
  color: #ff8080;
}

/* RESPONSIVE */
@media (max-width: 640px) {
  .navbar { padding: 16px 20px; }

  .job-card {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 20px;
  }

  .job-apply-btn { justify-content: center; }

  .form-row { grid-template-columns: 1fr; }

  .form-card { padding: 24px; }
}

/* HOW IT WORKS */
.how-it-works {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-bottom: 56px;
  flex-wrap: wrap;
}

.hiw-step {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  max-width: 240px;
}

.hiw-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--accent-dim);
  border-radius: 10px;
  color: var(--accent);
  flex-shrink: 0;
}

.hiw-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.hiw-text strong {
  font-family: 'Syne', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
}

.hiw-text span {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.hiw-divider {
  display: flex;
  align-items: center;
  color: var(--text-muted);
  padding: 0 12px;
  opacity: 0.5;
}

/* VALUE PROP GRID */
.value-prop-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 80px;
  padding-top: 8px;
}

.value-card {
  padding: 28px 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

.value-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: var(--accent-dim);
  border-radius: 12px;
  color: var(--accent);
  margin-bottom: 16px;
}

.value-card h3 {
  font-family: 'Syne', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}

.value-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.empty-cta {
  color: var(--accent);
  text-decoration: none;
  font-weight: 500;
}
.empty-cta:hover { text-decoration: underline; }

/* SUBTLE SCROLLBAR */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: #2a2a2e; border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: #3a3a3e; }