:root{
  --bg:#07080b;
  --bg2:#0b0d12;
  --card: rgba(255,255,255,.06);
  --card2: rgba(255,255,255,.08);
  --text:#eef0f5;
  --muted: rgba(238,240,245,.72);
  --line: rgba(255,255,255,.10);
  --accent:#18c7a5;
  --accent2:#10b89a;
  --shadow: 0 20px 60px rgba(0,0,0,.45);
  --radius: 18px;
}

*{ box-sizing: border-box; }
html,body{ height:100%; }
body{
  margin:0;
  background:
    radial-gradient(1200px 700px at 15% 0%, rgba(24,199,165,0), transparent 60%),
    radial-gradient(900px 500px at 90% 10%, rgba(24,199,165,0), transparent 55%),
    var(--bg);
  color: var(--text);
  font-family: "Manrope", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  letter-spacing: .1px;
}

a{ color: inherit; }
.container{ width: min(1160px, 92%); margin: 0 auto; }

/* =========================
   Scroll to top button
   ========================= */

.scroll-top{
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 52px;
  height: 52px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.14);
  background:
    radial-gradient(260px 160px at 30% 30%, rgba(24,199,165,.18), transparent 60%),
    rgba(10,12,18,.82);
  backdrop-filter: blur(12px);
  color: rgba(255,255,255,.92);
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: 0 18px 50px rgba(0,0,0,.45);
  z-index: 1400;

  opacity: 0;
  transform: translateY(14px) scale(.95);
  pointer-events: none;
  transition: all .28s cubic-bezier(.2,.9,.2,1);
}

.scroll-top i{
  font-size: 18px;
}

/* visible */
.scroll-top.is-visible{
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

/* hover */
.scroll-top:hover{
  border-color: rgba(24,199,165,.55);
  background:
    radial-gradient(260px 160px at 30% 30%, rgba(24,199,165,.25), transparent 60%),
    rgba(10,12,18,.92);
  transform: translateY(-2px);
}

.scroll-top:active{
  transform: translateY(0);
}

/* mobile */
@media (max-width: 520px){
  .scroll-top{
    right: 14px;
    bottom: 14px;
    width: 46px;
    height: 46px;
  }
}

/* ===== Topbar ===== */
.topbar{
  position: relative; /* важно */
  z-index: 1000;
  border-bottom: 1px solid var(--line);
  background: rgba(0,0,0,.20);
  backdrop-filter: blur(10px);
}
.topbar__inner{
  display:flex; align-items:center; justify-content:space-between;
  padding: 10px 0;
  font-size: 13px;
  color: rgba(255,255,255,.78);
}
.topbar__left, .topbar__right{ display:flex; align-items:center; gap:10px; }
.topbar__link{ text-decoration:none; opacity:.9; }
.topbar__link:hover{ opacity:1; }
.topbar__dot{ width:4px; height:4px; border-radius:999px; background: rgba(255,255,255,.35); }

/* ===== Dropdown ===== */
.dropdown{ position:relative; z-index: 1100;}
.dropdown__btn{
  border: 1px solid var(--line);
  background: rgba(255,255,255,.04);
  color: rgba(255,255,255,.85);
  padding: 6px 10px;
  border-radius: 999px;
  cursor:pointer;
  display:flex; align-items:center; gap:8px;
}
.dropdown__menu{
  position:absolute; right:0; top: calc(100% + 8px);
  border: 1px solid var(--line);
  background: rgba(10,12,18,.92);
  border-radius: 14px;
  padding: 6px;
  box-shadow: var(--shadow);
  display:none;
  z-index: 1200;
}
.dropdown.is-open .dropdown__menu{ display:block; }
.dropdown__item{
  display:block;
  padding: 10px 10px;
  text-decoration:none;
  border-radius: 10px;
  color: rgba(255,255,255,.88);
}
.dropdown__item:hover{ background: rgba(255,255,255,.06); }



/* =========================
   Partner open triggers in header/footer
   ========================= */

/* chip button should look like <a class="chip"> */
.chip--link{
  appearance: none;
  border: 0;
  background: transparent;
  cursor: pointer;
  padding: 0;
  font: inherit;
  color: inherit;
}

/* footer link button should look like .footer__link */
.footer__link--btn{
  appearance: none;
  border: 0;
  background: transparent;
  cursor: pointer;
  padding: 0;
  font: inherit;
  color: inherit;
  text-align: left;
}


/* ===== Buttons / Chip ===== */
.btn{
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.06);
  color: #fff;
  padding: 10px 14px;
  border-radius: 14px;
  font-size: 15px;
  font-weight: 700;
  text-decoration:none;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
  transition: transform .12s ease, background .12s ease;
}
.btn:hover{ transform: translateY(-1px); background: rgba(255,255,255,.08); }
.btn--ghost{ background: transparent; }
.btn--accent{
  border-color: rgba(24,199,165,.45);
  background: linear-gradient(180deg, rgba(24,199,165,.95), rgba(16,184,154,.90));
  color: #06110f;
}
.btn--accent:hover{ background: linear-gradient(180deg, rgba(24,199,165,1), rgba(16,184,154,1)); }

.chip{
  text-decoration:none;
  font-size: 13px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.04);
  color: rgba(255,255,255,.85);
}
.chip:hover{ background: rgba(255,255,255,.06); }

/* ===== Header ===== */
.header{
  position: sticky;
  top: 0;
  z-index: 900;
  background: rgba(7,8,11,.55);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.header__inner{
  display:flex; align-items:center; justify-content:space-between;
  padding: 14px 0;
  gap: 16px;
}

.brand__logo {
  height: auto;
  width: 170px;
  object-fit: contain;
  transition: transform .3s ease;
}


.brand{
  display:flex; align-items:center; gap:10px;
  text-decoration:none;
}
.brand__mark{
  width: 38px; height: 38px;
  display:grid; place-items:center;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(24,199,165,.18), rgba(255,255,255,.06));
  border: 1px solid rgba(24,199,165,.30);
  font-weight: 800;
}
.brand__name{ font-weight: 800; letter-spacing: .4px; }

.nav{ display:flex; align-items:center; gap: 18px; }
.nav__link{
  text-decoration:none;
  color: rgba(255,255,255,.82);
  font-size: 14px;
}
.nav__link:hover{ color:#fff; }

.header__actions{ display:flex; align-items:center; gap: 10px; }

.burger{
  display:none;
  width:44px; height:44px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.04);
  cursor:pointer;
}
.burger span{
  display:block;
  width:20px; height:2px;
  background: rgba(255,255,255,.85);
  margin: 5px auto;
  border-radius: 2px;
}

.menu__btn {
  background: linear-gradient(180deg, rgba(24, 199, 165, .95), rgba(16, 184, 154, .90));
  color: #06110f;
}

/* ===== Mobile menu ===== */
.mobile{
  display:none;
  border-top: 1px solid var(--line);
  background: rgba(7,8,11,.85);
}
.mobile.is-open{ display:block; }
.mobile__inner{ padding: 14px 0 18px; display:grid; gap: 10px; }
.mobile__link{
  padding: 12px 12px;
  border-radius: 14px;
  text-decoration:none;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.04);
}
.mobile__row{ display:flex; gap:10px; }

/* ===== Footer ===== */
.footer{
  border-top: 1px solid var(--line);
  background: rgba(0,0,0,.28);
  padding: 44px 0 18px;
}
.footer__grid{
  display:grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 18px;
}
.footer__brand{ display:flex; align-items:center; gap: 10px; }
.brand__mark--footer{ opacity: .95; }
.footer__title{ font-weight: 900; letter-spacing: .4px; }
.footer__text{ color: rgba(255,255,255,.68); line-height: 1.7; margin: 10px 0 0; max-width: 420px; }
.footer__badges{ margin-top: 12px; display:flex; flex-wrap:wrap; gap: 8px; }
.badge{
  font-size: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.04);
  color: rgba(255,255,255,.78);
}
.footer__head{ font-weight: 900; margin-bottom: 10px; }
.footer__link{
  display:block;
  text-decoration:none;
  color: rgba(255,255,255,.74);
  margin: 8px 0;
}
.footer__link:hover{ color:#fff; }
.footer__mini{ margin-top: 12px; color: rgba(255,255,255,.60); line-height: 1.6; font-size: 13px; }

.footer__bottom{
  margin-top: 22px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  display:flex;
  justify-content:space-between;
  gap: 12px;
  color: rgba(255,255,255,.62);
  font-size: 13px;
}
.footer__top{ text-decoration:none; opacity:.85; }
.footer__top:hover{ opacity:1; }

/* ===== Responsive ===== */
@media (max-width: 980px){
  .nav{ display:none; }
  .burger{ display:block; }
  .footer__grid{ grid-template-columns: 1fr 1fr; }
}

@media (max-width: 520px){
  .footer__grid{ grid-template-columns: 1fr; }
  .topbar__mail{ display: none; }
  .topbar__sup{ display: none; }
  .topbar__dot{ display: none; }
  .brand__logo {width: 140px;}
}

@media (max-width: 400px){
  .brand__name{ display: none; }
  .chip--link{display: none;}
}




.dropdown {
  position: relative;
}

.dropdown__menu {
  position:absolute; right:0; top: calc(100% + 8px);
  border: 1px solid var(--line);
  background: rgba(10,12,18,.92);
  border-radius: 14px;
  padding: 6px;
  box-shadow: var(--shadow);
  display:none;
  z-index: 1200;

}

.dropdown__menu.is-open {
  display: block;
}

.dropdown__item {
  display: block;
  width: 100%;
  padding: 10px 14px;
  background: none;
  border: none;
  text-align: left;
  cursor: pointer;
}


.dropdown__item:hover{ background: rgba(255,255,255,.06); }
