/*
Theme Name: Momntly
Theme URI: https://www.momntly.live
Author: Momntly
Author URI: https://www.momntly.live
Description: Marketing theme for Momntly, the guest experience platform for DJs, photo booths, planners and venues. Features Stripe checkout, interactive demo, feature showcase, and documentation.
Version: 1.9.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: momntly
Requires at least: 6.0
Requires PHP: 7.4
*/

/* === Design System === */
:root {
  --bg-deep: #08080F;
  --bg-surface: #0D0D1A;
  --bg-card: #131325;
  --bg-card-hover: #1A1A36;
  --bg-elevated: #1E1E3A;
  --border: rgba(255,255,255,.06);
  --border-accent: rgba(255,255,255,.12);

  --t1: #F8F8FC;
  --t2: #B0B0C8;
  --t3: #6B6B88;

  --accent: #FF6B35;
  --accent-hover: #FF8555;
  --pink: #F7418F;
  --purple: #9B59F5;
  --green: #22C55E;
  --blue: #3B82F6;

  --grad: linear-gradient(135deg, #FF6B35, #F7418F, #9B59F5);
  --grad-subtle: linear-gradient(135deg, rgba(255,107,53,.15), rgba(247,65,143,.15), rgba(155,89,245,.15));

  --font-display: 'Bricolage Grotesque', system-ui, sans-serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  --shadow-glow: 0 0 60px rgba(247,65,143,.08);
  --shadow-card: 0 4px 24px rgba(0,0,0,.3);

  --max-w: 1200px;
  --max-w-narrow: 800px;
}

/* === Reset === */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
body {
  font-family: var(--font-body);
  background: var(--bg-deep);
  color: var(--t2);
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, textarea, select { font-family: inherit; font-size: inherit; }

/* === Utility === */
.mntly-wrap { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
.mntly-wrap-narrow { max-width: var(--max-w-narrow); margin: 0 auto; padding: 0 24px; }
.mntly-grad-text { background: var(--grad); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.mntly-section { padding: 120px 0; position: relative; }
.mntly-section-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--pink);
  margin-bottom: 16px;
  display: block;
}
.mntly-section-title {
  font-family: var(--font-display);
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--t1);
  line-height: 1.15;
  margin-bottom: 20px;
}
.mntly-section-desc {
  font-size: 18px;
  color: var(--t3);
  max-width: 560px;
  line-height: 1.7;
}

/* === Buttons === */
.mntly-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 15px;
  border: none;
  cursor: pointer;
  transition: all .25s cubic-bezier(.4,0,.2,1);
  text-decoration: none;
  position: relative;
  overflow: hidden;
}
.mntly-btn-primary {
  background: var(--grad);
  color: #fff;
  box-shadow: 0 4px 20px rgba(247,65,143,.25);
}
.mntly-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(247,65,143,.35);
}
.mntly-btn-outline {
  background: transparent;
  color: var(--t1);
  border: 1px solid var(--border-accent);
}
.mntly-btn-outline:hover {
  background: rgba(255,255,255,.04);
  border-color: rgba(255,255,255,.2);
}
.mntly-btn-lg { padding: 18px 40px; font-size: 17px; border-radius: var(--radius-lg); }

/* === Navigation === */
.mntly-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 0 24px;
  transition: all .3s;
}
.mntly-nav.scrolled {
  background: rgba(8,8,15,.92);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}
.mntly-nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.mntly-nav-logo {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 800;
  color: var(--t1);
  letter-spacing: -1px;
}
.mntly-nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.mntly-nav-links li {
  list-style: none;
  margin: 0;
  padding: 0;
}
.mntly-nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--t2);
  transition: color .2s;
  text-decoration: none;
}
.mntly-nav-links a:hover { color: var(--t1); }
.mntly-nav-cta {
  padding: 10px 24px;
  background: var(--grad);
  color: #fff !important;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 13px;
}
.mntly-nav-cta:hover { opacity: .9; }

/* === Hamburger === */
.mntly-hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.mntly-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--t1);
  margin: 5px 0;
  transition: all .3s;
  border-radius: 2px;
}

@media (max-width: 768px) {
  .mntly-hamburger { display: block; }
  .mntly-nav-links {
    display: none;
    position: absolute;
    top: 72px;
    left: 0; right: 0;
    background: rgba(8,8,15,.97);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 24px;
    gap: 20px;
    border-bottom: 1px solid var(--border);
  }
  .mntly-nav-links.open { display: flex; }
}

/* === Hero === */
.mntly-hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 72px;
}
.mntly-hero::before {
  content: '';
  position: absolute;
  top: -40%; left: -20%;
  width: 80%; height: 80%;
  background: radial-gradient(ellipse, rgba(247,65,143,.06) 0%, transparent 70%);
  pointer-events: none;
}
.mntly-hero::after {
  content: '';
  position: absolute;
  top: -20%; right: -20%;
  width: 60%; height: 60%;
  background: radial-gradient(ellipse, rgba(155,89,245,.05) 0%, transparent 70%);
  pointer-events: none;
}
.mntly-hero-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 80px 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.mntly-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--grad-subtle);
  border: 1px solid rgba(247,65,143,.2);
  padding: 6px 16px;
  border-radius: 40px;
  font-size: 12px;
  font-weight: 600;
  color: var(--pink);
  margin-bottom: 24px;
}
.mntly-hero-title {
  font-family: var(--font-display);
  font-size: clamp(40px, 6vw, 64px);
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--t1);
  line-height: 1.08;
  margin-bottom: 24px;
}
.mntly-hero-desc {
  font-size: 19px;
  color: var(--t3);
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 480px;
}
.mntly-hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }
.mntly-hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}
.mntly-hero-stat-num {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 800;
  color: var(--t1);
}
.mntly-hero-stat-label {
  font-size: 13px;
  color: var(--t3);
  margin-top: 2px;
}
/* Phone mockup */
.mntly-hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}
.mntly-phone {
  width: 280px;
  background: var(--bg-card);
  border-radius: 36px;
  border: 2px solid var(--border);
  padding: 12px;
  box-shadow: var(--shadow-card), var(--shadow-glow);
  position: relative;
}
.mntly-phone-screen {
  background: var(--bg-surface);
  border-radius: 26px;
  overflow: hidden;
  aspect-ratio: 9/18;
  position: relative;
}
.mntly-phone-notch {
  width: 100px;
  height: 28px;
  background: var(--bg-card);
  border-radius: 0 0 16px 16px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}
.mntly-phone-content { padding: 12px 16px; }
.mntly-phone-np {
  background: var(--bg-elevated);
  border-radius: 14px;
  padding: 14px;
  margin-bottom: 12px;
}
.mntly-phone-np-label {
  font-size: 10px;
  font-weight: 700;
  color: var(--green);
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 4px;
}
.mntly-phone-np-label::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--green);
  border-radius: 50%;
  animation: pulse-dot 2s ease infinite;
}
@keyframes pulse-dot { 0%,100% { opacity: 1; } 50% { opacity: .3; } }
.mntly-phone-np-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  color: var(--t1);
}
.mntly-phone-np-artist { font-size: 12px; color: var(--t3); }
.mntly-phone-tab-bar {
  display: flex;
  gap: 2px;
  margin-bottom: 12px;
  background: rgba(255,255,255,.03);
  border-radius: 10px;
  padding: 2px;
}
.mntly-phone-tab {
  flex: 1;
  text-align: center;
  padding: 7px 4px;
  font-size: 9px;
  font-weight: 600;
  color: var(--t3);
  border-radius: 8px;
}
.mntly-phone-tab.active {
  background: var(--bg-elevated);
  color: var(--t1);
}
.mntly-phone-card {
  background: var(--bg-elevated);
  border-radius: 12px;
  padding: 12px;
  margin-bottom: 8px;
}
.mntly-phone-input {
  width: 100%;
  background: rgba(255,255,255,.04);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 8px 10px;
  font-size: 11px;
  color: var(--t3);
  margin-bottom: 6px;
}
.mntly-phone-btn-sm {
  display: block;
  width: 100%;
  padding: 8px;
  background: var(--grad);
  border-radius: 8px;
  text-align: center;
  font-size: 11px;
  font-weight: 700;
  color: #fff;
}
/* Floating elements around phone */
.mntly-float {
  position: absolute;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 10px 14px;
  box-shadow: var(--shadow-card);
  animation: float 6s ease-in-out infinite;
}
.mntly-float-1 { top: 10%; right: -40px; animation-delay: 0s; }
.mntly-float-2 { bottom: 20%; left: -50px; animation-delay: 2s; }
.mntly-float-3 { top: 40%; left: -30px; animation-delay: 4s; }
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
.mntly-float-icon {
  width: 28px; height: 28px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  margin-bottom: 4px;
}
.mntly-float-text { font-size: 11px; font-weight: 600; color: var(--t1); white-space: nowrap; }
.mntly-float-sub { font-size: 9px; color: var(--t3); }

@media (max-width: 900px) {
  .mntly-hero-inner { grid-template-columns: 1fr; text-align: center; }
  .mntly-hero-desc { margin-left: auto; margin-right: auto; }
  .mntly-hero-btns { justify-content: center; }
  .mntly-hero-stats { justify-content: center; }
  .mntly-hero-visual { margin-top: 40px; }
  .mntly-float { display: none; }
}
@media (max-width: 480px) {
  .mntly-hero-inner { padding: 40px 16px; }
  .mntly-hero-title { font-size: 32px; }
  .mntly-hero-desc { font-size: 15px; }
  .mntly-section { padding: 48px 0; }
  .mntly-section-title { font-size: 24px; }
  .mntly-section-desc { font-size: 14px; max-width: 100%; }
  .mntly-wrap { padding: 0 16px; }
  .mntly-price-card { padding: 24px; }
  .mntly-price-name { font-size: 20px; }
  .mntly-price-amount { font-size: 42px; }
  .mntly-hero-stats { gap: 16px; flex-wrap: wrap; justify-content: center; }
  .mntly-hero-stat-num { font-size: 28px; }
  .mntly-hero-btns { flex-direction: column; align-items: center; }
  .mntly-btn { width: 100%; justify-content: center; }
  .mntly-btn-lg { padding: 14px 24px; font-size: 15px; }
  .mntly-demo-container { border-radius: var(--radius-md); }
  .mntly-demo-toolbar { padding: 10px 12px; }
  .mntly-demo-url { font-size: 10px; padding: 4px 10px; }
  .mntly-feature-card { padding: 20px; }
}

/* === Features === */
.mntly-features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 56px;
}
.mntly-feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: all .35s cubic-bezier(.4,0,.2,1);
  position: relative;
  overflow: hidden;
}
.mntly-feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--grad);
  opacity: 0;
  transition: opacity .3s;
}
.mntly-feature-card:hover {
  border-color: rgba(255,255,255,.1);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}
.mntly-feature-card:hover::before { opacity: 1; }
.mntly-feature-icon {
  width: 48px; height: 48px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 22px;
}
.mntly-feature-title {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--t1);
  margin-bottom: 8px;
}
.mntly-feature-desc { font-size: 14px; color: var(--t3); line-height: 1.65; }

@media (max-width: 900px) { .mntly-features-grid { grid-template-columns: 1fr; } }
@media (min-width: 601px) and (max-width: 900px) { .mntly-features-grid { grid-template-columns: repeat(2, 1fr); } }
.mntly-feature-card { overflow: hidden; }

/* === Demo === */
.mntly-demo-container {
  margin-top: 56px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-card), var(--shadow-glow);
  max-width: 100%;
}
.mntly-demo-toolbar {
  display: flex;
  align-items: center;
  padding: 14px 20px;
  background: var(--bg-elevated);
  border-bottom: 1px solid var(--border);
  gap: 12px;
}
.mntly-demo-dots { display: flex; gap: 6px; }
.mntly-demo-dots span {
  width: 10px; height: 10px;
  border-radius: 50%;
}
.mntly-demo-dots span:nth-child(1) { background: #FF5F57; }
.mntly-demo-dots span:nth-child(2) { background: #FEBC2E; }
.mntly-demo-dots span:nth-child(3) { background: #28C840; }
.mntly-demo-url {
  flex: 1;
  background: rgba(255,255,255,.04);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 6px 14px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--t3);
}
.mntly-demo-body {
  display: grid;
  grid-template-columns: 280px 1fr;
  min-height: 560px;
}
.mntly-demo-phone-wrap {
  padding: 32px 24px;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  border-right: 1px solid var(--border);
  background: rgba(0,0,0,.15);
}
.mntly-demo-phone {
  width: 240px;
  background: var(--bg-surface);
  border-radius: 28px;
  border: 2px solid var(--border);
  padding: 8px;
  box-shadow: 0 8px 32px rgba(0,0,0,.4);
}
.mntly-demo-phone-inner {
  background: var(--bg-deep);
  border-radius: 22px;
  overflow: hidden;
}
.mntly-demo-admin {
  padding: 32px;
  overflow-y: auto;
}
.mntly-demo-admin-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}
.mntly-demo-admin-title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--t1);
}
.mntly-demo-tab-btns {
  display: flex;
  gap: 4px;
  background: rgba(255,255,255,.03);
  border-radius: 10px;
  padding: 3px;
  margin-bottom: 20px;
}
.mntly-demo-tab-btn {
  padding: 8px 16px;
  border-radius: 8px;
  border: none;
  background: transparent;
  color: var(--t3);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all .2s;
}
.mntly-demo-tab-btn.active { background: var(--bg-elevated); color: var(--t1); }
.mntly-demo-request {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  background: var(--bg-elevated);
  border-radius: var(--radius-md);
  margin-bottom: 8px;
  border: 1px solid var(--border);
}
.mntly-demo-request-info { flex: 1; min-width: 0; }
.mntly-demo-request-song { font-weight: 600; font-size: 14px; color: var(--t1); }
.mntly-demo-request-meta { font-size: 12px; color: var(--t3); }
.mntly-demo-request-actions { display: flex; gap: 6px; }
.mntly-demo-action-btn {
  width: 32px; height: 32px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  transition: all .2s;
}
.mntly-demo-action-btn.approve { color: var(--green); }
.mntly-demo-action-btn.approve:hover { background: rgba(34,197,94,.15); border-color: var(--green); }
.mntly-demo-action-btn.decline { color: #ef4444; }
.mntly-demo-action-btn.decline:hover { background: rgba(239,68,68,.15); border-color: #ef4444; }

@media (max-width: 768px) {
  .mntly-demo-body { grid-template-columns: 1fr; }
  .mntly-demo-phone-wrap { border-right: none; border-bottom: 1px solid var(--border); padding: 24px 16px; }
  .mntly-demo-phone { width: 200px; }
  .mntly-demo-admin { padding: 16px; }
  .mntly-demo-admin-header { flex-wrap: wrap; gap: 8px; }
  .mntly-demo-admin-title { font-size: 16px; }
  .mntly-demo-tab-btn { padding: 6px 10px; font-size: 11px; }
  .mntly-demo-quickactions { grid-template-columns: repeat(2, 1fr) !important; }
  .mntly-demo-stats { grid-template-columns: repeat(2, 1fr) !important; }
}

/* === Pricing === */
.mntly-pricing-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 56px;
  max-width: 880px;
  margin-left: auto;
  margin-right: auto;
}
.mntly-price-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 40px;
  position: relative;
  transition: all .3s;
}
.mntly-price-card.featured {
  border-color: rgba(247,65,143,.3);
  box-shadow: 0 0 80px rgba(247,65,143,.08);
}
.mntly-price-card.featured::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--grad);
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
}
.mntly-price-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  margin-bottom: 16px;
}
.mntly-price-name {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 800;
  color: var(--t1);
  margin-bottom: 8px;
}
.mntly-price-desc { font-size: 14px; color: var(--t3); margin-bottom: 24px; }
.mntly-price-amount {
  font-family: var(--font-display);
  font-size: 56px;
  font-weight: 800;
  color: var(--t1);
  line-height: 1;
  margin-bottom: 4px;
}
.mntly-price-amount sup {
  font-size: 28px;
  vertical-align: super;
  color: var(--t3);
}
.mntly-price-period { font-size: 14px; color: var(--t3); margin-bottom: 32px; }
.mntly-price-features { list-style: none; margin-bottom: 32px; }
.mntly-price-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 8px 0;
  font-size: 14px;
  color: var(--t2);
}
.mntly-price-features li::before {
  content: '✓';
  color: var(--green);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}
.mntly-price-btn {
  display: block;
  width: 100%;
  padding: 16px;
  border-radius: var(--radius-md);
  text-align: center;
  font-weight: 700;
  font-size: 15px;
  border: none;
  cursor: pointer;
  transition: all .25s;
}
.mntly-price-card .mntly-btn-outline {
  background: rgba(255,255,255,.06);
  color: var(--t1);
  border: 1px solid rgba(255,255,255,.15);
}
.mntly-price-card .mntly-btn-outline:hover {
  background: rgba(255,255,255,.12);
  border-color: rgba(255,255,255,.3);
  transform: translateY(-2px);
}

@media (max-width: 680px) {
  .mntly-pricing-cards { grid-template-columns: 1fr; }
}

/* === Docs === */
.mntly-docs-grid {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 40px;
  margin-top: 56px;
}
.mntly-docs-nav {
  position: sticky;
  top: 96px;
  align-self: start;
}
.mntly-docs-nav a {
  display: block;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 500;
  color: var(--t3);
  transition: all .2s;
  margin-bottom: 2px;
}
.mntly-docs-nav a:hover, .mntly-docs-nav a.active {
  color: var(--t1);
  background: rgba(255,255,255,.04);
}
.mntly-docs-content h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--t1);
  margin: 40px 0 16px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}
.mntly-docs-content h3:first-child { margin-top: 0; border-top: none; padding-top: 0; }
.mntly-docs-content p { margin-bottom: 14px; font-size: 15px; line-height: 1.75; }
.mntly-docs-content code {
  background: var(--bg-elevated);
  padding: 2px 8px;
  border-radius: 6px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--pink);
}
.mntly-docs-content pre {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px;
  margin: 16px 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 1.7;
  color: var(--t2);
  max-width: 100%;
  word-break: break-word;
}
.mntly-docs-content ol, .mntly-docs-content ul {
  padding-left: 24px;
  margin-bottom: 16px;
}
.mntly-docs-content li { margin-bottom: 8px; font-size: 15px; }

@media (max-width: 768px) {
  .mntly-docs-grid { grid-template-columns: 1fr; gap: 20px; }
  .mntly-docs-nav { position: static; display: flex; flex-wrap: wrap; gap: 4px; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .mntly-docs-nav a { font-size: 11px; padding: 6px 10px; white-space: nowrap; }
  .mntly-docs-content h3 { font-size: 18px; }
  .mntly-docs-content p { font-size: 14px; }
  .mntly-docs-content pre { padding: 12px; font-size: 11px; }
  .mntly-docs-content code { font-size: 12px; word-break: break-all; }
  .mntly-docs-content li { font-size: 14px; }
  .mntly-docs-content ol, .mntly-docs-content ul { padding-left: 18px; }
}

/* === Footer === */
.mntly-footer {
  padding: 80px 0 40px;
  border-top: 1px solid var(--border);
}
.mntly-footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}
.mntly-footer-brand {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  color: var(--t1);
  margin-bottom: 12px;
}
.mntly-footer-tagline { font-size: 14px; color: var(--t3); max-width: 280px; }
.mntly-footer-heading {
  font-size: 12px;
  font-weight: 700;
  color: var(--t1);
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 16px;
}
.mntly-footer-links { list-style: none; }
.mntly-footer-links li { margin-bottom: 8px; }
.mntly-footer-links a { font-size: 14px; color: var(--t3); transition: color .2s; }
.mntly-footer-links a:hover { color: var(--t1); }
.mntly-footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  font-size: 13px;
  color: var(--t3);
}

@media (max-width: 768px) {
  .mntly-footer { padding: 48px 0 32px; }
  .mntly-footer-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .mntly-footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
}

/* === Scroll animations === */
.mntly-reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all .7s cubic-bezier(.4,0,.2,1);
}
.mntly-reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.mntly-reveal-delay-1 { transition-delay: .1s; }
.mntly-reveal-delay-2 { transition-delay: .2s; }
.mntly-reveal-delay-3 { transition-delay: .3s; }
.mntly-reveal-delay-4 { transition-delay: .4s; }
.mntly-reveal-delay-5 { transition-delay: .5s; }

/* === Grain overlay === */
body::after {
  content: '';
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.015'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 9999;
}

/* === Mobile Safety Net === */
@media (max-width: 768px) {
  /* Prevent ANY element from causing horizontal scroll */
  section, div, pre, code, table, img, iframe {
    max-width: 100% !important;
  }
  pre {
    white-space: pre-wrap !important;
    word-break: break-word !important;
  }
  /* Tighten all sections */
  .mntly-section { padding: 56px 0; }
  .mntly-features-grid { margin-top: 32px; gap: 12px; }
  .mntly-pricing-cards { margin-top: 32px; }
  .mntly-docs-grid { margin-top: 32px; }
  /* Demo container */
  .mntly-demo-container { margin-top: 32px; border-radius: var(--radius-md); }
}

/* ============================================================
   1.7.0: logo, launch bar, games, Big Screen, app
   ============================================================ */

/* Logo (app icon + wordmark) */
.mntly-nav-logo { display: inline-flex; align-items: center; gap: 10px; }
.mntly-logo-mark { width: 36px; height: 36px; border-radius: 9px; box-shadow: 0 0 0 1px rgba(255,255,255,.14), 0 6px 20px rgba(247,65,143,.25); flex: none; }
.mntly-logo-word { font-family: var(--font-display); font-weight: 800; letter-spacing: -1px; color: var(--t1); }
.mntly-footer-brand { display: flex; align-items: center; gap: 10px; }
.mntly-footer-brand .mntly-logo-mark { width: 32px; height: 32px; border-radius: 8px; }
.mntly-footer-app { display: inline-block; margin-top: 16px; font-size: 13px; font-weight: 600; color: var(--accent); }
.mntly-footer-app:hover { color: var(--accent-hover); }

/* Feature card text */
.mntly-feature-card h3 { font-family: var(--font-display); font-size: 18px; font-weight: 700; color: var(--t1); margin-bottom: 8px; line-height: 1.3; }
.mntly-feature-card p { font-size: 14px; color: var(--t3); line-height: 1.65; }
.mntly-tag-new { display: inline-block; font-family: var(--font-body); font-size: 10px; font-weight: 700; letter-spacing: .06em; color: #fff; background: var(--grad); padding: 2px 7px; border-radius: 4px; vertical-align: middle; }

/* Coming-soon bar (home page) */
.mntly-launch-bar {
  height: 44px;
  margin: 0 -24px;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  background: linear-gradient(100deg, rgba(255,107,53,.22), rgba(247,65,143,.22) 50%, rgba(155,89,245,.22));
  border-bottom: 1px solid rgba(255,255,255,.08);
  font-size: 14px;
  color: var(--t1);
  backdrop-filter: blur(16px);
}
.mntly-launch-pill { flex: none; font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #fff; background: var(--grad); padding: 4px 12px; border-radius: 999px; }
.mntly-launch-text { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mntly-launch-text strong { color: #fff; }
.mntly-launch-btn { flex: none; font-size: 13px; font-weight: 700; color: #fff; padding: 6px 14px; border-radius: 8px; border: 1px solid rgba(255,255,255,.3); transition: background .2s; }
.mntly-launch-btn:hover { background: rgba(255,255,255,.1); }
body.mntly-has-launch .mntly-hero { padding-top: 116px; }
@media (max-width: 768px) {
  .mntly-launch-bar { gap: 10px; font-size: 13px; justify-content: space-between; }
  .mntly-launch-pill { display: none; }
  .mntly-launch-text { white-space: normal; line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
  body.mntly-has-launch .mntly-nav-links { top: 116px; }
  .mntly-nav .mntly-launch-bar { max-width: none !important; width: calc(100% + 48px); }
}

/* Shared bits: live dot + score bars */
.mntly-live-dot { display: inline-flex; align-items: center; gap: 6px; font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); }
.mntly-live-dot::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(255,107,53,.25); animation: pulse-dot 2s ease infinite; }
.mntly-bar { height: 8px; border-radius: 8px; background: rgba(255,255,255,.08); overflow: hidden; }
.mntly-bar i { display: block; height: 100%; border-radius: 8px; background: linear-gradient(90deg, #FF6B35, #F7418F); box-shadow: 0 0 14px rgba(247,65,143,.6); }
.mntly-bar-alt i { background: linear-gradient(90deg, #F7418F, #9B59F5); box-shadow: 0 0 14px rgba(155,89,245,.6); }

/* Hero phone: team battle card */
.mntly-phone-battle { margin-top: 10px; background: var(--bg-elevated); border-radius: 12px; padding: 10px; border: 1px solid rgba(247,65,143,.2); }
.mntly-phone-battle-head { display: flex; justify-content: space-between; align-items: center; font-size: 10px; font-weight: 700; color: var(--t1); margin-bottom: 6px; }
.mntly-phone-battle-row { display: flex; justify-content: space-between; font-size: 11px; color: var(--t2); margin: 4px 0 3px; }
.mntly-phone-battle-row b { color: var(--t1); font-family: var(--font-display); }

/* Games & Big Screen section */
.mntly-games { overflow: hidden; }
.mntly-games::before { content: ''; position: absolute; right: -10%; top: 10%; width: 60%; height: 80%; background: radial-gradient(ellipse, rgba(155,89,245,.12), transparent 70%); pointer-events: none; }
.mntly-games-grid > * { min-width: 0; }
.mntly-games-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 56px; align-items: center; position: relative; }
.mntly-check-list { list-style: none; margin-top: 28px; display: grid; gap: 12px; }
.mntly-check-list li { position: relative; padding-left: 32px; font-size: 15px; color: var(--t3); line-height: 1.55; }
.mntly-check-list li strong { color: var(--t1); font-weight: 600; }
.mntly-check-list li::before { content: ''; position: absolute; left: 0; top: 2px; width: 20px; height: 20px; border-radius: 50%; background: var(--grad); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='12'/%3E%3C/svg%3E"); }
.mntly-check-list li::after { content: ''; position: absolute; left: 6px; top: 7px; width: 8px; height: 5px; border-left: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(-45deg); }

.mntly-tv { position: relative; }
.mntly-tv-screen {
  aspect-ratio: 16 / 10;
  border-radius: 18px;
  border: 10px solid #1C1C33;
  background:
    radial-gradient(ellipse at 15% 0%, rgba(255,107,53,.35), transparent 55%),
    radial-gradient(ellipse at 100% 100%, rgba(155,89,245,.4), transparent 55%),
    #0B0B17;
  box-shadow: 0 30px 90px rgba(155,89,245,.35), 0 0 0 1px rgba(255,255,255,.08);
  padding: 4% 4.5%;
  display: flex;
  flex-direction: column;
  gap: 4%;
  color: var(--t1);
  overflow: hidden;
}
.mntly-tv-stand { width: 22%; height: 14px; margin: 0 auto; background: #1C1C33; border-radius: 0 0 12px 12px; }
.mntly-tv-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.mntly-tv-title { font-family: var(--font-display); font-weight: 800; font-size: clamp(16px, 2.2vw, 26px); letter-spacing: -.02em; line-height: 1.1; }
.mntly-tv-sub { font-size: clamp(10px, 1vw, 12px); color: var(--t2); }
.mntly-tv-np { display: inline-flex; align-items: center; gap: 8px; font-size: clamp(9px, .9vw, 11px); color: var(--t2); background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); padding: 5px 10px; border-radius: 999px; white-space: nowrap; }
.mntly-tv-np .mntly-live-dot { font-size: 0; gap: 0; }
.mntly-tv-body { flex: 1; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); grid-template-rows: minmax(0, 1fr); gap: 4%; min-height: 0; }
.mntly-tv-photo { border-radius: 12px; background: linear-gradient(135deg, rgba(255,107,53,.35), rgba(247,65,143,.25), rgba(155,89,245,.35)); display: flex; align-items: center; justify-content: center; min-height: 0; }
.mntly-tv-photo { overflow: hidden; }
.mntly-tv-polaroid { height: 86%; max-width: 78%; aspect-ratio: 0.86; background: #fff; padding: 5% 5% 0; border-radius: 3px; transform: rotate(-4deg); box-shadow: 0 12px 30px rgba(0,0,0,.45); display: flex; flex-direction: column; }
.mntly-tv-polaroid-img { flex: 1; min-height: 0; background: radial-gradient(circle at 35% 35%, #FFB38A, #F7418F 55%, #6B3FD1); border-radius: 2px; }
.mntly-tv-polaroid-cap { font-size: clamp(7px, .8vw, 11px); color: #333; text-align: center; padding: 4px 0 6px; font-style: italic; white-space: nowrap; }
.mntly-tv-side { display: flex; flex-direction: column; justify-content: center; gap: 8px; min-height: 0; overflow: hidden; }
.mntly-tv-card { background: rgba(19,19,37,.75); border: 1px solid rgba(255,255,255,.1); border-radius: 10px; padding: 8px 10px; font-size: clamp(8px, .85vw, 12px); line-height: 1.35; }
.mntly-tv-card .mntly-phone-battle-row { font-size: inherit; margin: 2px 0; }
.mntly-tv-card .mntly-bar { height: 6px; margin-bottom: 4px; }
.mntly-tv-card-label { font-size: .8em; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); margin-bottom: 4px; }
.mntly-tv-poll-q { font-weight: 700; margin-bottom: 3px; }
.mntly-tv-poll-row { display: flex; justify-content: space-between; color: var(--t2); }
.mntly-tv-poll-row b { color: var(--t1); }
.mntly-tv-next { color: var(--t2); }
.mntly-tv-upnext { color: #fff; font-weight: 700; margin-right: 14px; padding-right: 14px; border-right: 1px solid rgba(255,255,255,.15); }
.mntly-tv-ticker { font-size: clamp(8px, .85vw, 11px); color: var(--t2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; border-top: 1px solid rgba(255,255,255,.08); padding-top: 2%; }

@media (max-width: 900px) {
  .mntly-games-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .mntly-tv-screen { border-width: 6px; }
}
@media (max-width: 600px) {
  .mntly-tv-screen { aspect-ratio: 4 / 3.4; padding: 14px; gap: 10px; }
  .mntly-tv-side { gap: 6px; }
  .mntly-tv-card { padding: 6px 8px; font-size: 10px; }
  .mntly-tv-ticker { font-size: 9px; }
}

/* App section */
.mntly-app-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: 920px; margin: 48px auto 0; }
.mntly-app-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 36px; display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.mntly-app-card.featured { border-color: rgba(247,65,143,.3); background: linear-gradient(180deg, rgba(247,65,143,.08), rgba(19,19,37,1) 60%); box-shadow: var(--shadow-glow); }
.mntly-app-card h3 { font-family: var(--font-display); font-size: 22px; font-weight: 700; color: var(--t1); }
.mntly-app-card p { font-size: 15px; color: var(--t3); line-height: 1.65; flex: 1; }
.mntly-app-icon { width: 56px; height: 56px; border-radius: 14px; display: flex; align-items: center; justify-content: center; color: #fff; background: var(--grad); }
.mntly-app-logo { width: 56px; height: 56px; border-radius: 14px; box-shadow: 0 0 0 1px rgba(255,255,255,.14), 0 8px 24px rgba(247,65,143,.35); }
@media (max-width: 768px) {
  .mntly-app-cards { grid-template-columns: 1fr; margin-top: 32px; }
  .mntly-app-card { padding: 24px; }
}

/* ============================================================
   1.8.0: per-event pricing + event packs
   ============================================================ */
.mntly-price-soon { font-family: var(--font-display); font-size: 30px !important; font-weight: 800; color: var(--t1); letter-spacing: -.02em; line-height: 1.2; }
.mntly-price-btn[disabled] { opacity: .55; cursor: not-allowed; transform: none !important; box-shadow: none !important; }
.mntly-price-btn-ghost { width: 100%; padding: 16px; border-radius: 12px; font-weight: 700; font-size: 15px; cursor: pointer; background: rgba(255,255,255,.08); color: #f0f0f5; border: 1px solid rgba(255,255,255,.15); transition: all .25s; font-family: inherit; }
.mntly-price-btn-ghost:hover:not([disabled]) { background: rgba(255,255,255,.12); }
.mntly-packs { max-width: 880px; margin: 32px auto 0; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-xl); padding: 28px; }
.mntly-packs-head { margin-bottom: 18px; }
.mntly-packs-title { font-family: var(--font-display); font-size: 22px; font-weight: 800; color: var(--t1); }
.mntly-packs-sub { font-size: 14px; color: var(--t3); }
.mntly-packs-grid { display: grid; gap: 12px; }
.mntly-pack { display: grid; grid-template-columns: minmax(0, 1fr) auto 200px; align-items: center; gap: 20px; background: var(--bg-elevated); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 16px 20px; }
.mntly-pack-name { font-family: var(--font-display); font-size: 18px; font-weight: 700; color: var(--t1); }
.mntly-pack-meta { font-size: 13px; color: var(--t3); }
.mntly-pack-price { font-family: var(--font-display); font-size: 28px; font-weight: 800; color: var(--t1); white-space: nowrap; }
.mntly-pack-price .mntly-price-soon { font-size: 16px !important; color: var(--t2); }
.mntly-pack .mntly-price-btn-ghost { padding: 12px 16px; }
@media (max-width: 680px) {
  .mntly-packs { padding: 20px; }
  .mntly-pack { grid-template-columns: minmax(0, 1fr) auto; }
  .mntly-pack .mntly-price-btn { grid-column: 1 / -1; }
}

.mntly-tag-dj { display: inline-block; font-family: var(--font-body); font-size: 10px; font-weight: 700; letter-spacing: .06em; color: var(--t1); background: rgba(155,89,245,.25); border: 1px solid rgba(155,89,245,.5); padding: 1px 7px; border-radius: 4px; vertical-align: middle; }

/* 1.8.2: hero phone photos + DJ side note */
.mntly-phone-photos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; margin-bottom: 8px; }
.mntly-phone-photos div { aspect-ratio: 1; border-radius: 6px; }
.mntly-phone-note { font-size: 11px; color: var(--t1); background: var(--bg-elevated); border-radius: 10px; padding: 8px 10px; border-left: 2px solid var(--pink); }
.mntly-phone-note span { display: block; font-size: 9px; color: var(--t3); margin-top: 2px; }
.mntly-dj-note { max-width: 880px; margin: 24px auto 0; display: flex; gap: 16px; align-items: flex-start; background: rgba(155,89,245,.07); border: 1px dashed rgba(155,89,245,.4); border-radius: var(--radius-lg); padding: 20px 24px; }
.mntly-dj-note-icon { flex: none; width: 44px; height: 44px; border-radius: 12px; display: flex; align-items: center; justify-content: center; color: #fff; background: linear-gradient(135deg, #9B59F5, #F7418F); }
.mntly-dj-note-title { font-family: var(--font-display); font-size: 17px; font-weight: 700; color: var(--t1); margin-bottom: 4px; }
.mntly-dj-note-text { font-size: 14px; color: var(--t3); line-height: 1.6; }
