/* =====================================================
   Meta Injector Pro – Modern SaaS Enhancement Layer
   Save inside: ./Source_Files/modern.css
   ===================================================== */

:root {
  --mi-purple: #A073EE;
  --mi-blue: #2760dc;
  --mi-cyan: #58c0cf;
  --mi-ease: cubic-bezier(.22, 1, .36, 1);
}

html { scroll-behavior: smooth; }
body { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; }
::selection { background: rgba(160, 115, 238, .45); color: #fff; }

/* ---------- Scrollbar ---------- */
* { scrollbar-width: thin; scrollbar-color: #6E25ED #0F0A1E; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: #0F0A1E; }
::-webkit-scrollbar-thumb { background: linear-gradient(180deg, #A073EE, #6E25ED); border-radius: 10px; border: 2px solid #0F0A1E; }

/* ---------- Focus ---------- */
a:focus-visible, button:focus-visible, input:focus-visible {
  outline: 2px solid var(--mi-purple); outline-offset: 3px; border-radius: 8px;
}

/* ---------- Smooth Swap Animation ---------- */
@keyframes miSwap {
  0% { opacity: 0; transform: translateY(8px); }
  100% { opacity: 1; transform: translateY(0); }
}
.mi-swap { animation: miSwap .38s var(--mi-ease); }

/* =====================================================
   1. Clean & Organized Hero Layout
   ===================================================== */
.hero.mi-hero-clean {
  padding-top: 90px !important;
  padding-bottom: 30px !important;
}
@media (max-width: 768px) {
  .hero.mi-hero-clean {
    padding-top: 78px !important;
  }
}

.mi-hero-grid-align {
  align-items: center;
  gap: 38px;
}
.mi-hero-copy .eyebrow {
  margin-bottom: 14px;
}
.mi-hero-copy h1 {
  margin-bottom: 16px;
}
.mi-hero-copy .lead {
  margin-bottom: 26px;
}

/* =====================================================
   2. Hero CTA Buttons (Preserved from Index.html)
   ===================================================== */
.btn-split-yellow {
  display: inline-flex;
  align-items: stretch;
  border-radius: 40px;
  overflow: hidden;
  text-decoration: none;
  transition: transform 0.35s var(--mi-ease), box-shadow 0.35s ease;
  box-shadow: 0 4px 15px rgba(255, 230, 0, 0.15);
  border: 1px solid rgba(255, 230, 0, 0.2);
  position: relative;
}
.btn-split-yellow::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6), transparent);
  transform: skewX(-20deg);
  transition: all 0s ease;
  z-index: 2;
}
.btn-split-yellow:hover::after {
  left: 150%;
  transition: all 0.6s ease-in-out;
}
.btn-split-yellow:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 215, 0, 0.4);
}
.btn-split-yellow:active {
  transform: scale(.96);
}
.btn-split-yellow .text-part {
  background: linear-gradient(135deg, #FFE600, #FFCC00);
  color: #111111;
  font-weight: 700;
  font-size: 16px;
  padding: 13px 22px;
  letter-spacing: 0.3px;
  display: flex;
  align-items: center;
  position: relative;
  z-index: 1;
}
.btn-split-yellow .icon-part {
  background-color: #111111;
  color: #FFE600;
  padding: 0 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
  transition: background-color 0.3s ease;
}
.btn-split-yellow:hover .icon-part {
  background-color: #000000;
}
.btn-split-yellow .arrow-icon {
  transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  width: 18px;
  height: 18px;
}
.btn-split-yellow:hover .arrow-icon {
  transform: translateX(4px) scale(1.15);
}

@keyframes miGlowPulse {
  0%, 100% { box-shadow: 0 0 20px rgba(39, 96, 220, .4); }
  50% { box-shadow: 0 0 32px rgba(88, 192, 207, .55); }
}
.buy-pkg-btn {
  background: linear-gradient(90deg, #2760dc 0%, #58c0cf 100%);
  box-shadow: 0 0 20px rgba(39, 96, 220, 0.4);
  position: relative;
  overflow: hidden;
  transition: transform 0.3s var(--mi-ease), box-shadow 0.3s ease;
  border: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border-radius: 12px;
  padding: 13px 28px;
  color: #ffffff;
  font-weight: 700;
  font-size: 15.5px;
  cursor: pointer;
  animation: miGlowPulse 3s ease-in-out infinite;
}
.buy-pkg-btn:hover {
  box-shadow: 0 0 38px rgba(88, 192, 207, 0.7);
  transform: translateY(-3px);
}
.buy-pkg-btn:active {
  transform: scale(.96);
}
.buy-pkg-btn .light-sweep {
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
  transition: all 0.6s ease;
  z-index: 5;
}
.buy-pkg-btn:hover .light-sweep {
  left: 100%;
}
.buy-pkg-btn svg {
  transition: transform 0.3s ease;
}
.buy-pkg-btn:hover svg {
  transform: rotate(-12deg) scale(1.1);
}

/* =====================================================
   3. Compact Hero-Visual Card (Scaled Down & Sleek)
   ===================================================== */
.mi-hero-showcase {
  position: relative;
  width: 100%;
  max-width: 440px; /* Reduced from 530px so it looks balanced and compact */
  margin-left: auto;
  margin-right: auto;
}
.mi-engine-window {
  --sx: 50%;
  --sy: 20%;
  position: relative;
  border-radius: 20px;
  background: linear-gradient(165deg, rgba(22, 17, 42, 0.96) 0%, rgba(11, 9, 22, 0.98) 100%);
  border: 1px solid rgba(160, 115, 238, 0.34);
  box-shadow: 0 22px 50px -14px rgba(0, 0, 0, 0.78),
              0 0 36px rgba(110, 37, 237, 0.22),
              inset 0 1px 0 rgba(255, 255, 255, 0.14);
  overflow: hidden;
  transition: border-color 0.4s ease, box-shadow 0.4s ease;
}
.mi-engine-window:hover {
  border-color: rgba(160, 115, 238, 0.58);
  box-shadow: 0 26px 58px -12px rgba(0, 0, 0, 0.85),
              0 0 46px rgba(110, 37, 237, 0.3),
              inset 0 1px 0 rgba(255, 255, 255, 0.2);
}
.mi-engine-window::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(320px circle at var(--sx) var(--sy), rgba(160, 115, 238, 0.14), transparent 55%);
  pointer-events: none;
  z-index: 1;
}

.mi-win-bar {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 9px 13px;
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}
.mi-win-dots {
  display: flex;
  gap: 5px;
}
.mi-win-dots i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  display: block;
}
.mi-win-dots i:nth-child(1) { background: #ff5f57; }
.mi-win-dots i:nth-child(2) { background: #febc2e; }
.mi-win-dots i:nth-child(3) { background: #28c840; }

/* Asset Mode Tabs */
.mi-mode-tabs {
  display: inline-flex;
  background: rgba(6, 5, 13, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 999px;
  padding: 2.5px;
  gap: 3px;
}
.mi-mode-btn {
  border: 0;
  background: transparent;
  color: #a79ec7;
  font-size: 10.5px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.25s ease;
}
.mi-mode-btn:hover {
  color: #fff;
}
.mi-mode-btn.active {
  background: linear-gradient(135deg, #8b5cf6, #2760dc);
  color: #fff;
  box-shadow: 0 2px 10px rgba(110, 37, 237, 0.5);
}

.mi-live-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 700;
  color: #4ade80;
  background: rgba(74, 222, 128, 0.1);
  border: 1px solid rgba(74, 222, 128, 0.28);
  white-space: nowrap;
}
.mi-live-pill::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 8px #4ade80;
  animation: miPulseDot 1.6s infinite;
}
@keyframes miPulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(1.3); }
}

.mi-win-body {
  position: relative;
  z-index: 2;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

/* Compact Visual Stage (150px instead of 215px) */
.mi-media-stage {
  position: relative;
  width: 100%;
  height: 150px;
  border-radius: 13px;
  overflow: hidden;
  background: radial-gradient(circle at 50% 50%, #1c2541, #0b0916);
  border: 1px solid rgba(160, 115, 238, 0.32);
  box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.5);
}
.mi-stage-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.6s var(--mi-ease), opacity 0.35s ease;
}
.mi-stage-img.is-vector {
  object-position: center 22%;
}
.mi-media-stage:hover .mi-stage-img {
  transform: scale(1.03);
}

.mi-scan-laser {
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, #58c0cf, #c3a2ff, transparent);
  box-shadow: 0 0 12px 1px rgba(88, 192, 207, 0.8);
  animation: miLaserScan 4s ease-in-out infinite;
  z-index: 3;
  pointer-events: none;
}
@keyframes miLaserScan {
  0%, 100% { top: 6%; opacity: 0.75; }
  50% { top: 92%; opacity: 0.95; }
}

.mi-stage-overlay {
  position: absolute;
  inset: auto 0 0 0;
  padding: 7px 10px;
  background: linear-gradient(180deg, transparent 0%, rgba(10, 8, 22, 0.88) 100%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 4;
}
.mi-thumb-badge {
  background: rgba(12, 10, 24, 0.85);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #fff;
  font-size: 9.5px;
  font-weight: 700;
  padding: 3px 7px;
  border-radius: 6px;
  letter-spacing: 0.3px;
}
.mi-thumb-status {
  background: rgba(15, 10, 30, 0.85);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(88, 192, 207, 0.38);
  color: #7ce8f7;
  font-size: 9.5px;
  font-weight: 600;
  padding: 3px 7px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  gap: 4px;
}

/* Title Box (Compact) */
.mi-meta-title-box {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 9px 11px;
  text-align: left;
}
.mi-meta-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  margin-bottom: 4px;
}
.mi-meta-lbl {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #b4add0;
  display: flex;
  align-items: center;
  gap: 4px;
}
.mi-seo-ready {
  display: inline-flex;
  align-items: center;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.38);
  color: #6ee7b7;
  font-size: 9.5px;
  font-weight: 700;
  padding: 1.5px 7px;
  border-radius: 999px;
}
.mi-generated-title {
  font-size: 11.8px;
  font-weight: 600;
  color: #f5f3ff;
  line-height: 1.38;
  margin: 0;
  user-select: none;
}

/* Keywords Panel (Compact) */
.mi-kw-panel {
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 9px 11px;
  text-align: left;
  user-select: none;
}
.mi-kw-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}
.mi-kw-count {
  font-size: 9.8px;
  font-weight: 700;
  color: #58c0cf;
  background: rgba(88, 192, 207, 0.12);
  border: 1px solid rgba(88, 192, 207, 0.25);
  padding: 1.5px 7px;
  border-radius: 999px;
}
.mi-kw-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4.5px;
}
.mi-kw-tag {
  display: inline-flex;
  align-items: center;
  font-size: 10.4px;
  font-weight: 600;
  color: #e4dff7;
  background: rgba(160, 115, 238, 0.12);
  border: 1px solid rgba(160, 115, 238, 0.25);
  padding: 3px 7.5px;
  border-radius: 6px;
  animation: miTagPop 0.35s var(--mi-ease) backwards;
  animation-delay: calc(var(--t, 1) * 40ms);
}
.mi-kw-tag.hot {
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.25), rgba(39, 96, 220, 0.25));
  border-color: rgba(195, 162, 255, 0.45);
  color: #fff;
}
@keyframes miTagPop {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ---------- Auto-Embed Status Bar (modern) ---------- */
.mi-inject-bar {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 16px;
  border-radius: 18px;
  overflow: hidden;
  background:
    radial-gradient(260px circle at 0% 0%, rgba(160, 115, 238, 0.16), transparent 60%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015));
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 10px 30px -12px rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.mi-inject-info {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
}

.mi-inject-icon {
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: #fff;
  background: linear-gradient(135deg, var(--mi-purple), var(--mi-blue));
  box-shadow:
    0 6px 16px -4px rgba(120, 90, 240, 0.65),
    inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.mi-inject-text { min-width: 0; }
.mi-inject-text b {
  display: block;
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.1px;
  color: #fff;
  line-height: 1.25;
}
.mi-inject-text small {
  display: block;
  margin-top: 3px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2px;
  color: rgba(255, 255, 255, 0.5);
}

/* thin divider between the two rows */
.mi-stock-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  width: 100%;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.mi-stock-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
  font-size: 10.8px;
  font-weight: 600;
  color: #e9e5f8;
  padding: 5px 10px 5px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.09);
  transition: transform 0.3s var(--mi-ease), border-color 0.3s ease,
              background 0.3s ease, box-shadow 0.3s ease;
}
.mi-stock-pill:hover {
  transform: translateY(-1px);
  background: rgba(160, 115, 238, 0.14);
  border-color: rgba(195, 162, 255, 0.4);
  box-shadow: 0 6px 16px -8px rgba(160, 115, 238, 0.8);
}

.mi-stock-pill svg {
  flex: 0 0 auto;
  width: 14px;
  height: 14px;
  padding: 2.5px;
  box-sizing: border-box;
  border-radius: 50%;
  color: #4ade80;
  background: rgba(74, 222, 128, 0.14);
  stroke: currentColor;
  fill: none;
  stroke-width: 3;
}

/* very small phones: tighter pills so they wrap neatly */
@media (max-width: 420px) {
  .mi-inject-bar { padding: 12px; }
  .mi-stock-pill { font-size: 10.4px; padding: 4px 9px 4px 7px; }
}

/* =====================================================
   4. Marketplace Marquee Under "Optimised for"
   ===================================================== */
.mi-market-strip {
  margin-top: 26px;
  padding: 16px 20px;
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.025), rgba(255, 255, 255, 0.01));
  border: 1px solid rgba(255, 255, 255, 0.06);
}
.mi-market-strip .platforms-label {
  margin-top: 0 !important;
}
.mi-hero-marquee {
  margin-top: 6px;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

/* =====================================================
   5. Stylish Stats Bento Grid
   ===================================================== */
.mi-stats-showcase {
  margin-top: 22px;
  display: grid;
  grid-template-columns: 1.05fr 2fr;
  gap: 16px;
  align-items: stretch;
}
@media (max-width: 980px) {
  .mi-stats-showcase {
    grid-template-columns: 1fr;
  }
}

.mi-stat-card {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.045) 0%, rgba(18, 15, 34, 0.92) 100%);
  border: 1px solid rgba(160, 115, 238, 0.22);
  padding: 18px 20px;
  display: flex;
  align-items: center;
  gap: 15px;
  transition: transform 0.35s var(--mi-ease), border-color 0.35s ease, box-shadow 0.35s ease;
  box-shadow: 0 14px 32px -12px rgba(0, 0, 0, 0.5);
}
.mi-stat-card:hover {
  transform: translateY(-4px);
  border-color: rgba(160, 115, 238, 0.5);
  box-shadow: 0 20px 40px -12px rgba(110, 37, 237, 0.28);
}

.mi-stat-hero {
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  padding: 22px 24px;
  background: radial-gradient(120% 120% at 100% 0%, rgba(110, 37, 237, 0.26) 0%, rgba(19, 15, 38, 0.95) 65%);
  border-color: rgba(160, 115, 238, 0.4);
}
.mi-stat-top {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}
.mi-stat-live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  color: #7ce8f7;
  background: rgba(88, 192, 207, 0.12);
  border: 1px solid rgba(88, 192, 207, 0.3);
  padding: 4px 10px;
  border-radius: 999px;
}
.mi-stat-live i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #58c0cf;
  box-shadow: 0 0 8px #58c0cf;
  animation: miPulseDot 1.6s infinite;
}
.mi-stat-hero .mi-stat-num {
  font-size: clamp(2.3rem, 3.8vw, 3.1rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  background: linear-gradient(120deg, #ffffff 20%, #d8c4ff 60%, #7ce8f7 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin: 4px 0;
}
.mi-stat-hero .mi-stat-label {
  font-size: 15.5px;
  font-weight: 700;
  color: #ffffff;
}
.mi-stat-sub {
  margin: 6px 0 0;
  font-size: 12.5px;
  color: #a69fc4;
  line-height: 1.45;
}

.mi-stat-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
@media (max-width: 720px) {
  .mi-stat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 440px) {
  .mi-stat-grid {
    grid-template-columns: 1fr;
  }
}

.mi-stat-icon {
  width: 44px;
  height: 44px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  transition: transform 0.4s var(--mi-ease);
}
.mi-stat-card:hover .mi-stat-icon {
  transform: rotate(-8deg) scale(1.08);
}
.mi-stat-icon svg {
  width: 21px;
  height: 21px;
}
.mi-stat-icon.c-blue { background: rgba(39, 96, 220, 0.18); border: 1px solid rgba(39, 96, 220, 0.4); color: #60a5fa; }
.mi-stat-icon.c-pink { background: rgba(244, 63, 94, 0.16); border: 1px solid rgba(244, 63, 94, 0.38); color: #fb7185; }
.mi-stat-icon.c-cyan { background: rgba(88, 192, 207, 0.16); border: 1px solid rgba(88, 192, 207, 0.38); color: #58c0cf; }
.mi-stat-icon.c-purple { background: rgba(160, 115, 238, 0.18); border: 1px solid rgba(160, 115, 238, 0.4); color: #c4a8ff; }
.mi-stat-icon.c-emerald { background: rgba(16, 185, 129, 0.16); border: 1px solid rgba(16, 185, 129, 0.38); color: #34d399; }
.mi-stat-icon.c-gold { background: rgba(245, 158, 11, 0.16); border: 1px solid rgba(245, 158, 11, 0.4); color: #fbbf24; }

.mi-stat-info {
  text-align: left;
  min-width: 0;
}
.mi-stat-num {
  font-size: 1.55rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.mi-stat-label {
  font-size: 12.5px;
  font-weight: 600;
  color: #a79ec7;
  margin-top: 3px;
}

/* =====================================================
   6. Compact Live Demo Section (Smaller Width & Height)
   ===================================================== */
.section.mi-demo-section {
  padding-top: 24px !important;
  padding-bottom: 20px !important;
}
.mi-demo-section .sec-head {
  margin-bottom: 24px !important;
}
.mi-demo-section .browser {
  max-width: 820px !important; /* Scaled down from 1020px so it looks compact and proportional */
  margin-inline: auto !important;
}
.mi-demo-section .browser-body {
  height: auto !important;
  min-height: 0 !important;
  aspect-ratio: 16 / 9 !important;
  max-height: 440px !important; /* Compact height */
}

/* =====================================================
   7. Redesigned Modern Features Section
   ===================================================== */
.section.mi-features-section {
  padding-top: 32px !important;
  padding-bottom: 38px !important;
}

.mi-feat-bento {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 20px;
}

.mi-feat-hero {
  grid-column: span 6;
  position: relative;
  overflow: hidden;
  border-radius: 26px;
  padding: 34px;
  background: radial-gradient(120% 130% at 95% 10%, rgba(110, 37, 237, 0.24) 0%, rgba(17, 14, 32, 0.96) 62%);
  border: 1px solid rgba(160, 115, 238, 0.34);
  box-shadow: 0 24px 52px -18px rgba(0, 0, 0, 0.65);
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 32px;
  align-items: center;
}
@media (max-width: 920px) {
  .mi-feat-hero {
    grid-template-columns: 1fr;
    padding: 24px;
  }
}

.mi-feat-badge-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 16px;
}
.mi-feat-pill {
  font-size: 11.5px;
  font-weight: 700;
  color: #7ce8f7;
  background: rgba(88, 192, 207, 0.12);
  border: 1px solid rgba(88, 192, 207, 0.3);
  padding: 4px 11px;
  border-radius: 999px;
}
.mi-feat-hero-content h3 {
  font-size: clamp(1.45rem, 2.4vw, 2rem);
  font-weight: 800;
  color: #fff;
  margin: 0 0 14px;
  line-height: 1.22;
}
.mi-feat-hero-content p {
  color: #b4add0;
  font-size: 15px;
  line-height: 1.65;
  margin: 0 0 20px;
}
.mi-feat-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
}
.mi-feat-highlights span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12.8px;
  font-weight: 600;
  color: #e4dff7;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.09);
  padding: 6px 12px;
  border-radius: 10px;
}
.mi-feat-highlights svg {
  width: 14px;
  height: 14px;
  color: #4ade80;
}
.mi-feat-cta {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 12px 22px;
  border-radius: 12px;
  font-size: 14.5px;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  background: linear-gradient(115deg, #8b5cf6, #6e25ed 50%, #2760dc);
  box-shadow: 0 10px 24px -6px rgba(110, 37, 237, 0.65);
  transition: transform 0.3s var(--mi-ease), box-shadow 0.3s ease;
}
.mi-feat-cta svg {
  width: 16px;
  height: 16px;
  transition: transform 0.3s var(--mi-ease);
}
.mi-feat-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px -6px rgba(39, 96, 220, 0.7);
}
.mi-feat-cta:hover svg {
  transform: translateX(4px);
}

.mi-pipeline-card {
  background: rgba(10, 8, 20, 0.78);
  border: 1px solid rgba(160, 115, 238, 0.28);
  border-radius: 20px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.mi-pipe-step {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  transition: transform 0.3s var(--mi-ease);
}
.mi-pipe-step.active {
  background: linear-gradient(90deg, rgba(139, 92, 246, 0.18), rgba(39, 96, 220, 0.12));
  border-color: rgba(160, 115, 238, 0.5);
}
.mi-pipe-step:hover {
  transform: translateX(4px);
}
.mi-pipe-num {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: rgba(160, 115, 238, 0.18);
  border: 1px solid rgba(160, 115, 238, 0.35);
  color: #d8c4ff;
  font-size: 12px;
  font-weight: 800;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.mi-pipe-step b {
  display: block;
  font-size: 13.5px;
  color: #fff;
}
.mi-pipe-step small {
  font-size: 11.5px;
  color: #9e96be;
}
.mi-pipe-tag {
  margin-left: auto;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: #cfc8ea;
  white-space: nowrap;
}
.mi-pipe-tag.pulse {
  background: rgba(160, 115, 238, 0.22);
  border: 1px solid rgba(160, 115, 238, 0.45);
  color: #e9d5ff;
}
.mi-pipe-tag.green {
  background: rgba(16, 185, 129, 0.16);
  border: 1px solid rgba(16, 185, 129, 0.4);
  color: #6ee7b7;
}

.mi-feat-card {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  padding: 26px;
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.04) 0%, rgba(16, 13, 30, 0.92) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: transform 0.35s var(--mi-ease), border-color 0.35s ease, box-shadow 0.35s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.mi-feat-card.span-3 { grid-column: span 3; }
.mi-feat-card.span-2 { grid-column: span 2; }

@media (max-width: 960px) {
  .mi-feat-card.span-3,
  .mi-feat-card.span-2 {
    grid-column: span 3;
  }
}
@media (max-width: 640px) {
  .mi-feat-card.span-3,
  .mi-feat-card.span-2 {
    grid-column: span 6;
  }
}

.mi-feat-card:hover {
  transform: translateY(-5px);
  border-color: rgba(160, 115, 238, 0.48);
  box-shadow: 0 20px 42px -14px rgba(110, 37, 237, 0.28);
}
.mi-feat-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}
.mi-feat-ico {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  background: linear-gradient(145deg, rgba(160, 115, 238, 0.2), rgba(39, 96, 220, 0.1));
  border: 1px solid rgba(160, 115, 238, 0.32);
  display: grid;
  place-items: center;
  transition: transform 0.4s var(--mi-ease);
}
.mi-feat-ico img {
  width: 25px;
  height: 25px;
}
.mi-feat-card:hover .mi-feat-ico {
  transform: rotate(-8deg) scale(1.08);
}
.mi-feat-tag {
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(160, 115, 238, 0.14);
  border: 1px solid rgba(160, 115, 238, 0.3);
  color: #d8c4ff;
}
.mi-feat-num {
  font-size: 13px;
  font-weight: 800;
  color: rgba(160, 115, 238, 0.45);
  font-variant-numeric: tabular-nums;
}
.mi-feat-card h3 {
  font-size: 1.18rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 10px;
}
.mi-feat-card p {
  font-size: 14px;
  color: #a8a2c4;
  line-height: 1.6;
  margin: 0;
}

/* =====================================================
   8. GPU-Optimized Pricing Cards Grid (Zero Scroll Lag!)
   ===================================================== */
.mi-pricing-grid {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 2.25rem;
  margin-top: 2.5rem;
  text-align: left;
}
@media (min-width: 768px) {
  .mi-pricing-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
  .mi-pricing-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.5rem; }
}

.pk {
  --top: 185px;
  --ease: cubic-bezier(.22,1,.36,1);
  position: relative;
  transition: transform .4s var(--ease);
  will-change: transform;
}
.pk:hover { transform: translateY(-7px); }
.pk.pop { transform: translateY(-8px); }
.pk.pop:hover { transform: translateY(-14px); }

.pk-card {
  --mx: 50%;
  --my: 0%;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  border: 1px solid transparent;
  border-radius: 26px;
  box-shadow: 0 22px 44px -14px rgba(0, 0, 0, 0.65);
  transition: box-shadow .4s ease, border-color .4s ease;
  background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,0) 38%) padding-box,
              linear-gradient(#12101f, #12101f) padding-box,
              linear-gradient(160deg, rgba(160,115,238,.5), rgba(255,255,255,.06) 40%, rgba(39,96,220,.38)) border-box;
  -webkit-mask: radial-gradient(circle 13px at 0 calc(var(--top) + 1px), #0000 97%, #000) left / 51% 100% no-repeat,
                radial-gradient(circle 13px at 100% calc(var(--top) + 1px), #0000 97%, #000) right / 51% 100% no-repeat;
          mask: radial-gradient(circle 13px at 0 calc(var(--top) + 1px), #0000 97%, #000) left / 51% 100% no-repeat,
                radial-gradient(circle 13px at 100% calc(var(--top) + 1px), #0000 97%, #000) right / 51% 100% no-repeat;
}
.pk:hover .pk-card {
  box-shadow: 0 28px 54px -12px rgba(110, 37, 237, 0.35);
}
.pk.pop .pk-card {
  box-shadow: 0 26px 52px -12px rgba(110, 37, 237, 0.42);
  background: linear-gradient(180deg, rgba(160,115,238,.1), rgba(255,255,255,0) 45%) padding-box,
              linear-gradient(#171230, #12101f) padding-box,
              linear-gradient(160deg, #c4a8ff, #6e25ed 45%, #2760dc) border-box;
}

.pk-card::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity .4s;
  background: radial-gradient(340px circle at var(--mx) var(--my), rgba(160,115,238,.18), transparent 48%);
}
.pk:hover .pk-card::after { opacity: 1; }

.pk-orb {
  position: absolute;
  top: -80px;
  right: -70px;
  width: 220px;
  height: 220px;
  z-index: 0;
  border-radius: 50%;
  pointer-events: none;
  opacity: .7;
  background: radial-gradient(closest-side, rgba(110,37,237,.45), transparent 72%);
}

.pk-badge {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 6;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  padding: 6px 15px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(115deg, #8b5cf6, #6e25ed 45%, #2760dc);
  border: 1px solid rgba(255,255,255,.3);
  box-shadow: 0 10px 24px -6px rgba(110,37,237,.85);
}
.pk-badge svg { width: 13px; height: 13px; }

.pk-top { position: relative; z-index: 1; height: var(--top); padding: 26px 26px 0; box-sizing: border-box; }
.pk-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 18px; }
.pk-who { display: flex; align-items: center; gap: 12px; min-width: 0; }
.pk-ico {
  flex: none;
  width: 42px;
  height: 42px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  color: #d9ccff;
  background: linear-gradient(150deg, rgba(160,115,238,.25), rgba(39,96,220,.1));
  border: 1px solid rgba(160,115,238,.32);
  transition: transform .45s var(--ease), color .3s;
}
.pk-ico svg { width: 21px; height: 21px; }
.pk:hover .pk-ico { transform: rotate(-8deg) scale(1.08); color: #fff; }
.pk-plan { font-size: 1.2rem; font-weight: 700; letter-spacing: -.01em; color: #fff; margin: 0; }

.pk-save {
  position: relative;
  overflow: hidden;
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 11px 5px 8px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 700;
  color: #7cf0cf;
  background: rgba(45,212,191,.09);
  border: 1px solid rgba(45,212,191,.28);
}
.pk-save svg { width: 13px; height: 13px; }

.pk-credits { margin-top: 0; display: flex; align-items: baseline; gap: 10px; }
.pk-credits strong {
  font-size: 3.2rem;
  font-weight: 800;
  letter-spacing: -.05em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  background: linear-gradient(120deg, #fff 15%, #cbb6ff 55%, #9cc2ff 90%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.pk-credits span { color: #a8a3c4; font-size: 1.05rem; font-weight: 600; }
.pk-note { margin: 8px 0 22px; color: #77728f; font-size: 13px; }

.pk-tear { position: relative; z-index: 1; height: 0; margin: 0 22px; border-top: 2px dashed rgba(255,255,255,.12); transition: border-color .4s; }
.pk:hover .pk-tear { border-color: rgba(160,115,238,.45); }

.pk-bottom { position: relative; z-index: 1; padding: 26px 28px 28px; box-sizing: border-box; }
.pk-price { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.pk-amount { font-size: 2.3rem; font-weight: 800; letter-spacing: -.03em; line-height: 1; color: #fff; }
.pk-reg { color: #77728f; font-size: 15px; text-decoration: line-through; text-decoration-color: rgba(248,113,113,.65); }
.pk-per { margin-left: auto; color: #a8a3c4; font-size: 14px; font-weight: 600; }
.pk-saved { margin: 8px 0 0; color: #5eead4; font-size: 13px; font-weight: 600; }

.pk-feats { display: grid; gap: 11px; margin: 20px 0 26px; padding: 0; list-style: none; }
.pk-feats li {
  display: flex;
  align-items: center;
  gap: 11px;
  color: #d2cee8;
  font-size: 14.5px;
  font-weight: 500;
  transition: transform .35s var(--ease), color .3s;
}
.pk-feats svg {
  flex: none;
  width: 18px;
  height: 18px;
  padding: 3.5px;
  border-radius: 50%;
  color: #b79bff;
  background: rgba(160,115,238,.18);
  transition: background .35s, color .35s;
}
.pk:hover .pk-feats li { transform: translateX(4px); color: #fff; }
.pk:hover .pk-feats svg { background: #6e25ed; color: #fff; }

.pk-cta {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 20px;
  border: 0;
  border-radius: 14px;
  cursor: pointer;
  font-weight: 700;
  font-size: 15.5px;
  color: #fff;
  text-decoration: none;
  box-sizing: border-box;
  background: linear-gradient(115deg, #8b5cf6, #6e25ed 45%, #2760dc 90%);
  box-shadow: 0 12px 26px -8px rgba(110,37,237,.75), inset 0 1px 0 rgba(255,255,255,.25);
  transition: transform .35s var(--ease), box-shadow .35s ease;
}
.pk-cta svg { width: 18px; height: 18px; transition: transform .35s var(--ease); }
.pk-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 34px -8px rgba(39,96,220,.75), inset 0 1px 0 rgba(255,255,255,.32);
}
.pk-cta:hover svg { transform: translateX(5px); }
.pk-cta:active { transform: translateY(0) scale(.97); }

/* =====================================================
   9. Header-Aligned Compact Testimonials Slider
   ===================================================== */
.mi-testi-slider {
  position: relative;
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
  -ms-overflow-style: none;
  cursor: grab;
  user-select: none;
  padding: 8px 0 18px;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 4%, #000 96%, transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0%, #000 4%, #000 96%, transparent 100%);
}
.mi-testi-slider::-webkit-scrollbar {
  display: none;
}
.mi-testi-slider.is-dragging {
  cursor: grabbing;
}
.mi-testi-track {
  display: flex;
  align-items: stretch;
  gap: 18px;
  width: max-content;
  padding-inline: 8px;
}
.mi-quote-card {
  width: 320px;
  padding: 20px 22px !important;
  border-radius: 18px !important;
  flex-shrink: 0;
  margin: 0 !important;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.3s var(--mi-ease), border-color 0.3s ease;
}
.mi-quote-card .stars {
  margin-bottom: 10px !important;
}
.mi-quote-card p {
  font-size: 13.5px !important;
  line-height: 1.55 !important;
  margin-bottom: 14px !important;
}
.mi-quote-card .who img {
  width: 38px !important;
  height: 38px !important;
}
.mi-quote-card .who b {
  font-size: 13.5px !important;
}
.mi-quote-card .who span {
  font-size: 11.5px !important;
}
@media (max-width: 480px) {
  .mi-quote-card {
    width: 275px;
    padding: 18px !important;
  }
}
.mi-quote-card:hover {
  transform: translateY(-4px);
  border-color: rgba(160, 115, 238, 0.45);
}

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

/* =====================================================
   2:1 Panoramic Aspect Ratio for Hero Image, Vector & Video
   ===================================================== */
.mi-media-stage {
  position: relative;
  width: 100%;
  height: auto !important; /* Fixed 150px height bad deya holo */
  aspect-ratio: 2 / 1 !important; /* Exact 2:1 Panoramic Size */
  border-radius: 13px;
  overflow: hidden;
  background: radial-gradient(circle at 50% 50%, #1c2541, #0b0916);
  border: 1px solid rgba(160, 115, 238, 0.32);
  box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.5);
}

.mi-stage-img {
  width: 100%;
  height: 100%;
  aspect-ratio: 2 / 1;
  object-fit: cover; /* Frame-er bhetor gap chara 100% fit rakhbe */
  object-position: center center;
  display: block;
  transition: transform 0.6s var(--mi-ease), opacity 0.35s ease;
}

/* Vector lighthouse-ti jeno 2:1 panoramic frame-e thikmoto focus thake */
.mi-stage-img.is-vector {
  object-position: center 25%;
}

/* Photo ebong Video-r jonno exact center alignment */
.mi-stage-img:not(.is-vector) {
  object-position: center 50%;
}

/* =====================================================
   Compact Hero Card Override (put at END of modern.css)
   ===================================================== */

/* ---- window bar & body ---- */
.mi-win-bar { padding: 7px 12px; }
.mi-win-body { padding: 10px; gap: 7px; }

/* ---- image stage: shorter, but subject stays visible ---- */
.mi-media-stage { height: 128px; border-radius: 12px; }

/* Photo (rocket + growth chart): keep rocket in frame */
.mi-stage-img[src*="Image" i] { object-position: 50% 35%; }

/* Vector (camping tent): keep tent + trees in frame */
.mi-stage-img[src*="vector" i] { object-position: 50% 70%; }

/* Video GIF (square SEO animation): show whole frame, no cropping */
.mi-stage-img[src*="video" i] {
  object-fit: contain;
  object-position: center;
}
.mi-media-stage:has(.mi-stage-img[src*="video" i]) {
  background: #fff;
}
/* keep the laser/overlay readable on the white stage */
.mi-media-stage:has(.mi-stage-img[src*="video" i]) .mi-stage-overlay {
  background: linear-gradient(180deg, transparent 0%, rgba(10, 8, 22, 0.55) 100%);
}

.mi-stage-overlay { padding: 5px 8px; }
.mi-thumb-badge,
.mi-thumb-status { font-size: 9px; padding: 2px 6px; }

/* ---- title box ---- */
.mi-meta-title-box { padding: 7px 10px; border-radius: 11px; }
.mi-meta-header { margin-bottom: 3px; }
.mi-generated-title { font-size: 11px; line-height: 1.34; }

/* ---- keywords ---- */
.mi-kw-panel { padding: 7px 10px; border-radius: 11px; }
.mi-kw-top { margin-bottom: 5px; }
.mi-kw-tags { gap: 3.5px; }
.mi-kw-tag { font-size: 9.8px; padding: 2px 6px; border-radius: 5px; }

/* ---- auto-embed bar ---- */
.mi-inject-bar { padding: 9px 11px; gap: 9px; border-radius: 14px; }
.mi-inject-info { gap: 10px; }
.mi-inject-icon { width: 30px; height: 30px; border-radius: 10px; }
.mi-inject-text b { font-size: 12.5px; }
.mi-inject-text small { margin-top: 1px; font-size: 10.2px; }
.mi-stock-badges { padding-top: 8px; gap: 5px; }
.mi-stock-pill { font-size: 10px; padding: 3px 8px 3px 6px; gap: 4px; }
.mi-stock-pill svg { width: 12px; height: 12px; padding: 2px; }

/* ---- small phones: even tighter ---- */
@media (max-width: 420px) {
  .mi-media-stage { height: 116px; }
  .mi-kw-tag { font-size: 9.4px; padding: 2px 5.5px; }
  .mi-stock-pill { font-size: 9.6px; padding: 3px 7px 3px 5px; }
}


/* =====================================================
   Support Popup – Redesign
   ===================================================== */
#support .sp-box {
  position: relative;
  width: min(440px, calc(100vw - 32px));
  max-height: calc(100vh - 32px);
  overflow-y: auto;
  padding: 28px 22px 20px;
  text-align: left;
  border-radius: 22px;
  background: linear-gradient(165deg, rgba(27, 21, 50, 0.98) 0%, rgba(12, 9, 24, 0.99) 100%);
  border: 1px solid rgba(160, 115, 238, 0.3);
  box-shadow: 0 30px 70px -20px rgba(0, 0, 0, 0.85),
              0 0 50px rgba(110, 37, 237, 0.18),
              inset 0 1px 0 rgba(255, 255, 255, 0.1);
}
#support .sp-box::before {
  content: '';
  position: absolute;
  top: -80px;
  left: 50%;
  width: 320px;
  height: 200px;
  transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(139, 92, 246, 0.35), transparent);
  pointer-events: none;
}

/* close button */
#support .sp-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 3;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #cfc8ea;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  cursor: pointer;
  transition: transform 0.3s var(--mi-ease), background 0.25s ease, color 0.25s ease;
}
#support .sp-close:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
  transform: rotate(90deg);
}
#support .sp-close svg { width: 15px; height: 15px; }

/* header */
.mi-sp-head {
  position: relative;
  z-index: 1;
  text-align: center;
  margin-bottom: 18px;
}
.mi-sp-hero-ic {
  width: 54px;
  height: 54px;
  margin: 0 auto 12px;
  display: grid;
  place-items: center;
  border-radius: 17px;
  background: linear-gradient(135deg, #8b5cf6, #2760dc);
  box-shadow: 0 10px 26px -6px rgba(110, 37, 237, 0.7),
              inset 0 1px 0 rgba(255, 255, 255, 0.35);
}
.mi-sp-hero-ic svg { width: 26px; height: 26px; }

.mi-sp-tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 4px 11px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  color: #c3a2ff;
  background: rgba(160, 115, 238, 0.12);
  border: 1px solid rgba(160, 115, 238, 0.3);
}
.mi-sp-tag i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #c3a2ff;
}
#support .mi-sp-head h2 {
  margin: 12px 0 6px;
  font-size: 22px;
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: #fff;
}
#support .mi-sp-head p {
  margin: 0 auto;
  max-width: 340px;
  font-size: 13.5px;
  line-height: 1.6;
  color: #a9a2c6;
}

/* contact rows */
.mi-sp-list { position: relative; z-index: 1; }
.mi-sp-item {
  display: flex;
  align-items: stretch;
  gap: 8px;
  margin-top: 10px;
}
.mi-sp-link {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 12px 14px;
  border-radius: 15px;
  text-decoration: none;
  color: #fff;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.09);
  transition: transform 0.3s var(--mi-ease), border-color 0.3s ease,
              background 0.3s ease, box-shadow 0.3s ease;
}
.mi-sp-link:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.07);
  border-color: var(--c);
  box-shadow: 0 12px 26px -14px var(--c);
}

.mi-sp-ic {
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3),
              0 6px 16px -6px rgba(0, 0, 0, 0.6);
}
.mi-sp-ic svg { width: 21px; height: 21px; fill: #fff; }
#support svg.is-stroke {
  fill: none;
  stroke: #fff;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.mi-sp-txt { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.mi-sp-txt b { font-size: 14.5px; font-weight: 700; line-height: 1.3; color: #fff; }
.mi-sp-txt small {
  margin-top: 2px;
  font-size: 12px;
  color: #a9a2c6;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mi-sp-badge {
  flex: 0 0 auto;
  padding: 2px 9px;
  border-radius: 999px;
  font-size: 10.5px;
  font-weight: 700;
  color: #6ee7b7;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.38);
}

.mi-sp-arrow {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  fill: none;
  stroke: #8f87b0;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.3s var(--mi-ease), stroke 0.3s ease;
}
.mi-sp-link:hover .mi-sp-arrow { transform: translateX(3px); stroke: #fff; }

/* copy button */
.mi-sp-copy {
  flex: 0 0 auto;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  width: 58px;
  border-radius: 15px;
  font: inherit;
  font-size: 10.5px;
  font-weight: 700;
  color: #cfc8ea;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.09);
  cursor: pointer;
  transition: transform 0.3s var(--mi-ease), border-color 0.3s ease,
              background 0.3s ease, color 0.3s ease;
}
.mi-sp-copy svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.mi-sp-copy:hover {
  transform: translateY(-2px);
  color: #fff;
  border-color: #A073EE;
  background: rgba(160, 115, 238, 0.14);
}
.mi-sp-copy.is-done {
  color: #6ee7b7;
  border-color: rgba(16, 185, 129, 0.5);
  background: rgba(16, 185, 129, 0.12);
}

/* operating hours */
.mi-sp-hours {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  margin-top: 16px;
  padding: 10px 12px;
  border-radius: 12px;
  font-size: 12.5px;
  font-weight: 500;
  color: #b9b2d3;
  background: rgba(255, 255, 255, 0.03);
  border: 1px dashed rgba(255, 255, 255, 0.12);
}
.mi-sp-dot {
  flex: 0 0 auto;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 8px #4ade80;
  animation: miPulseDot 1.6s infinite;
}

/* small phones */
@media (max-width: 400px) {
  #support .sp-box { padding: 26px 16px 16px; }
  .mi-sp-link { padding: 11px 12px; gap: 11px; }
  .mi-sp-badge { display: none; }
  .mi-sp-copy { width: 48px; }
}


/* =====================================================
   Mobile Header: Credit icon outside + Affiliate in menu
   (JS adds class "mi-m" on <html> while the burger is visible)
   ===================================================== */

/* desktop / tablet-wide: hide the two mobile-only elements */
html:not(.mi-m) .mi-credit-pill,
html:not(.mi-m) .mi-nav-aff,
html:not(.mi-m) .mi-nav-topup { display: none !important; }

/* mobile: show credit icon outside the menu */
html.mi-m .mi-credit-pill {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  padding: 8px 11px !important;
  color: #ffffff !important;   /* icon always white on the button */
  min-width: 0;
  border-radius: 12px;
  line-height: 0;
  gap: 0;
}
html.mi-m .mi-credit-pill span { display: none !important; }
.mi-credit-svg {
  display: block;
  width: 30px;
  height: 30px;
  fill: #ffffff;
  color: #ffffff;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, .35));
  stroke: none;
  flex: 0 0 auto;
  animation: miCreditWiggle 2.6s ease-in-out infinite;
  transform-origin: 50% 60%;
}
@keyframes miCreditWiggle {
  0%, 80%, 100% { transform: rotate(0) scale(1); }
  86% { transform: rotate(-12deg) scale(1.14); }
  92% { transform: rotate(10deg) scale(1.14); }
}

/* mobile: old Affiliate pill + old Credit Top-up button leave the header bar
   (Affiliate lives inside the menu, Top-up is the credit icon) */
html.mi-m .nav-actions .pill-aff:not(.mi-credit-pill),
html.mi-m .nav-actions .btn-primary:not(.mi-credit-pill) { display: none !important; }

/* Affiliate item inside the opened menu */
html.mi-m .nav-links .mi-nav-aff { cursor: pointer; }

/* Credit Top-up button at the bottom of the mobile menu */
html.mi-m .nav-links .mi-nav-topup {
  display: flex !important;
  align-items: center;
  justify-content: center;
  margin: 10px 16px 8px;
  padding: 13px 20px;
  font-size: 15px;
  font-weight: 700;
  border-radius: 12px;
  text-decoration: none;
  text-align: center;
}

/* ---- Credit icon button = same size as the burger (size measured by JS -> --mi-bsz) ---- */
html.mi-m .nav-actions a.mi-credit-pill {
  width: var(--mi-bsz, 42px) !important;
  height: var(--mi-bsz, 42px) !important;
  min-width: 0 !important;
  min-height: 0 !important;
  padding: 0 !important;
  border-radius: 12px !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  line-height: 0 !important;
  flex: 0 0 auto;
}
html.mi-m .nav-actions a.mi-credit-pill svg.mi-credit-svg {
  width: calc(var(--mi-bsz, 42px) * .64) !important;
  height: calc(var(--mi-bsz, 42px) * .64) !important;
  min-width: 0 !important;
  max-width: none !important;
  fill: #ffffff !important;
  stroke: none !important;
}