/* MOBILE APP — built on the ProvidusUnity Bank design system
   (gold #fdb813 · dark #212529 · Inter)
   "Banking On The Go" feature cards: each is a card pairing the
   copy with a wide, neat CSS-drawn phone screen mockup for that
   specific feature (no image assets needed). The card clips the
   phone past its midpoint, so it reads as tucked into the card
   rather than a full standalone device. */

/* Feature card grid */
.ma-feat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.ma-feat-card {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 26px;
  padding: 34px 28px 0;
  background: linear-gradient(180deg, #f4f6f5 0%, #eaf0ee 100%);
  border: 1px solid rgba(26, 18, 0, 0.05);
  box-shadow: 0 13px 28px rgba(20, 16, 0, 0.03);
}

.ma-feat-card.ma-feat-center {
  grid-column: 2;
}

.ma-feat-copy {
  position: relative;
  z-index: 2;
  max-width: 270px;
}

.ma-feat-ico {
  width: 48px;
  height: 48px;
  border-radius: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--gold), #e09700);
  color: #1a1200;
  margin-bottom: 20px;
}

.ma-feat-ico svg {
  width: 22px;
  height: 22px;
}

.ma-feat-copy h3 {
  font-family: "Inter", sans-serif;
  font-size: 22px;
  font-weight: 800;
  line-height: 1.2;
  color: #171717;
  margin-bottom: 9px;
}

.ma-feat-copy p {
  font-size: 14.5px;
  line-height: 1.58;
  color: rgba(26, 18, 0, 0.6);
  margin-bottom: 15px;
}

.ma-feat-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 14px;
  font-weight: 700;
  color: #b37a00;
  text-decoration: none;
  transition: gap 0.2s;
}

.ma-feat-link:hover {
  gap: 9px;
}

.ma-feat-mock {
  display: flex;
  justify-content: center;
  margin-top: 34px;
}

/* Phone frame */
.mm-frame {
  position: relative;
  width: 226px;
  background: linear-gradient(160deg, #2a2a2a 0%, #131313 60%);
  border-radius: 24px;
  padding: 5px;
  box-shadow:
    0 14px 28px rgba(20, 16, 0, 0.1),
    0 3px 8px rgba(20, 16, 0, 0.07),
    inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.mm-notch {
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: 52px;
  height: 15px;
  background: #050505;
  border-radius: 999px;
  z-index: 2;
}

.mm-screen {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 9px;
  height: 300px;
  background: linear-gradient(165deg, #fffdf6 0%, #fbf6ea 100%);
  border-radius: 20px;
  overflow: hidden;
  padding: 22px 14px 46px;
}

.mm-screen::after {
  content: "";
  position: absolute;
  bottom: 7px;
  left: 50%;
  transform: translateX(-50%);
  width: 34%;
  height: 4px;
  border-radius: 2px;
  background: rgba(26, 18, 0, 0.22);
  z-index: 3;
}

.mm-screen.center {
  align-items: center;
  text-align: center;
}

/* Status bar (real time + signal/battery) */
.mm-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  align-self: stretch;
  width: 100%;
  margin-bottom: 1px;
}

.mm-time {
  display: block;
  font-family: "Inter", sans-serif;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: rgba(26, 18, 0, 0.65);
}

/* Bottom tab bar — pins to every screen so each mockup reads
   as a real app, not a bare content panel */
.mm-tabbar {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 16px;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding-top: 9px;
  border-top: 1px solid rgba(26, 18, 0, 0.08);
}

.mm-tab {
  width: 16px;
  height: 16px;
  color: rgba(26, 18, 0, 0.28);
}

.mm-tab.active {
  color: var(--gold);
}

.mm-tab svg {
  width: 100%;
  height: 100%;
}

.mm-icons {
  display: flex;
  align-items: flex-end;
  gap: 3px;
}

.mm-icons i {
  display: block;
  width: 4px;
  border-radius: 1px;
  background: rgba(26, 18, 0, 0.32);
}

.mm-icons i:nth-child(1) {
  height: 5px;
}

.mm-icons i:nth-child(2) {
  height: 7px;
}

.mm-icons i:nth-child(3) {
  height: 9px;
}

/* Shared mockup atoms */
.mm-line {
  display: block;
  height: 7px;
  border-radius: 3.5px;
  background: rgba(26, 18, 0, 0.14);
}

.mm-line.dark {
  background: rgba(26, 18, 0, 0.4);
}

/* real screen header + caption text (replaces gray placeholder
   bars so each mockup reads as an actual app screen) */
.mm-title {
  display: block;
  font-family: "Inter", sans-serif;
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: #1a1a1a;
}

.mm-caption {
  display: block;
  font-size: 9.5px;
  color: rgba(26, 18, 0, 0.5);
}

.mm-screen.center .mm-title,
.mm-screen.center .mm-caption {
  text-align: center;
}

.mm-field {
  height: 32px;
  border-radius: 9px;
  background: rgba(26, 18, 0, 0.05);
  border: 1px solid rgba(26, 18, 0, 0.1);
}

/* label + field pair, tighter internal gap than the screen's own
   flex gap so each field reads as one unit */
.mm-field-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mm-field-label {
  font-size: 8.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: rgba(26, 18, 0, 0.4);
}

.mm-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.mm-dot {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(26, 18, 0, 0.08);
  flex-shrink: 0;
}

/* Bill payment rows: icon + provider name + amount */
.mm-bill-row {
  display: flex;
  align-items: center;
  gap: 9px;
}

.mm-bill-ico {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mm-bill-ico svg {
  width: 13px;
  height: 13px;
}

.mm-bill-ico.c1 {
  background: rgba(253, 184, 19, 0.16);
  color: #b37a00;
}

.mm-bill-ico.c2 {
  background: rgba(79, 184, 224, 0.16);
  color: #2f8fb5;
}

.mm-bill-ico.c3 {
  background: rgba(76, 175, 113, 0.16);
  color: #2f8f5b;
}

.mm-bill-body {
  flex: 1;
  min-width: 0;
}

.mm-bill-name {
  display: block;
  font-size: 9.5px;
  font-weight: 700;
  color: rgba(26, 18, 0, 0.75);
}

.mm-bill-sub {
  display: block;
  margin-top: 2px;
  font-size: 8px;
  color: rgba(26, 18, 0, 0.4);
}

.mm-bill-chev {
  flex-shrink: 0;
  width: 12px;
  height: 12px;
  color: rgba(26, 18, 0, 0.25);
}

.mm-cta {
  margin-top: auto;
  height: 32px;
  border-radius: 9px;
  background: linear-gradient(135deg, var(--gold), #e09700);
  box-shadow: 0 6px 14px rgba(253, 184, 19, 0.35);
}

/* Width utilities shared by lines / fields / fills */
.mm-w26 { width: 30px; }
.mm-w30 { width: 30%; }
.mm-w35 { width: 35%; }
.mm-w40 { width: 40%; }
.mm-w45 { width: 45%; }
.mm-w50 { width: 50%; }
.mm-w55 { width: 55%; }
.mm-w60 { width: 60%; }
.mm-w70 { width: 70%; }
.mm-flex { flex: 1; }

/* Onboarding progress steps */
.mm-steps {
  margin-top: 2px;
}

.mm-step {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(26, 18, 0, 0.12);
}

.mm-step.active {
  background: var(--gold);
}

/* Transfer: contact chips + amount + keypad */
.mm-chip {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Inter", sans-serif;
  font-size: 9.5px;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, #fdb813, #e09700);
}

.mm-chip.c1 {
  background: linear-gradient(135deg, #fdb813, #e09700);
}

.mm-chip.c2 {
  background: linear-gradient(135deg, #b8bcc4, #8b9099);
}

.mm-chip.c3 {
  background: linear-gradient(135deg, #4fb8e0, #2f8fb5);
}

.mm-amount {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 27px;
  margin: 0 auto;
  border-radius: 8px;
  font-family: "Inter", sans-serif;
  font-size: 14px;
  font-weight: 800;
  color: #1a1200;
  background: rgba(26, 18, 0, 0.06);
}

.mm-keypad {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.mm-keypad span {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 24px;
  border-radius: 8px;
  font-family: "Inter", sans-serif;
  font-size: 10px;
  font-weight: 700;
  color: rgba(26, 18, 0, 0.55);
  background: rgba(26, 18, 0, 0.04);
  border: 1px solid rgba(26, 18, 0, 0.06);
}

/* Biometric: real fingerprint icon on a sensor-pad circle */
.mm-finger {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  margin: 6px auto;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gold-pale);
  color: rgba(26, 18, 0, 0.6);
}

.mm-finger svg {
  width: 40px;
  height: 40px;
}

/* QR Pay — real, scannable QR code (encodes providusunitybank.com/pay),
   not a decorative pattern */
.mm-qr {
  width: 108px;
  height: 108px;
  margin: 6px auto;
  padding: 10px;
  background: #fff;
  border-radius: 12px;
  border: 1px solid rgba(26, 18, 0, 0.08);
  box-shadow: 0 4px 11px rgba(26, 18, 0, 0.04);
}

.mm-qr svg {
  display: block;
  width: 100%;
  height: 100%;
}

/* Quick Services: shortcut tiles */
.mm-tiles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.mm-tiles span {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: var(--gold-pale);
  border: 1px solid rgba(253, 184, 19, 0.4);
  color: #b37a00;
}

.mm-tiles svg {
  width: 15px;
  height: 15px;
}

/* Limit Management: sliders */
.mm-slider-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.mm-slider-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
}

.mm-slider-label {
  font-size: 9px;
  font-weight: 600;
  color: rgba(26, 18, 0, 0.55);
}

.mm-slider-amt {
  font-family: "Inter", sans-serif;
  font-size: 9.5px;
  font-weight: 800;
  color: #1a1a1a;
}

.mm-slider {
  height: 7px;
  border-radius: 3.5px;
  background: rgba(26, 18, 0, 0.1);
  overflow: hidden;
}

.mm-slider i {
  display: block;
  height: 100%;
  border-radius: 3.5px;
  background: var(--gold);
}

/* Responsive */
@media (max-width: 1100px) {
  .ma-feat-grid {
    grid-template-columns: 1fr 1fr;
  }

  .ma-feat-card.ma-feat-center {
    grid-column: auto;
  }
}

@media (max-width: 760px) {
  .ma-feat-grid {
    grid-template-columns: 1fr;
  }
}

/* Button container for multiple buttons */
.ds-dev-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

/* White button style */
.btn-white {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  color: #1a1200;
  border: 1px solid rgba(26, 18, 0, 0.15);
  padding: 16px 32px;
  font-family: "Inter", sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 12px rgba(26, 18, 0, 0.08);
}

.btn-white:hover {
  background: #f8f8f8;
  border-color: var(--gold);
  color: var(--gold);
  box-shadow: 0 6px 16px rgba(26, 18, 0, 0.12);
  transform: translateY(-1px);
}

.btn-white svg {
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-white:hover svg {
  transform: translateX(3px);
}

/* Responsive */
@media (max-width: 760px) {
  .ds-dev-buttons {
    flex-direction: column;
    width: 100%;
  }
  
  .ds-dev-buttons .btn-gold,
  .ds-dev-buttons .btn-white {
    width: 100%;
    justify-content: center;
  }
}