/* PMG Marina product pages — extends styles.css */
.mm-hero { padding-bottom: 9rem; }
.mm-hero .button-row { display: flex; gap: .75rem; flex-wrap: wrap; margin-top: 2rem; }
.mm-badge { display: inline-flex; align-items: center; gap: .5rem; padding: .35rem .8rem; border: 1px solid rgba(158, 210, 237, .45); border-radius: 999px; color: #cfe6f3; font-size: .82rem; font-weight: 700; margin-bottom: 1.2rem; }
.mm-badge::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #5fd38d; box-shadow: 0 0 0 4px rgba(95, 211, 141, .2); }

/* screenshots in a browser frame */
.shot { margin: 0; }
.shot .frame { position: relative; border-radius: 14px; overflow: hidden; background: #fff; border: 1px solid #d4dde4; box-shadow: 0 30px 70px rgba(7, 29, 53, .18), 0 6px 18px rgba(7, 29, 53, .08); }
.shot .frame::before { content: ""; display: block; height: 30px; background: #eef2f5 radial-gradient(circle at 16px 15px, #f26b5b 5px, transparent 6px), radial-gradient(circle at 34px 15px, #f5bf4f 5px, transparent 6px), radial-gradient(circle at 52px 15px, #5fc35f 5px, transparent 6px); background-color: #eef2f5; border-bottom: 1px solid #dde4ea; }
.shot img { display: block; width: 100%; height: auto; cursor: zoom-in; }
.shot figcaption { margin-top: .8rem; font-size: .9rem; color: var(--muted); }
.shot.plain .frame::before { display: none; }
.mm-hero-shot { position: relative; margin-top: -7rem; z-index: 2; }
.mm-note { font-size: .82rem; color: var(--muted); text-align: center; margin-top: 1rem; }

/* feature tiles */
.mm-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; margin-top: 3rem; }
.mm-tile { display: flex; flex-direction: column; padding: 1.7rem; background: #fff; border: 1px solid #e4e8ec; border-radius: var(--radius); box-shadow: 0 8px 24px rgba(7, 29, 53, .04); text-decoration: none; color: inherit; transition: transform var(--ease), box-shadow var(--ease), border-color var(--ease); }
.mm-tile:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #bbcfdd; }
.mm-tile b { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: var(--light-blue); font-size: 1.35rem; margin-bottom: 1.1rem; }
.mm-tile h3 { margin: 0 0 .45rem; color: var(--navy); font-size: 1.2rem; }
.mm-tile p { margin: 0; color: var(--muted); font-size: .97rem; }
.mm-tile span { margin-top: auto; padding-top: 1rem; color: #176a9c; font-weight: 750; font-size: .92rem; }

/* alternating screenshot + text rows */
.mm-row { display: grid; grid-template-columns: 1fr 1.35fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.mm-row + .mm-row { margin-top: clamp(4rem, 8vw, 7rem); }
.mm-row.flip { grid-template-columns: 1.35fr 1fr; }
.mm-row.flip > .mm-copy { order: 2; }
.mm-copy h2 { font-size: clamp(1.9rem, 3.4vw, 2.8rem) !important; }
.mm-copy ul { list-style: none; padding: 0; margin: 1.2rem 0 0; }
.mm-copy li { position: relative; padding: .45rem 0 .45rem 1.8rem; }
.mm-copy li::before { content: "✓"; position: absolute; left: 0; top: .45rem; color: var(--blue); font-weight: 900; }

/* integrations */
.mm-int { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin-top: 3rem; }
.mm-int div { background: #fff; padding: 1.6rem; }
.mm-int strong { display: block; color: var(--navy); font-size: 1.05rem; margin-bottom: .35rem; }
.mm-int p { margin: 0; color: var(--muted); font-size: .93rem; }

/* features page: section jump links */
.mm-jump { position: sticky; top: 0; z-index: 20; background: rgba(255, 255, 255, .94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.mm-jump .shell { display: flex; gap: .4rem; overflow-x: auto; padding: .7rem 0; scrollbar-width: none; }
.mm-jump a { flex: none; padding: .45rem .85rem; border-radius: 999px; color: var(--charcoal); text-decoration: none; font-size: .9rem; font-weight: 650; }
.mm-jump a:hover { background: var(--light-blue); color: var(--blue); }
.mm-section { scroll-margin-top: 70px; }
.mm-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-top: 2.5rem; }
.mm-phone { max-width: 300px; margin: 0 auto; }
.mm-phone .frame { border-radius: 34px; border: 10px solid #0f1b29; }
.mm-phone .frame::before { display: none; }
.mm-paper .frame { border-radius: 6px; }
.mm-paper .frame::before { display: none; }

/* zoomed screenshot */
.mm-lightbox { border: 0; padding: 0; background: transparent; max-width: min(96vw, 1700px); max-height: 94vh; }
.mm-lightbox::backdrop { background: rgba(7, 29, 53, .82); }
.mm-lightbox img { display: block; max-width: min(96vw, 1700px); max-height: 88vh; width: auto; height: auto; border-radius: 10px; }
.mm-lightbox p { color: #d7e6ef; text-align: center; margin: .6rem 0 0; font-size: .95rem; }
.mm-lightbox button { position: fixed; top: 14px; right: 18px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: #fff; font-size: 1.4rem; cursor: pointer; }

@media (max-width: 900px) {
  .mm-tiles, .mm-int { grid-template-columns: 1fr 1fr; }
  .mm-row, .mm-row.flip { grid-template-columns: 1fr; }
  .mm-row.flip > .mm-copy { order: 0; }
  .mm-hero-shot { margin-top: -4rem; }
}
@media (max-width: 600px) {
  .mm-tiles, .mm-int, .mm-pair { grid-template-columns: 1fr; }
  .mm-hero { padding-bottom: 6rem; }
  .shot .frame::before { height: 20px; background-size: auto; }
}
.cta-inner .button { flex: none; white-space: nowrap; }
