/* ===========================================================================
   JobGantry — marketing site styles
   Modern SaaS / clean. Indigo accent, generous whitespace, rounded cards.
   =========================================================================== */

:root {
  --bg: #ffffff;
  --bg-soft: #f7f8fb;
  --bg-softer: #eef1f8;
  --ink: #0f1729;
  --ink-soft: #45506b;
  --ink-faint: #6b7690;
  --line: #e6e9f2;
  --line-soft: #eef1f7;
  --brand: #4f46e5;
  --brand-dark: #3f37c9;
  --brand-soft: #eef0ff;
  --accent: #0ea5e9;
  --ok: #16a34a;
  --warn: #f59e0b;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(16,24,40,.05), 0 1px 3px rgba(16,24,40,.06);
  --shadow: 0 10px 30px -12px rgba(31,41,80,.18);
  --shadow-lg: 0 30px 60px -20px rgba(31,41,80,.28);
  --maxw: 1140px;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-dark); }
img { max-width: 100%; display: block; }
h1, h2, h3, h4 { line-height: 1.15; color: var(--ink); margin: 0 0 .5em; letter-spacing: -.02em; }
h1 { font-size: clamp(2.1rem, 4.5vw, 3.4rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 800; }
h3 { font-size: 1.25rem; font-weight: 700; }
p { margin: 0 0 1rem; }
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  font-weight: 600; font-size: .95rem;
  padding: .72rem 1.25rem; border-radius: 999px;
  border: 1px solid transparent; cursor: pointer;
  transition: transform .12s ease, box-shadow .12s ease, background .12s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 8px 20px -8px rgba(79,70,229,.6); }
.btn-primary:hover { background: var(--brand-dark); color: #fff; }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: #cdd3e6; color: var(--ink); }
.btn-light { background: rgba(255,255,255,.14); color: #fff; border-color: rgba(255,255,255,.28); }
.btn-light:hover { background: rgba(255,255,255,.24); color: #fff; }
.btn-lg { padding: .9rem 1.6rem; font-size: 1.02rem; }

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.82);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line-soft);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.brand { display: flex; align-items: center; gap: .55rem; font-weight: 800; font-size: 1.22rem; color: var(--ink); letter-spacing: -.03em; }
.brand:hover { color: var(--ink); }
.brand .logo {
  width: 30px; height: 30px; border-radius: 9px;
  background: linear-gradient(135deg, var(--brand), var(--accent));
  display: grid; place-items: center; color: #fff; font-weight: 800; font-size: .95rem;
  box-shadow: 0 6px 14px -6px rgba(79,70,229,.7);
}
.brand .accent { color: var(--brand); }
.nav-links { display: flex; align-items: center; gap: 2rem; list-style: none; margin: 0; padding: 0; }
.nav-links a { color: var(--ink-soft); font-weight: 500; font-size: .96rem; }
.nav-links a:hover { color: var(--ink); }
.nav-links a.active { color: var(--ink); font-weight: 600; }
.nav-cta { display: flex; align-items: center; gap: .75rem; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--ink); margin: 4px 0; border-radius: 2px; transition: .2s; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: 84px 0 72px; background:
   radial-gradient(1100px 480px at 78% -10%, #eef0ff 0%, rgba(238,240,255,0) 60%),
   radial-gradient(900px 420px at 5% 0%, #e6f6ff 0%, rgba(230,246,255,0) 55%); }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  background: var(--brand-soft); color: var(--brand-dark);
  font-weight: 600; font-size: .82rem; padding: .35rem .8rem; border-radius: 999px;
  margin-bottom: 1.2rem; border: 1px solid #dfe2ff;
}
.hero p.lead { font-size: 1.18rem; color: var(--ink-soft); max-width: 36ch; }
.hero-actions { display: flex; gap: .85rem; margin-top: 1.6rem; flex-wrap: wrap; }
.hero-note { margin-top: 1.1rem; color: var(--ink-faint); font-size: .9rem; }

/* App mock card */
.mock {
  background: #fff; border: 1px solid var(--line); border-radius: 18px;
  box-shadow: var(--shadow-lg); overflow: hidden;
}
.mock-bar { display: flex; align-items: center; gap: 6px; padding: 12px 14px; background: var(--bg-soft); border-bottom: 1px solid var(--line); }
.mock-bar i { width: 11px; height: 11px; border-radius: 50%; background: #d6dae8; display: inline-block; }
.mock-bar i:nth-child(1){ background:#ff5f57;} .mock-bar i:nth-child(2){ background:#febc2e;} .mock-bar i:nth-child(3){ background:#28c840;}
.mock-body { padding: 18px; display: grid; gap: 14px; }
.mock-kpis { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; }
.kpi { background: var(--bg-soft); border: 1px solid var(--line-soft); border-radius: 12px; padding: 12px; }
.kpi small { color: var(--ink-faint); font-size: .72rem; text-transform: uppercase; letter-spacing: .04em; }
.kpi b { display: block; font-size: 1.3rem; margin-top: 4px; }
.kpi.up b { color: var(--ok); } .kpi .delta { font-size: .75rem; color: var(--ok); }
.mock-row { display: flex; align-items: center; justify-content: space-between; padding: 10px 12px; border: 1px solid var(--line-soft); border-radius: 10px; font-size: .85rem; }
.bar { height: 8px; border-radius: 6px; background: var(--bg-softer); overflow: hidden; }
.bar > span { display: block; height: 100%; background: linear-gradient(90deg,var(--brand),var(--accent)); }
.tag { font-size: .72rem; font-weight: 600; padding: .15rem .5rem; border-radius: 999px; }
.tag.green { background: #e7f7ee; color: var(--ok); }
.tag.amber { background: #fef3e2; color: #b45309; }

/* ---------- Logos / trust strip ---------- */
.trust { padding: 34px 0; border-bottom: 1px solid var(--line-soft); }
.trust p { text-align: center; color: var(--ink-faint); font-size: .82rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 1rem; }
.trust-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 2.4rem; opacity: .7; }
.trust-row span { font-weight: 800; color: var(--ink-faint); font-size: 1.05rem; letter-spacing: -.02em; }

/* ---------- Sections ---------- */
section { padding: 76px 0; }
.section-head { max-width: 640px; margin: 0 auto 48px; text-align: center; }
.section-head .eyebrow { margin-bottom: 1rem; }
.section-head p { color: var(--ink-soft); font-size: 1.08rem; }
.bg-soft { background: var(--bg-soft); }

/* Feature grid */
.grid { display: grid; gap: 24px; }
.grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; box-shadow: var(--shadow-sm); transition: transform .15s ease, box-shadow .15s ease, border-color .15s;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: #dfe3f1; }
.card .ico {
  width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center;
  background: var(--brand-soft); color: var(--brand); margin-bottom: 16px; font-size: 1.35rem;
}
.card h3 { margin-bottom: .35rem; }
.card p { color: var(--ink-soft); font-size: .96rem; margin: 0; }
.card .more { display: inline-block; margin-top: 14px; font-weight: 600; font-size: .9rem; }

/* Split feature rows */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split.rev .split-media { order: 2; }
.split h2 { margin-bottom: .6rem; }
.split p { color: var(--ink-soft); font-size: 1.05rem; }
.check-list { list-style: none; padding: 0; margin: 1.2rem 0 0; display: grid; gap: .7rem; }
.check-list li { display: flex; gap: .65rem; align-items: flex-start; color: var(--ink-soft); }
.check-list li::before { content: "✓"; color: var(--ok); font-weight: 800; background: #e7f7ee; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: .8rem; flex: none; margin-top: 2px; }
.panel {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 22px;
}

/* Stats band */
.stats { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; text-align: center; }
.stat b { display: block; font-size: clamp(2rem,4vw,2.8rem); font-weight: 800; color: var(--brand); letter-spacing: -.03em; }
.stat span { color: var(--ink-soft); font-size: .96rem; }

/* CTA band */
.cta-band { background: linear-gradient(135deg, var(--brand), #6d28d9); color: #fff; border-radius: 24px; padding: 56px; text-align: center; box-shadow: var(--shadow-lg); }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.86); font-size: 1.12rem; max-width: 50ch; margin: 0 auto 1.6rem; }
.cta-actions { display: flex; gap: .85rem; justify-content: center; flex-wrap: wrap; }

/* ---------- Page hero (interior) ---------- */
.page-hero { padding: 64px 0 18px; text-align: center; background:
   radial-gradient(900px 380px at 50% -20%, #eef0ff 0%, rgba(238,240,255,0) 60%); }
.page-hero .eyebrow { margin-bottom: 1rem; }
.page-hero p { color: var(--ink-soft); font-size: 1.12rem; max-width: 60ch; margin: 0 auto; }

/* ---------- Pricing ---------- */
.pricing { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; align-items: stretch; }
.price-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; display: flex; flex-direction: column; box-shadow: var(--shadow-sm); }
.price-card.featured { border-color: var(--brand); box-shadow: var(--shadow); position: relative; }
.price-card.featured::before { content: "Most popular"; position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--brand); color: #fff; font-size: .75rem; font-weight: 700; padding: .3rem .8rem; border-radius: 999px; }
.price-card h3 { font-size: 1.15rem; }
.price-card .price { font-size: 2.6rem; font-weight: 800; letter-spacing: -.03em; margin: .4rem 0 0; }
.price-card .price span { font-size: 1rem; font-weight: 500; color: var(--ink-faint); }
.price-card .desc { color: var(--ink-soft); font-size: .94rem; min-height: 42px; }
.price-card ul { list-style: none; padding: 0; margin: 1.2rem 0; display: grid; gap: .6rem; }
.price-card ul li { display: flex; gap: .55rem; color: var(--ink-soft); font-size: .94rem; }
.price-card ul li::before { content: "✓"; color: var(--ok); font-weight: 800; }
.price-card .btn { width: 100%; justify-content: center; margin-top: auto; }

/* ---------- Blog ---------- */
.post-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 28px; }
.post-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .15s, box-shadow .15s; display: flex; flex-direction: column; }
.post-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.post-thumb { aspect-ratio: 16/9; background: linear-gradient(135deg, var(--brand-soft), #e6f6ff); display: grid; place-items: center; color: var(--brand); font-size: 2rem; }
.post-thumb.v2 { background: linear-gradient(135deg,#fff1e6,#ffe9f0);} .post-thumb.v2{color:#db2777;}
.post-thumb.v3 { background: linear-gradient(135deg,#e7f7ee,#e6f6ff);} .post-thumb.v3{color:#0ea5e9;}
.post-thumb.v4 { background: linear-gradient(135deg,#f3e8ff,#eef0ff);} .post-thumb.v4{color:#7c3aed;}
.post-thumb.v5 { background: linear-gradient(135deg,#fef3c7,#fff1e6);} .post-thumb.v5{color:#d97706;}
.post-thumb.v6 { background: linear-gradient(135deg,#dbeafe,#e0f2fe);} .post-thumb.v6{color:#2563eb;}
.post-body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.post-meta { font-size: .8rem; color: var(--ink-faint); display: flex; gap: .6rem; align-items: center; margin-bottom: .6rem; }
.pill { background: var(--brand-soft); color: var(--brand-dark); font-weight: 600; font-size: .72rem; padding: .2rem .6rem; border-radius: 999px; }
.post-body h3 { font-size: 1.12rem; margin-bottom: .4rem; }
.post-body p { color: var(--ink-soft); font-size: .92rem; margin: 0 0 1rem; }
.post-body .more { margin-top: auto; font-weight: 600; font-size: .88rem; }

/* Article (single post / guide) */
.article { max-width: 760px; margin: 0 auto; }
.article .post-meta { justify-content: flex-start; margin-bottom: 1.4rem; }
.article h1 { margin-bottom: .6rem; }
.article .article-body { font-size: 1.05rem; color: var(--ink); }
.article .article-body h2 { font-size: 1.5rem; margin-top: 2rem; }
.article .article-body h3 { font-size: 1.2rem; margin-top: 1.5rem; }
.article .article-body p { color: var(--ink-soft); }
.article .article-body ul, .article .article-body ol { color: var(--ink-soft); padding-left: 1.3rem; }
.article .article-body li { margin-bottom: .4rem; }
.article blockquote { margin: 1.5rem 0; padding: 1rem 1.4rem; border-left: 4px solid var(--brand); background: var(--bg-soft); border-radius: 0 10px 10px 0; color: var(--ink-soft); font-style: italic; }
.article .lead { font-size: 1.2rem; color: var(--ink-soft); }
.callout { background: var(--brand-soft); border: 1px solid #dfe2ff; border-radius: 12px; padding: 16px 18px; margin: 1.5rem 0; font-size: .96rem; color: var(--ink-soft); }
.callout b { color: var(--ink); }

/* ---------- How-to / help center ---------- */
.help-search { max-width: 560px; margin: 1.6rem auto 0; position: relative; }
.help-search input { width: 100%; padding: .95rem 1.1rem .95rem 2.8rem; border: 1px solid var(--line); border-radius: 999px; font-size: 1rem; box-shadow: var(--shadow-sm); font-family: inherit; }
.help-search input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-soft); }
.help-search .mag { position: absolute; left: 1.1rem; top: 50%; transform: translateY(-50%); color: var(--ink-faint); }
.help-cat { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow-sm); transition: transform .15s, box-shadow .15s; }
.help-cat:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.help-cat .ico { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); margin-bottom: 14px; font-size: 1.35rem; }
.help-cat h3 { font-size: 1.1rem; }
.help-cat ul { list-style: none; padding: 0; margin: .8rem 0 0; display: grid; gap: .55rem; }
.help-cat ul li a { color: var(--ink-soft); font-size: .94rem; display: flex; gap: .4rem; }
.help-cat ul li a:hover { color: var(--brand); }

/* steps */
.steps { counter-reset: step; display: grid; gap: 1rem; margin: 1.4rem 0; }
.step { display: flex; gap: 1rem; align-items: flex-start; }
.step .n { counter-increment: step; flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--brand); color: #fff; font-weight: 700; display: grid; place-items: center; }
.step .n::before { content: counter(step); }
.step h4 { margin: 0 0 .2rem; font-size: 1.05rem; }
.step p { margin: 0; color: var(--ink-soft); font-size: .96rem; }

/* ---------- Integrations ---------- */
.int-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; }
.int-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; text-align: center; box-shadow: var(--shadow-sm); transition: transform .15s, box-shadow .15s; }
.int-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.int-card .logo-box { width: 54px; height: 54px; margin: 0 auto 12px; border-radius: 14px; display: grid; place-items: center; font-size: 1.5rem; background: var(--bg-soft); border: 1px solid var(--line-soft); }
.int-card h3 { font-size: 1rem; margin-bottom: .25rem; }
.int-card p { font-size: .85rem; color: var(--ink-faint); margin: 0; }

/* ---------- Security ---------- */
.sec-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.badge-row { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; margin-top: 1.5rem; }
.badge { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 14px 20px; font-weight: 700; color: var(--ink-soft); box-shadow: var(--shadow-sm); display: flex; align-items: center; gap: .6rem; }

/* ---------- Forms ---------- */
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow); }
.field { margin-bottom: 1.1rem; }
.field label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: .4rem; }
.field input, .field select, .field textarea {
  width: 100%; padding: .8rem 1rem; border: 1px solid var(--line); border-radius: var(--radius-sm);
  font-size: .98rem; font-family: inherit; background: #fff; color: var(--ink);
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-soft); }
.field textarea { min-height: 120px; resize: vertical; }
.form-2col { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1rem; }

/* ---------- FAQ ---------- */
.faq { max-width: 760px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 4px 20px; box-shadow: var(--shadow-sm); }
.faq summary { cursor: pointer; font-weight: 600; padding: 16px 0; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--brand); font-size: 1.4rem; font-weight: 400; }
.faq details[open] summary::after { content: "−"; }
.faq details p { color: var(--ink-soft); margin: 0 0 16px; }

/* ---------- Footer ---------- */
.site-footer { background: #0f1729; color: #aeb6cc; padding: 64px 0 32px; }
.site-footer a { color: #c7cde0; }
.site-footer a:hover { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr 1fr; gap: 32px; }
.footer-brand .brand { color: #fff; margin-bottom: .8rem; }
.footer-brand p { color: #8b93ad; font-size: .92rem; max-width: 30ch; }
.footer-col h4 { color: #fff; font-size: .82rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 1rem; }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .6rem; }
.footer-col ul li a { font-size: .92rem; }
.footer-bottom { border-top: 1px solid #1e2740; margin-top: 44px; padding-top: 24px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; color: #6b7490; font-size: .86rem; }

/* ---------- Utility ---------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.muted { color: var(--ink-faint); }
.breadcrumb { font-size: .88rem; color: var(--ink-faint); margin-bottom: 1.2rem; }
.breadcrumb a { color: var(--ink-faint); } .breadcrumb a:hover { color: var(--brand); }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero-grid, .split, .split.rev .split-media { grid-template-columns: 1fr; }
  .split.rev .split-media { order: 0; }
  .hero-grid .mock { max-width: 520px; }
  .grid.cols-3, .grid.cols-4, .post-grid, .pricing, .sec-grid, .int-grid, .stats { grid-template-columns: repeat(2,1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 720px) {
  .nav-links, .nav-cta .btn-ghost { display: none; }
  .nav-toggle { display: block; }
  .site-header.open .nav-links {
    display: flex; flex-direction: column; position: absolute; top: 70px; left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--line); padding: 16px 24px; gap: 1rem; box-shadow: var(--shadow);
  }
  .grid.cols-3, .grid.cols-4, .post-grid, .pricing, .sec-grid, .int-grid, .stats, .form-2col { grid-template-columns: 1fr; }
  .cta-band { padding: 40px 24px; }
  section { padding: 56px 0; }
}
