/* ============================================================
       DESIGN TOKENS
    ============================================================ */
:root {
  --gold: #c9a84c;
  --gold-light: #e8c97a;
  --gold-dark: #9a7630;
  --navy: #0a1628;
  --navy-mid: #0f2040;
  --navy-light: #162d55;
  --slate: #1e3a5f;
  --text-muted: #8fa8c8;
  --text-body: #ccd9ea;
  --white: #ffffff;
  --card-bg: rgba(15, 32, 64, 0.85);
  --border: rgba(201, 168, 76, 0.18);
}

/* ============================================================
       BASE RESET
    ============================================================ */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
}

/* ============================================================
       .mmi-page — MAIN PARENT WRAPPER
    ============================================================ */
.mmi-page {
  font-family: "Georgia", "Times New Roman", serif;
  background: var(--navy);
  color: var(--text-body);
  overflow-x: hidden;
}

.mmi-page::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  opacity: 0.35;
}

.mmi-page > * {
  position: relative;
  z-index: 1;
}

.mmi-page ::-webkit-scrollbar {
  width: 6px;
}
.mmi-page ::-webkit-scrollbar-track {
  background: var(--navy);
}
.mmi-page ::-webkit-scrollbar-thumb {
  background: var(--gold-dark);
  border-radius: 3px;
}

/* ============================================================
       COMMON SHARED CLASSES
    ============================================================ */

/* typography */
.mmi-page .mmi-gold {
  color: var(--gold);
}
.mmi-page .mmi-gold-grad {
  background: linear-gradient(
    120deg,
    var(--gold-light),
    var(--gold),
    var(--gold-dark)
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* section layout */
.mmi-page .mmi-section {
  padding: 100px 0;
}
.mmi-page .mmi-section-eyebrow {
  font-family: sans-serif;
  font-size: 0.72rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}
.mmi-page .mmi-section-title {
  font-family: "Georgia", serif;
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 18px;
}
.mmi-page .mmi-section-sub {
  font-family: sans-serif;
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.8;
  max-width: 560px;
}
.mmi-page .mmi-title-line {
  width: 50px;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), transparent);
  margin-bottom: 20px;
}

/* eyebrow pill */
.mmi-page .mmi-eyebrow-pill {
  font-family: sans-serif;
  font-size: 0.75rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid var(--border);
  display: inline-block;
  padding: 6px 18px;
  border-radius: 50px;
  margin-bottom: 28px;
  background: rgba(201, 168, 76, 0.06);
}

/* shared card */
.mmi-page .mmi-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 30px;
  height: 100%;
  transition:
    transform 0.3s,
    box-shadow 0.3s,
    border-color 0.3s;
  position: relative;
  overflow: hidden;
}
.mmi-page .mmi-card::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold-dark), var(--gold-light));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s;
}
.mmi-page .mmi-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
  border-color: rgba(201, 168, 76, 0.3);
}
.mmi-page .mmi-card:hover::after {
  transform: scaleX(1);
}

/* shared icon box */
.mmi-page .mmi-icon-box {
  width: 52px;
  height: 52px;
  background: linear-gradient(
    135deg,
    rgba(201, 168, 76, 0.2),
    rgba(201, 168, 76, 0.05)
  );
  border: 1px solid var(--border);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--gold);
  margin-bottom: 20px;
}

/* shared buttons */
.mmi-page .mmi-btn {
  font-family: sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 14px 32px;
  border-radius: 8px;
  border: none;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s;
  cursor: pointer;
}
.mmi-page .mmi-btn-gold {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: var(--navy);
  box-shadow: 0 8px 30px rgba(201, 168, 76, 0.35);
}
.mmi-page .mmi-btn-gold:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 40px rgba(201, 168, 76, 0.5);
  color: var(--navy);
}
.mmi-page .mmi-btn-outline {
  background: transparent;
  color: var(--gold);
  border: 1.5px solid var(--gold);
}
.mmi-page .mmi-btn-outline:hover {
  background: rgba(201, 168, 76, 0.1);
  transform: translateY(-3px);
  color: var(--gold-light);
}

/* live dot */
.mmi-page .mmi-live-dot {
  width: 8px;
  height: 8px;
  background: #4caf82;
  border-radius: 50%;
  display: inline-block;
  margin-right: 6px;
  animation: mmiPulse 2s ease infinite;
}
@keyframes mmiPulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(76, 175, 130, 0.6);
  }
  50% {
    box-shadow: 0 0 0 6px rgba(76, 175, 130, 0);
  }
}

/* fade-up animation */
.mmi-page .mmi-fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}
.mmi-page .mmi-fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes mmiGridDrift {
  to {
    background-position: 60px 60px;
  }
}

/* ============================================================
       NAVBAR — .mmi-nav
    ============================================================ */
.mmi-page .mmi-nav {
  background: rgba(10, 22, 40, 0.96);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(16px);
  padding: 18px 0;
  transition: all 0.3s;
}
.mmi-page .mmi-nav.mmi-nav--scrolled {
  padding: 12px 0;
  box-shadow: 0 4px 40px rgba(0, 0, 0, 0.5);
}

.mmi-page .mmi-nav .mmi-nav__brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: "Georgia", serif;
  font-size: 1.35rem;
  color: var(--white) !important;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-decoration: none;
}
.mmi-page .mmi-nav .mmi-nav__brand-icon {
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--navy);
  flex-shrink: 0;
}
.mmi-page .mmi-nav .mmi-nav__brand-sub {
  font-size: 0.65rem;
  color: var(--text-muted);
  letter-spacing: 2px;
  text-transform: uppercase;
  display: block;
  font-family: sans-serif;
}
.mmi-page .mmi-nav .mmi-nav__link {
  color: var(--text-body) !important;
  font-family: sans-serif;
  font-size: 0.875rem;
  letter-spacing: 0.5px;
  padding: 6px 14px !important;
  transition: color 0.2s;
  text-decoration: none;
}
.mmi-page .mmi-nav .mmi-nav__link:hover {
  color: var(--gold) !important;
}
.mmi-page .mmi-nav .mmi-nav__cta {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
      -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
  font-family: sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 9px 5px;
  border-radius: 6px;
  border: none;
  transition:
    opacity 0.2s,
    transform 0.2s;
  text-decoration: none;
  display: inline-block;
}
.mmi-page .mmi-nav .mmi-nav__cta:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

/* ============================================================
       HERO — .mmi-hero
    ============================================================ */
.mmi-page .mmi-hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background:
    radial-gradient(
      ellipse 80% 60% at 60% 40%,
      rgba(201, 168, 76, 0.08) 0%,
      transparent 70%
    ),
    radial-gradient(
      ellipse 50% 50% at 10% 80%,
      rgba(22, 45, 85, 0.7) 0%,
      transparent 70%
    ),
    linear-gradient(170deg, var(--navy) 0%, var(--navy-mid) 50%, #071020 100%);
  padding: 140px 0 80px;
  overflow: hidden;
  position: relative;
}
.mmi-page .mmi-hero .mmi-hero__grid {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(201, 168, 76, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201, 168, 76, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  animation: mmiGridDrift 20s linear infinite;
}
.mmi-page .mmi-hero .mmi-hero__title {
  font-size: clamp(2.4rem, 5.5vw, 4.2rem);
  line-height: 1.12;
  color: var(--white);
  margin-bottom: 24px;
  font-family: "Georgia", serif;
  font-weight: 700;
}
.mmi-page .mmi-hero .mmi-hero__lead {
  font-family: sans-serif;
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text-muted);
  max-width: 520px;
  margin-bottom: 40px;
}
.mmi-page .mmi-hero .mmi-hero__trust {
  font-family: sans-serif;
  font-size: 0.8rem;
  color: var(--text-muted);
}
.mmi-page .mmi-hero .mmi-hero__trust span {
  margin-right: 20px;
}

#fx-pricing-widget-copyright { display: none;
}
/* hero right panel */
.mmi-page .mmi-hero .mmi-hero__panel {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 0;
  backdrop-filter: blur(20px);
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.5),
    inset 0 1px 0 rgba(201, 168, 76, 0.1);
  position: relative;
  overflow: hidden;
}
.mmi-page .mmi-hero .mmi-hero__panel::before {
  content: "";
  position: absolute;
  top: -60px;
  right: -60px;
  width: 200px;
  height: 200px;
  background: radial-gradient(
    circle,
    rgba(201, 168, 76, 0.12),
    transparent 70%
  );
  border-radius: 50%;
}
.mmi-page .mmi-hero .mmi-hero__panel-badge {
  font-family: sans-serif;
  font-size: 0.7rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
}
.mmi-page .mmi-hero .mmi-hero__panel-return {
  font-size: 3rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
  font-family: "Georgia", serif;
}
.mmi-page .mmi-hero .mmi-hero__panel-label {
  font-family: sans-serif;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 4px;
}
.mmi-page .mmi-hero .mmi-hero__panel-divider {
  border-color: var(--border);
  margin: 20px 0;
}
.mmi-page .mmi-hero .mmi-hero__panel-sec-label {
  font-family: sans-serif;
  font-size: 0.72rem;
  color: var(--text-muted);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.mmi-page .mmi-hero .mmi-hero__panel-status {
  font-family: sans-serif;
  font-size: 0.72rem;
  color: var(--text-muted);
}
.mmi-page .mmi-hero .mmi-hero__panel-status-val {
  font-family: sans-serif;
  font-size: 0.8rem;
  color: #4caf82;
  font-weight: 600;
  margin-top: 4px;
}
.mmi-page .mmi-hero .mmi-hero__panel-foot-label {
  font-family: sans-serif;
  font-size: 0.8rem;
  color: var(--text-muted);
}
.mmi-page .mmi-hero .mmi-hero__panel-foot-val {
  font-family: sans-serif;
  font-size: 0.8rem;
  color: var(--white);
  font-weight: 600;
  margin-top: 2px;
}
.mmi-page .mmi-hero .mmi-hero__panel-foot-green {
  font-family: sans-serif;
  font-size: 0.8rem;
  color: #4caf82;
  font-weight: 700;
  margin-top: 2px;
}

/* slot pills inside hero */
.mmi-page .mmi-hero .mmi-slot-pill {
  background: rgba(201, 168, 76, 0.1);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 10px 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}
.mmi-page .mmi-hero .mmi-slot-pill__name {
  font-family: sans-serif;
  font-size: 0.8rem;
  color: var(--text-body);
}
.mmi-page .mmi-hero .mmi-slot-pill__value {
  font-family: sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--gold);
}
.mmi-page .mmi-hero .mmi-slot-pill__badge {
  font-family: sans-serif;
  font-size: 0.65rem;
  background: rgba(201, 168, 76, 0.2);
  color: var(--gold);
  padding: 2px 8px;
  border-radius: 50px;
  letter-spacing: 1px;
}
.mmi-page .mmi-hero .mmi-slot-pill__badge--limited {
  background: rgba(255, 100, 100, 0.15);
  color: #f87171;
  border: 1px solid rgba(255, 100, 100, 0.25);
}

#tradingview_chart { height: 450px;}

/* ============================================================
       STATS BAR — .mmi-stats
    ============================================================ */
.mmi-page .mmi-stats {
  background: rgba(15, 32, 64, 0.9);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 0;
  backdrop-filter: blur(10px);
}
.mmi-page .mmi-stats .mmi-stats__item {
  text-align: center;
}
.mmi-page .mmi-stats .mmi-stats__num {
  font-size: 2rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
  font-family: "Georgia", serif;
}
.mmi-page .mmi-stats .mmi-stats__label {
  font-family: sans-serif;
  font-size: 0.75rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 6px;
}
.mmi-page .mmi-stats .mmi-stats__sep {
  width: 1px;
  background: var(--border);
  align-self: stretch;
  margin: 4px 0;
}

/* ============================================================
       ABOUT / AI FEATURES — .mmi-about
    ============================================================ */
.mmi-page .mmi-about {
  background: linear-gradient(180deg, var(--navy) 0%, var(--navy-mid) 100%);
}
.mmi-page .mmi-about .mmi-card .mmi-about__card-title {
  color: var(--white);
  font-size: 1.05rem;
  margin-bottom: 12px;
  font-family: "Georgia", serif;
}
.mmi-page .mmi-about .mmi-card .mmi-about__card-body {
  font-family: sans-serif;
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin: 0;
}

/* ============================================================
       INVESTMENT SLOTS — .mmi-slots
    ============================================================ */
.mmi-page .mmi-slots {
  background:
    radial-gradient(
      ellipse 70% 50% at 50% 0%,
      rgba(201, 168, 76, 0.06),
      transparent 70%
    ),
    linear-gradient(180deg, var(--navy-mid), var(--navy));
}
.mmi-page .mmi-slots .mmi-slot-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 32px 28px;
  text-align: center;
  transition: all 0.35s;
  position: relative;
  overflow: hidden;
  height: 100%;
}
.mmi-page .mmi-slots .mmi-slot-card--featured {
  border-color: var(--gold);
  background: linear-gradient(160deg, rgba(201, 168, 76, 0.1), var(--card-bg));
  box-shadow:
    0 0 0 1px var(--gold),
    0 20px 60px rgba(201, 168, 76, 0.2);
}
.mmi-page .mmi-slots .mmi-slot-card:not(.mmi-slot-card--featured):hover {
  transform: translateY(-6px);
  border-color: rgba(201, 168, 76, 0.4);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.mmi-page .mmi-slots .mmi-slot-card__badge {
  position: absolute;
  top: 0;
  right: 24px;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: var(--navy);
  font-family: sans-serif;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 0 0 10px 10px;
}
.mmi-page .mmi-slots .mmi-slot-card__level {
  font-family: sans-serif;
  font-size: 0.72rem;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}
.mmi-page .mmi-slots .mmi-slot-card__amount {
  font-size: 2rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 4px;
  font-family: "Georgia", serif;
}
.mmi-page .mmi-slots .mmi-slot-card__return {
  font-family: sans-serif;
  font-size: 0.85rem;
  color: #4caf82;
  margin-bottom: 24px;
}
.mmi-page .mmi-slots .mmi-slot-card__divider {
  border-color: var(--border);
  margin: 20px 0;
}
.mmi-page .mmi-slots .mmi-slot-card__feature {
  font-family: sans-serif;
  font-size: 0.8rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  text-align: left;
}
.mmi-page .mmi-slots .mmi-slot-card__feature i {
  color: var(--gold);
  width: 14px;
}

.mmi-page .mmi-slots .mmi-slot-btn {
  width: 100%;
  padding: 12px;
  border-radius: 8px;
  font-family: sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: all 0.3s;
  text-decoration: none;
  display: block;
  margin-top: 24px;
}
.mmi-page .mmi-slots .mmi-slot-btn--gold {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: var(--navy);
}
.mmi-page .mmi-slots .mmi-slot-btn--gold:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  color: var(--navy);
}
.mmi-page .mmi-slots .mmi-slot-btn--outline {
  background: transparent;
  border: 1.5px solid var(--border);
  color: var(--text-body);
}
.mmi-page .mmi-slots .mmi-slot-btn--outline:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.mmi-page .mmi-slots .mmi-slots__disclaimer {
  font-family: sans-serif;
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* ============================================================
       TOP FUNDS — .mmi-funds
    ============================================================ */
.mmi-page .mmi-funds {
  background: linear-gradient(180deg, var(--navy), var(--navy-mid));
      border-radius: 15px;
}

.mmi-page .mmi-funds .mmi-funds__table-wrap {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
}
.mmi-page .mmi-funds .mmi-funds__table {
  margin: 0;
}
.mmi-page .mmi-funds .mmi-funds__table thead tr {
  background: rgba(201, 168, 76, 0.08);
  border-bottom: 1px solid var(--border);
}
.mmi-page .mmi-funds .mmi-funds__table thead th {
  font-family: sans-serif;
  font-size: 0.72rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  padding: 16px 20px;
  border: none;
  font-weight: 600;
}
.mmi-page .mmi-funds .mmi-funds__table tbody tr {
  border-bottom: 1px solid var(--border);
  transition: background 0.2s;
}
.mmi-page .mmi-funds .mmi-funds__table tbody tr:last-child {
  border: none;
}
.mmi-page .mmi-funds .mmi-funds__table tbody tr:hover {
  background: rgba(201, 168, 76, 0.04);
}
.mmi-page .mmi-funds .mmi-funds__table tbody td {
  font-family: sans-serif;
  font-size: 0.875rem;
  color: var(--text-body);
  padding: 16px 20px;
  border: none;
  vertical-align: middle;
}
.mmi-page .mmi-funds .mmi-funds__table .mmi-funds__fund-name {
  color: var(--white);
  font-weight: 600;
}
.mmi-page .mmi-funds .mmi-funds__table .mmi-funds__return-val {
  color: #4caf82;
  font-weight: 700;
}
.mmi-page .mmi-funds .mmi-funds__table .mmi-funds__risk-badge {
  font-size: 0.68rem;
  padding: 3px 10px;
  border-radius: 50px;
  font-family: sans-serif;
  background: rgba(201, 168, 76, 0.12);
  color: var(--gold);
  letter-spacing: 0.5px;
  border: 1px solid var(--border);
  white-space: nowrap;
}

/* ============================================================
       HOW IT WORKS — .mmi-how
    ============================================================ */
.mmi-page .mmi-how {
  background: linear-gradient(180deg, var(--navy-mid), var(--navy));
}

.mmi-page .mmi-how .mmi-how__step {
  position: relative;
  display: flex;
  gap: 28px;
  margin-bottom: 40px;
}
.mmi-page .mmi-how .mmi-how__step:last-child {
  margin-bottom: 0;
}
.mmi-page .mmi-how .mmi-how__step-num {
  font-size: 3.5rem;
  font-weight: 700;
  color: rgba(201, 168, 76, 0.12);
  font-family: "Georgia", serif;
  min-width: 60px;
  line-height: 1;
  flex-shrink: 0;
}
.mmi-page .mmi-how .mmi-how__step-title {
  color: var(--white);
  margin-bottom: 8px;
  font-size: 1rem;
  font-family: "Georgia", serif;
}
.mmi-page .mmi-how .mmi-how__step-body {
  font-family: sans-serif;
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin: 0;
}

.mmi-page .mmi-how .mmi-how__checklist-panel {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 36px;
}
.mmi-page .mmi-how .mmi-how__checklist-title {
  color: var(--white);
  margin-bottom: 28px;
  font-size: 1.2rem;
  font-family: "Georgia", serif;
}
.mmi-page .mmi-how .mmi-how__check-item {
  display: flex;
  gap: 16px;
  margin-bottom: 28px;
}
.mmi-page .mmi-how .mmi-how__check-item:last-child {
  margin-bottom: 0;
}
.mmi-page .mmi-how .mmi-how__check-icon {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  background: rgba(201, 168, 76, 0.1);
  border: 1px solid var(--border);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: var(--gold);
}
.mmi-page .mmi-how .mmi-how__check-title {
  color: var(--white);
  margin-bottom: 4px;
  font-size: 0.95rem;
  font-family: "Georgia", serif;
}
.mmi-page .mmi-how .mmi-how__check-body {
  font-family: sans-serif;
  font-size: 0.83rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.6;
}

/* ============================================================
       COMMISSION / PLANS — .mmi-commission
    ============================================================ */
.mmi-page .mmi-commission {
  background:
    radial-gradient(
      ellipse 80% 50% at 50% 100%,
      rgba(201, 168, 76, 0.05),
      transparent 70%
    ),
    var(--navy);
}
.mmi-page .mmi-commission .mmi-comm-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 40px;
  text-align: center;
  height: 100%;
  transition: all 0.3s;
}
.mmi-page .mmi-commission .mmi-comm-card:hover {
  transform: translateY(-6px);
  border-color: rgba(201, 168, 76, 0.3);
}
.mmi-page .mmi-commission .mmi-comm-card--featured {
  border-color: var(--gold);
  box-shadow: 0 0 40px rgba(201, 168, 76, 0.15);
}

.mmi-page .mmi-commission .mmi-comm-card__icon-wrap {
  width: 70px;
  height: 70px;
  background: linear-gradient(
    135deg,
    rgba(201, 168, 76, 0.2),
    rgba(201, 168, 76, 0.05)
  );
  border-radius: 50%;
  margin: 0 auto 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: var(--gold);
  border: 1px solid var(--border);
}
.mmi-page .mmi-commission .mmi-comm-card--featured .mmi-comm-card__icon-wrap {
  background: linear-gradient(
    135deg,
    rgba(201, 168, 76, 0.35),
    rgba(201, 168, 76, 0.1)
  );
}

.mmi-page .mmi-commission .mmi-comm-card__title {
  color: var(--white);
  margin-bottom: 8px;
  font-family: "Georgia", serif;
}
.mmi-page .mmi-commission .mmi-comm-card__price {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 6px;
  font-family: "Georgia", serif;
}
.mmi-page .mmi-commission .mmi-comm-card__duration {
  font-family: sans-serif;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}
.mmi-page .mmi-commission .mmi-comm-card__divider {
  border-color: var(--border);
  margin: 20px 0;
}
.mmi-page .mmi-commission .mmi-comm-card__feature {
  font-family: sans-serif;
  font-size: 0.85rem;
  color: var(--text-muted);
  display: flex;
  align-items: flex-start;
  gap: 10px;
  text-align: left;
  margin-bottom: 12px;
}
.mmi-page .mmi-commission .mmi-comm-card__feature i {
  color: var(--gold);
  margin-top: 2px;
  flex-shrink: 0;
}

.mmi-page .mmi-commission .mmi-comm-btn {
  width: 100%;
  padding: 12px;
  border-radius: 8px;
  font-family: sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: all 0.3s;
  text-decoration: none;
  display: block;
  margin-top: 24px;
}
.mmi-page .mmi-commission .mmi-comm-btn--gold {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: var(--navy);
}
.mmi-page .mmi-commission .mmi-comm-btn--gold:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  color: var(--navy);
}
.mmi-page .mmi-commission .mmi-comm-btn--outline {
  background: transparent;
  border: 1.5px solid var(--border);
  color: var(--text-body);
}
.mmi-page .mmi-commission .mmi-comm-btn--outline:hover {
  border-color: var(--gold);
  color: var(--gold);
}

/* ============================================================
       CTA BANNER — .mmi-cta
    ============================================================ */
.mmi-page .mmi-cta {
  background: linear-gradient(
    135deg,
    rgba(201, 168, 76, 0.12) 0%,
    rgba(22, 45, 85, 0.4) 50%,
    rgba(201, 168, 76, 0.08) 100%
  );
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 100px 0;
  text-align: center;
}
.mmi-page .mmi-cta .mmi-cta__title {
  color: var(--white);
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 20px;
  font-family: "Georgia", serif;
  font-weight: 700;
}
.mmi-page .mmi-cta .mmi-cta__sub {
  font-family: sans-serif;
  color: var(--text-muted);
  font-size: 1rem;
  max-width: 560px;
  margin: 0 auto 40px;
  line-height: 1.8;
}

/* ============================================================
       FOOTER — .mmi-footer
    ============================================================ */
.mmi-page .mmi-footer {
  background: #070f1e;
  border-top: 1px solid var(--border);
  padding: 60px 0 30px;
}

.mmi-page .mmi-footer .mmi-footer__brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.mmi-page .mmi-footer .mmi-footer__brand-icon {
  width: 38px;
  height: 38px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: var(--navy);
}
.mmi-page .mmi-footer .mmi-footer__brand-name {
  font-family: "Georgia", serif;
  font-size: 1.1rem;
  color: var(--white);
  font-weight: 700;
}
.mmi-page .mmi-footer .mmi-footer__desc {
  font-family: sans-serif;
  font-size: 0.83rem;
  color: var(--text-muted);
  line-height: 1.7;
}
.mmi-page .mmi-footer .mmi-footer__disclaimer {
  background: rgba(201, 168, 76, 0.05);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px 18px;
  font-family: sans-serif;
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-top: 16px;
}
.mmi-page .mmi-footer .mmi-footer__col-heading {
  font-family: sans-serif;
  font-size: 0.72rem;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
}
.mmi-page .mmi-footer .mmi-footer__link {
  font-family: sans-serif;
  font-size: 0.83rem;
  color: var(--text-muted);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  transition: color 0.2s;
}
.mmi-page .mmi-footer .mmi-footer__link:hover {
  color: var(--gold);
}
.mmi-page .mmi-footer .mmi-footer__link i {
  width: 14px;
}
.mmi-page .mmi-footer .mmi-footer__social-link {
  color: var(--text-muted);
  font-size: 1.1rem;
  transition: color 0.2s;
  text-decoration: none;
}
.mmi-page .mmi-footer .mmi-footer__social-link:hover {
  color: var(--gold);
}
.mmi-page .mmi-footer .mmi-footer__bottom {
  border-top: 1px solid var(--border);
  margin-top: 40px;
  padding-top: 24px;
  font-family: sans-serif;
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* Fallback: show content if JS never fires the observer */
@media (prefers-reduced-motion: reduce) {
  .mmi-page .mmi-fade-up {
    opacity: 1;
    transform: none;
  }
}

.mmi-page .mmi-fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}

/* Add this safety timeout via animation */
.mmi-page .mmi-fade-up {
  animation: mmiFallbackShow 0s 2s forwards;
}

@keyframes mmiFallbackShow {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* VALIDATION */
.mmi-auth__input.error {
  border-color: #f87171;
}

.mmi-auth__error {
  font-size: 0.75rem;
  color: #f87171;
  margin-top: 4px;
  display: none;
}

.mmi-auth__input.success {
  border-color: #4caf82;
}

/* ================= AUTH (LOGIN + REGISTER) ================= */
.mmi-auth,
.mmi-register {
  background: linear-gradient(180deg, var(--navy-mid), var(--navy));
}

.mmi-auth__card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 40px;
  backdrop-filter: blur(10px);
}

.mmi-auth__group {
  margin-bottom: 20px;
}

.mmi-auth__group label {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 6px;
  display: block;
}

.mmi-auth__input {
  width: 100%;
  padding: 12px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--white);
}

.mmi-auth__input:focus {
  border-color: var(--gold);
  outline: none;
}

.mmi-auth__link {
  font-size: 0.8rem;
  color: var(--gold);
  text-decoration: none;
}

/* ================= USER PANEL ================= */
.mmi-user {
  background: linear-gradient(180deg, var(--navy), var(--navy-mid));
}

/* ================= USER PANEL ================= */

.mmi-user {
  background: linear-gradient(180deg, var(--navy), var(--navy-mid));
}

/* Sidebar */
.mmi-user__sidebar {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 20px;
  position: sticky;
  height: 100%;
  top: 100px;
}

.mmi-user__link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px;
  border-radius: 8px;
  color: var(--text-muted);
  text-decoration: none;
  transition: var(--transition);
}

.mmi-user__link:hover {
  background: rgba(255, 255, 255, 0.05);
  color: var(--white);
}

.mmi-user__link.active {
  background: rgba(255, 255, 255, 0.08);
  color: var(--gold);
}

/* Content */
.mmi-user__content {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 30px;
  height: 100%;
}




.mmi-auth__error {
    display: none;
    color: #dc3545;
    font-size: 12px;
    margin-top: 4px;
}

.mmi-auth__input.error {
    border-color: #dc3545 !important;
}

.mmi-auth__input.success {
    border-color: #28a745 !important;
}




/* User-panel CSS */
.mmi-user-home {
    color: #fff;
}

.mmi-user-home__title {
    margin-bottom: 25px;
}

.mmi-user-home__card {
    background: #111827;
    padding: 20px;
    border-radius: 12px;
}

.mmi-user-home__card:hover{
      transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
    border-color: rgba(201, 168, 76, 0.3);
}

.mmi-user-home__table {
    color: #ccc;
}

.mmi-user-home__table tr {
    cursor: pointer;
}

.mmi-user-pl {
    color: #fff;
}

.mmi-user-pl__card {
    background: #111827;
    padding: 20px;
    border-radius: 12px;
}


.mmi-user-funds {
    color: #fff;
}

.mmi-user-funds__card {
    background: #111827;
    padding: 25px;
    border-radius: 12px;
    max-width: 500px;
}

.mmi-user-funds__input {
    height: 55px;
    font-size: 18px;
}


.mmi-user-profile {
    color: #fff;
}

.mmi-user-profile__card {
    background: #111827;
    padding: 25px;
    border-radius: 12px;
    max-width: 600px;
}


.mmi-user-settings {
    color: #fff;
}

.mmi-user-settings__card {
    background: #111827;
    padding: 25px;
    border-radius: 12px;
    max-width: 500px;
}



/* PARENT */
.mmi-funds {
    color: #fff;
}

/* TABS */
.mmi-funds__tabs {
    display: flex;
    gap: 10px;
}

.mmi-funds__tab {
    padding: 8px 18px;
    cursor: pointer;
}

/* ACTIVE TAB */
.mmi-funds__tab.active {
    background: var(--gold);
    color: #000;
    border-color: var(--gold);
}

/* CARD */
.mmi-funds__card {
    background: #0f1c2e;
    padding: 30px;
    border-radius: 14px;
    max-width: 600px;
}

/* CONTENT SWITCH */
.mmi-funds__content {
    display: none;
}

.mmi-funds__content.active {
    display: block;
}



/* ============================================================
       RESPONSIVE
    ============================================================ */
@media (max-width: 768px) {
  .mmi-page .mmi-hero {
    padding: 120px 0 60px;
  }
  .mmi-page .mmi-hero .mmi-hero__panel {
    margin-top: 40px;
  }
  .mmi-page .mmi-stats .mmi-stats__sep {
    display: none;
  }
  .mmi-page .mmi-section {
    padding: 70px 0;
  }

  /* user-panel CSS */
  .mmi-user {
    background: linear-gradient(90deg, var(--navy), var(--navy-mid));
  }
  .mmi-user__content {
    margin: 15px 0 0;
  }
}
