/*
 * seo-static.css — Standalone CSS for SEO static job pages.
 * Mirrors the React job detail view (NewJobBoardUI.jsx THEME object)
 * so static pages feel visually consistent with the React app.
 *
 * Served at /seo-static.css (Vite copies public/ to dist/ without hashing).
 * Class prefix: static-
 */

/* ── Reset & Base ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  background-color: #0F0F0F;
  color: #FFFFFF;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
}

a { color: #D4AF37; text-decoration: none; }
a:hover { text-decoration: underline; }

/* ── Theme Tokens ─────────────────────────────────────────── */
:root {
  --st-bg-app:        #0F0F0F;
  --st-bg-panel:      #141414;
  --st-bg-card:       #1A1A1A;
  --st-bg-card-hover: #222222;
  --st-gold:          #D4AF37;
  --st-gold-dim:      rgba(212, 175, 55, 0.08);
  --st-gold-border:   rgba(212, 175, 55, 0.3);
  --st-gold-glow:     rgba(212, 175, 55, 0.1);
  --st-text-main:     #FFFFFF;
  --st-text-muted:    #888888;
  --st-text-body:     #C8C8C8;
  --st-border:        #2A2A2A;
  --st-radius-sm:     6px;
  --st-radius-md:     12px;
  --st-radius-lg:     16px;
  --st-radius-pill:   999px;
}

/* ── Header ───────────────────────────────────────────────── */
.static-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 24px;
  background: rgba(10, 9, 8, 0.85);
  border-bottom: 1px solid rgba(212, 175, 55, 0.1);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.static-logo {
  display: flex;
  gap: 10px;
  align-items: center;
  font-weight: 600;
  text-decoration: none;
  font-size: 0.95rem;
  letter-spacing: 0.06em;
}
.static-logo:hover { text-decoration: none; }

.static-logo-img {
  width: 28px;
  height: 35px;
  display: block;
}

.static-logo-text {
  background: linear-gradient(145deg,
    #d1b061 0%,
    #e0c070 30%,
    #fae592 50%,
    #e0c070 70%,
    #d1b061 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}

.static-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.static-nav-link {
  font-size: 0.9rem;
  color: #777;
  text-decoration: none;
  transition: color 0.2s;
}
.static-nav-link:hover { color: #aaa; text-decoration: none; }

.static-signin-btn {
  padding: 9px 20px;
  background: transparent;
  color: #d4af37;
  border: 1px solid rgba(212, 175, 55, 0.5);
  border-radius: 5px;
  font-weight: 500;
  font-size: 0.875rem;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
}
.static-signin-btn:hover {
  background: rgba(212, 175, 55, 0.1);
  border-color: rgba(212, 175, 55, 0.8);
}

/* ── Main Layout ──────────────────────────────────────────── */
.static-main {
  display: flex;
  justify-content: center;
  padding: 32px 20px 60px;
}

.static-job-panel {
  width: 100%;
  max-width: 900px;
  background: var(--st-bg-panel);
  border: 1px solid var(--st-border);
  border-radius: var(--st-radius-lg);
  padding: 32px;
}

/* ── Job Header ───────────────────────────────────────────── */
.static-job-header {
  padding-bottom: 20px;
  border-bottom: 1px solid var(--st-border);
  margin-bottom: 24px;
}

.static-job-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--st-text-main);
  line-height: 1.3;
  margin-bottom: 12px;
}

.static-job-employer {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}

.static-confidential {
  font-size: 14px;
  color: var(--st-text-muted);
  font-style: italic;
}

.static-reveal-btn {
  font-size: 13px;
  font-weight: 600;
  color: var(--st-gold);
  background: transparent;
  border: 1px solid var(--st-gold-border);
  border-radius: var(--st-radius-sm);
  padding: 6px 16px;
  cursor: pointer;
  transition: all 0.2s;
}
.static-reveal-btn:hover {
  background: var(--st-gold-dim);
  border-color: var(--st-gold);
}

.static-job-posted {
  font-size: 12px;
  color: var(--st-text-muted);
  margin-top: 4px;
}

/* ── Info Cards ───────────────────────────────────────────── */
.static-info-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(145px, 1fr));
  gap: 12px;
  margin-bottom: 24px;
}

.static-info-card {
  background: var(--st-bg-card);
  border: 1px solid var(--st-border);
  border-radius: var(--st-radius-md);
  padding: 14px 16px;
}

.static-info-label {
  font-size: 11px;
  color: var(--st-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
  font-weight: 500;
}

.static-info-value {
  font-size: 14px;
  color: var(--st-text-main);
  font-weight: 600;
}

/* ── Sponsorship Callout Banner ───────────────────────────── */
.static-sponsor-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  border-radius: var(--st-radius-sm);
  padding: 14px 18px;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.45;
  margin-bottom: 24px;
}

.static-sponsor-icon {
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  display: block;
}

.static-sponsor-badge.confirmed {
  background: rgba(34, 197, 94, 0.12);
  border-left: 4px solid #22c55e;
  color: #86efac;
}

.static-sponsor-badge.neutral {
  background: rgba(250, 204, 21, 0.10);
  border-left: 4px solid #facc15;
  color: #fde68a;
}

.static-sponsor-badge.not-offered {
  background: rgba(239, 68, 68, 0.12);
  border-left: 4px solid #ef4444;
  color: #fca5a5;
}

/* ── Section Titles ───────────────────────────────────────── */
.static-section {
  margin-top: 28px;
}

.static-section-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--st-gold);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 16px;
}

/* ── Skills ───────────────────────────────────────────────── */
.static-skills-section {
  margin-bottom: 24px;
}

.static-skills-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.static-skill-pill {
  background: var(--st-gold-dim);
  color: var(--st-gold);
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: var(--st-radius-pill);
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 500;
}

/* ── Summary Card ─────────────────────────────────────────── */
.static-summary-card {
  background: var(--st-gold-glow);
  border: 1px solid var(--st-gold-border);
  border-radius: var(--st-radius-md);
  padding: 20px;
  margin-bottom: 24px;
}

.static-summary-card p {
  color: var(--st-text-body);
  line-height: 1.7;
  font-size: 0.9375rem;
}

/* ── Description Content ──────────────────────────────────── */
.static-description {
  margin-bottom: 32px;
}

/* Typography for description HTML */
.static-description h1 { color: #FFF; font-size: 1.25rem; font-weight: 600; margin: 1.25rem 0 0.75rem; }
.static-description h2 { color: #FFF; font-size: 1.125rem; font-weight: 600; margin: 1rem 0 0.625rem; padding-bottom: 0.5rem; border-bottom: 1px solid rgba(212,175,55,0.2); }
.static-description h3 { color: #FFF; font-size: 1rem; font-weight: 600; margin: 0.875rem 0 0.5rem; }
.static-description h4 { color: #EEE; font-size: 0.9375rem; font-weight: 600; margin: 0.75rem 0 0.5rem; }
.static-description p  { color: #C8C8C8; line-height: 1.75; margin-bottom: 0.75rem; font-size: 0.9375rem; }
.static-description ul { padding-left: 1.25rem; margin-bottom: 1rem; list-style: disc; }
.static-description ol { padding-left: 1.25rem; margin-bottom: 1rem; }
.static-description li { color: #C8C8C8; line-height: 1.65; margin-bottom: 0.5rem; padding-left: 0.5rem; }
.static-description strong, .static-description b { color: #FFF; }
.static-description a  { color: #D4AF37; text-decoration: underline; }

/* Gated-phrase span emitted by the C# sanitizer */
.static-description .employer-hidden,
.employer-hidden {
  display: inline-block;
  background: rgba(212, 175, 55, 0.08);
  border-radius: 3px;
  padding: 1px 6px;
  color: #d4af37;
  font-weight: 400;
  font-size: 0.95em;
  white-space: nowrap;
}

/* Sanitized HTML classes from C# pipeline */
.static-description .job-container-unique {
  color: var(--st-text-body);
  line-height: 1.7;
}

.static-description .job-section-unique {
  margin-bottom: 1.25rem;
}

.static-description .job-title-unique {
  color: #FFF;
  font-size: 1.125rem;
  font-weight: 600;
  margin: 1rem 0 0.625rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(212,175,55,0.2);
}

.static-description .job-description-unique {
  color: #C8C8C8;
  line-height: 1.75;
  margin-bottom: 0.75rem;
  font-size: 0.9375rem;
}

.static-description .job-list-unique {
  padding-left: 1.25rem;
  margin-bottom: 1rem;
  list-style: disc;
}

.static-description .job-list-item-unique {
  color: #C8C8C8;
  line-height: 1.65;
  margin-bottom: 0.5rem;
  padding-left: 0.5rem;
}

.static-description .job-focused-summary-unique {
  background: var(--st-gold-glow);
  border: 1px solid var(--st-gold-border);
  border-radius: var(--st-radius-md);
  padding: 16px;
  margin-bottom: 1rem;
  color: var(--st-text-body);
  line-height: 1.7;
}

/* ── CTA Section ──────────────────────────────────────────── */
.static-cta-section {
  text-align: center;
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid var(--st-border);
}

.static-cta-primary {
  display: inline-block;
  background: linear-gradient(145deg, #d1b061, #e0c070, #fae592, #e0c070, #d1b061);
  color: #000;
  border: none;
  padding: 16px 40px;
  font-weight: 700;
  font-size: 15px;
  border-radius: 8px;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 16px rgba(212, 175, 55, 0.25);
  transition: opacity 0.2s, transform 0.2s;
}
.static-cta-primary:hover {
  opacity: 0.92;
  transform: translateY(-1px);
}

.static-cta-subtext {
  font-size: 13px;
  color: var(--st-text-muted);
  margin-top: 12px;
}

/* ── Footer ───────────────────────────────────────────────── */
.static-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px;
  color: var(--st-text-muted);
  font-size: 12px;
  border-top: 1px solid var(--st-border);
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.static-footer-links {
  display: flex;
  gap: 16px;
}

.static-footer-links a {
  color: var(--st-text-muted);
  font-size: 12px;
}
.static-footer-links a:hover { color: var(--st-gold); text-decoration: none; }

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 768px) {
  .static-header {
    padding: 10px 16px;
  }

  .static-nav { gap: 12px; }
  .static-nav-link { display: none; }

  .static-logo { font-size: 0.7rem; letter-spacing: 0.04em; gap: 8px; }
  .static-logo-img { width: 24px; height: 30px; }

  .static-signin-btn {
    padding: 7px 14px;
    font-size: 0.8rem;
  }

  .static-main {
    padding: 16px 12px 40px;
  }

  .static-job-panel {
    padding: 20px 16px;
    border-radius: var(--st-radius-md);
  }

  .static-job-title {
    font-size: 1.5rem;
  }

  .static-info-cards {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }

  .static-job-employer {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .static-footer {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }

  .static-cta-primary {
    width: 100%;
    padding: 14px 24px;
  }
}

@media (max-width: 480px) {
  .static-info-cards {
    grid-template-columns: 1fr;
  }
}
