/* ═══════════════════════════════════════════════════════════════
   POGO shared form-modal styles

   Used by the book-a-demo modal and the contact-us modal — both
   defined in /forms-modals.js and injected by it on every page
   that includes the script. The homepage video gate also depends
   on the .vgf-* form-field classes from this file.
   ═══════════════════════════════════════════════════════════════ */

/* Generic form-field styling. Originally "video gate form" (vgf)
   — the classes are presentational and reused across all three
   modals (video, demo, contact). */
.vgf-fields { display: flex; flex-direction: column; gap: 12px; }
.vgf-row { display: flex; flex-direction: column; gap: 6px; }
.vgf-label {
  font-family: var(--font-b, 'Satoshi', sans-serif);
  font-size: 12px; font-weight: 600; color: var(--ink-70, rgba(13,26,21,0.7));
  letter-spacing: 0.005em;
}
.vgf-label-required::after { content: " *"; color: var(--orange, #e8742a); font-weight: 700; }
.vgf-input, .vgf-select {
  width: 100%; padding: 11px 14px; border-radius: 9px;
  border: 1px solid rgba(13,26,21,0.12); background: var(--white, #fff);
  font-family: var(--font-b, 'Satoshi', sans-serif); font-size: 14px; color: var(--ink, #0d1a15);
  transition: border-color 0.18s, box-shadow 0.18s;
  -webkit-appearance: none; appearance: none;
}
.vgf-input:focus, .vgf-select:focus {
  outline: 0; border-color: var(--teal, #0d9e7a);
  box-shadow: 0 0 0 3px rgba(13,158,122,0.12);
}
.vgf-input.is-invalid, .vgf-select.is-invalid {
  border-color: #dc2626; box-shadow: 0 0 0 3px rgba(220,38,38,0.1);
}
.vgf-select {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 20 20' fill='none' stroke='%236b7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M6 8l4 4 4-4'/></svg>");
  background-repeat: no-repeat; background-position: right 12px center;
  padding-right: 36px;
}
.vgf-error {
  font-size: 13px; color: #b91c1c; min-height: 0;
  background: #fef2f2; border-radius: 8px;
  padding: 0 12px; max-height: 0; overflow: hidden;
  transition: max-height 0.2s, padding 0.2s;
}
.vgf-error.is-shown { padding: 10px 12px; max-height: 80px; }
.vgf-submit {
  margin-top: 4px;
  background: var(--teal, #0d9e7a); color: #fff; border: 0;
  padding: 13px 20px; border-radius: 10px;
  font-family: var(--font-b, 'Satoshi', sans-serif); font-size: 15px; font-weight: 700; letter-spacing: -0.005em;
  cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  transition: background 0.18s, transform 0.18s;
  box-shadow: 0 4px 14px rgba(13,158,122,0.28);
}
.vgf-submit:hover:not(:disabled) { background: var(--teal-dark, #086b52); transform: translateY(-1px); }
.vgf-submit:active:not(:disabled) { transform: translateY(0); }
.vgf-submit:disabled { opacity: 0.6; cursor: not-allowed; }
.vgf-submit-spinner {
  display: none; width: 16px; height: 16px; border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.4); border-top-color: #fff;
  animation: vgfSpin 0.8s linear infinite;
}
.vgf-submit.is-loading .vgf-submit-spinner { display: inline-block; }
.vgf-submit.is-loading .vgf-submit-label { opacity: 0.85; }
@keyframes vgfSpin { to { transform: rotate(360deg); } }
.vgf-fineprint {
  font-size: 11px; color: var(--ink-40, rgba(13,26,21,0.45));
  text-align: center; margin-top: 2px; line-height: 1.45;
}
/* Honeypot — visually invisible, but still in the layout / accessibility
   tree just enough that bots see it. display:none is detected by some
   spam scripts; off-screen positioning is more reliable. */
.vgf-hp {
  position: absolute !important;
  left: -10000px !important;
  top: auto !important;
  width: 1px !important; height: 1px !important;
  overflow: hidden !important;
}

/* ─── Demo + contact modals — overlay, gate (form stage), success.
   The contact modal reuses these classes (.demo-modal-*, .demo-gate*,
   .demo-success) verbatim, so the two modals share a visual identity. */
.demo-modal-overlay {
  display: none; position: fixed; inset: 0; z-index: 9999;
  background: rgba(0,0,0,.8); align-items: center; justify-content: center; padding: 24px;
}
.demo-modal-overlay.active { display: flex; }
.demo-modal-content {
  position: relative; width: 100%; max-width: 480px;
  max-height: calc(100vh - 80px);
  background: var(--cream, #faf8f4); border-radius: 14px;
  overflow-y: auto; box-shadow: 0 24px 80px rgba(0,0,0,0.4);
  display: flex; flex-direction: column;
}
.demo-modal-close {
  position: absolute; top: 12px; right: 14px; z-index: 2;
  background: rgba(13,26,21,0.06); border: none;
  width: 32px; height: 32px; border-radius: 50%;
  font-size: 22px; line-height: 1; color: var(--ink, #0d1a15); cursor: pointer;
  transition: background 0.15s;
}
.demo-modal-close:hover { background: rgba(13,26,21,0.12); }
.demo-gate { display: flex; flex-direction: column; min-height: 0; }
.demo-gate-head { padding: 28px 32px 16px; border-bottom: 1px solid rgba(13,26,21,0.08); }
.demo-gate-title {
  font-family: var(--font-d, 'Cabinet Grotesk', sans-serif);
  font-weight: 800; font-size: 22px; letter-spacing: -0.02em;
  color: var(--ink, #0d1a15); margin: 0 0 6px;
}
.demo-gate-sub {
  font-family: var(--font-b, 'Satoshi', sans-serif);
  font-size: 14px; line-height: 1.5; color: var(--ink-70, rgba(13,26,21,0.7)); margin: 0;
}
.demo-gate-form { padding: 24px 32px 28px; display: flex; flex-direction: column; gap: 14px; }
.demo-gate-form textarea.vgf-input { min-height: 84px; resize: vertical; line-height: 1.5; }
/* Stage toggling */
.demo-modal-content.success-mode .demo-gate { display: none; }
.demo-modal-content:not(.success-mode) .demo-success { display: none; }
.demo-success {
  padding: 44px 32px 36px; text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 12px;
}
.demo-success-icon {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--teal, #0d9e7a); color: #fff; font-size: 28px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 18px rgba(13,158,122,0.32);
}
.demo-success-title {
  font-family: var(--font-d, 'Cabinet Grotesk', sans-serif);
  font-weight: 800; font-size: 22px; letter-spacing: -0.02em;
  color: var(--ink, #0d1a15); margin: 4px 0 0;
}
.demo-success-msg {
  font-family: var(--font-b, 'Satoshi', sans-serif);
  font-size: 14px; line-height: 1.55; color: var(--ink-70, rgba(13,26,21,0.7));
  margin: 0 0 6px; max-width: 340px;
}
.demo-success .vgf-submit { min-width: 150px; }
@media (max-width: 600px) {
  .demo-modal-overlay { padding: 12px; }
  .demo-gate-head { padding: 20px 20px 12px; }
  .demo-gate-title { font-size: 18px; }
  .demo-gate-form { padding: 20px 20px 24px; }
  .demo-success { padding: 36px 20px 28px; }
}
</content>
</invoke>