/*
|---------------------------------------------------------------
| qinc2026-futureshop-flow.css
|---------------------------------------------------------------
*/

.futureshop-flow {
  background: linear-gradient(135deg, #1e2c63 0%, #020441 50%, #1d2a61 100%);
  padding: clamp(64px, 8vw, 120px) 0;
}

.futureshop-flow__steps {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.futureshop-flow__step {
  display: flex;
  align-items: center;
  flex: 1 1 0;
  min-width: 0;
}

.futureshop-flow__card {
  flex: 1 1 auto;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: clamp(20px, 3vw, 28px) clamp(16px, 2vw, 24px);
  box-sizing: border-box;
  min-height: 100%;
}

.futureshop-flow__step-label {
  margin: 0 0 12px;
  font-family: "Oswald", sans-serif;
  font-size: 30px;
  text-align: center;
  font-weight: 300;
  color: #f24b08;
  line-height: 1.2;
}

.futureshop-flow__step-title {
  margin: 0 0 10px;
  font-size: clamp(16px, 2vw, 20px);
  font-weight: 700;
  text-align: center;
  color: #ffffff;
  line-height: 1.4;
}

.futureshop-flow__step-link {
  text-align: center;
  margin-top: 18px;
}

.futureshop-flow__step-link a {
  display: block;
  color: #fff;
  text-decoration: none;
  background-color: var(--fs-orange);
  line-height: 1;
  padding: 18px 4px;
  border-radius: 50px;
}

.futureshop-flow__step-link__arrow {
  position: relative;
  margin: 0 4px;
  width: 0;
  height: 0;
  display: inline-block;
  vertical-align: middle;
}

.futureshop-flow__step-link__arrow::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 16px;
  height: 2px;
  background: #fff;
  transform: translateY(-50%);
}

.futureshop-flow__step-link__arrow::after {
  content: "";
  position: absolute;
  left: calc(100% + 0.3em);
  top: 50%;
  width: 10px;
  height: 10px;
  border-top: 2px solid #fff;
  border-right: 2px solid #fff;
  transform: translateY(-50%) rotate(45deg);
}

.futureshop-flow__step-text {
  margin: 0;
  font-size: clamp(13px, 1.5vw, 14px);
  line-height: 1.7;
  color: #ffffff;
}

.futureshop-flow__arrow {
  position: relative;
  flex: 0 0 32px;
  width: 32px;
  height: 16px;
  margin: 0 4px;
}

.futureshop-flow__arrow::before {
  content: "";
  position: absolute;
  left: -8px;
  top: 50%;
  width: 26px;
  height: 2px;
  background: #f24b08;
  transform: translateY(-50%);
}

.futureshop-flow__arrow::after {
  content: "";
  position: absolute;
  right: 15px;
  top: 50%;
  width: 16px;
  height: 16px;
  border-top: 2px solid #f24b08;
  border-right: 2px solid #f24b08;
  transform: translateY(-50%) rotate(45deg);
}

@media (max-width: 1024px) {
  .futureshop-flow__steps {
    flex-direction: column;
    max-width: 480px;
    margin: 0 auto;
    gap: 36px;
  }

  .futureshop-flow__step {
    flex-direction: column;
  }

  .futureshop-flow__card {
    width: 100%;
  }

  .futureshop-flow__arrow {
    flex: 0 0 32px;
    width: 16px;
    height: 32px;
    margin: 8px 0;
  }

  .futureshop-flow__arrow::before {
    left: 50%;
    top: -10px;
    width: 2px;
    height: 25px;
    transform: translateX(-50%);
  }

  .futureshop-flow__arrow::after {
    left: 50%;
    right: auto;
    top: auto;
    bottom: 17px;
    transform: translateX(-50%) rotate(135deg);
  }
}