:root {
  --brand-900: #082944;
  --brand-800: #0c3556;
  --brand-700: #12527d;
  --brand-500: #158bd1;
  --accent: #22a85f;
  --accent-soft: #dff8ea;
  --ink-900: #122337;
  --ink-700: #415971;
  --ink-500: #6f8298;
  --line: #d6e0ea;
  --panel: #f4f7fb;
  --white: #ffffff;
  --radius-lg: 18px;
  --radius-md: 12px;
  --shadow-soft: 0 10px 26px rgba(9, 35, 57, 0.08);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Manrope", "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-900);
  background:
    radial-gradient(circle at 10% -10%, rgba(21, 139, 209, 0.2), transparent 30%),
    radial-gradient(circle at 100% 0%, rgba(34, 168, 95, 0.12), transparent 28%),
    linear-gradient(180deg, #ecf2f7 0%, #dde5ef 100%);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

.content.layout-container {
  padding-bottom: 68px;
}

a {
  color: #0c61b3;
  text-underline-offset: 2px;
  transition: color 0.2s ease;
}

a:hover {
  color: #0a4f95;
}

.container {
  width: min(1180px, calc(100% - 1.5rem));
  margin: 1rem auto 1.4rem;
  padding: 1.1rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.7);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(4px);
  animation: fade-in-up 0.34s ease both;
}

@keyframes fade-in-up {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* NAV */
.navbar.navbar-custom {
  background: linear-gradient(110deg, var(--brand-900), var(--brand-800));
  color: var(--white);
  padding: 0.6rem 1rem;
  position: sticky;
  top: 0;
  z-index: 1040;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 10px 20px rgba(3, 21, 34, 0.24);
}

.navbar.navbar-custom .navbar-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--white);
  text-decoration: none;
}

.navbar.navbar-custom .navbar-brand img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.04);
}

.navbar.navbar-custom .navbar-brand .h5 {
  font-family: "Sora", "Manrope", sans-serif;
  font-weight: 700;
  letter-spacing: 0.2px;
}

.navbar.navbar-custom .navbar-toggler {
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 10px;
  color: var(--white);
}

.navbar.navbar-custom .navbar-toggler:focus {
  box-shadow: 0 0 0 3px rgba(21, 139, 209, 0.34);
}

.navbar.navbar-custom .navbar-collapse {
  justify-content: center;
}

.navbar.navbar-custom .navbar-nav {
  gap: 0.25rem;
}

.navbar.navbar-custom .nav-item {
  margin: 3px;
}

.navbar.navbar-custom .nav-item .btn {
  border-radius: 10px;
  border-color: rgba(255, 255, 255, 0.35);
  color: rgba(255, 255, 255, 0.96);
  background: rgba(255, 255, 255, 0.02);
  padding: 0.5rem 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1px;
  transition:
    transform 0.16s ease,
    background-color 0.18s ease,
    border-color 0.18s ease,
    box-shadow 0.18s ease;
}

.navbar.navbar-custom .nav-item .btn i {
  color: #1f8bff;
}

.navbar.navbar-custom .nav-item .btn:hover,
.navbar.navbar-custom .nav-item .btn:focus {
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, 0.58);
  background: rgba(255, 255, 255, 0.11);
  box-shadow: 0 8px 16px rgba(5, 19, 34, 0.22);
}

.navbar.navbar-custom .nav-item .btn.active {
  border-color: rgba(33, 159, 255, 0.85);
  background: linear-gradient(180deg, rgba(25, 132, 215, 0.25), rgba(13, 95, 166, 0.3));
  box-shadow: 0 10px 18px rgba(8, 24, 43, 0.28);
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0 0 0.75rem;
  color: #17436a;
  line-height: 1.2;
  font-family: "Sora", "Manrope", sans-serif;
}

h1 {
  font-size: clamp(1.5rem, 2vw, 2.2rem);
}

h2 {
  font-size: clamp(1.2rem, 1.7vw, 1.7rem);
}

p {
  color: var(--ink-900);
}

/* Cards, sections and blocks */
.card {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: 0 7px 18px rgba(22, 39, 60, 0.08);
  overflow: hidden;
}

.card .card-header {
  border-bottom: 1px solid var(--line);
}

.card .card-body {
  background: var(--white);
}

header.bg-light {
  border: 1px solid var(--line);
  background:
    linear-gradient(130deg, rgba(255, 255, 255, 0.9), rgba(236, 245, 252, 0.92)) !important;
}

.section-kicker {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  border: 1px solid #b8d8ef;
  background: #eef8ff;
  color: #0b649f;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.3px;
  text-transform: uppercase;
}

.hero-elegant {
  border: 1px solid #c7deef;
  border-radius: 16px;
  background: linear-gradient(145deg, #ffffff, #e8f4ff);
  padding: 1.2rem;
  box-shadow: 0 12px 24px rgba(15, 44, 73, 0.09);
}

.hero-elegant-sm {
  padding: 1rem;
}

.hero-title {
  font-size: clamp(1.45rem, 2.1vw, 2.2rem);
}

.hero-subtitle {
  max-width: 62ch;
  color: #35566f;
}

.hero-media-wrap {
  border: 1px solid #cde2f2;
  border-radius: 14px;
  padding: 0.5rem;
  background: #f7fbff;
}

.content-hero-mini {
  padding: 0.9rem 1rem;
  border-radius: 14px;
  background: linear-gradient(130deg, #f4f9ff, #e8f2fb);
  border: 1px solid #d0deec;
}

.content-card {
  border: 1px solid #d5e3ef;
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 8px 18px rgba(16, 37, 57, 0.07);
  padding: 1rem;
}

.content-card p:last-child {
  margin-bottom: 0;
}

.highlight-banner {
  border: 1px solid #c8e6ff;
  background: linear-gradient(130deg, #eef8ff, #f8fcff);
  border-radius: 12px;
  padding: 0.9rem;
}

.download-item {
  border: 1px solid #dbe8f2;
  border-radius: 12px !important;
  margin-bottom: 0.7rem;
  transition:
    transform 0.16s ease,
    box-shadow 0.16s ease,
    border-color 0.16s ease;
}

.download-item:hover {
  transform: translateY(-2px);
  border-color: #abd1ea;
  box-shadow: 0 10px 18px rgba(14, 43, 69, 0.12);
}

.badge-new {
  background: linear-gradient(90deg, #2aa95d, #31be7a);
  color: #ffffff;
}

.text-muted,
.small,
small {
  color: var(--ink-700) !important;
}

/* Lists */
ul {
  margin: 0 0 1rem;
  padding-left: 1.35rem;
  list-style: none;
}

.li {
  position: relative;
  margin-bottom: 0.62rem;
  padding-left: 1.1rem;
}

.li::before {
  content: "";
  position: absolute;
  top: 0.62rem;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand-500);
  box-shadow: 0 0 0 3px rgba(21, 139, 209, 0.18);
}

/* Forms and controls */
.form-control,
.form-select,
input,
textarea,
select {
  border-radius: 10px;
  border: 1px solid #c8d6e4;
  box-shadow: none;
}

.form-control:focus,
.form-select:focus,
input:focus,
textarea:focus,
select:focus {
  border-color: #4da7df;
  box-shadow: 0 0 0 3px rgba(77, 167, 223, 0.2);
}

/* Buttons */
.btn {
  border-radius: 10px;
  font-weight: 700;
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  border-color: #0b78bf;
  background: linear-gradient(180deg, #1f8ed5, #0f73b8);
}

.btn-success {
  border-color: #1a8f51;
  background: linear-gradient(180deg, #28af65, #1f8f52);
}

.btn-outline-primary {
  border-color: #2784c8;
  color: #0c62ad;
}

.btn-outline-primary:hover {
  background: #0e79c2;
  border-color: #0e79c2;
}

/* Alerts and badges */
.alert {
  border-radius: 10px;
  border-width: 1px;
}

.alert-info {
  background: #edf8ff;
  border-color: #bee5ff;
  color: #12466f;
}

.alert-success {
  background: var(--accent-soft);
  border-color: #b7edcd;
  color: #146d3e;
}

.badge {
  border-radius: 999px;
  padding: 0.48em 0.75em;
  font-weight: 700;
}

/* Tables */
.table {
  --bs-table-bg: transparent;
  border-color: #d3dee8;
}

.table > :not(caption) > * > * {
  padding: 0.8rem 0.75rem;
}

.table thead th {
  background: linear-gradient(180deg, #1b8dd6, #0f75c0);
  color: #fff;
  border-bottom: none;
  font-weight: 700;
}

.table tbody tr {
  background: rgba(255, 255, 255, 0.9);
}

.table tbody tr:nth-child(even) {
  background: rgba(244, 249, 255, 0.85);
}

.table tbody tr:hover {
  background: #eaf5ff;
}

/* Modals */
.modal-content {
  border: 1px solid #cad8e5;
  border-radius: 14px;
  box-shadow: 0 20px 40px rgba(6, 27, 45, 0.33);
}

.modal-header {
  border-bottom: 1px solid #d5e2ee;
  background: linear-gradient(110deg, #123a5c, #173f61);
  color: #fff;
}

.modal-header .btn-close {
  filter: invert(1);
  opacity: 0.92;
}

.modal-footer {
  border-top: 1px solid #d5e2ee;
}

/* Footer */
.footer.fixed-bottom {
  background: linear-gradient(110deg, #07253d, #0d3b5a) !important;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 -8px 18px rgba(8, 28, 46, 0.18);
}

.footer a {
  font-weight: 700;
}

/* Keep circular icon buttons if present */
.btn-pos,
.btn.btn-pos {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  overflow: hidden;
  background: transparent;
  border: none;
}

.btn-pos img,
.btn.btn-pos img {
  max-width: 100%;
  height: auto;
}

/* Custom blocks */
.fieldset {
  margin-bottom: 1.2rem;
  padding: 1rem;
  border: 1px solid #d2dfeb;
  border-radius: var(--radius-md);
  background: #f8fbff;
}

.legend {
  display: inline-block;
  padding: 0.15rem 0.7rem;
  border-radius: 999px;
  color: #0d5f9e;
  font-weight: 700;
  font-size: 0.96rem;
}

.ad-card {
  min-height: 130px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Responsive */
@media (max-width: 991.98px) {
  .container {
    width: calc(100% - 1rem);
    margin: 0.75rem auto 1rem;
    padding: 0.82rem;
    border-radius: 14px;
  }

  .navbar.navbar-custom .navbar-collapse {
    margin-top: 0.6rem;
    padding-top: 0.45rem;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
  }

  .navbar.navbar-custom .nav-item {
    margin: 0.2rem 0;
    width: 100%;
  }

  .navbar.navbar-custom .nav-item .btn {
    width: 100%;
    justify-content: flex-start;
  }

  .content.layout-container {
    padding-bottom: 78px;
  }

  .hero-elegant,
  .content-card {
    padding: 0.85rem;
  }
}

@media (max-width: 575.98px) {
  body {
    font-size: 15px;
  }

  .navbar.navbar-custom .navbar-brand img {
    width: 40px;
    height: 40px;
  }

  .navbar.navbar-custom .navbar-brand .h5 {
    font-size: 1.1rem;
  }

  .table > :not(caption) > * > * {
    padding: 0.6rem 0.52rem;
    font-size: 0.93rem;
  }

  .modal-dialog {
    margin: 0.55rem;
  }

  .footer.fixed-bottom small {
    font-size: 0.76rem;
  }
}

/* ── Apdesc Form page components ──────────────────────────────── */

/* ── Apdesc Form — af-* components ───────────────────────────── */

/* HERO */
.af-hero {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  background: linear-gradient(135deg, #061e33 0%, #0c3556 55%, #0f4a7a 100%);
  padding: 2.2rem 1.8rem;
  box-shadow: 0 18px 48px rgba(4, 18, 34, 0.35);
}

.af-hero__glow {
  position: absolute;
  top: -60px;
  right: -60px;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(21,139,209,0.22), transparent 70%);
  pointer-events: none;
}

.af-hero__inner {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
  position: relative;
}

.af-hero__text {
  flex: 1 1 300px;
  color: #fff;
}

.af-hero__title {
  font-family: "Sora", "Manrope", sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 0.6rem;
}

.af-hero__sub {
  color: rgba(255,255,255,0.75);
  font-size: 1.05rem;
  max-width: 50ch;
  margin-bottom: 1.2rem;
}

/* Stats row */
.af-stats {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 0.4rem;
}

.af-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1.1;
}

.af-stat__n {
  font-size: 1.35rem;
  font-weight: 800;
  color: #fff;
}

.af-stat__l {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.6);
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.af-stat__sep {
  width: 1px;
  height: 36px;
  background: rgba(255,255,255,0.18);
  margin: 0 0.4rem;
}

.af-dl-btn {
  font-size: 1rem;
  padding: 0.65rem 1.4rem;
  box-shadow: 0 6px 20px rgba(30,168,95,0.4);
}

/* Mockup frame */
.af-hero__mockup {
  flex: 1 1 260px;
  display: flex;
  justify-content: center;
}

.af-mockup {
  width: 100%;
  max-width: 460px;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 20px 50px rgba(0,0,0,0.45);
}

.af-mockup__titlebar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  background: #1a2c3d;
}

.af-mockup__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}

.af-mockup__dot--r { background: #ff5f57; }
.af-mockup__dot--y { background: #febc2e; }
.af-mockup__dot--g { background: #28c840; }

.af-mockup__name {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.45);
  margin-left: 6px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.af-mockup__img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

/* GALLERY */
.af-gallery {
  padding: 0;
  overflow: hidden;
}

.af-gallery__header {
  display: flex;
  align-items: center;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid #e4eff7;
  background: linear-gradient(130deg, #f4f9ff, #eaf3fb);
}

.af-gallery__counter {
  margin-left: auto;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--ink-500);
  background: #e0eef8;
  border-radius: 999px;
  padding: 0.15rem 0.6rem;
}

.af-gallery__stage {
  background: #0a1a27;
}

.af-gallery__frame {
  position: relative;
}

.af-win-bar {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 6px 12px;
  background: #162537;
}

.af-win-dot { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }
.af-win-dot--r { background: #ff5f57; }
.af-win-dot--y { background: #febc2e; }
.af-win-dot--g { background: #28c840; }

.af-win-lbl {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.45);
  margin-left: 6px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.af-stage-btn {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: none;
  background: #0b1d2d;
  cursor: zoom-in;
}

.af-stage-img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: opacity 0.18s ease;
}

.af-stage-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.2px;
  background: rgba(8, 30, 50, 0.52);
  opacity: 0;
  transition: opacity 0.2s;
  pointer-events: none;
}

.af-stage-btn:hover .af-stage-overlay { opacity: 1; }

.af-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(0,0,0,0.5);
  color: #fff;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.18s, background 0.18s;
  z-index: 2;
}

.af-gallery__frame:hover .af-arrow { opacity: 1; }
.af-arrow:hover { background: rgba(21,139,209,0.75); border-color: var(--brand-500); }
.af-arrow--l { left: 0.6rem; }
.af-arrow--r { right: 0.6rem; }

.af-gallery__desc {
  margin: 0;
  padding: 0.5rem 1rem;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
  background: #0d1f30;
  text-align: center;
  border-top: 1px solid rgba(255,255,255,0.07);
}

/* Thumbnail strip */
.af-thumbstrip {
  display: flex;
  gap: 6px;
  padding: 8px 10px;
  overflow-x: auto;
  border-top: 1px solid #e4eff7;
  background: #fafcff;
  scrollbar-width: thin;
  scrollbar-color: #c0d8ea transparent;
}

.af-tn {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 7px;
  overflow: visible;
  cursor: pointer;
  background: transparent;
  opacity: 0.55;
  transition: opacity 0.15s, border-color 0.15s, transform 0.15s;
}

.af-tn img {
  width: 64px;
  height: 42px;
  object-fit: cover;
  border-radius: 5px;
  display: block;
  border: 1px solid #d6e6f3;
}

.af-tn__lbl {
  font-size: 0.62rem;
  font-weight: 600;
  color: var(--ink-700);
  white-space: nowrap;
  overflow: hidden;
  max-width: 64px;
  text-overflow: ellipsis;
}

.af-tn:hover { opacity: 0.85; transform: translateY(-2px); }
.af-tn--on   { opacity: 1; border-color: var(--brand-500); }

/* Business grid */
.af-biz-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 0.75rem;
}

.af-biz {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.45rem;
  padding: 1rem 0.5rem 0.75rem;
  border-radius: 12px;
  border: 2px solid color-mix(in srgb, var(--bc) 30%, transparent);
  background: color-mix(in srgb, var(--bc) 8%, #fff);
  transition: transform 0.15s, box-shadow 0.15s;
  cursor: default;
}

.af-biz:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.af-biz__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.8rem;
  height: 2.8rem;
  border-radius: 50%;
  background: color-mix(in srgb, var(--bc) 15%, #fff);
  color: var(--bc);
  font-size: 1.25rem;
}

.af-biz__name {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--ink-900);
  text-align: center;
}

/* Feature tabs */
.af-tabs {
  display: flex;
  gap: 0.35rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
  padding: 4px;
  background: var(--panel);
  border-radius: 10px;
  border: 1px solid #dce9f4;
}

.af-tab {
  flex: 1 1 auto;
  padding: 0.4rem 0.8rem;
  border: none;
  border-radius: 8px;
  background: transparent;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--ink-700);
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
  white-space: nowrap;
}

.af-tab:hover    { background: rgba(21,139,209,0.1); color: var(--brand-500); }
.af-tab--on      { background: #fff; color: var(--brand-700); box-shadow: 0 2px 8px rgba(12,40,68,0.1); }

.af-panels { min-height: 180px; }

.af-panel        { display: none; }
.af-panel--on    { display: block; animation: fade-in-up 0.22s ease both; }

.af-flist {
  list-style: none;
  padding: 0;
  margin: 0;
}

.af-flist li {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.5rem 0;
  font-size: 0.93rem;
  border-bottom: 1px solid #edf3f8;
  color: var(--ink-900);
}

.af-flist li:last-child { border-bottom: none; }
.af-flist li i { font-size: 0.9rem; flex-shrink: 0; width: 1rem; text-align: center; }

/* Requirements */
.af-reqs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.af-req {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem;
  border-radius: 10px;
  border: 1px solid #d9eaf5;
  background: var(--panel);
}

.af-req__ico {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 50%;
  background: color-mix(in srgb, var(--ri) 14%, #fff);
  color: var(--ri);
  font-size: 1.1rem;
  flex-shrink: 0;
}

.af-req strong { font-size: 0.88rem; }
.af-req small  { font-size: 0.75rem; color: var(--ink-500); }

/* Lightbox */
.af-lb {
  background: #08182a;
  border: none;
  border-radius: 14px;
  overflow: hidden;
}

.af-lb__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.6rem 1rem;
  background: rgba(0,0,0,0.45);
}

.af-lb__title {
  font-size: 0.8rem;
  font-weight: 600;
  color: rgba(255,255,255,0.75);
}

.af-lb__stage {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #08182a;
  min-height: 180px;
}

.af-lb__img {
  max-width: 100%;
  max-height: 72vh;
  object-fit: contain;
  display: block;
  border-radius: 4px;
}

.af-lb__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(0,0,0,0.5);
  color: #fff;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.15s;
  z-index: 2;
}

.af-lb__nav:hover       { background: rgba(21,139,209,0.75); border-color: var(--brand-500); }
.af-lb__nav--l          { left: 0.6rem; }
.af-lb__nav--r          { right: 0.6rem; }

.af-lb__desc {
  margin: 0;
  padding: 0.5rem 1rem 0.7rem;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
  background: rgba(0,0,0,0.4);
  text-align: center;
}

/* Responsive af-* */
@media (max-width: 767.98px) {
  .af-hero { padding: 1.4rem 1rem; }
  .af-hero__title { font-size: 1.8rem; }
  .af-mockup { max-width: 100%; }
  .af-reqs { grid-template-columns: 1fr; }
  .af-biz-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 480px) {
  .af-biz-grid { grid-template-columns: repeat(2, 1fr); }
  .af-stat__sep { display: none; }
}
