/* Revio & Rezo marketing – shared landing components */

:root {
  --mf-navy: #1F1D1A;
  --mf-blue: #2F6E73;
  --mf-emerald: #4F7A5E;
  --mf-amber: #BD8F45;
  --mf-rose: #B45F54;
  --mf-bg: #F5F4F1;
  --mf-border: #E4E1DA;
  --mf-gradient: linear-gradient(135deg, #1F1D1A 28%, #2F6E73 100%);
  --mf-font-head: 'Outfit', sans-serif;
  --mf-font-body: 'Inter', sans-serif;
}

.mf-page { font-family: var(--mf-font-body); background: var(--mf-bg); color: #1A1815; }
.mf-container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }

/* Nav */
.mf-nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.9); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--mf-border);
}
.mf-nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 68px; gap: 16px;
}
.mf-brand {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--mf-font-head); font-weight: 800; font-size: 20px;
  color: var(--mf-navy); text-decoration: none;
}
.mf-brand-mark {
  width: 30px; height: 30px; border-radius: 8px;
  background: var(--mf-gradient); color: #fff;
  display: grid; place-items: center; font-size: 15px; font-weight: 800;
}
.mf-nav-links { display: flex; gap: 24px; align-items: center; }
.mf-nav-links a {
  color: #6E6A61; text-decoration: none; font-size: 14px; font-weight: 500;
}
.mf-nav-links a:hover { color: var(--mf-navy); }
.mf-nav-cta { display: flex; gap: 10px; align-items: center; }
.mf-btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--mf-font-head); font-weight: 600; font-size: 14px;
  padding: 11px 20px; border-radius: 10px; border: 1px solid transparent;
  cursor: pointer; text-decoration: none; transition: all .15s;
}
.mf-btn-primary { background: var(--mf-navy); color: #fff; }
.mf-btn-primary:hover { opacity: .92; transform: translateY(-1px); }
.mf-btn-secondary { background: #fff; color: #3C3A34; border-color: var(--mf-border); }
.mf-btn-secondary:hover { border-color: #9B978D; }
.mf-btn-ghost { background: transparent; color: #514E47; }
.mf-btn-lg { padding: 14px 26px; font-size: 16px; }
.mf-btn-sm { padding: 8px 14px; font-size: 13px; }

/* Hero */
.mf-hero { padding: 72px 0 56px; }
.mf-hero-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center;
}
.mf-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff; border: 1px solid var(--mf-border);
  padding: 6px 12px; border-radius: 999px; font-size: 13px; color: #514E47;
  margin-bottom: 20px;
}
.mf-eyebrow-dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--mf-emerald);
  box-shadow: 0 0 0 4px rgba(79,122,94,.15);
}
.mf-hero h1 {
  font-family: var(--mf-font-head); font-size: clamp(32px, 4.5vw, 48px);
  font-weight: 800; line-height: 1.12; letter-spacing: -.02em;
  color: var(--mf-navy); margin-bottom: 18px;
}
.mf-hero h1 .accent {
  background: var(--mf-gradient); -webkit-background-clip: text;
  background-clip: text; color: transparent;
}
.mf-lead { font-size: 18px; color: #514E47; line-height: 1.65; margin-bottom: 28px; max-width: 520px; }
.mf-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 24px; }
.mf-trust-row { display: flex; flex-wrap: wrap; gap: 20px; font-size: 13px; color: #6E6A61; }
.mf-trust-row span { display: inline-flex; align-items: center; gap: 6px; }

/* Dashboard mockup */
.mf-dash {
  background: #fff; border: 1px solid var(--mf-border); border-radius: 16px;
  box-shadow: 0 30px 80px -24px rgba(31,29,26,.2); overflow: hidden;
}
.mf-dash-bar {
  display: flex; align-items: center; gap: 8px; padding: 12px 16px;
  background: #F0EFEB; border-bottom: 1px solid var(--mf-border);
  font-size: 12px; color: #6E6A61;
}
.mf-dash-dot { width: 10px; height: 10px; border-radius: 50%; }
.mf-dash-body { padding: 20px; }
.mf-dash-title {
  font-family: var(--mf-font-head); font-weight: 700; font-size: 15px;
  margin-bottom: 16px; display: flex; justify-content: space-between; align-items: center;
}
.mf-live {
  font-size: 11px; font-weight: 600; color: var(--mf-emerald);
  background: #DCE7DE; padding: 3px 8px; border-radius: 999px;
}
.mf-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 16px; }
.mf-stat {
  background: #F0EFEB; border: 1px solid var(--mf-border); border-radius: 10px; padding: 12px;
}
.mf-stat-label { font-size: 10px; text-transform: uppercase; letter-spacing: .06em; color: #6E6A61; }
.mf-stat-val { font-family: var(--mf-font-head); font-size: 22px; font-weight: 700; color: var(--mf-navy); }
.mf-stat-sub { font-size: 11px; color: var(--mf-emerald); }
.mf-lead-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 12px; border: 1px solid var(--mf-border); border-radius: 10px;
  margin-bottom: 8px; font-size: 13px;
}
.mf-lead-row:hover { background: #F0EFEB; }
.mf-lead-name { font-weight: 600; color: var(--mf-navy); }
.mf-lead-meta { font-size: 12px; color: #6E6A61; }
.mf-pill {
  font-size: 11px; font-weight: 600; padding: 2px 8px; border-radius: 999px;
}
.mf-pill-sent { background: #DCE9EA; color: var(--mf-blue); }
.mf-pill-click { background: #DCE7DE; color: #355C42; }
.mf-pill-queued { background: #EEEDE9; color: #514E47; }

/* Sections */
.mf-section { padding: 72px 0; }
.mf-section-alt { background: #fff; }
.mf-section-head { text-align: center; max-width: 640px; margin: 0 auto 48px; }
.mf-label {
  display: inline-block; color: var(--mf-blue); font-weight: 600;
  font-size: 12px; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 12px;
}
.mf-section-head h2 {
  font-family: var(--mf-font-head); font-size: clamp(26px, 3vw, 36px);
  font-weight: 800; color: var(--mf-navy); margin-bottom: 12px; letter-spacing: -.02em;
}
.mf-section-head p { font-size: 17px; color: #514E47; line-height: 1.6; }

/* Lifecycle */
.mf-loop { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.mf-loop-card {
  border: 1px solid var(--mf-border); border-radius: 16px; padding: 24px;
  background: #fff; position: relative;
}
.mf-loop-card.highlight { border-color: var(--mf-blue); box-shadow: 0 0 0 3px #DCE9EA; }
.mf-loop-num {
  font-family: var(--mf-font-head); font-size: 12px; font-weight: 700;
  color: var(--mf-blue); margin-bottom: 8px;
}
.mf-loop-card h3 { font-family: var(--mf-font-head); font-size: 18px; margin-bottom: 8px; color: var(--mf-navy); }
.mf-loop-card p { font-size: 14px; color: #514E47; line-height: 1.55; }
.mf-product-tag {
  display: inline-block; margin-top: 12px; font-size: 12px; font-weight: 600;
  padding: 4px 10px; border-radius: 999px;
}
.mf-tag-revio { background: #DCE9EA; color: #2F6E73; }
.mf-tag-rezo { background: #EEEDE9; color: #514E47; }

/* Steps */
.mf-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.mf-step {
  text-align: center; padding: 28px 20px; border-radius: 14px;
  background: #fff; border: 1px solid var(--mf-border);
}
.mf-step-num {
  width: 40px; height: 40px; border-radius: 50%; background: var(--mf-navy); color: #fff;
  display: grid; place-items: center; font-family: var(--mf-font-head); font-weight: 700;
  margin: 0 auto 16px;
}
.mf-step h3 { font-family: var(--mf-font-head); font-size: 17px; margin-bottom: 8px; color: var(--mf-navy); }
.mf-step p { font-size: 14px; color: #6E6A61; }

/* Compare */
.mf-compare { width: 100%; border-collapse: collapse; font-size: 14px; background: #fff; border-radius: 14px; overflow: hidden; border: 1px solid var(--mf-border); }
.mf-compare th, .mf-compare td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--mf-border); }
.mf-compare th { background: #F0EFEB; font-weight: 600; color: var(--mf-navy); font-size: 13px; }
.mf-compare td:first-child { font-weight: 500; color: #3C3A34; }
.mf-compare .yes { color: #355C42; font-weight: 600; }
.mf-compare .no { color: #9B978D; }
.mf-compare .best { background: #EFF6FF; }

/* ROI stats band */
.mf-roi { background: var(--mf-navy); color: #fff; padding: 56px 0; }
.mf-roi-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.mf-roi-num { font-family: var(--mf-font-head); font-size: 40px; font-weight: 800; line-height: 1; margin-bottom: 6px; }
.mf-roi-label { font-size: 13px; color: rgba(255,255,255,.7); }

/* Pricing */
.mf-pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.mf-price-card {
  border: 1px solid var(--mf-border); border-radius: 16px; padding: 28px;
  background: #fff; display: flex; flex-direction: column; gap: 12px;
}
.mf-price-card.featured { border-color: var(--mf-blue); box-shadow: 0 0 0 3px #DCE9EA; }
.mf-price-badge { font-size: 11px; font-weight: 700; color: var(--mf-blue); text-transform: uppercase; letter-spacing: .06em; }
.mf-price-name { font-family: var(--mf-font-head); font-size: 20px; font-weight: 700; color: var(--mf-navy); }
.mf-price-amt { font-family: var(--mf-font-head); font-size: 36px; font-weight: 800; color: var(--mf-navy); }
.mf-price-amt small { font-size: 14px; font-weight: 400; color: #6E6A61; }
.mf-price-list { list-style: none; font-size: 14px; color: #514E47; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.mf-price-list li { display: flex; gap: 8px; align-items: flex-start; }
.mf-price-list .icon-check { color: var(--mf-emerald); flex-shrink: 0; margin-top: 2px; }

/* Login panel */
.mf-login-wrap {
  max-width: 420px; margin: 0 auto;
  background: #fff; border: 1px solid var(--mf-border); border-radius: 16px;
  padding: 32px; box-shadow: 0 20px 50px -20px rgba(31,29,26,.12);
}
.mf-login-wrap h3 { font-family: var(--mf-font-head); font-size: 22px; color: var(--mf-navy); margin-bottom: 6px; }
.mf-login-wrap .sub { font-size: 14px; color: #6E6A61; margin-bottom: 20px; }
.mf-field { margin-bottom: 14px; }
.mf-field label { display: block; font-size: 13px; font-weight: 500; margin-bottom: 6px; color: #3C3A34; }
.mf-field input {
  width: 100%; padding: 11px 12px; border: 1px solid var(--mf-border);
  border-radius: 10px; font-size: 15px; font-family: inherit;
}
.mf-field input:focus { outline: none; border-color: var(--mf-blue); }
.mf-msg { font-size: 13px; padding: 10px; border-radius: 8px; margin-top: 10px; display: none; }
.mf-msg.error { display: block; background: #FEF2F2; color: #991B1B; }
.mf-msg.ok { display: block; background: #F0FDF4; color: #166534; }
.mf-otp-row { display: none; margin-top: 16px; }
.mf-otp-row.show { display: block; }

/* CTA band */
.mf-cta-band {
  background: var(--mf-gradient); border-radius: 20px; padding: 48px 32px;
  text-align: center; color: #fff; margin: 0 24px;
}
.mf-cta-band h2 { font-family: var(--mf-font-head); font-size: 28px; font-weight: 800; margin-bottom: 10px; }
.mf-cta-band p { opacity: .9; max-width: 520px; margin: 0 auto 22px; font-size: 16px; }
.mf-cta-band .mf-btn { background: #fff; color: var(--mf-navy); }

/* Footer */
.mf-footer { background: var(--mf-navy); color: rgba(255,255,255,.75); padding: 48px 0 24px; }
.mf-footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 32px; }
.mf-footer h4 { color: #fff; font-size: 14px; margin-bottom: 12px; font-family: var(--mf-font-head); }
.mf-footer ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.mf-footer a { color: rgba(255,255,255,.7); text-decoration: none; font-size: 14px; }
.mf-footer a:hover { color: #fff; }
.mf-footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12); margin-top: 32px; padding-top: 20px;
  font-size: 13px; color: rgba(255,255,255,.5); text-align: center;
}

@media (max-width: 900px) {
  .mf-nav-links { display: none; }
  .mf-hero-grid, .mf-loop, .mf-steps, .mf-pricing, .mf-roi-grid { grid-template-columns: 1fr; }
  .mf-stats { grid-template-columns: repeat(2, 1fr); }
  .mf-footer-grid { grid-template-columns: 1fr 1fr; }
}
