<template>
  <section class="about-flow">
    <div class="flow-title">
      <div class="flow-title-text">
        全线产品自主研发
      </div>
      <div class="flow-title-subtext">
        全线产品自主研发，从高防IP、CDN到游戏盾SDK，核心技术完全自控，安全能力不受制于人，防护效果快人一步。
      </div>
    </div>
    <div class="flow-content">
      <div class="flow-content-left">
        <div class="left-user">
          <NuxtImg class="flow-icon" src="/images/about/icon-user.png" alt="icon" />
          <div class="flow-text">用户</div>
        </div>
        <div class="left-sdk">
          <NuxtImg class="flow-icon" src="/images/about/icon-sdk.png" alt="icon" />
          <div class="flow-text">终端设备/SDK</div>
        </div>
      </div>
    </div>
  </section>
</template>
<script setup>
</script>
<style lang="scss" scoped>
.about-flow {
  width: 1200px;
  margin: 0 auto;
  box-sizing: border-box;
  height: 500px;

  .flow-title {
    position: relative;
    border-radius: 10px;
    border: 2px solid #8B74FF;
    background: rgba(63, 51, 125, 0.30);
    color: #FFF;
    margin-bottom: 77px;

    .flow-title-text {
      display: flex;
      align-items: center;
      justify-content: center;
      width: 100%;
      height: 70px;
      font-size: 30px;
      font-weight: 400;
      background: rgba(128, 119, 255, .5);
    }

    .flow-title-subtext {
      padding: 16px 36px 22px;
      font-size: 24px;
      font-weight: 400;
    }

    &::before {
      content: '';
      position: absolute;
      bottom: -75px;
      left: 50%;
      transform: translateX(-50%);
      width: 2px;
      height: 75px;
      background: #8B74FF;
    }

    &::after {
      content: '';
      position: absolute;
      bottom: -77px;
      left: 50%;
      transform: translateX(-50%);
      width: 0;
      height: 0;
      border-left: 10px solid transparent;
      border-right: 10px solid transparent;
      border-top: 12px solid #8B74FF;
    }
  }


  .flow-content {
    width: 100%;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: space-between;

    .flow-content-left {
      display: flex;
      gap: 30px;
    }

    .left-user,
    .left-sdk {
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      color: #FFF;

      .flow-text {
        position: relative;
        box-sizing: border-box;
        width: 162px;
        height: 55px;
        display: flex;
        justify-content: center;
        align-items: center;
        border-radius: 8px;
        border: 1px solid #A39DFF;
        background: #3F337D;

        &::before {
          content: '';
          position: absolute;
          right: -30px;
          top: 50%;
          transform: translateY(-50%);
          width: 30px;
          height: 1px;
          background: #8B74FF;
        }

        &::after {
          content: '';
          position: absolute;
          right: -32px;
          top: 50%;
          transform: translateY(-50%);
          width: 0;
          height: 0;
          border-top: 8px solid transparent;
          border-bottom: 8px solid transparent;
          border-left: 12px solid #8B74FF;
        }
      }


    }
  }
}
</style>