@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Plus+Jakarta+Sans:wght@500;600;700;800&display=swap");

.mcm-react-hero-mount,
.mcm-react-hero-mount * {
  box-sizing: border-box;
}

.mcm-hero {
  --mx: 0;
  --my: 0;
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  isolation: isolate;
  color: #fff;
  background:
    radial-gradient(circle at 75% 40%, rgba(40, 235, 130, .13), transparent 28%),
    radial-gradient(circle at 12% 5%, rgba(52, 92, 255, .12), transparent 25%),
    linear-gradient(135deg, #020817 0%, #06152c 52%, #020817 100%);
  font-family: "DM Sans", sans-serif;
}

.mcm-hero__bg,
.mcm-hero__grid,
.mcm-hero__glow,
.mcm-hero__noise,
.mcm-hero__particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.mcm-hero__bg { z-index: -4; }

.mcm-hero__grid {
  inset: -30%;
  opacity: .18;
  background-image:
    linear-gradient(rgba(119,255,181,.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(119,255,181,.08) 1px, transparent 1px);
  background-size: 72px 72px;
  transform: perspective(900px) rotateX(68deg) translateY(38%);
  mask-image: linear-gradient(to bottom, transparent 10%, #000 45%, transparent 88%);
  animation: mcmGrid 16s linear infinite;
}

.mcm-hero__glow {
  background:
    radial-gradient(circle 520px at calc(50% + var(--mx) * 18%) calc(50% + var(--my) * 18%), rgba(77,255,157,.12), transparent 68%);
  transition: background-position .12s ease;
}

.mcm-hero__noise {
  opacity: .035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.8'/%3E%3C/svg%3E");
}

.mcm-hero__particle {
  position: absolute;
  width: var(--s);
  height: var(--s);
  left: var(--x);
  top: var(--y);
  border-radius: 50%;
  background: #86efac;
  box-shadow: 0 0 14px rgba(74,222,128,.65);
  opacity: var(--o);
  animation: mcmParticle var(--d) linear infinite;
  animation-delay: var(--delay);
}

.mcm-hero__container {
  width: min(1440px, calc(100% - 64px));
  min-height: 100svh;
  margin: 0 auto;
  padding: 112px 0 88px;
  display: grid;
  grid-template-columns: minmax(0,.9fr) minmax(520px,1.1fr);
  align-items: center;
  gap: 56px;
  position: relative;
  z-index: 2;
}

.mcm-hero__content { max-width: 700px; }

.mcm-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #9cf7bf;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.mcm-hero__eyebrow-dot {
  width: 30px;
  height: 30px;
  border: 1px solid rgba(116,255,176,.28);
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(43,211,115,.08);
  box-shadow: 0 0 25px rgba(56,255,142,.10);
}

.mcm-hero__title {
  margin: 0;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: clamp(54px, 6vw, 96px);
  line-height: .98;
  letter-spacing: -.065em;
  font-weight: 800;
}

.mcm-hero__title span {
  color: transparent;
  background: linear-gradient(90deg, #58e990, #c1f9d4 50%, #66d89a);
  -webkit-background-clip: text;
  background-clip: text;
  filter: drop-shadow(0 0 24px rgba(68,236,139,.16));
}

.mcm-hero__copy {
  max-width: 640px;
  margin: 30px 0 0;
  color: #aebbd0;
  font-size: clamp(17px,1.4vw,20px);
  line-height: 1.7;
}

.mcm-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 36px;
}

.mcm-hero__btn {
  min-height: 58px;
  padding: 0 24px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-decoration: none;
  font-size: 15px;
  font-weight: 700;
  transition: transform .22s ease, border-color .22s ease, background .22s ease, box-shadow .22s ease;
}

.mcm-hero__btn:hover { transform: translateY(-3px); }

.mcm-hero__btn--primary {
  color: #03120a;
  background: linear-gradient(135deg, #9bf2b9, #44db81);
  box-shadow: 0 18px 40px rgba(43,220,115,.2), inset 0 1px rgba(255,255,255,.5);
}

.mcm-hero__btn--secondary {
  color: #fff;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.045);
  backdrop-filter: blur(15px);
}

.mcm-hero__proof {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 28px;
  color: #a8b5c8;
  font-size: 13px;
}

.mcm-hero__proof span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.mcm-hero__proof i {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #04120a;
  background: #58e990;
  font-style: normal;
  font-size: 11px;
  font-weight: 900;
}

.mcm-hero__visual {
  min-height: 700px;
  display: grid;
  place-items: center;
  perspective: 1500px;
}

.mcm-hero__scene {
  width: min(100%, 760px);
  height: 650px;
  position: relative;
  transform-style: preserve-3d;
}

.mcm-hero__ring {
  position: absolute;
  top: 50%;
  left: 50%;
  border-radius: 50%;
  border: 1px solid rgba(84,243,151,.16);
  transform: translate(-50%,-50%);
}

.mcm-hero__ring--a {
  width: 610px;
  height: 610px;
  animation: mcmSpin 28s linear infinite;
}

.mcm-hero__ring--b {
  width: 495px;
  height: 495px;
  border-style: dashed;
  opacity: .55;
  animation: mcmSpinReverse 22s linear infinite;
}

.mcm-hero__orbit-dot {
  position: absolute;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #69eea1;
  box-shadow: 0 0 20px rgba(71,255,151,.85);
}

.mcm-hero__orbit-dot--1 { top: 55px; left: 110px; }
.mcm-hero__orbit-dot--2 { right: 32px; bottom: 175px; width: 6px; height: 6px; }

.mcm-dashboard {
  position: absolute;
  top: 88px;
  left: 50%;
  width: min(590px, 90%);
  min-height: 505px;
  padding: 22px;
  border-radius: 26px;
  border: 1px solid rgba(172,255,205,.14);
  background: linear-gradient(145deg, rgba(17,34,58,.88), rgba(5,14,31,.91));
  box-shadow: 0 58px 110px rgba(0,0,0,.46), 0 0 75px rgba(42,226,120,.08), inset 0 1px rgba(255,255,255,.08);
  backdrop-filter: blur(24px);
  transform-style: preserve-3d;
  transform:
    translateX(-50%)
    rotateX(calc(var(--my) * -5deg))
    rotateY(calc(var(--mx) * 7deg))
    translateZ(60px);
  transition: transform .14s ease-out;
}

.mcm-dashboard__top,
.mcm-chart__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.mcm-dashboard__label {
  color: #7e8ca4;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.mcm-dashboard h2 {
  margin: 7px 0 0;
  font: 700 20px/1.2 "Plus Jakarta Sans",sans-serif;
}

.mcm-live {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 10px;
  border: 1px solid rgba(80,245,149,.18);
  border-radius: 999px;
  color: #88edb1;
  background: rgba(38,210,111,.07);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
}

.mcm-live::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 0 5px rgba(74,222,128,.08);
  animation: mcmPulse 1.6s ease-in-out infinite;
}

.mcm-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 20px;
}

.mcm-metric {
  padding: 15px;
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 15px;
  background: rgba(255,255,255,.026);
  position: relative;
}

.mcm-metric span {
  color: #8794a9;
  display: block;
  font-size: 10px;
}

.mcm-metric strong {
  display: block;
  margin-top: 5px;
  font-size: 24px;
}

.mcm-metric small {
  position: absolute;
  right: 12px;
  bottom: 14px;
  color: #61dd93;
  font-size: 10px;
  font-weight: 700;
}

.mcm-chart {
  margin-top: 12px;
  padding: 16px;
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 16px;
  background: rgba(255,255,255,.022);
  transform: translateZ(30px);
}

.mcm-chart__head span { color:#8491a6; font-size:10px; display:block; }
.mcm-chart__head strong { color:#dfffea; font-size:14px; display:block; margin-top:4px; }

.mcm-chart__canvas {
  height: 145px;
  margin-top: 12px;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(255,255,255,.05);
}

.mcm-chart__grid {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 100% 33.33%;
}

.mcm-chart svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.mcm-chart__line {
  fill: none;
  stroke: url(#mcmStroke);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-dasharray: 800;
  stroke-dashoffset: 800;
  filter: drop-shadow(0 0 7px rgba(83,235,145,.45));
  animation: mcmDraw 2.2s .35s ease forwards;
}

.mcm-chart__area {
  fill: url(#mcmFill);
  opacity: 0;
  animation: mcmFade 1.2s .8s ease forwards;
}

.mcm-channels {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 8px;
  margin-top: 12px;
}

.mcm-channel {
  padding: 10px;
  border: 1px solid rgba(255,255,255,.045);
  border-radius: 11px;
  background: rgba(255,255,255,.018);
  color: #758299;
  font-size: 9px;
}

.mcm-channel strong {
  display: block;
  color: #eef5ff;
  margin-top: 5px;
  font-size: 13px;
}

.mcm-float {
  position: absolute;
  z-index: 5;
  padding: 13px 15px;
  border: 1px solid rgba(167,255,202,.13);
  border-radius: 15px;
  background: rgba(8,22,42,.84);
  box-shadow: 0 24px 55px rgba(0,0,0,.32), inset 0 1px rgba(255,255,255,.06);
  backdrop-filter: blur(20px);
  animation: mcmFloat 6s ease-in-out infinite;
}

.mcm-float span { display:block; color:#78869c; font-size:9px; }
.mcm-float strong { display:block; color:#f0f7ff; font-size:12px; margin-top:4px; white-space:nowrap; }

.mcm-float--top { top: 42px; right: 0; }
.mcm-float--bottom { bottom: 38px; left: 18px; animation-delay: -2s; }
.mcm-float--side { top: 305px; right: -25px; animation-delay: -1s; }
.mcm-float--side strong { color:#75eca5; font-size:18px; }

@keyframes mcmGrid { to { background-position: 72px 72px; } }
@keyframes mcmSpin { to { transform: translate(-50%,-50%) rotate(360deg); } }
@keyframes mcmSpinReverse { to { transform: translate(-50%,-50%) rotate(-360deg); } }
@keyframes mcmPulse { 50% { opacity:.55; transform:scale(.78); } }
@keyframes mcmFloat { 50% { transform: translateY(-14px); } }
@keyframes mcmDraw { to { stroke-dashoffset:0; } }
@keyframes mcmFade { to { opacity:1; } }
@keyframes mcmParticle {
  from { transform: translate3d(0,20px,0); }
  to { transform: translate3d(14px,-90px,0); opacity:0; }
}

@media (max-width: 1080px) {
  .mcm-hero__container {
    grid-template-columns: 1fr;
    padding-top: 125px;
  }
  .mcm-hero__content {
    text-align: center;
    margin: 0 auto;
  }
  .mcm-hero__actions, .mcm-hero__proof { justify-content: center; }
  .mcm-hero__visual { min-height: 620px; }
}

@media (max-width: 700px) {
  .mcm-hero__container {
    width: min(100% - 28px, 640px);
    padding-top: 90px;
  }
  .mcm-hero__title { font-size: clamp(44px, 13vw, 64px); }
  .mcm-hero__copy { font-size: 16px; }
  .mcm-hero__actions { flex-direction: column; }
  .mcm-hero__btn { width: 100%; }
  .mcm-hero__visual { min-height: 500px; }
  .mcm-hero__scene {
    width: 760px;
    transform: scale(.64);
  }
}

@media (max-width: 430px) {
  .mcm-hero__visual { min-height: 430px; }
  .mcm-hero__scene { transform: scale(.54); }
}

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