/* === AI Jobs Board - Dark Luxury Landing Page === */

:root {
  --bg: #0c0a09;
  --bg-elevated: #141210;
  --bg-card: #1a1816;
  --bg-card-hover: #221f1c;
  --bg-input: #1a1816;
  --border: rgba(167, 139, 250, 0.12);
  --border-strong: rgba(167, 139, 250, 0.25);
  --text: #fafaf9;
  --text-secondary: #a8a29e;
  --text-muted: #78716c;
  --violet: #a78bfa;
  --violet-dim: #7c3aed;
  --violet-glow: rgba(167, 139, 250, 0.08);
  --violet-glow-strong: rgba(167, 139, 250, 0.15);
  --emerald: #34d399;
  --emerald-dim: rgba(52, 211, 153, 0.12);
  --gold: #d4a574;
  --gold-dim: rgba(212, 165, 116, 0.12);
  --red: #f87171;
  --serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --max-w: 1100px;
  --section-pad: 7rem 2rem;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* === Typography === */
h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.2;
}

h1 em, h2 em {
  font-style: italic;
  color: var(--violet);
}

.section-label {
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--violet);
  margin-bottom: 1rem;
}

.section-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}

/* === Navigation === */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(12, 10, 9, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2rem;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: var(--text);
}

.nav-diamond {
  color: var(--violet);
  font-size: 1.1rem;
}

.nav-wordmark {
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links a {
  font-size: 0.82rem;
  font-weight: 400;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.2s;
  letter-spacing: 0.01em;
}

.nav-links a:hover {
  color: var(--text);
}

.nav-links .skip-link {
  background: transparent;
  border: 1px solid var(--border-strong);
  border-radius: 6px;
  padding: 0.45rem 1rem;
  color: var(--violet);
  font-weight: 500;
  transition: all 0.2s;
}

.nav-links .skip-link:hover {
  background: var(--violet-glow-strong);
  border-color: var(--violet);
  color: var(--violet);
}

.nav-mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-mobile-toggle span {
  display: block;
  width: 20px;
  height: 1.5px;
  background: var(--text-secondary);
  transition: background 0.2s;
}

/* === Hero === */
.hero {
  position: relative;
  padding: 10rem 2rem 6rem;
  text-align: center;
  overflow: hidden;
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 720px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--violet);
  border: 1px solid var(--border-strong);
  border-radius: 100px;
  padding: 0.4rem 1.2rem;
  margin-bottom: 2rem;
}

.hero h1 {
  font-size: 3.5rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
  line-height: 1.15;
}

.hero-sub {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 560px;
  margin: 0 auto 2.5rem;
  font-weight: 300;
}

.hero-form {
  display: flex;
  gap: 0;
  max-width: 440px;
  margin: 0 auto 1rem;
  border: 1px solid var(--border-strong);
  border-radius: 8px;
  overflow: hidden;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.hero-form:focus-within {
  border-color: var(--violet);
  box-shadow: 0 0 0 3px var(--violet-glow);
}

.hero-form input {
  flex: 1;
  background: var(--bg-input);
  border: none;
  padding: 0.9rem 1.2rem;
  font-size: 0.92rem;
  color: var(--text);
  font-family: var(--sans);
  outline: none;
}

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

.hero-form button {
  background: var(--violet);
  color: #fff;
  border: none;
  padding: 0.9rem 1.6rem;
  font-size: 0.85rem;
  font-weight: 600;
  font-family: var(--sans);
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s;
  letter-spacing: 0.01em;
}

.hero-form button:hover {
  background: var(--violet-dim);
}

.hero-form-status,
.cta-form-status {
  font-size: 0.85rem;
  min-height: 1.4em;
  margin-top: 0.5rem;
}

.hero-form-status.success,
.cta-form-status.success {
  color: var(--emerald);
}

.hero-form-status.error,
.cta-form-status.error {
  color: var(--red);
}

.hero-proof {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 2rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.hero-proof strong {
  color: var(--text);
  font-weight: 600;
}

.proof-divider {
  width: 1px;
  height: 14px;
  background: var(--border-strong);
}

.hero-skip {
  display: inline-block;
  margin-top: 1.5rem;
  font-size: 0.82rem;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
  border-bottom: 1px solid transparent;
}

.hero-skip:hover {
  color: var(--violet);
  border-bottom-color: var(--violet);
}

.hero-gradient {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(ellipse at center, rgba(167, 139, 250, 0.06) 0%, transparent 70%);
  pointer-events: none;
  z-index: 1;
}

/* === Problem === */
.problem {
  padding: var(--section-pad);
  border-top: 1px solid var(--border);
}

.problem h2 {
  font-size: 2.4rem;
  margin-bottom: 3rem;
}

.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.problem-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 2rem 1.5rem;
  transition: border-color 0.3s;
}

.problem-card:hover {
  border-color: var(--border-strong);
}

.problem-number {
  font-family: var(--serif);
  font-size: 2.2rem;
  font-weight: 600;
  color: var(--violet);
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
}

.problem-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.65;
  font-weight: 300;
}

.problem-hook {
  font-family: var(--serif);
  font-size: 1.15rem;
  font-style: italic;
  color: var(--text-secondary);
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

/* === How It Works === */
.how-it-works {
  padding: var(--section-pad);
  border-top: 1px solid var(--border);
  background: var(--bg-elevated);
}

.how-it-works h2 {
  font-size: 2.4rem;
  margin-bottom: 3rem;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.step-card {
  position: relative;
  padding: 0;
}

.step-number {
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--violet);
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
}

.step-line {
  width: 40px;
  height: 1px;
  background: var(--border-strong);
  margin-bottom: 1.25rem;
}

.step-card h3 {
  font-size: 1.35rem;
  font-weight: 500;
  margin-bottom: 0.75rem;
  color: var(--text);
}

.step-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.65;
  font-weight: 300;
}

/* === Features === */
.features {
  padding: var(--section-pad);
  border-top: 1px solid var(--border);
}

.features h2 {
  font-size: 2.4rem;
  margin-bottom: 3rem;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 2rem;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.feature-card:hover {
  border-color: var(--border-strong);
  box-shadow: 0 4px 24px rgba(167, 139, 250, 0.04);
}

.feature-icon {
  font-size: 1.3rem;
  color: var(--violet);
  margin-bottom: 1rem;
  opacity: 0.8;
}

.feature-card h3 {
  font-size: 1.15rem;
  font-weight: 500;
  margin-bottom: 0.6rem;
  color: var(--text);
}

.feature-card p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.65;
  font-weight: 300;
}

/* === Social Proof / Anchoring === */
.social-proof {
  padding: 5rem 2rem;
  border-top: 1px solid var(--border);
  background: var(--bg-elevated);
}

.proof-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  margin-bottom: 1.5rem;
}

.proof-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
}

.proof-stat-value {
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 600;
  color: var(--text);
}

.proof-stat:first-child .proof-stat-value {
  color: var(--emerald);
}

.proof-stat:not(:first-child) .proof-stat-value {
  text-decoration: line-through;
  color: var(--text-muted);
  opacity: 0.6;
}

.proof-stat-label {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.proof-stat-divider {
  width: 1px;
  height: 50px;
  background: var(--border-strong);
}

.proof-caption {
  text-align: center;
  font-size: 0.9rem;
  color: var(--text-secondary);
  max-width: 520px;
  margin: 0 auto;
  font-weight: 300;
}

/* === CTA Section === */
.cta-section {
  padding: var(--section-pad);
  text-align: center;
  border-top: 1px solid var(--border);
}

.cta-section h2 {
  font-size: 2.2rem;
  margin-bottom: 1rem;
}

.cta-sub {
  font-size: 1rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  font-weight: 300;
}

.cta-form {
  display: flex;
  gap: 0;
  max-width: 440px;
  margin: 0 auto 0.5rem;
  border: 1px solid var(--border-strong);
  border-radius: 8px;
  overflow: hidden;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.cta-form:focus-within {
  border-color: var(--violet);
  box-shadow: 0 0 0 3px var(--violet-glow);
}

.cta-form input {
  flex: 1;
  background: var(--bg-input);
  border: none;
  padding: 0.9rem 1.2rem;
  font-size: 0.92rem;
  color: var(--text);
  font-family: var(--sans);
  outline: none;
}

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

.cta-form button {
  background: var(--violet);
  color: #fff;
  border: none;
  padding: 0.9rem 1.6rem;
  font-size: 0.85rem;
  font-weight: 600;
  font-family: var(--sans);
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s;
}

.cta-form button:hover {
  background: var(--violet-dim);
}

.cta-note {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 0.75rem;
}

/* === FAQ === */
.faq {
  padding: var(--section-pad);
  border-top: 1px solid var(--border);
  background: var(--bg-elevated);
}

.faq h2 {
  font-size: 2.4rem;
  margin-bottom: 3rem;
}

.faq-list {
  max-width: 700px;
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 0;
  background: none;
  border: none;
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text);
  cursor: pointer;
  text-align: left;
  gap: 1rem;
  transition: color 0.2s;
}

.faq-question:hover {
  color: var(--violet);
}

.faq-toggle {
  font-size: 1.2rem;
  font-weight: 300;
  color: var(--text-muted);
  flex-shrink: 0;
  transition: transform 0.3s, color 0.2s;
}

.faq-item.open .faq-toggle {
  transform: rotate(45deg);
  color: var(--violet);
}

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

.faq-item.open .faq-answer {
  max-height: 300px;
  padding-bottom: 1.25rem;
}

.faq-answer p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.7;
  font-weight: 300;
}

/* === Footer === */
.site-footer {
  padding: 4rem 2rem;
  border-top: 1px solid var(--border);
  text-align: center;
}

.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}

.footer-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--serif);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.footer-tagline {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.footer-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-links a {
  font-size: 0.8rem;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--violet);
}

.footer-copy {
  font-size: 0.72rem;
  color: var(--text-muted);
}

/* === Responsive === */
@media (max-width: 900px) {
  :root {
    --section-pad: 5rem 1.5rem;
  }

  .hero h1 {
    font-size: 2.6rem;
  }

  .problem-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .steps-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .proof-banner {
    flex-direction: column;
    gap: 1.5rem;
  }

  .proof-stat-divider {
    width: 40px;
    height: 1px;
  }
}

@media (max-width: 640px) {
  .hero {
    padding: 8rem 1.5rem 4rem;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero-sub {
    font-size: 0.92rem;
  }

  .hero-form {
    flex-direction: column;
    border: none;
    border-radius: 0;
    gap: 0.75rem;
  }

  .hero-form input,
  .hero-form button {
    border-radius: 8px;
    border: 1px solid var(--border-strong);
  }

  .hero-form button {
    border-color: transparent;
  }

  .hero-proof {
    flex-direction: column;
    gap: 0.6rem;
  }

  .proof-divider {
    display: none;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(12, 10, 9, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 1.5rem 2rem;
    gap: 1.2rem;
    border-bottom: 1px solid var(--border);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-mobile-toggle {
    display: flex;
  }

  .cta-form {
    flex-direction: column;
    border: none;
    border-radius: 0;
    gap: 0.75rem;
  }

  .cta-form input,
  .cta-form button {
    border-radius: 8px;
    border: 1px solid var(--border-strong);
  }

  .cta-form button {
    border-color: transparent;
  }

  .problem h2,
  .how-it-works h2,
  .features h2,
  .cta-section h2,
  .faq h2 {
    font-size: 1.8rem;
  }

  .problem-number {
    font-size: 1.8rem;
  }

  .footer-links {
    flex-direction: column;
    gap: 1rem;
  }
}
