/* Mateen homepage — Workspace planning / feasibility palette */

@import url("https://fonts.googleapis.com/css2?family=IBM+Plex+Sans+Arabic:wght@400;500;600;700&family=Outfit:wght@500;600;700;800&display=swap");

:root {
  --mf-paper: #f5f7fa;
  --mf-paper-2: #eef2f6;
  --mf-paper-3: #e4eaf1;
  --mf-ink: #1b2a3a;
  --mf-ink-soft: #2c3e50;
  --mf-muted: #5b6b7c;
  --mf-muted-2: #7a8a9a;
  --mf-line: rgba(27, 42, 58, 0.1);
  --mf-line-strong: rgba(27, 42, 58, 0.16);
  --mf-gold: #fec32e;
  --mf-gold-deep: #3b668e;
  --mf-gold-soft: #ffd24d;
  --mf-gold-glow: rgba(254, 195, 46, 0.35);
  --mf-brand: #3b668e;
  --mf-brand-soft: rgba(59, 102, 142, 0.12);
  --mf-footer: #152232;
  --mf-footer-deep: #0f1a24;
  --mf-white: #ffffff;
  --mf-shadow-sm: 0 1px 0 rgba(255, 255, 255, 0.9), 0 8px 24px rgba(27, 42, 58, 0.05);
  --mf-shadow-md:
    0 1px 0 rgba(255, 255, 255, 0.75) inset,
    0 12px 32px rgba(27, 42, 58, 0.07),
    0 40px 80px rgba(27, 42, 58, 0.08);
  --mf-shadow-lg:
    0 1px 0 rgba(255, 255, 255, 0.9) inset,
    0 20px 40px rgba(27, 42, 58, 0.08),
    0 56px 120px rgba(27, 42, 58, 0.1);
  --mf-font-ar: "IBM Plex Sans Arabic", system-ui, sans-serif;
  --mf-font-en: "Outfit", "IBM Plex Sans Arabic", sans-serif;
  --mf-ease: cubic-bezier(0.16, 1, 0.3, 1);
  --mf-space-1: 0.25rem;
  --mf-space-2: 0.5rem;
  --mf-space-3: 0.75rem;
  --mf-space-4: 1rem;
  --mf-space-5: 1.5rem;
  --mf-space-6: 2rem;
  --mf-space-7: 3rem;
  --mf-space-8: 4rem;
  --mf-nav-h: 72px;
  --mf-display: clamp(2.05rem, 4.6vw, 3.15rem);
  --mf-title: clamp(1.55rem, 2.8vw, 2.2rem);
  --mf-body: 1.0625rem;
  --mf-caption: 0.78rem;
}

/* ========== Body ========== */
body.landing-container.mateen-home-v2,
body.mateen-home-v2 {
  background: var(--mf-paper) !important;
  color: var(--mf-ink-soft) !important;
  font-family: var(--mf-font-ar) !important;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* ========== Editorial header ========== */
body.mateen-home-v2 .topHeader {
  position: sticky;
  top: 0;
  z-index: 80;
  min-height: var(--mf-nav-h);
  background: rgba(245, 247, 250, 0.9) !important;
  backdrop-filter: blur(18px) saturate(1.15);
  -webkit-backdrop-filter: blur(18px) saturate(1.15);
  border-bottom: 1px solid var(--mf-line);
  box-shadow: 0 1px 0 rgba(255, 252, 247, 0.85);
}

body.mateen-home-v2 .topHeader .container {
  background: transparent !important;
  max-width: 1180px;
}

body.mateen-home-v2 .topHeader .row {
  align-items: center !important;
  min-height: var(--mf-nav-h);
}

body.mateen-home-v2 .topHeader .logoImage {
  height: 30px !important;
  width: auto !important;
  max-width: 118px;
  object-fit: contain;
}

body.mateen-home-v2 .navbar,
body.mateen-home-v2 .navbar-light,
body.mateen-home-v2 .navbar .container-fluid {
  background: transparent !important;
  padding: 0 !important;
}

body.mateen-home-v2 .navbar-nav {
  gap: 0.15rem;
  align-items: center;
}

body.mateen-home-v2 .navbar .nav-link,
body.mateen-home-v2 .navbar-nav .nav-link {
  position: relative;
  color: var(--mf-ink-soft) !important;
  font-weight: 500 !important;
  font-size: 0.9rem !important;
  padding: 0.55rem 0.85rem !important;
  letter-spacing: 0.01em;
  transition: color 0.2s var(--mf-ease);
}

body.mateen-home-v2 .navbar .nav-link:hover {
  color: var(--mf-ink) !important;
}

body.mateen-home-v2 .navbar .nav-link.active {
  color: var(--mf-ink) !important;
  font-weight: 600 !important;
}

body.mateen-home-v2 .navbar .nav-link.active::after {
  content: "";
  position: absolute;
  inset-inline: 0.85rem;
  bottom: 0.2rem;
  height: 1.5px;
  background: linear-gradient(90deg, var(--mf-gold-deep), var(--mf-gold-soft));
  border-radius: 2px;
}

body.mateen-home-v2 .navbar-toggler {
  border: 1px solid var(--mf-line-strong) !important;
  border-radius: 4px !important;
  padding: 0.35rem 0.5rem !important;
  z-index: 95;
}

body.mateen-home-v2 .mateen-main-nav {
  width: 100%;
}

body.mateen-home-v2 .mateen-nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  width: 100%;
}

body.mateen-home-v2 .mateen-nav-bar > .logoLinke.navbar-brand {
  margin: 0;
  padding: 0;
}

body.mateen-home-v2 .rightTopMenu.nav-actions {
  display: flex !important;
  align-items: center;
  justify-content: flex-end;
  gap: 0.55rem;
  margin: 0;
  padding: 0;
}

body.mateen-home-v2 .rightTopMenu .itemMenu {
  display: inline-flex !important;
  flex-direction: row !important;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  background: transparent !important;
  border: 1px solid var(--mf-line-strong) !important;
  border-radius: 8px !important;
  color: var(--mf-ink) !important;
  box-shadow: none !important;
  min-height: 40px;
  padding: 0.35rem 0.85rem !important;
  transition: border-color 0.2s var(--mf-ease), background 0.2s var(--mf-ease);
}

body.mateen-home-v2 .rightTopMenu .itemMenu img {
  max-width: 18px;
  width: 18px;
  height: auto;
}

body.mateen-home-v2 .rightTopMenu .ui-button.userLoginInfo,
body.mateen-home-v2 .rightTopMenu .ui-button.ui-linkbutton.userLoginInfo {
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  color: var(--mf-ink) !important;
  box-shadow: none !important;
  min-height: auto;
  margin: 0 !important;
  padding: 0 !important;
}

body.mateen-home-v2 .rightTopMenu .itemMenu--login {
  border: 1px solid var(--mf-line-strong) !important;
  border-radius: 8px !important;
  padding: 0.2rem 0.15rem 0.2rem 0.15rem !important;
  min-width: 7.5rem;
}

body.mateen-home-v2 .rightTopMenu .itemMenu--login .userLoginInfoSec {
  width: 100%;
}

body.mateen-home-v2 .rightTopMenu .itemMenu--login .ui-button.userLoginInfo {
  width: 100%;
  min-height: 36px;
  padding: 0 0.85rem !important;
}

body.mateen-home-v2 .rightTopMenu .ui-button .ui-button-text,
body.mateen-home-v2 .rightTopMenu .itemMenuBtn .ui-button-text {
  color: var(--mf-ink) !important;
  font-weight: 600 !important;
  font-size: 0.82rem !important;
  padding: 0 !important;
}

body.mateen-home-v2 .rightTopMenu .itemMenu:hover,
body.mateen-home-v2 .rightTopMenu .itemMenu--login:hover {
  border-color: var(--mf-gold-deep) !important;
  background: rgba(59, 102, 142, 0.12) !important;
}

body.mateen-home-v2 .rightTopMenu .ui-overlay-badge {
  position: relative;
}

body.mateen-home-v2 .rightTopMenu .ui-overlay-badge .ui-badge {
  top: -0.35rem !important;
  inset-inline-end: -0.35rem !important;
  right: auto !important;
  min-width: 1.15rem;
  height: 1.15rem;
  line-height: 1.15rem;
  font-size: 0.68rem;
  font-weight: 700;
  background: var(--mf-gold) !important;
  color: var(--mf-ink) !important;
  border: 1px solid rgba(27, 42, 58, 0.12);
}

/* Desktop: inline nav + actions in the bar */
@media (min-width: 992px) {
  body.mateen-home-v2 #navbarSupportedContent {
    display: flex !important;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex: 1 1 auto;
    width: auto;
  }

  body.mateen-home-v2 #navbarSupportedContent .navbar-nav {
    margin-inline: auto;
  }

  body.mateen-home-v2 .rightTopMenu.nav-actions {
    margin-inline-start: auto;
  }
}

/* Mobile/tablet: centered modal-style hamburger panel */
@media (max-width: 991.98px) {
  body.mateen-home-v2 .mateen-nav-bar {
    flex-wrap: nowrap;
  }

  body.mateen-home-v2 .mateen-nav-bar > .navbar-toggler {
    margin-inline-start: auto;
  }

  body.mateen-home-v2 #navbarSupportedContent.collapse:not(.show) {
    display: none !important;
  }

  body.mateen-home-v2 #navbarSupportedContent.collapsing,
  body.mateen-home-v2 #navbarSupportedContent.show {
    position: fixed;
    inset: 0;
    z-index: 90;
    display: flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0;
    padding: 1.25rem;
    background: rgba(15, 26, 36, 0.45);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
  }

  body.mateen-home-v2 #navbarSupportedContent > .navbar-nav,
  body.mateen-home-v2 #navbarSupportedContent > .rightTopMenu {
    position: relative;
    z-index: 1;
    width: min(420px, 92vw);
  }

  body.mateen-home-v2 #navbarSupportedContent > .navbar-nav {
    max-height: min(52vh, 420px);
    overflow: auto;
    margin: 0 !important;
    padding: 1.15rem 1rem 0.65rem;
    background: var(--mf-white);
    border: 1px solid var(--mf-line-strong);
    border-bottom: none;
    border-radius: 14px 14px 0 0;
    box-shadow: var(--mf-shadow-md);
    flex-direction: column;
    align-items: stretch;
    gap: 0.15rem;
  }

  body.mateen-home-v2 #navbarSupportedContent > .rightTopMenu.nav-actions {
    margin: 0;
    padding: 0.85rem 1rem 1.15rem;
    background: var(--mf-white);
    border: 1px solid var(--mf-line-strong);
    border-top: 1px solid var(--mf-line);
    border-radius: 0 0 14px 14px;
    box-shadow: var(--mf-shadow-md);
    flex-direction: column;
    align-items: stretch;
    gap: 0.65rem;
  }

  body.mateen-home-v2 #navbarSupportedContent .navbar-nav .nav-link {
    text-align: center;
    padding: 0.75rem 1rem !important;
    border-radius: 8px;
  }

  body.mateen-home-v2 #navbarSupportedContent .navbar-nav .nav-link.active::after {
    inset-inline: 28%;
    bottom: 0.35rem;
  }

  body.mateen-home-v2 #navbarSupportedContent .rightTopMenu .itemMenu,
  body.mateen-home-v2 #navbarSupportedContent .rightTopMenu .itemMenu--login {
    width: 100%;
    justify-content: center;
    min-height: 44px;
  }

  body.mateen-home-v2 #navbarSupportedContent .rightTopMenu .ui-overlay-badge {
    width: 100%;
  }

  body.mateen-home-v2 #navbarSupportedContent .rightTopMenu .ui-overlay-badge > .itemMenu {
    width: 100%;
  }

  body.mateen-home-v2 #navbarSupportedContent .userLoginInfoSec .secLinkInfoSec {
    position: static;
    display: none;
    width: 100%;
    margin-top: 0.5rem;
    box-shadow: none;
    border: 1px solid var(--mf-line);
    border-radius: 8px;
    background: var(--mf-paper-2);
  }

  body.mateen-home-v2 #navbarSupportedContent .userLoginInfoSec .secLinkInfoSec.show {
    display: flex;
    flex-direction: column;
  }
}

body.mateen-home-v2 .footer {
  background:
    linear-gradient(180deg, rgba(254, 195, 46, 0.04), transparent 7rem),
    var(--mf-footer) !important;
  color: var(--mf-paper) !important;
  border-top: 1px solid rgba(245, 247, 250, 0.08);
  padding: clamp(3rem, 6.5vw, 4.5rem) 0 0 !important;
}

body.mateen-home-v2 .footer .container,
.mateen-home-v2 .mf-footer-inner {
  width: min(1120px, calc(100% - 2.5rem));
  margin-inline: auto;
  padding: 0;
  border: none;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

body.mateen-home-v2 .mf-footer-trust {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.35rem 1.35rem;
  list-style: none;
  margin: 0 0 2.35rem;
  padding: 0 0 1.55rem;
  border-bottom: 1px solid rgba(245, 247, 250, 0.08);
}

body.mateen-home-v2 .mf-footer-trust li {
  display: inline-flex;
  align-items: center;
  gap: 1.35rem;
  color: rgba(245, 247, 250, 0.62);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

body.mateen-home-v2 .mf-footer-trust li:not(:last-child)::after {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 50%;
  margin-inline-start: 0;
  background: var(--mf-gold);
  opacity: 0.55;
  flex-shrink: 0;
}

body.mateen-home-v2 .mf-footer-cta,
body.mateen-home-v2 a.mf-footer-cta {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  margin-top: 1.15rem;
  min-height: 42px;
  padding: 0 1.25rem !important;
  border-radius: 2px !important;
  font-size: 0.84rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.01em;
  text-decoration: none !important;
  background: var(--mf-gold) !important;
  color: var(--mf-ink) !important;
  border: none !important;
  box-shadow: none;
  transition: background 0.25s var(--mf-ease), transform 0.25s var(--mf-ease);
}

body.mateen-home-v2 .mf-footer-cta:hover,
body.mateen-home-v2 a.mf-footer-cta:hover {
  background: var(--mf-gold-soft) !important;
  transform: translateY(-1px);
  box-shadow: none;
}

body.mateen-home-v2 .footer .row {
  display: grid !important;
  grid-template-columns: minmax(240px, 1.45fr) repeat(auto-fit, minmax(150px, 1fr));
  gap: 2.25rem clamp(1.5rem, 3vw, 2.75rem);
  margin: 0 !important;
  align-items: start;
}

body.mateen-home-v2 .footer .row > [class*="col-"] {
  width: auto !important;
  max-width: none !important;
  flex: none !important;
  padding: 0 !important;
  min-width: 0;
}

body.mateen-home-v2 .footer .row > [class*="col-"]:empty {
  display: none !important;
}

body.mateen-home-v2 .footer a,
body.mateen-home-v2 .footer .footerLink,
body.mateen-home-v2 .footer .footerTitle,
body.mateen-home-v2 .footer .desc {
  color: var(--mf-paper) !important;
}

body.mateen-home-v2 .footer .footerTitle {
  position: relative;
  display: inline-block;
  font-size: 0.8rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.04em;
  color: rgba(255, 210, 77, 0.92) !important;
  margin: 0 0 1.1rem !important;
  padding: 0 0 0.65rem !important;
  border: none !important;
  text-decoration: none !important;
  background: none !important;
}

body.mateen-home-v2 .footer .footerTitle::after {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  bottom: 0;
  width: 1.65rem;
  height: 1px;
  background: rgba(254, 195, 46, 0.55);
}

body.dirRTL.mateen-home-v2 .footer .footerTitle,
[dir="rtl"] body.mateen-home-v2 .footer .footerTitle {
  letter-spacing: 0.02em;
  font-size: 0.86rem !important;
}

body.mateen-home-v2 .footer .desc {
  color: rgba(245, 247, 250, 0.64) !important;
  font-size: 0.9rem !important;
  line-height: 1.75 !important;
  max-width: 36ch;
  margin-top: 0.85rem !important;
}

body.mateen-home-v2 .footer .footerMenu {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

body.mateen-home-v2 .footer .footerLink {
  font-size: 0.9rem !important;
  font-weight: 450 !important;
  line-height: 1.45 !important;
  text-decoration: none !important;
  color: rgba(245, 247, 250, 0.72) !important;
  transition: color 0.2s var(--mf-ease);
}

body.mateen-home-v2 .footer .footerLink:hover {
  color: var(--mf-gold-soft) !important;
}

body.mateen-home-v2 .footer .logoImage {
  height: 46px !important;
  width: auto !important;
  max-width: 180px;
  margin: 0 !important;
  object-fit: contain;
  filter: none;
  padding: 0;
  border-radius: 0;
  background: transparent;
}

body.mateen-home-v2 .footer .socialFooter {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-top: 1.35rem;
}

body.mateen-home-v2 .footer .socialFooter img {
  opacity: 0.7;
  transition: opacity 0.2s, transform 0.2s;
}

body.mateen-home-v2 .footer .socialFooter a:hover img {
  opacity: 1;
  transform: translateY(-1px);
}

body.mateen-home-v2 .copyRight {
  background: transparent !important;
  border-top: 1px solid rgba(245, 247, 250, 0.08);
  padding: 1.15rem 0 1.35rem !important;
  margin-top: clamp(2.5rem, 5vw, 3.25rem);
}

body.mateen-home-v2 .copyRight .container {
  width: min(1120px, calc(100% - 2.5rem));
  margin-inline: auto;
  text-align: start !important;
}

body.mateen-home-v2 .copyRight .textCopyRight {
  color: rgba(245, 247, 250, 0.42) !important;
  font-size: 0.76rem !important;
  font-weight: 400 !important;
}

@media (max-width: 980px) {
  body.mateen-home-v2 .footer .row {
    grid-template-columns: 1fr 1fr;
  }

  body.mateen-home-v2 .footer .row > [class*="col-"]:first-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 767px) {
  body.mateen-home-v2 .mf-footer-trust {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }

  body.mateen-home-v2 .mf-footer-trust li:not(:last-child)::after {
    display: none;
  }
}

@media (max-width: 560px) {
  body.mateen-home-v2 .footer .row {
    grid-template-columns: 1fr;
  }

  body.mateen-home-v2 .footer .row > [class*="col-"]:first-child {
    grid-column: auto;
  }
}

/* Preview mock footer */
.mateen-home-v2 .mf-mock-footer {
  background:
    linear-gradient(180deg, rgba(254, 195, 46, 0.04), transparent 7rem),
    var(--mf-footer);
  color: var(--mf-paper);
  border-top: 1px solid rgba(245, 247, 250, 0.08);
  padding: clamp(3rem, 6.5vw, 4.5rem) 0 0;
  margin-top: 0;
}

.mateen-home-v2 .mf-mock-footer-grid {
  display: grid;
  grid-template-columns: minmax(240px, 1.45fr) repeat(auto-fit, minmax(150px, 1fr));
  gap: 2.25rem clamp(1.5rem, 3vw, 2.75rem);
  width: 100%;
  margin: 0;
  padding-bottom: 0;
  align-items: start;
}

.mateen-home-v2 .mf-mock-footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--mf-paper);
  text-decoration: none;
  margin-bottom: 0.65rem;
}

.mateen-home-v2 .mf-mock-footer-brand img {
  height: 42px;
  width: auto;
  display: block;
  padding: 0;
  border-radius: 0;
  background: transparent;
}

.mateen-home-v2 .mf-mock-footer-desc {
  margin: 0;
  color: rgba(245, 247, 250, 0.72);
  font-size: 0.88rem;
  line-height: 1.65;
  max-width: 32ch;
}

.mateen-home-v2 .mf-mock-footer-social {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1.1rem;
}

.mateen-home-v2 .mf-mock-footer-social a {
  color: rgba(245, 247, 250, 0.7);
  font-size: 0.78rem;
  font-weight: 600;
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: color 0.2s;
}

.mateen-home-v2 .mf-mock-footer-social a:hover {
  color: var(--mf-gold-soft);
}

.mateen-home-v2 .mf-mock-footer h4 {
  margin: 0 0 0.85rem;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--mf-gold-soft);
}

body.dirRTL .mateen-home-v2 .mf-mock-footer h4,
[dir="rtl"] .mateen-home-v2 .mf-mock-footer h4 {
  letter-spacing: 0.03em;
  font-size: 0.84rem;
}

.mateen-home-v2 .mf-mock-footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.mateen-home-v2 .mf-mock-footer-links a {
  color: rgba(245, 247, 250, 0.82);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 500;
  transition: color 0.2s;
}

.mateen-home-v2 .mf-mock-footer-links a:hover {
  color: var(--mf-gold-soft);
}

.mateen-home-v2 .mf-mock-footer-copy {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
  background: var(--mf-footer-deep);
  border-top: 1px solid rgba(59, 102, 142, 0.22);
  margin-top: 2rem;
  padding: 0.95rem clamp(1.25rem, 4vw, 2rem);
  text-align: start;
  color: rgba(245, 247, 250, 0.55);
  font-size: 0.78rem;
}

.mateen-home-v2 .mf-mock-footer-copy-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.mateen-home-v2 .mf-mock-footer-copy-links a {
  color: rgba(245, 247, 250, 0.62);
  text-decoration: none;
  font-weight: 500;
}

.mateen-home-v2 .mf-mock-footer-copy-links a:hover {
  color: var(--mf-gold-soft);
}

@media (max-width: 980px) {
  .mateen-home-v2 .mf-mock-footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.75rem;
  }
}

@media (max-width: 560px) {
  .mateen-home-v2 .mf-mock-footer-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

/* ========== Shell ========== */
.mateen-home-v2 {
  position: relative;
  background: var(--mf-paper);
  color: var(--mf-ink-soft);
  overflow-x: hidden;
}

.mateen-home-v2 .mf-container {
  width: min(1120px, calc(100% - 2.5rem));
  margin-inline: auto;
}

.mateen-home-v2 .mf-section {
  padding: clamp(5.5rem, 11vw, 8rem) 0;
}

.mateen-home-v2 .mf-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--mf-gold-deep);
  font-size: var(--mf-caption);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

body.dirRTL .mateen-home-v2 .mf-eyebrow,
[dir="rtl"] .mateen-home-v2 .mf-eyebrow {
  letter-spacing: 0.04em;
  text-transform: none;
  font-size: 0.84rem;
}

.mateen-home-v2 .mf-eyebrow::before {
  content: "";
  width: 18px;
  height: 1px;
  background: var(--mf-gold-deep);
  opacity: 0.7;
}

.mateen-home-v2 .mf-title {
  font-family: var(--mf-font-ar);
  font-weight: 700;
  font-size: var(--mf-title);
  line-height: 1.28;
  color: var(--mf-ink);
  margin: 0 0 1rem;
  letter-spacing: -0.01em;
  max-width: 22ch;
}

html[lang="en"] .mateen-home-v2 .mf-title,
body.dirltr .mateen-home-v2 .mf-title {
  font-family: var(--mf-font-en);
  letter-spacing: -0.03em;
  max-width: 24ch;
}

.mateen-home-v2 .mf-lead {
  max-width: 38rem;
  color: var(--mf-muted);
  font-size: var(--mf-body);
  line-height: 1.75;
  margin: 0 0 1.75rem;
  font-weight: 400;
}

.mateen-home-v2 .mf-center { text-align: center; }
.mateen-home-v2 .mf-center .mf-title,
.mateen-home-v2 .mf-center .mf-lead { margin-inline: auto; }
.mateen-home-v2 .mf-center .mf-title { max-width: 28ch; }

/* Buttons */
.mateen-home-v2 .mf-btn,
.mateen-home-v2 a.mf-btn,
.mateen-home-v2 .ui-button.mf-btn,
.mateen-home-v2 button.mf-btn {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 1.55rem !important;
  border-radius: 3px !important;
  font-family: inherit !important;
  font-weight: 700 !important;
  font-size: 0.92rem !important;
  border: 1px solid transparent !important;
  cursor: pointer;
  text-decoration: none !important;
  transition:
    transform 0.35s var(--mf-ease),
    box-shadow 0.3s var(--mf-ease),
    background 0.2s,
    border-color 0.2s,
    color 0.2s;
  box-shadow: none !important;
  background-image: none !important;
  letter-spacing: 0.01em;
}

.mateen-home-v2 .mf-btn:hover { transform: translateY(-2px); }
.mateen-home-v2 .mf-btn:focus-visible {
  outline: 2px solid var(--mf-gold-deep);
  outline-offset: 3px;
}

.mateen-home-v2 .mf-btn-gold,
.mateen-home-v2 .ui-button.mf-btn-gold,
.mateen-home-v2 .ui-button.mf-btn-gold .ui-button-text {
  background: linear-gradient(180deg, var(--mf-gold-soft) 0%, var(--mf-gold) 55%, #e5ae1a 100%) !important;
  color: var(--mf-ink) !important;
  border-color: rgba(229, 174, 26, 0.35) !important;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.45) inset,
    0 10px 28px rgba(254, 195, 46, 0.28) !important;
}

.mateen-home-v2 .mf-btn-gold:hover,
.mateen-home-v2 .ui-button.mf-btn-gold:hover {
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.5) inset,
    0 14px 36px rgba(229, 174, 26, 0.35) !important;
}

.mateen-home-v2 .mf-btn-outline,
.mateen-home-v2 a.mf-btn-outline {
  background: rgba(255, 252, 247, 0.55) !important;
  border-color: var(--mf-line-strong) !important;
  color: var(--mf-ink) !important;
  backdrop-filter: blur(6px);
}

.mateen-home-v2 .mf-btn-outline:hover {
  border-color: var(--mf-gold-deep) !important;
  color: var(--mf-gold-deep) !important;
  background: rgba(255, 252, 247, 0.9) !important;
}

.mateen-home-v2 .mf-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* ========== Hero ========== */
.mateen-home-v2 .mf-hero {
  position: relative;
  padding: clamp(3rem, 7vw, 4.75rem) 0 clamp(4.5rem, 9vw, 6.5rem);
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(ellipse 50% 42% at 88% 8%, var(--mf-gold-glow), transparent 58%),
    radial-gradient(ellipse 35% 30% at 8% 88%, rgba(59, 102, 142, 0.08), transparent 55%),
    linear-gradient(165deg, #ffffff 0%, var(--mf-paper) 48%, var(--mf-paper-2) 100%);
  margin-bottom: 0 !important;
}

.mateen-home-v2 .mf-hero::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  bottom: -1px;
  height: 72px;
  background: linear-gradient(180deg, transparent, var(--mf-white));
  clip-path: polygon(0 40%, 100% 0, 100% 100%, 0 100%);
  z-index: 0;
  pointer-events: none;
}

.mateen-home-v2 .mf-hero-grid {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(20, 20, 22, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(20, 20, 22, 0.028) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 68% 58% at 50% 28%, #000 18%, transparent 72%);
}

.mateen-home-v2 .mf-hero-stage {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: center;
  width: min(1180px, calc(100% - 2.5rem));
  margin-inline: auto;
}

.mateen-home-v2 .mf-hero-copy {
  animation: mf-rise 0.9s var(--mf-ease) both;
}

.mateen-home-v2 .mf-brand {
  margin: 0 0 0.85rem;
  font-size: clamp(1.4rem, 2.4vw, 1.75rem);
  font-weight: 800;
  color: var(--mf-ink);
  letter-spacing: 0.02em;
}

html[lang="en"] .mateen-home-v2 .mf-brand,
body.dirltr .mateen-home-v2 .mf-brand {
  font-family: var(--mf-font-en);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-size: clamp(0.95rem, 1.5vw, 1.1rem);
  color: var(--mf-gold-deep);
  font-weight: 700;
}

.mateen-home-v2 .mf-hero-copy h1 {
  font-family: var(--mf-font-ar);
  font-weight: 800;
  font-size: var(--mf-display);
  line-height: 1.18;
  color: var(--mf-ink);
  margin: 0 0 1.15rem;
  max-width: 13ch;
  letter-spacing: -0.015em;
}

html[lang="en"] .mateen-home-v2 .mf-hero-copy h1,
body.dirltr .mateen-home-v2 .mf-hero-copy h1 {
  font-family: var(--mf-font-en);
  letter-spacing: -0.035em;
  max-width: 15ch;
}

.mateen-home-v2 .mf-hero-sub {
  max-width: 34rem;
  color: var(--mf-muted);
  font-size: clamp(1.02rem, 1.35vw, 1.1rem);
  line-height: 1.8;
  margin: 0 0 1.85rem;
}

.mateen-home-v2 .mf-hero-note {
  margin-top: 1.25rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--mf-line);
  font-size: 0.88rem;
  color: var(--mf-gold-deep);
  font-weight: 600;
  line-height: 1.55;
  max-width: 32rem;
}

/* Product stage */
.mateen-home-v2 .mf-hero-visual {
  position: relative;
  perspective: 1400px;
  animation: mf-rise 1.05s var(--mf-ease) 0.12s both;
}

.mateen-home-v2 .mf-product-stage {
  position: relative;
}

.mateen-home-v2 .mf-product-stage::before {
  content: "";
  position: absolute;
  inset: 12% -6% -8% 8%;
  background: radial-gradient(ellipse at center, rgba(59, 102, 142, 0.2), transparent 68%);
  filter: blur(28px);
  z-index: 0;
  pointer-events: none;
}

.mateen-home-v2 .mf-product {
  position: relative;
  z-index: 1;
  background: var(--mf-white);
  border: 1px solid var(--mf-line-strong);
  border-radius: 14px;
  box-shadow: var(--mf-shadow-lg);
  overflow: hidden;
  transform: rotateY(-4deg) rotateX(2deg);
  transform-style: preserve-3d;
  transition: transform 0.6s var(--mf-ease);
}

body.dirRTL .mateen-home-v2 .mf-product,
[dir="rtl"] .mateen-home-v2 .mf-product {
  transform: rotateY(4deg) rotateX(2deg);
}

.mateen-home-v2 .mf-hero-visual:hover .mf-product {
  transform: rotateY(-1deg) rotateX(0.5deg) translateY(-4px);
}

body.dirRTL .mateen-home-v2 .mf-hero-visual:hover .mf-product,
[dir="rtl"] .mateen-home-v2 .mf-hero-visual:hover .mf-product {
  transform: rotateY(1deg) rotateX(0.5deg) translateY(-4px);
}

.mateen-home-v2 .mf-product-chrome {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.8rem 1.1rem;
  background: linear-gradient(180deg, #ffffff, var(--mf-paper-2));
  border-bottom: 1px solid var(--mf-line);
}

.mateen-home-v2 .mf-product-chrome .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #cfc6b8;
}

.mateen-home-v2 .mf-product-chrome .dot:nth-child(1) { background: #b5ab9c; }
.mateen-home-v2 .mf-product-chrome .dot:nth-child(2) { background: var(--mf-gold); }
.mateen-home-v2 .mf-product-chrome .dot:nth-child(3) { background: #a89c8c; }

.mateen-home-v2 .mf-product-chrome .label {
  margin-inline-start: auto;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--mf-muted);
  letter-spacing: 0.04em;
}

.mateen-home-v2 .mf-product-body {
  display: grid;
  grid-template-columns: 1.28fr 0.92fr;
  min-height: 340px;
}

.mateen-home-v2 .mf-product-main {
  padding: 1.25rem 1.3rem 1.4rem;
  border-inline-end: 1px solid var(--mf-line);
}

.mateen-home-v2 .mf-product-side {
  padding: 1.25rem 1.15rem 1.35rem;
  background:
    linear-gradient(165deg, rgba(255, 252, 247, 0.95), rgba(239, 233, 225, 0.9));
}

.mateen-home-v2 .mf-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.68rem;
  font-weight: 800;
  color: var(--mf-gold-deep);
  margin-bottom: 0.65rem;
  letter-spacing: 0.1em;
}

.mateen-home-v2 .mf-kicker::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--mf-gold);
  box-shadow: 0 0 0 3px rgba(59, 102, 142, 0.35);
  animation: mf-pulse-dot 2.4s ease-in-out infinite;
}

.mateen-home-v2 .mf-product-main h3 {
  margin: 0 0 1rem;
  font-size: 1.08rem;
  color: var(--mf-ink);
  font-weight: 700;
  letter-spacing: -0.01em;
}

.mateen-home-v2 .mf-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-bottom: 1.1rem;
  border: 1px solid var(--mf-line);
  border-radius: 8px;
  overflow: hidden;
  background: var(--mf-white);
}

.mateen-home-v2 .mf-metric {
  padding: 0.85rem 0.55rem;
  text-align: center;
  border-inline-end: 1px solid var(--mf-line);
}

.mateen-home-v2 .mf-metric:last-child { border-inline-end: 0; }

.mateen-home-v2 .mf-metric span {
  display: block;
  font-size: 0.65rem;
  color: var(--mf-muted-2);
  margin-bottom: 0.3rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

body.dirRTL .mateen-home-v2 .mf-metric span,
[dir="rtl"] .mateen-home-v2 .mf-metric span {
  text-transform: none;
  letter-spacing: 0.02em;
  font-size: 0.7rem;
}

.mateen-home-v2 .mf-metric b {
  font-family: var(--mf-font-en);
  font-size: 1.12rem;
  color: var(--mf-ink);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.mateen-home-v2 .mf-metric.is-live {
  background: linear-gradient(180deg, rgba(59, 102, 142, 0.12), rgba(59, 102, 142, 0.05));
}

.mateen-home-v2 .mf-metric.is-live b { color: var(--mf-gold-deep); }

.mateen-home-v2 .mf-assume {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.mateen-home-v2 .mf-assume-row {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 0.55rem;
  align-items: center;
  padding: 0.6rem 0.7rem;
  border-bottom: 1px solid var(--mf-line);
  font-size: 0.78rem;
  background: transparent;
}

.mateen-home-v2 .mf-assume-row:last-child { border-bottom: 0; }
.mateen-home-v2 .mf-assume-row span { color: var(--mf-muted); }
.mateen-home-v2 .mf-assume-row b {
  color: var(--mf-ink);
  font-family: var(--mf-font-en);
  font-weight: 650;
}
.mateen-home-v2 .mf-assume-row em {
  font-style: normal;
  font-weight: 700;
  color: var(--mf-gold-deep);
  font-size: 0.7rem;
}

.mateen-home-v2 .mf-side-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--mf-ink);
  margin: 0 0 0.25rem;
}

.mateen-home-v2 .mf-side-meta {
  font-size: 0.72rem;
  color: var(--mf-muted-2);
  margin-bottom: 1.15rem;
  font-family: var(--mf-font-en);
  letter-spacing: 0.06em;
}

.mateen-home-v2 .mf-bars {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.mateen-home-v2 .mf-bar-label {
  display: flex;
  justify-content: space-between;
  font-size: 0.72rem;
  color: var(--mf-muted);
  margin-bottom: 0.35rem;
  font-weight: 500;
}

.mateen-home-v2 .mf-bar-label span:last-child {
  font-family: var(--mf-font-en);
  font-weight: 700;
  color: var(--mf-ink-soft);
}

.mateen-home-v2 .mf-bar-track {
  height: 5px;
  border-radius: 99px;
  background: rgba(20, 20, 22, 0.06);
  overflow: hidden;
}

.mateen-home-v2 .mf-bar-fill {
  height: 100%;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--mf-gold-deep), var(--mf-gold-soft));
  box-shadow: 0 0 8px rgba(254, 195, 46, 0.35);
}

.mateen-home-v2 .mf-side-foot {
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid var(--mf-line);
  font-size: 0.78rem;
  color: var(--mf-muted);
  line-height: 1.6;
}

/* ========== Trust rail ========== */
.mateen-home-v2 .mf-trust {
  position: relative;
  z-index: 1;
  background: var(--mf-white);
  border-block: 1px solid var(--mf-line);
  padding: 2.25rem 0;
}

.mateen-home-v2 .mf-trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.mateen-home-v2 .mf-trust-item {
  position: relative;
  padding: 0.35rem 1.35rem;
}

.mateen-home-v2 .mf-trust-item:not(:last-child)::after {
  content: "";
  position: absolute;
  inset-block: 0.25rem;
  inset-inline-end: 0;
  width: 1px;
  background: var(--mf-line);
}

.mateen-home-v2 .mf-trust-item .mf-trust-idx {
  display: block;
  font-family: var(--mf-font-en);
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--mf-gold-deep);
  letter-spacing: 0.12em;
  margin-bottom: 0.55rem;
}

.mateen-home-v2 .mf-trust-item strong {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.15rem 0;
  color: var(--mf-ink);
  font-size: 0.95rem;
  margin-bottom: 0.4rem;
  font-weight: 700;
  line-height: 1.35;
}

.mateen-home-v2 .mf-trust-item span {
  display: block;
  color: var(--mf-muted);
  font-size: 0.82rem;
  line-height: 1.55;
}

/* ========== Diff ========== */
.mateen-home-v2 .mf-diff {
  background: var(--mf-paper);
  padding: clamp(3rem, 6vw, 4.5rem) 0;
}

.mateen-home-v2 .mf-diff .mf-lead {
  margin-bottom: 2rem;
}

.mateen-home-v2 .mf-diff-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 0;
  max-width: 52rem;
  margin-inline: auto;
  text-align: start;
}

.mateen-home-v2 .mf-diff-ico {
  width: 2.25rem;
  height: 2.25rem;
  margin-bottom: 0.85rem;
  padding: 0.5rem;
  border-radius: 10px;
  background: rgba(59, 102, 142, 0.12);
  color: var(--mf-muted);
}

.mateen-home-v2 .mf-diff-item.is-mateen .mf-diff-ico {
  background: rgba(59, 102, 142, 0.2);
  color: var(--mf-gold-deep);
}

.mateen-home-v2 .mf-diff-item.is-mateen {
  border-color: rgba(59, 102, 142, 0.35);
  background: linear-gradient(165deg, var(--mf-white), var(--mf-paper));
}

.mateen-home-v2 .mf-contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  gap: clamp(1.5rem, 4vw, 2.5rem);
  align-items: start;
}

.mateen-home-v2 .mf-contact-intro {
  margin-bottom: 0;
  padding-bottom: 0;
  text-align: start;
}

.mateen-home-v2 .mf-contact-intro .mf-title {
  max-width: 22ch;
  margin-inline: 0;
}

.mateen-home-v2 .mf-contact-intro .mf-lead {
  max-width: 38ch;
  margin-inline: 0;
}

.mateen-home-v2 .mf-contact-intro .mf-ctas {
  justify-content: flex-start;
  margin-top: 1.25rem;
}

.mateen-home-v2 .mf-contact-form-wrap {
  width: 100%;
  padding: 0;
}

.mateen-home-v2 .mf-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem 1rem;
  width: 100%;
}

.mateen-home-v2 .mf-form-grid .field--full {
  grid-column: 1 / -1;
}

.mateen-home-v2 .mf-form-grid .field {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.35rem;
  margin-bottom: 0;
  min-width: 0;
}

.mateen-home-v2 .mf-form-grid .form-control,
.mateen-home-v2 .mf-form-grid .ui-inputfield,
.mateen-home-v2 .mf-form-grid input,
.mateen-home-v2 .mf-form-grid textarea,
.mateen-home-v2 .mf-form-grid .index-phone {
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box;
}

.mateen-home-v2 .mf-form-actions {
  display: flex;
  justify-content: flex-start;
  padding-top: 0.25rem;
}

.mateen-home-v2 section.contactForm.mf-contact {
  position: relative;
  z-index: 1;
  background:
    radial-gradient(ellipse 48% 38% at 50% 0%, rgba(59, 102, 142, 0.14), transparent 62%),
    var(--mf-paper-2) !important;
  padding: clamp(3.5rem, 7vw, 5rem) 0 clamp(4rem, 8vw, 5.5rem) !important;
  border-top: 1px solid var(--mf-line);
}

/* Override legacy main.css contact overlap (margin-top: -300px / teamAssest padding) */
.mateen-home-v2 section.contactForm.mf-contact .teamAssest,
.mateen-home-v2 section.contactForm.mf-contact .bgNatural {
  padding: 0 !important;
  padding-bottom: 0 !important;
  margin: 0 !important;
  background: transparent !important;
}

.mateen-home-v2 .container-contact,
.mateen-home-v2 .container.container-contact {
  max-width: none !important;
  width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
}

.mateen-home-v2 .container-contact .row,
.mateen-home-v2 .container-contact .col-12 {
  margin: 0 !important;
  padding: 0 !important;
  max-width: none !important;
}

.mateen-home-v2 .mf-contact .locationItem {
  margin-top: 1.25rem;
  padding: 1rem 0 0;
  border-top: 1px solid var(--mf-line);
}

.mateen-home-v2 .mf-contact .locationItem .locationText .title {
  color: var(--mf-ink) !important;
  font-weight: 700;
}

.mateen-home-v2 .mf-contact .locationItem .locationText .desc,
.mateen-home-v2 .mf-contact .locationItem .locationText span {
  color: var(--mf-muted) !important;
}

.mateen-home-v2 .mf-diff-item {
  padding: 1.65rem 1.45rem;
  background: var(--mf-white);
  border: 1px solid var(--mf-line);
  border-radius: 10px;
  box-shadow: var(--mf-shadow-sm);
  transition: border-color 0.25s, box-shadow 0.3s, transform 0.35s var(--mf-ease);
}

.mateen-home-v2 .mf-diff-item:hover {
  border-color: rgba(59, 102, 142, 0.35);
  box-shadow: var(--mf-shadow-md);
  transform: translateY(-3px);
}

.mateen-home-v2 .mf-diff-item h3 {
  margin: 0 0 0.65rem;
  font-size: 1.02rem;
  color: var(--mf-ink);
  font-weight: 700;
  letter-spacing: -0.01em;
}

.mateen-home-v2 .mf-diff-item p {
  margin: 0;
  color: var(--mf-muted);
  font-size: 0.9rem;
  line-height: 1.65;
}

/* ========== Journey ========== */
.mateen-home-v2 .mf-journey {
  background: var(--mf-paper-2);
  border-block: 1px solid var(--mf-line);
}

.mateen-home-v2 .mf-steps {
  list-style: none;
  margin: 2.5rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  counter-reset: none;
}

.mateen-home-v2 .mf-steps li {
  background: var(--mf-white);
  border: 1px solid var(--mf-line);
  border-radius: 10px;
  padding: 1.5rem 1.2rem 1.4rem;
  min-height: 168px;
  box-shadow: var(--mf-shadow-sm);
  transition: transform 0.35s var(--mf-ease), box-shadow 0.3s;
}

.mateen-home-v2 .mf-steps li:hover {
  transform: translateY(-3px);
  box-shadow: var(--mf-shadow-md);
}

.mateen-home-v2 .mf-steps .num {
  display: block;
  font-family: var(--mf-font-en);
  font-weight: 800;
  font-size: 0.78rem;
  color: var(--mf-gold-deep);
  letter-spacing: 0.14em;
  margin-bottom: 0.75rem;
}

.mateen-home-v2 .mf-steps h3 {
  margin: 0 0 0.5rem;
  font-size: 1.02rem;
  color: var(--mf-ink);
  font-weight: 700;
}

.mateen-home-v2 .mf-steps p {
  margin: 0;
  font-size: 0.84rem;
  color: var(--mf-muted);
  line-height: 1.6;
}

/* ========== Outputs ========== */
.mateen-home-v2 .mf-outputs {
  background: var(--mf-paper);
}

.mateen-home-v2 .mf-output-list {
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.mateen-home-v2 .mf-output-list li {
  display: grid;
  grid-template-columns: minmax(10rem, 13.5rem) 1fr;
  gap: 1.25rem;
  padding: 1.25rem 1.4rem;
  background: var(--mf-white);
  border: 1px solid var(--mf-line);
  border-radius: 10px;
  align-items: baseline;
  box-shadow: var(--mf-shadow-sm);
  transition: border-color 0.25s, box-shadow 0.3s;
}

.mateen-home-v2 .mf-output-list li:hover {
  border-color: rgba(229, 174, 26, 0.35);
  box-shadow: var(--mf-shadow-md);
}

.mateen-home-v2 .mf-output-list strong {
  color: var(--mf-gold-deep);
  font-size: 0.98rem;
  font-weight: 700;
}

.mateen-home-v2 .mf-output-list span {
  color: var(--mf-muted);
  font-size: 0.92rem;
  line-height: 1.6;
}

/* ========== Acquisition / social / contact ========== */
.mateen-home-v2 section.ideas.mf-acquire {
  background: var(--mf-paper-2) !important;
  padding: clamp(5rem, 9vw, 7rem) 0 !important;
  border-top: 1px solid var(--mf-line);
}

.mateen-home-v2 .mf-acquire .sectionTitle,
.mateen-home-v2 .mf-acquire .mf-title { color: var(--mf-ink) !important; }
.mateen-home-v2 .mf-acquire .sectionDescription { color: var(--mf-muted) !important; }

.mateen-home-v2 .ideasItems .item {
  background: var(--mf-white) !important;
  border: 1px solid var(--mf-line) !important;
  border-radius: 12px;
  box-shadow: var(--mf-shadow-sm);
  transition: transform 0.3s var(--mf-ease), box-shadow 0.3s;
}

.mateen-home-v2 .ideasItems .item:hover {
  transform: translateY(-3px);
  box-shadow: var(--mf-shadow-md);
}

.mateen-home-v2 .ideasItems .item .title { color: var(--mf-ink) !important; }

.mateen-home-v2 section.testimonial.mf-social {
  background: var(--mf-paper) !important;
  padding: clamp(5rem, 9vw, 7rem) 0 !important;
}

.mateen-home-v2 .mf-social .sectionTitle { color: var(--mf-ink) !important; }

.mateen-home-v2 .testimonialItems .item {
  background: var(--mf-white) !important;
  border: 1px solid var(--mf-line) !important;
  border-radius: 12px;
  color: var(--mf-ink-soft);
  box-shadow: var(--mf-shadow-sm);
}

.mateen-home-v2 .testimonialText .desc,
.mateen-home-v2 .personInfo .name { color: var(--mf-ink-soft) !important; }
.mateen-home-v2 .personInfo .position { color: var(--mf-gold-deep) !important; }

.mateen-home-v2 .mf-contact .formStyle {
  display: block !important;
  width: 100% !important;
  background: var(--mf-white) !important;
  border: 1px solid var(--mf-line-strong);
  border-radius: 14px;
  padding: 1.65rem 1.5rem;
  max-width: none !important;
  margin: 0 !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  box-shadow: var(--mf-shadow-md);
  text-align: start;
  gap: 0 !important;
}

.mateen-home-v2 .mf-contact .field { margin-bottom: 0; }

.mateen-home-v2 .mf-contact .field.selectGroup {
  width: 100%;
  margin-bottom: 0;
}

.mateen-home-v2 .mf-contact textarea.form-control,
.mateen-home-v2 .mf-contact textarea.ui-inputfield {
  min-height: 88px !important;
  height: auto !important;
  resize: vertical;
}

.mateen-home-v2 .mf-contact label {
  color: var(--mf-muted) !important;
  font-size: 0.82rem !important;
  font-weight: 600 !important;
  margin-bottom: 0.4rem;
  display: block;
}

.mateen-home-v2 .mf-contact .form-control,
.mateen-home-v2 .mf-contact .ui-inputfield,
.mateen-home-v2 .mf-contact input,
.mateen-home-v2 .mf-contact textarea {
  background: var(--mf-paper) !important;
  border: 1px solid var(--mf-line) !important;
  color: var(--mf-ink) !important;
  border-radius: 6px !important;
  min-height: 46px;
  padding: 0.65rem 0.85rem !important;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.mateen-home-v2 .mf-contact .form-control:focus,
.mateen-home-v2 .mf-contact input:focus,
.mateen-home-v2 .mf-contact textarea:focus {
  border-color: rgba(59, 102, 142, 0.4) !important;
  box-shadow: 0 0 0 3px rgba(254, 195, 46, 0.25) !important;
  outline: none;
}

.mateen-home-v2 .mf-contact .btn-primary,
.mateen-home-v2 .mf-contact .ui-button {
  background: linear-gradient(180deg, var(--mf-gold-soft), var(--mf-gold)) !important;
  border: 1px solid rgba(229, 174, 26, 0.35) !important;
  color: var(--mf-ink) !important;
  font-weight: 700 !important;
  border-radius: 3px !important;
  min-height: 48px;
  width: auto;
  min-width: 140px;
  margin-top: 0;
}

@media (max-width: 900px) {
  .mateen-home-v2 .mf-contact-grid {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }

  .mateen-home-v2 .mf-contact-intro .mf-title,
  .mateen-home-v2 .mf-contact-intro .mf-lead {
    max-width: none;
  }
}

@media (max-width: 767px) {
  .mateen-home-v2 .mf-form-grid {
    grid-template-columns: 1fr;
  }

  .mateen-home-v2 .mf-contact .btn-primary,
  .mateen-home-v2 .mf-contact .ui-button {
    width: 100%;
  }

  .mateen-home-v2 .mf-form-actions {
    justify-content: stretch;
  }

  .mateen-home-v2 .mf-form-actions .mf-btn,
  .mateen-home-v2 .mf-form-actions .ui-button {
    width: 100%;
  }
}

.mateen-home-v2 .teamAssest { display: none !important; }
.mateen-home-v2 .bgNatural { background: transparent !important; }

/* Preview mock header */
.mateen-home-v2 .mf-mock-header {
  position: sticky;
  top: 0;
  z-index: 70;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--mf-nav-h);
  padding: 0 clamp(1rem, 4vw, 2rem);
  background: rgba(245, 247, 250, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--mf-line);
}

.mateen-home-v2 .mf-mock-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-weight: 800;
  color: var(--mf-ink);
  font-size: 1.05rem;
  text-decoration: none;
}

.mateen-home-v2 .mf-mock-brand img {
  height: 28px;
  width: auto;
  display: block;
}

.mateen-home-v2 .mf-mock-nav {
  display: flex;
  gap: 0.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.mateen-home-v2 .mf-mock-nav a {
  display: inline-block;
  padding: 0.5rem 0.85rem;
  color: var(--mf-ink-soft);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 500;
  position: relative;
}

.mateen-home-v2 .mf-mock-nav a.is-active {
  color: var(--mf-ink);
  font-weight: 600;
}

.mateen-home-v2 .mf-mock-nav a.is-active::after {
  content: "";
  position: absolute;
  inset-inline: 0.85rem;
  bottom: 0.15rem;
  height: 1.5px;
  background: linear-gradient(90deg, var(--mf-gold-deep), var(--mf-gold-soft));
}

.mateen-home-v2 .mf-mock-actions {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.mateen-home-v2 .mf-mock-actions .mf-btn {
  min-height: 40px;
  padding: 0 1rem !important;
  font-size: 0.82rem !important;
}

.mateen-home-v2 .mf-side-picks {
  list-style: none;
  margin: 0 0 0.5rem;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.mateen-home-v2 .mf-side-picks li {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.55rem 0.7rem;
  border: 1px solid var(--mf-line);
  border-radius: 6px;
  background: var(--mf-white);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--mf-ink);
  transition: border-color 0.25s, background 0.25s;
}

.mateen-home-v2 .mf-side-picks li:hover {
  border-color: rgba(59, 102, 142, 0.35);
  background: var(--mf-paper);
}

/* ========== Icons ========== */
.mateen-home-v2 .mf-ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--mf-gold-deep);
}

.mateen-home-v2 .mf-ico svg {
  display: block;
  width: 100%;
  height: 100%;
}

.mateen-home-v2 .mf-ico-pick {
  width: 1.15rem;
  height: 1.15rem;
  color: var(--mf-gold-deep);
}

.mateen-home-v2 .mf-step-ico {
  width: 2.5rem;
  height: 2.5rem;
  margin-bottom: 0.85rem;
  padding: 0.55rem;
  border-radius: 10px;
  background: rgba(59, 102, 142, 0.14);
  color: var(--mf-gold-deep);
  transition: background 0.3s, color 0.3s, transform 0.35s var(--mf-ease);
}

.mateen-home-v2 .mf-steps li:hover .mf-step-ico {
  background: rgba(59, 102, 142, 0.22);
  color: var(--mf-ink);
  transform: translateY(-2px);
}

.mateen-home-v2 .mf-catalog-ico {
  width: 2.5rem;
  height: 2.5rem;
  margin-bottom: 0.85rem;
  padding: 0.55rem;
  border-radius: 10px;
  background: rgba(59, 102, 142, 0.12);
  color: var(--mf-gold-deep);
  transition: background 0.3s, color 0.3s, transform 0.35s var(--mf-ease);
}

.mateen-home-v2 .mf-catalog-item:hover .mf-catalog-ico {
  background: rgba(59, 102, 142, 0.2);
  color: var(--mf-ink);
  transform: scale(1.05);
}

.mateen-home-v2 .mf-catalog-item.is-soon .mf-catalog-ico {
  background: rgba(59, 102, 142, 0.08);
  color: var(--mf-muted);
}

.mateen-home-v2 .mf-trust-ico {
  width: 1.25rem;
  height: 1.25rem;
  margin-inline-end: 0.45rem;
  flex-shrink: 0;
  color: var(--mf-gold-deep);
}

.mateen-home-v2 .mf-steps-3 {
  grid-template-columns: repeat(3, 1fr);
}

.mateen-home-v2 .mf-trust-grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

/* Output catalog */
.mateen-home-v2 .mf-catalog {
  background: var(--mf-white);
  border-block: 1px solid var(--mf-line);
}

.mateen-home-v2 .mf-catalog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}

.mateen-home-v2 .mf-catalog-item {
  padding: 1.45rem 1.35rem 1.5rem;
  background: var(--mf-paper);
  border: 1px solid var(--mf-line);
  border-radius: 12px;
  box-shadow: var(--mf-shadow-sm);
  transition: transform 0.35s var(--mf-ease), box-shadow 0.3s, border-color 0.25s;
  min-height: 168px;
}

.mateen-home-v2 .mf-catalog-item:hover {
  transform: translateY(-3px);
  border-color: rgba(59, 102, 142, 0.35);
  box-shadow: var(--mf-shadow-md);
}

.mateen-home-v2 .mf-catalog-tag {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--mf-gold-deep);
  margin-bottom: 0.7rem;
  text-transform: uppercase;
}

body.dirRTL .mateen-home-v2 .mf-catalog-tag,
[dir="rtl"] .mateen-home-v2 .mf-catalog-tag {
  text-transform: none;
  letter-spacing: 0.03em;
  font-size: 0.72rem;
}

.mateen-home-v2 .mf-catalog-item h3 {
  margin: 0 0 0.55rem;
  font-size: 1.08rem;
  color: var(--mf-ink);
  font-weight: 700;
}

.mateen-home-v2 .mf-catalog-item p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--mf-muted);
  line-height: 1.6;
}

.mateen-home-v2 .mf-catalog-item.is-soon {
  background: linear-gradient(165deg, var(--mf-paper), var(--mf-paper-2));
  border-style: dashed;
  border-color: rgba(59, 102, 142, 0.35);
}

.mateen-home-v2 .mf-catalog-item.is-soon .mf-catalog-tag {
  color: var(--mf-muted);
}

/* ========== Create project panel ========== */
.mateen-home-v2 .mf-create {
  background:
    radial-gradient(ellipse 70% 55% at 80% 20%, rgba(59, 102, 142, 0.14), transparent 55%),
    var(--mf-paper);
  padding: clamp(2.75rem, 6vw, 4.25rem) 0;
  border-block: 1px solid var(--mf-line);
}

.mateen-home-v2 .mf-create-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.95fr);
  gap: clamp(1.5rem, 4vw, 2.75rem);
  align-items: stretch;
  padding: clamp(1.35rem, 3vw, 1.85rem);
  background: var(--mf-white);
  border: 1px solid var(--mf-line);
  border-radius: 16px;
  box-shadow: var(--mf-shadow-md);
}

.mateen-home-v2 .mf-create-copy .mf-title {
  max-width: 18ch;
  margin-bottom: 0.65rem;
}

.mateen-home-v2 .mf-create-copy .mf-lead {
  max-width: 36ch;
  margin-bottom: 1.35rem;
}

.mateen-home-v2 .mf-create-form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.35rem;
}

.mateen-home-v2 .mf-create-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.mateen-home-v2 .mf-create-field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.mateen-home-v2 .mf-create-label {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--mf-muted-2);
  letter-spacing: 0.04em;
}

body.dirRTL .mateen-home-v2 .mf-create-label,
[dir="rtl"] .mateen-home-v2 .mf-create-label {
  letter-spacing: 0.02em;
  font-size: 0.76rem;
}

.mateen-home-v2 .mf-create-input {
  display: block;
  padding: 0.7rem 0.85rem;
  border: 1px solid var(--mf-line);
  border-radius: 8px;
  background: linear-gradient(180deg, var(--mf-paper), var(--mf-white));
  color: var(--mf-ink);
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.3;
}

.mateen-home-v2 .mf-create-preview {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--mf-line);
  border-radius: 12px;
  overflow: hidden;
  background: var(--mf-paper);
  min-height: 100%;
  box-shadow: var(--mf-shadow-sm);
}

.mateen-home-v2 .mf-create-chrome {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.7rem 0.95rem;
  border-bottom: 1px solid var(--mf-line);
  background: linear-gradient(180deg, #fffcf8, #f3eee7);
}

.mateen-home-v2 .mf-create-chrome .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #b5ab9c;
}

.mateen-home-v2 .mf-create-chrome .dot:nth-child(2) { background: var(--mf-gold); }
.mateen-home-v2 .mf-create-chrome .dot:nth-child(3) { background: #a89c8c; }

.mateen-home-v2 .mf-create-chrome .label {
  margin-inline-start: 0.35rem;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--mf-muted);
  letter-spacing: 0.04em;
}

.mateen-home-v2 .mf-create-body {
  padding: 1.15rem 1.2rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  flex: 1;
}

.mateen-home-v2 .mf-create-status {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.mateen-home-v2 .mf-create-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  background: rgba(59, 102, 142, 0.2);
  color: var(--mf-gold-deep);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.06em;
}

body.dirRTL .mateen-home-v2 .mf-create-pill,
[dir="rtl"] .mateen-home-v2 .mf-create-pill {
  letter-spacing: 0.03em;
  font-size: 0.72rem;
}

.mateen-home-v2 .mf-create-status strong {
  font-size: 0.98rem;
  color: var(--mf-ink);
  font-weight: 700;
}

.mateen-home-v2 .mf-create-checklist {
  list-style: none;
  margin: 0;
  padding: 0;
  border: 1px solid var(--mf-line);
  border-radius: 10px;
  overflow: hidden;
  background: var(--mf-white);
}

.mateen-home-v2 .mf-create-checklist li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.7rem 0.85rem;
  border-bottom: 1px solid var(--mf-line);
  font-size: 0.84rem;
  color: var(--mf-muted);
}

.mateen-home-v2 .mf-create-checklist li:last-child { border-bottom: 0; }

.mateen-home-v2 .mf-create-checklist li em {
  font-style: normal;
  font-family: var(--mf-font-en);
  font-weight: 700;
  color: var(--mf-muted-2);
  min-width: 1.25rem;
  text-align: center;
}

.mateen-home-v2 .mf-create-checklist li.is-done {
  color: var(--mf-ink);
  background: linear-gradient(90deg, rgba(59, 102, 142, 0.1), transparent);
}

.mateen-home-v2 .mf-create-checklist li.is-done em { color: var(--mf-gold-deep); }

.mateen-home-v2 .mf-create-checklist li.is-next {
  color: var(--mf-ink);
  font-weight: 600;
}

.mateen-home-v2 .mf-create-checklist li.is-next em {
  color: var(--mf-gold-deep);
  background: rgba(59, 102, 142, 0.22);
  border-radius: 6px;
  padding: 0.1rem 0.35rem;
}

.mateen-home-v2 .mf-create-foot {
  margin: 0;
  margin-top: auto;
  font-size: 0.8rem;
  line-height: 1.55;
  color: var(--mf-muted);
}

@keyframes mf-rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes mf-pulse-dot {
  0%, 100% { box-shadow: 0 0 0 3px rgba(254, 195, 46, 0.25); }
  50% { box-shadow: 0 0 0 5px rgba(254, 195, 46, 0.35); }
}

@media (prefers-reduced-motion: reduce) {
  .mateen-home-v2 .mf-hero-copy,
  .mateen-home-v2 .mf-hero-visual,
  .mateen-home-v2 .mf-kicker::before,
  .mateen-home-v2 .mf-product {
    animation: none !important;
    transition: none !important;
    transform: none !important;
  }
}

@media (max-width: 1024px) {
  .mateen-home-v2 .mf-hero-stage { grid-template-columns: 1fr; }
  .mateen-home-v2 .mf-hero-copy h1 { max-width: none; }
  .mateen-home-v2 .mf-product { transform: none; }
  .mateen-home-v2 .mf-hero-visual:hover .mf-product { transform: translateY(-3px); }
  .mateen-home-v2 .mf-create-panel { grid-template-columns: 1fr; }
  .mateen-home-v2 .mf-trust-grid,
  .mateen-home-v2 .mf-diff-grid,
  .mateen-home-v2 .mf-steps,
  .mateen-home-v2 .mf-catalog-grid { grid-template-columns: repeat(2, 1fr); }
  .mateen-home-v2 .mf-steps-3 { grid-template-columns: 1fr; }
  .mateen-home-v2 .mf-trust-grid-3 { grid-template-columns: 1fr; }
  .mateen-home-v2 .mf-trust-item:nth-child(2)::after { display: none; }
  .mateen-home-v2 .mf-mock-nav { display: none; }
}

@media (max-width: 720px) {
  .mateen-home-v2 .mf-product-body { grid-template-columns: 1fr; }
  .mateen-home-v2 .mf-product-main {
    border-inline-end: 0;
    border-bottom: 1px solid var(--mf-line);
  }
  .mateen-home-v2 .mf-create-row { grid-template-columns: 1fr; }
  .mateen-home-v2 .mf-create-panel { padding: 1.1rem; }
  .mateen-home-v2 .mf-trust-grid,
  .mateen-home-v2 .mf-diff-grid,
  .mateen-home-v2 .mf-steps,
  .mateen-home-v2 .mf-catalog-grid { grid-template-columns: 1fr; }
  .mateen-home-v2 .mf-trust-item:not(:last-child)::after { display: none; }
  .mateen-home-v2 .mf-trust-item {
    padding: 1rem 0;
    border-bottom: 1px solid var(--mf-line);
  }
  .mateen-home-v2 .mf-trust-item:last-child { border-bottom: 0; }
  .mateen-home-v2 .mf-output-list li { grid-template-columns: 1fr; gap: 0.35rem; }
  .mateen-home-v2 .mf-metrics { grid-template-columns: 1fr; }
  .mateen-home-v2 .mf-metric {
    border-inline-end: 0;
    border-bottom: 1px solid var(--mf-line);
  }
  .mateen-home-v2 .mf-metric:last-child { border-bottom: 0; }
}
