@charset "UTF-8";

/* ===== Страница „Модули“ — херо с анимирана екосистема. Всичко е затворено под #mhm-hero.
   Анимацията е само CSS; в редактора всичко стои неподвижно и видимо. ===== */
#mhm-hero{
  --head:128px;
  --ink:#15113d;--ac:#5b4de0;--vi:#9a8cff;--tq:#3fc6d2;--or:#f2701f;--or-l:#ffb36b;--ok:#22c07a;--t1:70s;--t2:110s;
  position:relative;overflow:hidden;isolation:isolate;display:block;margin:0;padding:0;border:0;min-height:max(780px,100vh);
  background:radial-gradient(45% 55% at 70% 50%,rgba(124,108,255,.34),rgba(124,108,255,0) 70%),radial-gradient(35% 40% at 100% 100%,rgba(242,112,31,.22),rgba(242,112,31,0) 70%),
    radial-gradient(40% 45% at 0% 10%,rgba(63,198,210,.18),rgba(63,198,210,0) 70%),linear-gradient(170deg,#1b1662 0%,#121040 45%,#0a0926 100%);
  font:400 16px/1.5 'Montserrat',system-ui,-apple-system,'Segoe UI',sans-serif;color:rgba(232,229,255,.82);text-align:left;-webkit-font-smoothing:antialiased
}
#mhm-hero *,#mhm-hero *::before,#mhm-hero *::after{box-sizing:border-box;font-feature-settings:'locl' 0!important}
#mhm-hero :where(h1,p,ul,li,a,span,b,i,s,small,strong,em,div,svg,figure){margin:0;padding:0;border:0;background:none;box-shadow:none;font:inherit;color:inherit;letter-spacing:inherit;text-transform:none;text-decoration:none;list-style:none;max-width:none;min-height:0}
#mhm-hero li::before,#mhm-hero li::marker{content:none}
#mhm-hero .sr{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
/* звезден фон */
#mhm-hero::before{content:"";position:absolute;z-index:-1;inset:0;pointer-events:none;
  background:radial-gradient(1.5px 1.5px at 12% 22%,rgba(255,255,255,.7),transparent),radial-gradient(1px 1px at 28% 68%,rgba(255,255,255,.5),transparent),radial-gradient(1.5px 1.5px at 46% 12%,rgba(255,255,255,.6),transparent),
    radial-gradient(1px 1px at 63% 84%,rgba(255,255,255,.5),transparent),radial-gradient(1.5px 1.5px at 82% 18%,rgba(255,255,255,.6),transparent),radial-gradient(1px 1px at 92% 58%,rgba(255,255,255,.5),transparent),
    radial-gradient(1px 1px at 6% 86%,rgba(255,255,255,.5),transparent),radial-gradient(1px 1px at 38% 40%,rgba(255,255,255,.35),transparent),radial-gradient(1px 1px at 74% 42%,rgba(255,255,255,.35),transparent)}
#mhm-hero .in{max-width:1320px;margin:0 auto;min-height:inherit;padding:calc(var(--head) + 36px) 32px 72px;display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:clamp(28px,4vw,60px);align-items:center}

/* ===== текст ===== */
#mhm-hero .tag{display:inline-flex;align-items:center;gap:10px;height:38px;padding:0 16px 0 10px;border-radius:999px;background:rgba(255,255,255,.07);border:1px solid rgba(255,255,255,.16);font-size:13px;font-weight:700;color:#d9d4ff}
#mhm-hero .tag i{display:grid;place-items:center;width:22px;height:22px;border-radius:50%;background:linear-gradient(135deg,var(--vi),var(--ac));font-style:normal;font-size:11px;color:#fff}
#mhm-hero .h1{margin-top:22px;font-family:'Advent Pro',sans-serif;font-size:clamp(52px,6vw,96px);line-height:.86;letter-spacing:-.02em;color:#fff}
#mhm-hero .h1 b{display:block;font-weight:700;white-space:nowrap}
#mhm-hero .h1 i{display:block;font-style:normal;font-weight:200;background:linear-gradient(100deg,#c9c2ff 0%,#8fe6ee 50%,#ffb36b 100%);-webkit-background-clip:text;background-clip:text;color:transparent;padding-right:.04em}
#mhm-hero .lead{margin-top:20px;max-width:540px;font-size:clamp(15.5px,1.25vw,18px);line-height:1.65;color:rgba(232,229,255,.78)}
#mhm-hero .lead b{color:#fff;font-weight:600}
#mhm-hero .cnt{margin-top:24px;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));max-width:560px;border-radius:18px;background:rgba(255,255,255,.05);border:1px solid rgba(255,255,255,.12)}
#mhm-hero .cnt li{padding:14px 14px;font-size:11.5px;line-height:1.35;color:rgba(222,219,255,.62)}
#mhm-hero .cnt li+li{border-left:1px solid rgba(255,255,255,.1)}
#mhm-hero .cnt b{display:flex;align-items:center;gap:7px;font-family:'Advent Pro',sans-serif;font-weight:700;font-size:30px;line-height:1;color:#fff}
#mhm-hero .cnt b::before{content:"";width:9px;height:9px;border-radius:50%;background:var(--d);box-shadow:0 0 0 3px rgba(255,255,255,.06)}
#mhm-hero .cta{margin-top:26px;display:flex;flex-wrap:wrap;align-items:center;gap:12px 16px}
#mhm-hero a.btn,#mhm-hero a.btn:visited{display:inline-flex;align-items:center;gap:10px;height:56px;padding:0 26px;border-radius:14px;background:linear-gradient(135deg,var(--or-l),var(--or));color:#1c1650;font-weight:700;font-size:15.5px;box-shadow:0 20px 40px -18px rgba(242,112,31,.85);transition:transform .25s}
#mhm-hero a.btn svg{width:18px;height:18px}
#mhm-hero a.ghost,#mhm-hero a.ghost:visited{display:inline-flex;align-items:center;gap:9px;height:56px;padding:0 22px;border-radius:14px;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.2);color:#fff;font-weight:700;font-size:15px;transition:transform .25s,border-color .25s}
#mhm-hero a:focus-visible{outline:2px solid var(--or-l);outline-offset:3px;border-radius:14px}

/* ===== екосистемата ===== */
#mhm-hero .sys{position:relative;container-type:inline-size;width:min(640px,100%);aspect-ratio:1;margin:0 auto}
#mhm-hero .orb{position:absolute;left:50%;top:50%;border-radius:50%;transform:translate(-50%,-50%);pointer-events:none}
#mhm-hero .orb.o1{width:60cqw;height:60cqw;border:1.5px solid rgba(154,140,255,.35)}
#mhm-hero .orb.o2{width:94cqw;height:94cqw;border:1px dashed rgba(255,255,255,.18)}
#mhm-hero .glow{position:absolute;left:50%;top:50%;width:46cqw;height:46cqw;transform:translate(-50%,-50%);border-radius:50%;background:radial-gradient(closest-side,rgba(124,108,255,.45),rgba(124,108,255,0));pointer-events:none}
/* центърът */
#mhm-hero .core{position:absolute;z-index:1;left:50%;top:50%;width:30cqw;height:30cqw;transform:translate(-50%,-50%);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:.4cqw;border-radius:50%;text-align:center;
  background:radial-gradient(circle at 35% 30%,#8a7bff,#5b4de0 50%,#2b2280);color:#fff;box-shadow:0 0 0 2cqw rgba(91,77,224,.18),0 0 0 4cqw rgba(91,77,224,.08),0 3cqw 7cqw -2cqw rgba(0,0,0,.6)}
#mhm-hero .core i{font-style:normal;font-size:5.6cqw;line-height:1}
#mhm-hero .core b{display:block;font-family:'Advent Pro',sans-serif;font-weight:700;font-size:3.5cqw;line-height:1}
#mhm-hero .core small{display:block;font-size:1.7cqw;font-weight:600;color:#d9d4ff}
/* пръстените с модулите */
#mhm-hero .ring{position:absolute;inset:0;z-index:2}
#mhm-hero .ring.r1{z-index:3}
#mhm-hero .pl{position:absolute;left:50%;top:50%;width:0;height:0;transform:rotate(var(--a)) translate(var(--r)) rotate(calc(-1*var(--a)))}
#mhm-hero .pl>span{position:absolute;left:0;top:0;transform:translate(-50%,-50%);display:flex;flex-direction:column;align-items:center;gap:.6cqw}
#mhm-hero .ring.r1 .pl{--r:30cqw}
#mhm-hero .ring.r2 .pl{--r:47cqw}
#mhm-hero .bub{display:grid;place-items:center;border-radius:50%;font-style:normal}
#mhm-hero .r1 .bub{width:12.5cqw;height:12.5cqw;font-size:5.4cqw;background:#fff;box-shadow:0 2cqw 4cqw -1.6cqw rgba(0,0,0,.7)}
#mhm-hero .r1 .dev .bub{background:rgba(255,255,255,.12);border:2px dashed rgba(255,179,107,.8);box-shadow:none}
#mhm-hero .r2 .bub{width:8cqw;height:8cqw;font-size:3.6cqw;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.2)}
#mhm-hero .pl b{display:block;padding:.4cqw 1.3cqw;border-radius:999px;background:rgba(10,9,38,.75);border:1px solid rgba(255,255,255,.14);font-size:1.75cqw;font-weight:700;color:#fff;white-space:nowrap}
#mhm-hero .r1 .ok b{background:#fff;color:var(--ink);border-color:#fff}
#mhm-hero .r1 .dev b{color:#ffd0a8;border-color:rgba(255,179,107,.5)}
#mhm-hero .r2 .pl b{font-size:1.5cqw;font-weight:600;color:rgba(222,219,255,.75)}
#mhm-hero .pl small{white-space:nowrap;display:block;margin-top:-.2cqw;font-size:1.35cqw;font-weight:700;color:#7ae8b6}
#mhm-hero .dev small{color:var(--or-l)}
/* лъчи от центъра */
#mhm-hero .beam{position:absolute;left:50%;top:50%;width:9cqw;height:2px;transform-origin:0 50%;transform:rotate(var(--a)) translateX(15.5cqw);background:linear-gradient(90deg,rgba(185,176,255,.8),rgba(185,176,255,.15));pointer-events:none}
#mhm-hero .beam::after{content:"";position:absolute;left:0;top:50%;width:1.2cqw;height:1.2cqw;margin-top:-.6cqw;border-radius:50%;background:#fff;box-shadow:0 0 1.4cqw #b9b0ff;opacity:0}
#mhm-hero .lgd{margin-top:14px;display:flex;justify-content:center;flex-wrap:wrap;gap:8px 18px;font-size:12.5px;color:rgba(222,219,255,.7)}
#mhm-hero .lgd span{display:inline-flex;align-items:center;gap:7px}
#mhm-hero .lgd i{width:12px;height:12px;border-radius:50%;font-style:normal}

@media (hover:hover) and (pointer:fine){
  #mhm-hero a.btn:hover,#mhm-hero a.ghost:hover{transform:translateY(-2px)}
  #mhm-hero a.ghost:hover{border-color:rgba(255,179,107,.6)}
}
/* ===== движение: модулите обикалят центъра, текстът им стои изправен ===== */
@media (prefers-reduced-motion:no-preference){
  #mhm-hero .copy>*{animation:up .7s cubic-bezier(.2,.7,.2,1) both}
  #mhm-hero .copy>*:nth-child(2){animation-delay:.06s}#mhm-hero .copy>*:nth-child(3){animation-delay:.12s}#mhm-hero .copy>*:nth-child(4){animation-delay:.18s}#mhm-hero .copy>*:nth-child(5){animation-delay:.24s}
  #mhm-hero .ring.r1{animation:spin var(--t1) linear infinite}
  #mhm-hero .ring.r1 .pl>span{animation:spin var(--t1) linear infinite reverse}
  #mhm-hero .ring.r2{animation:spin var(--t2) linear infinite reverse}
  #mhm-hero .ring.r2 .pl>span{animation:spin2 var(--t2) linear infinite}
  #mhm-hero .ring.r1 .beam::after{animation:pulse 3s ease-in-out infinite;animation-delay:var(--d)}
  #mhm-hero .core{animation:core 4s ease-in-out infinite}
}
@keyframes up{from{opacity:0;transform:translateY(14px)}to{opacity:1;transform:none}}
@keyframes spin{to{rotate:360deg}}
@keyframes spin2{to{rotate:360deg}}
@keyframes pulse{0%{left:100%;opacity:0}15%{opacity:1}85%{opacity:1}100%{left:0;opacity:0}}
@keyframes core{0%,100%{box-shadow:0 0 0 2cqw rgba(91,77,224,.18),0 0 0 4cqw rgba(91,77,224,.08),0 3cqw 7cqw -2cqw rgba(0,0,0,.6)}50%{box-shadow:0 0 0 2.6cqw rgba(91,77,224,.24),0 0 0 6cqw rgba(91,77,224,.04),0 3cqw 7cqw -2cqw rgba(0,0,0,.6)}}
@keyframes dash{to{rotate:-360deg}}
body.elementor-editor-active #mhm-hero *{animation:none!important}

/* ===== адаптивност ===== */
@media (max-width:1100px){
  #mhm-hero{min-height:0}
  #mhm-hero .in{grid-template-columns:1fr;padding:calc(var(--head) + 28px) 28px 56px}
  #mhm-hero .copy{max-width:680px}
}
@media (max-width:960px){ #mhm-hero{--head:96px} }
@media (max-width:720px){
  #mhm-hero{--head:84px}
  #mhm-hero .in{padding:calc(var(--head) + 22px) 16px 44px}
  #mhm-hero .cnt{grid-template-columns:repeat(2,minmax(0,1fr))}
  #mhm-hero .cnt li:nth-child(3){border-left:0}
  #mhm-hero .cnt li:nth-child(n+3){border-top:1px solid rgba(255,255,255,.1)}
  #mhm-hero a.btn,#mhm-hero a.ghost{width:100%;justify-content:center}
  #mhm-hero .r2 .pl b{display:none}
  #mhm-hero .pl b{font-size:2.6cqw}
  #mhm-hero .pl small{font-size:2.2cqw}
}
