/* 10% off promo modal */
.rb-modal-backdrop {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
  opacity: 0;
  transition: opacity .25s cubic-bezier(.2,.8,.2,1);
}
.rb-modal-backdrop.in { opacity: 1; }
.rb-modal {
  position: relative;
  display: grid;
  grid-template-columns: 220px 1fr;
  width: min(720px, 100%);
  max-height: 90vh; overflow: auto;
  background: linear-gradient(180deg, #10131c 0%, #06070a 100%);
  border: 1px solid rgba(0, 217, 255, 0.35);
  border-radius: 18px;
  box-shadow: 0 40px 100px -20px rgba(0, 217, 255, 0.35), 0 0 0 1px rgba(0,217,255,0.15);
  transform: translateY(10px) scale(.98);
  transition: transform .35s cubic-bezier(.2,.8,.2,1);
  overflow: hidden;
}
.rb-modal-backdrop.in .rb-modal { transform: translateY(0) scale(1); }

.rb-modal-art {
  background:
    radial-gradient(ellipse at 50% 0%, rgba(0,217,255,0.25), transparent 70%),
    linear-gradient(180deg, #0a1422, #0a0c12);
  display: flex; align-items: center; justify-content: center;
  padding: 32px;
  border-right: 1px solid rgba(0,217,255,0.15);
}
.rb-modal-art svg { width: 96px; height: 96px; }

.rb-modal-body {
  padding: 32px;
  color: #f4f6fb;
  font-family: 'Inter', sans-serif;
}
.rb-eyebrow {
  display: inline-block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #00d9ff;
  margin-bottom: 12px;
}
.rb-modal-body h2 {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin: 0 0 10px;
}
.rb-modal-body > p {
  color: #c8ccd6;
  margin: 0 0 22px;
  font-size: 14.5px;
}

.rb-modal-close {
  position: absolute; top: 12px; right: 12px;
  width: 32px; height: 32px; border-radius: 50%;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.14);
  color: #f4f6fb;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}
.rb-modal-close:hover { background: rgba(255,255,255,0.16); }

.rb-form { display: flex; flex-direction: column; gap: 10px; }
.rb-field { display: flex; flex-direction: column; gap: 4px; }
.rb-field span {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #8a90a0;
}
.rb-field input {
  padding: 11px 13px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  color: #f4f6fb;
  font-family: inherit;
  font-size: 14.5px;
}
.rb-field input:focus {
  outline: none;
  border-color: #00d9ff;
  background: rgba(0,217,255,0.06);
  box-shadow: 0 0 0 3px rgba(0,217,255,0.18);
}
.rb-primary {
  margin-top: 6px;
  padding: 13px 18px;
  background: linear-gradient(180deg, #00d9ff 0%, #00a6c8 100%);
  color: #04141a;
  border: none;
  border-radius: 999px;
  font-family: inherit;
  font-weight: 600;
  font-size: 14.5px;
  cursor: pointer;
  text-decoration: none;
  text-align: center;
  transition: transform .15s, box-shadow .15s;
}
.rb-primary:hover { transform: translateY(-1px); box-shadow: 0 12px 30px -8px rgba(0,217,255,0.5); }
.rb-mini {
  margin: 8px 0 0;
  font-size: 11.5px; color: #5a6072;
  text-align: center;
}

.rb-success {
  padding: 12px 0;
  text-align: center;
}
.rb-success strong {
  display: block;
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 22px;
  margin-bottom: 8px;
  color: #f4f6fb;
}
.rb-success p {
  color: #c8ccd6;
  margin: 0 0 18px;
  font-size: 14.5px;
}
.rb-success code {
  display: inline-block;
  padding: 4px 10px;
  background: rgba(0, 217, 255, 0.1);
  color: #00d9ff;
  border-radius: 6px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
}

body.rb-modal-open { overflow: hidden; }

@media (max-width: 600px) {
  .rb-modal { grid-template-columns: 1fr; max-height: 95vh; }
  .rb-modal-art { padding: 22px; border-right: none; border-bottom: 1px solid rgba(0,217,255,0.15); }
  .rb-modal-art svg { width: 64px; height: 64px; }
  .rb-modal-body { padding: 22px; }
  .rb-modal-body h2 { font-size: 22px; }
}
