/* =========================================================
   JOBBR TECH — corporate website
   Plain CSS. Colors, spacing and type live in :root below.
   ========================================================= */

:root {
  /* Color */
  --bg: #060B1B;
  --bg-2: #0A1230;
  --surface: #0E1938;
  --blue: #2563FF;
  --blue-bright: #438BFF;
  --violet: #7652FF;
  --violet-2: #A276FF;
  --text: #F5F7FF;
  --text-2: #AAB5D0;
  --text-3: #7F8BAA;
  --border: rgba(139, 166, 255, 0.16);
  --border-strong: rgba(139, 166, 255, 0.28);

  --grad: linear-gradient(100deg, var(--blue) 0%, var(--violet) 100%);
  --grad-text: linear-gradient(100deg, #5B9BFF 0%, var(--violet-2) 100%);

  /* Type */
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --fs-h1: clamp(2.6rem, 1.6rem + 3.6vw, 4.4rem);
  --fs-h2: clamp(2rem, 1.45rem + 2vw, 3.1rem);
  --fs-lead: clamp(1.06rem, 1rem + 0.3vw, 1.22rem);

  /* Layout */
  --container: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --section-y: clamp(48px, 2.5rem + 2.5vw, 88px);
  --radius: 14px;
  --radius-sm: 10px;
  --header-h: 72px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, h4 { margin: 0; line-height: 1.1; letter-spacing: -0.025em; font-weight: 700; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: inherit; }
svg { flex-shrink: 0; }

:focus-visible {
  outline: 2px solid var(--blue-bright);
  outline-offset: 3px;
  border-radius: 6px;
}

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 100;
  background: var(--text); color: var(--bg);
  padding: 10px 16px; border-radius: 8px; font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 12px; }

.section { padding-block: var(--section-y); }

.grad-text {
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lead, .body-lg { font-size: var(--fs-lead); color: var(--text-2); line-height: 1.65; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px;
  padding: 0 26px;
  border-radius: 10px;
  border: 1px solid transparent;
  font: 600 0.98rem/1 var(--font);
  text-decoration: none;
  white-space: nowrap;
  transition: background-color .2s, border-color .2s, box-shadow .2s, transform .2s, filter .2s;
}
.btn-sm { min-height: 42px; padding: 0 18px; font-size: 0.9rem; }

.btn-primary {
  background: var(--grad);
  color: #fff;
  box-shadow: 0 8px 28px -10px rgba(76, 90, 255, 0.75), inset 0 1px 0 rgba(255,255,255,0.18);
}
.btn-primary:hover { filter: brightness(1.12); box-shadow: 0 10px 34px -10px rgba(76, 90, 255, 0.95), inset 0 1px 0 rgba(255,255,255,0.22); }

.btn-ghost { border-color: var(--border-strong); color: var(--text); background: rgba(255,255,255,0.02); }
.btn-ghost:hover { border-color: rgba(139,166,255,0.55); background: rgba(139,166,255,0.08); }

.btn-light { background: var(--text); color: #0B1440; }
.btn-light:hover { background: #fff; box-shadow: 0 10px 30px -12px rgba(162, 118, 255, 0.8); }

.icon-arrow { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s; }
.btn:hover .icon-arrow { transform: translateX(3px); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}

/* ---------- Brand (logo mark + wordmark) ---------- */
.brand {
  display: inline-flex; align-items: center; gap: 8px;
  text-decoration: none;
}
.brand-logo { width: auto; height: 54px; }
.site-footer .brand-logo { height: 60px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(6, 11, 27, 0.78);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;   /* brand | centered nav | CTA */
  align-items: center; gap: 24px;
  min-height: var(--header-h);
}
.brand { justify-self: start; }
.header-cta { justify-self: end; }
.nav-desktop ul { display: flex; gap: 4px; }
.nav-desktop a {
  display: block; padding: 8px 12px; border-radius: 8px;
  font-size: 0.92rem; font-weight: 500; color: var(--text); text-decoration: none;
  transition: color .2s, background-color .2s;
}
.nav-desktop a:hover { color: #fff; background: rgba(139,166,255,0.10); }

/* Mobile menu (<details>) */
.nav-mobile { display: none; margin-left: auto; }
.nav-mobile summary {
  display: flex; align-items: center; gap: 10px;
  list-style: none; cursor: pointer;
  padding: 10px 14px; border: 1px solid var(--border-strong); border-radius: 10px;
  font-size: 0.9rem; font-weight: 600;
}
.nav-mobile summary::-webkit-details-marker { display: none; }
.burger, .burger::before, .burger::after {
  display: block; width: 16px; height: 1.6px; background: currentColor; border-radius: 2px;
  transition: transform .2s, background-color .2s;
}
.burger { position: relative; }
.burger::before, .burger::after { content: ""; position: absolute; left: 0; }
.burger::before { top: -5px; }
.burger::after { top: 5px; }
.nav-mobile[open] .burger { background: transparent; }
.nav-mobile[open] .burger::before { transform: translateY(5px) rotate(45deg); }
.nav-mobile[open] .burger::after { transform: translateY(-5px) rotate(-45deg); }

.nav-mobile nav {
  position: absolute; left: 0; right: 0; top: 100%;
  padding: 12px var(--gutter) 24px;
  background: var(--bg-2);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 30px 40px -20px rgba(0,0,0,0.6);
}
.nav-mobile nav ul { margin-bottom: 18px; }
.nav-mobile nav li + li { border-top: 1px solid var(--border); }
.nav-mobile nav ul a {
  display: block; padding: 14px 2px; text-decoration: none;
  font-size: 1.05rem; font-weight: 500;
}
.nav-mobile nav .btn { width: 100%; }

@media (max-width: 960px) {
  .header-inner { display: flex; }
  .nav-desktop, .header-cta { display: none; }
  .nav-mobile { display: block; }
  /* Header scrolls away on small screens, so an open menu never covers the section you jumped to */
  .site-header { position: relative; }
  html { scroll-padding-top: 16px; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(28px, 3.5vw, 56px) clamp(36px, 4vw, 64px);
  background:
    radial-gradient(60% 70% at 78% 45%, rgba(37, 99, 255, 0.20) 0%, rgba(118, 82, 255, 0.08) 40%, transparent 70%),
    radial-gradient(40% 40% at 0% 0%, rgba(37, 99, 255, 0.08), transparent 70%);
  border-bottom: 1px solid var(--border);
}
/* Fine grid texture fading towards the edges */
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(139,166,255,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(139,166,255,0.05) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(70% 80% at 70% 45%, #000 0%, transparent 75%);
  mask-image: radial-gradient(70% 80% at 70% 45%, #000 0%, transparent 75%);
}
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: center;
  gap: clamp(32px, 5vw, 72px);
}
.hero h1 {
  font-size: var(--fs-h1);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.02;
  max-width: 11ch;
}
.hero .lead { margin-top: 22px; max-width: 34rem; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }

.hero-visual {
  position: relative;
  aspect-ratio: 1 / 0.9;
  --mark-left: -20%;         /* shifts the mark left to leave room for the callout */
}

/* Glossy mark (glow is part of the image) */
.hero-mark-wrap {
  position: absolute; z-index: 2;
  left: var(--mark-left); top: -19.8%;
  width: 131.5%;             /* image includes a wide glow; the "j" itself fills ~86% of the height */
  pointer-events: none;
}
.hero-mark { width: 100%; height: auto; }

/* Light pooling on the "floor" beneath the mark */
.hero-floor {
  position: absolute; z-index: 1;
  left: calc(var(--mark-left) + 64%); bottom: 0;
  width: 72%; height: 18%;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(118, 82, 255, 0.24), rgba(37, 99, 255, 0.08) 55%, transparent);
  filter: blur(24px);
  pointer-events: none;
}

.orbit {
  position: absolute; left: 47%; top: 50%;
  border: 1px solid rgba(139, 166, 255, 0.20);
  border-radius: 50%;
  pointer-events: none;
}
.orbit-1 { width: 98%; aspect-ratio: 1.22; transform: translate(-50%, -50%) rotate(-12deg); }
.orbit-2 { width: 74%; aspect-ratio: 1.5; transform: translate(-50%, -46%) rotate(18deg); border-style: dashed; border-color: rgba(162, 118, 255, 0.16); }

.node {
  position: absolute; z-index: 1; width: 7px; height: 7px; border-radius: 50%;
  background: var(--blue-bright);
  box-shadow: 0 0 0 4px rgba(67, 139, 255, 0.14), 0 0 14px rgba(67, 139, 255, 0.7);
}
.node-1 { left: 3%; top: 56%; }
.node-2 { right: 10%; top: 80%; background: var(--violet-2); box-shadow: 0 0 0 4px rgba(162,118,255,0.14), 0 0 14px rgba(162,118,255,0.7); }
.node-3 { left: 34%; top: 5%; width: 5px; height: 5px; }

/* Callout: "AI / Real problems / Real people / Real impact" joined to the mark by a thin line */
.hero-callout {
  position: absolute; z-index: 3;
  left: 79%; top: 13%;
  line-height: 1.55;
}
.callout-key { font-size: 1.12rem; font-weight: 600; color: var(--text); margin-bottom: 2px; }
.hero-callout li { font-size: 1.02rem; color: #6FA2FF; white-space: nowrap; }
.callout-line {
  position: absolute;
  right: calc(100% + 10px); top: 13px;
  width: clamp(36px, 5vw, 60px); height: 1px;
  background: linear-gradient(90deg, rgba(139,166,255,0.15), rgba(139,166,255,0.6));
}
.callout-line::before {
  content: ""; position: absolute; left: -3px; top: -3px;
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--blue-bright);
  box-shadow: 0 0 10px rgba(67, 139, 255, 0.9);
}

/* ---------- About ---------- */
.about { background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%); }
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(40px, 7vw, 112px);
  align-items: start;
}
.about h2 { font-size: var(--fs-h2); max-width: 17ch; }
.about .body-lg { margin-top: 22px; max-width: 34rem; }
.about-meta {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 32px; padding-top: 20px;
  border-top: 1px solid var(--border);
  font-size: 0.9rem; color: var(--text-3);
}
.about-meta svg { width: 18px; height: 18px; fill: none; stroke: var(--blue-bright); stroke-width: 1.6; }

.principles { padding-top: 6px; }
.principles-title {
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--text-3);
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border-strong);
}
.principle {
  display: grid;
  grid-template-columns: 34px 44px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  padding: 28px 0;
  border-bottom: 1px solid var(--border);
}
.principle-num {
  font-size: 0.8rem; font-weight: 600; color: var(--text-3);
  font-variant-numeric: tabular-nums; padding-top: 12px;
}
.principle-icon {
  display: grid; place-items: center;
  width: 44px; height: 44px; border-radius: 12px;
  background: linear-gradient(145deg, rgba(37,99,255,0.18), rgba(118,82,255,0.10));
  border: 1px solid var(--border);
  color: var(--blue-bright);
}
.principle-icon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.principle h4 { font-size: 1.14rem; font-weight: 600; letter-spacing: -0.01em; line-height: 1.3; margin-top: 2px; }
.principle p { margin-top: 6px; color: var(--text-2); }

/* ---------- Product ---------- */
.product {
  position: relative;
  background:
    radial-gradient(50% 60% at 85% 50%, rgba(118, 82, 255, 0.13), transparent 70%),
    var(--bg-2);
  border-block: 1px solid var(--border);
}
.product-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}
.product h2 { font-size: var(--fs-h2); }
.product-title { margin-bottom: 0.3em; white-space: nowrap; }
/* Logo baseline (368/462 of its height) sits on the text baseline; ascenders match the cap height */
.jobbr-ai-logo { display: inline-block; height: 0.976em; width: auto; vertical-align: -0.199em; margin-left: 0.12em; }
.subhead { margin-top: 14px; font-size: clamp(1.15rem, 1rem + 0.5vw, 1.4rem); font-weight: 500; color: var(--text); letter-spacing: -0.01em; }
.product-copy > p:not(.subhead) { margin-top: 18px; color: var(--text-2); max-width: 36rem; }
.product-copy > .subhead + p { margin-top: 24px; }

.capabilities { margin: 28px 0 32px; display: grid; gap: 20px; max-width: 36rem; }
.capabilities li { display: flex; gap: 16px; color: var(--text-2); font-size: 0.97rem; }
.capabilities svg {
  width: 22px; height: 22px; margin-top: 2px;
  fill: none; stroke: var(--violet-2); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round;
}
.capabilities strong { display: block; color: var(--text); font-weight: 600; margin-bottom: 2px; }

/* Product screenshots: job board in a browser frame + floating "matching" card */
.product-visual {
  margin: 0; position: relative;
  padding-bottom: 13%;              /* room for the floating card to hang below the browser */
}
.product-visual::before {
  content: ""; position: absolute; inset: 8% -4% 0 10%;
  background: radial-gradient(closest-side, rgba(37, 99, 255, 0.30), transparent);
  filter: blur(30px); z-index: 0;
}
.browser {
  position: relative; z-index: 1;
  margin-left: 9%;
  border-radius: var(--radius);
  background: #0A1424;
  border: 1px solid var(--border-strong);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.7), inset 0 1px 0 rgba(255,255,255,0.06);
  overflow: hidden;
}
.browser-bar {
  display: flex; align-items: center; gap: 16px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--border);
  background: #0D1830;
}
.dots { display: flex; gap: 6px; }
.dots i { width: 10px; height: 10px; border-radius: 50%; background: rgba(170, 181, 208, 0.25); }
.url {
  flex: 1; max-width: 240px; margin-inline: auto;
  padding: 4px 12px; border-radius: 7px;
  background: rgba(139,166,255,0.08); border: 1px solid var(--border);
  font-size: 0.76rem; color: var(--text-2); text-align: center;
}
.browser-shot { width: 100%; height: auto; }

.float-card {
  position: absolute; z-index: 2;
  left: 0; bottom: 0;
  width: 44%;
}
.float-card img {
  width: 100%; height: auto;
  filter: drop-shadow(0 24px 40px rgba(0, 0, 0, 0.55)) drop-shadow(0 0 1px rgba(139, 166, 255, 0.5));
}

/* ---------- Approach ---------- */
.approach-head {
  display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px 40px;
  margin-bottom: clamp(28px, 3.5vw, 44px);
}
.approach h2 { font-size: var(--fs-h2); }

.values {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--border-strong);
}
.value {
  padding: 32px 28px 8px 0;
}
.value + .value { padding-left: 28px; border-left: 1px solid var(--border); }
.value svg {
  width: 28px; height: 28px;
  fill: none; stroke: var(--blue-bright); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round;
}
.value h3 { margin-top: 22px; font-size: 1.1rem; font-weight: 600; letter-spacing: -0.01em; line-height: 1.3; }
.value p { margin-top: 10px; color: var(--text-2); font-size: 0.97rem; }

/* ---------- Contact ---------- */
.contact { padding-top: 0; }
.contact-panel {
  position: relative; overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) auto;
  align-items: center;
  gap: 40px clamp(32px, 6vw, 96px);
  padding: clamp(28px, 4.5vw, 60px);
  border-radius: 22px;
  background:
    radial-gradient(70% 120% at 100% 0%, rgba(118, 82, 255, 0.35), transparent 60%),
    radial-gradient(60% 100% at 0% 100%, rgba(37, 99, 255, 0.28), transparent 60%),
    linear-gradient(135deg, #0D1A47 0%, #0B1235 100%);
  border: 1px solid var(--border-strong);
}
/* Decorative arcs echoing the mark's curve */
.contact-panel::before, .contact-panel::after {
  content: ""; position: absolute; border-radius: 50%; pointer-events: none;
  border: 1px solid rgba(162, 118, 255, 0.22);
}
.contact-panel::before { width: 520px; height: 520px; right: -160px; top: -300px; }
.contact-panel::after { width: 760px; height: 760px; right: -300px; top: -460px; border-color: rgba(67, 139, 255, 0.14); }
.contact-copy, .contact-action { position: relative; z-index: 1; }
.contact h2 { font-size: var(--fs-h2); }
.contact .body-lg { margin-top: 20px; max-width: 36rem; color: #C3CCE4; }
.contact-action { display: grid; justify-items: center; gap: 14px; }
.contact-email { font-size: 0.92rem; color: var(--text-2); text-decoration: none; border-bottom: 1px solid var(--border-strong); }
.contact-email:hover { color: var(--text); border-color: var(--text-2); }

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--border);
  padding-top: 40px;
  font-size: 0.9rem;
  color: var(--text-2);
}
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr));
  gap: 40px;
}
.footer-brand p { margin-top: 16px; max-width: 18rem; color: var(--text-3); }
.footer-heading {
  font-size: 0.74rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--text-3); margin-bottom: 16px;
}
.footer-nav ul { display: grid; gap: 10px; }
.footer-nav a { text-decoration: none; transition: color .2s; }
.footer-nav a:hover { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px;
  margin-top: 48px;
  padding-block: 24px 32px;
  border-top: 1px solid var(--border);
  font-size: 0.82rem; color: var(--text-3);
}

/* =========================================================
   Responsive
   ========================================================= */
@media (min-width: 961px) and (max-width: 1240px) {
  .hero-visual { --mark-left: -26%; }
  .hero-callout { left: 72%; }
}

@media (max-width: 1100px) {
  .values { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .value:nth-child(3) { padding-left: 0; border-left: 0; }
  .value:nth-child(n+3) { border-top: 1px solid var(--border); margin-top: 24px; }
}

@media (max-width: 960px) {
  .hero-grid, .about-grid, .product-grid { grid-template-columns: minmax(0, 1fr); }
  .hero h1 { max-width: 13ch; }
  .hero-visual { max-width: 560px; width: 100%; margin-inline: auto; }
  .product-visual { max-width: 620px; width: 100%; }
  .contact-panel { grid-template-columns: minmax(0, 1fr); }
  .contact-action { justify-items: start; }
  .footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 600px) {
  :root { --header-h: 64px; }
  .brand-logo { height: 44px; }
  .actions .btn { flex: 1 1 auto; }
  .hero-visual { --mark-left: -32%; }
  .hero-callout { left: 64%; top: 11%; }
  .callout-key { font-size: 1rem; }
  .hero-callout li { font-size: 0.9rem; }
  .callout-line { width: 22px; }
  .principle { grid-template-columns: 44px minmax(0, 1fr); }
  .principle-num { display: none; }
  .browser { margin-left: 6%; }
  .float-card { width: 52%; }
  .product-visual { padding-bottom: 20%; }
  .values { grid-template-columns: minmax(0, 1fr); }
  .value, .value + .value { padding: 28px 0 4px; border-left: 0; margin-top: 0; }
  .value + .value { border-top: 1px solid var(--border); margin-top: 20px; }
  .contact-panel { border-radius: 18px; }
  .contact-action, .contact-action .btn { width: 100%; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 24px; }
  .footer-bottom { flex-direction: column; }
}
