/* JobPata landing site — brand tokens shared with the app */
:root {
  --primary: #0A2540;
  --accent: #0066FF;
  --accent-soft: rgba(0, 102, 255, 0.08);
  --charcoal: #1E293B;
  --gray: #64748B;
  --gray-light: #94A3B8;
  --border: #E2E8F0;
  --surface: #F1F5F9;
  --white: #FFFFFF;
  --success: #16A34A;
  --radius: 16px;
  --shadow: 0 10px 30px rgba(10, 37, 64, 0.10);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Manrope', system-ui, sans-serif;
  color: var(--charcoal);
  background: var(--white);
  line-height: 1.6;
}

img { max-width: 100%; display: block; }

.container { width: min(1120px, 92%); margin-inline: auto; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.nav { display: flex; align-items: center; gap: 24px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; margin-right: auto; }
.brand-mark {
  width: 36px; height: 36px; border-radius: 10px; background: var(--accent);
  display: grid; place-items: center; color: #fff; font-weight: 800; font-size: 18px;
}
.brand-name { font-weight: 800; font-size: 18px; color: var(--primary); }
.brand-logo { height: 40px; width: auto; display: block; }
.brand-mark-img { width: 36px; height: 36px; border-radius: 10px; display: block; }

.nav-links { display: flex; gap: 22px; align-items: center; }
.nav-links a {
  text-decoration: none; color: var(--gray); font-weight: 600; font-size: 14px;
}
.nav-links a:hover, .nav-links a.active { color: var(--primary); }

.nav-cta { display: flex; gap: 10px; align-items: center; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px; border-radius: 12px; font-weight: 800; font-size: 14px;
  text-decoration: none; border: none; cursor: pointer; transition: 0.15s;
  font-family: inherit;
}
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 6px 18px rgba(0, 102, 255, 0.35); }
.btn-primary:hover { filter: brightness(1.1); }
.btn-ghost { background: transparent; color: var(--primary); border: 1.5px solid var(--border); }
.btn-ghost:hover { background: var(--surface); }
.btn-dark { background: var(--primary); color: #fff; }
.btn-dark:hover { filter: brightness(1.2); }
.btn-lg { padding: 15px 28px; font-size: 15px; border-radius: 14px; }

.hamburger {
  display: none; background: none; border: none; cursor: pointer; padding: 8px;
}
.hamburger span {
  display: block; width: 22px; height: 2.5px; background: var(--primary);
  margin: 4.5px 0; border-radius: 2px; transition: 0.2s;
}

/* ---------- Hero ---------- */
.hero { padding: 72px 0 56px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
.eyebrow {
  display: inline-block; background: var(--accent-soft); color: var(--accent);
  font-size: 12px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase;
  padding: 6px 14px; border-radius: 999px; margin-bottom: 18px;
}
h1 { font-size: clamp(34px, 5vw, 54px); line-height: 1.12; color: var(--primary); font-weight: 800; }
.hero p.lead { margin-top: 18px; font-size: 17px; color: var(--gray); max-width: 480px; }
.hero-actions { margin-top: 30px; display: flex; gap: 12px; flex-wrap: wrap; }
.hero-note { margin-top: 14px; font-size: 12.5px; color: var(--gray-light); font-weight: 600; }

/* ---------- Media frames (real images / video) ---------- */
.media-frame {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  margin: 0;
}
.media-frame img,
.media-frame video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.media-frame.tall { min-height: 340px; aspect-ratio: 3 / 4; }
.media-frame.short { min-height: 180px; aspect-ratio: 4 / 3; }
.hero-media { position: relative; overflow: hidden; }
.hero-media .hero-video {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1;
}
.hero-media .hero-fallback { position: relative; z-index: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-kenburns {
  animation: kenburns 18s ease-in-out infinite alternate;
  transform-origin: center center;
}
@keyframes kenburns {
  from { transform: scale(1); }
  to { transform: scale(1.06); }
}
.hero-media:has(.hero-video) .hero-kenburns { animation: none; }

/* Accessibility helpers */
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--accent); color: #fff; padding: 10px 16px; font-weight: 800;
  border-radius: 0 0 10px 0;
}
.skip-link:focus { left: 0; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* Cities */
.cities-grid {
  display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 24px;
}
.city-chip {
  background: #fff; border: 1.5px solid var(--border); border-radius: 999px;
  padding: 10px 18px; font-weight: 700; font-size: 14px; color: var(--primary);
}
.cities-note {
  text-align: center; color: var(--gray); font-size: 15px; max-width: 640px; margin: 0 auto;
}

/* FAQ */
.faq-list { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: #fff; border: 1px solid var(--border); border-radius: 14px; padding: 4px 18px;
}
.faq-item summary {
  cursor: pointer; list-style: none; padding: 16px 0;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary h3 {
  font-size: 16px; color: var(--primary); font-weight: 800; margin: 0;
}
.faq-item summary::after {
  content: "+"; font-weight: 800; color: var(--accent); font-size: 22px; flex-shrink: 0;
}
.faq-item[open] summary::after { content: "−"; }
.faq-item p {
  padding: 0 0 18px; color: var(--gray); font-size: 14.5px; margin: 0;
  border-top: 1px solid var(--border); padding-top: 14px;
}

/* Forms */
.form-success { color: var(--success); font-weight: 700; font-size: 15px; }
.form-error { color: #DC2626; font-weight: 700; font-size: 14px; margin-bottom: 14px; }

/* Prose blocks */
.content-prose h2 { margin-bottom: 14px; }
.content-prose p { color: var(--gray); font-size: 15.5px; margin-bottom: 14px; max-width: 720px; }
.content-prose a { color: var(--accent); font-weight: 700; }
.features-grid-3 { grid-template-columns: repeat(3, 1fr) !important; }
.footer-geo { margin-top: 10px; font-size: 12.5px; opacity: 0.85; }

/* Legacy placeholders (if any remain) */
.img-ph {
  position: relative; border: 2px dashed var(--gray-light); border-radius: var(--radius);
  background: repeating-linear-gradient(45deg, var(--surface), var(--surface) 12px, #E8EEF5 12px, #E8EEF5 24px);
  display: flex; flex-direction: column; justify-content: center; padding: 26px;
  min-height: 240px;
}
.img-ph.tall { min-height: 340px; }
.img-ph.short { min-height: 180px; }

/* ---------- Stats bar ---------- */
.stats { background: var(--primary); color: #fff; padding: 34px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.stat-num { font-size: 30px; font-weight: 800; }
.stat-label { font-size: 13px; color: var(--gray-light); font-weight: 600; }

/* ---------- Sections ---------- */
section { padding: 72px 0; }
.section-head { text-align: center; max-width: 620px; margin: 0 auto 48px; }
h2 { font-size: clamp(26px, 3.6vw, 38px); color: var(--primary); font-weight: 800; line-height: 1.2; }
.section-head p { margin-top: 12px; color: var(--gray); font-size: 15.5px; }

.features-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.feature-card {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 26px 22px; transition: 0.2s;
}
.feature-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.feature-icon {
  width: 46px; height: 46px; border-radius: 13px; background: var(--accent-soft);
  display: grid; place-items: center; font-size: 22px; margin-bottom: 16px;
}
.feature-card h3 { font-size: 16.5px; color: var(--primary); margin-bottom: 8px; }
.feature-card p { font-size: 13.5px; color: var(--gray); }

.alt { background: var(--surface); }

/* ---------- Split rows ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 52px; align-items: center; }
.split + .split { margin-top: 72px; }
.split h2 { margin-bottom: 14px; }
.split p { color: var(--gray); font-size: 15px; }
.check-list { list-style: none; margin-top: 18px; }
.check-list li {
  padding-left: 30px; position: relative; margin-bottom: 12px;
  font-weight: 600; font-size: 14.5px; color: var(--charcoal);
}
.check-list li::before {
  content: "✓"; position: absolute; left: 0; top: 0;
  width: 20px; height: 20px; border-radius: 50%; background: var(--success); color: #fff;
  font-size: 12px; font-weight: 800; display: grid; place-items: center;
}
.split .btn { margin-top: 24px; }

/* ---------- Steps ---------- */
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.step-card { text-align: center; }
.step-num {
  width: 40px; height: 40px; border-radius: 50%; background: var(--accent); color: #fff;
  font-weight: 800; display: grid; place-items: center; margin: 0 auto 16px;
}
.step-card h3 { color: var(--primary); font-size: 17px; margin-bottom: 8px; }
.step-card p { font-size: 13.5px; color: var(--gray); margin-bottom: 16px; }

/* ---------- Pricing ---------- */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.price-card {
  background: #fff; border: 1.5px solid var(--border); border-radius: 20px; padding: 32px 28px;
  display: flex; flex-direction: column;
}
.price-card.popular { border-color: var(--accent); box-shadow: var(--shadow); position: relative; }
.popular-tag {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--accent); color: #fff; font-size: 11px; font-weight: 800;
  letter-spacing: 1px; text-transform: uppercase; padding: 5px 14px; border-radius: 999px;
}
.price-card h3 { color: var(--primary); font-size: 18px; }
.price { font-size: 38px; font-weight: 800; color: var(--primary); margin: 14px 0 4px; }
.price small { font-size: 14px; color: var(--gray); font-weight: 600; }
.price-desc { font-size: 13px; color: var(--gray); margin-bottom: 20px; }
.price-card .check-list { flex: 1; }
.price-card .btn { width: 100%; margin-top: 24px; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--primary); border-radius: 24px; padding: 56px 40px; text-align: center; }
.cta-band h2 { color: #fff; }
.cta-band p { color: var(--gray-light); margin: 12px auto 28px; max-width: 480px; }

/* ---------- Forms (contact) ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-grid .full { grid-column: 1 / -1; }
label { font-size: 13px; font-weight: 700; color: var(--primary); display: block; margin-bottom: 6px; }
input, textarea, select {
  width: 100%; padding: 13px 15px; border: 1.5px solid var(--border); border-radius: 12px;
  font-family: inherit; font-size: 14px; font-weight: 600; color: var(--charcoal);
  outline: none; transition: border-color 0.15s; background: #fff;
}
input:focus, textarea:focus { border-color: var(--accent); }

.card {
  background: #fff; border: 1px solid var(--border); border-radius: 20px; padding: 32px;
}

/* ---------- Footer ---------- */
.site-footer { background: var(--primary); color: var(--gray-light); padding: 56px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; }
.footer-grid h4 { color: #fff; font-size: 14px; margin-bottom: 14px; }
.footer-grid a { display: block; color: var(--gray-light); text-decoration: none; font-size: 13.5px; margin-bottom: 9px; font-weight: 600; }
.footer-grid a:hover { color: #fff; }
.footer-about p { font-size: 13.5px; max-width: 300px; margin-top: 12px; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12); margin-top: 44px; padding-top: 22px;
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 12.5px;
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero-grid, .split, .form-grid { grid-template-columns: 1fr; }
  .split.flip .split-media { order: -1; }
  .features-grid, .features-grid-3 { grid-template-columns: repeat(2, 1fr) !important; }
  .steps-grid, .pricing-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .media-frame.tall { aspect-ratio: 4 / 3; min-height: 260px; }

  .hamburger { display: block; }
  .nav-links {
    position: fixed; inset: 68px 0 auto 0; background: #fff; flex-direction: column;
    align-items: flex-start; padding: 20px 5%; gap: 18px; border-bottom: 1px solid var(--border);
    transform: translateY(-130%); transition: transform 0.25s ease; box-shadow: var(--shadow);
  }
  .nav-links.open { transform: translateY(0); }
  .nav-cta .btn-ghost { display: none; }
}

@media (max-width: 520px) {
  .features-grid, .features-grid-3 { grid-template-columns: 1fr !important; }
  section { padding: 52px 0; }
  .hero { padding: 44px 0 36px; }
  .cta-band { padding: 40px 22px; }
}

/* Prefer reduced motion: no autoplay video / ken burns */
@media (prefers-reduced-motion: reduce) {
  .hero-video { display: none !important; }
  .hero-fallback { opacity: 1 !important; }
  .hero-kenburns { animation: none !important; }
}
