/* ============================================================
   Recrutoman — enhancements (brand, animation, conversion)
   Loaded AFTER styles.css
   ============================================================ */

/* ---- brand color helpers (multicolor mark palette) ---- */
:root {
  --brand-red: #e8413c;
  --brand-purple: #6a2ca0;
  --brand-teal: #14a8a8;
  --brand-yellow: #ffe000;
  --brand-lime: #8cc63e;
  --brand-forest: #15803d;
  --accent-soft: rgba(140, 198, 62, 0.13);
  --accent-line: rgba(140, 198, 62, 0.36);
}

/* ============================================================
   ANIMATED BACKGROUND — floating multicolor shards
   ============================================================ */
.bg-fx { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.bg-fx .shard {
  position: absolute;
  width: 0; height: 0;
  opacity: 0.07;
  filter: blur(1px);
  animation: float-shard linear infinite;
  will-change: transform;
}
.bg-fx .blob {
  position: absolute; border-radius: 50%;
  filter: blur(60px); opacity: 0.10;
  animation: drift ease-in-out infinite alternate;
  will-change: transform;
}
@keyframes float-shard {
  0%   { transform: translateY(20vh) rotate(0deg); }
  100% { transform: translateY(-120vh) rotate(220deg); }
}
@keyframes drift {
  0%   { transform: translate(0,0) scale(1); }
  100% { transform: translate(40px,-30px) scale(1.18); }
}
@media (prefers-reduced-motion: reduce) {
  .bg-fx .shard, .bg-fx .blob { animation: none !important; }
}

/* ============================================================
   LOGO — image lockup
   ============================================================ */
.logo { gap: 12px; }
.logo-img { height: 34px; width: auto; display: block; filter: drop-shadow(0 4px 12px rgba(0,0,0,0.4)); transition: transform .3s cubic-bezier(.16,1,.3,1); }
.logo:hover .logo-img { transform: rotate(-6deg) scale(1.06); }
.logo-word { font-family: var(--font-display); font-weight: 700; font-size: 20px; letter-spacing: -0.02em; }
.logo-word .a { color: var(--brand-lime); }
.logo-word .b { color: var(--text); }
.footer-brand .logo-word { font-size: 22px; }

/* mark used as a section eyebrow accent */
.brand-tick { height: 18px; width: auto; vertical-align: -3px; margin-right: 4px; }

/* big faint brand watermark behind certain sections */
.brand-watermark {
  position: absolute; right: -60px; top: 50%; transform: translateY(-50%);
  height: 380px; opacity: 0.05; pointer-events: none; z-index: 0;
  filter: grayscale(0.1);
}

/* ============================================================
   LEAD-MAGNET banner / pill
   ============================================================ */
.leadmag {
  display: flex; align-items: center; gap: 14px;
  background: linear-gradient(100deg, rgba(140,198,62,0.12), rgba(31,157,82,0.06));
  border: 1px solid var(--accent-line); border-radius: 14px;
  padding: 14px 18px; margin: 30px 0 6px; max-width: 540px;
}
.leadmag .lm-ic {
  width: 42px; height: 42px; border-radius: 11px; flex-shrink: 0;
  background: var(--accent-grad); display: grid; place-items: center; color: #fff;
  box-shadow: 0 8px 22px -8px rgba(31,157,82,0.7);
}
.leadmag .lm-ic svg { width: 22px; height: 22px; }
.leadmag .lm-t { font-size: 13.5px; color: var(--text-2); line-height: 1.45; }
.leadmag .lm-t b { color: var(--text); font-weight: 700; }
.leadmag .lm-t .free { color: var(--brand-lime); font-weight: 700; }

/* ribbon line used to highlight benefits */
.benefit-strip { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.benefit-chip {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13.5px; font-weight: 600; color: var(--text-2);
  padding: 9px 14px; border-radius: 999px;
  background: rgba(255,255,255,0.03); border: 1px solid var(--line);
  transition: border-color .2s, transform .2s, background .2s;
}
.benefit-chip:hover { border-color: var(--accent-line); transform: translateY(-2px); background: var(--accent-soft); }
.benefit-chip svg { width: 15px; height: 15px; color: var(--brand-lime); }

/* ============================================================
   RICHER HOVER / INTERACTIVE
   ============================================================ */
.icon-box, .pain-card .pi, .feat-card .icon-box, .addon .ai {
  transition: transform .35s cubic-bezier(.16,1,.3,1), box-shadow .35s, background .25s, color .25s;
}
.feat-card:hover .icon-box { transform: translateY(-4px) rotate(-6deg) scale(1.08); box-shadow: 0 14px 28px -10px rgba(31,157,82,0.6); }
.pain-card:hover .pi { transform: rotate(6deg) scale(1.08); }
.card:hover .icon-box { transform: scale(1.08) rotate(5deg); }
.addon:hover .ai { transform: rotate(-8deg) scale(1.1); }
.addon { transition: border-color .25s, transform .25s, background .25s; }
.addon:hover { transform: translateY(-3px); border-color: var(--accent-line); background: var(--surface-2); }

/* cards get a soft glow sweep on hover */
.feat-card, .pain-card, .case-card, .price-card, .review-card { position: relative; overflow: hidden; }
.feat-card::after, .pain-card::after, .case-card::after, .review-card::after {
  content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: radial-gradient(380px 200px at var(--mx,50%) var(--my,0%), rgba(140,198,62,0.10), transparent 60%);
  opacity: 0; transition: opacity .3s;
}
.feat-card:hover::after, .pain-card:hover::after, .case-card:hover::after, .review-card:hover::after { opacity: 1; }

/* buttons get a subtle shine sweep */
.btn-primary { position: relative; overflow: hidden; }
.btn-primary::after {
  content: ''; position: absolute; top: 0; left: -120%; width: 60%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,0.28), transparent);
  transform: skewX(-18deg); transition: left .6s ease;
}
.btn-primary:hover::after { left: 140%; }

/* stat numbers count-up feel */
.stat-num, .case-salary .now, .offer-salary .new, .gap-item .gn { transition: transform .3s; }
.hero-stats > div:hover .stat-num { transform: scale(1.06); }

/* ============================================================
   REVIEWS / TESTIMONIALS
   ============================================================ */
.reviews-head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 18px; }
.rating-badge { display: flex; align-items: center; gap: 14px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 16px 20px; }
.rating-badge .stars { display: flex; gap: 3px; }
.rating-badge .stars svg { width: 18px; height: 18px; color: var(--brand-yellow); }
.rating-badge .rb-t b { font-family: var(--font-display); font-size: 20px; }
.rating-badge .rb-t span { display: block; font-size: 12.5px; color: var(--text-3); }

/* featured pinned review */
.review-featured {
  display: grid; grid-template-columns: auto 1fr; gap: 28px; align-items: center;
  background: linear-gradient(120deg, rgba(140,198,62,0.07), var(--surface) 45%);
  border: 1px solid var(--accent-line); border-radius: var(--radius-lg);
  padding: 34px; margin-bottom: 18px; position: relative; overflow: hidden;
}
.review-featured .rf-photo { width: 132px; height: 132px; border-radius: 18px; overflow: hidden; border: 1px solid var(--line-2); }
.review-featured .rf-quote { font-family: var(--font-display); font-size: clamp(19px,2vw,24px); font-weight: 500; line-height: 1.4; letter-spacing: -0.01em; text-wrap: pretty; }
.review-featured .rf-quote .hl { color: var(--brand-lime); }
.review-featured .rf-by { display: flex; align-items: center; gap: 12px; margin-top: 18px; flex-wrap: wrap; }
.review-featured .rf-by b { font-size: 15px; }
.review-featured .rf-by span { font-size: 13px; color: var(--text-3); }
.review-featured .rf-tag { font-family: var(--font-mono); font-size: 11.5px; color: var(--brand-lime); background: var(--accent-soft); border: 1px solid var(--accent-line); padding: 4px 10px; border-radius: 6px; }
.review-quote-mark { position: absolute; right: 24px; top: 6px; font-family: var(--font-display); font-size: 140px; line-height: 1; color: var(--accent-soft); pointer-events: none; }

/* masonry-ish grid of reviews */
.review-grid { columns: 3; column-gap: 18px; }
.review-card {
  break-inside: avoid; margin-bottom: 18px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; transition: border-color .25s, transform .25s;
}
.review-card:hover { border-color: var(--line-2); transform: translateY(-3px); }
.review-card .rc-stars { display: flex; gap: 2px; margin-bottom: 13px; }
.review-card .rc-stars svg { width: 15px; height: 15px; color: var(--brand-yellow); }
.review-card .rc-text { font-size: 14.5px; color: var(--text-2); line-height: 1.6; margin-bottom: 18px; text-wrap: pretty; }
.review-card .rc-text .hl { color: var(--brand-lime); font-weight: 600; }
.review-card .rc-by { display: flex; align-items: center; gap: 12px; }
.review-card .rc-by .av { width: 42px; height: 42px; border-radius: 50%; overflow: hidden; flex-shrink: 0; background: var(--surface-2); }
.review-card .rc-by .nm { font-weight: 700; font-size: 14px; }
.review-card .rc-by .rl { font-size: 12px; color: var(--text-3); }
.review-card .rc-src { margin-left: auto; font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.04em; color: var(--text-4); text-transform: uppercase; }

@media (max-width: 1080px) { .review-grid { columns: 2; } .review-featured { grid-template-columns: 1fr; } .review-featured .rf-photo { width: 96px; height: 96px; } }
@media (max-width: 680px) { .review-grid { columns: 1; } }

/* ============================================================
   FLOATING REQUEST BUTTON
   ============================================================ */
.float-cta {
  position: fixed; right: 22px; bottom: 22px; z-index: 60;
  display: flex; align-items: center; gap: 11px;
  padding: 14px 20px 14px 16px; border-radius: 999px;
  background: var(--accent-grad); color: #fff; font-weight: 700; font-size: 15px;
  box-shadow: 0 14px 36px -10px rgba(31,157,82,0.8), 0 1px 0 rgba(255,255,255,0.2) inset;
  transform: translateY(120px); opacity: 0;
  transition: transform .5s cubic-bezier(.16,1,.3,1), opacity .4s, box-shadow .3s;
  cursor: pointer;
}
.float-cta.show { transform: none; opacity: 1; }
.float-cta:hover { box-shadow: 0 20px 46px -10px rgba(31,157,82,0.95), 0 1px 0 rgba(255,255,255,0.25) inset; transform: translateY(-3px); }
.float-cta .fmark { width: 30px; height: 30px; border-radius: 50%; background: rgba(255,255,255,0.92); display: grid; place-items: center; flex-shrink: 0; }
.float-cta .fmark img { height: 22px; width: auto; max-width: 22px; object-fit: contain; }
.float-cta .pulse { position: absolute; right: 18px; top: 12px; width: 9px; height: 9px; border-radius: 50%; background: var(--brand-yellow); box-shadow: 0 0 0 0 rgba(255,224,0,0.7); animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(255,224,0,0.6);} 70% { box-shadow: 0 0 0 12px rgba(255,224,0,0);} 100% { box-shadow: 0 0 0 0 rgba(255,224,0,0);} }
@media (max-width: 540px) { .float-cta .fc-label { display: none; } .float-cta { padding: 14px; } }

/* ============================================================
   MODAL  (request form + lead magnet)
   ============================================================ */
.modal-backdrop {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(4,4,8,0.74); backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center; padding: 24px;
  opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s;
}
.modal-backdrop.open { opacity: 1; visibility: visible; }
.modal {
  width: 100%; max-width: 920px; background: var(--bg-1);
  border: 1px solid var(--line-2); border-radius: var(--radius-lg);
  display: grid; grid-template-columns: 1fr 1fr; overflow: hidden;
  transform: translateY(24px) scale(.98); transition: transform .4s cubic-bezier(.16,1,.3,1);
  max-height: 92vh;
}
.modal-backdrop.open .modal { transform: none; }
.modal-aside {
  background:
    radial-gradient(420px 280px at 20% 0%, rgba(140,198,62,0.16), transparent 70%),
    var(--bg-2);
  padding: 38px 34px; position: relative; overflow: hidden; display: flex; flex-direction: column;
  border-right: 1px solid var(--line);
}
.modal-aside .ma-logo { height: 30px; width: auto; max-width: 200px; object-fit: contain; object-position: left center; margin-bottom: 26px; }
.modal-aside h3 { font-family: var(--font-display); font-size: 25px; line-height: 1.12; letter-spacing: -0.02em; margin-bottom: 14px; }
.modal-aside h3 .hl { color: var(--brand-lime); }
.modal-aside .ma-sub { font-size: 14.5px; color: var(--text-2); line-height: 1.55; }
.modal-checklist { list-style: none; margin: 22px 0 0; display: flex; flex-direction: column; gap: 13px; }
.modal-checklist li { display: flex; gap: 11px; font-size: 14px; color: var(--text-2); }
.modal-checklist li svg { width: 18px; height: 18px; color: var(--brand-lime); flex-shrink: 0; margin-top: 1px; }
.modal-aside .ma-mark { position: absolute; right: -50px; bottom: -40px; height: 220px; opacity: 0.10; }
.modal-aside .ma-trust { margin-top: auto; padding-top: 22px; display: flex; align-items: center; gap: 10px; font-size: 12.5px; color: var(--text-3); }
.modal-aside .ma-trust .av-row { display: flex; }
.modal-aside .ma-trust .av-row span { width: 28px; height: 28px; border-radius: 50%; border: 2px solid var(--bg-2); margin-left: -8px; background: var(--surface-2); }

.modal-body { padding: 38px 34px; display: flex; flex-direction: column; overflow-y: auto; }
.modal-close { position: absolute; top: 16px; right: 16px; z-index: 2; width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,0.06); border: 1px solid var(--line); color: var(--text-2); display: grid; place-items: center; transition: all .2s; }
.modal-close:hover { background: rgba(255,255,255,0.12); color: #fff; transform: rotate(90deg); }
.modal-close svg { width: 18px; height: 18px; }
.modal-body .mb-eyebrow { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--brand-lime); margin-bottom: 10px; }
.modal-body h4 { font-family: var(--font-display); font-size: 22px; letter-spacing: -0.02em; margin-bottom: 6px; }
.modal-body .mb-sub { font-size: 14px; color: var(--text-3); margin-bottom: 22px; }
.field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 15px; }
.field label { font-size: 12.5px; color: var(--text-3); font-weight: 600; }
.field input, .field select {
  padding: 13px 15px; border-radius: 11px; background: var(--surface); border: 1px solid var(--line-2);
  color: var(--text); font-family: inherit; font-size: 15px; transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field select:focus { outline: none; border-color: var(--accent-line); box-shadow: 0 0 0 3px var(--accent-soft); }
.modal-body .btn-primary { width: 100%; margin-top: 6px; }
.modal-body .mb-fine { font-size: 11.5px; color: var(--text-4); margin-top: 13px; text-align: center; line-height: 1.5; }

/* success state */
.modal-success { display: none; flex-direction: column; align-items: center; text-align: center; justify-content: center; padding: 20px; height: 100%; }
.modal.done .modal-body form, .modal.done .modal-body .mb-eyebrow, .modal.done .modal-body h4, .modal.done .modal-body .mb-sub { display: none; }
.modal.done .modal-success { display: flex; }
.modal-success .ms-ic { width: 72px; height: 72px; border-radius: 50%; background: var(--green-soft); border: 1px solid rgba(74,222,128,0.3); color: var(--green); display: grid; place-items: center; margin-bottom: 20px; animation: pop .5s cubic-bezier(.16,1.4,.3,1); }
.modal-success .ms-ic svg { width: 34px; height: 34px; }
.modal-success h4 { font-family: var(--font-display); font-size: 23px; margin-bottom: 10px; }
.modal-success p { font-size: 14.5px; color: var(--text-2); max-width: 34ch; }
@keyframes pop { 0% { transform: scale(0);} 100% { transform: scale(1);} }

@media (max-width: 760px) {
  .modal { grid-template-columns: 1fr; max-width: 480px; }
  .modal-aside { display: none; }
}

/* ============================================================
   SCROLL / EXIT POPUP (compact toast-card)
   ============================================================ */
.popup {
  position: fixed; left: 22px; bottom: 22px; z-index: 70; width: 360px; max-width: calc(100vw - 44px);
  background: var(--bg-1); border: 1px solid var(--line-2); border-radius: 16px;
  box-shadow: 0 30px 70px -24px rgba(0,0,0,0.9); overflow: hidden;
  transform: translateY(140%); opacity: 0; transition: transform .55s cubic-bezier(.16,1,.3,1), opacity .4s;
}
.popup.show { transform: none; opacity: 1; }
.popup-banner { height: 6px; background: linear-gradient(90deg, var(--brand-red), var(--brand-purple), var(--brand-teal), var(--brand-yellow)); }
.popup-inner { padding: 20px 22px 22px; position: relative; }
.popup-close { position: absolute; top: 12px; right: 12px; width: 28px; height: 28px; border-radius: 50%; color: var(--text-3); display: grid; place-items: center; transition: all .2s; }
.popup-close:hover { background: rgba(255,255,255,0.08); color: #fff; }
.popup-close svg { width: 16px; height: 16px; }
.popup .pp-tag { display: inline-flex; align-items: center; gap: 7px; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--brand-lime); margin-bottom: 11px; }
.popup .pp-tag .gift { width: 16px; height: 16px; }
.popup h5 { font-family: var(--font-display); font-size: 18px; line-height: 1.2; letter-spacing: -0.01em; margin-bottom: 8px; }
.popup p { font-size: 13.5px; color: var(--text-3); line-height: 1.5; margin-bottom: 16px; }
.popup .btn { width: 100%; }

/* exit-intent uses the full modal styling but centered emphasis — reuse modal */

/* ============================================================
   PRICING FLAG fix — keep inside the card frame
   ============================================================ */
.price-flag {
  left: 50%; transform: translateX(-50%);
  font-size: 9.5px; letter-spacing: 0.06em; padding: 5px 12px;
  white-space: nowrap; max-width: calc(100% - 28px); text-align: center;
}
.price-card.feature { padding-top: 32px; }

/* ============================================================
   COMPANY LOGO STRIP — uniform vector lockups
   ============================================================ */
.logo-row { gap: 14px 30px; }
.logo-row .cl {
  display: inline-flex; align-items: center; gap: 9px;
  height: 30px; padding: 0 4px;
  color: #c4c4cf; opacity: 0.62;
  font-family: var(--font-display); font-weight: 600; font-size: 16.5px; letter-spacing: -0.015em;
  transition: opacity .25s, color .25s, transform .25s;
}
.logo-row .cl:hover { opacity: 1; color: #fff; transform: translateY(-2px); }
.logo-row .cl svg { width: 23px; height: 23px; flex-shrink: 0; }
.logo-row .cl .lw-sub { font-weight: 400; opacity: 0.7; }
@media (max-width: 720px) {
  .logo-row { gap: 16px 22px; }
  .logo-row .cl { font-size: 15px; }
}

/* ============================================================
   SUCCESS METER — scroll-driven progress beside the 5 steps
   ============================================================ */
.proc-layout { display: grid; grid-template-columns: 1fr 318px; gap: 54px; align-items: start; }
.proc-layout .proc { max-width: none; }

.success-meter {
  position: sticky; top: 104px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 28px 26px 24px; overflow: hidden;
}
.success-meter::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(320px 200px at 80% -10%, rgba(140,198,62,0.12), transparent 70%);
}
.sm-head { display: flex; align-items: center; gap: 12px; margin-bottom: 22px; position: relative; }
.sm-trophy {
  width: 46px; height: 46px; border-radius: 13px; flex-shrink: 0;
  background: var(--surface-2); border: 1px solid var(--line-2); color: var(--text-3);
  display: grid; place-items: center; transition: all .45s cubic-bezier(.16,1.3,.3,1);
}
.sm-trophy svg { width: 24px; height: 24px; }
.success-meter.complete .sm-trophy {
  background: var(--accent-grad); border-color: transparent; color: #fff;
  transform: scale(1.08) rotate(-4deg);
  box-shadow: 0 12px 30px -8px rgba(31,157,82,0.8);
}
.sm-head .sm-t { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-3); }
.sm-head .sm-t b { display: block; font-family: var(--font-display); font-size: 17px; letter-spacing: -0.01em; color: var(--text); text-transform: none; margin-top: 2px; }

.sm-pct { display: flex; align-items: baseline; gap: 8px; margin-bottom: 18px; }
.sm-pct .num { font-family: var(--font-display); font-size: 48px; font-weight: 600; letter-spacing: -0.03em; line-height: 1; background: linear-gradient(120deg,#fff,var(--brand-lime)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.sm-pct .lbl { font-size: 12.5px; color: var(--text-3); }

.sm-body { display: grid; grid-template-columns: 22px 1fr; gap: 0 16px; }
.sm-track { position: relative; width: 4px; justify-self: center; grid-row: 1 / -1; background: var(--line-2); border-radius: 4px; }
.sm-fill { position: absolute; top: 0; left: 0; right: 0; height: 0%; background: var(--accent-grad); border-radius: 4px; transition: height .25s ease-out; box-shadow: 0 0 14px -2px rgba(140,198,62,0.6); }
.sm-stops { display: flex; flex-direction: column; gap: 18px; }
.sm-stop { position: relative; padding-left: 2px; min-height: 26px; }
.sm-dot {
  position: absolute; left: -29px; top: 1px; width: 16px; height: 16px; border-radius: 50%;
  background: var(--surface-2); border: 2px solid var(--line-strong); transition: all .35s;
  display: grid; place-items: center;
}
.sm-dot svg { width: 9px; height: 9px; color: #fff; opacity: 0; transition: opacity .2s; }
.sm-stop.reached .sm-dot { background: var(--accent); border-color: var(--brand-lime); box-shadow: 0 0 0 4px var(--accent-soft); }
.sm-stop.reached .sm-dot svg { opacity: 1; }
.sm-stop .ss-t { font-size: 13.5px; font-weight: 600; color: var(--text-3); transition: color .3s; line-height: 1.3; }
.sm-stop.reached .ss-t { color: var(--text); }
.sm-stop .ss-s { font-size: 11.5px; color: var(--text-4); margin-top: 1px; }

@media (max-width: 1080px) {
  .proc-layout { grid-template-columns: 1fr; gap: 36px; }
  .success-meter { position: static; order: -1; }
}

.logo-row .wm .gl { background: none; width: 18px; height: 18px; opacity: 1; }
.logo-row .wm .gl img { width: 100%; height: 100%; object-fit: contain; }


/* ============================================================
   CLIENT LOGO CELLS — uniform drop slots for real logo files
   ============================================================ */
.logo-row { display: grid !important; grid-template-columns: repeat(5, 1fr); gap: 14px; align-items: stretch; }
.logo-cell {
  height: 62px; border: 1px solid var(--line); border-radius: 12px;
  background: rgba(255,255,255,0.025); padding: 10px 14px;
  display: flex; align-items: center; justify-content: center;
  transition: border-color .25s, background .25s, transform .25s;
}
.logo-cell:hover { border-color: var(--accent-line); background: var(--accent-soft); transform: translateY(-2px); }
.logo-cell image-slot { width: 100%; height: 100%; --slot-font-size: 13px; }
.logo-note { margin-top: 14px; font-size: 12px; color: var(--text-4); text-align: center; }
@media (max-width: 900px) { .logo-row { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .logo-row { grid-template-columns: repeat(2, 1fr); } .logo-cell { height: 54px; } }

/* ============================================================
   INDUSTRIES & GEOGRAPHY
   ============================================================ */
.ind-layout { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.ind-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.ind-chip {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 13.5px; font-weight: 600; color: var(--text-2);
  padding: 10px 15px; border-radius: 10px;
  background: var(--surface); border: 1px solid var(--line);
  transition: border-color .25s, transform .25s, color .25s, background .25s;
}
.ind-chip:hover { border-color: var(--accent-line); background: var(--accent-soft); color: var(--text); transform: translateY(-2px); }
.ind-chip svg { width: 17px; height: 17px; color: var(--brand-lime); flex-shrink: 0; }

.geo-panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px; position: relative; overflow: hidden; }
.geo-panel::before { content: ''; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(300px 200px at 90% 0%, rgba(140,198,62,0.12), transparent 70%); }
.geo-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; position: relative; }
.geo-stat .gv { font-family: var(--font-display); font-size: 36px; font-weight: 600; letter-spacing: -0.03em; line-height: 1; background: linear-gradient(120deg,#fff,var(--brand-lime)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.geo-stat .gl { font-size: 12.5px; color: var(--text-3); margin-top: 7px; line-height: 1.35; }
.geo-regions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--line); position: relative; }
.geo-regions span { font-family: var(--font-mono); font-size: 11.5px; color: var(--text-2); background: rgba(255,255,255,0.04); border: 1px solid var(--line); padding: 6px 11px; border-radius: 999px; }
@media (max-width: 960px) { .ind-layout { grid-template-columns: 1fr; gap: 34px; } }


/* ---- fixes: legible logo-cell names, nav breakpoint, no horizontal scroll ---- */
html, body { overflow-x: hidden; }
#reviews { overflow: hidden; }
.brand-watermark { right: 0; }

.logo-cell { position: relative; }
.logo-cell .lc-name {
  position: absolute; inset: 0; display: grid; place-items: center; z-index: 0;
  font-family: var(--font-display); font-weight: 600; font-size: 14.5px; letter-spacing: -0.01em;
  color: var(--text-2); text-align: center; padding: 0 8px; pointer-events: none;
  transition: color .25s;
}
.logo-cell:hover .lc-name { color: var(--text); }
.logo-cell image-slot { position: relative; z-index: 1; }
/* once a real logo is dropped, hide the fallback name */
.logo-cell image-slot[data-filled] { background: var(--bg-1); }
.logo-cell:has(image-slot[data-filled]) .lc-name { display: none; }

@media (max-width: 1080px) {
  .nav-links { display: none; }
  .nav-burger { display: flex; }
}
.nav-inner, .nav .wrap { gap: 20px; }
@media (max-width: 480px) {
  .nav-right .btn { display: none; }
}


/* ============================================================
   REAL LOGOS on dark ground — white plates, uniform sizing
   ============================================================ */
.logo-row { grid-template-columns: repeat(4, 1fr) !important; }
.logo-cell { height: 74px; background: #fff; border-color: rgba(255,255,255,0.14); padding: 14px 18px; }
.logo-cell img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; display: block; filter: saturate(0.95); transition: transform .3s cubic-bezier(.16,1,.3,1); }
.logo-cell:hover { background: #fff; border-color: var(--accent-line); }
.logo-cell:hover img { transform: scale(1.06); }
.logo-note { display: none; }
@media (max-width: 900px) { .logo-row { grid-template-columns: repeat(3, 1fr) !important; } }
@media (max-width: 560px) { .logo-row { grid-template-columns: repeat(2, 1fr) !important; } .logo-cell { height: 62px; padding: 11px 14px; } }

/* ---- real people photos ---- */
.hero-float .av, .case-person .av, .li-av, .review-card .rc-by .av { overflow: hidden; }
.hero-float .av img, .case-person .av img, .li-av img, .review-card .rc-by .av img,
.review-featured .rf-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.review-featured .rf-photo { background: var(--surface-2); }

/* ---- company logo inside review cards ---- */
.review-card .rc-src { margin-left: auto; display: flex; align-items: center; height: 24px; background: #fff; border-radius: 6px; padding: 4px 8px; }
.review-card .rc-src img { max-height: 16px; max-width: 76px; width: auto; object-fit: contain; display: block; }
.review-featured .rf-logo { display: inline-flex; align-items: center; background: #fff; border-radius: 7px; padding: 6px 11px; }
.review-featured .rf-logo img { max-height: 20px; max-width: 96px; width: auto; object-fit: contain; display: block; }


/* ============================================================
   FIXES — pricing flag clipping, green hover on price cards,
   logo-cell per-logo tuning
   ============================================================ */
/* the flag sat above the card edge and my overflow:hidden clipped it */
.price-card { overflow: visible; }
.price-card.feature { padding-top: 34px; }
.price-flag {
  top: 12px; left: 50%; transform: translateX(-50%);
  font-size: 10px; letter-spacing: 0.07em; padding: 5px 13px; border-radius: 999px;
  white-space: nowrap; box-shadow: 0 6px 18px -6px rgba(31,157,82,0.8);
}

/* green glow + lift on hover, same language as the feature cards */
.price-card::after {
  content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: radial-gradient(360px 200px at var(--mx,50%) var(--my,0%), rgba(140,198,62,0.13), transparent 62%);
  opacity: 0; transition: opacity .3s;
}
.price-card:hover::after { opacity: 1; }
.price-card:hover {
  border-color: var(--accent-line);
  box-shadow: 0 26px 60px -30px rgba(31,157,82,0.6);
}
.price-card.feature:hover {
  border-color: var(--brand-lime);
  box-shadow: 0 30px 70px -32px rgba(31,157,82,0.95);
}
.price-card:hover .price-flag { box-shadow: 0 8px 24px -6px rgba(140,198,62,1); }

/* --- logo cells: per-logo sizing so nothing looks cramped --- */
.logo-cell img { image-rendering: auto; filter: none; }
/* wide wordmarks (Kaspi) — let them run closer to the edges, bolder contrast */
.logo-cell.is-wide { padding: 12px 14px; }
.logo-cell.is-wide img { max-height: 40px; filter: contrast(1.12) saturate(1.05); }
/* square marks (T-Bank) — allow the full cell height */
.logo-cell.is-mark img { max-height: 100%; height: 100%; width: auto; }
/* Higgsfield ships on its own lime ground — let it fill the tile */
.logo-cell.full-bleed { padding: 0; overflow: hidden; background: #d4f224; }
.logo-cell.full-bleed img { width: 100%; height: 100%; max-width: none; max-height: none; object-fit: cover; }


/* ---- hero offer card: real company logo instead of the letter mark ---- */
.offer-logo.has-img { background: #fff; padding: 6px 8px; display: grid; place-items: center; overflow: hidden; }
.offer-logo.has-img img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; display: block; }

/* ---- Higgsfield in review cards: fill the plate, no white frame ---- */
.review-card .rc-src.full-bleed { padding: 0; overflow: hidden; background: #d4f224; height: 24px; }
.review-card .rc-src.full-bleed img { height: 100%; max-height: none; max-width: none; width: auto; object-fit: cover; }

/* ---- 3-way language toggle ---- */
.lang-toggle { flex-shrink: 0; }
.lang-toggle button { padding: 6px 9px; font-size: 12px; }
@media (max-width: 420px) { .lang-toggle button { padding: 5px 7px; font-size: 11px; } }


/* square figure-mark fills the 38px slot properly */
.offer-logo.has-img { padding: 3px; background: #fff; }
.offer-logo.has-img img { width: 100%; height: 100%; max-width: none; max-height: none; object-fit: contain; }


/* ============================================================
   CONTINUOUS BACKGROUND — shards visible through every block,
   soft green seams so section edges stop reading as hard cuts
   ============================================================ */
.bg-fx { z-index: 0; }
.bg-fx .shard { opacity: 0.085; }
.bg-fx .blob { opacity: 0.085; }

/* sections float above the fx layer but never paint over it */
section, header.hero, footer.footer { background: transparent; }

/* soften every block seam with a wide, very faint green band */
.section-pad::before, .section-pad-sm::before {
  content: ''; position: absolute; left: 0; right: 0; top: -1px; height: 220px;
  pointer-events: none; z-index: 0;
  background: radial-gradient(70% 220px at 50% 0%, rgba(140,198,62,0.055), transparent 72%);
}
.section-pad::after, .section-pad-sm::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 200px;
  pointer-events: none; z-index: 0;
  background: radial-gradient(70% 200px at 50% 100%, rgba(31,157,82,0.05), transparent 72%);
}
/* keep the final CTA glow but drop its hard top edge */
.final { background: radial-gradient(760px 420px at 50% 0%, rgba(31,157,82,0.22), transparent 72%) !important; }
.footer { background: radial-gradient(900px 300px at 50% 100%, rgba(31,157,82,0.10), transparent 70%) !important; }

/* ============================================================
   GLOBAL CURSOR SPOTLIGHT — the green glow follows the mouse
   everywhere on the page, not just inside cards
   ============================================================ */
.cursor-glow {
  position: fixed; top: 0; left: 0; width: 620px; height: 620px; z-index: 0;
  margin: -310px 0 0 -310px; pointer-events: none; opacity: 0;
  background: radial-gradient(circle, rgba(140,198,62,0.10), rgba(31,157,82,0.05) 42%, transparent 68%);
  transition: opacity .45s ease;
  will-change: transform;
}
.cursor-glow.on { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .cursor-glow { display: none; } }
@media (hover: none) { .cursor-glow { display: none; } }

/* ---- extend the per-block green hover glow to the rest of the page ---- */
.gap-item, .chart, .addon, .geo-panel, .success-meter, .faq-item, .proc-step .proc-body, .cmp-table { position: relative; }
.gap-item::after, .chart::after, .addon::after, .geo-panel::after, .faq-item::after {
  content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: radial-gradient(340px 190px at var(--mx,50%) var(--my,0%), rgba(140,198,62,0.11), transparent 62%);
  opacity: 0; transition: opacity .3s;
}
.gap-item:hover::after, .chart:hover::after, .addon:hover::after, .geo-panel:hover::after, .faq-item:hover::after { opacity: 1; }
.gap-item, .faq-item { transition: border-color .25s, transform .25s; }
.gap-item:hover, .faq-item:hover { border-color: var(--accent-line); }
.gap-item:hover { transform: translateY(-3px); }

/* the little green underline accents pick up the same colour everywhere */
.footer-social a:hover { border-color: var(--accent-line); color: var(--brand-lime); background: var(--accent-soft); }
.footer-col a:hover { color: var(--brand-lime); }
.geo-regions span { transition: border-color .25s, color .25s, background .25s; }
.geo-regions span:hover { border-color: var(--accent-line); color: var(--brand-lime); background: var(--accent-soft); }


/* ============================================================
   CALM BACKGROUND — the field just sits there and keeps you
   company while you scroll: a gentle sway in place, no travel,
   no scroll-linked motion (that read as "coming at you").
   ============================================================ */
.bg-fx { transform: none !important; }
.bg-fx .shard {
  animation-name: sway-shard !important;
  animation-timing-function: ease-in-out !important;
  animation-direction: alternate !important;
}
@keyframes sway-shard {
  0%   { transform: translate3d(0, 0, 0) rotate(0deg); }
  100% { transform: translate3d(14px, -22px, 0) rotate(16deg); }
}
.bg-fx .blob { animation-duration: 18s !important; }
@keyframes drift {
  0%   { transform: translate(0,0) scale(1); }
  100% { transform: translate(26px,-18px) scale(1.08); }
}


/* ============================================================
   FLOATING SHARDS — each one swims its own slow loop, so the
   field is alive without ever travelling at the viewer
   ============================================================ */
.bg-fx .shard {
  animation-name: swim-a !important;
  animation-direction: normal !important;
  animation-timing-function: cubic-bezier(.45,.05,.55,.95) !important;
}
.bg-fx .shard.s-b { animation-name: swim-b !important; }
.bg-fx .shard.s-c { animation-name: swim-c !important; }
.bg-fx .shard.s-d { animation-name: swim-d !important; }

@keyframes swim-a {
  0%   { transform: translate3d(0,0,0) rotate(0deg); }
  25%  { transform: translate3d(34px,-26px,0) rotate(38deg); }
  50%  { transform: translate3d(12px,-56px,0) rotate(96deg); }
  75%  { transform: translate3d(-26px,-24px,0) rotate(148deg); }
  100% { transform: translate3d(0,0,0) rotate(200deg); }
}
@keyframes swim-b {
  0%   { transform: translate3d(0,0,0) rotate(0deg); }
  25%  { transform: translate3d(-38px,-18px,0) rotate(-42deg); }
  50%  { transform: translate3d(-16px,-52px,0) rotate(-88deg); }
  75%  { transform: translate3d(30px,-30px,0) rotate(-140deg); }
  100% { transform: translate3d(0,0,0) rotate(-190deg); }
}
@keyframes swim-c {
  0%   { transform: translate3d(0,0,0) rotate(10deg); }
  33%  { transform: translate3d(46px,22px,0) rotate(70deg); }
  66%  { transform: translate3d(-22px,44px,0) rotate(150deg); }
  100% { transform: translate3d(0,0,0) rotate(220deg); }
}
@keyframes swim-d {
  0%   { transform: translate3d(0,0,0) rotate(-6deg); }
  33%  { transform: translate3d(-30px,34px,0) rotate(-74deg); }
  66%  { transform: translate3d(26px,52px,0) rotate(-132deg); }
  100% { transform: translate3d(0,0,0) rotate(-210deg); }
}

/* a soft breathing opacity so the field shimmers a little */
.bg-fx .shard { animation-composition: replace; }
.bg-fx .shard-wrap {
  position: absolute;
  animation: breathe ease-in-out infinite alternate;
  will-change: opacity;
}
@keyframes breathe { 0% { opacity: .55; } 100% { opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  .bg-fx .shard-wrap { animation: none !important; }
}


/* shard sits inside its wrapper now */
.bg-fx .shard { position: relative; left: auto !important; top: auto !important; }


/* ---- reviews CTA: breathing room above and below, comfortable tap target ---- */
.reviews-cta { display: flex; justify-content: center; margin: 46px 0 8px; }
.reviews-cta .btn { min-height: 54px; padding: 0 34px; display: inline-flex; align-items: center; }
@media (max-width: 560px) {
  .reviews-cta { margin: 34px 0 4px; }
  .reviews-cta .btn { width: 100%; justify-content: center; }
}
