/* =========================================================
   M-Team — styles.css
   Structure:
   01. Tokens & Reset
   02. Header
   03. Hero
   04. About
   05. Ecosystem
   06. Partners
   07. Contact
   ========================================================= */

/* ===== 01. Tokens & Reset ===== */
:root {
  --bg: #000000;
  --fg: #ffffff;
  --muted: #d6d6d6;
  --green: #a4ea35;
  --green-bright: #00ff11;
  --border: #2a2a2a;
  --border-soft: #737373;
  --maxw: 1600px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  font-family:
    "Inter",
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  background: var(--bg);
  color: var(--fg);
  line-height: 1.5;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

.accent {
  color: var(--green);
}

/* ===== 02. Header ===== */
.header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
}

.header__inner {
  width: 100%;
  max-width: none;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 18px clamp(18px, 2.6vw, 50px);
}

.brand {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.brand__logo {
  width: 114px;
  height: 82px;
  object-fit: contain;
}

.brand__name {
  font-size: 22px;
  font-weight: 500;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  gap: 35px;
}

.nav__btn {
  flex: 1;
  min-width: 0;
  height: 123px;
  padding: 20px 24px;
  border: 1px solid var(--border);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 22px;
  transition:
    border-color 0.2s,
    background 0.2s;
}

.nav__btn:hover {
  border-color: var(--green);
  background: rgba(164, 234, 53, 0.05);
}

.join-btn {
  width: 239px;
  height: 61px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-shrink: 0;
  border: 1px solid var(--green);
  border-radius: 30px;
  font-size: 20px;
  transition: background 0.2s;
}

.join-btn:hover {
  background: rgba(164, 234, 53, 0.1);
}

.join-btn__arrow {
  flex-shrink: 0;
}

.menu-toggle {
  width: 44px;
  height: 44px;
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  flex-shrink: 0;
  border: 1px solid var(--green);
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.36);
  color: var(--fg);
  cursor: default;
}

.menu-toggle span {
  width: 20px;
  height: 2px;
  border-radius: 99px;
  background: currentColor;
}

/* Header responsive */
@media (max-width: 1200px) {
  .nav {
    gap: 20px;
  }

  .nav__btn {
    height: 80px;
  }

  .join-btn {
    width: 180px;
    height: 51px;
    gap: 0;
  }
}

@media (max-width: 1100px) {
  .nav__btn {
    padding: 16px;
    font-size: 16px;
  }

  .join-btn {
    padding: 14px 20px;
    font-size: 17px;
  }
}

@media (max-width: 900px) {
  .header__inner {
    padding: 14px 20px;
    gap: 12px;
  }

  .brand__logo {
    width: 80px;
    height: 58px;
  }

  .brand__name {
    font-size: 18px;
  }

  .nav {
    display: none;
  }

  .join-btn {
    margin-left: auto;
  }
}

@media (max-width: 767px) {
  .header {
    background: transparent;
    backdrop-filter: none;
  }

  .header__inner {
    padding: 14px 13px;
  }

  .brand__logo {
    width: 52px;
    height: 40px;
  }

  .brand__name {
    font-size: 16px;
    letter-spacing: 0.02em;
  }

  .header .join-btn {
    display: none;
  }

  .menu-toggle {
    display: flex;
    margin-left: auto;
  }
}

@media (max-width: 480px) {
  .brand__logo {
    width: 52px;
    height: 44px;
  }

  .brand__name {
    font-size: 16px;
  }

  .join-btn {
    width: 46px;
    height: 46px;
    padding: 12px;
    border-radius: 50%;
  }

  .join-btn span {
    display: none;
  }
}

/* ===== 03. Hero ===== */
.hero {
  position: relative;
  min-height: 100vh;
  padding-top: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero__snake {
  position: absolute;
  top: 50%;
  width: 42vw;
  max-width: 760px;
  height: auto;
  object-fit: contain;
  pointer-events: none;
  transform: translateY(-50%);
}

.hero__snake--left {
  left: 0;
}

.hero__snake--right {
  right: 0;
  transform: translateY(-50%) scaleX(-1);
}

.hero__content {
  position: relative;
  z-index: 2;
  margin-top: 290px;
  padding: 10px 0 14px;
  border-radius: 150px;
  background: var(--bg);
  text-align: center;
}

.hero__title {
  font-size: 70px;
  font-weight: 400;
  letter-spacing: 0.12em;
}

.hero__subtitle {
  color: var(--green);
  font-size: 30px;
  font-weight: 400;
  letter-spacing: 0.35em;
}

.hero__title span,
.hero__subtitle span {
  display: inline;
}

.hero__mobile-snake,
.hero__mobile-join,
.hero__mobile-tags {
  display: none;
}

.hero__line {
  position: absolute;
  top: 180px;
  bottom: 0;
  left: 50%;
  z-index: 1;
  width: 1px;
  background: rgb(165, 234, 53);
  transform: translateX(-50%);
}

.hero__line-label {
  position: absolute;
  left: 50%;
  z-index: 2;
  padding: 6px;
  background: var(--bg);
  color: var(--muted);
  font-size: 14px;
  letter-spacing: 0.1em;
  white-space: nowrap;
  transform: translateX(-50%);
}

.hero__line-label--top {
  top: -25px;
}

.hero__line-label--bottom {
  bottom: 30px;
}

.hero__dot {
  position: absolute;
  left: 50%;
  z-index: 3;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 10px 2px rgba(164, 234, 53, 0.6);
  transform: translateX(-50%);
}

.hero__dot--top {
  top: 0;
}

.hero__dot--bottom {
  bottom: 84px;
}

/* Hero responsive */
@media (max-width: 760px) {
  .hero {
    padding-top: 100px;
  }

  .hero__snake {
    width: 60vw;
    opacity: 0.5;
  }

  .hero__content {
    padding: 8px 22px 12px;
  }

  .hero__title {
    font-size: clamp(38px, 12vw, 70px);
    letter-spacing: 0.1em;
  }

  .hero__subtitle {
    font-size: clamp(16px, 5vw, 30px);
    letter-spacing: 0.28em;
  }
}

@media (max-width: 767px) {
  .hero {
    min-height: 100svh;
    padding: 0 14px;
    align-items: center;
    justify-content: center;
  }

  /* On mobile we do not use desktop snake images */
  .hero__snake {
    display: none;
  }

  .hero__mobile-snake {
    position: absolute;
    z-index: 0;
    display: block;
    max-width: none;
    height: auto;
    opacity: 0.78;
    pointer-events: none;
    object-fit: contain;
  }

  .hero__mobile-snake--top {
    top: 65px;
    right: -0px;
  }

  .hero__mobile-snake--bottom {
    left: -10px;
    bottom: -128px;
  }

  .hero__line {
    top: 74px;
    bottom: 42px;
    background: rgba(164, 234, 53, 0.92);
  }

  .hero__line-label--top {
    display: none;
  }

  .hero__dot--top {
    top: 0;
  }

  .hero__dot--bottom {
    bottom: 0;
  }

  .hero__line-label--bottom {
    bottom: -27px;
    padding: 2px 7px;
    font-size: 12px;
    letter-spacing: 0.08em;
  }

  .hero__line-label--bottom::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 100%;
    width: 9px;
    height: 9px;
    border-right: 1px solid var(--green);
    border-bottom: 1px solid var(--green);
    transform: translate(-50%, 1px) rotate(45deg);
  }

  .hero__content {
    width: min(250px, 86vw);
    margin-top: -22px;
    padding: 18px 12px 15px;
    border-radius: 0;
    background: #000;
  }

  .hero__title {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    font-size: clamp(33px, 10.8vw, 46px);
    line-height: 1.18;
    letter-spacing: 0.24em;
  }

  .hero__title-gap,
  .hero__subtitle-gap {
    display: none !important;
  }

  .hero__subtitle {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1px;
    margin-top: 13px;
    font-size: clamp(15px, 5.4vw, 23px);
    line-height: 1.12;
    letter-spacing: 0.32em;
  }

  .hero__mobile-join {
    position: absolute;
    left: 50%;
    top: 68.5%;
    z-index: 4;
    width: min(212px, 68vw);
    height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    border: 1px solid var(--green);
    border-radius: 17px;
    background: #000;
    color: #fff;
    font-size: 18px;
    line-height: 1;
    transform: translateX(-50%);
  }

  .hero__mobile-join svg {
    flex-shrink: 0;
  }

  .hero__mobile-tags {
    position: absolute;
    right: 22px;
    top: 78.7%;
    z-index: 4;
    display: flex;
    flex-direction: column;
    gap: 1px;
    color: rgba(255, 255, 255, 0.62);
    font-size: clamp(16px, 5.1vw, 19px);
    font-weight: 300;
    line-height: 1.38;
    white-space: nowrap;
  }
}

@media (max-width: 390px) {
  .hero__mobile-snake--top {
    top: 65px;
    right: -0px;
  }

  .hero__mobile-snake--bottom {
    left: -10px;
    bottom: -128px;
  }

  .hero__mobile-tags {
    right: 16px;
    font-size: 16px;
  }

  .hero__mobile-join {
    top: 69.5%;
  }
}

/* ===== 04. About ===== */
.about {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: clamp(70px, 6.4vw, 105px) clamp(18px, 2.6vw, 40px)
    clamp(80px, 7vw, 120px) 18px;
  display: grid;
  grid-template-columns: minmax(560px, 52%) minmax(560px, 1fr);
  gap: 40px;
  align-items: start;
  overflow: hidden;
}

.about__left {
  min-width: 0;
  padding-top: clamp(58px, 5.8vw, 96px);
}

.about__heading-row {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2vw, 28px);
}

.about__lead-line {
  position: relative;
  width: clamp(74px, 6.2vw, 95px);
  height: 1px;
  flex-shrink: 0;
  background: var(--green);
}

.about__lead-line::after {
  content: "";
  position: absolute;
  right: -4px;
  top: 50%;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 8px 2px rgba(164, 234, 53, 0.5);
  transform: translateY(-50%);
}

.about__title {
  font-size: clamp(56px, 6.2vw, 96px);
  font-weight: 400;
  line-height: 1;
}

.about__text {
  max-width: 640px;
  margin-top: clamp(34px, 3vw, 44px);
  margin-left: clamp(40px, 6.25vw, 100px);
  font-size: clamp(24px, 2vw, 34px);
  font-weight: 400;
  line-height: 1.52;
}

.about__glow {
  width: min(620px, 82%);
  max-width: 620px;
  margin-top: clamp(28px, 3vw, 42px);
  margin-left: clamp(40px, 6.25vw, 100px);
  opacity: 0.9;
}

.about__stats {
  --stat-card-w: clamp(286px, 23vw, 356px);
  --stat-line-x: clamp(60px, 5.1vw, 82px);
  --stat-offset-1: 0px;
  --stat-offset-2: clamp(110px, 9.1vw, 145px);
  --stat-offset-3: clamp(210px, 17vw, 272px);
  --stat-offset-4: clamp(300px, 24.5vw, 392px);

  position: relative;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.stat-card {
  position: relative;
  z-index: 1;
  width: var(--stat-card-w);
  min-height: clamp(130px, 9.8vw, 150px);
  padding: clamp(18px, 1.7vw, 24px) clamp(20px, 1.9vw, 28px);
  border: 1px solid var(--green);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  overflow: visible;
  background: #000;
}

.stat-card::before,
.stat-card::after {
  content: "";
  position: absolute;
  background: var(--green);
  pointer-events: none;
}

.stat-card--1 {
  --own-offset: var(--stat-offset-1);
  --prev-offset: 0px;
  margin-left: var(--stat-offset-1);
}

.stat-card--1 .stat-card__img {
  border-radius: 50%;
}

.stat-card--2 {
  --own-offset: var(--stat-offset-2);
  --prev-offset: var(--stat-offset-1);
  margin-top: -1px;
  margin-left: var(--stat-offset-2);
}

.stat-card--3 {
  --own-offset: var(--stat-offset-3);
  --prev-offset: var(--stat-offset-2);
  margin-top: -1px;
  margin-left: var(--stat-offset-3);
}

.stat-card--4 {
  --own-offset: var(--stat-offset-4);
  --prev-offset: var(--stat-offset-3);
  margin-top: -1px;
  margin-left: var(--stat-offset-4);
}

.stat-card--1::after,
.stat-card--2::after,
.stat-card--3::after {
}

.stat-card--2::before,
.stat-card--3::before,
.stat-card--4::before {
}

.stat-card__body {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.stat-card__desktop-text {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.stat-card__mobile-text {
  display: none;
}

.stat-card__num {
  color: var(--green);
  font-size: clamp(48px, 4.2vw, 64px);
  font-weight: 600;
  line-height: 1;
}

.stat-card__label {
  color: var(--fg);
  font-size: clamp(18px, 1.45vw, 22px);
  line-height: 1.12;
}

.stat-card__label--big {
  font-size: clamp(22px, 1.8vw, 28px);
  font-weight: 500;
  line-height: 1.08;
}

.stat-card__img {
  width: clamp(78px, 7.2vw, 110px);
  height: auto;
  flex-shrink: 0;
  object-fit: contain;
  opacity: 0.85;
}
.stat-card__picture {
  display: block;
  flex-shrink: 0;
}

/* About responsive */
@media (max-width: 1200px) {
  .about {
    grid-template-columns: minmax(410px, 48%) minmax(410px, 1fr);
    gap: 28px;
    padding: 80px 22px 90px 18px;
  }

  .about__left {
    padding-top: 48px;
  }

  .about__text {
    margin-left: clamp(34px, 5vw, 82px);
    font-size: clamp(22px, 2.1vw, 28px);
  }

  .about__glow {
    width: min(520px, 82%);
    margin-left: clamp(34px, 5vw, 82px);
  }

  .about__stats {
    --stat-card-w: clamp(250px, 28vw, 318px);
    --stat-line-x: clamp(38px, 4.6vw, 60px);
    --stat-offset-2: clamp(78px, 9vw, 110px);
    --stat-offset-3: clamp(145px, 16.5vw, 210px);
    --stat-offset-4: clamp(205px, 23vw, 300px);
  }
}

@media (max-width: 1000px) {
  .about {
    grid-template-columns: minmax(360px, 47%) minmax(360px, 1fr);
    gap: 18px;
  }

  .about__text {
    margin-left: clamp(18px, 4vw, 42px);
    font-size: clamp(20px, 2.25vw, 24px);
  }

  .about__glow {
    width: min(460px, 88%);
    margin-left: clamp(18px, 4vw, 42px);
  }

  .about__stats {
    --stat-card-w: clamp(230px, 29vw, 280px);
    --stat-line-x: clamp(34px, 4.2vw, 46px);
    --stat-offset-2: clamp(64px, 8vw, 82px);
    --stat-offset-3: clamp(118px, 14.5vw, 150px);
    --stat-offset-4: clamp(166px, 20.5vw, 210px);
  }

  .stat-card {
    min-height: 118px;
    padding: 16px 18px;
  }

  .stat-card__num {
    font-size: clamp(42px, 5vw, 52px);
  }

  .stat-card__label {
    font-size: clamp(16px, 1.8vw, 19px);
  }

  .stat-card__label--big {
    font-size: clamp(18px, 2vw, 22px);
  }

  .stat-card__img {
    width: clamp(68px, 8vw, 86px);
  }
}

@media (max-width: 900px) {
  .about {
    margin-top: 50px;
    grid-template-columns: 1fr;
    gap: 42px;
    padding: 80px 20px 70px;
    overflow: visible;
  }

  .about__left {
    padding-top: 0;
  }

  .about__heading-row {
    gap: 14px;
  }

  .about__lead-line {
    width: 54px;
  }

  .about__title {
    font-size: clamp(44px, 10vw, 72px);
  }

  .about__text,
  .about__glow {
    width: 100%;
    max-width: 100%;
    margin-left: 0;
  }

  .about__text {
    font-size: clamp(20px, 4.8vw, 28px);
  }

  .about__stats {
    align-items: stretch;
  }

  .stat-card,
  .stat-card--1,
  .stat-card--2,
  .stat-card--3,
  .stat-card--4 {
    width: 100%;
    max-width: none;
    min-height: 122px;
    margin: 0 0 14px;
  }

  .stat-card::before,
  .stat-card::after {
    display: none;
  }

  .stat-card__img {
    width: 90px;
  }
}

@media (max-width: 767px) {
  .about {
    display: block;
    padding: 18px 0 92px;
  }

  .about__left {
    position: relative;
    padding-top: 0;
    padding-left: 0;
  }

  .about__left::before {
    content: "";
    position: absolute;
    left: 35px;
    top: 14px;
    bottom: 0;
    width: 1px;
    height: auto;
    background: var(--green);
  }

  .about__heading-row {
    position: relative;
    display: block;
    padding-left: 50px;
    margin: 0;
  }

  .about__lead-line {
    position: absolute;
    left: 35px;
    top: -13px;
    width: 28px;
    height: 1px;
  }

  .about__lead-line::after {
    left: -5px;
    right: auto;
    width: 10px;
    height: 10px;
  }

  .about__title {
    font-size: 24px;
    line-height: 1.15;
    letter-spacing: 0.03em;
    text-transform: uppercase;
  }

  .about__text {
    margin: 8px 26px 0 50px;
    max-width: none;
    width: auto;
    color: rgba(255, 255, 255, 0.72);
    font-size: 15px;
    line-height: 1.48;
    letter-spacing: 0.01em;
  }

  .about__glow {
    display: none;
  }

  .about__stats {
    --mobile-card-w: min(207px, 62vw);

    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 59px;
    margin-top: 34px;
    padding: 0;
  }

  .about__stats::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 116px;
    bottom: 58px;
    width: 1px;
    background: var(--green);
    transform: translateX(-50%);
  }

  .stat-card,
  .stat-card--1,
  .stat-card--2,
  .stat-card--3,
  .stat-card--4 {
    width: var(--mobile-card-w);
    max-width: none;
    min-height: 118px;
    margin: 0;
    padding: 14px 15px;
    border-radius: 8px;
    background: #000;
    z-index: 1;
  }

  .stat-card::before {
    display: none;
  }

  .stat-card::after {
    display: none;
  }

  .stat-card:not(:last-child)::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 25px;
    display: block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--green);
    box-shadow: 0 0 9px rgba(164, 234, 53, 0.8);
    transform: translateX(-50%);
  }

  .stat-card__body {
    gap: 0;
  }

  .stat-card__desktop-text {
    display: none;
  }

  .stat-card__mobile-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
  }

  .stat-card__mobile-line {
    display: flex;
    align-items: baseline;
    gap: 5px;
    white-space: nowrap;
  }

  .stat-card__mobile-num {
    color: var(--green);
    font-size: 18px;
    font-weight: 400;
    line-height: 1;
  }

  .stat-card--1 .stat-card__mobile-num {
    color: #ffffff;
  }

  .stat-card__mobile-accent {
    color: var(--green);
    font-size: 15px;
    font-weight: 500;
    line-height: 1.1;
  }

  .stat-card__mobile-label {
    color: rgba(255, 255, 255, 0.72);
    font-size: 13px;
    font-weight: 400;
    line-height: 1.25;
  }

  .stat-card__img {
  }

  .stat-card--1 .stat-card__img {
    width: 72px;
  }
}

/* ===== 05. Ecosystem ===== */
.ecosystem {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 60px clamp(20px, 2.6vw, 40px) 120px;
}

.ecosystem__head {
  position: relative;
  margin-bottom: 60px;
  text-align: center;
}

.ecosystem__title {
  position: relative;
  z-index: 2;
  margin-bottom: 120px;
  font-size: clamp(56px, 9vw, 130px);
  font-weight: 400;
  line-height: 1.05;
}

.ecosystem__glow {
  position: absolute;
  left: 50%;
  bottom: -160px;
  z-index: 1;
  width: min(486px, 70vw);
  opacity: 0.9;
  pointer-events: none;
  transform: translateX(-50%);
}

.ecosystem__grid {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns:
    auto minmax(0, 1fr)
    auto minmax(0, 1fr)
    auto minmax(0, 1fr);
  gap: clamp(20px, 3.75vw, 60px);
}

.ecosystem__mobile-list {
  display: none;
}

.ecosystem-mobile-item {
  display: none;
}

.line_ecosystem {
  display: flex;
  align-items: stretch;
  justify-content: center;
}

.line_ecosystem img {
  width: auto;
  height: 100%;
  object-fit: cover;
}

.eco-col__title {
  margin-bottom: 18px;
  color: var(--green);
  font-size: clamp(24px, 2.4vw, 36px);
  font-weight: 400;
}

.eco-col__rule {
  position: relative;
  height: 1px;
  margin-bottom: 30px;
  background: var(--green);
}

.eco-col__dot {
  position: absolute;
  left: 0;
  top: 50%;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 8px 2px rgba(164, 234, 53, 0.5);
  transform: translateY(-50%);
}

.eco-list {
  display: flex;
  flex-direction: column;
  gap: 34px;
}

.eco-item {
  display: flex;
  align-items: flex-start;
  gap: 22px;
}

.eco-item__icon {
  width: 74px;
  height: 74px;
  flex-shrink: 0;
  padding: 7px;
  border: 1px solid var(--green);
  border-radius: 5px;
  object-fit: contain;
}

.eco-item__text {
  font-size: 22px;
  font-weight: 300;
  line-height: 1.35;
}

.eco-item__name {
  display: inline;
  font-size: 24px;
  font-weight: 400;
}

/* Ecosystem responsive */
@media (max-width: 1100px) {
  .ecosystem__grid {
    gap: 34px;
  }

  .eco-item__text {
    font-size: 19px;
  }

  .eco-item__name {
    font-size: 21px;
  }
}

@media (max-width: 900px) {
  .ecosystem__grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .line_ecosystem {
    display: none;
  }
}

@media (max-width: 760px) {
  .ecosystem {
    padding: 40px 20px 80px;
  }
}

@media (max-width: 480px) {
  .eco-item {
    gap: 16px;
  }

  .eco-item__icon {
    width: 60px;
    height: 60px;
  }
}

@media (max-width: 767px) {
  .ecosystem {
    padding: 42px 0 74px;
    overflow: hidden;
  }

  .ecosystem__head {
    margin-bottom: 18px;
    padding: 0 24px;
  }

  .ecosystem__title {
    margin-bottom: 0;
    font-size: clamp(42px, 11.3vw, 54px);
    line-height: 1.08;
    letter-spacing: 0.04em;
  }

  .ecosystem__title .accent {
    display: inline-block;
    margin-top: 6px;
  }

  .ecosystem__glow {
    position: static;
    width: min(320px, 78vw);
    margin: -6px auto 0;
    opacity: 0.9;
    transform: none;
  }

  .ecosystem__grid {
    display: none;
  }

  .ecosystem__mobile-list {
    display: flex;
    flex-direction: column;
    gap: 38px;
    width: 100%;
    margin-top: 8px;
    padding: 0 0 0 28px;
  }

  .ecosystem-mobile-item {
    position: relative;
    display: block;
    min-height: 142px;
    padding-bottom: 30px;
  }

  .ecosystem-mobile-item::after {
    content: "";
    position: absolute;
    left: 60px;
    right: 28px;
    bottom: 0;
    height: 1px;
    background: linear-gradient(90deg, var(--green), rgba(164, 234, 53, 0));
  }

  .ecosystem-mobile-item__icon {
    width: 74px;
    height: 68px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--green);
    border-radius: 8px;
    background: transparent;
    overflow: hidden;
    padding: 8px;
  }

  /* полностью убираем нарисованные заглушки */
  .ecosystem-mobile-item__icon::before,
  .ecosystem-mobile-item__icon::after {
    content: none !important;
    display: none !important;
  }

  /* внутри только твоя картинка */
  .ecosystem-mobile-item__icon img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
  }

  .ecosystem-mobile-item__dash {
    position: absolute;
    left: 91px;
    top: 59px;
    width: 30px;
    height: 1px;
    background: rgba(255, 255, 255, 0.45);
  }

  .ecosystem-mobile-item__body {
    margin-top: 15px;
    margin-left: 80px;
    padding-right: 18px;
  }

  .ecosystem-mobile-item__title {
    color: var(--fg);
    font-size: clamp(26px, 7.5vw, 31px);
    font-weight: 400;
    line-height: 1.12;
    letter-spacing: -0.035em;
  }

  .ecosystem-mobile-item__text {
    margin-top: 2px;
    color: rgba(255, 255, 255, 0.65);
    font-size: clamp(16px, 4.5vw, 18px);
    font-weight: 300;
    line-height: 1.35;
  }
}

@media (max-width: 390px) {
  .ecosystem__mobile-list {
    padding-left: 26px;
  }

  .ecosystem-mobile-item__body {
    margin-left: 76px;
  }

  .ecosystem-mobile-item__title {
    font-size: 22px;
  }
}

/* ===== 06. Partners ===== */
.partners {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: clamp(80px, 7vw, 120px) clamp(22px, 2.8vw, 50px)
    clamp(70px, 6vw, 110px);
  background: var(--bg);
}

.partners__title {
  margin-bottom: clamp(70px, 7vw, 110px);
  text-align: center;
  font-size: clamp(56px, 6.2vw, 96px);
  font-weight: 400;
  line-height: 1;
}

.partners__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(220px, 1fr));
  gap: clamp(34px, 3.8vw, 64px) clamp(32px, 2.8vw, 46px);
}

.partner-card {
  position: relative;
  min-height: clamp(138px, 10.8vw, 170px);
  padding: 24px 20px 26px;
  border: 1px solid rgba(164, 234, 53, 0.85);
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(20px, 1.7vw, 28px);
  overflow: hidden;
  background: #000;
  transition:
    border-color 0.2s,
    box-shadow 0.2s,
    transform 0.2s;
}

.partner-card:hover {
  border-color: var(--green);
  box-shadow: 0 0 22px rgba(164, 234, 53, 0.16);
  transform: translateY(-2px);
}

.partner-card__dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 10px rgba(164, 234, 53, 0.7);
}

.partner-card__name {
  text-align: center;
  font-size: clamp(30px, 2.7vw, 44px);
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
}

.partner-card__line {
  width: min(140px, 45%);
  height: 1px;
  background: var(--green-bright);
  opacity: 0.9;
}

/* Partners responsive */
@media (max-width: 1000px) {
  .partners__grid {
    grid-template-columns: repeat(2, minmax(240px, 1fr));
  }
}

@media (max-width: 760px) {
  .partners {
    padding: 70px 18px;
  }

  .partners__grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .partner-card {
    min-height: 132px;
  }
}

/* ===== 07. Contact ===== */
.contact {
  padding: clamp(70px, 7vw, 120px) clamp(18px, 4.5vw, 70px);
  background: var(--bg);
}

.contact__panel {
  position: relative;
  max-width: 1760px;
  margin: 0 auto;
  display: flex;
  align-items: stretch;
  border: 1px solid rgba(164, 234, 53, 0.85);
  border-radius: clamp(28px, 3vw, 42px);
  background: #000;
  box-shadow:
    0 0 34px rgba(164, 234, 53, 0.5),
    inset 0 0 28px rgba(164, 234, 53, 0.12);
  overflow: hidden;
}

.contact__left {
  --contact-line-w: clamp(72px, 6vw, 95px);
  --contact-line-gap: clamp(14px, 1.4vw, 22px);

  flex: 1 1 50%;
  min-width: 0;
  padding: clamp(28px, 3vw, 48px) clamp(26px, 3vw, 56px) clamp(34px, 4vw, 60px);
  display: flex;
  flex-direction: column;
}

.contact__brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: clamp(22px, 2.6vw, 40px);
}

.contact__brand-logo {
  width: clamp(72px, 6vw, 105px);
  height: auto;
  object-fit: contain;
}

.contact__brand-name {
  font-size: clamp(16px, 1.5vw, 22px);
  font-weight: 500;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.contact__label-row {
  display: grid;
  grid-template-columns: var(--contact-line-w) 1fr;
  align-items: center;
  gap: var(--contact-line-gap);
}

.contact__lead-line {
  position: relative;
  width: 100%;
  height: 1px;
  flex-shrink: 0;
  background: var(--green);
}

.contact__lead-line::after {
  content: "";
  position: absolute;
  right: -5px;
  top: 50%;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 10px rgba(164, 234, 53, 0.8);
  transform: translateY(-50%);
}

.contact__label {
  color: #bfbfbf;
  font-size: clamp(20px, 2vw, 30px);
  font-weight: 300;
}

.contact__title,
.contact__text,
.contact__cards,
.contact__cta {
  margin-left: calc(var(--contact-line-w) + var(--contact-line-gap));
}

.contact__title {
  margin-top: clamp(14px, 1.6vw, 22px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  font-size: clamp(52px, 6vw, 84px);
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: -0.03em;
}

.contact__title span {
  color: var(--green);
}

.contact__text {
  margin-top: clamp(12px, 1.4vw, 18px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: #dedede;
  font-size: clamp(16px, 1.6vw, 24px);
  line-height: 1.35;
}

.contact__cards {
  max-width: 610px;
  margin-top: clamp(22px, 2.4vw, 36px);
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: clamp(10px, 1vw, 16px);
}

.contact-card {
  width: 100%;
  min-height: 78px;
  padding: 10px 20px 10px 22px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) 48px;
  align-items: center;
  gap: 22px;
  background: rgba(255, 255, 255, 0.02);
  transition:
    border-color 0.2s,
    background 0.2s;
}

.contact-card:hover {
  border-color: rgba(164, 234, 53, 0.6);
  background: rgba(164, 234, 53, 0.04);
}

.contact-card__icon,
.contact-card__copy,
.contact__cta-icon,
.contact__cta-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  padding: 5px;
  border: 1px solid rgba(164, 234, 53, 0.9);
  border-radius: 8px;
  overflow: hidden;
}

.contact-card__icon {
  width: 64px;
  height: 56px;
}

.contact-card__copy {
  width: 48px;
  height: 48px;
  cursor: pointer;
  transition:
    border-color 0.2s,
    background 0.2s,
    box-shadow 0.2s,
    transform 0.2s;
}

.contact-card__copy:hover {
  border-color: var(--green);
  background: rgba(164, 234, 53, 0.08);
  transform: scale(1.04);
}

.contact-card__copy.is-copied {
  background: rgba(164, 234, 53, 0.18);
  box-shadow: 0 0 12px rgba(164, 234, 53, 0.45);
}

.contact-card__icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.contact-card__copy img,
.contact__cta-icon img,
.contact__cta-arrow img {
  width: 26px;
  height: 30px;
  object-fit: contain;
}

.contact-card__body {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.contact-card__label {
  color: #cfcfcf;
  font-size: 14px;
  line-height: 1.2;
}

.contact-card__value {
  color: #ffffff;
  font-size: clamp(16px, 1.35vw, 20px);
  line-height: 1.3;
  word-break: break-word;
}

.contact__cta {
  max-width: 610px;
  min-height: 82px;
  height: 97px;
  margin-top: clamp(16px, 1.8vw, 26px);
  padding: 12px 24px;
  border: 1px solid var(--green);
  border-radius: 18px;
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) 42px;
  align-items: center;
  gap: 22px;
  background: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0.92),
    rgba(164, 234, 53, 0.36)
  );
  box-shadow: 0 0 22px rgba(164, 234, 53, 0.55);
  font-size: clamp(20px, 1.8vw, 28px);
  transition:
    box-shadow 0.2s,
    transform 0.2s;
}

.contact__cta:hover {
  box-shadow: 0 0 30px rgba(164, 234, 53, 0.75);
  transform: translateY(-1px);
}

.contact__cta-text {
  font-weight: 400;
}

.contact__cta-icon {
  width: 52px;
  height: 52px;
}

.contact__cta-arrow {
  width: 42px;
  height: 42px;
  border-color: transparent;
  justify-self: end;
}

.contact__visual {
  flex: 1 1 50%;
  min-width: 0;
  align-self: stretch;
}

.contact__visual-img {
  width: 100%;
  height: 100%;
  min-height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Contact responsive */
@media (max-width: 1100px) {
  .contact__panel {
    flex-direction: column;
  }

  .contact__visual {
    min-height: 380px;
  }

  .contact__visual-img {
    max-height: 520px;
  }
}

@media (max-width: 760px) {
  .contact {
    padding: 50px 14px 66px;
  }

  .contact__left {
    --contact-line-w: 54px;
    --contact-line-gap: 14px;
    padding: 22px 16px;
  }

  .contact__title,
  .contact__text,
  .contact__cards,
  .contact__cta {
    margin-left: 0;
  }

  .contact-card {
    grid-template-columns: 52px minmax(0, 1fr) 42px;
    gap: 12px;
    padding-left: 12px;
  }

  .contact-card__icon {
    width: 52px;
    height: 48px;
  }

  .contact-card__copy {
    width: 42px;
    height: 42px;
  }

  .contact__cta {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;

    gap: 12px;
    padding: 12px 52px;
    font-size: 20px;
  }

  .contact__cta-icon {
    width: 46px;
    height: 46px;
    flex-shrink: 0;
  }

  .contact__cta-text {
    line-height: 1;
    text-align: center;
    white-space: nowrap;
  }
  .contact__cta-arrow {
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);

    width: 24px;
    height: 24px;
  }

  .contact__visual {
    min-height: 300px;
  }
}

@media (max-width: 480px) {
  .contact__title {
    font-size: clamp(44px, 14vw, 58px);
  }

  .contact-card__value {
    font-size: 16px;
  }

  .contact__cta {
    font-size: 18px;
  }
}

/* ===== Mobile final: Partners + Contact ===== */
.partner-card__mobile-name {
  display: none;
}

.contact__mobile-brand {
  display: none;
}

@media (max-width: 767px) {
  /* Partners mobile layout: only selected partners */
  .partners {
    padding: 6px 0 50px;
    background: var(--bg);
  }

  .partners__title {
    margin-bottom: 58px;
    text-align: center;
    font-size: clamp(38px, 10.8vw, 48px);
    line-height: 1;
    font-weight: 400;
  }

  .partners__grid {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 28px;
    padding: 0;
  }

  .partners__grid .partner-card:nth-child(3),
  .partners__grid .partner-card:nth-child(5),
  .partners__grid .partner-card:nth-child(8) {
    display: none;
  }

  .partners__grid .partner-card:nth-child(1) {
    order: 1;
  }
  .partners__grid .partner-card:nth-child(2) {
    order: 2;
  }
  .partners__grid .partner-card:nth-child(4) {
    order: 3;
  }
  .partners__grid .partner-card:nth-child(7) {
    order: 4;
  }
  .partners__grid .partner-card:nth-child(6) {
    order: 5;
  }

  .partner-card {
    width: min(344px, calc(100vw - 58px));
    min-height: 149px;
    padding: 21px 18px 27px;
    border-radius: 24px;
    gap: 26px;
  }

  .partner-card__dot {
    width: 10px;
    height: 10px;
  }

  .partner-card__name {
    font-size: clamp(32px, 9.5vw, 40px);
    line-height: 1;
  }

  .partner-card__desktop-name {
    display: none;
  }

  .partner-card__mobile-name {
    display: inline;
  }

  .partner-card__line {
    width: 146px;
    max-width: 48%;
  }

  /* Contact mobile layout like reference */
  .contact {
    padding: 28px 0 58px;
    background: var(--bg);
  }

  .contact__mobile-brand {
    width: min(292px, calc(100vw - 54px));
    margin: 0 auto 22px;
    display: flex;
    align-items: center;
    gap: 8px;
  }

  .contact__mobile-brand-logo {
    width: 43px;
    height: auto;
    object-fit: contain;
  }

  .contact__mobile-brand-name {
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.04em;
    white-space: nowrap;
  }

  .contact__panel {
    width: min(350px, calc(100vw - 54px));
    margin: 0 auto;
    display: block;
    border-radius: 10px;
    overflow: visible;
    border-color: rgba(164, 234, 53, 0.85);
    background: #000;
    box-shadow:
      0 0 24px rgba(164, 234, 53, 0.62),
      0 18px 26px rgba(164, 234, 53, 0.34),
      inset 0 0 18px rgba(164, 234, 53, 0.08);
  }

  .contact__left {
    --contact-line-w: 0px;
    --contact-line-gap: 0px;
    display: block;
    padding: 21px 12px 34px;
  }

  .contact__brand,
  .contact__lead-line,
  .contact__visual,
  .contact__cta-arrow {
    display: none;
  }

  .contact__label-row {
    display: block;
    text-align: center;
  }

  .contact__label {
    color: var(--green);
    font-size: 16px;
    line-height: 1.1;
    font-weight: 400;
    text-transform: uppercase;
  }

  .contact__title,
  .contact__text,
  .contact__cards,
  .contact__cta {
    margin-left: 0;
  }

  .contact__title {
    margin-top: 18px;
    align-items: center;
    text-align: center;
    font-size: clamp(31px, 9vw, 36px);
    line-height: 1.16;
    letter-spacing: -0.035em;
  }

  .contact__text {
    margin-top: 14px;
    text-align: center;
    color: rgba(255, 255, 255, 0.78);
    font-size: 14px;
    line-height: 2.15;
  }

  .contact__cards {
    max-width: none;
    margin-top: 19px;
    gap: 11px;
  }

  .contact-card {
    min-height: 57px;
    grid-template-columns: 39px minmax(0, 1fr) 30px;
    gap: 8px;
    padding: 8px 8px 8px 10px;
    border-radius: 15px;
    background: #000;
    border-color: rgba(255, 255, 255, 0.08);
  }

  .contact-card__icon {
    width: 38px;
    height: 38px;
    padding: 5px;
    border-radius: 7px;
  }

  .contact-card__copy {
    width: 27px;
    height: 27px;
    padding: 4px;
    border-radius: 6px;
  }

  .contact-card__copy img {
    width: 17px;
    height: 19px;
  }

  .contact-card__label {
    font-size: 11px;
    line-height: 1.1;
  }

  .contact-card__value {
    font-size: 14px;
    line-height: 1.2;
  }

  .contact__cta {
    max-width: none;
    height: 70px;
    min-height: 70px;
    margin-top: 31px;
    padding: 9px 10px;
    gap: 3px;
    border: none;
    border-radius: 17px;
    background: #000;
    box-shadow: 0 0 24px rgba(164, 234, 53, 0.82);
    font-size: 18px;
  }

  .contact__cta-icon {
    width: 39px;
    height: 39px;
    padding: 0;
    border: none;
    border-radius: 0;
  }

  .contact__cta-icon img {
    width: 34px;
    height: 34px;
  }

  .contact__cta-text {
    white-space: nowrap;
    font-size: 16px;
    font-weight: 400;
  }
}

@media (max-width: 360px) {
  .partner-card {
    width: calc(100vw - 42px);
  }

  .contact__panel,
  .contact__mobile-brand {
    width: calc(100vw - 34px);
  }

  .contact__cta-text {
    font-size: 16px;
  }
}
