/* =========================================================================
   RR BUDDY ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€šÃ‚Â PREMIUM FINTECH REGISTER PAGE
   Self-contained stylesheet. All selectors are scoped under .rrb-page
   so nothing here leaks into (or gets overridden by) the site's global CSS.
   ========================================================================= */

.rrb-page {
  --ink-950: #0a0f1e;
  --ink-900: #0e1526;
  --ink-800: #141d33;
  --ink-600: #4a5468;
  --ink-300: #a9b1c3;
  --brass-500: #b68d40;
  --brass-300: #e4c888;
  --brass-050: #f8f1e0;
  --emerald-500: #16795a;
  --emerald-300: #5fbf9e;
  --paper-050: #f7f4ed;
  --paper-100: #ffffff;
  --font-display: 'Fraunces', 'Georgia', serif;
  --font-body: 'Manrope', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  /* font-family: var(--font-body); */
  color: var(--ink-800);
  /* background: var(--paper-050); */
  overflow-x: hidden;
}

.rrb-page * {box-sizing: border-box;}

/* ---------- layout shell ---------- */
.rrb-hero {
  display: grid;
  /* left (video) column is now wider than the form column so the video reads bigger */
  grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  min-height: 499px;
  box-shadow: -2px 1px 12px 8px rgba(10, 15, 30, 0.15);
  border-radius: 22px;
  overflow: hidden;
  margin: 0px auto;
  max-width: 1230px;
  margin-top: 79px;
  background: #fff;
}

@media (max-width: 991px) {
  .rrb-hero { grid-template-columns: 1fr; margin: 0; border-radius: 0; }
}

/* ---------- LEFT: cinematic video panel ---------- */
.rrb-video-panel {
  background: #f6f6f6;
  padding: 38px 21px 24px;
  flex-direction: column;
  justify-content: space-between;
  /*isolation: isolate;*/
}

.rrb-eyebrow {
  font-size: 15px;
  /* letter-spacing: 0px; */
  text-transform: uppercase;
  color: #1f2a4d;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: bold;
}
.rrb-eyebrow::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #2c9974;
  box-shadow: 0 0 0 0 rgba(95, 191, 158, 0.6);
  animation: rrb-pulse 2.2s infinite;
}
@keyframes rrb-pulse {
  0% { box-shadow: 0 0 0 0 rgba(95,191,158,0.55); }
  70% { box-shadow: 0 0 0 8px rgba(95,191,158,0); }
  100% { box-shadow: 0 0 0 0 rgba(95,191,158,0); }
}

.rrb-headline {
  font-weight: bold;
  font-size: 28px;
  line-height: 1.15;
  margin: -2px 0 11px;
  color: #b17400;
}
.rrb-headline em {
  font-style: italic;
  color: var(--brass-300);
}
.rrb-subcopy {
  font-size: 12px;
  color: #1b1640;
  margin: 0;
  line-height: 17px;
}

/* video stage */
.rrb-video-stage {
  position: relative;
  margin: 26px 0;
  border-radius: 16px;
  overflow: hidden;
  border: 3px solid #936b20;
  aspect-ratio: 18 / 10;
  cursor: pointer;
  background: #000;
}
.rrb-video-stage video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(1.05) brightness(0.92);
  transition: transform 1.4s var(--ease), filter 0.6s ease;
}
.rrb-video-stage:hover video,
.rrb-video-stage.is-playing video {
  transform: scale(1);
  filter: saturate(1.15) brightness(1);
}

/* overlay + controls: visible on hover, and always visible while paused */
.rrb-video-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10,15,30,0.05) 0%, rgba(10,15,30,0.55) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.35s var(--ease);
}
.rrb-video-stage:not(.is-playing) .rrb-video-overlay,
.rrb-video-stage:hover .rrb-video-overlay {
  opacity: 1;
}

/* the user can click this button, or anywhere on the video, to play/pause on their own */
.rrb-video-playbtn {
  width: 56px; height: 56px;
  border-radius: 50%;
  border: none;
  background: var(--brass-300);
  color: var(--ink-950);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: transform 0.3s var(--ease);
}
.rrb-video-playbtn:hover { transform: scale(1.08); }
.rrb-video-playbtn svg { width: 20px; height: 20px; fill: currentColor; }

/* mute/unmute ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€šÃ‚Â sound defaults on, this just lets the visitor toggle it */
.rrb-video-mutebtn {
  position: absolute;
  top: 14px;
  right: 15px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.35);
  background: #1e184b;
  color: var(--brass-300);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  display: none;
}
.rrb-video-mutebtn svg {
  width: 40px;
  height: 40px;
  fill: rgb(255 182 16);
  stroke: currentColor;
  stroke-width: 1.4;
}

/* stat chips */
.rrb-chip-row {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}
.rrb-chip {
  font-size: 12.5px;
  color: var(--paper-050);
  background: linear-gradient(135deg, #110c33 0%, #322B5E 60%, #241f45 100%);
  padding: 8px 12px;
  border-radius: 10px;
  display: flex;
  align-items: baseline;
  gap: 6px;
}
.rrb-chip b {
  color: var(--brass-300);
  font-size: 15px;
}

/* ---------- RIGHT: form panel ---------- */
.rrb-form-panel {
  background: var(--paper-100);
  padding: 45px 32px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
@media (max-width: 767px) {
  .rrb-form-panel { padding: 32px 22px 34px; }
}

.rrb-form-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
}
.rrb-form-title {
  
  950);
  margin: 0;
  font-style: normal;
  font-size: 25px;
  color: #233463;
  margin-bottom: 4px;
}

.rrb-steps {
  display: flex;
  align-items: center;
  gap: 8px;
  /* font-family: var(--font-mono); */
  font-size: 11px;
  letter-spacing: 0.05em;
  color: var(--ink-600);
}
.rrb-steps span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 5px;
  border-radius: 999px;
  border: 1px solid #e7e1d2;
  transition: all 0.4s var(--ease);
}
.rrb-steps span.is-active {
  background: #2f285a;
  color: var(--brass-300);
  border-color: var(--ink-950);
}
.rrb-steps .rrb-step-sep { color: #d7cfba; padding: 0; border: none; }

.rrb-error {
  border-radius: 10px;
  font-size: 13px;
}

/* floating-label fields */
.rrb-field {
  position: relative;
  margin-bottom: 30px;
}
.rrb-field label {
  position: absolute;
  left: 14px; top: 13px;
  font-size: 14.5px;
  color: var(--ink-600);
  pointer-events: none;
  transition: all 0.25s var(--ease);
  background: var(--paper-100);
  padding: 0 4px;
}
.rrb-field .req-mark { color: var(--emerald-500); }

.rrb-input {
  width: 100%;
  height: 50px;
  border: 1.5px solid #e4dfd2;
  border-radius: 11px;
  padding: 0 14px;
  font-size: 15px;
  font-family: var(--font-body);
  color: var(--ink-950);
  background: var(--paper-100);
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.rrb-input:hover { border-color: #d3c9a9; }
.rrb-input:focus {
  outline: none;
  border-color: var(--brass-500);
  box-shadow: 0 0 0 4px rgba(182, 141, 64, 0.14);
}
.rrb-input:focus + label,
.rrb-input.has-value + label {
  top: -9px;
  left: 10px;
  font-size: 11.5px;
  color: var(--brass-500);
  font-weight: 600;
  letter-spacing: 0.02em;
}

.rrb-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 18px;
}
@media (max-width: 480px) {
  .rrb-grid-2 { grid-template-columns: 1fr; }
}

.rrb-hint {
  font-size: 12.5px;
  color: var(--ink-600);
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 6px 0 20px;
}
.rrb-hint svg { width: 14px; height: 14px; fill: var(--emerald-500); flex: none; }

/* CTA button with brass sweep */
.rrb-btn {
  position: relative;
  width: 100%;
  height: 52px;
  border: none;
  border-radius: 12px;
  background: linear-gradient(135deg, #1a2340, #3d5aa8);
  color: #e4c888;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 14.5px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  cursor: pointer;
  overflow: hidden;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.rrb-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 30px -14px rgba(10,15,30,0.55);
}
.rrb-btn::after {
  content: "";
  position: absolute;
  top: 0; left: -60%;
  width: 40%; height: 100%;
  background: linear-gradient(120deg, transparent, rgba(228,200,136,0.35), transparent);
  transform: skewX(-20deg);
  transition: left 0.75s ease;
}
.rrb-btn:hover::after { left: 130%; }

.rrb-btn-ghost {
  background: transparent;
  border: none;
  color: var(--ink-600);
  font-size: 12.5px;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
.rrb-btn-ghost:hover { color: var(--brass-500); }

/* panel transitions (kept for any places still using the fade-only version) */
.rrb-panel-fade {
  transition: opacity 0.4s var(--ease), filter 0.4s var(--ease);
}
.rrb-panel-fade.is-dimmed {
  opacity: 0.45;
  filter: blur(1.5px) grayscale(0.3);
  pointer-events: none;
}

.rrb-verify-note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: var(--brass-050);
  border: 1px solid #ecdcb2;
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 13px;
  color: var(--ink-600);
  margin-bottom: 18px;
}
.rrb-verify-note svg { width: 16px; height: 16px; fill: var(--emerald-500); flex: none; margin-top: 2px; }

/* ---------- OTP: 6 individual boxes ---------- */
.rrb-otp-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 6px 0 20px;
}
.rrb-otp-boxes {
  display: flex;
  gap: 10px;
}
.rrb-otp-box {
  width: 48px;
  height: 58px;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 22px;
  font-weight: 700;
  color: var(--ink-950);
  border: 1.5px solid #e4dfd2;
  border-radius: 10px;
  background: var(--paper-100);
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease), transform 0.2s var(--ease);
}
.rrb-otp-box:hover { border-color: #d3c9a9; }
.rrb-otp-box:focus {
  outline: none;
  border-color: var(--brass-500);
  box-shadow: 0 0 0 4px rgba(182, 141, 64, 0.16);
  transform: translateY(-2px);
}
.rrb-otp-box.input-error {
  border-color: #d9534f !important;
  box-shadow: 0 0 0 4px rgba(217, 83, 79, 0.12) !important;
}
@media (max-width: 400px) {
  .rrb-otp-box { width: 40px; height: 52px; font-size: 18px; }
  .rrb-otp-boxes { gap: 7px; }
}

/* the real postback field stays in the DOM (for form submission / existing
   validation hooks) but is visually hidden behind the 6 boxes above */
.rrb-otp-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* input validation error state (used by existing hideInputError/checkValidation js) */
.rrb-page .input-error {
  border-color: #d9534f !important;
  box-shadow: 0 0 0 4px rgba(217, 83, 79, 0.12) !important;
}
.rrb-page .input-error-msg {
  color: #d9534f;
  font-size: 12px;
  margin-top: 4px;
  display: block;
}

/* ---------- lower marketing sections, restyled to match ---------- */
.rrb-section { padding: 72px 0; }
.rrb-section-title {
  font-size: clamp(26px, 3vw, 34px);
  font-weight: 600;
  color: var(--ink-950);
  text-align: center;
  margin-bottom: 40px;
}

.rrb-stat-card {
  background: var(--paper-100);
  border: 1px solid #ece6d7;
  border-radius: 18px;
  padding: 34px 28px;
  height: 100%;
  display: flex;
  gap: 20px;
  align-items: flex-start;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.rrb-stat-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 50px -30px rgba(10,15,30,0.35);
}
.rrb-stat-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--ink-950), var(--ink-800));
  display: flex; align-items: center; justify-content: center;
  flex: none;
}
.rrb-stat-icon svg { width: 24px; height: 24px; fill: var(--brass-300); }
.rrb-stat-card h3 {
  font-size: 18px;
  margin: 0 0 6px;
  color: var(--ink-950);
}
.rrb-stat-card p { margin: 0; color: var(--ink-600); font-size: 14.5px; line-height: 1.6; }

.rrb-benefit-list { list-style: none; padding: 0; margin: 0; }
.rrb-benefit-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px dashed #e7e1d2;
  font-weight: 600;
  color: var(--ink-950);
  font-size: 15px;
}
.rrb-benefit-list li:last-child { border-bottom: none; }
.rrb-bullet {
  width: 30px; height: 30px;
  border-radius: 9px;
  background: var(--brass-050);
  display: flex; align-items: center; justify-content: center;
  flex: none;
}
.rrb-bullet svg { width: 14px; height: 14px; fill: var(--brass-500); }

.rrb-doc-list .rrb-bullet { background: rgba(22, 121, 90, 0.1); }
.rrb-doc-list .rrb-bullet svg { fill: var(--emerald-500); }

.rrb-cta-band {
  background: radial-gradient(120% 200% at 50% 0%, #16223f 0%, var(--ink-950) 70%);
  border-radius: 22px;
  padding: 56px 24px;
  text-align: center;
  color: var(--paper-050);
  margin: 0 auto;
  max-width: 1240px;
}
.rrb-cta-band h2 {
  font-size: clamp(24px, 3vw, 32px);
  margin-bottom: 10px;
}
.rrb-cta-band p { color: var(--ink-300); margin-bottom: 24px; }
.rrb-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--brass-300), var(--brass-500));
  color: var(--ink-950);
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.rrb-cta-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 34px -16px rgba(182,141,64,0.55);
  color: var(--ink-950);
}

/* scroll reveal */
.rrb-reveal {
  opacity: 1;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.rrb-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .rrb-page * { animation: none !important; transition: none !important; }
}

/*************************/

.rrb-sound-prompt {
  position: absolute;
  bottom: 14px; left: 14px;
  background: rgba(10,15,30,0.75);
  color: var(--brass-300);
  font-size: 12px;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.2);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(6px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
  z-index: 2;
}
.rrb-sound-prompt.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
  animation: rrb-pulse-prompt 1.8s ease-in-out infinite;
}
@keyframes rrb-pulse-prompt {
  0%, 100% { box-shadow: 0 0 0 0 rgba(228,200,136,0.35); }
  50% { box-shadow: 0 0 0 6px rgba(228,200,136,0); }
}

@media (max-width: 991px)
{
.rrb-video-panel{ order:2;}
.rrb-form-panel{order:1;margin-top: 38px;} 
.rrb-chip-row{ display:none;}
}

/************************************************************************************************
*********************************************************************************************************************/
.rrb-video-fullscreenbtn{
    position:absolute;
    top:14px;
    right:64px;
    width:42px;
    height:42px;
    border-radius:50%;
    border:1px solid rgba(255,255,255,0.35);
    background:#1e184b;
    color:#e4c888;
    display:flex;
    align-items:center;
    justify-content:center;
    cursor:pointer;
    z-index:2;
    display: none;
}
.rrb-video-fullscreenbtn svg{ width:18px;height:18px;fill:currentColor; }

.rrb-video-modal-overlay{
    position:fixed; inset:0;
    background:rgba(10,15,30,0.82);
    display:none;
    align-items:center;
    justify-content:center;
    z-index:2000;
    padding:24px;
    backdrop-filter:blur(3px);
}
.rrb-video-modal-overlay.open{ display:flex; }
.rrb-video-modal-box{
    width:min(900px,100%);
    background:#000;
    border-radius:16px;
    overflow:hidden;
    position:relative;
    box-shadow:0 30px 70px -20px rgba(0,0,0,.7);
}
.rrb-video-modal-wrap{ position:relative; padding-top:56.25%; background:#000; }
.rrb-video-modal-wrap video{ position:absolute; inset:0; width:100%; height:100%; }
.rrb-video-modal-close{
    position:absolute; top:12px; right:12px; z-index:5;
    width:36px;height:36px;border-radius:10px;
    background:rgba(255,255,255,.12); color:#fff;
    display:flex;align-items:center;justify-content:center;
    cursor:pointer;border:none;padding:0;font:inherit;
}
.rrb-video-modal-close:hover{ background:rgba(255,255,255,.28); }


/****************************************************************/

.rrb-input:focus + label,
.rrb-input.has-value + label {
  top: -9px;
  left: 10px;
  font-size: 11.5px;
  color: var(--brass-500);
  font-weight: 600;
}