/* ============================================================
   QuickJobs — Landing Page Design System
   1:1 visual replication of the reference landing page,
   repurposed for part-time job ads.
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,600;1,600;1,700&family=Great+Vibes&family=Outfit:wght@400;500;600;700&display=swap');

:root {
  --bg: #1a0000;
  --surface: #2a0a0a;
  --card: #1f1010;
  --ink: #1a1a2e;
  --ink-soft: #ffffffbf;
  --accent: #e11d48;
  --accent-dark: #9f1239;
  --accent-glow: rgba(225, 29, 72, 0.35);
  --green: #10b981;
  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-script: 'Great Vibes', cursive;
  --font-sans: 'Outfit', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --radius: 16px;
  --radius-sm: 999px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  color: var(--ink);
  background: var(--bg);
  min-height: 100dvh;
  font-family: var(--font-sans);
  line-height: 1.5;
  overflow-x: hidden;
}
#app { min-height: 100dvh; }
button { font: inherit; cursor: pointer; background: none; border: none; }
input, select { font: inherit; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

/* ---------- Brand ---------- */
.brand {
  font-family: var(--font-script);
  font-size: 1.75rem;
  color: #fff;
  letter-spacing: 0.02em;
  display: inline-flex; gap: 0.18em; align-items: baseline;
}
.brand__pre { color: var(--accent); font-weight: 700; }
.brand__post { font-family: var(--font-serif); font-style: italic; font-weight: 600; color: #fff; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: linear-gradient(180deg, rgba(26,0,0,0.72), rgba(26,0,0,0.28));
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.header-wrap {
  max-width: 1100px; margin: 0 auto; padding: 0 1.25rem;
  display: flex; align-items: center; justify-content: space-between; height: 4.2rem;
}
.header-left { display: flex; align-items: center; gap: 1rem; }
.header-actions { display: flex; gap: 0.75rem; }
.btn-ghost {
  border: 1px solid rgba(255,255,255,0.18);
  color: #fff; padding: 0.42rem 0.95rem; border-radius: 999px;
  font-size: 0.8rem; font-weight: 600; background: rgba(255,255,255,0.04);
}
.btn-ghost:hover { background: rgba(255,255,255,0.12); }

/* ---------- Hero ---------- */
.hero {
  position: relative; padding: 3.2rem 1.25rem 4rem;
  display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 3rem; align-items: center;
  max-width: 1100px; margin: 0 auto;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.28rem 0.85rem; border: 1px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.05); color: #ffffffd9;
  font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.14em;
  border-radius: 999px; margin-bottom: 0.9rem;
}
.hero h1 {
  font-family: var(--font-serif); font-size: clamp(2.1rem, 5vw, 3.2rem);
  font-weight: 700; line-height: 1.08; color: #fff; letter-spacing: -0.02em;
}
.hero h1 em { font-style: normal; color: var(--accent); font-weight: 700; }
.hero p {
  color: var(--ink-soft); font-size: 1rem; margin-top: 0.95rem; line-height: 1.6;
  max-width: 42ch;
}
.hero-stats {
  display: flex; gap: 1.5rem; margin-top: 1.7rem; flex-wrap: wrap;
}
.stat {
  display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.45rem 1rem; border: 1px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.04); border-radius: 999px;
}
.stat strong { color: #fff; font-size: 1rem; font-variant-numeric: tabular-nums; }
.stat span { color: var(--ink-soft); font-size: 0.72rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; }

/* Download card (right side hero) */
.download-card {
  position: relative; border: 1px solid rgba(255,255,255,0.16);
  background: radial-gradient(1200px 600px at 50% -10%, rgba(225,29,72,0.22), transparent 60%);
  border-radius: 24px; padding: 2.2rem 1.6rem; text-align: center;
  box-shadow: 0 24px 48px rgba(0,0,0,0.55);
}
.download-card::before {
  content: ''; position: absolute; inset: -1px; border-radius: 24px;
  padding: 1px; background: linear-gradient(to right, var(--accent), var(--accent-dark));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: destination-out; mask-composite: exclude;
  pointer-events: none;
}
.card-kicker { font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.14em; color: #fecaca; margin-bottom: 0.7rem; }
.card-title { font-family: var(--font-serif); font-size: 1.5rem; font-weight: 700; color: #fff; margin-bottom: 0.45rem; }
.card-lead { color: #e2e8f0; font-size: 0.88rem; margin-bottom: 1.35rem; line-height: 1.55; }
.btn-primary {
  width: 100%; background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: #fff; border: none; border-radius: 999px; padding: 0.82rem 1rem;
  font-size: 0.92rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase;
  box-shadow: 0 10px 22px var(--accent-glow); cursor: pointer;
}
.btn-primary:hover { filter: brightness(1.08); transform: translateY(-1px); }
.btn-primary:active { transform: translateY(0); }
.card-meta {
  margin-top: 1rem; display: flex; justify-content: center; gap: 1.1rem;
  color: var(--ink-soft); font-size: 0.72rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em;
}
.card-meta strong { color: #fff; }

/* ---------- Section headers ---------- */
.section { padding: 2.6rem 1.25rem; }
.section-head {
  display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.6rem;
  flex-wrap: wrap; gap: 0.8rem;
}
.section-head h2 {
  font-family: var(--font-serif); font-size: 1.9rem; font-weight: 700; color: #fff;
}
.section-head .sub { color: var(--ink-soft); font-size: 0.9rem; font-weight: 600; }

/* ---------- Live job marquee ---------- */
.marquee-wrap { position: relative; overflow: hidden; border-radius: 14px; border: 1px solid rgba(255,255,255,0.12); background: var(--card); }
.marquee-track {
  display: flex; gap: 1rem; animation: scroll 28s linear infinite;
  will-change: transform;
}
.marquee-item {
  flex: 0 0 auto; width: 168px; height: 210px; border-radius: 12px;
  overflow: hidden; border: 1px solid rgba(255,255,255,0.1);
  background: linear-gradient(180deg, #240d0d 0%, #1a0707 100%);
  position: relative; display: flex; flex-direction: column;
}
.marquee-item img { width: 100%; height: 60%; object-fit: cover; display: block; }
.item-img-placeholder {
  width: 100%; height: 60%; background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  display: grid; place-items: center; color: #fff; font-family: var(--font-serif);
  font-size: 2rem; font-weight: 700; opacity: 0.55;
}
.item-tag {
  position: absolute; top: 10px; left: 10px; font-size: 0.62rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: 0.1em; color: #fff;
  padding: 0.18rem 0.5rem; border-radius: 999px; background: rgba(0,0,0,0.45);
  backdrop-filter: blur(4px);
}
.item-meta {
  position: absolute; bottom: 0; left: 0; right: 0; padding: 0.85rem 0.75rem;
  background: linear-gradient(to top, #000000d1, transparent);
  color: #fff; font-size: 0.78rem; font-weight: 700; line-height: 1.25;
}
.item-meta span { color: var(--ink-soft); font-size: 0.64rem; font-weight: 600; display: block; margin-top: 0.2rem; }
@keyframes scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- Jobs grid (category tabs + cards) ---------- */
.category-tabs {
  display: flex; gap: 0.5rem; overflow-x: auto; padding-bottom: 0.5rem;
  margin-bottom: 1.4rem; scrollbar-width: none;
}
.category-tabs::-webkit-scrollbar { display: none; }
.tab {
  flex: 0 0 auto; padding: 0.42rem 1rem; border-radius: 999px;
  font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--ink-soft); border: 1px solid rgba(255,255,255,0.12); background: rgba(255,255,255,0.03);
  white-space: nowrap;
}
.tab.active {
  background: var(--accent); color: #fff; border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent);
}
.grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 1rem;
}
.job-card {
  position: relative; border: 1px solid rgba(255,255,255,0.12); border-radius: 14px;
  overflow: hidden; background: var(--card); display: flex; flex-direction: column; transition: transform .18s, border-color .18s;
}
.job-card:hover { border-color: rgba(255,255,255,0.35); transform: translateY(-2px); }
.job-img {
  width: 100%; height: 150px; background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  position: relative; overflow: hidden;
}
.job-img img { width: 100%; height: 100%; object-fit: cover; }
.job-img-placeholder {
  width: 100%; height: 100%; display: grid; place-items: center; color: #fff; font-family: var(--font-serif);
  font-size: 2.6rem; font-weight: 700; opacity: 0.5;
}
.job-card .tag {
  position: absolute; top: 10px; left: 10px; font-size: 0.6rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: 0.1em; color: #fff;
  padding: 0.16rem 0.45rem; border-radius: 999px; background: rgba(0,0,0,0.5); backdrop-filter: blur(4px);
}
.job-body { padding: 0.9rem 0.85rem 0.7rem; flex: 1; display: flex; flex-direction: column; gap: 0.4rem; }
.job-title { color: #fff; font-size: 0.92rem; font-weight: 700; line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.job-sub { color: var(--ink-soft); font-size: 0.72rem; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.job-footer { margin-top: auto; display: flex; align-items: center; justify-content: space-between; padding: 0.65rem 0.85rem; border-top: 1px solid rgba(255,255,255,0.08); }
.job-pay { color: var(--accent); font-size: 0.78rem; font-weight: 800; }
.job-apply {
  background: var(--accent); color: #fff; font-size: 0.68rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: 0.08em; padding: 0.3rem 0.6rem; border-radius: 6px;
}
.job-apply:hover { background: var(--accent-dark); }

/* count chip */
.count-chip {
  display: flex; align-items: center; gap: 0.5rem;
  padding: 0.42rem 1rem; border: 1px solid rgba(255,255,255,0.14); background: rgba(255,255,255,0.04);
  border-radius: 999px; font-size: 0.78rem; font-weight: 700; color: #fff; margin-bottom: 0.4rem;
}
.count-chip strong { color: #fff; }

/* ---------- Testimonials marquee ---------- */
.test-wrap { position: relative; overflow: hidden; border-radius: 16px; border: 1px solid rgba(255,255,255,0.12); background: var(--card); }
.test-track {
  display: flex; gap: 1rem; animation: scroll 34s linear infinite; will-change: transform;
}
.test-card {
  flex: 0 0 auto; width: 320px; border-radius: 14px; overflow: hidden;
  border: 1px solid rgba(255,255,255,0.12); background: linear-gradient(180deg, #240d0d 0%, #1a0707 100%);
  display: flex; flex-direction: column;
}
.test-body { padding: 1.1rem 1rem 0.9rem; color: #fff; font-size: 0.95rem; line-height: 1.55; font-family: var(--font-serif); font-weight: 600; }
.test-meta { padding: 0.6rem 1rem; border-top: 1px solid rgba(255,255,255,0.1); display: flex; gap: 0.7rem; align-items: center; }
.test-avatar { width: 28px; height: 28px; border-radius: 50%; background: linear-gradient(135deg, var(--accent), var(--accent-dark)); display: grid; place-items: center; color: #fff; font-weight: 800; font-size: 0.85rem; flex: 0 0 auto; }
.test-name { color: #fff; font-size: 0.8rem; font-weight: 800; }
.test-loc { color: var(--ink-soft); font-size: 0.68rem; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 700px; margin: 0 auto; display: flex; flex-direction: column; gap: 0.75rem; }
.faq-item { border: 1px solid rgba(255,255,255,0.12); border-radius: 12px; overflow: hidden; background: var(--card); }
.faq-q {
  width: 100%; text-align: left; padding: 1rem 1.1rem;
  font-size: 0.98rem; font-weight: 700; color: #fff; display: flex; justify-content: space-between; align-items: center;
  background: rgba(255,255,255,0.03);
}
.faq-q .arrow { font-size: 1.1rem; line-height: 1; color: var(--accent); transition: transform .2s; }
.faq-item.open .arrow { transform: rotate(180deg); }
.faq-a {
  padding: 0 1.1rem 1rem; color: var(--ink-soft); font-size: 0.88rem; line-height: 1.6;
  max-height: 0; overflow: hidden; transition: max-height .3s ease;
}
.faq-item.open .faq-a { max-height: 260px; }

/* ---------- Contact ---------- */
.contact { text-align: center; border-top: 1px solid rgba(255,255,255,0.1); padding-top: 2.6rem; }
.contact h2 { font-family: var(--font-serif); font-size: 1.9rem; font-weight: 700; color: #fff; margin-bottom: 0.5rem; }
.contact p { color: var(--ink-soft); font-size: 0.95rem; max-width: 520px; margin: 0 auto 1.2rem; }
.footer {
  border-top: 1px solid rgba(255,255,255,0.1); padding: 2rem 1.25rem; text-align: center;
  font-size: 0.78rem; color: var(--ink-soft);
}
.footer a { color: #fff; text-decoration: underline; }

/* ---------- Floating download button ---------- */
.fab {
  position: fixed; right: 1.1rem; bottom: 1.1rem; z-index: 70;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: #fff; width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center; font-size: 0.85rem; font-weight: 800;
  text-align: center; box-shadow: 0 14px 28px var(--accent-glow); cursor: pointer;
  line-height: 1.2; padding: 0 2px;
}
.fab:hover { filter: brightness(1.08); transform: translateY(-2px); }

/* ---------- Language switcher ---------- */
.lang-switch {
  position: fixed; left: 1.1rem; bottom: 1.1rem; z-index: 70;
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: rgba(0,0,0,0.55); border: 1px solid rgba(255,255,255,0.18);
  backdrop-filter: blur(8px); border-radius: 999px; padding: 0.32rem 0.62rem;
}
.lang-switch .label { font-size: 0.72rem; font-weight: 700; color: #fff; text-transform: uppercase; letter-spacing: 0.1em; }
.lang-select { background: transparent; border: none; color: #fff; font-size: 0.82rem; font-weight: 600; outline: none; cursor: pointer; }
.lang-select option { background: #240d0d; color: #fff; }

/* ---------- Utilities ---------- */
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); border: 0; }

/* ---------- Responsive ---------- */
@media (max-width: 768px) {
  .hero { grid-template-columns: 1fr; gap: 2rem; }
  .section-head { flex-direction: column; align-items: flex-start; }
  .category-tabs { gap: 0.4rem; }
  .tab { font-size: 0.7rem; padding: 0.34rem 0.8rem; }
  .fab { width: 50px; height: 50px; font-size: 0.78rem; }
  .lang-switch { left: 0.9rem; bottom: 0.9rem; padding: 0.28rem 0.5rem; }
}
