:root {
  --jf-blue: #3e97fc;
  --jf-blue-dark: #2478d8;
  --jf-navy: #153443;
  --jf-deep: #100f2f;
  --jf-muted: #55657a;
  --jf-soft: #f3f7fc;
}

.jf-page p { font-size: 1rem; color: var(--jf-muted); }
.jf-page h1, .jf-page h2 { font-weight: 800; letter-spacing: -.02em; color: var(--jf-navy); }
.jf-page h2 { font-size: 1.75rem; line-height: 1.3; }
.jf-page h3 { font-size: 1.1rem; font-weight: 700; line-height: 1.35; color: var(--jf-navy); }
.jf-page .jf-title { text-align: center; }
.jf-page .jf-gap { margin-top: 4rem; }
.jf-soft { background: var(--jf-soft); }
.jf-teal { color: #009d8d; }
.jf-sea { color: #5098aa; }
.jf-purple { color: #af52de; }

/* Hero */
.jf-hero {
  position: relative; display: flex; align-items: center; min-height: 520px; overflow: hidden;
  background: linear-gradient(135deg, #0b0a24, var(--jf-deep) 55%, #141047);
}
.jf-hero::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: linear-gradient(90deg, var(--jf-blue), #af52de, #00c2b0); }
.jf-orb { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .55; pointer-events: none; }
.jf-orb-a { width: 460px; height: 460px; right: -80px; top: -120px; background: #3e97fc; }
.jf-orb-b { width: 380px; height: 380px; left: -120px; bottom: -160px; background: #af52de; opacity: .35; }
.jf-hero .container { position: relative; z-index: 1; }
.jf-page .jf-hero h1 { color: #fff; font-size: clamp(2.3rem, 5.2vw, 3.6rem); line-height: 1.08; margin: 0 0 1.25rem; }
.jf-grad { background: linear-gradient(90deg, #5db0ff, #c58bff); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.jf-page .jf-hero p { color: #cfd6ea; font-size: 1.15rem; line-height: 1.65; max-width: 520px; margin-bottom: 2rem; }
.jf-frame { padding: 10px; border-radius: 26px; background: linear-gradient(135deg, rgba(255,255,255,.22), rgba(255,255,255,.05)); backdrop-filter: blur(10px); box-shadow: 0 30px 80px rgba(0,0,0,.55), 0 0 0 1px rgba(255,255,255,.12); }
.jf-hero-video { width: 100%; height: auto; display: block; border-radius: 18px; }

/* Buttons */
.jf-btn {
  display: inline-flex; align-items: center; justify-content: center; padding: .75rem 1.7rem; border: 0; border-radius: 999px;
  background: linear-gradient(135deg, #3e97fc, #6a6cff); color: #fff; font-weight: 700; font-size: .95rem; text-decoration: none; cursor: pointer;
  transition: filter .2s ease;
}
.jf-btn:hover { color: #fff; filter: brightness(1.08); }
.jf-btn-outline { padding: .5rem 1.2rem; background: transparent; color: var(--jf-blue-dark); font-size: .88rem; border: 2px solid rgba(62,151,252,.55); }
.jf-btn-outline:hover { background: linear-gradient(135deg, #3e97fc, #6a6cff); border-color: transparent; color: #fff; }

/* Cards */
.jf-card {
  position: relative; height: 100%; display: flex; flex-direction: column; align-items: flex-start; padding: 1.75rem 1.5rem; border-radius: 24px; background: #fff;
  box-shadow: 0 10px 34px rgba(21,52,67,.1); transition: transform .3s ease, box-shadow .3s ease;
}
.jf-card:hover { transform: translateY(-6px); box-shadow: 0 22px 50px rgba(62,151,252,.22); }
.jf-soft .jf-card { box-shadow: 0 10px 34px rgba(21,52,67,.08); }
.jf-page .jf-card h3 { margin-bottom: .55rem; font-size: 1.15rem; }
.jf-page .jf-card p { flex: 1; margin-bottom: 1.4rem; font-size: .95rem; line-height: 1.6; }
.jf-card-media { padding: 0; overflow: hidden; }
.jf-thumb { width: 100%; height: 200px; overflow: hidden; }
.jf-thumb img { width: 100%; height: 100%; object-fit: cover; object-position: top left; display: block; }
.jf-card-body { display: flex; flex-direction: column; align-items: flex-start; flex: 1; padding: 1.4rem 1.5rem 1.6rem; }
.jf-card-body p { flex: 1; }
.jf-page .jf-lead-title { font-size: clamp(1.7rem, 3.2vw, 2.3rem); margin-bottom: .85rem; }
.jf-page .jf-lead-title + p { margin-bottom: 1.75rem; font-size: 1.05rem; }
.jf-zoom { position: relative; cursor: zoom-in; }
.jf-zoom:focus-visible { outline: 3px solid var(--jf-blue); outline-offset: -3px; }
.jf-zoom-icon {
  position: absolute; right: .75rem; bottom: .75rem; width: 36px; height: 36px; display: flex; align-items: center; justify-content: center;
  border-radius: 50%; background: rgba(16,15,47,.8); color: #fff; font-size: .85rem; opacity: 0; transform: scale(.9); transition: opacity .2s ease, transform .2s ease; pointer-events: none;
}
.jf-zoom:hover .jf-zoom-icon, .jf-zoom:focus-visible .jf-zoom-icon { opacity: 1; transform: scale(1); }
@media (hover: none) { .jf-zoom-icon { opacity: 1; transform: none; } }
.jf-zoom-shot { border-radius: 22px; overflow: hidden; }
.jf-shot { width: 100%; height: auto; display: block; border-radius: 22px; box-shadow: 0 24px 60px rgba(21,52,67,.22); }

/* Lightbox */
.jf-lightbox .modal-dialog { max-width: min(1200px, 94vw); }
.jf-lightbox .modal-content { background: #0b0a24; border: 0; border-radius: 18px; overflow: hidden; box-shadow: 0 30px 80px rgba(0,0,0,.55); }
.jf-lightbox-bar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .75rem 1rem .75rem 1.25rem; }
.jf-lightbox-title { margin: 0; color: #fff; font-size: 1rem; font-weight: 600; }
.jf-lightbox-close { flex: none; width: 36px; height: 36px; border: 0; border-radius: 50%; background: rgba(255,255,255,.12); color: #fff; transition: background-color .2s ease; }
.jf-lightbox-close:hover { background: rgba(255,255,255,.25); }
.jf-lightbox-close:focus-visible { outline: 2px solid var(--jf-blue); outline-offset: 2px; }
.jf-lightbox-body { display: flex; align-items: center; justify-content: center; background: #000; }
.jf-lightbox-body img { display: block; max-width: 100%; max-height: 80vh; width: auto; height: auto; }
.modal-backdrop.show { --bs-backdrop-opacity: .8; backdrop-filter: blur(4px); }

/* CTA */
.jf-cta { position: relative; background: var(--jf-navy) url('/images/jamf/topo_background_hero.svg') center / cover no-repeat; }
.jf-cta::before { content: ''; position: absolute; inset: 0; background: radial-gradient(600px 300px at 15% 0, rgba(62,151,252,.3), transparent 65%); }
.jf-cta .container { position: relative; z-index: 1; }
.jf-page .jf-cta h2 { margin-bottom: 1.75rem; color: #fff; font-size: clamp(1.9rem, 3.8vw, 2.8rem); }
.jf-cta-img { width: 100%; height: auto; display: block; border-radius: 24px; box-shadow: 0 24px 60px rgba(0,0,0,.45); }

@media (prefers-reduced-motion: reduce) {
  .jf-btn, .jf-card, .jf-zoom-icon, .jf-lightbox-close { transition: none; }
}

/* Hero logo */
.jf-hero-logo {
  display: block;
  width: auto;
  height: 44px;
  margin: 0 0 1.5rem;
}

