/* Malaz Atmospheric Theme for Malath One */
:root {
  interpolate-size: allow-keywords;
  --mlz-brand-50: #F1F0F6;
  --mlz-brand-100: #E0DCEC;
  --mlz-brand-500: #7162A6;
  --mlz-brand-600: #4B3A87;
  --mlz-brand-700: #433479;
  --mlz-brand-900: #302555;
  --mlz-secondary: #E0E7FF;
  --mlz-bg: #FFFFFE;
  --font-family-sans: 'Tajawal', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

html {
  scroll-behavior: smooth;
}

body.malath-landing-theme {
  font-family: 'Tajawal', sans-serif !important;
  background-color: #FAF9FC !important;
  min-height: 100vh;
  margin: 0;
  padding: 0;
}

body.malath-landing-theme header:not(.mlz-topbar),
body.malath-landing-theme footer:not(.mlz-footer),
body.malath-landing-theme [aria-label="Malath One Home"],
body.malath-landing-theme header.bg-white,
body.malath-landing-theme header.border-b,
body.malath-landing-theme > #root > div > header,
body.malath-landing-theme main > header {
  display: none !important;
  visibility: hidden !important;
  height: 0 !important;
  overflow: hidden !important;
  pointer-events: none !important;
}

.auth-scene-wrapper {
  position: relative;
  min-height: 100vh;
  background-color: #FAF9FC;
  overflow-x: hidden;
}

.auth-scene {
  position: fixed;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.auth-scene::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 90% 65% at 15% 5%, rgba(67, 52, 121, 0.40) 0%, transparent 65%),
    radial-gradient(ellipse 55% 55% at 88% 90%, rgba(113, 98, 166, 0.30) 0%, transparent 60%),
    radial-gradient(circle 35% at 50% 45%, rgba(224, 220, 236, 0.50) 0%, transparent 70%);
}

.auth-scene::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(113, 98, 166, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(113, 98, 166, 0.07) 1px, transparent 1px);
  background-size: 48px 48px;
}

.auth-grain {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(48, 37, 85, 0.08) 1px, transparent 1px);
  background-size: 16px 16px;
  opacity: 0.6;
}

.auth-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  animation: orbFloat 22s ease-in-out infinite alternate;
}

.auth-orb-1 {
  width: 480px;
  height: 480px;
  top: -80px;
  left: -100px;
  background: radial-gradient(circle, rgba(67, 52, 121, 0.22) 0%, transparent 70%);
}

.auth-orb-2 {
  width: 420px;
  height: 420px;
  bottom: -60px;
  right: -80px;
  background: radial-gradient(circle, rgba(113, 98, 166, 0.20) 0%, transparent 70%);
  animation-duration: 26s;
  animation-delay: -5s;
}

.auth-orb-3 {
  width: 320px;
  height: 320px;
  top: 40%;
  left: 60%;
  background: radial-gradient(circle, rgba(224, 220, 236, 0.35) 0%, transparent 70%);
  animation-duration: 18s;
  animation-delay: -10s;
}

@keyframes orbFloat {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(25px, 20px) scale(1.05); }
  100% { transform: translate(-20px, 35px) scale(0.97); }
}

.auth-wrap {
  position: relative;
  z-index: 10;
  width: 100%;
  padding: 1.5rem 1rem 3rem;
  box-sizing: border-box;
}

.mlz-landing {
  position: relative;
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  border-radius: 2rem;
  background: rgba(255, 255, 254, 0.88);
  backdrop-filter: blur(28px) saturate(180%);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
  border: 1px solid rgba(224, 220, 236, 0.85);
  box-shadow:
    0 24px 72px -16px rgba(48, 37, 85, 0.14),
    0 6px 20px -4px rgba(48, 37, 85, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.95);
  padding: 1.25rem 2rem 2.5rem;
  box-sizing: border-box;
  overflow: hidden;
  transition: box-shadow 0.3s ease;
}

/* Floating Pill Topbar */
.mlz-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.65rem 1.2rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(224, 220, 236, 0.9);
  box-shadow: 0 4px 18px -2px rgba(48, 37, 85, 0.08);
  margin-bottom: 2rem;
  position: sticky;
  top: 1rem;
  z-index: 40;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.mlz-topbar.is-scrolled {
  box-shadow: 0 8px 28px -4px rgba(48, 37, 85, 0.16);
  border-color: var(--mlz-brand-500);
}

.mlz-topbar-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.mlz-topbar-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 800;
  font-size: 1rem;
  color: var(--mlz-brand-900);
  text-decoration: none;
}

.mlz-topbar-brand img {
  height: 28px;
  width: auto;
  border-radius: 6px;
  object-fit: contain;
}

.mlz-topbar-link {
  color: #4b5563;
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
  transition: all 0.2s ease;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.35rem 0.6rem;
  border-radius: 999px;
}

.mlz-topbar-link:hover, .mlz-topbar-link.is-active {
  color: var(--mlz-brand-700);
  background: var(--mlz-brand-50);
}

.mlz-topbar-login {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--mlz-brand-600);
  color: #fff;
  border-radius: 999px;
  padding: 0.5rem 1.15rem;
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(75, 58, 135, 0.28);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.mlz-topbar-login:hover {
  background: var(--mlz-brand-700);
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 6px 18px rgba(75, 58, 135, 0.38);
}

/* Hero Section */
.mlz-hero {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 2.5rem;
  align-items: center;
  margin-bottom: 3rem;
}

.mlz-hero-copy {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}

.mlz-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  width: fit-content;
  border-radius: 999px;
  background: var(--mlz-brand-50);
  color: var(--mlz-brand-700);
  border: 1px solid var(--mlz-brand-100);
  padding: 0.35rem 0.85rem;
  font-size: 0.78rem;
  font-weight: 700;
}

.mlz-chip-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--mlz-brand-500);
  box-shadow: 0 0 0 3px rgba(113, 98, 166, 0.2);
  animation: pulseDot 2s infinite ease-in-out;
}

@keyframes pulseDot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.3); opacity: 0.7; }
}

.mlz-hero-copy h1 {
  font-size: 2.35rem;
  font-weight: 900;
  line-height: 1.25;
  color: var(--mlz-brand-900);
  margin: 0;
  letter-spacing: -0.02em;
}

.mlz-hero-copy h1 span {
  display: block;
  font-size: 1.85rem;
  color: var(--mlz-brand-600);
  margin-top: 0.3rem;
}

.mlz-hero-copy p {
  font-size: 1rem;
  line-height: 1.7;
  color: #4b5563;
  margin: 0;
  max-width: 650px;
}

.mlz-hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.mlz-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 0.85rem;
  background: linear-gradient(135deg, var(--mlz-brand-600) 0%, var(--mlz-brand-700) 100%);
  color: #fff;
  padding: 0.85rem 1.6rem;
  font-size: 0.95rem;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 8px 24px -4px rgba(75, 58, 135, 0.36);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.mlz-btn-primary:hover {
  background: linear-gradient(135deg, var(--mlz-brand-700) 0%, var(--mlz-brand-900) 100%);
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 30px -4px rgba(75, 58, 135, 0.46);
}

.mlz-btn-soft {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 0.85rem;
  background: #ffffff;
  color: var(--mlz-brand-700);
  border: 1px solid var(--mlz-brand-100);
  padding: 0.85rem 1.4rem;
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s ease;
}

.mlz-btn-soft:hover {
  background: var(--mlz-brand-50);
  border-color: var(--mlz-brand-500);
  transform: translateY(-2px);
}

.mlz-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.65rem;
  margin-top: 0.8rem;
}

.mlz-metric {
  border-radius: 0.85rem;
  background: #fff;
  border: 1px solid var(--mlz-brand-100);
  padding: 0.75rem 0.6rem;
  text-align: center;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
}

.mlz-metric:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 10px 24px -6px rgba(67, 52, 121, 0.14);
  border-color: var(--mlz-brand-500);
}

.mlz-metric strong {
  display: block;
  font-size: 1.35rem;
  font-weight: 900;
  color: var(--mlz-brand-900);
}

.mlz-metric span {
  display: block;
  font-size: 0.72rem;
  color: #6b7280;
  margin-top: 0.15rem;
  font-weight: 600;
}

/* Hero Right Panel */
.mlz-hero-panel {
  border-radius: 1.5rem;
  background: #fff;
  border: 1px solid var(--mlz-brand-100);
  padding: 1.5rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  box-shadow: 0 12px 32px -8px rgba(48, 37, 85, 0.08);
}

.mlz-hero-logo {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0.5rem 0;
}

.mlz-hero-logo img {
  height: 96px;
  width: auto;
  border-radius: 1rem;
  object-fit: contain;
  box-shadow: 0 8px 24px -4px rgba(67, 52, 121, 0.15);
  transition: transform 0.3s ease;
}

.mlz-hero-logo img:hover {
  transform: scale(1.04) rotate(-1deg);
}

.mlz-hero-status {
  border-radius: 0.95rem;
  background: var(--mlz-brand-50);
  border: 1px solid var(--mlz-brand-100);
  padding: 0.85rem 1rem;
  text-align: center;
}

.mlz-hero-status div {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--mlz-brand-900);
}

.mlz-hero-status .mlz-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.15);
}

.mlz-hero-status small {
  display: block;
  margin-top: 0.28rem;
  color: #6b7280;
  font-size: 0.74rem;
}

.mlz-mini-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.5rem;
}

.mlz-mini-cards article {
  border-radius: 0.85rem;
  background: #fff;
  border: 1px solid color-mix(in srgb, var(--mlz-brand-100) 88%, #fff);
  padding: 0.65rem 0.45rem;
  text-align: center;
  cursor: pointer;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease, border-color 0.25s ease;
}

.mlz-mini-cards article:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 24px -6px rgba(67, 52, 121, 0.16);
  border-color: var(--mlz-brand-500);
}

.mlz-mini-cards p {
  margin: 0;
  font-size: 0.72rem;
  color: #1f2937;
  line-height: 1.35;
  font-weight: 700;
}

/* Sections Head */
.mlz-section-head {
  margin-bottom: 1.25rem;
}

.mlz-section-head h2 {
  font-size: 1.65rem;
  font-weight: 900;
  color: var(--mlz-brand-900);
  margin: 0;
  letter-spacing: -0.01em;
}

.mlz-section-head p {
  font-size: 0.92rem;
  color: #6b7280;
  margin: 0.35rem 0 0;
  line-height: 1.6;
}

/* Journey Section */
.mlz-journey {
  margin-bottom: 3.5rem;
  padding-top: 1.5rem;
}

.mlz-journey-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  position: relative;
}

.mlz-journey-step {
  border-radius: 1.15rem;
  background: #fff;
  border: 1px solid var(--mlz-brand-100);
  padding: 1.25rem 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  cursor: pointer;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease, border-color 0.25s ease, background 0.25s ease;
  position: relative;
}

.mlz-journey-step:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 28px -6px rgba(48, 37, 85, 0.12);
  border-color: var(--mlz-brand-500);
}

.mlz-journey-step.is-active {
  border-color: var(--mlz-brand-600);
  background: linear-gradient(180deg, #ffffff 0%, rgba(241, 240, 246, 0.6) 100%);
  box-shadow: 0 0 0 2px var(--mlz-brand-600), 0 14px 30px -6px rgba(67, 52, 121, 0.18);
}

.mlz-step-num {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--mlz-brand-50);
  color: var(--mlz-brand-700);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 0.95rem;
  transition: all 0.25s ease;
}

.mlz-journey-step.is-active .mlz-step-num {
  background: linear-gradient(135deg, var(--mlz-brand-600), var(--mlz-brand-900));
  color: #fff;
  transform: scale(1.1);
  box-shadow: 0 4px 12px rgba(75, 58, 135, 0.3);
}

.mlz-journey-step h3 {
  font-size: 0.98rem;
  font-weight: 800;
  color: var(--mlz-brand-900);
  margin: 0;
}

.mlz-journey-step p {
  font-size: 0.8rem;
  line-height: 1.6;
  color: #6b7280;
  margin: 0;
}

/* Journey Spotlight Card */
.mlz-journey-spotlight {
  margin-top: 1.25rem;
  border-radius: 1.25rem;
  background: linear-gradient(135deg, #ffffff 0%, #FAF8FF 100%);
  border: 1px solid color-mix(in srgb, var(--mlz-brand-500) 35%, #fff);
  padding: 1.4rem 1.6rem;
  box-shadow: 0 12px 30px -8px rgba(67, 52, 121, 0.1);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.mlz-spotlight-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--mlz-brand-100);
}

.mlz-spotlight-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--mlz-brand-50);
  color: var(--mlz-brand-700);
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 800;
}

.mlz-spotlight-stakeholders {
  font-size: 0.8rem;
  color: #6b7280;
  font-weight: 600;
}

.mlz-spotlight-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
}

.mlz-spotlight-item {
  background: #ffffff;
  border-radius: 0.85rem;
  border: 1px solid var(--mlz-brand-100);
  padding: 0.85rem 1rem;
  font-size: 0.82rem;
  line-height: 1.6;
  color: #374151;
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.mlz-spotlight-item i {
  color: var(--mlz-brand-600);
  margin-top: 0.2rem;
  flex-shrink: 0;
}

/* Feature Catalog Section */
.mlz-feature-catalog {
  margin-bottom: 3.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--mlz-brand-100);
}

.mlz-filter-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.75rem;
}

.mlz-filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.mlz-filter-chip {
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--mlz-brand-100);
  color: #4b5563;
  padding: 0.42rem 0.95rem;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  font-family: inherit;
}

.mlz-filter-chip:hover {
  background: var(--mlz-brand-50);
  color: var(--mlz-brand-700);
  border-color: var(--mlz-brand-500);
  transform: translateY(-1px);
}

.mlz-filter-chip.is-active {
  background: var(--mlz-brand-600);
  color: #fff;
  border-color: var(--mlz-brand-600);
  box-shadow: 0 4px 14px rgba(75, 58, 135, 0.28);
}

.mlz-search-wrap {
  position: relative;
  min-width: 280px;
}

.mlz-search-wrap input {
  width: 100%;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--mlz-brand-100);
  padding: 0.55rem 1.15rem 0.55rem 2.2rem;
  font-size: 0.84rem;
  font-family: inherit;
  outline: none;
  box-sizing: border-box;
  transition: all 0.2s ease;
}

[dir="rtl"] .mlz-search-wrap input {
  padding: 0.55rem 2.2rem 0.55rem 1.15rem;
}

.mlz-search-wrap input:focus {
  border-color: var(--mlz-brand-500);
  box-shadow: 0 0 0 3px rgba(113, 98, 166, 0.15);
}

.mlz-search-clear {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: 0.75rem;
  background: none;
  border: none;
  color: #9ca3af;
  cursor: pointer;
  font-size: 0.75rem;
  padding: 0.2rem;
}

[dir="rtl"] .mlz-search-clear {
  right: auto;
  left: 0.75rem;
}

.mlz-search-clear:hover {
  color: #4b5563;
}

.mlz-feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.mlz-feature-card {
  border-radius: 1.15rem;
  background: #fff;
  border: 1px solid var(--mlz-brand-100);
  padding: 1.25rem 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  cursor: pointer;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease, border-color 0.25s ease;
  position: relative;
}

.mlz-feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 32px -8px rgba(67, 52, 121, 0.15);
  border-color: var(--mlz-brand-500);
}

.mlz-feature-card header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.mlz-feature-code {
  display: none !important;
}

.mlz-feature-scope {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--mlz-brand-700);
  background: var(--mlz-brand-50);
  padding: 0.22rem 0.65rem;
  border-radius: 999px;
  border: 1px solid var(--mlz-brand-100);
}

.mlz-feature-card h3 {
  font-size: 0.98rem;
  font-weight: 800;
  color: var(--mlz-brand-900);
  margin: 0;
  line-height: 1.4;
}

.mlz-feature-card p {
  font-size: 0.8rem;
  line-height: 1.6;
  color: #6b7280;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.mlz-feature-card-footer {
  margin-top: auto;
  padding-top: 0.65rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--mlz-brand-600);
  border-top: 1px dashed var(--mlz-brand-100);
}

/* Feature Modal / Drawer */
.mlz-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(48, 37, 85, 0.5);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  animation: mlzFadeIn 0.25s ease-out;
}

.mlz-modal-content {
  background: #ffffff;
  border-radius: 1.5rem;
  max-width: 600px;
  width: 100%;
  padding: 2rem;
  box-shadow: 0 24px 72px -12px rgba(48, 37, 85, 0.25);
  border: 1px solid var(--mlz-brand-100);
  position: relative;
  max-height: 90vh;
  overflow-y: auto;
  animation: mlzScaleUp 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes mlzFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes mlzScaleUp {
  from { opacity: 0; transform: scale(0.95) translateY(10px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

.mlz-modal-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--mlz-brand-50);
  border: none;
  color: #6b7280;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  transition: all 0.2s ease;
}

[dir="rtl"] .mlz-modal-close {
  right: auto;
  left: 1.25rem;
}

.mlz-modal-close:hover {
  background: var(--mlz-brand-100);
  color: var(--mlz-brand-900);
}

/* Governance & Security Section */
.mlz-governance {
  margin-bottom: 3.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--mlz-brand-100);
}

.mlz-governance-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.mlz-governance-card {
  border-radius: 1.15rem;
  background: #fff;
  border: 1px solid var(--mlz-brand-100);
  padding: 1.25rem 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  cursor: pointer;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease, border-color 0.25s ease;
}

.mlz-governance-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 28px -6px rgba(48, 37, 85, 0.12);
  border-color: var(--mlz-brand-500);
}

.mlz-governance-card h3 {
  font-size: 0.98rem;
  font-weight: 800;
  color: var(--mlz-brand-900);
  margin: 0;
}

.mlz-governance-card p {
  font-size: 0.8rem;
  line-height: 1.6;
  color: #6b7280;
  margin: 0;
}

.mlz-gov-checks {
  margin-top: 0.5rem;
  padding-top: 0.5rem;
  border-top: 1px dashed var(--mlz-brand-100);
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.mlz-gov-check {
  font-size: 0.74rem;
  color: #4b5563;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.mlz-gov-check i {
  color: #10b981;
  font-size: 0.72rem;
}

/* FAQ Section */
.mlz-faq {
  margin-bottom: 3.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--mlz-brand-100);
}

.mlz-faq-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.mlz-faq-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.mlz-faq-chip {
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--mlz-brand-100);
  color: #4b5563;
  padding: 0.38rem 0.85rem;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
}

.mlz-faq-chip:hover {
  background: var(--mlz-brand-50);
  color: var(--mlz-brand-700);
  border-color: var(--mlz-brand-500);
}

.mlz-faq-chip.is-active {
  background: var(--mlz-brand-600);
  color: #fff;
  border-color: var(--mlz-brand-600);
  box-shadow: 0 4px 14px rgba(75, 58, 135, 0.25);
}

.mlz-faq-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.mlz-faq-toggle-all {
  background: #ffffff;
  border: 1px solid var(--mlz-brand-100);
  border-radius: 999px;
  color: var(--mlz-brand-700);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.38rem 0.85rem;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
}

.mlz-faq-toggle-all:hover {
  background: var(--mlz-brand-50);
  border-color: var(--mlz-brand-500);
}

.mlz-faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.mlz-faq-item {
  border-radius: 1.15rem;
  background: #ffffff;
  border: 1px solid color-mix(in srgb, var(--mlz-brand-100) 80%, #fff);
  box-shadow: 0 2px 8px rgba(67, 52, 121, 0.04);
  transition: border-color 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
  overflow: hidden;
}

.mlz-faq-item:hover {
  border-color: color-mix(in srgb, var(--mlz-brand-500) 45%, #fff);
  box-shadow: 0 6px 18px rgba(67, 52, 121, 0.08);
}

.mlz-faq-item.is-open {
  border-color: var(--mlz-brand-500);
  box-shadow: 0 8px 24px -4px rgba(67, 52, 121, 0.12);
  background: #ffffff;
}

.mlz-faq-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 1.4rem;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  text-align: start;
  color: #1f2937;
  font-size: 0.98rem;
  font-weight: 800;
  line-height: 1.45;
  transition: color 0.2s ease;
}

.mlz-faq-item.is-open .mlz-faq-trigger {
  color: var(--mlz-brand-700);
}

.mlz-faq-icon {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--mlz-brand-50);
  color: var(--mlz-brand-600);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.2s ease, color 0.2s ease;
}

.mlz-faq-item.is-open .mlz-faq-icon {
  transform: rotate(180deg);
  background: var(--mlz-brand-600);
  color: #ffffff;
}

/* Smooth Accordion CSS Grid Animation */
.mlz-faq-collapse {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.32s cubic-bezier(0.16, 1, 0.3, 1);
}

.mlz-faq-item.is-open .mlz-faq-collapse {
  grid-template-rows: 1fr;
}

.mlz-faq-body {
  overflow: hidden;
}

.mlz-faq-content {
  padding: 0 1.4rem 1.35rem;
  color: #4b5563;
  font-size: 0.9rem;
  line-height: 1.75;
  border-top: 1px dashed rgba(224, 220, 236, 0.5);
  margin-top: -0.25rem;
  padding-top: 0.85rem;
}

/* Final CTA Section */
.mlz-final-cta {
  border-radius: 1.5rem;
  background: linear-gradient(135deg, var(--mlz-brand-700) 0%, var(--mlz-brand-900) 100%);
  padding: 3rem 2rem;
  text-align: center;
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.1rem;
  margin-bottom: 2rem;
  box-shadow: 0 20px 50px -10px rgba(48, 37, 85, 0.3);
  position: relative;
  overflow: hidden;
}

.mlz-final-cta h2 {
  font-size: 1.85rem;
  font-weight: 900;
  margin: 0;
  color: #fff;
  letter-spacing: -0.01em;
}

.mlz-final-cta p {
  font-size: 0.98rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.85);
  margin: 0;
  max-width: 620px;
}

.mlz-final-cta .mlz-btn-primary {
  background: #ffffff;
  color: var(--mlz-brand-900);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.mlz-final-cta .mlz-btn-primary:hover {
  background: #FAF8FF;
  color: var(--mlz-brand-700);
  transform: translateY(-3px) scale(1.04);
}

/* Footer */
.mlz-footer {
  text-align: center;
  font-size: 0.82rem;
  color: #9ca3af;
  padding: 1.5rem 0 0.5rem;
  border-top: 1px solid var(--mlz-brand-100);
}

/* Floating Back To Top Button */
.mlz-back-to-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--mlz-brand-600);
  color: #ffffff;
  border: none;
  box-shadow: 0 6px 20px rgba(67, 52, 121, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 99;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

[dir="rtl"] .mlz-back-to-top {
  right: auto;
  left: 24px;
}

.mlz-back-to-top:hover {
  background: var(--mlz-brand-700);
  transform: translateY(-4px) scale(1.08);
  box-shadow: 0 10px 28px rgba(67, 52, 121, 0.45);
}

@media (max-width: 1024px) {
  .mlz-hero {
    grid-template-columns: 1fr;
  }
  .mlz-feature-grid, .mlz-governance-grid, .mlz-journey-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .mlz-spotlight-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .mlz-landing {
    padding: 1rem 1rem 2rem;
    border-radius: 1.25rem;
  }
  .mlz-topbar-nav a.mlz-topbar-link {
    display: none;
  }
  .mlz-feature-grid, .mlz-governance-grid, .mlz-journey-grid {
    grid-template-columns: 1fr;
  }
  .mlz-hero-copy h1 {
    font-size: 1.85rem;
  }
  .mlz-hero-copy h1 span {
    font-size: 1.45rem;
  }
  .mlz-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (prefers-reduced-motion: reduce) {
  *, ::before, ::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
