/* JobPark landing page — visual language matched to the JobPark platform
   (see apps/web/app/globals.css and docs/ui-guidelines.md in the jPark repo) */

:root {
  --bg: #f7f5fc;
  --surface: #ffffff;
  --surface-soft: #fbfafe;
  --border: #e7e3f3;
  --text: #1f2233;
  --muted: #6b7082;
  --primary: #7878ab;
  --primary-strong: #5f5f96;
  --primary-soft: #f1effb;
  --success: #27ae60;
  --danger: #e74c3c;
  --info: #3498db;
  --warning: #f2c94c;
  --shadow: 0 18px 48px rgba(62, 52, 112, 0.08);
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --font-sans: "Segoe UI", "Helvetica Neue", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: linear-gradient(180deg, #faf8ff 0%, #f5f2fb 100%);
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-sans);
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(120, 120, 171, 0.12), transparent 32%),
    linear-gradient(180deg, #fbfaff 0%, #f5f2fb 100%);
}

a {
  color: inherit;
  text-decoration: none;
}

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

h1, h2, h3 {
  line-height: 1.15;
  margin: 0;
}

p {
  margin: 0;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

button {
  font: inherit;
}

.lp-container {
  width: min(1160px, 100% - 48px);
  margin: 0 auto;
}

.lp-muted {
  color: var(--muted);
}

/* ---- shared card (matches jp-card in the platform) ---- */
.jp-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow);
}

/* ---- language switcher (matches jp-lang-switcher) ---- */
.jp-lang-switcher {
  display: flex;
  align-items: center;
  gap: 2px;
  background: var(--primary-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 3px;
}

.jp-lang-btn {
  padding: 5px 10px;
  border-radius: 9px;
  border: none;
  background: transparent;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
  line-height: 1;
}

.jp-lang-btn:hover {
  color: var(--primary);
}

.jp-lang-btn.is-active {
  background: var(--primary);
  color: #fff;
}

/* ---- buttons ---- */
.lp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border-radius: 11px;
  border: 1px solid transparent;
  font-weight: 600;
  font-size: 13px;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, color 0.15s, transform 0.15s;
  white-space: nowrap;
}

.lp-btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: var(--shadow);
}

.lp-btn-primary:hover {
  background: var(--primary-strong);
  transform: translateY(-1px);
}

.lp-btn-ghost {
  background: white;
  border-color: var(--border);
  color: var(--primary-strong);
}

.lp-btn-ghost:hover {
  background: var(--primary-soft);
  border-color: var(--primary);
}

.lp-btn-white {
  background: white;
  color: var(--primary-strong);
}

.lp-btn-white:hover {
  background: var(--primary-soft);
  transform: translateY(-1px);
}

.lp-btn-lg {
  padding: 14px 26px;
  font-size: 14px;
  border-radius: 13px;
}

/* ---- header ---- */
.lp-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.lp-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px 0;
}

.lp-brand-img {
  height: 30px;
  width: auto;
}

.lp-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 14px;
  font-weight: 500;
  color: #3a3f52;
}

.lp-nav a {
  transition: color 0.15s;
}

.lp-nav a:hover {
  color: var(--primary-strong);
}

.lp-header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.lp-burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  width: 34px;
  height: 34px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: white;
  cursor: pointer;
  padding: 0;
}

.lp-burger span {
  display: block;
  height: 2px;
  margin: 0 7px;
  background: var(--text);
  border-radius: 2px;
}

/* ---- hero ---- */
.lp-hero {
  padding: 72px 0 40px;
  overflow: hidden;
}

.lp-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.95fr);
  gap: 48px;
  align-items: center;
}

.lp-pill {
  display: inline-flex;
  padding: 7px 14px;
  border-radius: 999px;
  background: var(--primary-soft);
  color: var(--primary-strong);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 18px;
}

.lp-hero-copy h1 {
  font-size: 46px;
  letter-spacing: -0.5px;
  color: #33324f;
}

.lp-pre-line {
  white-space: pre-line;
}

.lp-hero-sub {
  margin-top: 20px;
  font-size: 17px;
  line-height: 1.65;
  color: var(--muted);
  max-width: 520px;
}

.lp-hero-ctas {
  display: flex;
  gap: 14px;
  margin-top: 32px;
  flex-wrap: wrap;
}

.lp-hero-visual {
  position: relative;
}

.lp-blob {
  position: absolute;
  inset: -40px -40px auto auto;
  width: 260px;
  height: 260px;
  background: radial-gradient(circle, rgba(120, 120, 171, 0.35), transparent 70%);
  z-index: -1;
  filter: blur(10px);
}

.lp-mock {
  padding: 20px;
  position: relative;
  z-index: 1;
  transform: rotate(-1deg);
}

.lp-mock-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.lp-mock-head strong {
  display: block;
  font-size: 17px;
}

.lp-mock-head span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  margin-top: 2px;
}

.lp-mock-dots {
  display: flex;
  gap: 5px;
}

.lp-mock-dots i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border);
  display: block;
}

.lp-mock-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 18px;
}

.lp-mock-stat {
  padding: 14px 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.6);
}

.lp-mock-icon {
  display: block;
  width: 22px;
  height: 22px;
  border-radius: 8px;
  margin-bottom: 10px;
}

.lp-mock-icon-primary { background: rgba(120, 120, 171, 0.25); }
.lp-mock-icon-success { background: rgba(39, 174, 96, 0.2); }
.lp-mock-icon-warning { background: rgba(242, 201, 76, 0.28); }

.lp-mock-stat strong {
  display: block;
  font-size: 22px;
}

.lp-mock-stat p {
  margin-top: 4px;
  font-size: 11px;
  color: var(--muted);
}

.lp-mock-chart {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  align-items: end;
  gap: 8px;
  height: 110px;
  padding: 10px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.5);
}

.lp-mock-chart span {
  display: block;
  border-radius: 6px 6px 2px 2px;
  background: linear-gradient(180deg, #8d8dc0 0%, #6a69a0 100%);
}

/* ---- highlight strip ---- */
.lp-strip {
  padding: 8px 0 56px;
}

.lp-strip-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.lp-strip-item {
  text-align: center;
  padding: 18px 10px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.6);
}

.lp-strip-item strong {
  display: block;
  font-size: 30px;
  color: var(--primary-strong);
}

.lp-strip-item span {
  display: block;
  margin-top: 6px;
  font-size: 13px;
  color: var(--muted);
}

/* ---- sections ---- */
.lp-section {
  padding: 76px 0;
}

.lp-section-alt {
  background: rgba(241, 239, 251, 0.5);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.lp-section-head {
  max-width: 620px;
  margin: 0 auto 48px;
  text-align: center;
}

.lp-eyebrow {
  display: inline-block;
  color: var(--primary-strong);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.lp-section-head h2 {
  font-size: 32px;
  color: #33324f;
}

.lp-section-head p {
  margin-top: 14px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.6;
}

/* ---- features grid ---- */
.lp-features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.lp-feature-card {
  padding: 26px 24px;
  transition: box-shadow 0.2s, border-color 0.2s, transform 0.2s;
}

.lp-feature-card:hover {
  border-color: var(--primary);
  box-shadow: 0 12px 32px rgba(120, 120, 171, 0.16);
  transform: translateY(-3px);
}

.lp-feature-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 13px;
  background: var(--primary-soft);
  color: var(--primary-strong);
  margin-bottom: 16px;
}

.lp-feature-icon svg {
  width: 22px;
  height: 22px;
}

.lp-feature-card h3 {
  font-size: 17px;
  margin-bottom: 8px;
}

.lp-feature-card p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

/* ---- who it's for ---- */
.lp-who-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.lp-who-card {
  padding: 32px;
}

.lp-who-card h3 {
  font-size: 20px;
}

.lp-who-card > p {
  margin-top: 6px;
  margin-bottom: 20px;
}

.lp-check-list {
  display: grid;
  gap: 12px;
}

.lp-check-list li {
  position: relative;
  padding-left: 28px;
  font-size: 14px;
  color: #3a3f52;
  line-height: 1.5;
}

.lp-check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--primary-soft);
  box-shadow: inset 0 0 0 1px var(--border);
}

.lp-check-list li::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 8px;
  width: 8px;
  height: 4px;
  border-left: 2px solid var(--primary-strong);
  border-bottom: 2px solid var(--primary-strong);
  transform: rotate(-45deg);
}

/* ---- steps ---- */
.lp-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.lp-step {
  padding: 24px 20px;
  border-radius: var(--radius-md);
  border: 1px dashed var(--border);
  background: rgba(255, 255, 255, 0.5);
}

.lp-step-num {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--primary);
  color: white;
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 16px;
}

.lp-step h3 {
  font-size: 16px;
  margin-bottom: 8px;
}

.lp-step p {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.55;
}

/* ---- cta banner ---- */
.lp-cta {
  margin: 0 24px;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.18), transparent 45%),
    linear-gradient(135deg, #7878ab 0%, #5f5f96 100%);
  color: white;
}

.lp-cta-inner {
  padding: 64px 24px;
  text-align: center;
  max-width: 640px;
}

.lp-cta h2 {
  font-size: 30px;
}

.lp-cta p {
  margin-top: 14px;
  font-size: 16px;
  opacity: 0.9;
  line-height: 1.6;
}

.lp-cta .lp-btn {
  margin-top: 28px;
}

/* ---- contact ---- */
.lp-contact {
  max-width: 560px;
  text-align: center;
}

.lp-contact h2 {
  font-size: 30px;
  margin-top: 8px;
}

.lp-contact p {
  margin-top: 14px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.6;
}

.lp-contact .lp-btn {
  margin-top: 26px;
}

/* ---- footer ---- */
.lp-footer {
  border-top: 1px solid var(--border);
  padding-top: 48px;
  background: rgba(255, 255, 255, 0.5);
}

.lp-footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 32px;
}

.lp-footer-brand p {
  margin-top: 14px;
  color: var(--muted);
  font-size: 14px;
  max-width: 280px;
  line-height: 1.6;
}

.lp-footer-col {
  display: grid;
  gap: 12px;
  align-content: start;
  font-size: 14px;
}

.lp-footer-col strong {
  font-size: 13px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}

.lp-footer-col a {
  color: #3a3f52;
  transition: color 0.15s;
}

.lp-footer-col a:hover {
  color: var(--primary-strong);
}

.lp-footer-bottom {
  border-top: 1px solid var(--border);
  padding: 20px 24px;
  color: var(--muted);
  font-size: 13px;
}

/* ---- responsive ---- */
@media (max-width: 980px) {
  .lp-hero-inner {
    grid-template-columns: 1fr;
  }

  .lp-hero-copy {
    text-align: center;
  }

  .lp-hero-sub {
    margin-left: auto;
    margin-right: auto;
  }

  .lp-hero-ctas {
    justify-content: center;
  }

  .lp-mock {
    max-width: 460px;
    margin: 0 auto;
  }

  .lp-features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .lp-steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .lp-footer-inner {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 760px) {
  .lp-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 12px;
    background: white;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow);
    display: none;
  }

  .lp-nav.is-open {
    display: flex;
  }

  .lp-nav a {
    width: 100%;
    padding: 10px 8px;
    border-radius: 10px;
  }

  .lp-nav a:hover {
    background: var(--primary-soft);
  }

  .lp-burger {
    display: flex;
  }

  .lp-hide-mobile {
    display: none;
  }

  .lp-hero {
    padding: 44px 0 24px;
  }

  .lp-hero-copy h1 {
    font-size: 32px;
  }

  .lp-strip-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .lp-features-grid,
  .lp-who-grid,
  .lp-steps {
    grid-template-columns: 1fr;
  }

  .lp-section {
    padding: 52px 0;
  }

  .lp-section-head h2 {
    font-size: 26px;
  }

  .lp-footer-inner {
    grid-template-columns: 1fr;
  }
}