/*
 * MohammadSaad.net Executive Core v5.1
 * IMPORTANT: Every selector is scoped to .msx-* components.
 * This file intentionally contains no body, theme, Elementor, Kadence,
 * header, footer, nav, page, post or generic element overrides.
 */

.msx-page {
  --msx-navy: #0b1f3a;
  --msx-navy-2: #142c4c;
  --msx-gold: #b9975b;
  --msx-gold-soft: #d5bf93;
  --msx-ink: #172033;
  --msx-muted: #667085;
  --msx-line: #e7e9ee;
  --msx-surface: #f7f7f5;
  --msx-white: #ffffff;
  --msx-radius-sm: 10px;
  --msx-radius: 18px;
  --msx-radius-lg: 28px;
  --msx-shadow: 0 18px 50px rgba(11, 31, 58, 0.08);
  color: var(--msx-ink);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  line-height: 1.7;
  width: 100%;
  overflow: hidden;
}

.msx-page *, .msx-page *::before, .msx-page *::after { box-sizing: border-box; }
.msx-page img { display: block; max-width: 100%; height: auto; }
.msx-page a { color: inherit; }

.msx-container { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.msx-section { padding: clamp(72px, 8vw, 116px) 0; }
.msx-section--soft { background: var(--msx-surface); }
.msx-section--navy { background: var(--msx-navy); color: var(--msx-white); }

.msx-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  color: var(--msx-gold);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .15em;
  line-height: 1.3;
  text-transform: uppercase;
}
.msx-eyebrow::before { content: ""; width: 34px; height: 1px; background: currentColor; }

.msx-display,
.msx-h1,
.msx-h2,
.msx-h3 {
  color: var(--msx-navy);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  letter-spacing: -.025em;
  line-height: 1.08;
  margin: 0;
}
.msx-section--navy .msx-display,
.msx-section--navy .msx-h1,
.msx-section--navy .msx-h2,
.msx-section--navy .msx-h3 { color: var(--msx-white); }
.msx-display { font-size: clamp(48px, 7vw, 88px); }
.msx-h1 { font-size: clamp(42px, 6vw, 72px); }
.msx-h2 { font-size: clamp(34px, 4.5vw, 56px); }
.msx-h3 { font-size: clamp(24px, 2.5vw, 34px); }
.msx-lead { color: var(--msx-muted); font-size: clamp(18px, 2vw, 22px); line-height: 1.65; margin: 22px 0 0; max-width: 760px; }
.msx-section--navy .msx-lead { color: rgba(255,255,255,.78); }

.msx-grid { display: grid; gap: 24px; }
.msx-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.msx-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.msx-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.msx-card {
  background: var(--msx-white);
  border: 1px solid var(--msx-line);
  border-radius: var(--msx-radius);
  padding: clamp(26px, 3vw, 38px);
  box-shadow: 0 1px 0 rgba(11,31,58,.02);
}
.msx-card--elevated { border-color: transparent; box-shadow: var(--msx-shadow); }
.msx-card--navy { background: var(--msx-navy); border-color: var(--msx-navy); color: var(--msx-white); }

.msx-btn {
  align-items: center;
  border: 1px solid transparent;
  border-radius: 999px;
  display: inline-flex;
  font-size: 14px;
  font-weight: 700;
  gap: 10px;
  justify-content: center;
  letter-spacing: .02em;
  min-height: 50px;
  padding: 13px 24px;
  text-decoration: none !important;
  transition: transform .2s ease, background-color .2s ease, border-color .2s ease;
}
.msx-btn:hover { transform: translateY(-2px); }
.msx-btn--primary { background: var(--msx-navy); color: var(--msx-white) !important; }
.msx-btn--gold { background: var(--msx-gold); color: var(--msx-navy) !important; }
.msx-btn--outline { background: transparent; border-color: rgba(11,31,58,.25); color: var(--msx-navy) !important; }
.msx-section--navy .msx-btn--outline { border-color: rgba(255,255,255,.35); color: var(--msx-white) !important; }
.msx-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }

.msx-rule { width: 100%; height: 1px; background: var(--msx-line); border: 0; margin: 0; }
.msx-kicker { color: var(--msx-gold); font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.msx-meta { color: var(--msx-muted); font-size: 14px; }
.msx-stat { border-left: 2px solid var(--msx-gold); padding-left: 18px; }
.msx-stat__value { color: var(--msx-navy); font-family: Georgia, "Times New Roman", serif; font-size: clamp(36px, 4vw, 52px); line-height: 1; }
.msx-stat__label { color: var(--msx-muted); font-size: 14px; margin-top: 9px; }

@media (max-width: 900px) {
  .msx-grid--3, .msx-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 680px) {
  .msx-container { width: min(100% - 28px, 1180px); }
  .msx-section { padding: 64px 0; }
  .msx-grid--2, .msx-grid--3, .msx-grid--4 { grid-template-columns: 1fr; }
  .msx-actions { align-items: stretch; flex-direction: column; }
  .msx-btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .msx-page *, .msx-page *::before, .msx-page *::after { scroll-behavior: auto !important; transition: none !important; }
}
