/*
Theme Name: Marketer Mart
Theme URI: https://marketermartllc.com/
Author: Marketer Mart LLC
Author URI: https://marketermartllc.com/
Description: A modern, RTL-first WordPress theme built for Marketer Mart LLC — an Arabic digital marketing agency. Purple + yellow brand palette, Light Skeuomorphism buttons, Bento grids, Case Studies CPT with schema, and Elementor Pro compatible. Includes 20+ pre-built sections, custom shortcodes, and a full case studies system.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 8.0
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: marketer-mart
Tags: rtl-language-support, custom-colors, custom-menu, custom-logo, featured-images, threaded-comments, translation-ready, blog, portfolio, e-commerce
*/

/* ============================================================
   Marketer Mart — Master Stylesheet
   RTL · Cairo/Tajawal · Purple + Yellow
   ============================================================ */

:root {
  /* Brand palette — from mascot */
  --mm-purple-900: #2E0A5C;
  --mm-purple-700: #501783;
  --mm-purple-500: #7C3AED;
  --mm-purple-300: #B794F4;
  --mm-yellow-400: #FFD300;
  --mm-yellow-300: #FFE066;
  --mm-yellow-600: #FFB700;
  --mm-yellow-700: #C99F00;
  --mm-ink: #12111A;
  --mm-ink-2: #3A3948;
  --mm-muted: #6B6A78;
  --mm-bg: #FDFCFF;
  --mm-card: #FFFFFF;
  --mm-line: #EAE6F2;
  --mm-line-2: #DDD5EC;
  --mm-red: #DC2626;
  --mm-green: #16A34A;
  --mm-shadow-sm: 0 2px 8px rgba(80,23,131,0.06);
  --mm-shadow: 0 10px 30px -18px rgba(80,23,131,0.25);
  --mm-shadow-lg: 0 20px 50px -25px rgba(80,23,131,0.35);
  --mm-radius: 16px;
  --mm-radius-lg: 22px;
  --mm-container: 1200px;
}

/* ============ Reset ============ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Cairo', 'Tajawal', system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--mm-ink);
  background: var(--mm-bg);
  line-height: 1.85;
  font-size: 16px;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--mm-purple-700); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--mm-yellow-600); }

/* ============ Typography ============ */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Cairo', sans-serif;
  color: var(--mm-ink);
  line-height: 1.35;
  margin: 0 0 12px;
  font-weight: 800;
}
h1 { font-size: 2.4rem; font-weight: 900; letter-spacing: -0.5px; }
h2 { font-size: 1.8rem; }
h3 { font-size: 1.4rem; }
h4 { font-size: 1.15rem; }
p { margin: 0 0 12px; color: var(--mm-ink-2); }

/* ============ Container ============ */
.mm-container {
  max-width: var(--mm-container);
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
}
@media (max-width: 700px) { .mm-container { padding: 0 16px; } }

/* ============ Buttons — Light Skeuomorphism ============ */
.mm-btn {
  display: inline-block;
  padding: 13px 26px;
  border-radius: 14px;
  font-family: 'Cairo', sans-serif;
  font-weight: 800;
  font-size: 0.96rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.1s, box-shadow 0.1s;
  position: relative;
  top: 0;
  line-height: 1.4;
}
.mm-btn-primary {
  background: linear-gradient(180deg, var(--mm-yellow-300) 0%, var(--mm-yellow-400) 100%);
  color: var(--mm-purple-900);
  box-shadow:
    0 4px 0 var(--mm-yellow-700),
    0 6px 12px rgba(255,165,0,0.3),
    inset 0 1.5px 0 rgba(255,255,255,0.7);
}
.mm-btn-primary:hover {
  top: -1px;
  color: var(--mm-purple-900);
  box-shadow:
    0 5px 0 var(--mm-yellow-700),
    0 8px 16px rgba(255,165,0,0.4),
    inset 0 1.5px 0 rgba(255,255,255,0.8);
}
.mm-btn-primary:active {
  top: 3px;
  box-shadow:
    0 1px 0 var(--mm-yellow-700),
    inset 0 2px 4px rgba(122,91,0,0.2);
}
.mm-btn-secondary {
  background: linear-gradient(180deg, #FFFFFF 0%, #F5EFFB 100%);
  color: var(--mm-purple-700);
  box-shadow:
    0 4px 0 var(--mm-line-2),
    0 6px 12px rgba(80,23,131,0.15),
    inset 0 1.5px 0 rgba(255,255,255,1);
}
.mm-btn-secondary:hover { top: -1px; color: var(--mm-purple-700); }
.mm-btn-secondary:active {
  top: 3px;
  box-shadow: 0 1px 0 var(--mm-line-2), inset 0 2px 4px rgba(80,23,131,0.1);
}
.mm-btn-ghost {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,0.4);
  box-shadow: none;
}
.mm-btn-ghost:hover {
  background: rgba(255,255,255,0.1);
  border-color: #fff;
  color: #fff;
  top: 0;
}

/* ============ HEADER ============ */
.mm-site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--mm-line);
  transition: box-shadow 0.2s;
}
.mm-site-header.scrolled { box-shadow: 0 4px 20px -10px rgba(80,23,131,0.15); }
.mm-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 72px;
}
.mm-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--mm-purple-900);
  font-family: 'Cairo', sans-serif;
  font-weight: 900;
  font-size: 1.15rem;
  text-decoration: none;
}
.mm-brand:hover { color: var(--mm-purple-700); }
.mm-brand img { width: 44px; height: 44px; }
.mm-brand-name { line-height: 1.2; }
.mm-brand-name small { display: block; font-size: 0.7rem; color: var(--mm-muted); font-weight: 600; }

.mm-primary-nav ul {
  list-style: none;
  margin: 0; padding: 0;
  display: flex;
  gap: 4px;
}
.mm-primary-nav a {
  display: block;
  padding: 10px 14px;
  color: var(--mm-ink-2);
  font-weight: 700;
  font-size: 0.92rem;
  border-radius: 8px;
  transition: background 0.2s, color 0.2s;
}
.mm-primary-nav a:hover,
.mm-primary-nav .current-menu-item > a {
  background: #F5EFFB;
  color: var(--mm-purple-700);
}
.mm-header-cta { display: flex; align-items: center; gap: 10px; }
.mm-mobile-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--mm-line);
  border-radius: 8px;
  padding: 8px 10px;
  cursor: pointer;
  color: var(--mm-purple-700);
}
@media (max-width: 900px) {
  .mm-primary-nav { display: none; position: absolute; top: 100%; right: 0; left: 0; background: #fff; padding: 12px; border-top: 1px solid var(--mm-line); box-shadow: 0 20px 40px -20px rgba(80,23,131,0.2); }
  .mm-primary-nav.open { display: block; }
  .mm-primary-nav ul { flex-direction: column; gap: 2px; }
  .mm-mobile-toggle { display: inline-flex; }
  .mm-header-cta .mm-btn { padding: 10px 16px; font-size: 0.85rem; }
}

/* ============ HERO ============ */
.mm-hero {
  position: relative;
  padding: 90px 0 100px;
  background:
    radial-gradient(circle at 85% 20%, rgba(255,211,0,0.18), transparent 50%),
    radial-gradient(circle at 10% 90%, rgba(124,58,237,0.25), transparent 55%),
    linear-gradient(135deg, #1A0740 0%, #501783 55%, #2E0A5C 100%);
  color: #fff;
  overflow: hidden;
}
.mm-hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
}
.mm-hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: center;
}
@media (max-width: 900px) {
  .mm-hero-inner { grid-template-columns: 1fr; text-align: center; gap: 30px; }
  .mm-hero { padding: 60px 0 70px; }
}
.mm-hero-eyebrow {
  display: inline-block;
  background: var(--mm-yellow-400);
  color: var(--mm-purple-900);
  padding: 6px 18px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  margin-bottom: 18px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.5), 0 4px 10px rgba(255,165,0,0.25);
}
.mm-hero h1 {
  color: #fff;
  font-size: 3rem;
  font-weight: 900;
  line-height: 1.2;
  margin: 0 0 18px;
  letter-spacing: -1px;
}
@media (max-width: 700px) { .mm-hero h1 { font-size: 2rem; } }
.mm-hero h1 .highlight {
  background: linear-gradient(120deg, transparent 0%, transparent 30%, rgba(255,211,0,0.35) 30%, rgba(255,211,0,0.35) 90%, transparent 90%);
  padding: 0 6px;
}
.mm-hero-lead {
  color: rgba(255,255,255,0.9);
  font-size: 1.1rem;
  margin: 0 0 26px;
  max-width: 560px;
  line-height: 1.85;
}
@media (max-width: 900px) { .mm-hero-lead { margin-left: auto; margin-right: auto; } }
.mm-hero-buttons { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 900px) { .mm-hero-buttons { justify-content: center; } }

.mm-hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.mm-hero-mascot {
  width: 100%;
  max-width: 380px;
  filter: drop-shadow(0 20px 40px rgba(0,0,0,0.4));
  animation: mm-float 4s ease-in-out infinite;
}
@keyframes mm-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}
.mm-hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 34px;
}
@media (max-width: 900px) { .mm-hero-stats { justify-content: center; } }
.mm-hero-stat {
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,0.2);
  padding: 12px 20px;
  border-radius: 12px;
  color: #fff;
}
.mm-hero-stat .n { font-family: 'Cairo', sans-serif; font-weight: 900; font-size: 1.6rem; color: var(--mm-yellow-400); line-height: 1; display: block; }
.mm-hero-stat .l { font-size: 0.75rem; color: rgba(255,255,255,0.85); font-weight: 600; margin-top: 4px; display: block; }

/* ============ SECTION ============ */
.mm-section {
  padding: 90px 0;
}
@media (max-width: 700px) { .mm-section { padding: 60px 0; } }
.mm-section-eyebrow {
  display: inline-block;
  background: #F0E5FF;
  color: var(--mm-purple-700);
  padding: 5px 14px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  margin-bottom: 10px;
}
.mm-section-title {
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--mm-purple-900);
  margin: 0 0 14px;
  line-height: 1.3;
  letter-spacing: -0.5px;
}
@media (max-width: 700px) { .mm-section-title { font-size: 1.6rem; } }
.mm-section-lead {
  font-size: 1.1rem;
  color: var(--mm-ink-2);
  max-width: 700px;
  margin: 0 0 40px;
  line-height: 1.85;
}
.mm-section-header { text-align: center; }
.mm-section-header .mm-section-lead { margin-left: auto; margin-right: auto; }

.mm-section-alt { background: #F5F0FA; }

/* ============ SERVICES GRID (Bento) ============ */
.mm-services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 900px) { .mm-services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .mm-services-grid { grid-template-columns: 1fr; } }
.mm-service-card {
  background: #fff;
  border-radius: var(--mm-radius-lg);
  padding: 26px 24px;
  border: 1px solid var(--mm-line);
  box-shadow: var(--mm-shadow-sm), inset 0 1px 0 rgba(255,255,255,0.9);
  transition: transform 0.25s cubic-bezier(.2,.8,.2,1), box-shadow 0.25s, border-color 0.25s;
  position: relative;
  overflow: hidden;
  text-decoration: none;
  color: var(--mm-ink);
  display: flex;
  flex-direction: column;
}
.mm-service-card::before {
  content: "";
  position: absolute; inset: 0 0 auto 0; height: 4px;
  background: linear-gradient(90deg, var(--mm-purple-700), var(--mm-yellow-400));
  opacity: 0; transition: opacity 0.25s;
}
.mm-service-card:hover {
  transform: translateY(-6px);
  border-color: var(--mm-yellow-400);
  box-shadow: var(--mm-shadow-lg);
}
.mm-service-card:hover::before { opacity: 1; }
.mm-service-card.is-feature {
  grid-column: span 2;
  background: linear-gradient(135deg, #FFF9DB 0%, #FFFFFF 60%);
  border-color: rgba(255,211,0,0.4);
}
.mm-service-card.is-feature::before { opacity: 1; height: 5px; }
@media (max-width: 620px) { .mm-service-card.is-feature { grid-column: span 1; } }
.mm-service-icon {
  width: 56px; height: 56px;
  background: linear-gradient(135deg, var(--mm-purple-700), var(--mm-purple-900));
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 1.6rem;
  margin-bottom: 14px;
  box-shadow: 0 8px 20px -6px rgba(80,23,131,0.35);
}
.mm-service-card.is-feature .mm-service-icon {
  background: linear-gradient(135deg, var(--mm-yellow-400), var(--mm-yellow-600));
  color: var(--mm-purple-900);
}
.mm-service-title { color: var(--mm-purple-900); margin: 8px 0 6px; font-size: 1.15rem; font-weight: 800; }
.mm-service-card.is-feature .mm-service-title { font-size: 1.35rem; }
.mm-service-desc { color: var(--mm-ink-2); font-size: 0.92rem; line-height: 1.75; flex: 1; margin: 4px 0 14px; }
.mm-service-link {
  color: var(--mm-purple-700);
  font-weight: 700;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.2s;
}
.mm-service-card:hover .mm-service-link { gap: 12px; color: var(--mm-yellow-600); }
.mm-featured-badge {
  position: absolute;
  top: 14px;
  inset-inline-end: 14px;
  background: linear-gradient(180deg, var(--mm-yellow-300), var(--mm-yellow-400));
  color: var(--mm-purple-900);
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 900;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.5), 0 4px 10px rgba(255,165,0,0.3);
}

/* ============ ABOUT / STATS ============ */
.mm-about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
@media (max-width: 900px) { .mm-about-grid { grid-template-columns: 1fr; gap: 30px; } }
.mm-about-visual {
  position: relative;
  text-align: center;
}
.mm-about-visual img { max-width: 320px; display: inline-block; }
.mm-stat-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 20px;
}
.mm-stat-card {
  background: #fff;
  border: 1px solid var(--mm-line);
  border-radius: 14px;
  padding: 20px;
  text-align: center;
  box-shadow: var(--mm-shadow-sm);
}
.mm-stat-card .n {
  font-family: 'Cairo', sans-serif;
  font-weight: 900;
  font-size: 2.2rem;
  color: var(--mm-purple-700);
  line-height: 1;
  direction: ltr;
}
.mm-stat-card .l { font-size: 0.85rem; color: var(--mm-muted); font-weight: 700; margin-top: 6px; }

/* ============ HOW IT WORKS ============ */
.mm-how-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  position: relative;
}
@media (max-width: 900px) { .mm-how-steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .mm-how-steps { grid-template-columns: 1fr; } }
.mm-how-step {
  background: #fff;
  border: 1px solid var(--mm-line);
  border-radius: 16px;
  padding: 24px 20px;
  position: relative;
  box-shadow: var(--mm-shadow-sm);
}
.mm-how-num {
  position: absolute;
  top: -18px;
  inset-inline-start: 20px;
  width: 40px; height: 40px;
  background: linear-gradient(180deg, var(--mm-yellow-400), var(--mm-yellow-600));
  color: var(--mm-purple-900);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Cairo', sans-serif;
  font-weight: 900;
  font-size: 1.15rem;
  box-shadow: 0 8px 20px -6px rgba(255,165,0,0.5), inset 0 1.5px 0 rgba(255,255,255,0.5);
}
.mm-how-step h4 { color: var(--mm-purple-900); margin: 20px 0 8px; font-size: 1.05rem; }
.mm-how-step p { color: var(--mm-ink-2); font-size: 0.88rem; line-height: 1.7; margin: 0; }

/* ============ PRICING (from earlier) ============ */
.mm-pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 820px) { .mm-pricing-grid { grid-template-columns: 1fr; gap: 18px; } }
.mm-price-card {
  background: linear-gradient(160deg, #FFFFFF 0%, #FAF7FF 100%);
  border-radius: 22px;
  padding: 30px 26px 26px;
  border: 1px solid rgba(221,213,236,0.6);
  box-shadow:
    0 1px 2px rgba(80,23,131,0.05),
    0 12px 24px -12px rgba(80,23,131,0.15),
    0 24px 40px -24px rgba(80,23,131,0.20),
    inset 0 1.5px 0 rgba(255,255,255,0.95);
  transition: transform 0.25s, box-shadow 0.25s;
  display: flex; flex-direction: column;
  position: relative;
}
.mm-price-card:hover { transform: translateY(-4px); }
.mm-price-card.featured {
  background: linear-gradient(160deg, #FFFFFF 0%, #FFF9DB 100%);
  border: 1.5px solid rgba(255,211,0,0.5);
  transform: translateY(-8px);
  box-shadow:
    0 2px 4px rgba(80,23,131,0.08),
    0 20px 40px -10px rgba(80,23,131,0.25),
    0 40px 70px -20px rgba(80,23,131,0.35),
    inset 0 2px 0 rgba(255,255,255,1);
}
@media (max-width: 820px) { .mm-price-card.featured { transform: none; } }
.mm-price-badge {
  position: absolute; top: -14px; inset-inline-start: 50%; transform: translateX(50%);
  background: linear-gradient(180deg, var(--mm-yellow-300), var(--mm-yellow-400));
  color: var(--mm-purple-900);
  font-size: 0.72rem; font-weight: 900;
  padding: 6px 16px; border-radius: 999px;
  box-shadow: 0 4px 10px rgba(255,165,0,0.4), inset 0 1.5px 0 rgba(255,255,255,0.7);
}
.mm-price-name { color: var(--mm-purple-900); font-size: 1.15rem; font-weight: 800; text-align: center; margin: 0 0 4px; }
.mm-price-tagline { color: var(--mm-muted); font-size: 0.85rem; text-align: center; margin: 0 0 14px; }
.mm-price-amount {
  display: flex; align-items: baseline; justify-content: center; gap: 4px;
  padding: 12px 0;
  border-top: 1px dashed var(--mm-line-2);
  border-bottom: 1px dashed var(--mm-line-2);
  direction: ltr;
}
.mm-price-amount .currency { font-size: 1rem; color: var(--mm-purple-500); font-weight: 700; }
.mm-price-amount .value { font-family: 'Cairo', sans-serif; font-weight: 900; font-size: 2.6rem; color: var(--mm-purple-900); line-height: 1; letter-spacing: -1px; }
.mm-price-amount .period { font-size: 0.82rem; color: var(--mm-muted); font-weight: 600; }
.mm-price-features { list-style: none; padding: 16px 6px 20px; margin: 0; flex: 1; }
.mm-price-features li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 0.9rem; color: var(--mm-ink-2);
  padding: 7px 0;
  border-bottom: 1px solid rgba(234,230,242,0.6);
}
.mm-price-features li:last-child { border-bottom: none; }
.mm-price-features li::before {
  content: "✓";
  width: 20px; height: 20px;
  background: linear-gradient(180deg, var(--mm-yellow-300), var(--mm-yellow-400));
  color: var(--mm-purple-900);
  font-weight: 900; font-size: 0.78rem;
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  margin-top: 2px; flex-shrink: 0;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.6), 0 2px 4px rgba(255,165,0,0.25);
}
.mm-price-features li.dim { color: var(--mm-muted); }
.mm-price-features li.dim::before { content: "—"; background: #EEE9F5; color: var(--mm-muted); box-shadow: inset 0 1px 2px rgba(0,0,0,0.04); }

/* ============ TESTIMONIALS ============ */
.mm-testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 900px) { .mm-testimonials-grid { grid-template-columns: 1fr; } }
.mm-testimonial-card {
  background: #fff;
  border-radius: 18px;
  padding: 24px 22px;
  border: 1px solid var(--mm-line);
  box-shadow: var(--mm-shadow-sm);
  position: relative;
}
.mm-testimonial-card::before {
  content: "\201D";
  position: absolute; top: -10px; inset-inline-start: 20px;
  font-family: 'Cairo', serif; font-size: 4rem;
  color: var(--mm-yellow-400); line-height: 1;
  text-shadow: 0 2px 6px rgba(255,165,0,0.3);
}
.mm-testimonial-body { color: var(--mm-ink); font-size: 0.95rem; line-height: 1.85; margin: 10px 0 14px; font-style: italic; }
.mm-testimonial-author { display: flex; gap: 12px; align-items: center; padding-top: 12px; border-top: 1px dashed var(--mm-line-2); }
.mm-testimonial-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: linear-gradient(160deg, var(--mm-purple-500), var(--mm-purple-700));
  color: #fff; display: flex; align-items: center; justify-content: center;
  font-weight: 900; font-size: 1rem;
  box-shadow: 0 4px 10px rgba(80,23,131,0.3);
  flex-shrink: 0;
}
.mm-testimonial-name { color: var(--mm-purple-900); font-weight: 800; font-size: 0.92rem; }
.mm-testimonial-role { color: var(--mm-muted); font-size: 0.78rem; }
.mm-testimonial-stars { color: var(--mm-yellow-400); letter-spacing: 2px; font-size: 0.9rem; margin-bottom: 4px; }

/* ============ FINAL CTA ============ */
.mm-final-cta {
  background:
    radial-gradient(circle at 20% 80%, rgba(255,211,0,0.15), transparent 40%),
    radial-gradient(circle at 80% 20%, rgba(255,211,0,0.1), transparent 40%),
    linear-gradient(135deg, var(--mm-purple-700), var(--mm-purple-900));
  color: #fff;
  padding: 80px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.mm-final-cta h2 { color: #fff; font-size: 2.2rem; margin: 0 0 14px; font-weight: 900; }
.mm-final-cta p { color: rgba(255,255,255,0.9); max-width: 620px; margin: 0 auto 26px; font-size: 1.08rem; line-height: 1.85; }
.mm-final-cta .mm-hero-mascot-pointing {
  position: absolute;
  inset-inline-start: 6%;
  bottom: 20px;
  width: 130px;
  animation: mm-tilt 3s ease-in-out infinite;
}
@keyframes mm-tilt { 0%,100% { transform: rotate(-3deg); } 50% { transform: rotate(3deg); } }
@media (max-width: 900px) { .mm-final-cta .mm-hero-mascot-pointing { display: none; } }

/* ============ FOOTER ============ */
.mm-site-footer {
  background: var(--mm-purple-900);
  color: rgba(255,255,255,0.75);
  padding: 60px 0 20px;
}
.mm-footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
@media (max-width: 900px) { .mm-footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .mm-footer-grid { grid-template-columns: 1fr; } }
.mm-footer-col h4 {
  color: #fff;
  font-size: 0.95rem;
  margin: 0 0 14px;
  font-weight: 800;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--mm-yellow-400);
  display: inline-block;
}
.mm-footer-col ul { list-style: none; padding: 0; margin: 0; }
.mm-footer-col li { padding: 4px 0; }
.mm-footer-col a { color: rgba(255,255,255,0.7); font-size: 0.9rem; text-decoration: none; transition: color 0.2s, padding 0.2s; }
.mm-footer-col a:hover { color: var(--mm-yellow-400); padding-inline-start: 4px; }
.mm-footer-about img { width: 60px; margin-bottom: 14px; }
.mm-footer-social { display: flex; gap: 10px; margin-top: 14px; }
.mm-footer-social a {
  width: 40px; height: 40px;
  background: rgba(255,255,255,0.1);
  border-radius: 10px;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--mm-yellow-400);
  font-size: 1.2rem;
  transition: all 0.2s;
}
.mm-footer-social a:hover {
  background: var(--mm-yellow-400);
  color: var(--mm-purple-900);
  transform: translateY(-3px);
  padding: 0;
}
.mm-footer-bottom {
  border-top: 1px dashed rgba(255,255,255,0.15);
  padding-top: 20px;
  text-align: center;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
}

/* ============ CHATBOT FLOATER ============ */
.mm-chatbot-toggle {
  position: fixed;
  bottom: 24px;
  inset-inline-start: 24px;
  width: 64px; height: 64px;
  background: linear-gradient(135deg, var(--mm-purple-700), var(--mm-purple-900));
  border-radius: 50%;
  box-shadow:
    0 8px 24px rgba(80,23,131,0.4),
    inset 0 2px 0 rgba(255,255,255,0.2);
  cursor: pointer;
  z-index: 90;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  border: 3px solid var(--mm-yellow-400);
  animation: mm-pulse 3s ease-in-out infinite;
  transition: transform 0.2s;
}
.mm-chatbot-toggle:hover { transform: scale(1.08); }
.mm-chatbot-toggle img { width: 48px; height: 48px; border-radius: 50%; }
@keyframes mm-pulse {
  0%, 100% { box-shadow: 0 8px 24px rgba(80,23,131,0.4), inset 0 2px 0 rgba(255,255,255,0.2), 0 0 0 0 rgba(255,211,0,0.5); }
  50%      { box-shadow: 0 8px 24px rgba(80,23,131,0.4), inset 0 2px 0 rgba(255,255,255,0.2), 0 0 0 12px rgba(255,211,0,0); }
}
@media (max-width: 600px) {
  .mm-chatbot-toggle { width: 54px; height: 54px; bottom: 18px; inset-inline-start: 18px; }
  .mm-chatbot-toggle img { width: 40px; height: 40px; }
}

/* ============ PAGES / SINGLE ============ */
.mm-page-hero {
  background: linear-gradient(135deg, var(--mm-purple-700), var(--mm-purple-900));
  color: #fff;
  padding: 60px 0 70px;
  text-align: center;
}
.mm-page-hero h1 { color: #fff; margin: 0 0 12px; }
.mm-page-hero p { color: rgba(255,255,255,0.85); max-width: 600px; margin: 0 auto; }
.mm-content {
  max-width: 780px;
  margin: 0 auto;
  padding: 50px 24px;
}
.mm-content h2 { color: var(--mm-purple-900); margin-top: 32px; }
.mm-content p { line-height: 2; margin: 0 0 16px; }
.mm-content ul, .mm-content ol { padding-inline-start: 24px; }
.mm-content li { margin: 6px 0; }
.mm-content img { border-radius: 12px; box-shadow: var(--mm-shadow); margin: 20px 0; }
.mm-content blockquote {
  border-inline-start: 4px solid var(--mm-yellow-400);
  background: #FAF7FF;
  padding: 16px 20px;
  border-radius: 8px;
  color: var(--mm-ink-2);
  font-style: italic;
  margin: 20px 0;
}

/* ============ POST CARD ============ */
.mm-posts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 900px) { .mm-posts-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .mm-posts-grid { grid-template-columns: 1fr; } }
.mm-post-card {
  background: #fff;
  border-radius: 18px;
  border: 1px solid var(--mm-line);
  overflow: hidden;
  box-shadow: var(--mm-shadow-sm);
  transition: transform 0.25s, box-shadow 0.25s;
  text-decoration: none;
  color: var(--mm-ink);
  display: flex;
  flex-direction: column;
}
.mm-post-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--mm-shadow);
  border-color: var(--mm-yellow-400);
}
.mm-post-thumb { aspect-ratio: 16/9; overflow: hidden; background: #F5F0FA; }
.mm-post-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.mm-post-card:hover .mm-post-thumb img { transform: scale(1.05); }
.mm-post-body { padding: 18px 20px; flex: 1; display: flex; flex-direction: column; }
.mm-post-cat {
  display: inline-block;
  background: #F0E5FF;
  color: var(--mm-purple-700);
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
  margin-bottom: 8px;
  align-self: flex-start;
}
.mm-post-title { color: var(--mm-purple-900); font-size: 1.05rem; margin: 4px 0 8px; font-weight: 800; line-height: 1.5; }
.mm-post-excerpt { color: var(--mm-ink-2); font-size: 0.88rem; line-height: 1.7; margin: 4px 0 12px; flex: 1; }
.mm-post-meta { color: var(--mm-muted); font-size: 0.78rem; display: flex; gap: 12px; padding-top: 10px; border-top: 1px dashed var(--mm-line); }

/* ============ FAQ ============ */
.mm-faq-item {
  background: #fff;
  border: 1px solid var(--mm-line);
  border-radius: 12px;
  margin-bottom: 10px;
  overflow: hidden;
  box-shadow: var(--mm-shadow-sm);
}
.mm-faq-item[open] { border-color: var(--mm-purple-300); box-shadow: var(--mm-shadow); }
.mm-faq-item summary {
  cursor: pointer;
  padding: 14px 18px;
  font-family: 'Cairo', sans-serif;
  font-weight: 700;
  font-size: 0.96rem;
  color: var(--mm-ink);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.mm-faq-item summary::-webkit-details-marker { display: none; }
.mm-faq-item summary::after {
  content: "+";
  width: 26px; height: 26px;
  background: linear-gradient(180deg, var(--mm-yellow-300), var(--mm-yellow-400));
  color: var(--mm-purple-900);
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 1.2rem; font-weight: 900;
  flex-shrink: 0;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.6);
  transition: transform 0.25s;
}
.mm-faq-item[open] summary::after { content: "\2212"; transform: rotate(180deg); }
.mm-faq-body {
  padding: 4px 18px 18px;
  color: var(--mm-ink-2);
  font-size: 0.92rem;
  line-height: 1.85;
  border-top: 1px dashed var(--mm-line-2);
  padding-top: 14px;
}

/* ============ CONTACT ============ */
.mm-contact-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; }
@media (max-width: 900px) { .mm-contact-grid { grid-template-columns: 1fr; } }
.mm-contact-form {
  background: #fff;
  border-radius: 20px;
  padding: 30px;
  border: 1px solid var(--mm-line);
  box-shadow: var(--mm-shadow);
}
.mm-form-field { position: relative; margin-bottom: 18px; }
.mm-form-field label { display: block; font-size: 0.85rem; color: var(--mm-purple-700); font-weight: 700; margin-bottom: 6px; }
.mm-form-field input,
.mm-form-field textarea,
.mm-form-field select {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--mm-line);
  border-radius: 10px;
  font-family: 'Cairo', sans-serif;
  font-size: 0.95rem;
  color: var(--mm-ink);
  background: #FAF7FF;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.mm-form-field input:focus,
.mm-form-field textarea:focus,
.mm-form-field select:focus {
  outline: none;
  border-color: var(--mm-purple-500);
  box-shadow: 0 0 0 4px rgba(124,58,237,0.1);
  background: #fff;
}
.mm-form-field textarea { min-height: 120px; resize: vertical; }
.mm-contact-info { padding: 20px 0; }
.mm-contact-info-item { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 20px; }
.mm-contact-info-icon {
  width: 46px; height: 46px;
  background: linear-gradient(180deg, var(--mm-yellow-400), var(--mm-yellow-600));
  color: var(--mm-purple-900);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; flex-shrink: 0;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.6), 0 4px 10px rgba(255,165,0,0.25);
}
.mm-contact-info-item strong { display: block; color: var(--mm-purple-900); font-size: 0.95rem; margin-bottom: 3px; }
.mm-contact-info-item span { color: var(--mm-ink-2); font-size: 0.9rem; }

/* ============ 404 ============ */
.mm-404 { text-align: center; padding: 80px 20px; }
.mm-404-code {
  font-size: 6rem; font-weight: 900;
  background: linear-gradient(180deg, var(--mm-purple-700), var(--mm-yellow-400));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  line-height: 1; margin: 0 0 10px;
}
.mm-404 img { max-width: 220px; margin: 0 auto 20px; }

/* ============ UTILITIES ============ */
.mm-mt-0 { margin-top: 0 !important; }
.mm-text-center { text-align: center; }
.mm-hidden { display: none !important; }

/* ============ ANIMATIONS ============ */
.mm-fade-in { opacity: 0; transform: translateY(20px); transition: opacity 0.7s, transform 0.7s; }
.mm-fade-in.visible { opacity: 1; transform: translateY(0); }
