/* ============================================================================
 * mk-homepage.css — Phase E v6 (2026-05-09) premium SaaS homepage redesign.
 * ----------------------------------------------------------------------------
 * Loaded after mk-pricing.css. Reuses the --mkpt-pricing-* tokens defined there
 * for color consistency. Mobile-first. Animations respect prefers-reduced-motion.
 * No external libraries.
 * ============================================================================ */

/* ====== Shared homepage tokens ============================================== */

:root {
  --mk-hp-bg:        var(--mkpt-pricing-bg, #050714);
  --mk-hp-text:      var(--mkpt-pricing-text, #eef3ff);
  --mk-hp-muted:     var(--mkpt-pricing-muted, rgba(186, 200, 230, 0.78));
  --mk-hp-faint:     var(--mkpt-pricing-faint, rgba(186, 200, 230, 0.55));
  --mk-hp-cyan:      var(--mkpt-pricing-accent-2, #00e5ff);
  --mk-hp-green:     var(--mkpt-pricing-accent, #14f195);
  --mk-hp-violet:    var(--mkpt-pricing-violet, #8b5cf6);
  --mk-hp-blue:      #3b82f6;
  --mk-hp-red:       #ef4444;
  --mk-hp-magenta:   #ec4899;
  --mk-hp-orange:    #f59e0b;
  --mk-hp-card-bg:   rgba(14, 20, 38, 0.78);
  --mk-hp-card-edge: rgba(155, 196, 255, 0.18);
  --mk-hp-card-edge-hover: rgba(0, 229, 255, 0.45);
}

/* v7.0.0 fix-2026-05-14: align html/body bg with the homepage palette so
   overscroll / scroll-bounce / any sub-viewport main does NOT show the
   default white body bg through. Scoped to the homepage only via WP's
   `body.home` class so other pages keep their light bg. */
html:has(.mk-home-page--v6),
body.home,
body:has(> #mkpt-main-content > .mk-home-page--v6) {
  background: var(--mk-hp-bg);
}

.mk-home-page--v6 { background: var(--mk-hp-bg); color: var(--mk-hp-text); min-height: 100vh; }

.mk-home-page--v6 .mk-section { position: relative; overflow: hidden; padding: clamp(48px, 8vw, 110px) 0; }
.mk-home-page--v6 .mk-section-header { max-width: 800px; margin: 0 auto clamp(28px, 4vw, 56px); text-align: center; }
.mk-home-page--v6 .mk-section-header .mk-eyebrow {
  display: inline-block;
  padding: 6px 14px;
  border: 1px solid rgba(155, 196, 255, 0.22);
  border-radius: 999px;
  background: rgba(155, 196, 255, 0.06);
  color: var(--mk-hp-cyan);
  font-size: 12px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase;
}
.mk-home-page--v6 .mk-section-header h2 {
  margin: 18px 0 12px;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.1; font-weight: 800; letter-spacing: -0.01em;
  color: var(--mk-hp-text);
}
.mk-home-page--v6 .mk-section-header p {
  margin: 0 auto;
  max-width: 640px;
  font-size: clamp(15px, 1.5vw, 17px);
  line-height: 1.6;
  color: var(--mk-hp-muted);
}

/* ====== Hero =============================================================== */

.mk-hero--v6 {
  position: relative; overflow: hidden;
  padding: clamp(80px, 12vw, 160px) 0 clamp(64px, 8vw, 110px);
  background: var(--mk-hp-bg);
}
.mk-hero-bg { position: absolute; inset: 0; pointer-events: none; }
.mk-hero-bg-glow {
  position: absolute;
  display: block;
  border-radius: 50%;
  filter: blur(140px);
  opacity: 0.7;
  will-change: transform, opacity;
  animation: mk-hp-drift 22s ease-in-out infinite;
}
.mk-hero-bg-glow--cyan   { top: -10%; left: -10%; width: 60%; height: 65%; background: radial-gradient(circle, rgba(0, 229, 255, 0.55) 0%, transparent 70%); }
.mk-hero-bg-glow--violet { top: 20%; right: -15%; width: 55%; height: 60%; background: radial-gradient(circle, rgba(139, 92, 246, 0.50) 0%, transparent 70%); animation-delay: -7s; }
.mk-hero-bg-glow--green  { bottom: -20%; left: 25%; width: 50%; height: 55%; background: radial-gradient(circle, rgba(20, 241, 149, 0.32) 0%, transparent 70%); animation-delay: -14s; }
.mk-hero-bg-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(155,196,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(155,196,255,0.04) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 60% 60% at 50% 40%, black, transparent 70%);
          mask-image: radial-gradient(ellipse 60% 60% at 50% 40%, black, transparent 70%);
}
@keyframes mk-hp-drift {
  0%   { transform: translate3d(0,0,0) scale(1); }
  50%  { transform: translate3d(20px,-30px,0) scale(1.08); }
  100% { transform: translate3d(0,0,0) scale(1); }
}

.mk-hero-grid {
  position: relative; z-index: 1;
  display: grid; gap: clamp(32px, 5vw, 64px);
  grid-template-columns: 1fr;
  align-items: center;
}
@media (min-width: 1024px) { .mk-hero-grid { grid-template-columns: 1fr 1.05fr; } }

.mk-hero-copy { position: relative; z-index: 1; }
.mk-hero-eyebrow { color: var(--mk-hp-cyan); }
.mk-hero-title {
  margin: 18px 0 18px;
  font-size: clamp(36px, 6.5vw, 72px);
  line-height: 1.02;
  font-weight: 900;
  letter-spacing: -0.025em;
  color: var(--mk-hp-text);
}
.mk-hero-title-lead { display: block; color: var(--mk-hp-muted); font-weight: 700; }
.mk-hero-title-brand {
  display: block;
  background: linear-gradient(135deg, var(--mk-hp-cyan) 0%, var(--mk-hp-violet) 55%, var(--mk-hp-green) 100%);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}
.mk-hero-subhead {
  margin: 0 0 28px;
  max-width: 560px;
  font-size: clamp(15px, 1.7vw, 18px);
  line-height: 1.6;
  color: var(--mk-hp-muted);
}

.mk-hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 18px; }
.mk-button-3d {
  position: relative;
  padding: 15px 26px !important;
  border-radius: 14px;
  font-weight: 800;
  letter-spacing: 0.01em;
  background: linear-gradient(135deg, var(--mk-hp-cyan), var(--mk-hp-violet) 60%, var(--mk-hp-green)) !important;
  color: #02030a !important;
  border: 1px solid rgba(0, 229, 255, 0.55) !important;
  box-shadow:
    0 22px 50px -12px rgba(0, 229, 255, 0.55),
    inset 0 1px 0 rgba(255, 255, 255, 0.45),
    inset 0 -1px 0 rgba(0, 0, 0, 0.20);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.mk-button-3d:hover { transform: translateY(-2px); box-shadow: 0 28px 64px -12px rgba(0, 229, 255, 0.75), inset 0 1px 0 rgba(255, 255, 255, 0.55); }

.mk-button-ghost-3d {
  padding: 15px 26px !important;
  border-radius: 14px;
  font-weight: 700;
  background: rgba(155, 196, 255, 0.06) !important;
  color: var(--mk-hp-text) !important;
  border: 1px solid rgba(155, 196, 255, 0.30) !important;
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.10);
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.mk-button-ghost-3d:hover { transform: translateY(-2px); border-color: var(--mk-hp-cyan) !important; }

.mk-hero-compliance { color: var(--mk-hp-faint); font-size: 12px; max-width: 560px; margin: 8px 0 22px; line-height: 1.55; }

.mk-hero-chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.mk-hero-chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid rgba(155, 196, 255, 0.18);
  background: rgba(8, 14, 30, 0.55);
  font-size: 12px; font-weight: 700; color: var(--mk-hp-muted); letter-spacing: 0.02em;
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.mk-hero-chip-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; box-shadow: 0 0 10px currentColor; }
.mk-hero-chip-dot--cyan   { background: var(--mk-hp-cyan); color: var(--mk-hp-cyan); }
.mk-hero-chip-dot--green  { background: var(--mk-hp-green); color: var(--mk-hp-green); }
.mk-hero-chip-dot--violet { background: var(--mk-hp-violet); color: var(--mk-hp-violet); }
.mk-hero-chip-dot--blue   { background: var(--mk-hp-blue); color: var(--mk-hp-blue); }

/* ====== Hero MT5 panel mockup =============================================== */

.mk-hero-visual { position: relative; min-height: 480px; perspective: 1200px; }
@media (max-width: 1023px) { .mk-hero-visual { min-height: 540px; } }

.mk-hero-panel {
  position: relative;
  width: clamp(320px, 38vw, 460px);
  margin: 0 auto;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(20, 26, 56, 0.92) 0%, rgba(8, 14, 30, 0.96) 100%);
  border: 1px solid rgba(0, 229, 255, 0.36);
  box-shadow:
    0 50px 120px -24px rgba(0, 229, 255, 0.40),
    0 30px 80px -20px rgba(7, 11, 30, 0.80),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  -webkit-backdrop-filter: blur(18px) saturate(140%); backdrop-filter: blur(18px) saturate(140%);
  transform: rotateY(-6deg) rotateX(2deg);
  transform-style: preserve-3d;
  animation: mk-hero-panel-float 8s ease-in-out infinite;
}
@keyframes mk-hero-panel-float {
  0%, 100% { transform: rotateY(-6deg) rotateX(2deg) translateY(0); }
  50%      { transform: rotateY(-6deg) rotateX(2deg) translateY(-10px); }
}
.mk-hero-panel-glow {
  position: absolute; inset: -24px;
  border-radius: 30px;
  background: radial-gradient(60% 60% at 50% 40%, rgba(0, 229, 255, 0.30) 0%, transparent 70%);
  filter: blur(40px);
  z-index: -1;
}
.mk-hero-panel-frame { padding: 18px 20px 22px; }
.mk-hero-panel-head {
  display: flex; align-items: center; gap: 10px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(155, 196, 255, 0.10);
}
.mk-hero-panel-led {
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--mk-hp-green);
  box-shadow: 0 0 12px var(--mk-hp-green);
  animation: mk-pulse 1.6s ease-in-out infinite;
}
.mk-hero-panel-title { font-weight: 800; letter-spacing: 0.02em; flex: 1; }
.mk-hero-panel-tier {
  padding: 3px 10px; border-radius: 999px;
  background: linear-gradient(135deg, var(--mk-hp-cyan), var(--mk-hp-violet));
  color: #02030a; font-size: 10px; font-weight: 900; letter-spacing: 0.08em;
}
@keyframes mk-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.5; transform: scale(1.4); }
}

.mk-hero-panel-status {
  display: flex; flex-wrap: wrap; gap: 14px; padding: 14px 0;
  font-size: 11px; font-weight: 600; color: var(--mk-hp-faint);
  border-bottom: 1px solid rgba(155, 196, 255, 0.10);
}
.mk-hero-panel-status strong { color: var(--mk-hp-text); font-weight: 800; margin-left: 4px; }

.mk-hero-panel-tabs { display: flex; gap: 6px; padding: 14px 0; }
.mk-hero-panel-tab {
  flex: 1;
  padding: 7px 0;
  border-radius: 8px;
  background: rgba(155, 196, 255, 0.04);
  border: 1px solid rgba(155, 196, 255, 0.14);
  font-size: 10px; font-weight: 800; letter-spacing: 0.06em; text-align: center;
  color: var(--mk-hp-faint);
  cursor: pointer;
}
.mk-hero-panel-tab.is-active {
  background: rgba(0, 229, 255, 0.18);
  border-color: rgba(0, 229, 255, 0.55);
  color: var(--mk-hp-cyan);
}

.mk-hero-panel-body { display: flex; flex-direction: column; gap: 12px; }

.mk-hero-trade-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

/* 3D tactile trading buttons (Buy / Sell) */
.mk-hero-tbtn {
  position: relative;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 4px;
  padding: 16px 14px;
  border: none;
  border-radius: 14px;
  cursor: pointer;
  font-weight: 900;
  font-family: inherit;
  color: #02030a;
  text-shadow: 0 1px 0 rgba(255,255,255,0.18);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  isolation: isolate;
}
.mk-hero-tbtn::before {
  content: ""; position: absolute; inset: 1px; border-radius: inherit;
  background: linear-gradient(180deg, rgba(255,255,255,0.30) 0%, rgba(255,255,255,0) 50%);
  pointer-events: none;
}
.mk-hero-tbtn--buy {
  background: linear-gradient(180deg, #2ee6a4 0%, #14a071 100%);
  box-shadow:
    0 12px 28px -6px rgba(20, 241, 149, 0.55),
    inset 0 1px 0 rgba(255,255,255,0.40),
    inset 0 -3px 0 rgba(0,0,0,0.25);
  border: 1px solid rgba(20, 241, 149, 0.55);
}
.mk-hero-tbtn--sell {
  background: linear-gradient(180deg, #f87171 0%, #ec4899 100%);
  box-shadow:
    0 12px 28px -6px rgba(239, 68, 68, 0.55),
    inset 0 1px 0 rgba(255,255,255,0.40),
    inset 0 -3px 0 rgba(0,0,0,0.25);
  border: 1px solid rgba(239, 68, 68, 0.55);
}
.mk-hero-tbtn:hover { transform: translateY(-2px); }
.mk-hero-tbtn-label { font-size: 18px; font-weight: 900; letter-spacing: 0.05em; }
.mk-hero-tbtn-price { font-size: 12px; font-weight: 700; opacity: 0.82; font-family: ui-monospace, monospace; }

/* TP / SL / BE / Trail quad */
.mk-hero-quad { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.mk-hero-qbtn {
  position: relative;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 2px;
  padding: 10px 6px;
  border: 1px solid;
  border-radius: 10px;
  cursor: pointer;
  font-weight: 800; font-family: inherit;
  color: var(--mk-hp-text);
  isolation: isolate;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.mk-hero-qbtn::before {
  content: ""; position: absolute; inset: 1px; border-radius: inherit;
  background: linear-gradient(180deg, rgba(255,255,255,0.10) 0%, rgba(255,255,255,0) 50%);
  pointer-events: none;
}
.mk-hero-qbtn-icon  { font-size: 11px; line-height: 1; }
.mk-hero-qbtn-label { font-size: 11px; font-weight: 900; letter-spacing: 0.06em; }
.mk-hero-qbtn-value { font-size: 10px; font-weight: 700; color: var(--mk-hp-faint); font-family: ui-monospace, monospace; }
.mk-hero-qbtn--tp    { background: linear-gradient(180deg, rgba(59,130,246,0.40), rgba(20,241,149,0.30)); border-color: rgba(59,130,246,0.55); box-shadow: 0 8px 22px -6px rgba(59,130,246,0.55); }
.mk-hero-qbtn--sl    { background: linear-gradient(180deg, rgba(239,68,68,0.40),  rgba(245,158,11,0.30)); border-color: rgba(239,68,68,0.55);  box-shadow: 0 8px 22px -6px rgba(239,68,68,0.55); }
.mk-hero-qbtn--be    { background: linear-gradient(180deg, rgba(139,92,246,0.40), rgba(59,130,246,0.30)); border-color: rgba(139,92,246,0.55); box-shadow: 0 8px 22px -6px rgba(139,92,246,0.55); }
.mk-hero-qbtn--trail { background: linear-gradient(180deg, rgba(0,229,255,0.40),  rgba(139,92,246,0.30)); border-color: rgba(0,229,255,0.55);  box-shadow: 0 8px 22px -6px rgba(0,229,255,0.55); }
.mk-hero-qbtn:hover { transform: translateY(-2px); }

/* Lot row */
.mk-hero-lot-row { display: flex; align-items: center; gap: 8px; padding-top: 8px; border-top: 1px solid rgba(155,196,255,0.10); }
.mk-hero-lot-label { font-size: 10px; font-weight: 800; letter-spacing: 0.08em; color: var(--mk-hp-faint); }
.mk-hero-lot-mini {
  flex: 1; padding: 6px 0; text-align: center;
  border-radius: 8px;
  background: rgba(8, 14, 30, 0.55);
  border: 1px solid rgba(155, 196, 255, 0.14);
  font-size: 11px; font-weight: 700; color: var(--mk-hp-muted); font-family: ui-monospace, monospace;
}
.mk-hero-lot-mini.is-active { background: rgba(0,229,255,0.16); border-color: rgba(0,229,255,0.55); color: var(--mk-hp-cyan); }

/* Floating UI cards around the panel */
.mk-hero-float {
  position: absolute;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(14, 20, 38, 0.78);
  border: 1px solid var(--mk-hp-card-edge);
  -webkit-backdrop-filter: blur(16px) saturate(140%); backdrop-filter: blur(16px) saturate(140%);
  box-shadow: 0 22px 50px -16px rgba(7, 11, 30, 0.7);
  color: var(--mk-hp-text);
  font-size: 12px;
  z-index: 2;
  animation: mk-hero-float-up 6s ease-in-out infinite;
}
@keyframes mk-hero-float-up { 0%,100%{transform:translateY(0);} 50%{transform:translateY(-8px);} }

.mk-hero-float--pair    { top: -4%;  left: -4%; min-width: 180px; color: var(--mk-hp-cyan); animation-duration: 7s; }
.mk-hero-float--risk    { top: 18%;  right: -10%; min-width: 170px; animation-duration: 9s; }
.mk-hero-float--tpsl    { bottom: 10%; left: -8%; min-width: 200px; animation-duration: 8s; color: var(--mk-hp-blue); }
.mk-hero-float--license { bottom: 22%; right: -4%; display: flex; align-items: center; gap: 10px; min-width: 200px; animation-duration: 10s; color: var(--mk-hp-violet); }
.mk-hero-float--pulse   { bottom: -6%; right: 20%; min-width: 200px; animation-duration: 11s; color: var(--mk-hp-green); }

@media (max-width: 767px) {
  .mk-hero-float--pair    { top: -2%; left: 2%; }
  .mk-hero-float--risk    { top: 10%; right: 0; }
  .mk-hero-float--tpsl    { bottom: 8%; left: 0; }
  .mk-hero-float--license { bottom: 18%; right: 2%; }
  .mk-hero-float--pulse   { display: none; }
}

.mk-hero-float-eyebrow { display: block; font-size: 10px; font-weight: 800; letter-spacing: 0.08em; color: var(--mk-hp-faint); text-transform: uppercase; margin-bottom: 6px; }
.mk-hero-float-head    { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.mk-hero-float-pair    { font-weight: 800; }
.mk-hero-pulse         { display: inline-flex; align-items: center; gap: 4px; font-size: 9px; font-weight: 800; letter-spacing: 0.08em; color: var(--mk-hp-green); }
.mk-hero-pulse-dot     { width: 6px; height: 6px; border-radius: 50%; background: var(--mk-hp-green); box-shadow: 0 0 8px var(--mk-hp-green); animation: mk-pulse 1.4s ease-in-out infinite; }
.mk-hero-float-price   { font-size: 22px; font-weight: 900; color: var(--mk-hp-text); margin: 4px 0 0; font-family: ui-monospace, monospace; }
.mk-hero-float-change  { font-size: 12px; font-weight: 800; }
.mk-hero-float-change--up { color: var(--mk-hp-green); }
.mk-hero-spark { display: block; width: 100%; height: 28px; margin-top: 4px; color: currentColor; }

.mk-hero-float-stack       { display: flex; flex-direction: column; gap: 4px; }
.mk-hero-float-stack > div { display: flex; justify-content: space-between; font-size: 11px; color: var(--mk-hp-muted); }
.mk-hero-float-stack strong{ color: var(--mk-hp-text); font-weight: 800; }

.mk-hero-float-bar       { display: flex; flex-direction: column; gap: 6px; margin-bottom: 4px; }
.mk-hero-float-bar-track { position: relative; height: 5px; border-radius: 999px; background: rgba(155,196,255,0.12); overflow: hidden; }
.mk-hero-float-bar-fill  { position: absolute; left: 30%; right: 30%; top: 0; bottom: 0; background: linear-gradient(90deg, var(--mk-hp-red), var(--mk-hp-cyan), var(--mk-hp-green)); border-radius: 999px; }
.mk-hero-float-bar-tags  { display: flex; justify-content: space-between; font-size: 10px; font-weight: 700; color: var(--mk-hp-faint); font-style: normal; }
.mk-hero-float-bar-tags em { font-style: normal; }
.mk-hero-float-tip       { font-size: 11px; color: var(--mk-hp-muted); }

.mk-hero-float-shield    { display: inline-flex; padding: 8px; border-radius: 10px; background: rgba(139, 92, 246, 0.18); color: var(--mk-hp-violet); }
.mk-hero-float--license strong { display: block; font-size: 13px; color: var(--mk-hp-text); }
.mk-hero-float--license small  { display: block; font-size: 10px; color: var(--mk-hp-faint); }

.mk-hero-pulse-graph { display: block; width: 100%; height: 28px; }
.mk-hero-float-row   { display: flex; justify-content: space-between; font-size: 11px; color: var(--mk-hp-muted); margin-top: 4px; }

/* ====== Trust strip ======================================================== */

.mk-trust-strip { padding: clamp(40px, 5vw, 64px) 0; }
.mk-trust-grid {
  list-style: none; padding: 0; margin: 0;
  display: grid; gap: 16px;
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 720px)  { .mk-trust-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .mk-trust-grid { grid-template-columns: repeat(6, 1fr); } }

.mk-trust-card {
  padding: 18px;
  border-radius: 14px;
  background: var(--mk-hp-card-bg);
  border: 1px solid var(--mk-hp-card-edge);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  text-align: left;
  transition: border-color 0.25s ease, transform 0.25s ease;
}
.mk-trust-card:hover { transform: translateY(-3px); border-color: var(--mk-hp-card-edge-hover); }
.mk-trust-icon { display: inline-flex; padding: 8px; border-radius: 10px; background: rgba(0, 229, 255, 0.10); color: var(--mk-hp-cyan); margin-bottom: 10px; }
.mk-trust-title { margin: 0 0 6px; font-size: 14px; font-weight: 800; color: var(--mk-hp-text); }
.mk-trust-body  { margin: 0; font-size: 12px; line-height: 1.5; color: var(--mk-hp-muted); }

/* ====== Live currency pairs ================================================ */

.mk-live-pairs { background: var(--mk-hp-bg); }
.mk-live-pairs-bg { position: absolute; inset: 0; pointer-events: none; }
.mk-live-pairs-bg-glow {
  position: absolute; top: -10%; left: 50%; transform: translateX(-50%);
  width: 70%; height: 60%; border-radius: 50%; filter: blur(120px);
  background: radial-gradient(circle, rgba(0,229,255,0.18) 0%, transparent 70%);
}

.mk-live-pairs-header { max-width: 760px; margin-bottom: 32px; }

.mk-ticker {
  position: relative; z-index: 1;
  margin-bottom: 28px;
  padding: 14px 0;
  border: 1px solid var(--mk-hp-card-edge);
  border-radius: 14px;
  background: rgba(8, 14, 30, 0.6);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
          mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
}
.mk-ticker-track { display: inline-flex; gap: 0; white-space: nowrap; animation: mk-ticker-scroll 60s linear infinite; will-change: transform; }
@keyframes mk-ticker-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

.mk-ticker-item {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 0 22px;
  font-family: ui-monospace, monospace;
  font-size: 13px;
  border-right: 1px solid rgba(155,196,255,0.12);
}
.mk-ticker-pair    { font-weight: 800; color: var(--mk-hp-text); letter-spacing: 0.04em; }
.mk-ticker-price   { font-weight: 700; color: var(--mk-hp-muted); }
.mk-ticker-change  { font-weight: 800; }
.mk-ticker-item--up   .mk-ticker-change { color: var(--mk-hp-green); }
.mk-ticker-item--down .mk-ticker-change { color: var(--mk-hp-red);   }

.mk-pair-grid {
  list-style: none; padding: 0; margin: 0;
  display: grid; gap: 14px;
  grid-template-columns: 1fr;
}
@media (min-width: 540px) { .mk-pair-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 860px) { .mk-pair-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1180px){ .mk-pair-grid { grid-template-columns: repeat(5, 1fr); } }

.mk-pair-card {
  position: relative; isolation: isolate;
  padding: 16px 18px;
  border-radius: 16px;
  background: var(--mk-hp-card-bg);
  border: 1px solid var(--mk-hp-card-edge);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  color: var(--mk-hp-cyan);
}
.mk-pair-card--down { color: var(--mk-hp-red); }
.mk-pair-card:hover { transform: translateY(-3px); border-color: var(--mk-hp-card-edge-hover); box-shadow: 0 22px 50px -20px rgba(0,229,255,0.30); }
.mk-pair-card-bg {
  position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: linear-gradient(180deg, rgba(255,255,255,0.04) 0%, rgba(255,255,255,0) 35%);
}
.mk-pair-card-head { display: flex; justify-content: space-between; align-items: center; }
.mk-pair-symbol { font-weight: 800; color: var(--mk-hp-text); letter-spacing: 0.04em; }
.mk-pair-live { display: inline-flex; align-items: center; gap: 4px; font-size: 9px; font-weight: 800; color: var(--mk-hp-green); letter-spacing: 0.08em; }
.mk-pair-live-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--mk-hp-green); box-shadow: 0 0 8px var(--mk-hp-green); animation: mk-pulse 1.6s ease-in-out infinite; }
.mk-pair-price { margin: 8px 0 4px; font-size: 22px; font-weight: 900; font-family: ui-monospace, monospace; color: var(--mk-hp-text); }
.mk-pair-change { font-size: 13px; font-weight: 800; }
.mk-pair-change.is-up   { color: var(--mk-hp-green); }
.mk-pair-change.is-down { color: var(--mk-hp-red); }
.mk-pair-arrow { display: inline-block; margin-right: 4px; font-size: 11px; }
.mk-pair-spark { display: block; width: 100%; height: 30px; margin-top: 8px; color: currentColor; }

.mk-live-pairs-disclaimer { margin: 28px auto 0; max-width: 760px; text-align: center; font-size: 11px; line-height: 1.55; color: var(--mk-hp-faint); }

/* ====== Bento features ===================================================== */

.mk-bento { background: var(--mk-hp-bg); }
.mk-bento-bg { position: absolute; inset: 0; pointer-events: none; }
.mk-bento-bg-glow {
  position: absolute; border-radius: 50%; filter: blur(140px); opacity: 0.4;
}
.mk-bento-bg-glow--a { top: 10%; left: -10%; width: 50%; height: 60%; background: radial-gradient(circle, rgba(139,92,246,0.40), transparent 70%); }
.mk-bento-bg-glow--b { bottom: -10%; right: -10%; width: 50%; height: 60%; background: radial-gradient(circle, rgba(0,229,255,0.30), transparent 70%); }

.mk-bento-grid {
  list-style: none; padding: 0; margin: 0;
  display: grid; gap: 18px;
  grid-template-columns: 1fr;
  position: relative; z-index: 1;
}
@media (min-width: 720px)  { .mk-bento-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) {
  .mk-bento-grid { grid-template-columns: repeat(6, 1fr); grid-auto-rows: 220px; }
  .mk-bento-card--large  { grid-column: span 4; grid-row: span 2; }
  .mk-bento-card--medium { grid-column: span 2; }
  .mk-bento-card--small  { grid-column: span 2; }
}

.mk-bento-card {
  position: relative; isolation: isolate;
  padding: clamp(20px, 2.5vw, 28px);
  border-radius: 18px;
  background: var(--mk-hp-card-bg);
  border: 1px solid var(--mk-hp-card-edge);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  display: flex; flex-direction: column; gap: 10px;
  overflow: hidden;
  transition: border-color 0.25s ease, transform 0.25s ease;
}
.mk-bento-card:hover { transform: translateY(-3px); border-color: var(--mk-hp-card-edge-hover); }
.mk-bento-card-bg { position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0.6; }
.mk-bento-tone-cyan   .mk-bento-card-bg { background: radial-gradient(ellipse 80% 60% at 100% 0%, rgba(0,229,255,0.20),  transparent 70%); }
.mk-bento-tone-green  .mk-bento-card-bg { background: radial-gradient(ellipse 80% 60% at 100% 0%, rgba(20,241,149,0.18), transparent 70%); }
.mk-bento-tone-violet .mk-bento-card-bg { background: radial-gradient(ellipse 80% 60% at 100% 0%, rgba(139,92,246,0.20), transparent 70%); }
.mk-bento-tone-blue   .mk-bento-card-bg { background: radial-gradient(ellipse 80% 60% at 100% 0%, rgba(59,130,246,0.20), transparent 70%); }
.mk-bento-icon {
  display: inline-flex; padding: 10px; border-radius: 12px;
  background: rgba(155,196,255,0.08); color: var(--mk-hp-cyan); width: max-content;
}
.mk-bento-tone-green  .mk-bento-icon { color: var(--mk-hp-green); }
.mk-bento-tone-violet .mk-bento-icon { color: var(--mk-hp-violet); }
.mk-bento-tone-blue   .mk-bento-icon { color: var(--mk-hp-blue); }

.mk-bento-card--large .mk-bento-title { font-size: clamp(22px, 2.4vw, 30px); }
.mk-bento-title { margin: 0; font-size: 18px; font-weight: 800; line-height: 1.2; color: var(--mk-hp-text); }
.mk-bento-body  { margin: 0; font-size: 13px; line-height: 1.55; color: var(--mk-hp-muted); }
.mk-bento-card--large .mk-bento-body { font-size: 15px; }

/* ====== Product preview ==================================================== */

.mk-product-preview { background: var(--mk-hp-bg); }
.mk-product-preview-bg { position: absolute; inset: 0; pointer-events: none; }
.mk-product-preview-bg-glow {
  position: absolute; border-radius: 50%; filter: blur(160px); opacity: 0.5;
}
.mk-product-preview-bg-glow--cyan   { top: 10%; right: -10%; width: 50%; height: 60%; background: radial-gradient(circle, rgba(0,229,255,0.30), transparent 70%); }
.mk-product-preview-bg-glow--violet { bottom: -10%; left: -10%; width: 50%; height: 60%; background: radial-gradient(circle, rgba(139,92,246,0.30), transparent 70%); }

.mk-product-stage {
  position: relative; z-index: 1;
  margin: 0 auto;
  max-width: 1100px;
  padding: clamp(16px, 2vw, 24px);
  border-radius: 26px;
  background: linear-gradient(180deg, rgba(20, 26, 56, 0.78) 0%, rgba(8, 14, 30, 0.90) 100%);
  border: 1px solid rgba(0, 229, 255, 0.32);
  box-shadow: 0 60px 140px -30px rgba(0, 229, 255, 0.30), 0 30px 80px -20px rgba(7, 11, 30, 0.7);
  -webkit-backdrop-filter: blur(18px) saturate(140%); backdrop-filter: blur(18px) saturate(140%);
}
.mk-product-stage-glow {
  position: absolute; inset: -30px;
  border-radius: 32px;
  background: radial-gradient(60% 60% at 50% 40%, rgba(0,229,255,0.30) 0%, transparent 70%);
  filter: blur(40px);
  z-index: -1;
}

.mk-product-chart {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(11, 18, 36, 0.95), rgba(5, 7, 20, 0.98));
  border: 1px solid rgba(155,196,255,0.10);
  aspect-ratio: 600 / 360;
}
.mk-product-chart-svg { display: block; width: 100%; height: 100%; }

.mk-product-panel {
  position: absolute;
  right: clamp(16px, 3vw, 36px);
  top: 50%;
  transform: translateY(-50%);
  width: clamp(260px, 30%, 320px);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(20, 26, 56, 0.94) 0%, rgba(8, 14, 30, 0.97) 100%);
  border: 1px solid rgba(0, 229, 255, 0.42);
  box-shadow: 0 30px 80px -20px rgba(0,229,255,0.40), 0 20px 50px -16px rgba(7,11,30,0.7);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
}
@media (max-width: 720px) {
  .mk-product-panel {
    position: static; transform: none; width: auto;
    margin: 16px auto 0;
  }
}
.mk-product-panel-frame { padding: 14px 16px 18px; }
.mk-product-panel-head { display: flex; align-items: center; gap: 8px; padding-bottom: 10px; border-bottom: 1px solid rgba(155,196,255,0.10); }
.mk-product-panel-led  { width: 8px; height: 8px; border-radius: 50%; background: var(--mk-hp-green); box-shadow: 0 0 10px var(--mk-hp-green); animation: mk-pulse 1.6s ease-in-out infinite; }
.mk-product-panel-title { flex: 1; font-weight: 800; font-size: 13px; }
.mk-product-panel-tier  { padding: 2px 8px; border-radius: 999px; background: linear-gradient(135deg, var(--mk-hp-cyan), var(--mk-hp-violet)); color: #02030a; font-size: 9px; font-weight: 900; letter-spacing: 0.08em; }
.mk-product-panel-status { display: flex; flex-wrap: wrap; gap: 8px; padding: 10px 0; border-bottom: 1px solid rgba(155,196,255,0.10); font-size: 10px; color: var(--mk-hp-faint); }
.mk-product-panel-status strong { color: var(--mk-hp-text); margin-left: 3px; font-weight: 800; }
.mk-product-panel-tabs { display: flex; gap: 4px; padding: 10px 0; }
.mk-product-panel-tabs span { flex: 1; padding: 5px 0; border-radius: 6px; background: rgba(155,196,255,0.04); border: 1px solid rgba(155,196,255,0.14); font-size: 9px; font-weight: 800; letter-spacing: 0.05em; text-align: center; color: var(--mk-hp-faint); }
.mk-product-panel-tabs .is-active { background: rgba(0,229,255,0.18); border-color: rgba(0,229,255,0.55); color: var(--mk-hp-cyan); }
.mk-product-panel-body { display: flex; flex-direction: column; gap: 8px; padding-top: 4px; }
.mk-product-trade-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.mk-product-quad { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.mk-product-lot-row { display: flex; align-items: center; gap: 6px; padding-top: 6px; border-top: 1px solid rgba(155,196,255,0.10); }
.mk-product-lot-label { font-size: 9px; font-weight: 800; letter-spacing: 0.08em; color: var(--mk-hp-faint); }
.mk-product-lot-mini  { flex: 1; padding: 4px 0; text-align: center; border-radius: 6px; background: rgba(8,14,30,0.55); border: 1px solid rgba(155,196,255,0.14); font-size: 10px; font-weight: 700; color: var(--mk-hp-muted); font-family: ui-monospace, monospace; }
.mk-product-lot-mini.is-active { background: rgba(0,229,255,0.16); border-color: rgba(0,229,255,0.55); color: var(--mk-hp-cyan); }
.mk-product-acct { display: flex; flex-wrap: wrap; gap: 8px; padding-top: 6px; border-top: 1px solid rgba(155,196,255,0.10); font-size: 9px; color: var(--mk-hp-faint); font-family: ui-monospace, monospace; }
.mk-product-acct span { background: rgba(155,196,255,0.04); padding: 3px 6px; border-radius: 4px; }

.mk-product-hud {
  position: absolute;
  top: clamp(12px, 2vw, 24px);
  left: clamp(12px, 2vw, 24px);
  padding: 12px 16px;
  border-radius: 14px;
  background: rgba(11,18,36,0.85);
  border: 1px solid rgba(0,229,255,0.32);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  display: flex; flex-direction: column; gap: 2px;
}
.mk-product-hud-eyebrow { font-size: 9px; font-weight: 800; letter-spacing: 0.08em; color: var(--mk-hp-faint); }
.mk-product-hud-pips    { font-size: 22px; font-weight: 900; color: var(--mk-hp-cyan); font-family: ui-monospace, monospace; }
.mk-product-hud-state   { font-size: 10px; color: var(--mk-hp-muted); font-family: ui-monospace, monospace; }

/* ====== Security grid ====================================================== */

.mk-security { background: var(--mk-hp-bg); }
.mk-security-bg { position: absolute; inset: 0; pointer-events: none; }
.mk-security-bg-glow {
  position: absolute; top: -10%; left: -10%; width: 70%; height: 70%; border-radius: 50%; filter: blur(140px);
  background: radial-gradient(circle, rgba(20,241,149,0.18) 0%, transparent 70%);
}
.mk-security-grid {
  list-style: none; padding: 0; margin: 0;
  display: grid; gap: 18px;
  grid-template-columns: 1fr;
}
@media (min-width: 720px)  { .mk-security-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .mk-security-grid { grid-template-columns: repeat(4, 1fr); } }

.mk-security-card {
  position: relative; isolation: isolate;
  padding: 24px;
  border-radius: 18px;
  background: var(--mk-hp-card-bg);
  border: 1px solid var(--mk-hp-card-edge);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  transition: border-color 0.25s ease, transform 0.25s ease;
}
.mk-security-card:hover { transform: translateY(-3px); border-color: var(--mk-hp-card-edge-hover); }
.mk-security-card-bg { position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: radial-gradient(ellipse 80% 60% at 0% 0%, rgba(20,241,149,0.10), transparent 70%); }
.mk-security-icon { display: inline-flex; padding: 10px; border-radius: 12px; background: rgba(20,241,149,0.10); color: var(--mk-hp-green); margin-bottom: 12px; }
.mk-security-title { margin: 0 0 6px; font-size: 16px; font-weight: 800; color: var(--mk-hp-text); }
.mk-security-body  { margin: 0; font-size: 13px; line-height: 1.55; color: var(--mk-hp-muted); }

/* ====== Final CTA ========================================================== */

.mk-final-cta-v6 { background: var(--mk-hp-bg); }
.mk-final-cta-bg { position: absolute; inset: 0; pointer-events: none; }
.mk-final-cta-bg-glow { position: absolute; border-radius: 50%; filter: blur(140px); opacity: 0.6; }
.mk-final-cta-bg-glow--cyan   { top: -20%; left: 20%; width: 60%; height: 80%; background: radial-gradient(circle, rgba(0,229,255,0.40), transparent 70%); }
.mk-final-cta-bg-glow--violet { bottom: -20%; right: 20%; width: 60%; height: 80%; background: radial-gradient(circle, rgba(139,92,246,0.40), transparent 70%); }

.mk-final-cta-card {
  position: relative; z-index: 1;
  margin: 0 auto;
  max-width: 820px;
  padding: clamp(40px, 6vw, 72px);
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(20, 26, 56, 0.85) 0%, rgba(8, 14, 30, 0.95) 100%);
  border: 1px solid rgba(0, 229, 255, 0.36);
  text-align: center;
  box-shadow: 0 50px 120px -24px rgba(0,229,255,0.35);
  -webkit-backdrop-filter: blur(16px) saturate(140%); backdrop-filter: blur(16px) saturate(140%);
}
.mk-final-cta-card h2 { margin: 14px 0 14px; font-size: clamp(28px, 4vw, 44px); line-height: 1.1; font-weight: 900; letter-spacing: -0.02em; color: var(--mk-hp-text); }
.mk-final-cta-card p  { margin: 0 auto 22px; max-width: 580px; font-size: clamp(15px, 1.5vw, 17px); line-height: 1.6; color: var(--mk-hp-muted); }
.mk-final-cta-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.mk-final-cta-support { margin: 22px 0 4px; font-size: 13px; color: var(--mk-hp-muted); }
.mk-final-cta-support a { color: var(--mk-hp-cyan); text-decoration: none; }
.mk-final-cta-support a:hover { text-decoration: underline; }
.mk-final-cta-compliance { margin: 0; font-size: 11px; color: var(--mk-hp-faint); }

/* ====== Premium footer v6 ================================================== */

.mk-premium-footer--v6 { padding: clamp(48px, 6vw, 80px) 0 clamp(28px, 3vw, 40px); border-top: 1px solid rgba(155,196,255,0.10); background: var(--mk-hp-bg); }
.mk-footer-grid--v6 {
  display: grid; gap: 28px;
  grid-template-columns: 1fr;
}
@media (min-width: 720px)  { .mk-footer-grid--v6 { grid-template-columns: 1.4fr 1fr 1fr; } }
@media (min-width: 1024px) { .mk-footer-grid--v6 { grid-template-columns: 1.6fr repeat(4, 1fr); } }

.mk-footer-brand-desc { font-size: 13px; line-height: 1.6; color: var(--mk-hp-muted); margin: 14px 0 12px; max-width: 360px; }
.mk-footer-compliance { font-size: 11px; color: var(--mk-hp-faint); margin: 0 0 12px; }
.mk-footer-support-line { font-size: 13px; color: var(--mk-hp-muted); margin: 0; }
.mk-footer-support-line a { color: var(--mk-hp-cyan); text-decoration: none; }

/* ====== Reduced motion + print ============================================= */

@media (prefers-reduced-motion: reduce) {
  .mk-hero-bg-glow,
  .mk-hero-panel,
  .mk-hero-float,
  .mk-hero-panel-led,
  .mk-pair-live-dot,
  .mk-product-panel-led,
  .mk-hero-pulse-dot,
  .mk-ticker-track { animation: none !important; }
  .mk-tier-card, .mk-trust-card, .mk-bento-card, .mk-pair-card, .mk-security-card { transition: none; }
  .mk-tier-card:hover, .mk-trust-card:hover, .mk-bento-card:hover, .mk-pair-card:hover, .mk-security-card:hover { transform: none; }
  .mk-button-3d:active, .mk-button-ghost-3d:active, .mk-tier-cta:active, .mk-hero-tbtn:active, .mk-hero-qbtn:active { transform: none; }
}

/* ---- v6.2.0 polish ------------------------------------------------------- */
/* Premium Expo.out easing on the homepage interactive surfaces. Press-state
   scale on every tactile button (hero, cards, CTAs, panel buttons) for
   responsive tap feedback. Suppressed under prefers-reduced-motion (above). */

.mk-button-3d,
.mk-button-ghost-3d,
.mk-trust-card,
.mk-bento-card,
.mk-pair-card,
.mk-security-card,
.mk-hero-tbtn,
.mk-hero-qbtn {
  transition-timing-function: var(--mk-ease-expo, cubic-bezier(0.16, 1, 0.3, 1));
}

.mk-button-3d:active,
.mk-button-ghost-3d:active {
  transform: scale(var(--mk-press-scale, 0.97));
}

/* Sub-button (hero panel buttons) gets a slightly different press feel —
   they're inside the rotated panel, so we don't fight the rotateY transform.
   Just dim + tighten on press. */
.mk-hero-tbtn:active,
.mk-hero-qbtn:active {
  filter: brightness(0.92);
}

@media print {
  .mk-hero-bg, .mk-bento-bg, .mk-product-preview-bg, .mk-security-bg, .mk-final-cta-bg, .mk-live-pairs-bg { display: none; }
  .mk-hero--v6, .mk-section { background: #fff; color: #000; padding: 24px 0; }
  .mk-hero-panel, .mk-tier-card, .mk-bento-card, .mk-pair-card, .mk-security-card, .mk-final-cta-card { background: #fff; border: 1px solid #ccc; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; color: #000; }
  .mk-ticker { display: none; }
}

/* ====== Reveal-on-scroll (paired with mk-homepage.js) ====================== */

[data-mk-reveal] { opacity: 0; transform: translateY(16px); transition: opacity 0.6s ease, transform 0.6s ease; }
[data-mk-reveal].is-visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) { [data-mk-reveal] { opacity: 1; transform: none; transition: none; } }
