/* ── Reset & tokens ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:           #0f172a;
  --surface:      #1e293b;
  --surface2:     #162032;
  --border:       #334155;
  --text:         #f1f5f9;
  --muted:        #94a3b8;
  --dim:          #64748b;
  --accent:       #f97316;
  --accent-dark:  #ea580c;
  --green:        #4ade80;
  --amber:        #f59e0b;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", "Segoe UI", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}

/* ── Nav ── */
.mn-nav {
  position: sticky; top: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 48px; height: 64px;
  background: rgba(15,23,42,.88); backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(51,65,85,.6);
}
.mn-logo {
  font-size: 17px; font-weight: 800; letter-spacing: -0.5px;
  color: var(--text); text-decoration: none;
}
.mn-logo span { color: var(--accent); }
.mn-logo-img { height: 30px; width: auto; display: inline-block; vertical-align: middle; margin-right: 8px; position: relative; top: -1px; }
.mn-nav-right { display: flex; align-items: center; gap: 12px; }

/* ── Buttons ── */
.mn-btn-primary {
  background: var(--accent); color: #fff; border: none;
  border-radius: 8px; padding: 9px 20px; font-size: 14px; font-weight: 600;
  cursor: pointer; font-family: inherit; text-decoration: none;
  display: inline-block; transition: opacity .15s;
}
.mn-btn-primary:hover { opacity: .88; }
.mn-btn-ghost {
  font-size: 14px; color: var(--muted); text-decoration: none;
  padding: 8px 12px; border-radius: 6px; transition: color .15s;
}
.mn-btn-ghost:hover { color: var(--text); }
.mn-btn-ghost-arrow {
  font-size: 14px; color: var(--muted); text-decoration: none;
  display: inline-flex; align-items: center; gap: 6px; transition: color .15s;
}
.mn-btn-ghost-arrow:hover { color: var(--text); }
.mn-btn-lg { padding: 13px 28px; font-size: 15px; font-weight: 700; }

/* ── Hero ── */
.mn-hero-section {
  position: relative; overflow: hidden;
  background: var(--bg);
}
#particles-js {
  position: absolute; inset: 0; z-index: 0;
}
.mn-hero {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1fr 1fr;
  align-items: center; gap: 48px;
  padding: 80px 48px 64px; min-height: calc(100vh - 64px);
  max-width: 1200px; margin: 0 auto;
}
.mn-badge {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 600; color: var(--accent);
  background: rgba(249,115,22,.1); border: 1px solid rgba(249,115,22,.25);
  border-radius: 20px; padding: 4px 12px; margin-bottom: 24px;
  letter-spacing: .4px; text-transform: uppercase;
}
.mn-badge-dot {
  width: 6px; height: 6px; background: var(--green); border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse { 0%,100% { opacity:1; } 50% { opacity:.3; } }
.mn-hero-title {
  font-size: clamp(32px, 4vw, 52px); font-weight: 800;
  letter-spacing: -1.5px; line-height: 1.1; color: var(--text); margin-bottom: 20px;
}
.mn-hero-title em { font-style: normal; color: var(--accent); }
.mn-hero-white { color: #fff; }
.mn-hero-tagline {
  font-size: 14px; font-weight: 500; letter-spacing: .6px; text-transform: uppercase;
  color: var(--dim); margin-bottom: 20px;
}
.mn-hero-sub {
  font-size: 16px; color: var(--muted); line-height: 1.7;
  max-width: 480px; margin-bottom: 32px;
}
.mn-hero-actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }

/* Hero canvas */
.mn-hero-visual {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 16px; overflow: hidden; height: 400px;
  position: relative; display: flex; align-items: center; justify-content: center;
}
.mn-hero-visual canvas { display: block; }

/* ── Section layout ── */
.mn-section {
  padding: 80px 48px; max-width: 1200px; margin: 0 auto;
}
.mn-section-alt {
  background: var(--surface2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.mn-eyebrow {
  font-size: 11px; font-weight: 700; letter-spacing: 1.5px;
  text-transform: uppercase; color: var(--accent); margin-bottom: 12px;
}
.mn-section-title {
  font-size: clamp(24px, 3vw, 36px); font-weight: 800;
  letter-spacing: -1px; color: var(--text); margin-bottom: 12px;
}
.mn-section-sub {
  font-size: 15px; color: var(--muted); line-height: 1.7;
  max-width: 560px; margin-bottom: 48px;
}

/* ── Steps ── */
.mn-steps { display: grid; grid-template-columns: repeat(3,1fr); gap: 32px; }
.mn-step-num {
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(249,115,22,.12); border: 1px solid rgba(249,115,22,.3);
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 700; color: var(--accent); margin-bottom: 16px;
}
.mn-step-title { font-size: 16px; font-weight: 700; color: var(--text); margin-bottom: 8px; }
.mn-step-body  { font-size: 14px; color: var(--muted); line-height: 1.7; }

/* ── Features ── */
.mn-features { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.mn-feature {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 12px; padding: 24px; transition: border-color .2s;
}
.mn-feature:hover { border-color: rgba(249,115,22,.4); }
.mn-feature-icon  { font-size: 22px; margin-bottom: 12px; }
.mn-feature-title { font-size: 15px; font-weight: 700; color: var(--text); margin-bottom: 8px; }
.mn-feature-body  { font-size: 13px; color: var(--muted); line-height: 1.7; }
.mn-inline-asterisk { color: #f87171; font-size: 0.6em; vertical-align: super; line-height: 0; }
.mn-features-sub { max-width: 720px; }
.mn-features-footnote { margin-top: 24px; font-size: 12px; color: var(--dim); }
.mn-features-footnote-star { color: #f87171; margin-right: 2px; }
.mn-feature-tag {
  display: inline-block; margin-top: 12px;
  font-size: 11px; font-weight: 600; color: var(--green);
  background: rgba(74,222,128,.08); border: 1px solid rgba(74,222,128,.2);
  padding: 2px 8px; border-radius: 20px; letter-spacing: .3px;
}

/* ── Enterprise ── */
.mn-enterprise-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.mn-enterprise-cards { display: flex; flex-direction: column; gap: 16px; }
.mn-ent-card {
  display: flex; gap: 16px; align-items: flex-start;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 12px; padding: 20px;
}
.mn-ent-icon {
  flex-shrink: 0; width: 40px; height: 40px; border-radius: 10px;
  background: rgba(249,115,22,.1); border: 1px solid rgba(249,115,22,.2);
  display: flex; align-items: center; justify-content: center; font-size: 18px;
}
.mn-ent-title { font-size: 14px; font-weight: 700; color: var(--text); margin-bottom: 4px; }
.mn-ent-body  { font-size: 13px; color: var(--muted); line-height: 1.6; }
.mn-enterprise-headline {
  font-size: clamp(22px, 2.5vw, 32px); font-weight: 800;
  letter-spacing: -0.8px; color: var(--text); line-height: 1.2; margin-bottom: 16px;
}
.mn-enterprise-headline em { font-style: normal; color: var(--amber); }
.mn-enterprise-body { font-size: 15px; color: var(--muted); line-height: 1.7; margin-bottom: 28px; }
.mn-enterprise-cta {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 600; color: var(--accent); text-decoration: none;
  border: 1px solid rgba(249,115,22,.3); border-radius: 8px; padding: 10px 18px;
  transition: background .15s, border-color .15s;
}
.mn-enterprise-cta:hover { background: rgba(249,115,22,.08); border-color: var(--accent); }

.mn-banks-sub { max-width: 800px; margin-bottom: 32px; }
.mn-why-wrap { position: relative; white-space: nowrap; }
.mn-why-link {
  color: var(--dim); font-size: inherit;
  text-decoration: underline; text-decoration-style: dashed;
  text-underline-offset: 3px; cursor: pointer;
  transition: color .15s;
}
.mn-why-link:hover { color: var(--muted); }
.mn-why-popover {
  display: none; position: absolute; left: 0; top: calc(100% + 8px);
  width: 340px; background: var(--surface); border: 1px solid var(--border);
  border-radius: 10px; padding: 16px; z-index: 200;
  font-size: 13px; color: var(--muted); line-height: 1.7;
  box-shadow: 0 8px 24px rgba(0,0,0,.4); white-space: normal;
}
.mn-why-popover strong { color: var(--text); font-weight: 600; display: block; margin-bottom: 6px; }
.mn-why-popover-extra { display: block; margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--border); color: var(--text); }
.mn-why-popover.open { display: block; }

/* ── Banks ── */
.mn-banks { display: flex; gap: 12px; flex-wrap: wrap; }
.mn-bank-pill {
  display: flex; align-items: center; gap: 8px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 8px; padding: 10px 16px; font-size: 13px; color: var(--muted);
}
.mn-bank-pill.supported { border-color: rgba(74,222,128,.3); color: var(--text); }
.mn-bank-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); }
.mn-bank-dot.soon { background: var(--amber); }
.mn-bank-tag {
  font-size: 10px; font-weight: 700; letter-spacing: .5px; text-transform: uppercase;
  color: var(--green); background: rgba(74,222,128,.1); border: 1px solid rgba(74,222,128,.2);
  padding: 1px 6px; border-radius: 10px;
}

/* ── Contact / Early access ── */
.mn-contact-wrap {
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start;
}
.mn-contact-perks { list-style: none; display: flex; flex-direction: column; gap: 12px; margin-top: 8px; }
.mn-contact-perks li {
  display: flex; align-items: center; gap: 10px;
  font-size: 14px; color: var(--muted);
}
.mn-perk-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); flex-shrink: 0; }

.mn-contact-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 16px; padding: 24px;
}

/* Form fields */
.mn-field { display: flex; flex-direction: column; gap: 4px; margin-bottom: 14px; }
.mn-field label {
  font-size: 13px; font-weight: 600; color: var(--text); letter-spacing: .2px;
}
.mn-label-opt { font-weight: 400; color: var(--dim); }
.mn-field input,
.mn-field textarea,
.mn-field select {
  background: var(--bg); border: 1px solid var(--border);
  border-radius: 8px; padding: 8px 12px;
  color: var(--text); font-size: 14px; font-family: inherit;
  transition: border-color .15s; resize: vertical;
  outline: none; width: 100%;
}
.mn-field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2364748b' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
  cursor: pointer;
}
.mn-field select option { background: var(--surface); color: var(--text); }
.mn-field input::placeholder,
.mn-field textarea::placeholder { color: var(--dim); }
.mn-field input:focus,
.mn-field textarea:focus,
.mn-field select:focus { border-color: var(--accent); }
.mn-field-err { font-size: 12px; color: #f87171; min-height: 16px; }
.mn-recaptcha-wrap { display: flex; justify-content: center; margin: 4px 0 12px; }
.mn-captcha-err { font-size: 12px; color: #f87171; text-align: center; margin-bottom: 16px; }
.mn-btn-submit { width: 100%; padding: 12px; font-size: 15px; border-radius: 8px; transition: opacity .2s; }
.mn-btn-submit:disabled { cursor: not-allowed; }

/* Form states */
.mn-form-err-banner {
  background: rgba(248,113,113,.1); border: 1px solid rgba(248,113,113,.3);
  border-radius: 8px; padding: 12px 16px; font-size: 13px; color: #fca5a5;
  margin-bottom: 20px;
}
.mn-form-success {
  text-align: center; padding: 48px 24px;
}
.mn-form-success-icon {
  width: 52px; height: 52px; background: rgba(74,222,128,.1);
  border: 1px solid rgba(74,222,128,.3); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; color: var(--green); margin: 0 auto 20px;
}
.mn-form-success-title { font-size: 18px; font-weight: 700; color: var(--text); margin-bottom: 8px; }
.mn-form-success-body  { font-size: 14px; color: var(--muted); }

/* ── Footer ── */
.mn-footer {
  border-top: 1px solid var(--border); padding: 24px 48px;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; color: var(--dim); gap: 6px;
}
.mn-footer span { display: inline-flex; align-items: center; gap: 4px; }
.mn-footer a { display: inline-flex; align-items: center; }
.mn-footer-ts-logo { height: 18px; width: auto; display: block; margin-left: 2px; }

/* ── Responsive ── */
@media (max-width: 900px) {
  .mn-nav { padding: 0 24px; }
  .mn-hero { grid-template-columns: 1fr; padding: 48px 24px; gap: 32px; min-height: auto; }
  .mn-hero-visual { height: 280px; width: 100%; }
  .mn-hero-visual canvas { width: 100% !important; height: 100% !important; }
  .mn-section { padding: 56px 24px; }
  .mn-steps { grid-template-columns: 1fr; gap: 24px; }
  .mn-features { grid-template-columns: 1fr 1fr; }
  .mn-enterprise-grid { grid-template-columns: 1fr; }
  .mn-contact-wrap { grid-template-columns: 1fr; gap: 32px; }
  .mn-cta-banner { padding: 56px 24px; }
  .mn-footer { flex-direction: column; gap: 12px; text-align: center; padding: 24px; }
}
@media (max-width: 540px) {
  .mn-features { grid-template-columns: 1fr; }
}
