/* ==========================================================================
   MRPROFIXER AUTH TOOL — Modern Public Redesign (Light SaaS + Slate Contrast)
   Typography: Outfit (Display) + Plus Jakarta Sans (Body/UI)
   Palette: #f8fafc Canvas · #ffffff Cards · #ff6900/#f59e0b Accents · #0f172a Contrast
   ========================================================================== */

:root {
  --bg-page: #f8fafc;
  --bg-white: #ffffff;
  --bg-inset: #f1f5f9;
  --slate-900: #0f172a;
  --slate-800: #1e293b;
  --slate-700: #1e293b;
  --slate-600: #334155;
  --slate-500: #475569;
  --slate-400: #64748b;

  --mi-orange: #ff6900;
  --mi-amber: #f59e0b;
  --mi-yellow: #fbbf24;
  --mi-soft: #fffbeb;
  --mi-tint: #fef3c7;

  --green: #22c55e;
  --green-dark: #15803d;
  --red: #ef4444;
  --red-dark: #b91c1c;
  --purple: #a855f7;
  --blue: #3b82f6;

  --border: #e2e8f0;
  --border-accent: rgba(245, 158, 11, 0.35);

  --shadow-sm: 0 4px 20px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 10px 30px rgba(245, 158, 11, 0.09);
  --shadow-hover: 0 20px 44px rgba(255, 105, 0, 0.14);

  --font-display: 'Outfit', system-ui, -apple-system, sans-serif;
  --font-body: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  background: var(--bg-page);
  color: var(--slate-700);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }
h1, h2, h3, h4, h5 { font-family: var(--font-display); color: var(--slate-900); line-height: 1.15; }

::selection { background: var(--mi-orange); color: #fff; }
::-webkit-scrollbar { width: 9px; }
::-webkit-scrollbar-track { background: #f1f5f9; }
::-webkit-scrollbar-thumb { background: linear-gradient(180deg, var(--mi-orange), var(--mi-amber)); border-radius: 99px; }

/* Ambient soft warm glow orbs */
.mpf-ambient {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(circle 680px at 18% 8%, rgba(255, 105, 0, 0.065), transparent 65%),
    radial-gradient(circle 640px at 84% 88%, rgba(251, 191, 36, 0.085), transparent 65%);
}

.mpf-wrap {
  position: relative;
  z-index: 2;
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 22px;
}

/* ==========================================================================
   FLOATING PILL NAVBAR
   ========================================================================== */
.mpf-topnav {
  position: fixed;
  top: 14px;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0 16px;
  transition: top .25s var(--ease);
}
.mpf-nav-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0.55rem 1.35rem;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(245, 158, 11, 0.28);
  box-shadow: 0 10px 30px -10px rgba(15, 23, 42, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  transition: all .25s var(--ease);
}
.mpf-topnav.scrolled .mpf-nav-inner {
  background: #ffffff;
  border-color: var(--mi-orange);
  box-shadow: 0 16px 40px -10px rgba(255, 105, 0, 0.22);
}

.mpf-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.mpf-brand-logo {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  overflow: hidden;
  border: 1.5px solid rgba(245, 158, 11, 0.4);
  box-shadow: 0 4px 12px rgba(255, 105, 0, 0.16);
}
.mpf-brand-logo img { width: 100%; height: 100%; object-fit: cover; }
.mpf-brand-text {
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 800;
  color: var(--slate-900);
  letter-spacing: -0.02em;
  line-height: 1.05;
}
.mpf-brand-text span { color: var(--mi-orange); }

.mpf-nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}
.mpf-nav-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 13px;
  border-radius: 9999px;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--slate-600);
  transition: all .18s ease;
  white-space: nowrap;
}
.mpf-nav-link svg { color: var(--mi-amber); flex-shrink: 0; }
.mpf-nav-link:hover, .mpf-nav-link.active {
  background: var(--mi-soft);
  color: var(--mi-orange);
}
.mpf-nav-link.webtool-link {
  background: linear-gradient(135deg, rgba(255, 105, 0, 0.1), rgba(245, 158, 11, 0.14));
  color: #c2410c;
  font-weight: 700;
  border: 1px solid rgba(255, 105, 0, 0.25);
}
.mpf-nav-link.webtool-link:hover {
  background: linear-gradient(135deg, var(--mi-orange), var(--mi-amber));
  color: #fff;
}
.mpf-nav-link.webtool-link:hover svg { color: #fff; }

.mpf-nav-auth {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.mpf-pill-ghost {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 9999px;
  background: #ffffff;
  border: 1.5px solid var(--mi-amber);
  color: var(--slate-900);
  font-size: 0.84rem;
  font-weight: 700;
  transition: all .2s ease;
  white-space: nowrap;
}
.mpf-pill-ghost:hover {
  background: var(--mi-orange);
  border-color: var(--mi-orange);
  color: #ffffff;
  transform: translateY(-1px);
}
.mpf-pill-gold {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  border-radius: 9999px;
  background: linear-gradient(135deg, var(--mi-yellow), var(--mi-amber));
  border: 1.5px solid transparent;
  color: var(--slate-900);
  font-size: 0.84rem;
  font-weight: 800;
  box-shadow: 0 6px 18px rgba(245, 158, 11, 0.28);
  transition: all .2s ease;
  white-space: nowrap;
}
.mpf-pill-gold:hover {
  background: linear-gradient(135deg, var(--mi-orange), var(--mi-amber));
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(255, 105, 0, 0.34);
}
.mpf-pill-danger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 15px;
  border-radius: 9999px;
  background: #fef2f2;
  border: 1.5px solid #fecaca;
  color: #b91c1c;
  font-size: 0.84rem;
  font-weight: 700;
  transition: all .2s ease;
}
.mpf-pill-danger:hover { background: #ef4444; border-color: #ef4444; color: #fff; }

.mpf-burger {
  display: none;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--mi-soft);
  border: 1px solid rgba(245, 158, 11, 0.35);
  color: var(--mi-orange);
  cursor: pointer;
}
.mpf-mobile-drawer {
  display: none;
  max-width: 1240px;
  margin: 8px auto 0;
  padding: 14px;
  border-radius: 20px;
  background: #ffffff;
  border: 1px solid rgba(245, 158, 11, 0.3);
  box-shadow: 0 20px 45px rgba(15, 23, 42, 0.14);
  flex-direction: column;
  gap: 6px;
}
.mpf-mobile-drawer.open { display: flex; }
.mpf-mobile-drawer .mpf-nav-link { width: 100%; justify-content: flex-start; padding: 10px 14px; }
.mpf-mobile-auth {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 8px;
  padding-top: 10px;
  border-top: 1px solid var(--border);
}
.mpf-mobile-auth a { justify-content: center; }

@media (max-width: 1080px) {
  .mpf-nav-links, .mpf-nav-auth { display: none; }
  .mpf-burger { display: inline-flex; }
  .mpf-nav-inner { border-radius: 20px; padding: 0.55rem 0.9rem; }
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.mpf-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 26px;
  border-radius: 14px;
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 700;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all .22s var(--ease);
  white-space: nowrap;
}
.mpf-btn-primary {
  background: linear-gradient(135deg, var(--mi-orange) 0%, var(--mi-amber) 100%);
  color: #ffffff;
  box-shadow: 0 10px 26px rgba(255, 105, 0, 0.28);
}
.mpf-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(255, 105, 0, 0.38);
  color: #fff;
}
.mpf-btn-outline {
  background: #ffffff;
  color: var(--slate-900);
  border-color: var(--mi-amber);
  box-shadow: var(--shadow-sm);
}
.mpf-btn-outline:hover {
  background: var(--mi-soft);
  border-color: var(--mi-orange);
  color: var(--mi-orange);
  transform: translateY(-2px);
}
.mpf-btn-dark {
  background: var(--slate-900);
  color: #ffffff;
}
.mpf-btn-dark:hover {
  background: var(--mi-orange);
  transform: translateY(-2px);
}

/* ==========================================================================
   HERO SECTION (2-Column Asymmetric Split)
   ========================================================================== */
.mpf-hero {
  position: relative;
  padding: 132px 0 82px;
  min-height: 86vh;
  display: flex;
  align-items: center;
}
.mpf-hero-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.95fr;
  gap: 44px;
  align-items: center;
}
.mpf-hero-badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
}
.mpf-live-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 9999px;
  background: var(--mi-soft);
  border: 1px solid rgba(245, 158, 11, 0.35);
  color: #b45309;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.mpf-clock-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 13px;
  border-radius: 9999px;
  background: #ffffff;
  border: 1px solid var(--border);
  color: var(--slate-600);
  font-size: 0.76rem;
  font-weight: 700;
  box-shadow: var(--shadow-sm);
}
.mpf-pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  display: inline-block;
  box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
  animation: mpfPulse 1.8s infinite;
}
.mpf-pulse-dot.red {
  background: var(--red);
  box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.65);
  animation: mpfPulseRed 1.8s infinite;
}
@keyframes mpfPulse {
  0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.65); }
  70% { box-shadow: 0 0 0 8px rgba(34, 197, 94, 0); }
  100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}
@keyframes mpfPulseRed {
  0% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.65); }
  70% { box-shadow: 0 0 0 8px rgba(239, 68, 68, 0); }
  100% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); }
}

.mpf-hero h1 {
  font-size: clamp(2.55rem, 5vw, 4.35rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.09;
  color: var(--slate-900);
  margin-bottom: 20px;
}
.mpf-grad-text {
  background: linear-gradient(135deg, var(--mi-orange) 0%, var(--mi-amber) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.mpf-hero-sub {
  font-size: 1.04rem;
  font-weight: 500;
  color: var(--slate-600);
  max-width: 540px;
  line-height: 1.75;
  margin-bottom: 28px;
}
.mpf-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* Right Tool Showcase Card */
.mpf-showcase {
  position: relative;
  background: #ffffff;
  border: 2px solid rgba(245, 158, 11, 0.35);
  border-radius: 26px;
  padding: 34px 28px 28px;
  box-shadow: var(--shadow-hover);
  text-align: center;
  overflow: hidden;
}
.mpf-showcase::before {
  content: '';
  position: absolute;
  top: 0;
  left: 18%;
  right: 18%;
  height: 4px;
  border-radius: 0 0 6px 6px;
  background: linear-gradient(90deg, var(--mi-orange), var(--mi-yellow));
}
.mpf-showcase-logo {
  width: 112px;
  height: 112px;
  margin: 0 auto 18px;
  border-radius: 24px;
  overflow: hidden;
  border: 3px solid var(--mi-tint);
  box-shadow: 0 16px 36px rgba(255, 105, 0, 0.24);
}
.mpf-showcase-logo img { width: 100%; height: 100%; object-fit: cover; }
.mpf-showcase h3 { font-size: 1.38rem; font-weight: 800; margin-bottom: 6px; }
.mpf-showcase p { font-size: 0.88rem; color: var(--slate-500); margin-bottom: 20px; }

.mpf-mini-status-list {
  display: flex;
  flex-direction: column;
  gap: 9px;
  text-align: left;
}
.mpf-mini-status-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 11px 14px;
  border-radius: 13px;
  background: var(--bg-page);
  border: 1px solid var(--border);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--slate-800);
}
.mpf-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 9999px;
  font-size: 0.74rem;
  font-weight: 800;
}
.mpf-status-badge.online {
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.12), rgba(16, 185, 129, 0.22));
  border: 1px solid rgba(34, 197, 94, 0.35);
  color: var(--green-dark);
}
.mpf-status-badge.offline {
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.12), rgba(220, 38, 38, 0.2));
  border: 1px solid rgba(239, 68, 68, 0.35);
  color: var(--red-dark);
}

/* ==========================================================================
   DARK CONTRAST OFFICIAL STATS BAND
   ========================================================================== */
.mpf-stats-band {
  position: relative;
  z-index: 2;
  background: linear-gradient(135deg, #0f172a 0%, #1a2332 100%);
  border-top: 2px solid var(--mi-orange);
  border-bottom: 2px solid rgba(245, 158, 11, 0.32);
  padding: 34px 0;
}
.mpf-stats-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
}
.mpf-stat-tile {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: transform .2s ease, border-color .2s ease;
}
.mpf-stat-tile:hover { transform: translateY(-3px); border-color: rgba(245, 158, 11, 0.45); }
.mpf-stat-icon {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.mpf-stat-icon.amber { background: rgba(245, 158, 11, 0.16); color: #fbbf24; }
.mpf-stat-icon.purple { background: rgba(168, 85, 247, 0.16); color: #c084fc; }
.mpf-stat-icon.orange { background: rgba(255, 105, 0, 0.18); color: #fb923c; }
.mpf-stat-icon.green { background: rgba(34, 197, 94, 0.16); color: #4ade80; }
.mpf-stat-icon.blue { background: rgba(59, 130, 246, 0.16); color: #60a5fa; }
.mpf-stat-val {
  font-family: var(--font-display);
  font-size: 1.32rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.1;
}
.mpf-stat-val.amber { color: #fbbf24; }
.mpf-stat-val.purple { color: #c084fc; }
.mpf-stat-val.green { color: #4ade80; }
.mpf-stat-val.blue { color: #60a5fa; }
.mpf-stat-lbl {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--slate-400);
  margin-top: 2px;
}

/* ==========================================================================
   SECTIONS & HEADERS
   ========================================================================== */
.mpf-section {
  position: relative;
  z-index: 2;
  padding: 82px 0;
}
.mpf-section-white {
  background: var(--bg-white);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.mpf-sec-head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 48px;
}
.mpf-tag {
  display: inline-block;
  padding: 5px 15px;
  border-radius: 9999px;
  background: var(--mi-soft);
  border: 1px solid rgba(245, 158, 11, 0.28);
  color: var(--mi-orange);
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 12px;
}
.mpf-sec-head h2 {
  font-size: clamp(1.9rem, 3.5vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  margin-bottom: 10px;
}
.mpf-sec-head p {
  font-size: 0.96rem;
  color: var(--slate-500);
}

/* ==========================================================================
   FEATURE / SERVICE / SERVER / TOOL CARDS
   ========================================================================== */
.mpf-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.mpf-grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.mpf-grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }

.mpf-card {
  position: relative;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 26px 24px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform .26s var(--ease), box-shadow .26s var(--ease), border-color .26s ease;
  display: flex;
  flex-direction: column;
}
.mpf-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--mi-orange), var(--mi-yellow));
  opacity: 0;
  transition: opacity .25s ease;
}
.mpf-card:hover {
  transform: translateY(-7px);
  border-color: rgba(245, 158, 11, 0.45);
  box-shadow: var(--shadow-hover);
}
.mpf-card:hover::before { opacity: 1; }

.mpf-card-icon {
  width: 58px;
  height: 58px;
  border-radius: 17px;
  background: linear-gradient(135deg, var(--mi-soft), var(--mi-tint));
  border: 1px solid rgba(245, 158, 11, 0.3);
  color: var(--mi-orange);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  transition: all .26s var(--ease);
}
.mpf-card:hover .mpf-card-icon {
  background: linear-gradient(135deg, var(--mi-orange), var(--mi-amber));
  color: #ffffff;
  transform: scale(1.08) rotate(3deg);
  border-color: transparent;
}
.mpf-card h3 { font-size: 1.16rem; font-weight: 800; margin-bottom: 8px; }
.mpf-card p { font-size: 0.89rem; color: var(--slate-500); line-height: 1.62; }

.mpf-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}
.mpf-price-pill {
  display: inline-flex;
  align-items: center;
  padding: 5px 12px;
  border-radius: 9999px;
  background: var(--mi-soft);
  border: 1px solid rgba(245, 158, 11, 0.4);
  color: #b45309;
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 800;
}
.mpf-chip-pill {
  display: inline-block;
  padding: 2px 9px;
  border-radius: 9999px;
  background: #f1f5f9;
  color: var(--slate-600);
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.mpf-chip-pill.qcom { background: #eff6ff; color: #1d4ed8; }
.mpf-chip-pill.mtk { background: #faf5ff; color: #7e22ce; }

.mpf-card-footer {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

/* ==========================================================================
   FILTER BAR & SEARCH BOX
   ========================================================================== */
.mpf-filter-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
}
.mpf-filter-btn {
  padding: 8px 18px;
  border-radius: 9999px;
  background: #ffffff;
  border: 1px solid var(--border);
  color: var(--slate-600);
  font-size: 0.84rem;
  font-weight: 700;
  cursor: pointer;
  transition: all .18s ease;
}
.mpf-filter-btn:hover { border-color: var(--mi-amber); color: var(--mi-orange); }
.mpf-filter-btn.active {
  background: linear-gradient(135deg, var(--mi-orange), var(--mi-amber));
  border-color: transparent;
  color: #ffffff;
  box-shadow: 0 8px 20px rgba(255, 105, 0, 0.25);
}

.mpf-search-bar {
  max-width: 680px;
  margin: 0 auto 38px;
  background: #ffffff;
  border: 1.5px solid var(--border);
  border-radius: 16px;
  padding: 8px;
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  gap: 8px;
}
.mpf-search-bar input, .mpf-search-bar select {
  flex: 1;
  border: 0;
  background: transparent;
  padding: 10px 12px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--slate-900);
  outline: none;
  min-width: 0;
}
.mpf-search-bar select { flex: 0 0 175px; border-left: 1px solid var(--border); }

/* ==========================================================================
   RESELLER CARDS (Dark Dotted Header + Overlapping Avatar)
   ========================================================================== */
.mpf-reseller-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s ease;
}
.mpf-reseller-card:hover {
  transform: translateY(-6px);
  border-color: rgba(245, 158, 11, 0.45);
  box-shadow: var(--shadow-hover);
}
.mpf-reseller-banner {
  height: 78px;
  background-color: var(--slate-900);
  background-image: radial-gradient(rgba(255, 255, 255, 0.16) 1px, transparent 1px);
  background-size: 10px 10px;
  border-bottom: 2px solid var(--mi-orange);
}
.mpf-reseller-avatar {
  width: 86px;
  height: 86px;
  border-radius: 50%;
  margin: -43px auto 12px;
  border: 3.5px solid #ffffff;
  background: linear-gradient(135deg, var(--mi-orange), var(--mi-amber));
  color: #ffffff;
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.18);
}
.mpf-reseller-avatar img { width: 100%; height: 100%; object-fit: cover; }
.mpf-reseller-body { padding: 0 18px 18px; text-align: center; flex: 1; display: flex; flex-direction: column; }
.mpf-tier-badge {
  display: inline-block;
  margin: 4px auto 10px;
  padding: 3px 10px;
  border-radius: 6px;
  background: var(--mi-tint);
  border: 1px solid #fde68a;
  color: #b45309;
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.mpf-reseller-meta {
  font-size: 0.8rem;
  color: var(--slate-600);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin: 4px 0;
  word-break: break-word;
}
.mpf-social-row {
  display: flex;
  justify-content: center;
  gap: 9px;
  margin-top: 14px;
}
.mpf-social-circle {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  background: var(--bg-page);
  color: var(--slate-700);
  transition: all .18s ease;
}
.mpf-social-circle.tg:hover { background: #0088cc; border-color: #0088cc; color: #fff; transform: translateY(-2px); }
.mpf-social-circle.wa:hover { background: #22c55e; border-color: #22c55e; color: #fff; transform: translateY(-2px); }
.mpf-social-circle.web:hover { background: var(--mi-orange); border-color: var(--mi-orange); color: #fff; transform: translateY(-2px); }

.mpf-reseller-foot {
  padding: 11px 16px;
  background: #fafafa;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--slate-500);
}
.mpf-verified-tag {
  color: #4338ca;
  background: #eef2ff;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 800;
}

/* Gallery & Lightbox */
.mpf-gallery-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin: 8px auto;
  padding: 4px 12px;
  border-radius: 999px;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  color: #1d4ed8;
  font-size: 0.7rem;
  font-weight: 700;
  cursor: pointer;
}
.mpf-gallery-grid {
  display: none;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px;
  margin: 8px 0;
  padding: 8px;
  border-radius: 12px;
  background: var(--bg-page);
  border: 1px solid var(--border);
}
.mpf-gallery-grid.open { display: grid; }
.mpf-gallery-item {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  cursor: pointer;
  border: 1px solid var(--border);
}
.mpf-gallery-item img { width: 100%; height: 100%; object-fit: cover; }
.mpf-gallery-item span {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  background: rgba(15, 23, 42, 0.78);
  color: #fff;
  font-size: 0.62rem;
  padding: 3px 4px;
}
.mpf-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(15, 23, 42, 0.88);
  backdrop-filter: blur(8px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.mpf-lightbox.open { display: flex; }
.mpf-lightbox img { max-width: 92vw; max-height: 88vh; border-radius: 14px; }

/* ==========================================================================
   FAQ ACCORDION
   ========================================================================== */
.mpf-faq-list {
  max-width: 780px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.mpf-faq-item {
  background: #ffffff;
  border: 1.5px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.mpf-faq-item.open {
  border-color: var(--mi-amber);
  box-shadow: var(--shadow-md);
}
.mpf-faq-q {
  width: 100%;
  background: transparent;
  border: 0;
  padding: 18px 22px;
  text-align: left;
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--slate-900);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  transition: background .18s ease;
}
.mpf-faq-q:hover { background: var(--mi-soft); }
.mpf-faq-chevron { transition: transform .25s var(--ease), color .2s ease; color: var(--slate-400); flex-shrink: 0; }
.mpf-faq-item.open .mpf-faq-chevron { transform: rotate(180deg); color: var(--mi-orange); }
.mpf-faq-a {
  display: none;
  padding: 0 22px 18px;
  font-size: 0.91rem;
  color: var(--slate-600);
  line-height: 1.7;
}
.mpf-faq-item.open .mpf-faq-a { display: block; }

/* ==========================================================================
   DARK CONTRAST FOOTER
   ========================================================================== */
.mpf-footer {
  position: relative;
  z-index: 2;
  background: linear-gradient(180deg, #0b1120 0%, #030712 100%);
  border-top: 3px solid var(--mi-orange);
  color: #cbd5e1;
  padding-top: 64px;
}
.mpf-footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 36px;
  padding-bottom: 48px;
}
.mpf-footer h4 {
  color: #ffffff;
  font-size: 1rem;
  font-weight: 800;
  margin-bottom: 16px;
}
.mpf-footer p { font-size: 0.88rem; color: #94a3b8; line-height: 1.7; }
.mpf-footer-links { display: flex; flex-direction: column; gap: 10px; }
.mpf-footer-links a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  color: #e2e8f0;
  transition: color .18s ease, transform .18s ease;
}
.mpf-footer-links a:hover { color: var(--mi-yellow); transform: translateX(3px); }
.mpf-footer-chev { color: var(--mi-amber); font-weight: 800; }
.mpf-trust-list { display: flex; flex-direction: column; gap: 10px; font-size: 0.86rem; color: #cbd5e1; }
.mpf-trust-item { display: flex; align-items: center; gap: 9px; }
.mpf-trust-item svg { color: var(--green); flex-shrink: 0; }
.mpf-footer-bottom {
  background: rgba(0, 0, 0, 0.35);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 18px 0;
  font-size: 0.82rem;
  color: #94a3b8;
}
.mpf-footer-bottom-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

/* Floating Telegram Button */
.mpf-float-tg {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 950;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0088cc, #229ed9);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 30px rgba(0, 136, 204, 0.42);
  transition: transform .2s ease, box-shadow .2s ease;
}
.mpf-float-tg:hover { transform: translateY(-3px) scale(1.05); box-shadow: 0 16px 36px rgba(0, 136, 204, 0.55); color: #fff; }

/* Page Hero (Subpages: Services, Resellers, Stats) */
.mpf-page-hero {
  position: relative;
  z-index: 2;
  padding: 132px 0 46px;
  text-align: center;
}
.mpf-page-hero h1 {
  font-size: clamp(2.1rem, 4.2vw, 3.2rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  margin-bottom: 12px;
}
.mpf-page-hero p {
  max-width: 650px;
  margin: 0 auto;
  font-size: 1rem;
  color: var(--slate-500);
}

/* Responsive Breakpoints */
@media (max-width: 1120px) {
  .mpf-stats-grid { grid-template-columns: repeat(3, 1fr); }
  .mpf-grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 920px) {
  .mpf-hero { padding: 116px 0 60px; min-height: auto; }
  .mpf-hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .mpf-grid-3 { grid-template-columns: repeat(2, 1fr); }
  .mpf-footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .mpf-stats-grid { grid-template-columns: repeat(2, 1fr); }
  .mpf-grid-3, .mpf-grid-4, .mpf-grid-2 { grid-template-columns: 1fr; }
  .mpf-footer-grid { grid-template-columns: 1fr; }
  .mpf-search-bar { flex-direction: column; align-items: stretch; }
  .mpf-search-bar select { flex: 1; border-left: 0; border-top: 1px solid var(--border); }
  .mpf-hero-actions .mpf-btn { width: 100%; }
}

/* ==========================================================================
   1-CLICK THEME TOGGLE BUTTON & FULL DARK MODE (html.dark-mode)
   ========================================================================== */
.mpf-theme-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 38px;
  padding: 0 12px;
  border-radius: 9999px;
  background: #fffbeb;
  border: 1.5px solid rgba(245, 158, 11, 0.42);
  color: #0f172a;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 800;
  cursor: pointer;
  transition: all .18s ease;
  white-space: nowrap;
}
.mpf-theme-btn:hover {
  background: var(--mi-orange);
  border-color: var(--mi-orange);
  color: #ffffff;
}

html.dark-mode {
  --bg-page: #070b14;
  --bg-white: #0c1220;
  --bg-inset: #131c2e;
  --slate-900: #f8fafc;
  --slate-800: #e2e8f0;
  --slate-700: #e2e8f0;
  --slate-600: #cbd5e1;
  --slate-500: #94a3b8;
  --slate-400: #94a3b8;
  --border: rgba(255, 255, 255, 0.11);
  --mi-soft: rgba(255, 105, 0, 0.14);
  --mi-tint: rgba(245, 158, 11, 0.20);
  --shadow-sm: 0 6px 24px rgba(0, 0, 0, 0.38);
  --shadow-hover: 0 20px 44px rgba(255, 105, 0, 0.20);
}
html.dark-mode body { background: #070b14; color: #e2e8f0; }
html.dark-mode .mpf-nav-inner,
html.dark-mode .mpf-topnav.scrolled .mpf-nav-inner,
html.dark-mode .mpf-mobile-drawer {
  background: rgba(12, 18, 32, 0.94);
  border-color: rgba(255, 105, 0, 0.35);
}
html.dark-mode .mpf-brand-text,
html.dark-mode h1, html.dark-mode h2, html.dark-mode h3, html.dark-mode h4 { color: #ffffff; }
html.dark-mode .mpf-nav-link { color: #cbd5e1; }
html.dark-mode .mpf-nav-link:hover, html.dark-mode .mpf-nav-link.active { color: #fbbf24; background: rgba(255, 105, 0, 0.16); }
html.dark-mode .mpf-nav-link.webtool-link { color: #fbbf24; border-color: rgba(251, 191, 36, 0.35); }
html.dark-mode .mpf-pill-ghost,
html.dark-mode .mpf-btn-outline,
html.dark-mode .mpf-filter-btn,
html.dark-mode .mpf-theme-btn {
  background: #131c2e;
  color: #f8fafc;
  border-color: rgba(251, 191, 36, 0.4);
}
html.dark-mode .mpf-clock-pill,
html.dark-mode .mpf-showcase,
html.dark-mode .mpf-card,
html.dark-mode .mpf-reseller-card,
html.dark-mode .mpf-faq-item,
html.dark-mode .mpf-search-bar {
  background: #0f172a;
  border-color: rgba(255, 255, 255, 0.11);
  color: #e2e8f0;
}
html.dark-mode .mpf-mini-status-row,
html.dark-mode .mpf-reseller-foot,
html.dark-mode .mpf-social-circle {
  background: #131c2e;
  border-color: rgba(255, 255, 255, 0.09);
  color: #e2e8f0;
}
html.dark-mode .mpf-faq-q { color: #ffffff; }
html.dark-mode .mpf-faq-q:hover { background: rgba(255, 105, 0, 0.12); }
html.dark-mode .mpf-faq-a,
html.dark-mode .mpf-card p,
html.dark-mode .mpf-sec-head p,
html.dark-mode .mpf-page-hero p,
html.dark-mode .mpf-hero-sub { color: #cbd5e1; }
html.dark-mode .mpf-live-pill,
html.dark-mode .mpf-price-pill,
html.dark-mode .mpf-tier-badge { color: #fbbf24; }
html.dark-mode .mpf-status-badge.online { color: #4ade80; }
html.dark-mode .mpf-status-badge.offline { color: #f87171; }
html.dark-mode .mpf-search-bar input,
html.dark-mode .mpf-search-bar select { color: #ffffff; }
html.dark-mode .mpf-search-bar select option { background: #0f172a; color: #ffffff; }
html.dark-mode .mpf-verified-tag { background: rgba(99, 102, 241, 0.22); color: #c7d2fe; }

