html,
body {
  min-height: 100vh;
  margin: 0;
  padding: 0;
  width: 100%;
}

body {
  font-family: "Nunito", sans-serif;
  margin: 0;
  padding: 0;
  position: relative;
  display: block;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  width: 100vw;
  height: 100vh;
  background-color: #272334;
  color: white;
  background-image: radial-gradient(
      #fede5d,
      rgba(255, 255, 255, 0.2) 2px,
      transparent 4px
    ),
    radial-gradient(#36f9f6, rgba(255, 255, 255, 0.15) 1px, transparent 3px),
    radial-gradient(#fe7edb, rgba(255, 255, 255, 0.1) 2px, transparent 1px),
    radial-gradient(
      rgba(255, 255, 255, 0.1),
      rgba(255, 255, 255, 0.1) 2px,
      transparent 1px
    );
  background-size: 546px 540px, 348px 350px, 400px 250px, 150px 150px;
  background-position: 0 0, 40px 60px, 130px 270px, 70px 100px;
}

a {
  color: #f584b3;
  text-decoration: none;
}

a:hover {
  color: #f5a6c7;
  text-decoration: none;
}

.grid-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  background: repeating-linear-gradient(
      rgba(253, 235, 119, 0.15),
      rgba(245, 132, 179, 0.15),
      rgba(36, 115, 188, 0.15) 1px,
      transparent 1px,
      transparent 100px
    ),
    repeating-linear-gradient(
      80deg,
      rgba(253, 235, 119, 0.15),
      rgba(245, 132, 179, 0.15),
      rgba(36, 115, 188, 0.15) 1px,
      transparent 1px,
      transparent 100px
    );
  z-index: -1;
  margin: 0 10%;
  width: 80%;
}

.grid-container {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
}

.wrapper,
.content,
.specification,
.qa-section {
  grid-column: 2 / 12;
}

.logo {
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  z-index: 1000;
}

.wrapper {
  padding-top: 100px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  min-height: 100vh;
  position: relative;
  z-index: 1;
}

.content {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 50px;
  width: 100%;
  padding: 24px 34px;
  box-sizing: border-box;
}

.text {
  max-width: 520px;
}

.title {
  font-size: 64px;
  margin: 0;
  font-weight: 600;
  line-height: 0.9;
}

.description {
  font-size: 56px;
  font-weight: 500;
  margin: 0;
  line-height: 1;
  color: transparent;
  background-image: linear-gradient(to bottom right, #fdeb77, #f584b3, #2473bc);
  -webkit-background-clip: text;
  background-clip: text;
  margin-top: 8px;
}

.listEdge {
  margin: 20px 0 40px;
  max-width: 448px;
  padding-left: 0;
}

.edgeItem {
  list-style-type: none;
  font-size: 20px;
  margin: 0 0 15px;
}

.check {
  color: #ffad9e;
}

.mac-window {
  width: 600px;
  background-color: #272334;
  border: 1px solid #ababab;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
  overflow: hidden;
  position: relative;
  margin-top: 120px;
}

.window-controls {
  padding: 16px 0 0 16px;
  display: flex;
  gap: 8px;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 0.5px solid rgba(0, 0, 0, 0.2);
}

.dot.close {
  background-color: #ff5f56;
  border-color: #e0443e;
}

.dot.minimize {
  background-color: #ffbd2e;
  border-color: #dea123;
}

.dot.maximize {
  background-color: #27c93f;
  border-color: #1aab29;
}

.window-content {
  padding: 20px;
  height: calc(100% - 60px);
  overflow-y: auto;
}

.code-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.code-list li {
  margin-bottom: 10px;
  font-size: 20px;
}

.code-list a {
  text-decoration: none;
  color: inherit;
}

.wait {
  color: #848bbd;
  font-style: italic;
}

.note {
  font-size: 18px;
  line-height: 1.5;
  margin-top: 20px;
  text-align: center;
}

.btn {
  position: relative;
  background: none;
  color: #000;
  padding: 10px 45px;
  border: none;
  border-radius: 8px;
  overflow: hidden;
  z-index: 1;
  cursor: pointer;
}

.btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 8px;
  background: linear-gradient(90deg, #0f9ed9, #8e49f3);
  z-index: -1;
  font-size: 18px;
}

.btn::after {
  content: "";
  position: absolute;
  top: 1px;
  left: 1px;
  right: 1px;
  bottom: 1px;
  border-radius: 7px;
  background: #fff;
  z-index: -1;
}

.btn:hover::before {
  background: linear-gradient(90deg, #0d7fb0, #6736b1);
}

.specification {
  width: 100%;
  padding: 24px 34px;
  box-sizing: border-box;
}

.specificationTitle {
  font-size: 32px;
  font-weight: 500;
  left: 0;
  text-align: start;
}

.langSelect {
  display: flex;
  flex-wrap: wrap;
  background-color: #3a3450;
  width: 100%;
  padding: 25px;
  border-radius: 16px;
  gap: 30px;
  box-sizing: border-box;
}

.langSelectBtn {
  border: #fff 1px solid;
  background-color: inherit;
  color: #fff;
  font-size: 22px;
  border-radius: 10px;
  padding: 4px 40px;
}

.langSelectBtn.active {
  border: #f8b099 1px solid;
  color: #f8b099;
}

.langSelectNotFound {
  width: auto;
  margin-top: 30px;
}

.metricsSection {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  margin: 30px 0;
  width: 100%;
}

.metric {
  background-color: #3a3450;
  padding: 30px;
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-grow: 1;
  min-width: fit-content;
}

.metricNum {
  font-size: 40px;
  font-weight: 500;
  margin: 0;
  background: linear-gradient(90deg, #f4c090 0%, #efa99d 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  white-space: nowrap;
}

.metricText {
  margin: 0;
  font-size: 22px;
  text-align: center;
}

.specificationSection {
  background-color: #3a3450;
  padding: 30px;
  border-radius: 16px;
  margin: 40px 0;
}

.specificationSectionTitle {
  font-size: 24px;
  font-weight: 500;
  margin: 0;
}

.news {
  font-size: 20px;
  margin: 0;
}

.news a {
  color: #fac68c;

  &:hover {
    color: #f8d6ae;
  }
}

.inOurBase {
  font-size: 18px;
}

.videoRow {
  display: flex;
  gap: 40px;
  margin-top: 30px;
  flex-wrap: wrap;
}

.interwiev {
  flex: 0 0 calc((100% - 80px) / 3);
  min-width: 0;
}

.interwiev img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  display: block;
  border-radius: 15px;
}

.interwiev p {
  color: #c8c5d3;
  font-size: 18px;
}

.interwiev p:hover {
  color: #fff;
}

.offer {
  font-size: 18px;
  margin: 20px 0 0;
}

.predPostRow {
  display: flex;
  gap: 40px;
  margin: 40px 0;
  width: 97%;
  align-items: center;
}

.bazaNotOnly {
  background-color: #3a3450;
  padding: 30px;
  border-radius: 16px;
  font-size: 20px;
}

.bazaNotOnly span {
  color: #fac68c;
}

.iconBox {
  width: 182px;
  height: 119px;
  background-color: #3a3450;
  border-radius: 16px;
  box-sizing: border-box;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.postsSection {
  display: flex;
  gap: 40px;
  margin: 40px 0;
  width: 100%;
  align-items: stretch;
}

.postCover {
  background-color: #3a3450;
  padding: 30px;
  border-radius: 16px;
  font-size: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
  box-sizing: border-box;
}

.postTitle {
  font-size: 22px;
  font-weight: 500;
  margin: 0;
}

.postImg {
  margin-top: 20px;
  width: 100%;
  height: auto;
  object-fit: cover;
  min-width: 0;
}

.companiesSection {
  background-color: #3a3450;
  padding: 30px;
  border-radius: 16px;
  margin: 40px 0;
  position: relative;
}

.companies {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  max-height: calc(2 * var(--company-row-height));
  overflow: hidden;
  transition: max-height 0.3s ease;
  --company-row-height: 53px;
}

.company {
  border: #6477c5 1px solid;
  background-color: inherit;
  font-size: 18px;
  border-radius: 10px;
  padding: 5px 40px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
}

.expand-button {
  position: absolute;
  bottom: -18px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #625399;
  border-radius: 10px;
  border: 1px solid #2d283d;
  color: #fff;
  font-size: 22px;
  display: none;
  align-items: center;
  gap: 8px;
  padding: 5px 20px;
  transition: all 0.3s ease;
  z-index: 1;
}

.expand-button:hover {
  background-color: #625399a2;
}

.expand-button.visible {
  display: flex;
}

.expand-button svg {
  transition: transform 0.3s ease;
}

.expand-button.expanded svg {
  transform: rotate(180deg);
}

.channelSection {
  background-color: #3a3450;
  padding: 40px 60px;
  border-radius: 16px;
  margin: 45px 0 40px;
  display: flex;
  gap: 80px;
}

.video {
  height: 282px;
  border-radius: 16px;
}

.channelSectionTitle {
  font-size: 26px;
  font-weight: 500;
  margin: 0;
}

.channelSectionText {
  font-size: 22px;
  font-weight: 400;
  margin: 40px 0;
}

.channelBtn {
  background: linear-gradient(90deg, #f7ca8a 0%, #ed9da4 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;

  padding: 12px 30px;
  border: 1px solid transparent;
  border-radius: 10px;
  position: relative;
  background-color: transparent;
  font-weight: 400;
  font-size: 18px;
  cursor: pointer;

  &::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 8px;
    padding: 1px;
    background: linear-gradient(135deg, #f7ca8a 38%, #ed9da4 69%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box,
      linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    pointer-events: none;

    @supports not (mask-composite: exclude) {
      mask: none;
      background: none;
      border: 2px solid;
      border-image: linear-gradient(135deg, #f7ca8a 38%, #ed9da4 69%) 1;
    }
  }
}

.channelBtn:hover {
  font-weight: 500;
  &::before {
    padding: 2px;
  }
}

.article {
  margin: 40px 0;
}

.articleTitle {
  background-color: #453e60;
  padding: 30px 30px 25px;
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
  font-size: 24px;
  margin: 0;
  font-weight: 400;
}

.articleContent {
  background-color: #3a3450;
  padding-top: 30px;
  border-bottom-left-radius: 20px;
  border-bottom-right-radius: 20px;
  text-align: justify;
  font-size: 20px;
}

.article p {
  padding: 0 30px 20px;
  margin: 0;
  font-size: 18px;
}

.article p:last-child {
  padding-bottom: 40px;
}

.article span {
  color: #fac68c;
}

.qa-section {
  width: 100%;
  box-sizing: border-box;
  margin-bottom: 60px;
}

.qa-title {
  margin: 0 0 20px;
  font-size: 32px;
  font-weight: 200;
}

.qa-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.button {
  padding: 20px 30px;
  display: flex;
  align-items: center;
  border: 1px solid #e8e9ee;
  border-radius: 12px;
  cursor: pointer;
  color: #fff;
}

.button h3 {
  margin: 0;
  margin-left: 10px;
  font-size: 20px;
  font-weight: 400;
}

.button:hover {
  color: #d9d9d9;
  border-color: #d9d9d9;
}

.answer {
  margin: 25px 50px;
  font-size: 16px;
  font-weight: 400;
  display: none;
}

.answerList {
  list-style-type: none;
}

.answerBold {
  color: #a87eb7;
  font-weight: bold;
}

.active {
  border-color: #f7f9fa;
}

.button svg.arrow-down {
  width: 24px;
  height: 24px;
  min-width: 24px;
  min-height: 24px;
  flex-shrink: 0;
}

.active .arrow-down {
  transform: rotate(180deg);
}

.active + .answer {
  display: block;
}

.footer {
  position: absolute;
  bottom: 20px;
  left: 0;
  right: 0;
  padding: 1rem;
  text-align: center;
  background-color: #272334;
  z-index: 1000;
}

.footer a {
  margin: 20px 12px;
}

.mainNotFound {
  display: flex;
  text-align: center;
}

.numNotFound {
  font-size: 100px;
  background: linear-gradient(90deg, #f4c090 0%, #efa99d 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  margin: 0;
}

.textNotFound {
  font-size: 48px;
  margin: 0;
}

.footer {
  display: flex;
  justify-content: center;
  gap: 20px;
  background-color: initial;
  position: absolute;
  bottom: 0px;
}

.footer a {
  margin: 0;
}

@media (max-width: 1300px) {
  .answer {
    margin: 20px;
    font-size: 18px;
  }
}

@media (max-width: 1227px) {
  .channelSection {
    padding: 30px;
    gap: 40px;
  }

  .channelSectionText {
    margin: 20px 0;
  }
}

@media (max-width: 1175px) {
  .content {
    flex-direction: column;
    gap: 50px;
  }

  .text {
    max-width: 100%;
  }

  .listEdge {
    max-width: 100%;
  }

  .mac-window {
    margin: 0;
  }

  .predPostRow {
    gap: 20px;
  }

  .bazaNotOnly {
    font-size: 18px;
    padding: 20px;
  }

  .videoRow {
    gap: 20px;
  }

  .interwiev {
    flex: 0 0 calc((100% - 40px) / 3);
  }
}

@media (max-width: 1040px) {
  .video {
    height: 200px;
  }

  .channelSectionTitle {
    font-size: 22px;
  }

  .channelSectionText {
    font-size: 18px;
  }

  .channelBtn {
    padding: 10px 18px;
    font-size: 14px;
  }

  .postCover {
    padding: 20px;
  }

  .postTitle {
    font-size: 18px;
  }

  .postsSection {
    gap: 20px;
  }

  .inOurBase,
  .offer,
  .interwiev p {
    font-size: 16px;
  }
}

@media (max-width: 830px) {
  .channelSection {
    padding: 20px;
    gap: 20px;
  }

  .video {
    height: 160px;
  }

  .channelSectionTitle {
    font-size: 18px;
  }

  .channelSectionText {
    font-size: 16px;
    margin: 15px 0;
  }

  .channelBtn {
    font-size: 14px;
  }

  .postsSection {
    flex-direction: column;
  }

  .postCover {
    width: 100%;
    padding: 30px;
  }

  .postTitle {
    font-size: 22px;
  }

  .langSelectBtn,
  .company {
    font-size: 18px;
    padding: 5px 30px;
  }
}

@media (max-width: 690px) {
  .mac-window {
    width: 100%;
  }

  .content {
    padding: 40px;
  }

  .channelBtn {
    padding: 10px 15px;
    font-size: 12px;
  }

  .predPostRow {
    flex-direction: column-reverse;
    width: 100%;
  }

  .iconBox {
    width: 100%;
    height: 90px;
  }

  .iconBox img {
    margin-top: 7px;
    height: 70px;
    width: auto;
  }
}

@media (max-width: 660px) {
  .wrapper,
  .content,
  .specification,
  .qa-section {
    grid-column: 1 / 13;
  }

  .interwiev {
    flex: 0 0 calc((100% - 20px) / 2);
  }
}

@media (max-width: 610px) {
  .code-list li {
    font-size: 18px;
  }

  .note {
    font-size: 16px;
  }
}

@media (max-width: 560px) {
  .title {
    font-size: 50px;
  }

  .description {
    font-size: 45px;
  }

  .channelSection {
    flex-direction: column;
  }

  .video {
    height: auto;
  }

  .channelSection {
    padding: 30px;
  }

  .channelSectionTitle {
    font-size: 26px;
  }

  .channelSectionText {
    font-size: 22px;
    margin: 15px 0 20px;
  }

  .channelBtn {
    font-size: 16px;
  }

  .videoRow {
    gap: 20px;
  }

  .interwiev {
    flex: 0 0 100%;
  }

  .articleTitle {
    padding: 20px 20px 15px;
    font-size: 22px;
  }

  .articleContent {
    padding-top: 20px;
    font-size: 18px;
  }

  .article p {
    padding: 0 20px 20px;
    font-size: 18px;
  }

  .article p:last-child {
    padding-bottom: 30px;
  }
}

@media (max-width: 445px) {
  .title {
    font-size: 40px;
  }

  .description {
    font-size: 35px;
  }

  .content {
    padding: 30px;
  }

  .button {
    padding: 10px;
  }

  .button h3 {
    font-size: 16px;
  }

  .numNotFound {
    font-size: 75px;
  }

  .textNotFound {
    font-size: 36px;
  }
}

@media (max-width: 390px) {
  .langSelectBtn,
  .company {
    padding: 5px 25px;
  }

  .specificationSectionTitle {
    font-size: 20px;
  }
}

@media (max-width: 360px) {
  .title {
    font-size: 35px;
  }

  .description {
    font-size: 30px;
  }

  .code-list li {
    font-size: 16px;
  }

  .note {
    font-size: 14px;
  }
}
